@deepseek-ai/dsh-storage-sqlite 0.1.2-alpha.3 → 0.1.2-alpha.4

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/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/storage/storage-sqlite/README.md
5
- README.md: 243c4bb93e50e81c417634645b611484ca65430e
6
- README.zh.md: ea7e886332e8b7663f1b381991ee1e6c7f09a6e7
5
+ README.md: 4744fa2a453e030ef2035e35040b158c703c5f77
6
+ README.zh.md: 368406f67344173d358dc5f3b32fe4dd7da79a49
package/README.md CHANGED
@@ -84,7 +84,7 @@ Opening the database creates the parent as `0o700`, exclusively creates a missin
84
84
  | [`src/index.ts`](src/index.ts) | Plugin entry: backend registration, `path`/`journalMode` config, unit table |
85
85
  | [`src/schema.ts`](src/schema.ts) | Open sequence, physical layout version, metadata tables, record table naming |
86
86
  | [`src/unit.ts`](src/unit.ts) | One opened unit: prepared statements, JSON value parse, close |
87
- | [`src/invariant.ts`](src/invariant.ts) | Invariant companion (no runtime invariant: versions are open-time checks) |
87
+ | — | No runtime invariant companion is published; schema-version and unit-version consistency are open-time checks that reject before a unit exists, and durability needs the backend round-trip tests in the shared KV conformance suite; this package exposes no continuously observable in-process relation. |
88
88
 
89
89
  </details>
90
90
 
package/README.zh.md CHANGED
@@ -84,7 +84,7 @@ kind: "package-reference"
84
84
  | [`src/index.ts`](src/index.ts) | 插件入口:后端注册、`path`/`journalMode` 配置、单元表 |
85
85
  | [`src/schema.ts`](src/schema.ts) | 打开顺序、物理布局版本、元数据表、记录表命名 |
86
86
  | [`src/unit.ts`](src/unit.ts) | 一个已打开单元:预处理语句、JSON 值解析、关闭 |
87
- | [`src/invariant.ts`](src/invariant.ts) | 不变式伴生插件(无运行时不变式:版本是打开时检查) |
87
+ | — | 不发布运行时不变式伴生入口;版本是打开时检查。 |
88
88
 
89
89
  </details>
90
90
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-storage-sqlite",
3
3
  "description": "SQLite storage backend (kv facet) for the DeepSeek Harness storage hub",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,30 +18,23 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./invariant": {
22
- "types": "./lib/types/invariant.d.ts",
23
- "default": "./lib/invariant.js"
24
- },
25
21
  "./src/*": "./src/*",
26
22
  "./package.json": "./package.json"
27
23
  },
28
24
  "files": [
29
25
  "lib/index.js",
30
- "lib/invariant.js",
31
26
  "lib/types/**/*.d.ts"
32
27
  ],
33
28
  "license": "MIT",
34
29
  "peerDependencies": {
35
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
36
- "@deepseek-ai/dsh-storage": "^0.1.2-alpha.3",
30
+ "@deepseek-ai/dsh-storage": "^0.1.2-alpha.4",
37
31
  "@deepseek-ai/cordis": "^4.0.2"
38
32
  },
39
33
  "dependencies": {
40
34
  "@deepseek-ai/schemastery": "^3.18.2"
41
35
  },
42
36
  "devDependencies": {
43
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
44
- "@deepseek-ai/dsh-storage": "^0.1.2-alpha.3",
37
+ "@deepseek-ai/dsh-storage": "^0.1.2-alpha.4",
45
38
  "@deepseek-ai/cordis": "^4.0.2"
46
39
  }
47
40
  }
package/lib/invariant.js DELETED
@@ -1,25 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for `@deepseek-ai/dsh-storage-sqlite`.
4
- * @module @deepseek-ai/dsh-storage-sqlite/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-storage-sqlite";
7
- /** Cordis companion plugin name. */
8
- const name = "storage-sqlite-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: schema-version and unit-version consistency are
13
- * open-time checks that reject before a unit exists, and durability needs the
14
- * backend round-trip tests in the shared KV conformance suite; this package
15
- * exposes no continuously observable in-process relation.
16
- */
17
- const install = () => {};
18
- /**
19
- * Register this package's invariant companion.
20
- * @param ctx - Cordis context carrying the invariant service.
21
- * @returns the installed registration's disposer after setup succeeds.
22
- */
23
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
24
- //#endregion
25
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@deepseek-ai/dsh-storage-sqlite`.
3
- * @module @deepseek-ai/dsh-storage-sqlite/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "storage-sqlite-invariant";
8
- /** Service required before the companion can reserve package ownership. */
9
- export declare const inject: string[];
10
- /**
11
- * Register this package's invariant companion.
12
- * @param ctx - Cordis context carrying the invariant service.
13
- * @returns the installed registration's disposer after setup succeeds.
14
- */
15
- export declare const apply: (ctx: Context) => Promise<() => void>;
16
- //# sourceMappingURL=invariant.d.ts.map