Files
openclaw/src/plugin-sdk/plugin-state-test-runtime.ts
Peter Steinberger 334c182c27 refactor(diffs): move ephemeral artifacts to SQLite (#109328)
* refactor(diffs): move ephemeral artifacts to SQLite

* fix(plugin-state): satisfy SDK validation gates

* test(diffs): satisfy lint contracts

* fix(plugin-state): count expired blobs toward quotas

* fix(plugin-state): harden blob storage boundaries

* fix(plugins): replace stale install provenance
2026-07-16 16:47:19 -07:00

20 lines
877 B
TypeScript

/**
* Test SDK subpath for plugin state stores, ingress queues, and state DB helpers.
*/
export {
createPluginStateKeyedStore as createPluginStateKeyedStoreForTests,
createPluginStateSyncKeyedStore as createPluginStateSyncKeyedStoreForTests,
resetPluginStateStoreForTests,
} from "../plugin-state/plugin-state-store.js";
export {
createPluginBlobStoreForTests,
resetPluginBlobStoreForTests,
} from "../plugin-state/plugin-blob-store.js";
export { createChannelIngressQueue as createChannelIngressQueueForTests } from "../channels/message/ingress-queue.js";
export { executeSqliteQuerySync, getNodeSqliteKysely } from "../infra/kysely-sync.js";
export type { DB as OpenClawStateKyselyDatabaseForTests } from "../state/openclaw-state-db.generated.js";
export {
closeOpenClawStateDatabaseForTest,
openOpenClawStateDatabase,
} from "../state/openclaw-state-db.js";