@deepseek-ai/dsh-tool-subagent 0.2.2-rc.1 → 0.2.2-rc.3
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 +21 -21
- package/README.md +15 -13
- package/README.zh.md +14 -12
- package/lib/index.js +50 -47
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/list-models.d.ts.map +1 -0
- package/lib/types/list-models.js.map +1 -0
- package/lib/types/model-selection-settings.d.ts.map +1 -0
- package/lib/types/model-selection-settings.js.map +1 -0
- package/lib/types/model-selection-state.d.ts.map +1 -0
- package/lib/types/model-selection-state.js.map +1 -0
- package/lib/types/model-selection.d.ts +11 -13
- package/lib/types/model-selection.d.ts.map +1 -0
- package/lib/types/model-selection.js.map +1 -0
- package/lib/types/preset-selection.d.ts.map +1 -0
- package/lib/types/preset-selection.js.map +1 -0
- package/package.json +27 -24
- package/src/index.ts +393 -0
- package/src/list-models.ts +136 -0
- package/src/model-selection-settings.ts +95 -0
- package/src/model-selection-state.ts +60 -0
- package/src/model-selection.ts +193 -0
- package/src/preset-selection.ts +72 -0
package/README.i18n.yaml
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
en: 686fb5136bef0a3b
|
|
10
10
|
zh: d25d6569174a01b5
|
|
11
11
|
/deepseek-ai-dsh-tool-subagent/summary:
|
|
12
|
-
en:
|
|
13
|
-
zh:
|
|
12
|
+
en: 5167763e0cf03963
|
|
13
|
+
zh: b73dc896a972c1f8
|
|
14
14
|
/deepseek-ai-dsh-tool-subagent/table-of-contents:
|
|
15
15
|
en: d152484eb41ac6b4
|
|
16
16
|
zh: 09388d293f9be9cb
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
en: 1a23808ca32b8f2d
|
|
22
22
|
zh: e637a35220da0564
|
|
23
23
|
/deepseek-ai-dsh-tool-subagent/use-this-package/managed-delegation:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: 31e50585cfd7e747
|
|
25
|
+
zh: 643d9a9e3643cf55
|
|
26
26
|
/deepseek-ai-dsh-tool-subagent/use-this-package/selecting-a-child-preset:
|
|
27
27
|
en: e28a206c65151ec0
|
|
28
28
|
zh: 1372242076549ca4
|
|
29
29
|
/deepseek-ai-dsh-tool-subagent/use-this-package/selecting-a-child-llm:
|
|
30
|
-
en:
|
|
31
|
-
zh:
|
|
30
|
+
en: fb47e667c543dfc6
|
|
31
|
+
zh: fa450e808dd5dc7f
|
|
32
32
|
/deepseek-ai-dsh-tool-subagent/understand-the-implementation:
|
|
33
33
|
en: 6ce5f749256a7e6c
|
|
34
34
|
zh: a4f2adb04a70d9cf
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
en: ef692c4d17290920
|
|
40
40
|
zh: b1d0d3dab011e2cd
|
|
41
41
|
/deepseek-ai-dsh-tool-subagent/understand-the-implementation/result-acknowledgement:
|
|
42
|
-
en:
|
|
43
|
-
zh:
|
|
42
|
+
en: 3c2d70d479be8e38
|
|
43
|
+
zh: 9aebdb72223a086e
|
|
44
44
|
/deepseek-ai-dsh-tool-subagent/understand-the-implementation/context-sensitive-wording:
|
|
45
45
|
en: 1733728ac5aa6bb0
|
|
46
46
|
zh: 341ffc6e21a289af
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
en: 2e7844a04f0456ea
|
|
61
61
|
zh: 7aaaa033b700aa3d
|
|
62
62
|
/deepseek-ai-dsh-tool-subagent/model-experience/tool-schema/token-effect:
|
|
63
|
-
en:
|
|
64
|
-
zh:
|
|
63
|
+
en: b36081ab5c06241f
|
|
64
|
+
zh: 1e784317ee1fb381
|
|
65
65
|
/deepseek-ai-dsh-tool-subagent/model-experience/tool-schema/kv-cache-effect:
|
|
66
66
|
en: 5697c49cb84fb2a4
|
|
67
67
|
zh: b2b8464d3cbabfa5
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
en: a4ca31b9cbacda6b
|
|
70
70
|
zh: 91ac3e0784a14697
|
|
71
71
|
/deepseek-ai-dsh-tool-subagent/model-experience/model-selection-and-discovery/what-the-model-sees:
|
|
72
|
-
en:
|
|
73
|
-
zh:
|
|
72
|
+
en: 44bd1c2d49d0bbc1
|
|
73
|
+
zh: 7ae63df1cc3f56f2
|
|
74
74
|
/deepseek-ai-dsh-tool-subagent/model-experience/model-selection-and-discovery/token-effect:
|
|
75
75
|
en: 3a55d6616c00746b
|
|
76
76
|
zh: 4b0ef3dbff2c67ce
|
|
@@ -81,16 +81,16 @@
|
|
|
81
81
|
en: cf78b9dd5596495f
|
|
82
82
|
zh: bd44560f8c2435e8
|
|
83
83
|
/deepseek-ai-dsh-tool-subagent/model-experience/system-prompt/what-the-model-sees:
|
|
84
|
-
en:
|
|
85
|
-
zh:
|
|
84
|
+
en: c02f6b82a7756d03
|
|
85
|
+
zh: 60ed316d16e34ddf
|
|
86
86
|
/deepseek-ai-dsh-tool-subagent/model-experience/system-prompt/what-the-model-sees/tool-guidance-section:
|
|
87
87
|
en: 82b3cd08b3961c98
|
|
88
88
|
zh: bdc2a34bcea16cac
|
|
89
89
|
/deepseek-ai-dsh-tool-subagent/model-experience/system-prompt/token-effect:
|
|
90
|
-
en:
|
|
91
|
-
zh:
|
|
90
|
+
en: 1dac7ae068a09dab
|
|
91
|
+
zh: 408c273c0bdf88d3
|
|
92
92
|
/deepseek-ai-dsh-tool-subagent/model-experience/system-prompt/kv-cache-effect:
|
|
93
|
-
en:
|
|
93
|
+
en: 6dce9fc6c131fd20
|
|
94
94
|
zh: 2783a481ee349f1e
|
|
95
95
|
/deepseek-ai-dsh-tool-subagent/model-experience/runtime-depth-context:
|
|
96
96
|
en: 1e58e87365d88e45
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
en: 45854c8f4da73af7
|
|
112
112
|
zh: 7a9803ca8c03c40f
|
|
113
113
|
/deepseek-ai-dsh-tool-subagent/model-experience/start-result/what-the-model-sees:
|
|
114
|
-
en:
|
|
115
|
-
zh:
|
|
114
|
+
en: 1a7740d71a8ce2ad
|
|
115
|
+
zh: 259baa9e51b40d24
|
|
116
116
|
/deepseek-ai-dsh-tool-subagent/model-experience/start-result/token-effect:
|
|
117
117
|
en: 807d71626c81c858
|
|
118
118
|
zh: ba4b85709fa46c84
|
|
@@ -123,8 +123,8 @@
|
|
|
123
123
|
en: b6ed0eef154aa546
|
|
124
124
|
zh: 34160884aa30ffec
|
|
125
125
|
/deepseek-ai-dsh-tool-subagent/model-experience/completion-delivery/what-the-model-sees:
|
|
126
|
-
en:
|
|
127
|
-
zh:
|
|
126
|
+
en: 9350bc15498f2f28
|
|
127
|
+
zh: 8e8902031d39a4e9
|
|
128
128
|
/deepseek-ai-dsh-tool-subagent/model-experience/completion-delivery/token-effect:
|
|
129
129
|
en: 615348e27c0c9bc0
|
|
130
130
|
zh: 1655fdbc42932909
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
Use this package to give an agent a named tool that delegates work to a configured backend. Every call starts a managed activation and returns
|
|
12
|
+
Use this package to give an agent a named tool that delegates work to a configured backend. Every call starts a managed activation and returns the child's name; the runtime owns completion notices and cleanup. Local children support messages and restoration, while external backends execute one task and return their final answer through the completion notice. Supported backends can expose approved child LLM routes. Each instance can select a child preset and depth limit.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -57,9 +57,9 @@ The generated [configuration catalog](../../../docs/config-catalog.md#deepseek-a
|
|
|
57
57
|
|
|
58
58
|
### Managed delegation
|
|
59
59
|
|
|
60
|
-
Every call returns `started subagent <
|
|
60
|
+
The optional `name` argument names the child, unique among the caller's children and cannot be `lead`; omission selects `agent-1`, `agent-2`, and so on. The [subagent runtime](../subagent/README.md#agent-names) owns the name rule and its errors. Every call returns `started subagent <name>` after the runtime accepts the child, where `<name>` is the child's full name from the root, such as `reviewer/checker`. Top-level calls persist `{ kind: 'activation', name: <name> }` in result presentation metadata; nested Code dispatches retain it in the corresponding `tool/ptc-dispatch` event's `meta` field. It does not wait for the child's result. The activation owns the work independently of the completed tool call; the runtime sends a completion notice and releases execution resources.
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
For every backend, the runtime automatically delivers the completion notice if the calling Agent is still online when the child finishes. The notice includes the final answer unless the child sent that Agent a message just before finishing. Local Spawn and Fork children can also send messages, accept more work through `send_message` while active, or resume after settling. Codex, Claude Code, ACP, and DSH SDK backends do not accept follow-up messages.
|
|
63
63
|
|
|
64
64
|
`maxDepth` caps recursion (`0` forbids delegation); omission reads the current Host `subagent.maxDepth` setting, initially `1`, at each delegation. A numeric depth requires a provider with the `depthLimit` capability; `'provider-managed'` leaves the budget to an out-of-process provider. The tool stays visible at the cap; each attempted start checks the calling agent's current depth and rejects with an errored result.
|
|
65
65
|
|
|
@@ -76,7 +76,7 @@ Compose persona and tools in the [preset plugin list](../../preset/agent-preset-
|
|
|
76
76
|
|
|
77
77
|
Set `modelSelection: true` to expose optional `provider`, `model`, and `reasoning_effort` fields; instances without it reject selection fields. Set `modelDiscovery: true` on one instance per tool scope to register `list_subagent_models`; it defaults off independently of `modelSelection`. A second discovery owner in the same scope fails to register. Discovery follows its owning plugin instance, remains available when its delegation provider is absent, and is removed when that instance unloads. Web and Desktop presets enable discovery and route fields on spawn and leave both disabled on fork. The Host’s `/model-selection-settings` service samples the user preference during Agent creation, independently of tool installation. Its creation listener subscribes before projection registration completes and awaits the handle; registration failure or owner disposal rejects Agent publication. When enabled, its exact route list is recorded in each fresh top-level Session, inherited by child Sessions, and preserved on restore; later settings edits affect only new Sessions. Without a recorded Session policy, discovery and explicit selection permit only the parent Agent’s current effective provider/model and its supported efforts. Route fields require a backend that advertises `agentOptions`; in-process Spawn and Fork and DSH SDK qualify, while ACP, Codex, and Claude Code fail the mount.
|
|
78
78
|
|
|
79
|
-
A call supplies `provider` and `model` together
|
|
79
|
+
A call supplies `provider` and `model` together; `reasoning_effort` requires both fields in the same call. An effort-only call rejects before route lookup or child creation. Omitting all three fields preserves configured child defaults and their existing fallback behavior. Static `provider.agentRouteDefaults`, when present, form the provider/model baseline; tool configuration and model fields overlay it before route-aware effort merging and exact-route preflight. Providers without these defaults use compatible values from the parent's latest logged request, then the parent's creation options before its first request, while retaining the configured `maxTokens`. An explicit provider/model pair without an effort clears configured and inherited effort, even when the route is unchanged, so the selected model resolves its default. The live LLM adapter validates the effective route before child creation. Catalog membership remains advisory, so a model can use an unlisted id when its adapter accepts it.
|
|
80
80
|
|
|
81
81
|
-----
|
|
82
82
|
|
|
@@ -98,7 +98,7 @@ The tool calls `ctx.subagents.startActivation()` with parent delivery selected.
|
|
|
98
98
|
|
|
99
99
|
### Result acknowledgement
|
|
100
100
|
|
|
101
|
-
The canonical tool result is `{ kind: 'activation',
|
|
101
|
+
The canonical tool result is `{ kind: 'activation', name }`. It contains no execution Promise or final output; programmatic consumers that need to await results use the subagent service directly.
|
|
102
102
|
|
|
103
103
|
### Context-sensitive wording
|
|
104
104
|
|
|
@@ -143,7 +143,7 @@ The generated default [`subagent` schema](../../../docs/tool-catalog.md#deepseek
|
|
|
143
143
|
|
|
144
144
|
#### Token effect
|
|
145
145
|
|
|
146
|
-
Fixed schema cost per parent request; `modelSelection` adds three optional route fields, while preset selection adds one enum parameter and default guidance. Each tool instance adds one schema; visible delegation tools share one short system-prompt section.
|
|
146
|
+
Fixed schema cost per parent request, including the optional `name` field; `modelSelection` adds three optional route fields, while preset selection adds one enum parameter and default guidance. Each tool instance adds one schema; visible delegation tools share one short system-prompt section.
|
|
147
147
|
|
|
148
148
|
#### KV Cache effect
|
|
149
149
|
|
|
@@ -153,7 +153,7 @@ Prefix-stable while provider instances and their configuration are unchanged. Ad
|
|
|
153
153
|
|
|
154
154
|
#### What the model sees
|
|
155
155
|
|
|
156
|
-
The optional `list_subagent_models` definition reads the calling Session’s route policy, falling back to the current parent route when no policy is recorded. Calls reject while the optional `ctx.llm` service is unavailable. With a recorded policy, provider model lists intersect the advertised catalog with the Session’s authorized routes. Without one, they resolve only the current parent model, even if the catalog omits it. The discovery tool’s
|
|
156
|
+
The optional `list_subagent_models` definition reads the calling Session’s route policy, falling back to the current parent route when no policy is recorded. Calls reject while the optional `ctx.llm` service is unavailable. With a recorded policy, provider model lists intersect the advertised catalog with the Session’s authorized routes. Without one, they resolve only the current parent model, even if the catalog omits it. The discovery tool’s description tells the model when to query child routes or efforts and to omit optional query fields rather than send empty strings. Delegation tools document their own selection fields and defaults. Exact-model queries accept authorized ids absent from the catalog; unauthorized provider/model lookups fail before adapter access. Catalog or exact-model lookup failures and cancellation reject the call. Execution independently enforces the same policy.
|
|
157
157
|
|
|
158
158
|
#### Token effect
|
|
159
159
|
|
|
@@ -167,21 +167,23 @@ The schema is prefix-stable across adapter registration and catalog changes. Eac
|
|
|
167
167
|
|
|
168
168
|
#### What the model sees
|
|
169
169
|
|
|
170
|
-
Visible delegation tools share
|
|
170
|
+
Visible delegation tools share delegation and collaboration guidance, listing tools in name order and instructing the model to start independent delegations together and keep working while they run, and to end its turn instead of sleeping or polling when only waiting for their results remains. Ending the turn works because a settled child notifies its parent and a notice that reaches an idle parent starts one independent model request; hosts that keep children progressing alternate `agent.whenIdle()` and `waitForChildren(agent)` ([`dsh-subagent`](../subagent/README.md), [`session.ts`](../../acp/acp/src/session.ts)). Hidden or unavailable tools are omitted; no guidance appears when none are visible. With both `subagent` and `subagent_fork` visible, the text is:
|
|
171
171
|
|
|
172
172
|
##### Tool-guidance section
|
|
173
173
|
|
|
174
174
|
```markdown
|
|
175
|
-
Start independent delegations with `subagent` or `subagent_fork` together in one assistant message and continue useful work while they run. When only waiting for their results remains, end your turn instead of sleeping or polling; the next result starts a new turn.
|
|
175
|
+
Start independent delegations with `subagent` or `subagent_fork` together in one assistant message and continue useful work while they run. When only waiting for their results remains, end your turn instead of sleeping or polling; the next result starts a new turn. Collect the subagent results required to complete the task before giving the user a final answer.
|
|
176
|
+
|
|
177
|
+
Bash, formatters, code generators, and scripts can overwrite concurrent edits without conflict detection; coordinate their changes explicitly. The agent integrating the work must review the final diff and run relevant tests.
|
|
176
178
|
```
|
|
177
179
|
|
|
178
180
|
#### Token effect
|
|
179
181
|
|
|
180
|
-
|
|
182
|
+
Two guidance paragraphs per parent request with visible delegation tools, listing their names and shared-file coordination rules.
|
|
181
183
|
|
|
182
184
|
#### KV Cache effect
|
|
183
185
|
|
|
184
|
-
Prefix-stable while the visible tool names are unchanged; adding or removing a visible tool changes the
|
|
186
|
+
Prefix-stable while the visible tool names are unchanged; adding or removing a visible tool changes the guidance.
|
|
185
187
|
|
|
186
188
|
### Runtime depth context
|
|
187
189
|
|
|
@@ -207,7 +209,7 @@ Depth changes do not alter the system prompt or tool schemas. Updated runtime co
|
|
|
207
209
|
|
|
208
210
|
#### What the model sees
|
|
209
211
|
|
|
210
|
-
The call retains the task description and prompt. Success returns `started subagent <
|
|
212
|
+
The `description` guidance asks for 3–5 words in the language of the user’s current request. The call retains the task description and prompt. Success returns `started subagent <name>`; startup rejection, including a duplicate or invalid `name`, returns an error. Child execution details are delivered separately from this acknowledgement.
|
|
211
213
|
|
|
212
214
|
#### Token effect
|
|
213
215
|
|
|
@@ -221,7 +223,7 @@ Append-only; newly visible content follows the reusable request prefix and does
|
|
|
221
223
|
|
|
222
224
|
#### What the model sees
|
|
223
225
|
|
|
224
|
-
Answer delivery follows the managed delegation rules above. The returned child
|
|
226
|
+
Answer delivery follows the managed delegation rules above. The returned name addresses the child in `send_message`, `interrupt_agent`, and Team task owners; only backends with continuation support accept follow-up messages.
|
|
225
227
|
|
|
226
228
|
#### Token effect
|
|
227
229
|
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation
|
|
12
|
+
使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation 并返回子任务的名称;运行时负责完成通知与清理。本地子任务支持消息和恢复,外部后端执行一次任务,并通过完成通知返回最终回答。受支持的后端可以公开获准的子级 LLM 路由。每个实例可选择子级 preset 和深度限制。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -57,9 +57,9 @@ kind: "package-reference"
|
|
|
57
57
|
|
|
58
58
|
### 受管理的委派
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
可选的 `name` 参数为子任务命名,在调用方的子级之间唯一,且不能为 `lead`;省略时依次选择 `agent-1`、`agent-2` 等。[subagent 运行时](../subagent/README.zh.md#agent-names)定义名称规则及其错误。运行时接受子任务后,每次调用都会返回 `started subagent <name>`,其中 `<name>` 是子任务从根开始的完整名称,例如 `reviewer/checker`。顶层调用在结果展示 metadata 中持久化 `{ kind: 'activation', name: <name> }`;嵌套 Code 派发将其保存在对应 `tool/ptc-dispatch` 事件的 `meta` 字段中。调用不等待子任务结果。activation 独立于已完成的工具调用拥有这项工作;运行时发送完成通知并释放执行资源。
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
所有后端都由运行时自动递送完成通知,前提是子任务结束时调用方 Agent 仍在线。通知包含最终回答,除非子任务在结束前刚向该 Agent 发过消息。本地 Spawn 和 Fork 子任务还可以发送消息,在活跃期间通过 `send_message` 接受更多工作,或在结束后恢复。Codex、Claude Code、ACP 与 DSH SDK 后端不接受后续消息。
|
|
63
63
|
|
|
64
64
|
`maxDepth` 限制递归深度(`0` 禁止委派);省略时,每次委派读取 Host 当前的 `subagent.maxDepth` 设置,初始值为 `1`。数值深度要求提供方具备 `depthLimit` 能力;`'provider-managed'` 把预算留给进程外提供方。工具在达到上限时仍然可见;每次尝试启动都会检查调用 agent 的当前深度,被拒绝时返回出错的工具结果。
|
|
65
65
|
|
|
@@ -76,7 +76,7 @@ kind: "package-reference"
|
|
|
76
76
|
|
|
77
77
|
设置 `modelSelection: true` 后,该实例公开可选的 `provider`、`model` 和 `reasoning_effort` 字段;未设置的实例拒绝选择字段。在每个工具作用域的一个实例上设置 `modelDiscovery: true`,以注册 `list_subagent_models`;该选项独立于 `modelSelection`,默认关闭。同一作用域的第二个发现工具所有者会注册失败。发现工具随其所属插件实例存续,在委派提供方缺席时仍然可用,并在该实例卸载时移除。Web 与 Desktop preset 为 spawn 启用发现和路由字段,为 fork 保持两者关闭。Host 的 `/model-selection-settings` 服务在 Agent 创建时读取用户偏好,与工具安装无关。创建监听器在投影注册完成前订阅并等待句柄;注册失败或所属插件卸载会使 Agent 发布失败。启用时,精确路由列表记录在每个新顶层 Session 中,由子 Session 继承,并在恢复时保留;之后的设置编辑只影响新 Session。没有已记录 Session 策略时,发现和显式选择只允许父 Agent 当前生效的 provider/model 及其支持的强度。路由字段要求后端公布 `agentOptions`;进程内 Spawn、Fork 和 DSH SDK 满足条件,ACP、Codex 和 Claude Code 会使挂载失败。
|
|
78
78
|
|
|
79
|
-
一次调用需同时提供 `provider` 与 `model
|
|
79
|
+
一次调用需同时提供 `provider` 与 `model`;`reasoning_effort` 要求同一次调用包含这两个字段。仅指定强度的调用会在查询路由或创建子级之前被拒绝。省略全部三个字段时,保留配置的子级默认值与现有回退行为。静态的 `provider.agentRouteDefaults` 在存在时构成提供方/模型基线;工具配置与模型字段会在路由相关强度合并和确切路由预检前覆盖它。没有这些默认值的提供方会使用父 agent 最新已记录请求中的兼容值,再使用父级首次请求前的创建选项,并保留配置的 `maxTokens`。显式提供提供方/模型组合但省略强度时,会清除配置及继承的强度,即使路由未变,也由所选模型解析自己的默认值。实时 LLM 适配器在创建子 agent 前校验有效路由。目录成员资格只提供建议,因此适配器接受时,模型可以使用未列出的 id。
|
|
80
80
|
|
|
81
81
|
-----
|
|
82
82
|
|
|
@@ -98,7 +98,7 @@ kind: "package-reference"
|
|
|
98
98
|
|
|
99
99
|
### 结果确认
|
|
100
100
|
|
|
101
|
-
规范工具结果为 `{ kind: 'activation',
|
|
101
|
+
规范工具结果为 `{ kind: 'activation', name }`。其中没有执行 Promise 或最终输出;需要等待结果的程序调用方直接使用 subagent 服务。
|
|
102
102
|
|
|
103
103
|
### 随上下文变化的措辞
|
|
104
104
|
|
|
@@ -143,7 +143,7 @@ kind: "package-reference"
|
|
|
143
143
|
|
|
144
144
|
#### Token 影响
|
|
145
145
|
|
|
146
|
-
每次父级请求承担固定 schema
|
|
146
|
+
每次父级请求承担固定 schema 成本,其中包括可选的 `name` 字段;`modelSelection` 会增加三个可选路由字段,preset 选择则增加一个枚举参数及默认值引导。每个工具实例增加一份 schema;可见委派工具共享一个简短系统提示词段。
|
|
147
147
|
|
|
148
148
|
#### KV Cache 影响
|
|
149
149
|
|
|
@@ -153,7 +153,7 @@ kind: "package-reference"
|
|
|
153
153
|
|
|
154
154
|
#### 模型看到什么
|
|
155
155
|
|
|
156
|
-
可选的 `list_subagent_models` 定义读取调用 Session 的路由策略,没有已记录策略时使用当前父级路由。可选的 `ctx.llm` 服务不可用时,调用会被拒绝。有已记录策略时,提供方模型列表取公布目录与 Session
|
|
156
|
+
可选的 `list_subagent_models` 定义读取调用 Session 的路由策略,没有已记录策略时使用当前父级路由。可选的 `ctx.llm` 服务不可用时,调用会被拒绝。有已记录策略时,提供方模型列表取公布目录与 Session 授权路由的交集。没有策略时,只解析当前父级模型,即使目录未列出它。发现工具的描述说明何时查询子级路由或强度,并要求省略可选查询字段而不是传空字符串。委派工具各自说明选择字段及其默认行为。精确模型查询允许已授权但目录未列出的 ID;未授权的提供方/模型查询会在访问适配器前失败。目录或精确模型查询失败以及取消都会使调用被拒绝。执行过程独立强制同一策略。
|
|
157
157
|
|
|
158
158
|
#### Token 影响
|
|
159
159
|
|
|
@@ -167,17 +167,19 @@ kind: "package-reference"
|
|
|
167
167
|
|
|
168
168
|
#### 模型看到什么
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
可见的委派工具共享委派与协作指导,列出按名称排序的工具,指示模型一起启动相互独立的委派,并在它们运行时继续工作;当只剩等待它们的结果时,结束本轮,而不是休眠或轮询。结束本轮之所以可行,是因为子代理结束后会通知父级,而通知到达空闲父级会起一次独立的模型请求;在子代理继续推进期间,宿主交替等待 `agent.whenIdle()` 与 `waitForChildren(agent)`([`dsh-subagent`](../subagent/README.zh.md)、[`session.ts`](../../acp/acp/src/session.ts))。隐藏或不可用的工具不列入其中;没有可见工具时,不输出指导。`subagent` 和 `subagent_fork` 都可见时,文本为:
|
|
171
171
|
|
|
172
172
|
##### 工具指导 section
|
|
173
173
|
|
|
174
174
|
```markdown
|
|
175
|
-
Start independent delegations with `subagent` or `subagent_fork` together in one assistant message and continue useful work while they run. When only waiting for their results remains, end your turn instead of sleeping or polling; the next result starts a new turn.
|
|
175
|
+
Start independent delegations with `subagent` or `subagent_fork` together in one assistant message and continue useful work while they run. When only waiting for their results remains, end your turn instead of sleeping or polling; the next result starts a new turn. Collect the subagent results required to complete the task before giving the user a final answer.
|
|
176
|
+
|
|
177
|
+
Bash, formatters, code generators, and scripts can overwrite concurrent edits without conflict detection; coordinate their changes explicitly. The agent integrating the work must review the final diff and run relevant tests.
|
|
176
178
|
```
|
|
177
179
|
|
|
178
180
|
#### Token 影响
|
|
179
181
|
|
|
180
|
-
|
|
182
|
+
有可见委派工具时,每个父级请求包含两段指导,列出可见工具名和共享文件协作规则。
|
|
181
183
|
|
|
182
184
|
#### KV Cache 影响
|
|
183
185
|
|
|
@@ -207,7 +209,7 @@ Delegation depth for `subagent`: current 1, maximum 1, remaining levels 0. Do no
|
|
|
207
209
|
|
|
208
210
|
#### 模型看到什么
|
|
209
211
|
|
|
210
|
-
|
|
212
|
+
`description` 提示要求使用用户当前请求的语言,用 3–5 个词描述任务。调用保留任务描述与提示词。成功返回 `started subagent <name>`;启动被拒绝(包括 `name` 重复或无效)则返回错误。子任务执行详情独立于这条确认交付。
|
|
211
213
|
|
|
212
214
|
#### Token 影响
|
|
213
215
|
|
|
@@ -221,7 +223,7 @@ Delegation depth for `subagent`: current 1, maximum 1, remaining levels 0. Do no
|
|
|
221
223
|
|
|
222
224
|
#### 模型看到什么
|
|
223
225
|
|
|
224
|
-
|
|
226
|
+
回答投递遵循上文的受管理委派规则。返回的名称用于在 `send_message`、`interrupt_agent` 和 Team 任务所有者中指定该子任务;只有支持继续执行的后端才接受后续消息。
|
|
225
227
|
|
|
226
228
|
#### Token 影响
|
|
227
229
|
|
package/lib/index.js
CHANGED
|
@@ -48,51 +48,44 @@ function assertNonEmpty(value, field) {
|
|
|
48
48
|
if (value !== void 0 && value.length === 0) throw new Error(`child LLM \`${field}\` must be non-empty`);
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* @param parentOptions - Current parent values that supply missing child values.
|
|
51
|
+
* Validate explicit selection against the Session policy and merge it over child defaults.
|
|
52
|
+
* Explicit selection requires both provider and model; an omitted effort then
|
|
53
|
+
* uses the selected model's default, even when the route is unchanged.
|
|
55
54
|
* @param configured - Tool-instance child defaults.
|
|
56
55
|
* @param request - Model-facing route override.
|
|
57
56
|
* @param enabled - Whether this tool instance permits model-facing selection.
|
|
57
|
+
* @param policy - Session allowlist; omission permits only the current parent route.
|
|
58
|
+
* @param parentOptions - Current parent route used when no policy is recorded.
|
|
58
59
|
* @returns Child Agent options, preserving omission when no layer contributes one.
|
|
59
60
|
*/
|
|
60
|
-
function requestedAgentOptions(
|
|
61
|
+
function requestedAgentOptions(configured, request, enabled, policy, parentOptions) {
|
|
61
62
|
if (!hasDelegationModelRequest(request)) return configured;
|
|
62
63
|
if (!enabled) throw new Error("child model selection is disabled for this tool instance");
|
|
63
64
|
assertNonEmpty(request.provider, "provider");
|
|
64
65
|
assertNonEmpty(request.model, "model");
|
|
65
66
|
assertNonEmpty(request.reasoning_effort, "reasoning_effort");
|
|
66
|
-
if (request.provider === void 0
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
if (request.provider === void 0 || request.model === void 0) throw new Error(request.reasoning_effort === void 0 ? "child LLM `provider` and `model` must be supplied together" : "child LLM `reasoning_effort` requires both `provider` and `model`; supply both or omit all three fields");
|
|
68
|
+
assertAllowedModelSelection(policy, parentOptions, {
|
|
69
|
+
provider: request.provider,
|
|
70
|
+
model: request.model
|
|
71
|
+
});
|
|
71
72
|
return {
|
|
72
|
-
...
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
...request.reasoning_effort === void 0 ? {} : { reasoningEffort: ReasoningEffortId(request.reasoning_effort) }
|
|
73
|
+
...configured,
|
|
74
|
+
provider: request.provider,
|
|
75
|
+
model: request.model,
|
|
76
|
+
reasoningEffort: request.reasoning_effort === void 0 ? void 0 : ReasoningEffortId(request.reasoning_effort)
|
|
78
77
|
};
|
|
79
78
|
}
|
|
80
79
|
/**
|
|
81
|
-
* Enforce
|
|
82
|
-
* Pure inheritance remains outside this policy because no model-facing choice
|
|
83
|
-
* occurred; any explicit route or effort field must resolve to an allowed route.
|
|
80
|
+
* Enforce Session authorization for a complete, explicitly selected child route.
|
|
84
81
|
* @param policy - Session allowlist; omission permits only the current parent route.
|
|
85
|
-
* @param parentOptions - Current parent
|
|
86
|
-
* @param
|
|
87
|
-
* @param request - Model-facing selection fields from the tool call.
|
|
82
|
+
* @param parentOptions - Current parent route used when no policy is recorded.
|
|
83
|
+
* @param route - Validated provider/model pair from the tool call.
|
|
88
84
|
*/
|
|
89
|
-
function assertAllowedModelSelection(policy, parentOptions,
|
|
90
|
-
|
|
91
|
-
const provider = requested?.provider ?? parentOptions.provider;
|
|
92
|
-
const model = requested?.model ?? parentOptions.model;
|
|
93
|
-
if (provider === void 0 || model === void 0) throw new Error("cannot select child LLM values without an effective provider and model");
|
|
85
|
+
function assertAllowedModelSelection(policy, parentOptions, route) {
|
|
86
|
+
const { provider, model } = route;
|
|
94
87
|
if (policy === void 0 ? provider === parentOptions.provider && model === parentOptions.model : policy.routes.some((route) => route.provider === provider && route.model === model)) return;
|
|
95
|
-
throw new Error(`child LLM route "${provider}/${model}" is not allowed for this Session` + (policy === void 0 ? "; without a recorded model-selection policy, explicit selection
|
|
88
|
+
throw new Error(`child LLM route "${provider}/${model}" is not allowed for this Session` + (policy === void 0 ? "; without a recorded model-selection policy, explicit selection is limited to the parent route" : ""));
|
|
96
89
|
}
|
|
97
90
|
/**
|
|
98
91
|
* Whether configured Agent options require route validation before delegation.
|
|
@@ -110,7 +103,7 @@ function hasConfiguredLlmSelection(options) {
|
|
|
110
103
|
* @param parentOptions - Current parent values whose compatible fields the child inherits.
|
|
111
104
|
* @param requested - Per-child options after request/config merging.
|
|
112
105
|
* @param signal - Tool-call cancellation signal.
|
|
113
|
-
* @param inheritParentReasoningEffort - Whether an omitted effort may inherit from the parent route.
|
|
106
|
+
* @param inheritParentReasoningEffort - Whether an omitted effort may inherit from the parent route; false for explicit model selection.
|
|
114
107
|
*/
|
|
115
108
|
async function preflightChildLlmRoute(llm, parentOptions, requested, signal, inheritParentReasoningEffort = true) {
|
|
116
109
|
const provider = requested?.provider ?? parentOptions.provider;
|
|
@@ -214,7 +207,7 @@ async function listSubagentModels(ctx, policyHandle, request, exec) {
|
|
|
214
207
|
function registerListSubagentModels(ctx, policyHandle) {
|
|
215
208
|
ctx.tools.register(defineTool({
|
|
216
209
|
name: "list_subagent_models",
|
|
217
|
-
description: "Inspect
|
|
210
|
+
description: "Inspect the routes available for explicit subagent model selection. No arguments: authorized providers. `provider`: that provider's authorized models. `provider` + `model`: that model and its reasoning efforts. Query when choosing an explicit child route or reasoning effort. Omit optional fields rather than sending empty strings.",
|
|
218
211
|
parameters: {
|
|
219
212
|
provider: {
|
|
220
213
|
type: "string",
|
|
@@ -232,6 +225,7 @@ function registerListSubagentModels(ctx, policyHandle) {
|
|
|
232
225
|
text: result
|
|
233
226
|
}]
|
|
234
227
|
},
|
|
228
|
+
isConcurrencySafe: () => true,
|
|
235
229
|
execute(args, exec) {
|
|
236
230
|
return listSubagentModels(ctx, policyHandle, args, exec);
|
|
237
231
|
}
|
|
@@ -367,10 +361,10 @@ async function apply(ctx, config) {
|
|
|
367
361
|
assertSubagentProviderConfiguration(subagentProvider);
|
|
368
362
|
const wording = providerWording(subagentProvider.inheritsParentContext);
|
|
369
363
|
const providerRouteDefaults = subagentProvider.agentRouteDefaults;
|
|
370
|
-
const selectionDescription = providerRouteDefaults !== void 0 ? "
|
|
364
|
+
const selectionDescription = providerRouteDefaults !== void 0 ? " Omit `provider`, `model`, and `reasoning_effort` to use child defaults, falling back to this backend's route defaults." : " Omit `provider`, `model`, and `reasoning_effort` to use child defaults, falling back to compatible parent values.";
|
|
371
365
|
const definition = defineTool({
|
|
372
366
|
name: toolName,
|
|
373
|
-
description: wording.description + " This tool starts an independently managed subagent and immediately returns its
|
|
367
|
+
description: wording.description + " This tool starts an independently managed subagent and immediately returns its name. If you are still online when it finishes, the runtime automatically delivers its completion notice. The notice includes the final answer unless the child sent you a message just before finishing." + (subagentProvider.prepareContinuable !== void 0 ? " Use `send_message` to steer it while running or continue its conversation after it finishes." : " This backend does not accept follow-up messages.") + (modelSelectionEnabled ? selectionDescription : "") + (modelSelectionEnabled && subagentProvider.inheritsParentContext ? " Changing the route can prevent provider-side reuse of the inherited conversation prefix." : ""),
|
|
374
368
|
parameters: {
|
|
375
369
|
cwd: {
|
|
376
370
|
type: "string",
|
|
@@ -379,7 +373,11 @@ async function apply(ctx, config) {
|
|
|
379
373
|
description: {
|
|
380
374
|
type: "string",
|
|
381
375
|
required: true,
|
|
382
|
-
description: "A short (3-5 word) description of the delegated task, for display."
|
|
376
|
+
description: "A short (3-5 word) description of the delegated task, for display. Use the language of the user's current request."
|
|
377
|
+
},
|
|
378
|
+
name: {
|
|
379
|
+
type: "string",
|
|
380
|
+
description: "Optional short name for the subagent, unique among the subagents you create: lower-case letters, digits, and hyphens, starting with a letter, at most 32 characters; lead is reserved for the root agent. Omitted names default to agent-1, agent-2, and so on."
|
|
383
381
|
},
|
|
384
382
|
prompt: {
|
|
385
383
|
type: "string",
|
|
@@ -394,15 +392,15 @@ async function apply(ctx, config) {
|
|
|
394
392
|
...modelSelectionEnabled ? {
|
|
395
393
|
provider: {
|
|
396
394
|
type: "string",
|
|
397
|
-
description: "Child LLM provider id
|
|
395
|
+
description: "Child LLM provider id; requires `model`."
|
|
398
396
|
},
|
|
399
397
|
model: {
|
|
400
398
|
type: "string",
|
|
401
|
-
description: "Model id within that provider
|
|
399
|
+
description: "Model id within that provider; requires `provider`."
|
|
402
400
|
},
|
|
403
401
|
reasoning_effort: {
|
|
404
402
|
type: "string",
|
|
405
|
-
description: "
|
|
403
|
+
description: "Reasoning effort id; requires `provider` and `model`. Omit to use the selected model's default, even when it matches the parent or configured route."
|
|
406
404
|
}
|
|
407
405
|
} : {}
|
|
408
406
|
},
|
|
@@ -416,7 +414,7 @@ async function apply(ctx, config) {
|
|
|
416
414
|
required: true,
|
|
417
415
|
const: "activation"
|
|
418
416
|
},
|
|
419
|
-
|
|
417
|
+
name: {
|
|
420
418
|
type: "string",
|
|
421
419
|
required: true
|
|
422
420
|
}
|
|
@@ -424,8 +422,12 @@ async function apply(ctx, config) {
|
|
|
424
422
|
},
|
|
425
423
|
render: (_args, value) => [{
|
|
426
424
|
type: "text",
|
|
427
|
-
text: `started subagent ${value.
|
|
428
|
-
}]
|
|
425
|
+
text: `started subagent ${value.name}`
|
|
426
|
+
}],
|
|
427
|
+
presentationMeta: (_args, value) => ({
|
|
428
|
+
kind: value.kind,
|
|
429
|
+
name: value.name
|
|
430
|
+
})
|
|
429
431
|
},
|
|
430
432
|
isConcurrencySafe: () => true,
|
|
431
433
|
async execute(args, exec) {
|
|
@@ -437,15 +439,15 @@ async function apply(ctx, config) {
|
|
|
437
439
|
const modelRequest = args;
|
|
438
440
|
const parentOptions = parentAgentOptionsForDelegation(parent);
|
|
439
441
|
const requiresRoutePreflight = hasDelegationModelRequest(modelRequest) || hasConfiguredLlmSelection(config.agentOptions);
|
|
440
|
-
const requestedChildAgentOptions = requestedAgentOptions(
|
|
442
|
+
const requestedChildAgentOptions = requestedAgentOptions(requiresRoutePreflight && providerRouteDefaults !== void 0 ? {
|
|
441
443
|
...providerRouteDefaults,
|
|
442
444
|
...config.agentOptions
|
|
443
|
-
} : config.agentOptions, modelRequest, modelSelectionEnabled);
|
|
444
|
-
assertAllowedModelSelection(modelSelectionPolicy, parentOptions, requestedChildAgentOptions, modelRequest);
|
|
445
|
+
} : config.agentOptions, modelRequest, modelSelectionEnabled, modelSelectionPolicy, parentOptions);
|
|
445
446
|
if (requiresRoutePreflight) {
|
|
446
447
|
const llm = ctx.get("llm");
|
|
447
448
|
if (llm === void 0) throw new Error("cannot resolve the selected child LLM route because the `llm` service is unavailable");
|
|
448
|
-
|
|
449
|
+
const inheritParentReasoningEffort = providerRouteDefaults === void 0 && !hasDelegationModelRequest(modelRequest);
|
|
450
|
+
await preflightChildLlmRoute(llm, parentOptions, requestedChildAgentOptions, exec.signal, inheritParentReasoningEffort);
|
|
449
451
|
if (ctx.subagents.getProvider(config.provider) !== subagentProvider) throw new Error(`subagent provider "${config.provider}" changed while resolving the child LLM route; retry the delegation`);
|
|
450
452
|
}
|
|
451
453
|
exec.signal.throwIfAborted();
|
|
@@ -463,13 +465,14 @@ async function apply(ctx, config) {
|
|
|
463
465
|
};
|
|
464
466
|
return {
|
|
465
467
|
kind: "activation",
|
|
466
|
-
|
|
468
|
+
name: (await ctx.subagents.startActivation({
|
|
467
469
|
provider: config.provider,
|
|
468
470
|
label: args.description,
|
|
469
|
-
|
|
471
|
+
...args.name === void 0 ? {} : { name: args.name },
|
|
472
|
+
...request,
|
|
470
473
|
signal: exec.signal,
|
|
471
474
|
delivery: "parent"
|
|
472
|
-
})).
|
|
475
|
+
})).name
|
|
473
476
|
};
|
|
474
477
|
}
|
|
475
478
|
});
|
|
@@ -504,7 +507,7 @@ async function apply(ctx, config) {
|
|
|
504
507
|
if (mounted === void 0) return "";
|
|
505
508
|
const visible = [...delegationTools].filter((tool) => ctx.tools.get(tool.name, context.scope) === tool).map((tool) => tool.name).sort();
|
|
506
509
|
if (visible[0] !== toolName) return "";
|
|
507
|
-
return `Start independent delegations with ${visible.map((name) => `\`${name}\``).join(" or ")} together in one assistant message and continue useful work while they run. When only waiting for their results remains, end your turn instead of sleeping or polling; the next result starts a new turn.`;
|
|
510
|
+
return `Start independent delegations with ${visible.map((name) => `\`${name}\``).join(" or ")} together in one assistant message and continue useful work while they run. When only waiting for their results remains, end your turn instead of sleeping or polling; the next result starts a new turn. Collect the subagent results required to complete the task before giving the user a final answer.\n\nBash, formatters, code generators, and scripts can overwrite concurrent edits without conflict detection; coordinate their changes explicitly. The agent integrating the work must review the final diff and run relevant tests.`;
|
|
508
511
|
}
|
|
509
512
|
});
|
|
510
513
|
ctx.systemPrompt.context({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAIxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAiB1D,OAAO,EAA2B,KAAK,qBAAqB,EAA+B,MAAM,uBAAuB,CAAA;AAMxH,eAAO,MAAM,IAAI,kBAAkB,CAAA;AACnC,eAAO,MAAM,MAAM,UAA+D,CAAA;AAMlF,qFAAqF;AACrF,MAAM,WAAW,MAAO,SAAQ,qBAAqB;IACnD,gFAAgF;IAChF,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAA;CACvC;AAED,e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,GAAG,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;YAC/D,IAAI,QAAQ,KAAK,SAAS;gBAAE,OAAO,EAAE,CAAA;YACrC,MAAM,KAAK,GAAG,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;YAC9C,IAAI,KAAK,GAAG,QAAQ;gBAAE,OAAO,EAAE,CAAA;YAC/B,OAAO,0BAA0B,QAAQ,eAAe,KAAK,aAAa,QAAQ,uBAAuB;kBACrG,kBAAkB,QAAQ,gDAAgD,CAAA;QAChF,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-models.d.ts","sourceRoot":"","sources":["../../src/list-models.ts"],"names":[],"mappings":"AAAA,sEAAsE;AAEtE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAMlD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,sBAAsB,CAAA;AA0FnF;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,OAAO,EACZ,YAAY,EAAE,gBAAgB,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC,GACzD,IAAI,CA4BN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-models.js","sourceRoot":"","sources":["../../src/list-models.ts"],"names":[],"mappings":"AAAA,sEAAsE;AAKtE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAA;AAI3E,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAA;AAOzE,2EAA2E;AAC3E,SAAS,kBAAkB,CACzB,GAAe,EACf,MAA4B,EAC5B,UAAkB;IAElB,MAAM,SAAS,GAAG,GAAG,CAAC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