fix(subagent): wait only for the caller inbox
This commit is contained in:
1 parent
c49c4f11de
commit
76a36fee3b
46 files changed
+286
-301
No files matched your search
@@ -3,5 +3,5 @@
|
||||
# After editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/subsystems/README.md
|
||||
/subsystems:
|
||||
en: 857da1eede1f5523
|
||||
zh: 93fc3928f4eb43b5
|
||||
en: ef54c3c24cd7d961
|
||||
zh: 72a46c77b9dfc6ef
|
||||
@@ -50,7 +50,7 @@ One page per subsystem of the DeepSeek Harness: what it is, the data structures
|
||||
| [subagent.md](subagent.md) | the subagent seam: the named-provider registry, `SubagentStartRequest`/`Result`/`Run`, the start-time-vs-runtime capability split |
|
||||
| [voice-input.md](voice-input.md) | experimental named recognizers, transient audio and revision-guarded draft insertion |
|
||||
| [translation.md](translation.md) | experimental anonymous text translation and explicit provider requests |
|
||||
| [agent-team.md](agent-team.md) | Agent Teams: shared task DAG, task ownership, and wait signals for a subagent tree |
|
||||
| [agent-team.md](agent-team.md) | Agent Teams: shared task DAG and task ownership for a subagent tree |
|
||||
| [claude-code-mods.md](claude-code-mods.md) | Claude Code mods through the experimental bridge: every event, `$` member, chain rule, drawing feature, and example mod that differs from Claude Code |
|
||||
| [web.md](web.md) | the web access seam: `WebSearchRequest`/`Result`, `WebFetchRequest`/`Result`, `WebFetchBody`, provider availability, `WebError` |
|
||||
| [spill.md](spill.md) | the spill storage seam: `SaveTextSpill`, `SpillOwner`/`SpillSource`, `SpillRef`, the branded `SpillLocator` |
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
| [subagent.md](subagent.zh.md) | subagent seam:命名提供方注册表、`SubagentStartRequest`/`Result`/`Run`、启动时与运行时能力拆分 |
|
||||
| [voice-input.md](voice-input.zh.md) | 实验性具名语音识别、临时音频和受版本保护的草稿插入 |
|
||||
| [translation.md](translation.zh.md) | 实验性免登录文本翻译与显式 Provider 请求 |
|
||||
| [agent-team.md](agent-team.zh.md) | Agent Teams:子代理树共享的任务 DAG、任务归属与等待信号 |
|
||||
| [agent-team.md](agent-team.zh.md) | Agent Teams:子代理树共享的任务 DAG 与任务归属 |
|
||||
| [claude-code-mods.md](claude-code-mods.zh.md) | 经实验性桥接运行的 Claude Code 模组:与 Claude Code 不同的每个事件、`$` 成员、链规则、绘制特性与示例模组 |
|
||||
| [web.md](web.zh.md) | Web 访问 seam:`WebSearchRequest`/`Result`、`WebFetchRequest`/`Result`、`WebFetchBody`、提供方可用性、`WebError` |
|
||||
| [spill.md](spill.zh.md) | spill 存储 seam:`SaveTextSpill`、`SpillOwner`/`SpillSource`、`SpillRef`、品牌类型 `SpillLocator` |
|
||||
|
||||
@@ -18,5 +18,5 @@
|
||||
en: 3fce926f1d135d5a
|
||||
zh: a835885262792d89
|
||||
/agent-teams/replay:
|
||||
en: 81d0de978aa92363
|
||||
zh: a5bacfd4051afe51
|
||||
en: 9a3cc5b173014a3b
|
||||
zh: 531632d2a7eefe94
|
||||
@@ -107,7 +107,7 @@ interface TeamProjection {
|
||||
|
||||
## Replay
|
||||
|
||||
The `agentTeam` projection replays historical roster, task, and mailbox records selected by `TeamId`. Subagent discovery owns current tree membership and ignores inherited catalog authority. Session event `seq` and `time` own ordering and timing. Committed durable generations are preserved. The [package README](../../packages/experimental/agent-team/README.md) defines task operations, wait signals, and limits.
|
||||
The `agentTeam` projection replays historical roster, task, and mailbox records selected by `TeamId`. Subagent discovery owns current tree membership and ignores inherited catalog authority. Session event `seq` and `time` own ordering and timing. Committed durable generations are preserved. The [package README](../../packages/experimental/agent-team/README.md) defines task operations and limits.
|
||||
|
||||
<!-- BEGIN GENERATED cordis-surface (gen-cordis-catalog.ts) — do not edit between markers -->
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ interface TeamProjection {
|
||||
|
||||
## 回放
|
||||
|
||||
`agentTeam` 投影按 `TeamId` 重放历史名册、任务和邮箱记录。subagent 发现负责当前树成员关系,不将继承目录作为权限来源。Session 事件的 `seq` 和 `time` 负责排序和时间。已提交的持久化代次保持不变。[包 README](../../packages/experimental/agent-team/README.zh.md)定义任务操作、等待信号和限制。
|
||||
`agentTeam` 投影按 `TeamId` 重放历史名册、任务和邮箱记录。subagent 发现负责当前树成员关系,不将继承目录作为权限来源。Session 事件的 `seq` 和 `time` 负责排序和时间。已提交的持久化代次保持不变。[包 README](../../packages/experimental/agent-team/README.zh.md)定义任务操作和限制。
|
||||
|
||||
<!-- BEGIN GENERATED cordis-surface (gen-cordis-catalog.ts) — do not edit between markers -->
|
||||
|
||||
|
||||
@@ -1116,27 +1116,6 @@ Types: [Scoped](scope.md)
|
||||
|
||||
Source: [`packages/core/agent/src/runtime-types.ts`](../../packages/core/agent/src/runtime-types.ts)
|
||||
|
||||
<a id="agentwait-notified--emit"></a>
|
||||
|
||||
#### `agent/wait-notified` — emit
|
||||
|
||||
End current input waits without adding inbox content or starting the agent. This process-local signal is not retained for later waits.
|
||||
|
||||
```ts cordis-catalog
|
||||
/**
|
||||
* End current input waits without adding inbox content or starting the agent.
|
||||
* This process-local signal is not retained for later waits.
|
||||
* @param payload.agent - the exact agent whose current waits should end.
|
||||
* Scope-filtered dispatch (`@deepseek-ai/dsh-scope`): agent-scoped listeners receive only that agent.
|
||||
* @mode emit
|
||||
*/
|
||||
'agent/wait-notified'(this: Scoped<Agent>, payload: { agent: Agent }): void
|
||||
```
|
||||
|
||||
Types: [Scoped](scope.md)
|
||||
|
||||
Source: [`packages/core/agent/src/runtime-types.ts`](../../packages/core/agent/src/runtime-types.ts)
|
||||
|
||||
<a id="agent-loop-events"></a>
|
||||
|
||||
### `agent-loop/*` events
|
||||
|
||||
@@ -1128,27 +1128,6 @@ Types: [Scoped](scope.zh.md)
|
||||
|
||||
Source: [`packages/core/agent/src/runtime-types.ts`](../../packages/core/agent/src/runtime-types.ts)
|
||||
|
||||
<a id="agentwait-notified--emit"></a>
|
||||
|
||||
#### `agent/wait-notified` — emit
|
||||
|
||||
End current input waits without adding inbox content or starting the agent. This process-local signal is not retained for later waits.
|
||||
|
||||
```ts cordis-catalog
|
||||
/**
|
||||
* End current input waits without adding inbox content or starting the agent.
|
||||
* This process-local signal is not retained for later waits.
|
||||
* @param payload.agent - the exact agent whose current waits should end.
|
||||
* Scope-filtered dispatch (`@deepseek-ai/dsh-scope`): agent-scoped listeners receive only that agent.
|
||||
* @mode emit
|
||||
*/
|
||||
'agent/wait-notified'(this: Scoped<Agent>, payload: { agent: Agent }): void
|
||||
```
|
||||
|
||||
Types: [Scoped](scope.zh.md)
|
||||
|
||||
Source: [`packages/core/agent/src/runtime-types.ts`](../../packages/core/agent/src/runtime-types.ts)
|
||||
|
||||
<a id="agent-loop-events"></a>
|
||||
|
||||
### `agent-loop/*` events
|
||||
|
||||
Reference in new issue
Block a user