@deepseek-ai/dsh-storage-json 0.1.7-rc.1 → 0.1.7-rc.2

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
@@ -1,6 +1,64 @@
1
- # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
- # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
- # after editing either side, bring the other along and re-record with:
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/storage/storage-json/README.md
5
- README.md: d36c6333392c3efe4462aebd82cf3ff9e76f66ae
6
- README.zh.md: e94e714547d0101c232c1b0793b7957fa1cb0abb
5
+ /:
6
+ en: 322dcc67eb62e0eb
7
+ zh: 456d6b3d2514c508
8
+ /deepseek-ai-dsh-storage-json:
9
+ en: b04256279a328d19
10
+ zh: b0913489b49403b1
11
+ /deepseek-ai-dsh-storage-json/summary:
12
+ en: 9eb9c035b03acd09
13
+ zh: 2adec96e42a054e1
14
+ /deepseek-ai-dsh-storage-json/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: 09388d293f9be9cb
17
+ /deepseek-ai-dsh-storage-json/use-this-package:
18
+ en: 87ddc847b7024cac
19
+ zh: 6e97d0f216587d5b
20
+ /deepseek-ai-dsh-storage-json/use-this-package/when-to-choose-it:
21
+ en: 28ebb528cbe13f31
22
+ zh: 7e3744e9d080d2bb
23
+ /deepseek-ai-dsh-storage-json/use-this-package/configuration:
24
+ en: 7144aa3b5af76874
25
+ zh: dfc528d027f86037
26
+ /deepseek-ai-dsh-storage-json/use-this-package/observable-behavior:
27
+ en: 44e1279b83c7d086
28
+ zh: b7b920b737e9bfe0
29
+ /deepseek-ai-dsh-storage-json/understand-the-implementation:
30
+ en: b7d222309b3e5438
31
+ zh: 807c7314ee341d94
32
+ /deepseek-ai-dsh-storage-json/understand-the-implementation/design-concept:
33
+ en: a5a4e3cf05597661
34
+ zh: 539ad4b4045ff572
35
+ /deepseek-ai-dsh-storage-json/understand-the-implementation/file-formats:
36
+ en: b3de0a697db4f916
37
+ zh: 56b26f7823392bd5
38
+ /deepseek-ai-dsh-storage-json/understand-the-implementation/source-map:
39
+ en: 43ece66ff547f01a
40
+ zh: 9670f78047f4e653
41
+ /deepseek-ai-dsh-storage-json/further-exploration:
42
+ en: fa243a6d5778a3b4
43
+ zh: 64189101520d677c
44
+ /deepseek-ai-dsh-storage-json/model-experience:
45
+ en: 215e7ba838619b7b
46
+ zh: a311da3843709f90
47
+ /deepseek-ai-dsh-storage-json/model-experience/stored-domain-records:
48
+ en: c5d5ffaf6b114f3e
49
+ zh: 97db23b0b14ff1c0
50
+ /deepseek-ai-dsh-storage-json/model-experience/stored-domain-records/what-the-model-sees:
51
+ en: d0798e9e30583b55
52
+ zh: 968f7f595b4bf1ff
53
+ /deepseek-ai-dsh-storage-json/model-experience/stored-domain-records/token-effect:
54
+ en: 592ed887c69e5c46
55
+ zh: cb9be9de6e38db55
56
+ /deepseek-ai-dsh-storage-json/model-experience/stored-domain-records/kv-cache-effect:
57
+ en: c13c59d13a5f1651
58
+ zh: 5aab838ae3ff5324
59
+ /deepseek-ai-dsh-storage-json/known-limitations-and-deferred-work:
60
+ en: 76b327dc0d93f6ac
61
+ zh: f40530debdcd1fb7
62
+ /deepseek-ai-dsh-storage-json/known-limitations-and-deferred-work/dev-note:
63
+ en: dd40dd4cb9109aea
64
+ zh: 3fd79d2242eccadb
package/lib/index.js CHANGED
@@ -100,7 +100,7 @@ function parse(text, descriptor) {
100
100
  if (typeof unit !== "object" || unit === null || unit["name"] !== descriptor.name || typeof unit["version"] !== "number") throw new StorageError("malformed-medium", `unit '${descriptor.name}': missing or foreign unit header`);
101
101
  const version = unit["version"];
102
102
  if (version !== descriptor.version) throw new StorageError("version-mismatch", `unit '${descriptor.name}': stored version ${version} != expected ${descriptor.version}`);
103
- if (typeof tables !== "object" || tables === null) throw new StorageError("malformed-medium", `unit '${descriptor.name}': tables is not an object`);
103
+ if (typeof tables !== "object" || tables === null || Array.isArray(tables)) throw new StorageError("malformed-medium", `unit '${descriptor.name}': tables is not an object`);
104
104
  const state = {
105
105
  version,
106
106
  global: globalValue ?? null,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-storage-json",
3
3
  "description": "JSON file KV storage backend for the DeepSeek Harness storage hub",
4
- "version": "0.1.7-rc.1",
4
+ "version": "0.1.7-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,14 +27,14 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-storage": "0.1.7-rc.1",
31
- "@deepseek-ai/cordis": "~4.0.4"
30
+ "@deepseek-ai/cordis": "~4.0.4",
31
+ "@deepseek-ai/dsh-storage": "0.1.7-rc.2"
32
32
  },
33
33
  "dependencies": {
34
34
  "@deepseek-ai/schemastery": "~3.18.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@deepseek-ai/dsh-storage": "0.1.7-rc.1",
38
- "@deepseek-ai/cordis": "~4.0.4"
37
+ "@deepseek-ai/cordis": "~4.0.4",
38
+ "@deepseek-ai/dsh-storage": "0.1.7-rc.2"
39
39
  }
40
40
  }