
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ai-operations/ops-storage
Advanced tools
SQLite persistence layer for AI Operations OS — tasks, workflows, receipts, SPARK learning data (WAL mode)
SQLite persistence layer for tasks, workflows, approvals, and users in AI Operations OS.
Part of AI Operations OS — autonomous business workflow orchestration with safety enforcement.
npm install @ai-operations/ops-storage
Requires better-sqlite3 as a peer dependency.
import { createStores } from '@ai-operations/ops-storage';
import { createTask } from '@ai-operations/shared-types';
const { tasks, workflows, approvals, users, db } = createStores();
const task = createTask({ source: 'email', title: 'Reply to John' });
tasks.save(task);
const found = tasks.get(task.id);
const pending = tasks.list({ status: 'pending', limit: 20 });
createStores(dbPath?): StoresConvenience factory that creates a Database and all stores in one call. Defaults to ~/.ai-ops/data.db.
interface Stores {
tasks: TaskStore;
workflows: WorkflowStore;
approvals: ApprovalStore;
users: UserStore;
db: Database;
}
DatabaseOpens/creates a SQLite database, creates all required tables on first run, and uses WAL mode for concurrency.
constructor(dbPath?: string) // defaults to ~/.ai-ops/data.db
close(): void
TaskStoreCRUD operations for Task records with filtering and pagination.
save(task: Task): void
get(id: string): Task | undefined
list(filter?: TaskFilter): Task[]
update(id: string, updates: Partial<Task>): Task | undefined
count(filter?: TaskFilter): number
delete(id: string): boolean
TaskFilter — { status?, source?, intent?, priority?, limit?, offset? }WorkflowStorePersistence for WorkflowRun and WorkflowStep records.
WorkflowRunFilter — { taskId?, state?, limit?, offset? }ApprovalStorePersistence for Approval records with filtering by risk level and decision.
ApprovalFilter — Filter by decision status, risk level, task ID.UserStoreUser account management with typed input/output.
User / CreateUserInput — User record types for the users table.@ai-operations/shared-types — Task, WorkflowRun, Approval types stored here@ai-operations/ops-core — Workflow engine that drives stored workflow runs@ai-operations/cord-adapter — ForensicEngine reads from these storesMIT
FAQs
SQLite persistence layer for AI Operations OS — tasks, workflows, receipts, SPARK learning data (WAL mode)
We found that @ai-operations/ops-storage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.