dsh-charter 0.1.0-rc.6 → 0.2.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.
- package/CHANGELOG.md +25 -7
- package/CHANGELOG.zh.md +21 -6
- package/CONTRIBUTING.md +12 -1
- package/CONTRIBUTING.zh.md +10 -1
- package/README.md +143 -255
- package/README.zh.md +169 -259
- package/docs/README.md +72 -0
- package/docs/README.zh.md +69 -0
- package/docs/assets/charter-pane.zh.png +0 -0
- package/docs/design/{charter-design.md → charter-design-v1.md} +13 -6
- package/docs/design/{charter-design.zh.md → charter-design-v1.zh.md} +11 -5
- package/docs/design/charter-workspace-v2.zh.md +1804 -0
- package/docs/design/compatibility.md +12 -6
- package/docs/design/compatibility.zh.md +12 -6
- package/docs/design/version-roadmap.md +24 -19
- package/docs/design/version-roadmap.zh.md +26 -22
- package/docs/{design/charter-design-review.md → history/2026-10-19-charter-design-v1-review.md} +9 -3
- package/docs/{design/charter-design-review.zh.md → history/2026-10-19-charter-design-v1-review.zh.md} +9 -3
- package/docs/{design/rc5-stabilization-plan.md → history/2026-10-27-release-0.1.0-rc.5-plan.md} +9 -3
- package/docs/{design/rc5-stabilization-plan.zh.md → history/2026-10-27-release-0.1.0-rc.5-plan.zh.md} +8 -2
- package/docs/release-notes/0.1.0-rc.5.md +7 -2
- package/docs/release-notes/0.1.0-rc.6.md +12 -10
- package/docs/release-notes/0.2.0.md +54 -0
- package/docs/release-notes/README.md +6 -1
- package/docs/releasing.md +24 -41
- package/docs/releasing.zh.md +20 -34
- package/docs/research/charter-research.md +7 -1
- package/docs/research/charter-research.zh.md +7 -1
- package/docs/user-guide.md +19 -20
- package/docs/user-guide.zh.md +17 -17
- package/docs/verification.md +54 -34
- package/docs/verification.zh.md +36 -30
- package/lib/client/admission.d.ts +1 -1
- package/lib/client/draft-store.d.ts +5 -1
- package/lib/client/locales.d.ts +87 -0
- package/lib/client/preview.d.ts +7 -1
- package/lib/client/store.d.ts +22 -2
- package/lib/client.js +2319 -113
- package/lib/core/change-set.d.ts +26 -0
- package/lib/core/commands.d.ts +5 -1
- package/lib/core/dependencies.d.ts +23 -0
- package/lib/core/errors.d.ts +1 -1
- package/lib/core/limits.d.ts +2 -0
- package/lib/core/prompt.d.ts +1 -0
- package/lib/core/query.d.ts +33 -0
- package/lib/core/record.d.ts +10 -1
- package/lib/core/schemas.d.ts +1801 -150
- package/lib/core/source-integrity.d.ts +1 -0
- package/lib/core/source-registry.d.ts +54 -0
- package/lib/core.js +2 -2
- package/lib/{fork-BbVgPMR6.js → fork-D5HVDV1i.js} +1212 -137
- package/lib/host/service.d.ts +37 -3
- package/lib/host/tool.d.ts +1 -0
- package/lib/host/types.d.ts +211 -1
- package/lib/host/validators.d.ts +29 -0
- package/lib/index.js +3 -3
- package/lib/remote/service.d.ts +55 -1
- package/lib/remote/wire.d.ts +2231 -11
- package/lib/remote.js +918 -5
- package/lib/{service-W66VErs6.js → service-C3A59BG5.js} +1568 -44
- package/lib/version.d.ts +1 -1
- package/package.json +54 -50
- package/docs/assets/charter-pane.dark.png +0 -0
- package/docs/assets/charter-pane.en.png +0 -0
- package/docs/assets/charter-pane.narrow.png +0 -0
- package/docs/assets/charter-pane.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,25 @@ English | [中文](CHANGELOG.zh.md)
|
|
|
5
5
|
All notable changes to `dsh-charter` are recorded here. The project follows a pre-1.0 version line while the
|
|
6
6
|
DSH plugin ABI is still moving.
|
|
7
7
|
|
|
8
|
-
## 0.
|
|
8
|
+
## 0.2.0 — release candidate
|
|
9
|
+
|
|
10
|
+
Workspace and dependency-plan upgrade. Versioning from this release onward uses plain increments
|
|
11
|
+
(`0.2.0`, `0.2.1`, ...) and never an `rc` suffix.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- DSH `0.2.2-rc.1` compatibility across `engines.dsh`, every DSH peer range, `dsh.compatibility.dshReleases`, the tracked nine-version matrix, and its lockfile.
|
|
16
|
+
- Three primary areas: Workspace, Review Center, and Diagnostics & Maintenance. Workspace surfaces the
|
|
17
|
+
current objective, invariants, dependency plan, and deliverables together.
|
|
18
|
+
- Deliverable `requires` dependencies with canonical graph validation (self-edge, dangling reference,
|
|
19
|
+
inactive endpoint, and cycle rejection), derived prerequisite/readiness states, dependency-aware prompt
|
|
20
|
+
rendering with stable `D<n>` local keys, and an editable prerequisite selector.
|
|
21
|
+
- Record schema v2 with in-memory v1 migration, proposal batches with typed source provenance,
|
|
22
|
+
objective-proposal lifecycle, and bounded item/proposal/change query plus `summary`/`watchSummary` Remote
|
|
23
|
+
projections. Query facet filters and final response caps remain tracked gaps.
|
|
24
|
+
- Review Center proposal-batch provenance and Change Set summary.
|
|
25
|
+
|
|
26
|
+
## 0.1.0-rc.6 — 2026-11-01
|
|
9
27
|
|
|
10
28
|
Compatibility, UI, and observability candidate. No product runtime code path, record schema, Remote method, model tool, or domain change beyond DSH `0.2.1-rc.5` metadata and the shortened model-facing `charter_read` description.
|
|
11
29
|
|
|
@@ -28,7 +46,7 @@ Compatibility, UI, and observability candidate. No product runtime code path, re
|
|
|
28
46
|
### Documentation
|
|
29
47
|
|
|
30
48
|
- Consolidated the release, version, verification, compatibility, user-guide, and README documentation around
|
|
31
|
-
the
|
|
49
|
+
the release state: rc.6 accepted and published, rc.5 as the previous accepted release, and the historical rc.4 release.
|
|
32
50
|
- Removed stale pre-tag instructions and outdated install claims.
|
|
33
51
|
- Pinned the toolchain devDependencies to exact versions (React `18.3.1`, TypeScript `5.9.3`, `@types/node` `22.20.5`, `@tsdown/css` `0.22.2`) so the rc.5 compatibility update does not drift with range resolution.
|
|
34
52
|
- Added the version badge in the Charter header as an accepted rc.5 scope addition; the rc.6 client constant is
|
|
@@ -36,14 +54,14 @@ Compatibility, UI, and observability candidate. No product runtime code path, re
|
|
|
36
54
|
|
|
37
55
|
### Release state
|
|
38
56
|
|
|
39
|
-
- `0.1.0-rc.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
57
|
+
- `0.1.0-rc.6` passed formal acceptance and is published under npm `latest`/`next`; GitHub Release uses recovery tag
|
|
58
|
+
`v0.1.0-rc.6-republished`. `0.1.0-rc.5` remains the previous accepted release; its canonical GitHub tag/release is
|
|
59
|
+
pending restoration.
|
|
60
|
+
- `0.1.0-rc.6` passed formal acceptance and is published under npm `latest`/`next`; GitHub Release uses recovery tag `v0.1.0-rc.6-republished`.
|
|
43
61
|
|
|
44
62
|
## 0.1.0-rc.5 — 2026-10-29
|
|
45
63
|
|
|
46
|
-
Pre-stable correctness and release-hardening candidate.
|
|
64
|
+
Pre-stable correctness and release-hardening candidate. Candidate-green; rc.5 is now published to npm, while its canonical GitHub tag/release is pending restoration. No new 0.2 capability, domain, Remote method, or
|
|
47
65
|
persistent schema version.
|
|
48
66
|
|
|
49
67
|
### Added
|
package/CHANGELOG.zh.md
CHANGED
|
@@ -4,7 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
记录 `dsh-charter` 的重要变更。DSH 插件 ABI 仍在演进,项目保持 pre-1.0 版本线。
|
|
6
6
|
|
|
7
|
-
## 0.
|
|
7
|
+
## 0.2.0 — 发布候选
|
|
8
|
+
|
|
9
|
+
工作区与依赖计划升级。从该版本起使用普通递增版本号(`0.2.0`、`0.2.1`……),不再使用 `rc` 后缀。
|
|
10
|
+
|
|
11
|
+
### 新增
|
|
12
|
+
|
|
13
|
+
- 三个一级区域:Workspace、Review Center、Diagnostics & Maintenance。Workspace 同时呈现当前目标、
|
|
14
|
+
硬约束、依赖计划和交付物。
|
|
15
|
+
- 交付物 `requires` 依赖与 canonical 图校验(自依赖、悬空引用、inactive 端点、环拒绝),派生前置/就绪
|
|
16
|
+
状态,带稳定 `D<n>` 局部 key 的依赖感知 prompt,以及可编辑前置选择器。
|
|
17
|
+
- record schema v2 与内存 v1 迁移、带类型来源的 proposal batch、objective proposal 生命周期,以及有界
|
|
18
|
+
item/proposal/change query 和 `summary`/`watchSummary` Remote 投影。
|
|
19
|
+
- Review Center 的 proposal batch 来源和 Change Set 摘要。
|
|
20
|
+
|
|
21
|
+
## 0.1.0-rc.6 — 2026-11-01
|
|
8
22
|
|
|
9
23
|
兼容性、UI 与可观测性候选。除 DSH `0.2.1-rc.5` 元数据和缩短的模型可见 `charter_read` description 外,暂不包含产品运行时路径、record schema、Remote 方法、模型工具或 domain 变更。
|
|
10
24
|
|
|
@@ -24,8 +38,8 @@
|
|
|
24
38
|
|
|
25
39
|
### 文档
|
|
26
40
|
|
|
27
|
-
- 围绕实际发布状态统一 README、发布、版本、验证、兼容性和用户指南:rc.
|
|
28
|
-
rc.
|
|
41
|
+
- 围绕实际发布状态统一 README、发布、版本、验证、兼容性和用户指南:rc.6 已验收并发布,rc.5 为上一个已验收版本,
|
|
42
|
+
rc.4 为历史发布。
|
|
29
43
|
- 清理过期 pre-tag 指令和旧安装声明。
|
|
30
44
|
- 工具链 devDependencies 固定精确版本(React `18.3.1`、TypeScript `5.9.3`、`@types/node` `22.20.5`、`@tsdown/css` `0.22.2`),避免 rc.5 适配被范围解析漂移影响。
|
|
31
45
|
- rc.5 已接受的范围补充(Charter 页头版本徽标)保留;rc.6 客户端版本常量由现有 drift 测试与
|
|
@@ -33,8 +47,9 @@
|
|
|
33
47
|
|
|
34
48
|
### 发布状态
|
|
35
49
|
|
|
36
|
-
- `0.1.0-rc.
|
|
37
|
-
|
|
50
|
+
- `0.1.0-rc.6` 已正式验收并发布到 npm `latest`/`next`;GitHub Release 使用 recovery tag
|
|
51
|
+
`v0.1.0-rc.6-republished`。rc.5 为上一个已验收版本;规范 GitHub tag/release 待恢复。
|
|
52
|
+
- `0.1.0-rc.6` 已通过正式验收并发布到 npm `latest`/`next`;GitHub Release 使用 recovery tag `v0.1.0-rc.6-republished`。
|
|
38
53
|
|
|
39
54
|
## 0.1.0-rc.5 — 2026-10-29
|
|
40
55
|
|
|
@@ -60,7 +75,7 @@
|
|
|
60
75
|
- 以 `npm run check` 与当前 exact-artifact/packed smoke 命令为准;真实 Gateway、浏览器恢复、Desktop ABI 与
|
|
61
76
|
真实模型 compaction 仍是独立验收门禁。
|
|
62
77
|
- 不提升 record schema 版本、不改 domain;rc.4 记录保持可读。
|
|
63
|
-
- 发布状态:
|
|
78
|
+
- 发布状态:rc.5 已发布到 npm;规范 GitHub tag/release 待恢复。
|
|
64
79
|
|
|
65
80
|
## 0.1.0-rc.4 — 2026-10-27
|
|
66
81
|
|
package/CONTRIBUTING.md
CHANGED
|
@@ -7,7 +7,7 @@ contributions are focused bug reports, compatibility data, and changes that pres
|
|
|
7
7
|
|
|
8
8
|
## Before you start
|
|
9
9
|
|
|
10
|
-
Read the [design specification](docs/design/charter-design.md), especially:
|
|
10
|
+
Read the [design specification](docs/design/charter-design-v1.md), especially:
|
|
11
11
|
|
|
12
12
|
- user-authored text must remain **user role**;
|
|
13
13
|
- the model must not gain write capability;
|
|
@@ -38,6 +38,15 @@ npm run check
|
|
|
38
38
|
|
|
39
39
|
`npm run build` also runs the Remote and client smoke checks.
|
|
40
40
|
|
|
41
|
+
## Branch workflow (solo maintainer)
|
|
42
|
+
|
|
43
|
+
The remote keeps only `main`. Do development on local non-`main` branches; do not push those branches.
|
|
44
|
+
Run the local gates, merge into local `main` linearly, then push `main`. Protected actions on `main` are
|
|
45
|
+
force-pushes, deletion, and non-linear merges, not a PR review requirement.
|
|
46
|
+
|
|
47
|
+
External contributors may still open PRs from forks. The maintainer reviews and merges them locally under
|
|
48
|
+
the same main-only policy.
|
|
49
|
+
|
|
41
50
|
## Pull requests
|
|
42
51
|
|
|
43
52
|
A good pull request:
|
|
@@ -82,3 +91,5 @@ Do not open a public issue for a suspected vulnerability. Follow [SECURITY.md](S
|
|
|
82
91
|
## License
|
|
83
92
|
|
|
84
93
|
By contributing, you agree that your contribution is licensed under the MIT License.
|
|
94
|
+
|
|
95
|
+
Documentation changes must follow [docs/README.md](docs/README.md) (naming, status blocks, and link updates).
|
package/CONTRIBUTING.zh.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## 开始之前
|
|
9
9
|
|
|
10
|
-
先阅读[设计规格](docs/design/charter-design.zh.md),重点确认:
|
|
10
|
+
先阅读[设计规格](docs/design/charter-design-v1.zh.md),重点确认:
|
|
11
11
|
|
|
12
12
|
- 用户正文必须保持 **user role**;
|
|
13
13
|
- 模型不能获得写能力;
|
|
@@ -40,6 +40,13 @@ npm run check
|
|
|
40
40
|
|
|
41
41
|
`npm run build` 同时运行 Remote 和 client smoke 检查。
|
|
42
42
|
|
|
43
|
+
## 分支流程(单维护者)
|
|
44
|
+
|
|
45
|
+
远程仓库只保留 `main`。开发在本地非 `main` 分支进行,不推送开发分支;完成本地门禁后线性合入本地
|
|
46
|
+
`main`,再推送 `main`。`main` 的保护是不允许 force-push、删除和非线性合并,而不是 PR review 要求。
|
|
47
|
+
|
|
48
|
+
外部贡献者仍可从 fork 提交 PR;维护者按同样的 main-only 策略在本地审查和合并。
|
|
49
|
+
|
|
43
50
|
## Pull request
|
|
44
51
|
|
|
45
52
|
一个好的 PR:
|
|
@@ -84,3 +91,5 @@ docs: clarify budget overflow
|
|
|
84
91
|
## 许可证
|
|
85
92
|
|
|
86
93
|
提交贡献即表示你同意以 MIT License 授权该贡献。
|
|
94
|
+
|
|
95
|
+
文档变更必须遵循 [docs/README.md](docs/README.md)(命名、状态块和链接同步)。
|