docs(notes): keep manifestVersion unchanged for seam API members

Refs #8074
This commit is contained in:
Turtle committed 2026-11-11 13:58:29 +08:00
1 parent d4066efe5e
commit 1b7b0d8cb4
3 files changed
+10 -10

No files matched your search

@@ -15,8 +15,8 @@
en: ad9ea5e151e05ac2
zh: baa08299dac43ee4
/agent-note-stable-api-policy/proposal/unit-one-capability-seam:
en: f6707df2621559f2
zh: 82dc3b81c29b5f0a
en: 2d33b23a61c8dae4
zh: 4d781899433069d5
/agent-note-stable-api-policy/proposal/what-stable-covers:
en: 0a637e21cfbabeb3
zh: 76078282bf686e17
@@ -36,8 +36,8 @@
en: 16e88b03b3f1bc38
zh: 5628adf979269b92
/agent-note-stable-api-policy/proposal/open-questions:
en: 7adf48d2e14e57bd
zh: 01e6160925bc6c68
en: b33cf00ac8a10a94
zh: e0a041a07879d2d5
/agent-note-stable-api-policy/alternatives-considered:
en: 4154f0aadc2f0017
zh: cc1e120f80e7fbb8
@@ -35,10 +35,10 @@ Each capability seam has its own API version, independent of the lockstep packag
The package that declares a Service Definition records its seam version in the existing `package.json` `dsh` declaration, owned by the [public package manifest](../../implemented/architecture/2026-09-10-public-package-manifest.md) decision. One package can declare several seams, so the member is a list:
```json
{ "dsh": { "manifestVersion": 1, "apis": [{ "name": "agent", "version": "1.0.0" }] } }
{ "dsh": { "apis": [{ "name": "agent", "version": "1.0.0" }] } }
```
The member names, and whether they require a new `manifestVersion`, are not settled. As that decision requires, the report generator and the compatibility check each validate the members they read.
The new members are optional and do not change `manifestVersion`; their names are not settled. As that decision requires, the report generator and the compatibility check each validate the members they read.
### What stable covers
@@ -79,7 +79,7 @@ Serving an old major seam version to old plugins is deferred. It becomes worthwh
### Open questions
- Names of the `dsh.apis` and `dsh.requires` members, and whether they require a new `manifestVersion`.
- Names of the `dsh.apis` and `dsh.requires` members.
- Length of the time-based deprecation period before DSH 1.0.
- Whether the Python SDK methods, the SDK JSON-RPC protocol, and `cordis.yml` config fields join the same levels, and whether the protocol needs its own version.
- Report generator: API Extractor or a dump built on the export walker in [scripts/verify-export-jsdoc.ts](../../../../scripts/verify-export-jsdoc.ts) and the tag parser in [scripts/jsdoc.ts](../../../../scripts/jsdoc.ts).
@@ -35,10 +35,10 @@ DSH 的所有公开 API 都处于预稳定(pre-stable)阶段:根目录 `AG
声明 Service Definition 的包在现有的 `package.json` `dsh` 声明中登记 seam 版本,该声明由[公开包 manifest](../../implemented/architecture/2026-09-10-public-package-manifest.zh.md) 决策负责。一个包可以声明多个 seam,因此该成员是列表:
```json
{ "dsh": { "manifestVersion": 1, "apis": [{ "name": "agent", "version": "1.0.0" }] } }
{ "dsh": { "apis": [{ "name": "agent", "version": "1.0.0" }] } }
```
成员名称,以及是否需要新的 `manifestVersion`,尚未确定。按该决策的要求,报告生成器和兼容检查各自校验自己读取的成员。
新成员是可选的,不改变 `manifestVersion`;成员名称尚未确定。按该决策的要求,报告生成器和兼容检查各自校验自己读取的成员。
### stable 覆盖的范围
@@ -79,7 +79,7 @@ stable 签名可以引用其他 seam 的类型,例如 `SessionId` 或 `Scoped`
### 待决问题
- `dsh.apis` 和 `dsh.requires` 成员的名称,以及是否需要新的 `manifestVersion`。
- `dsh.apis` 和 `dsh.requires` 成员的名称。
- DSH 1.0 之前按时间计算的弃用期长度。
- Python SDK 方法、SDK JSON-RPC 协议和 `cordis.yml` 配置字段是否纳入同一套级别,以及协议是否需要独立版本。
- 报告生成方式:API Extractor,还是基于 [scripts/verify-export-jsdoc.ts](../../../../scripts/verify-export-jsdoc.ts) 的导出遍历和 [scripts/jsdoc.ts](../../../../scripts/jsdoc.ts) 的标签解析生成的转储。