dsh-charter 0.3.1 → 0.3.3

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/CHANGELOG.zh.md +40 -0
  3. package/README.md +55 -23
  4. package/README.zh.md +45 -19
  5. package/docs/README.md +4 -2
  6. package/docs/README.zh.md +5 -3
  7. package/docs/assets/charter-graph-0.3.3.png +0 -0
  8. package/docs/assets/charter-graph-0.3.3.zh.png +0 -0
  9. package/docs/assets/charter-graph-root-text-200-0.3.2.png +0 -0
  10. package/docs/assets/charter-pane-0.3.3.png +0 -0
  11. package/docs/assets/charter-pane-0.3.3.zh.png +0 -0
  12. package/docs/assets/charter-state-applied-0.3.2.png +0 -0
  13. package/docs/assets/charter-state-conflict-0.3.2.png +0 -0
  14. package/docs/assets/charter-state-empty-0.3.2.png +0 -0
  15. package/docs/assets/charter-state-forced-colors-0.3.2.png +0 -0
  16. package/docs/assets/charter-state-reduced-motion-0.3.2.png +0 -0
  17. package/docs/assets/charter-state-staged-0.3.2.png +0 -0
  18. package/docs/design/charter-dependency-graph-v1.zh.md +5 -4
  19. package/docs/design/charter-draft-calibration-v1.zh.md +617 -0
  20. package/docs/design/charter-draft-extraction-v1.zh.md +346 -0
  21. package/docs/design/charter-gui-v1.zh.md +31 -18
  22. package/docs/design/compatibility.md +11 -5
  23. package/docs/design/compatibility.zh.md +10 -5
  24. package/docs/design/version-roadmap.md +12 -15
  25. package/docs/design/version-roadmap.zh.md +14 -11
  26. package/docs/release-notes/0.3.1.md +7 -4
  27. package/docs/release-notes/0.3.2.md +35 -0
  28. package/docs/release-notes/0.3.3.md +32 -0
  29. package/docs/release-notes/README.md +1 -1
  30. package/docs/releasing.md +6 -4
  31. package/docs/releasing.zh.md +6 -4
  32. package/docs/user-guide.md +16 -2
  33. package/docs/user-guide.zh.md +15 -2
  34. package/docs/verification.md +73 -48
  35. package/docs/verification.zh.md +69 -44
  36. package/lib/client/DependencyGraph.d.ts +2 -0
  37. package/lib/client/bootstrap-plan.d.ts +9 -1
  38. package/lib/client/draft-store.d.ts +12 -1
  39. package/lib/client/locales.d.ts +12 -0
  40. package/lib/client/pane-scope.d.ts +2 -0
  41. package/lib/client/store.d.ts +12 -1
  42. package/lib/client.js +567 -240
  43. package/lib/core/bootstrap.d.ts +14 -0
  44. package/lib/core/schemas.d.ts +3 -0
  45. package/lib/core/structured-bootstrap.d.ts +49 -0
  46. package/lib/core.js +2 -2
  47. package/lib/{fork-KSL6sovw.js → fork-h8Gx4AJd.js} +178 -166
  48. package/lib/host/draft-translation.d.ts +47 -0
  49. package/lib/host/service.d.ts +19 -1
  50. package/lib/host/types.d.ts +43 -0
  51. package/lib/index.js +3 -3
  52. package/lib/remote/service.d.ts +6 -1
  53. package/lib/remote/wire.d.ts +91 -2
  54. package/lib/remote.js +116 -4
  55. package/lib/{service-BSrE7Kbu.js → service-CPha5Ipx.js} +734 -42
  56. package/lib/version.d.ts +1 -1
  57. package/package.json +19 -18
package/lib/version.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * bundle carries the value; `tests/version.spec.ts` fails if it drifts from
4
4
  * `package.json`.
5
5
  */
6
- export declare const CHARTER_VERSION = "0.3.1";
6
+ export declare const CHARTER_VERSION = "0.3.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-charter",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "A durable, user-owned session charter for DeepSeek Harness, designed to survive context compaction.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -124,7 +124,9 @@
124
124
  "0.2.1-rc.5": "compatible",
125
125
  "0.2.2-rc.1": "compatible",
126
126
  "0.2.2-rc.2": "compatible",
127
- "0.2.2-rc.3": "compatible"
127
+ "0.2.2-rc.3": "compatible",
128
+ "0.2.2-rc.4": "compatible",
129
+ "0.2.2-rc.5": "compatible"
128
130
  }
129
131
  }
130
132
  },
@@ -137,18 +139,18 @@
137
139
  },
138
140
  "peerDependencies": {
139
141
  "@deepseek-ai/cordis": "^4.0.4",
140
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
141
- "@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
142
- "@deepseek-ai/dsh-client-locale": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
143
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
144
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
145
- "@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
146
- "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
147
- "@deepseek-ai/dsh-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
148
- "@deepseek-ai/dsh-storage-domain": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
149
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
150
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
151
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3",
142
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
143
+ "@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
144
+ "@deepseek-ai/dsh-client-locale": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
145
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
146
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
147
+ "@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
148
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
149
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
150
+ "@deepseek-ai/dsh-storage-domain": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
151
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
152
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
153
+ "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
152
154
  "react": "^18.2.0"
153
155
  },
154
156
  "devDependencies": {
@@ -166,7 +168,6 @@
166
168
  "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
167
169
  "@deepseek-ai/dsh-deque": "0.2.2-rc.1",
168
170
  "@deepseek-ai/dsh-fs": "0.2.2-rc.1",
169
- "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
170
171
  "@deepseek-ai/dsh-ptc-runtime": "0.2.2-rc.1",
171
172
  "@deepseek-ai/dsh-sandbox": "0.2.2-rc.1",
172
173
  "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
@@ -192,14 +193,14 @@
192
193
  "@types/react": "18.3.31",
193
194
  "@types/react-dom": "18.3.7",
194
195
  "@types/react-test-renderer": "18.3.1",
196
+ "@types/semver": "7.8.0",
195
197
  "react": "18.3.1",
196
198
  "react-dom": "18.3.1",
197
199
  "react-test-renderer": "18.3.1",
200
+ "semver": "7.8.6",
198
201
  "tsdown": "0.22.2",
199
202
  "typescript": "5.9.3",
200
- "vitest": "4.1.12",
201
- "semver": "7.8.6",
202
- "@types/semver": "7.8.0"
203
+ "vitest": "4.1.12"
203
204
  },
204
205
  "icon": "icon.svg",
205
206
  "author": "dsh-charter contributors",