dsh-charter 0.2.1 → 0.3.0

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 (64) hide show
  1. package/CHANGELOG.md +62 -1
  2. package/CHANGELOG.zh.md +53 -1
  3. package/README.md +64 -33
  4. package/README.zh.md +49 -27
  5. package/docs/README.md +7 -3
  6. package/docs/README.zh.md +7 -3
  7. package/docs/assets/charter-graph-0.3.0.zh.png +0 -0
  8. package/docs/assets/charter-pane-0.3.0.png +0 -0
  9. package/docs/assets/charter-pane-0.3.0.zh.png +0 -0
  10. package/docs/assets/charter-pane.zh.png +0 -0
  11. package/docs/design/charter-dependency-graph-v1.zh.md +1101 -0
  12. package/docs/design/charter-design-v1.md +2 -2
  13. package/docs/design/charter-design-v1.zh.md +2 -2
  14. package/docs/design/charter-gui-v1.zh.md +868 -0
  15. package/docs/design/charter-workspace-v2.zh.md +29 -1
  16. package/docs/design/compatibility.md +22 -6
  17. package/docs/design/compatibility.zh.md +21 -6
  18. package/docs/design/mockups/README.md +29 -0
  19. package/docs/design/mockups/mockup-graph.html +152 -0
  20. package/docs/design/mockups/mockup-home-clean.html +146 -0
  21. package/docs/design/mockups/mockup-home-dirty.html +191 -0
  22. package/docs/design/mockups/mockup.css +425 -0
  23. package/docs/design/mockups/style-tile.html +146 -0
  24. package/docs/design/mockups/tokens.css +670 -0
  25. package/docs/design/version-roadmap.md +28 -11
  26. package/docs/design/version-roadmap.zh.md +38 -8
  27. package/docs/release-notes/0.2.1.md +8 -6
  28. package/docs/release-notes/0.2.2.md +60 -0
  29. package/docs/release-notes/0.3.0.md +66 -0
  30. package/docs/release-notes/README.md +1 -2
  31. package/docs/releasing.md +7 -8
  32. package/docs/releasing.zh.md +7 -8
  33. package/docs/user-guide.md +36 -16
  34. package/docs/user-guide.zh.md +33 -14
  35. package/docs/verification.md +105 -32
  36. package/docs/verification.zh.md +90 -28
  37. package/lib/client/ChangeSetPanel.d.ts +24 -0
  38. package/lib/client/DependencyGraph.d.ts +19 -0
  39. package/lib/client/DiagnosticsPage.d.ts +5 -0
  40. package/lib/client/ReviewCenterPage.d.ts +5 -0
  41. package/lib/client/SectionNav.d.ts +14 -0
  42. package/lib/client/WorkspacePage.d.ts +5 -0
  43. package/lib/client/change-set-model.d.ts +55 -0
  44. package/lib/client/draft-store.d.ts +1 -1
  45. package/lib/client/locales.d.ts +94 -7
  46. package/lib/client/page-order.d.ts +26 -0
  47. package/lib/client/pane-format.d.ts +48 -0
  48. package/lib/client/pane-scope.d.ts +382 -0
  49. package/lib/client/pane-ui.d.ts +39 -0
  50. package/lib/client/relation-graph.d.ts +135 -0
  51. package/lib/client/section-routing.d.ts +12 -0
  52. package/lib/client/use-change-set-sheet.d.ts +13 -0
  53. package/lib/client.js +4589 -2413
  54. package/lib/core/change-set.d.ts +7 -0
  55. package/lib/core/dependencies.d.ts +29 -0
  56. package/lib/core.js +1 -1
  57. package/lib/{fork-D5HVDV1i.js → fork-KSL6sovw.js} +70 -1
  58. package/lib/host/types.d.ts +8 -1
  59. package/lib/index.js +2 -2
  60. package/lib/remote/wire.d.ts +37 -3
  61. package/lib/remote.js +23 -3
  62. package/lib/{service-CNjnvioR.js → service-DO3Q9uB2.js} +10 -5
  63. package/lib/version.d.ts +1 -1
  64. package/package.json +23 -18
@@ -13,7 +13,7 @@ English | [中文](charter-design-v1.zh.md)
13
13
  > session, and deterministically rebuild them from an independent authoritative record before every model
14
14
  > request. Compaction may rewrite history summaries; it is never a writer or recovery source for the charter.
15
15
 
16
- Research baseline: 2026-10-20. Target contract baseline: DSH `0.2.2-rc.1`; minimum supported version:
16
+ Research baseline: 2026-10-20. Target contract baseline: DSH `0.2.2-rc.2`; minimum supported version:
17
17
  `0.1.7-rc.2`.
18
18
 
19
19
  Related documents:
@@ -584,7 +584,7 @@ Current evidence:
584
584
 
585
585
  - The Vitest suite across core, host, client, and verification-helper test files (current counts and commands are
586
586
  in the verification record, which is the source of truth);
587
- - Typecheck, build, and tests pass on all nine declared DSH versions (`0.1.7-rc.2` through `0.2.2-rc.1`);
587
+ - Typecheck, build, and tests pass on all ten declared DSH versions (`0.1.7-rc.2` through `0.2.2-rc.2`);
588
588
  - Fresh Web profile install/startup passed on `0.1.7-rc.2`, `0.2.0-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.4`, `0.2.1-rc.5`, and `0.2.2-rc.1`;
589
589
  - Real Web UI verified on `0.2.0-rc.2`: stable-order tab placement (with `dsh-context` installed), localization,
590
590
  objective/invariant editing, preview, Apply, and reload persistence. The current rc.6 source adds
@@ -11,7 +11,7 @@
11
11
  > 定位:保存当前会话中用户明确确认的目标、硬约束和交付物,并在每次模型请求前从独立正本确定性重建。
12
12
  > 压缩可以改写历史摘要,不能成为会话契约的写入者或恢复来源。
13
13
 
14
- 调研基准日:2026-10-19。目标契约基线:DSH `0.2.2-rc.1`。
14
+ 调研基准日:2026-10-19。目标契约基线:DSH `0.2.2-rc.2`。
15
15
 
16
16
  相关文档:
17
17
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  实现状态:MVP Host、纯内核、JSON storage 组合、Remote contract 和主对话页标签页 Client 已完成实现并通过版本矩阵
22
22
  验证。当前 `npm run typecheck`、`npm test`、`npm run build` 均通过(具体文件/测试数以验证记录为准);同一源码在 DSH
23
- 九个声明 DSH 版本(`0.1.7-rc.2` 至 `0.2.2-rc.1`)均通过 typecheck、build 和 Vitest 套件(计数见验证记录)。
23
+ 十个声明 DSH 版本(`0.1.7-rc.2` 至 `0.2.2-rc.2`)均通过 typecheck、build 和 Vitest 套件(计数见验证记录)。
24
24
  fresh Web profile 的安装/启动已在 `0.1.7-rc.2`、`0.2.0-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1` 通过;DSH
25
25
  `0.2.0-rc.2` Web profile 上已用真实 Chrome 验证「对话」「轨迹」「会话契约」标签顺序、目标编辑、预览、Apply
26
26
  和刷新持久化。rc.6 源码增加了版本标识、审阅、恢复、无障碍和观测证据。