@agimon-ai/po-db 0.0.0-alpha.63 → 0.0.0-alpha.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/testing.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_poDb = require("./poDb-BKBXJbTa.cjs");
3
- let _earendil_works_chord_sqlite_node = require("@earendil-works/chord/sqlite/node");
3
+ let _agimon_ai_po_core_nodePlatform = require("@agimon-ai/po-core/nodePlatform");
4
4
  //#region src/services/testPoDb/index.ts
5
5
  /**
6
6
  * A po-db on its own Node connection, for tests: in memory by default, or at `file`, which
@@ -8,7 +8,7 @@ let _earendil_works_chord_sqlite_node = require("@earendil-works/chord/sqlite/no
8
8
  * Node only.
9
9
  */
10
10
  async function createTestPoDb(file = ":memory:") {
11
- return require_poDb.createPoDb({ database: await (0, _earendil_works_chord_sqlite_node.openNodeSqliteDatabase)(file) });
11
+ return require_poDb.createPoDb({ database: await (0, _agimon_ai_po_core_nodePlatform.openNodeSqliteDatabase)(file) });
12
12
  }
13
13
  //#endregion
14
14
  exports.createTestPoDb = createTestPoDb;
@@ -1 +1 @@
1
- {"version":3,"file":"testing.cjs","names":["createPoDb","openNodeSqliteDatabase"],"sources":["../src/services/testPoDb/index.ts"],"sourcesContent":["import { openNodeSqliteDatabase } from '@earendil-works/chord/sqlite/node';\n\nimport { createPoDb } from '../poDb';\nimport type { PoDbHandle } from '../poDb/type';\n\n/**\n * A po-db on its own Node connection, for tests: in memory by default, or at `file`, which\n * lets several processes share one database the way two Po processes share `po.sqlite`.\n * Node only.\n */\nexport async function createTestPoDb(file = ':memory:'): Promise<PoDbHandle> {\n return createPoDb({ database: await openNodeSqliteDatabase(file) });\n}\n"],"mappings":";;;;;;;;;AAUA,eAAsB,eAAe,OAAO,YAAiC;CAC3E,OAAOA,aAAAA,WAAW,EAAE,UAAU,OAAA,GAAMC,kCAAAA,uBAAAA,CAAuB,IAAI,EAAE,CAAC;AACpE"}
1
+ {"version":3,"file":"testing.cjs","names":["createPoDb","openNodeSqliteDatabase"],"sources":["../src/services/testPoDb/index.ts"],"sourcesContent":["import { openNodeSqliteDatabase } from '@agimon-ai/po-core/nodePlatform';\n\nimport { createPoDb } from '../poDb';\nimport type { PoDbHandle } from '../poDb/type';\n\n/**\n * A po-db on its own Node connection, for tests: in memory by default, or at `file`, which\n * lets several processes share one database the way two Po processes share `po.sqlite`.\n * Node only.\n */\nexport async function createTestPoDb(file = ':memory:'): Promise<PoDbHandle> {\n return createPoDb({ database: await openNodeSqliteDatabase(file) });\n}\n"],"mappings":";;;;;;;;;AAUA,eAAsB,eAAe,OAAO,YAAiC;CAC3E,OAAOA,aAAAA,WAAW,EAAE,UAAU,OAAA,GAAMC,gCAAAA,uBAAAA,CAAuB,IAAI,EAAE,CAAC;AACpE"}
package/dist/testing.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as createPoDb } from "./poDb-D6K38Gpu.mjs";
2
- import { openNodeSqliteDatabase } from "@earendil-works/chord/sqlite/node";
2
+ import { openNodeSqliteDatabase } from "@agimon-ai/po-core/nodePlatform";
3
3
  //#region src/services/testPoDb/index.ts
4
4
  /**
5
5
  * A po-db on its own Node connection, for tests: in memory by default, or at `file`, which
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","names":[],"sources":["../src/services/testPoDb/index.ts"],"sourcesContent":["import { openNodeSqliteDatabase } from '@earendil-works/chord/sqlite/node';\n\nimport { createPoDb } from '../poDb';\nimport type { PoDbHandle } from '../poDb/type';\n\n/**\n * A po-db on its own Node connection, for tests: in memory by default, or at `file`, which\n * lets several processes share one database the way two Po processes share `po.sqlite`.\n * Node only.\n */\nexport async function createTestPoDb(file = ':memory:'): Promise<PoDbHandle> {\n return createPoDb({ database: await openNodeSqliteDatabase(file) });\n}\n"],"mappings":";;;;;;;;AAUA,eAAsB,eAAe,OAAO,YAAiC;CAC3E,OAAO,WAAW,EAAE,UAAU,MAAM,uBAAuB,IAAI,EAAE,CAAC;AACpE"}
1
+ {"version":3,"file":"testing.mjs","names":[],"sources":["../src/services/testPoDb/index.ts"],"sourcesContent":["import { openNodeSqliteDatabase } from '@agimon-ai/po-core/nodePlatform';\n\nimport { createPoDb } from '../poDb';\nimport type { PoDbHandle } from '../poDb/type';\n\n/**\n * A po-db on its own Node connection, for tests: in memory by default, or at `file`, which\n * lets several processes share one database the way two Po processes share `po.sqlite`.\n * Node only.\n */\nexport async function createTestPoDb(file = ':memory:'): Promise<PoDbHandle> {\n return createPoDb({ database: await openNodeSqliteDatabase(file) });\n}\n"],"mappings":";;;;;;;;AAUA,eAAsB,eAAe,OAAO,YAAiC;CAC3E,OAAO,WAAW,EAAE,UAAU,MAAM,uBAAuB,IAAI,EAAE,CAAC;AACpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-db",
3
- "version": "0.0.0-alpha.63",
3
+ "version": "0.0.0-alpha.65",
4
4
  "description": "One shared sqlite database for the Po packages that need one",
5
5
  "keywords": [
6
6
  "ai",
@@ -61,13 +61,13 @@
61
61
  "access": "public"
62
62
  },
63
63
  "dependencies": {
64
- "@agimon-ai/po-core": "0.0.0-alpha.63",
64
+ "@agimon-ai/po-core": "0.0.0-alpha.65",
65
65
  "@deepseek-ai/cordis": "4.0.5",
66
66
  "@earendil-works/chord": "1.4.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@agimon-ai/po-build": "0.0.0-alpha.63",
70
- "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.63",
69
+ "@agimon-ai/po-build": "0.0.0-alpha.65",
70
+ "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.65",
71
71
  "@types/node": "26.6.5",
72
72
  "@vitest/coverage-v8": "5.0.4",
73
73
  "tsdown": "0.23.1",