@dsh-cc/command-agents 0.6.1 → 0.6.2

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.
@@ -0,0 +1,6 @@
1
+ # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
+ # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
+ # after editing either side, bring the other along and re-record with:
4
+ # pnpm check:readme --write
5
+ README.md: 990e1fe57934caabc4e282dd16f26b0cb2710ca8
6
+ README.zh.md: e7feeaca85d787815cecc115455951d86d48b5b8
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @dsh-cc/command-agents
2
2
 
3
+ English | [中文](README.zh.md)
4
+
3
5
  Human-facing `/agents` command for continuable background agents (plan
4
6
  `docs/plans/2026-09-05-continuable-background-ux.md` §3.2, Slice 0 MVP).
5
7
 
package/README.zh.md ADDED
@@ -0,0 +1,26 @@
1
+ # @dsh-cc/command-agents
2
+
3
+ [English](README.md) | 中文
4
+
5
+ 面向可延续后台代理的、供人类使用的 `/agents` 命令(计划
6
+ `docs/plans/2026-09-05-continuable-background-ux.md` §3.2,Slice 0 MVP)。
7
+
8
+ ## Surface
9
+
10
+ - `/agents` — 分组列表(Working / Idle / Ready;仅按驻留状态分组,没有
11
+ Blocked/Done 组),由标签渲染的行,包含固定(pin)状态及 gate 拒绝码。
12
+ - `/agents <id>` — 轻量详情:pin 来源(路径、定义、模型选择器、工作区、
13
+ gate 评估结果)、驻留状态、ids。
14
+ - `/agents stop <id>` — 对运行中的子代理发送一次中断请求(子代理仍可
15
+ 延续/恢复);否则给出简短的无操作说明。
16
+ - `/agents attach <id>` — 命名空间已保留,尚未实现(P1)。
17
+
18
+ ## Shared snapshot
19
+
20
+ `src/snapshot.ts` 是一个基于注入服务的纯快照提供者
21
+ (宿主平面的 `subagents.listChildren`、注册表的 `agents.get`、realm 内部的
22
+ `resumePinStore`)。该插件挂载在 `cc-services` realm 内部,并把只读的
23
+ `ccAgents` 服务发布到 ROOT 上下文(CcPlugins 模式),因此 TUI 的本地斜杠
24
+ 命令路径消费的是同一份快照。预设 surface 只渲染轻量详情;TUI 以增量方式
25
+ 叠加由折叠派生的装饰(provider/model、prompt 摘录、最后一次 stopReason)——
26
+ 这一差异是有意为之,并已在 capability manifest 中记录。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dsh-cc/command-agents",
3
3
  "description": "Human-facing slash command to list, inspect, and stop continuable background agents",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/dsh-cc/dsh-cc.git",
@@ -33,7 +33,7 @@
33
33
  "@deepseek-ai/dsh-invariants": ">=0.1.2-rc.1",
34
34
  "@deepseek-ai/dsh-session": ">=0.1.2-rc.1",
35
35
  "@deepseek-ai/cordis": ">=0.1.2-rc.1",
36
- "@dsh-cc/subagent-resume-pins": "^0.6.1"
36
+ "@dsh-cc/subagent-resume-pins": "^0.6.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@deepseek-ai/cordis-plugin-loader": "link:../../../../deepseek-harness/vendor/loader",
@@ -42,12 +42,12 @@
42
42
  "@deepseek-ai/dsh-invariants": "link:../../../../deepseek-harness/packages/runtime-diagnostics/invariants",
43
43
  "@deepseek-ai/dsh-session": "link:../../../../deepseek-harness/packages/core/session",
44
44
  "@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
45
- "@dsh-cc/subagent-resume-pins": "^0.6.1"
45
+ "@dsh-cc/subagent-resume-pins": "^0.6.2"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
50
  "dependencies": {
51
- "@dsh-cc/command-usage": "^0.6.1"
51
+ "@dsh-cc/command-usage": "^0.6.2"
52
52
  }
53
53
  }