@deepseek-ai/dsh-experimental-tool-agent-team 0.1.7-alpha.1 → 0.1.7-alpha.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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/index.js +9 -1
- package/package.json +26 -26
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/experimental/tool-agent-team/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 0918686d28f7212558aafa988a4b968c18aa8664
|
|
6
|
+
README.zh.md: 8243f8471a67fe55d5a5d368d98e20c5519f42f3
|
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ Read these pages when the package-level contract is not enough. They move from t
|
|
|
125
125
|
|
|
126
126
|
#### What the model sees
|
|
127
127
|
|
|
128
|
-
One shared system policy states the explicit-delegation requirement, shared-cwd behavior, filesystem stale-version recovery, Bash/formatter/codegen risk, task and write-scope coordination, Steer delivery, the no-retry mailbox rule, and the Lead's duty to wait before answering. All nine Team schemas are identical for Leads and teammates; execution enforces Lead-only operations. `spawn_teammate` prefixes its initial user message with `<system-reminder>\nYou are teammate "<name>".\n</system-reminder>`, followed by a blank line and the task. The prefix contains no Team id and works when runtime context is disabled. Forks inherit history without an additional Lead identity message.
|
|
128
|
+
One shared system policy states the explicit-delegation requirement, shared-cwd behavior, filesystem stale-version recovery, Bash/formatter/codegen risk, task and write-scope coordination, Steer delivery, the no-retry mailbox rule, and the Lead's duty to wait before answering. All nine Team schemas are identical for Leads and teammates; execution enforces Lead-only operations. `spawn_teammate` prefixes its initial user message with `<system-reminder>\nYou are teammate "<name>".\nYour Team Lead is named "lead".\nUse list_agents({}) to find your teammates and their names.\nTo message your Team Lead, use send_message({ target: "lead", message: "..." }).\nTo message another teammate, use send_message({ target: "<teammate name>", message: "..." }).\n</system-reminder>`, followed by a blank line and the task. The prefix contains no Team id and works when runtime context is disabled. Forks inherit history without an additional Lead identity message.
|
|
129
129
|
|
|
130
130
|
#### Token effect
|
|
131
131
|
|
package/README.zh.md
CHANGED
|
@@ -125,7 +125,7 @@ member scope 上的一个 `team:policy` 段落说明共享的协作规则;固
|
|
|
125
125
|
|
|
126
126
|
#### 模型看到什么
|
|
127
127
|
|
|
128
|
-
一段共享 system 策略会说明显式 delegation 要求、共享 cwd 行为、文件陈旧版本恢复、Bash/formatter/codegen 风险、task/write-scope 协调、Steer 投递、mailbox 不重试规则,以及 Lead 必须在回答前等待。Lead 与 teammate 的全部九个 Team schema 相同;执行时检查仅限 Lead 的操作权限。`spawn_teammate` 在初始 user 消息前加上 `<system-reminder>\nYou are teammate "<name>".\n</system-reminder>`,接着是一个空行和任务。该前缀不含 Team id,禁用运行时上下文时也能生效。fork 继承历史,不额外添加 Lead 身份消息。
|
|
128
|
+
一段共享 system 策略会说明显式 delegation 要求、共享 cwd 行为、文件陈旧版本恢复、Bash/formatter/codegen 风险、task/write-scope 协调、Steer 投递、mailbox 不重试规则,以及 Lead 必须在回答前等待。Lead 与 teammate 的全部九个 Team schema 相同;执行时检查仅限 Lead 的操作权限。`spawn_teammate` 在初始 user 消息前加上 `<system-reminder>\nYou are teammate "<name>".\nYour Team Lead is named "lead".\nUse list_agents({}) to find your teammates and their names.\nTo message your Team Lead, use send_message({ target: "lead", message: "..." }).\nTo message another teammate, use send_message({ target: "<teammate name>", message: "..." }).\n</system-reminder>`,接着是一个空行和任务。该前缀不含 Team id,禁用运行时上下文时也能生效。fork 继承历史,不额外添加 Lead 身份消息。
|
|
129
129
|
|
|
130
130
|
#### Token 影响
|
|
131
131
|
|
package/lib/index.js
CHANGED
|
@@ -273,7 +273,15 @@ function install(agent, ctx, config) {
|
|
|
273
273
|
description: args.description,
|
|
274
274
|
prompt: [{
|
|
275
275
|
type: "text",
|
|
276
|
-
text: `<system-reminder
|
|
276
|
+
text: `<system-reminder>
|
|
277
|
+
You are teammate "${args.name.trim()}".
|
|
278
|
+
Your Team Lead is named "lead".
|
|
279
|
+
Use list_agents({}) to find your teammates and their names.
|
|
280
|
+
To message your Team Lead, use send_message({ target: "lead", message: "..." }).
|
|
281
|
+
To message another teammate, use send_message({ target: "<teammate name>", message: "..." }).
|
|
282
|
+
</system-reminder>
|
|
283
|
+
|
|
284
|
+
`
|
|
277
285
|
}, {
|
|
278
286
|
type: "text",
|
|
279
287
|
text: args.prompt
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-experimental-tool-agent-team",
|
|
3
3
|
"description": "Scoped model-facing Agent Teams tools over ctx.agentTeams",
|
|
4
|
-
"version": "0.1.7-alpha.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -29,34 +29,34 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@deepseek-ai/schemastery": "
|
|
32
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/dsh-experimental-agent-team": "
|
|
39
|
-
"@deepseek-ai/dsh-tools": "
|
|
40
|
-
"@deepseek-ai/cordis": "
|
|
35
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2",
|
|
36
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
|
|
37
|
+
"@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
|
|
38
|
+
"@deepseek-ai/dsh-experimental-agent-team": "0.1.7-alpha.2",
|
|
39
|
+
"@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
|
|
40
|
+
"@deepseek-ai/cordis": "~4.0.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@deepseek-ai/dsh-agent": "
|
|
44
|
-
"@deepseek-ai/dsh-agent-loop": "
|
|
45
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "
|
|
46
|
-
"@deepseek-ai/dsh-session": "
|
|
47
|
-
"@deepseek-ai/dsh-session
|
|
48
|
-
"@deepseek-ai/dsh-session-
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/dsh-
|
|
51
|
-
"@deepseek-ai/dsh-subagent": "
|
|
52
|
-
"@deepseek-ai/dsh-subagent-fork-in-process": "
|
|
53
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
56
|
-
"@deepseek-ai/dsh-experimental-agent-team": "
|
|
57
|
-
"@deepseek-ai/
|
|
58
|
-
"@deepseek-ai/
|
|
59
|
-
"@deepseek-ai/dsh-llm": "
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
43
|
+
"@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
|
|
44
|
+
"@deepseek-ai/dsh-agent-loop": "0.1.7-alpha.2",
|
|
45
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-session-query": "0.1.7-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-scope": "0.1.7-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.1.7-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-subagent": "0.1.7-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-subagent-fork-in-process": "0.1.7-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.7-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-experimental-agent-team": "0.1.7-alpha.2",
|
|
57
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
58
|
+
"@deepseek-ai/dsh-llm-deepseek": "0.1.7-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-tool-subagent-control": "0.1.7-alpha.2"
|
|
61
61
|
}
|
|
62
62
|
}
|