@deepseek-ai/dsh-experimental-agent-team 0.1.7-alpha.2 → 0.1.7-rc.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.
package/README.i18n.yaml CHANGED
@@ -1,6 +1,100 @@
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:
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/experimental/agent-team/README.md
5
- README.md: 6ae7d82214ca9e041324e353057ba6850675c043
6
- README.zh.md: 89176c285a8bd9d5a1875618dffb0b2eb4890a3e
5
+ /:
6
+ en: 6dbca19f6b32549f
7
+ zh: dae9c49eab8f6fee
8
+ /deepseek-ai-dsh-experimental-agent-team:
9
+ en: b28084855adcdabd
10
+ zh: 59e3d49c3d63baf9
11
+ /deepseek-ai-dsh-experimental-agent-team/summary:
12
+ en: 5b981abe3a308e53
13
+ zh: 7116e552a40dc79f
14
+ /deepseek-ai-dsh-experimental-agent-team/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: 09388d293f9be9cb
17
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package:
18
+ en: 4cafc368a3abea63
19
+ zh: 396189cbdc47b1f5
20
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/when-to-choose-it:
21
+ en: 8da318ac2f4343d7
22
+ zh: b31a399d6e3fd64e
23
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/smallest-working-setup:
24
+ en: 4fccad6758905210
25
+ zh: 9037ddb1dc4b2666
26
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/teammates:
27
+ en: 5a314d1f80ecd31b
28
+ zh: c34e6a93dd1e2045
29
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/messages-between-teammates:
30
+ en: 2c45b2c18c8317e7
31
+ zh: d4ab2259f976b19d
32
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/shared-task-board:
33
+ en: 73682f0d2001b517
34
+ zh: 3744d82eb3b7fcb9
35
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/waiting-and-interruption:
36
+ en: f8e38ccf6295b375
37
+ zh: 44f008e23613c0af
38
+ /deepseek-ai-dsh-experimental-agent-team/use-this-package/what-success-and-failure-look-like:
39
+ en: 0d523eb8ffe0a928
40
+ zh: 270b2502db285ed8
41
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation:
42
+ en: 6a18034f1ccc247a
43
+ zh: e08b0eb0ccb41ea8
44
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/design-philosophy:
45
+ en: c08e8eb5bbac71ae
46
+ zh: d6fb32f1243a28d6
47
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/source-map:
48
+ en: 53e2dda7c2adb34c
49
+ zh: 562590e3d42c029e
50
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/team-identity-and-roster:
51
+ en: 85f97723e45e43de
52
+ zh: def66721e21339cc
53
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/durable-mailbox:
54
+ en: 26041ce90cc48a35
55
+ zh: 677d85f22969f941
56
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/shared-task-board:
57
+ en: 2dc37ba97a8a7178
58
+ zh: 96bd24033030e19d
59
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/waiting-and-interruption:
60
+ en: 3becd36b407aac95
61
+ zh: c9e4895ee59696bb
62
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/durability-model:
63
+ en: 66dcbc543f2d3576
64
+ zh: cd8de23c555696df
65
+ /deepseek-ai-dsh-experimental-agent-team/understand-the-implementation/disposal:
66
+ en: 3ae69e3b7905cffe
67
+ zh: 0fb159101f6d646b
68
+ /deepseek-ai-dsh-experimental-agent-team/further-exploration:
69
+ en: 2bbfd4ffbaeedd00
70
+ zh: d1afb5d320b469a1
71
+ /deepseek-ai-dsh-experimental-agent-team/further-exploration/browser-projection:
72
+ en: 4b3033806e6db528
73
+ zh: 53e0dfef7309840e
74
+ /deepseek-ai-dsh-experimental-agent-team/model-experience:
75
+ en: 215e7ba838619b7b
76
+ zh: a311da3843709f90
77
+ /deepseek-ai-dsh-experimental-agent-team/model-experience/peer-messages:
78
+ en: 7a72088145dd45ec
79
+ zh: 6763071c604c2edd
80
+ /deepseek-ai-dsh-experimental-agent-team/model-experience/peer-messages/what-the-model-sees:
81
+ en: 4f9110ba058f25cd
82
+ zh: cf820293929ea993
83
+ /deepseek-ai-dsh-experimental-agent-team/model-experience/peer-messages/token-effect:
84
+ en: 37ec43beac34a6ad
85
+ zh: 6cdcd89ccceea815
86
+ /deepseek-ai-dsh-experimental-agent-team/model-experience/peer-messages/kv-cache-effect:
87
+ en: ff845d434b857afe
88
+ zh: 04479bddf7650ede
89
+ /deepseek-ai-dsh-experimental-agent-team/known-limitations-and-deferred-work:
90
+ en: 777abba6e3b496eb
91
+ zh: 2b8cd95e73f5e369
92
+ /deepseek-ai-dsh-experimental-agent-team/known-limitations-and-deferred-work/dev-note:
93
+ en: 498e4cf9fe5741a7
94
+ zh: 9d2bab630e655c99
95
+ /deepseek-ai-dsh-experimental-agent-team/known-limitations-and-deferred-work/dev-note/promotion:
96
+ en: 3d126e3b1015e4ce
97
+ zh: 22f0d18e2ce5c30f
98
+ /deepseek-ai-dsh-experimental-agent-team/known-limitations-and-deferred-work/dev-note/future-directions:
99
+ en: 38eadeacd73b9c02
100
+ zh: 05c5b55022e0b8d9
package/README.md CHANGED
@@ -118,7 +118,8 @@ The [Agent Teams Agent Note](../../../.agents/notes/implemented/feature/2026-08-
118
118
  | [`src/mailbox.ts`](src/mailbox.ts) | Durable queue, target-local dispatch, acknowledgement, and recovery |
119
119
  | [`src/task-board.ts`](src/task-board.ts) | Task CAS commands, DAG validation, and derived views |
120
120
  | [`src/journal.ts`](src/journal.ts) | Serialized Lead-log transactions and commit notification |
121
- | [`src/projection.ts`](src/projection.ts) | Strict replay projection that decodes and validates Team events |
121
+ | [`src/projection.ts`](src/projection.ts) | Strict replay projection that decodes and validates Team events and publishes the `agentTeam` client view |
122
+ | [`src/task-view.ts`](src/task-view.ts) | Pure task readiness, owner-name, and write-overlap derivation shared by the task board and the client view |
122
123
  | [`src/activity.ts`](src/activity.ts) | One-shot change waiters and disposal release |
123
124
  | [`src/lifecycle.ts`](src/lifecycle.ts) | Shared admission cutoff and bounded settlement |
124
125
  | [`src/invariant.ts`](src/invariant.ts) | Invariant companion that replays candidate events before append |
@@ -171,9 +172,11 @@ Read these pages when the package-level contract is not enough. They move from t
171
172
 
172
173
  <a id="model-experience"></a>
173
174
 
174
- ### Browser Remote
175
+ ### Browser projection
175
176
 
176
- `TeamService` exposes the read-only `agentTeams/view` Remote method for browser clients. Task creation and updates belong to Team agents through the service and model tools. The `./remote` export supplies the Client contribution mounted by the Web UI, while `./client` exports browser-safe roster and task views.
177
+ The `agentTeam` Session projection publishes the Lead Session's durable roster identities and phases, member errors, non-deleted task views, and any `failure` beside the last valid state. Its `apply` replaces only the touched collection; mailbox-only changes retain the client view reference and produce no frame. The [subsystem reference](../../../docs/subsystems/agent-team.md#web-projection) defines the wire types.
178
+
179
+ The [Web UI](../client-ui-agent-team/README.md) reads the shared Session projections and overlays activity from Session status. Task creation and updates belong to Team agents through the service and model tools. The `./client` export supplies browser-safe roster, task, and projection types.
177
180
 
178
181
  ## Model Experience
179
182
 
@@ -198,6 +201,7 @@ Peer messages append after the target's reusable history prefix. Cold resume reu
198
201
 
199
202
  These limits describe what a team cannot do yet or what needs special operational care. They are current package constraints, not a comparison with other coordination mechanisms.
200
203
 
204
+ - **Whole-view broadcasts** — each roster or task change sends the complete roster and non-deleted task board, including descriptions, to every connected browser, even when it is viewing another Session.
201
205
  - **Experimental prototype with no stability promise** — the package is public, but its contracts can change freely while it incubates.
202
206
  - **One process and one shared checkout** — members share cwd and observe edits immediately; this package provides no worktree, remote member, merge, or filesystem lock.
203
207
  - **Advisory write scopes** — Bash, formatters, code generators, and direct external writers can bypass filesystem version checks; Leads must coordinate ownership and review the final diff.
package/README.zh.md CHANGED
@@ -118,7 +118,8 @@ Lead 可以停止 teammate 的当前轮次,而不会删除其排队的消息
118
118
  | [`src/mailbox.ts`](src/mailbox.ts) | 持久队列、目标本地投递、确认与恢复 |
119
119
  | [`src/task-board.ts`](src/task-board.ts) | 任务 CAS 命令、DAG 校验与派生视图 |
120
120
  | [`src/journal.ts`](src/journal.ts) | 串行化的 Lead 日志事务与提交通知 |
121
- | [`src/projection.ts`](src/projection.ts) | 解码并校验 Team 事件的严格回放投影 |
121
+ | [`src/projection.ts`](src/projection.ts) | 解码并校验 Team 事件、发布 `agentTeam` 客户端视图的严格回放投影 |
122
+ | [`src/task-view.ts`](src/task-view.ts) | 任务板与客户端视图共用的纯任务派生:就绪状态、owner 名称与写入范围重叠 |
122
123
  | [`src/activity.ts`](src/activity.ts) | 一次性变更等待者与 dispose(资源释放)时的等待解除 |
123
124
  | [`src/lifecycle.ts`](src/lifecycle.ts) | 共享准入截止与有界结算 |
124
125
  | [`src/invariant.ts`](src/invariant.ts) | 在 append 前回放候选事件的不变式伴生插件 |
@@ -171,9 +172,11 @@ dispose 会关闭准入、中止并等待已获准的创建与 mailbox dispatch
171
172
 
172
173
  <a id="model-experience"></a>
173
174
 
174
- ### 浏览器 Remote
175
+ ### 浏览器投影
175
176
 
176
- `TeamService` 向浏览器客户端公开只读的 `agentTeams/view` Remote method。任务创建与更新由 Team agent 通过服务和模型工具执行。`./remote` 导出由 Web UI 挂载的 Client contribution,`./client` 导出可供浏览器使用的成员与任务视图。
177
+ `agentTeam` Session 投影发布 Lead Session 的持久成员身份与阶段、成员错误、未删除任务视图,以及最后有效状态旁的 `failure`。其 `apply` 只替换被触及的集合;仅邮箱的变化保留客户端视图引用,不产生 frame。[子系统参考](../../../docs/subsystems/agent-team.zh.md#web-projection) 定义传输类型。
178
+
179
+ [Web UI](../client-ui-agent-team/README.zh.md) 读取共享 Session 投影,并从 Session 状态叠加活动信息。任务创建与更新由 Team agent 通过服务和模型工具完成。`./client` 导出可供浏览器使用的 roster、任务与投影类型。
177
180
 
178
181
  ## 模型体验
179
182
 
@@ -198,6 +201,7 @@ Peer 消息追加在 target 可复用历史前缀之后。冷恢复会先复用
198
201
 
199
202
  这些限制说明一支团队目前不能做什么、或哪些方面需要特别的运维关注。它们是当前包约束,不是与其他协作机制的对比。
200
203
 
204
+ - **完整视图广播** — 每次 roster 或任务变化都会把完整 roster 和未删除任务板(含描述)发给所有已连接浏览器,即使它正在查看其他 Session。
201
205
  - **实验原型,无稳定性承诺**——本包公开发布,但孵化期间约定仍可自由变更。
202
206
  - **单进程、共享 checkout**——成员共享 cwd,修改立即可见;本包不提供 worktree、远端成员、merge 或文件锁。
203
207
  - **write scope 仅作提示**——Bash、formatter、代码生成器与直接外部写入可以绕过文件版本检查;Lead 必须协调 owner 并检查最终 diff。