Files
openclaw/src/plugin-sdk/sqlite-runtime.ts
Peter Steinberger 1e93465a2a refactor(sqlite): enforce one database connection boundary (#113418)
* refactor(sqlite): centralize database opens

* test(sqlite): mock connection owner boundary
2026-07-24 15:15:17 -07:00

9 lines
351 B
TypeScript

// Narrow SQLite schema, path, and transaction helpers for first-party runtime.
export {
ensureOpenClawAgentDatabaseSchema,
resolveOpenClawAgentSqlitePath,
} from "../state/openclaw-agent-db.js";
export { openNodeSqliteDatabase } from "../infra/node-sqlite.js";
export { runSqliteImmediateTransactionSync } from "../infra/sqlite-transaction.js";