acp-agent-metadata 2026.629.3 → 2026.629.4

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.md CHANGED
@@ -84,7 +84,7 @@ flowchart LR
84
84
  Src -->|"tsup"| Dist["dist/<br/><i>built at publish</i>"]
85
85
  ```
86
86
 
87
- 1. [`scripts/codegen.ts`](scripts/codegen.ts) reads each `cache/<id>.json` from the probe package, keeps only `status: "ok"`, maps fields through a fixed allowlist, sorts keys for stable output, and writes `dist-src/*.ts`.
87
+ 1. [`scripts/codegen.ts`](scripts/codegen.ts) reads each `cache/<id>.json` from the probe package, (re)writes agents that returned `status: "ok"`, and **preserves** any previously committed `dist-src` entries for agents that didn't (so a CI run can't drop locally captured data). Fields are mapped through a fixed allowlist and keys sorted for stable output, then written to `dist-src/*.ts`.
88
88
  2. [`tsup.config.ts`](tsup.config.ts) compiles `dist-src/` into `dist/` as ESM + CJS, with `dts: { resolve: true }` inlining the SDK types.
89
89
  3. codegen also rewrites the `exports` map in [`package.json`](package.json) to match the current agent set.
90
90
 
@@ -99,4 +99,4 @@ pnpm test # vitest (codegen snapshot tests)
99
99
 
100
100
  ## Project status
101
101
 
102
- Experimental and pre-1.0 (`0.0.0`). The agent set, field shape, and export surface may change. The data is a snapshot of what each agent advertised at probe time, not a stable contract. Licensed under [MIT](../../LICENSE) — see the root [README](../../README.md) for workspace-wide status.
102
+ Experimental releases use date-based versions (CalVer, e.g. `2026.629.0`). The agent set, field shape, and export surface may change. The data is a snapshot of what each agent advertised at probe time, not a stable contract. Licensed under [MIT](../../LICENSE) — see the root [README](../../README.md) for workspace-wide status.
package/README.zh-CN.md CHANGED
@@ -84,7 +84,7 @@ flowchart LR
84
84
  Src -->|"tsup"| Dist["dist/<br/><i>发布时构建</i>"]
85
85
  ```
86
86
 
87
- 1. [`scripts/codegen.ts`](scripts/codegen.ts) 从探针包读取每个 `cache/<id>.json`,只保留 `status: "ok"`,通过固定的白名单映射字段,对键排序以保证输出稳定,并写入 `dist-src/*.ts`。
87
+ 1. [`scripts/codegen.ts`](scripts/codegen.ts) 从探针包读取每个 `cache/<id>.json`,(重新)写入返回 `status: "ok"` 的智能体,并**保留**之前已提交但本次未通过的 `dist-src` 条目(这样 CI 不会丢失本地采集的数据)。通过固定的白名单映射字段,对键排序以保证输出稳定,再写入 `dist-src/*.ts`。
88
88
  2. [`tsup.config.ts`](tsup.config.ts) 将 `dist-src/` 编译为 `dist/`(ESM + CJS),通过 `dts: { resolve: true }` 内联 SDK 类型。
89
89
  3. codegen 还会重写 [`package.json`](package.json) 中的 `exports` 映射,以匹配当前智能体集合。
90
90
 
@@ -99,4 +99,4 @@ pnpm test # vitest(codegen 快照测试)
99
99
 
100
100
  ## 项目状态
101
101
 
102
- 实验性,1.0 之前阶段(`0.0.0`)。智能体集合、字段结构和导出接口可能发生变化。数据是每个智能体在探测时所声明内容的快照,而非稳定契约。采用 [MIT](../../LICENSE) 许可证 —— workspace 范围的状态见根目录 [README](../../README.md)。
102
+ 实验性 —— 发布版本采用日期版本号(CalVer,如 `2026.629.0`)。智能体集合、字段结构和导出接口可能发生变化。数据是每个智能体在探测时所声明内容的快照,而非稳定契约。采用 [MIT](../../LICENSE) 许可证 —— workspace 范围的状态见根目录 [README](../../README.md)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acp-agent-metadata",
3
- "version": "2026.629.3",
3
+ "version": "2026.629.4",
4
4
  "type": "module",
5
5
  "description": "Type-safe ACP agent capability metadata (modes, commands, auth methods)",
6
6
  "license": "MIT",