New:Socket for Asana Is Now Available.Learn more
Get Started

@mcoda/db

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcoda/db

SQLite-backed storage layer for mcoda.

Source
npmnpm
Version
0.1.127
Version published
Weekly downloads
277
-30.23%
Maintainers
1
Weekly downloads
 
Created
Source

@mcoda/db

SQLite-backed storage for mcoda global and workspace state.

Install

  • Requires Node.js >= 20.
  • Install: npm i @mcoda/db

What it provides

  • Connection helpers for global/workspace databases.
  • Migrations for global agent registry and workspace task data.
  • Repositories for common queries (GlobalRepository, WorkspaceRepository).

Example

import { Connection, WorkspaceMigrations } from "@mcoda/db";

const conn = await Connection.openWorkspace();
await WorkspaceMigrations.run(conn.db);
await conn.close();

Notes

  • Uses sqlite3 native bindings.
  • Primarily used by the mcoda CLI; APIs may evolve.

License

MIT - see LICENSE.

FAQs

Package last updated on 12 Aug 2026

Related posts