dsh-cohub 0.4.4 → 0.4.11
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.md +115 -31
- package/cordis.patch.yml +26 -4
- package/lib/client.js +10 -43
- package/lib/co-cordis-plugin.js +192 -0
- package/lib/index.js +1135 -455
- package/package.json +7 -4
- package/presets/co-orchestrator/agent.cordis.yml +12 -4
- package/presets/cohub-cordis/agent.cordis.yml +288 -0
- package/presets/cohub-cordis/preset.yml +3 -0
- package/presets/cohub-cordis/skills/cordis-plugin-development/SKILL.md +420 -0
- package/presets/cohub-cordis/skills/editing-cordis-compositions/SKILL.md +165 -0
- package/presets/cohub-standard/agent.cordis.yml +0 -207
- package/presets/cohub-standard/preset.yml +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-cohub",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "DeepSeek Harness 版 CoHub:中文智能体编排——双 preset 模式(co-orchestrator 纯调度 + cohub-
|
|
3
|
+
"version": "0.4.11",
|
|
4
|
+
"description": "DeepSeek Harness 版 CoHub:中文智能体编排——双 preset 模式(co-orchestrator 纯调度 + cohub-cordis 创造模式)/ 12 技能(11 专职代理 + orchestrator)/ 多模型共识",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"default": "./lib/index.js"
|
|
10
10
|
},
|
|
11
11
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
12
|
+
"./co-cordis-plugin": "./lib/co-cordis-plugin.js",
|
|
12
13
|
"./package.json": "./package.json",
|
|
13
14
|
"./client": {
|
|
14
15
|
"default": "./lib/client.js"
|
|
@@ -36,7 +37,8 @@
|
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
39
|
"scripts": {
|
|
39
|
-
"build": "bun run scripts/generate-skills.ts && bun build src/index.ts --outdir lib --target node --format esm --external @deepseek-ai/cordis --external @deepseek-ai/schemastery --external @deepseek-ai/dsh-tools --external @deepseek-ai/dsh-system-prompt --external @deepseek-ai/dsh-skill --external @deepseek-ai/dsh-home-paths --external @deepseek-ai/dsh-settings && bun run scripts/build-client.js",
|
|
40
|
+
"build": "bun run scripts/generate-skills.ts && bun run scripts/guard-schema.ts && bun build src/index.ts --outdir lib --target node --format esm --external @deepseek-ai/cordis --external @deepseek-ai/schemastery --external @deepseek-ai/dsh-tools --external @deepseek-ai/dsh-system-prompt --external @deepseek-ai/dsh-skill --external @deepseek-ai/dsh-home-paths --external @deepseek-ai/dsh-settings && bun build src/co-cordis-plugin.ts --outdir lib --target node --format esm --external @deepseek-ai/dsh-tools && bun run scripts/build-client.js",
|
|
41
|
+
"lint:schema": "bun run scripts/guard-schema.ts",
|
|
40
42
|
"prepublishOnly": "npm run build",
|
|
41
43
|
"build:client": "bun run scripts/build-client.js",
|
|
42
44
|
"audit": "node scripts/audit-session.mjs"
|
|
@@ -101,6 +103,7 @@
|
|
|
101
103
|
],
|
|
102
104
|
"repository": {
|
|
103
105
|
"type": "git",
|
|
104
|
-
"url": "git+https://github.com/Mr-cjf/
|
|
106
|
+
"url": "git+https://github.com/Mr-cjf/cohub.git",
|
|
107
|
+
"directory": "packages/dsh-cohub"
|
|
105
108
|
}
|
|
106
109
|
}
|
|
@@ -20,14 +20,17 @@
|
|
|
20
20
|
- id: persona
|
|
21
21
|
name: '@deepseek-ai/dsh-persona'
|
|
22
22
|
config:
|
|
23
|
-
text
|
|
23
|
+
# 字段名必须是 prefix(required)/ suffix。旧版的 text 字段在 DSH 0.1.5-rc.2
|
|
24
|
+
# 会使整行挂载失败(invalid config: $.prefix missing required value),
|
|
25
|
+
# 进而该 preset 不可用、新会话无法创建。
|
|
26
|
+
prefix: |-
|
|
24
27
|
你是 cohub 中文智能体编排体系的主调度者集群(Orchestrator)——思考时以集群方式协作,调用不同代理集群分工处理,而非以独立个体独自完成。
|
|
25
28
|
你的唯一职责是分析需求 → 委派信息收集 → 委派 co-planner 制定方案 → 审核 → 委派执行 → 委派验证;绝不亲自调用任何文件/代码读写与执行工具,全部委派给专职子代理。
|
|
26
29
|
会话开始时,用 skill 工具加载 co-orchestrator 技能并严格遵守其工作流。
|
|
27
|
-
调度纪律:并行委派每批不超过 3
|
|
28
|
-
|
|
30
|
+
调度纪律:并行委派每批不超过 3 个(取值:DSH 设置 → cohub.schedule.maxParallelBatch,缺省 3,部署可调);
|
|
31
|
+
预计接近墙钟预算的大批量任务必须分批并用 job 跟踪轮询(取值:DSH 设置 → cohub.schedule.wallClockBudgetMs,缺省 600000ms = 10 分钟),
|
|
29
32
|
无 job 跟踪则前台小批串行;禁止在单个执行单元里并行启动全部 delegate;
|
|
30
|
-
全程 Native 模式:用 persona 软约束主代理不亲自操作文件;批内并行由同条消息的多 tool_use
|
|
33
|
+
全程 Native 模式:用 persona 软约束主代理不亲自操作文件;批内并行由同条消息的多 tool_use 块承载,批间串行遵守同一批大小上限。
|
|
31
34
|
|
|
32
35
|
# ── 委派与调度工具面 ────────────────────────────────────────────────────
|
|
33
36
|
# subagents 注册表与 spawn/fork 后端在宿主组合(host plane);本 preset 提供委派工具。
|
|
@@ -46,8 +49,13 @@
|
|
|
46
49
|
name: '@deepseek-ai/dsh-tool-workflow'
|
|
47
50
|
|
|
48
51
|
# ── 技能(co-* 技能目录由 dsh-cohub 全局注册,本 preset 只需加载工具) ──
|
|
52
|
+
# 注意:catalogEnabled: false 关闭目录注入——Orchestrator 使用 delegate() 委派,
|
|
53
|
+
# 从不通过 skill() 加载 co-* 技能,无需每步注入 14 个技能目录浪费 token。
|
|
54
|
+
# skill() 工具本身仍然注册,子代理(通过 delegate spawn)可正常使用。
|
|
49
55
|
- id: tool-skill
|
|
50
56
|
name: '@deepseek-ai/dsh-tool-skill'
|
|
57
|
+
config:
|
|
58
|
+
catalogEnabled: false
|
|
51
59
|
|
|
52
60
|
# ── 任务与后台任务面板 ──────────────────────────────────────────────────
|
|
53
61
|
- id: tool-todo
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
# cohub-cordis agent preset —— cohub 纯调度主代理 + Cordis 运行时工具。
|
|
2
|
+
#
|
|
3
|
+
# 定位:与 co-orchestrator **同一套纯调度纪律**,唯一区别是多挂了
|
|
4
|
+
# `dsh-cohub/co-cordis-plugin`(7 个 co_* 工具:co_inspect_list / co_inspect_query /
|
|
5
|
+
# co_inspect_self / co_define / co_run / co_stop / co_remove)。
|
|
6
|
+
#
|
|
7
|
+
# 不是「自己动手为主」的开发模式——主代理仍然绝不亲自读写文件,
|
|
8
|
+
# 一切委派;cordis 能力是给 co-cordis 子代理(及需要时的 co_inspect_* 只读查询)用的。
|
|
9
|
+
#
|
|
10
|
+
# cohub 能力从哪来(与 preset 解耦):
|
|
11
|
+
# - 13 个 co-* 技能、delegate / delegate_batch 工具:由 dsh-cohub bundle 在
|
|
12
|
+
# host plane 全局注册,任何 preset 的会话都能看到。
|
|
13
|
+
# - cohub:language(中文强制)与执行器环境契约段:同样由 bundle 注入系统提示词。
|
|
14
|
+
#
|
|
15
|
+
# TRUST:co_define / co_run 会对模型写的 JavaScript 求值并在活动运行时执行 ——
|
|
16
|
+
# 把使用本 preset 的会话等同于 shell 访问权限来对待。
|
|
17
|
+
|
|
18
|
+
# ── 身份 ────────────────────────────────────────────────────────────────
|
|
19
|
+
- id: persona
|
|
20
|
+
name: '@deepseek-ai/dsh-persona'
|
|
21
|
+
config:
|
|
22
|
+
# 字段名必须是 prefix(required)/ suffix —— 旧版 text 会让整行挂载失败
|
|
23
|
+
suffix: Your working directory is {{cwd}}.
|
|
24
|
+
prefix: |-
|
|
25
|
+
你是 cohub 中文智能体编排体系的主调度者(Orchestrator),运行在 DeepSeek Harness 上({{model}} 模型,工作目录 {{cwd}})。
|
|
26
|
+
|
|
27
|
+
## 唯一职责:编排,绝不亲自操作
|
|
28
|
+
|
|
29
|
+
你的职责是 分析需求 → 委派信息收集 → 委派 co-planner 制定方案 → 审核 → 调度执行 → 委派验证。
|
|
30
|
+
**绝不亲自调用任何文件/代码读写与执行工具**(read、grep、glob、edit、write、pwsh、bash 等一律禁止),全部委派给 co-* 专职子代理。
|
|
31
|
+
不要拿"委派开销大""就一行代码""我自己更快"当借口自己操作。
|
|
32
|
+
|
|
33
|
+
## 会话开始时必须做的第一件事
|
|
34
|
+
|
|
35
|
+
用 `skill` 工具加载 `co-orchestrator` 技能,并严格按其工作流执行。该技能是硬性流程(含硬性规则 1-4、自检清单、并行检查清单),不是参考资料。
|
|
36
|
+
|
|
37
|
+
## 委派方式
|
|
38
|
+
|
|
39
|
+
- `delegate({ skill, prompt })` —— 单个子代理,skill 必填且必须是 13 个 co-* 之一;
|
|
40
|
+
- `delegate_batch({ tasks })` —— **≥2 个无依赖任务一律用它**(内部 Promise.allSettled 真并行;同一条消息里的多个 tool_use 在本环境很少真并发);
|
|
41
|
+
- 子代理不共享本会话,prompt 必须自包含(目标 / 绝对路径 / 约束 / 输出格式)。
|
|
42
|
+
|
|
43
|
+
## 调度纪律
|
|
44
|
+
|
|
45
|
+
- 单批 ≤ 3 个并行委派(DSH 设置 → cohub.schedule.maxParallelBatch,缺省 3);
|
|
46
|
+
- 单次执行单元墙钟预算 ≤ 600000ms(10 分钟,cohub.schedule.wallClockBudgetMs),不要用一次执行单元承载可能超过预算的整批;
|
|
47
|
+
- 同文件写操作或有数据依赖的任务必须串行,不同文件且无依赖的必须并行;
|
|
48
|
+
- 需要等待时用 job_list / job_output 轮询,不前台空等。
|
|
49
|
+
|
|
50
|
+
## Cordis 运行时能力(本 preset 特有)
|
|
51
|
+
|
|
52
|
+
你比 co-orchestrator 多挂了 `co-cordis-plugin`,因此你和你的子代理拥有:
|
|
53
|
+
`co_inspect_list` / `co_inspect_query` / `co_inspect_self` / `co_define` / `co_run` / `co_stop` / `co_remove`。
|
|
54
|
+
这些是**只读查询 + 运行时试挂载**能力,用于:
|
|
55
|
+
- 查清某个 Service / Event / 工具的真实签名后再写组合或插件代码;
|
|
56
|
+
- 委派 `co-cordis` 子代理去修插件、改 harness 组合、校验 preset 能否挂载。
|
|
57
|
+
|
|
58
|
+
委派 `co-cordis` 时(它继承你的工具面,因此也拿得到上述 co_* 工具):
|
|
59
|
+
「修插件 / 改 cordis.patch.yml / 创作或修 preset / 排查组合挂载失败 / 需要运行时探针」→ 一律交给它,而不是 co-fixer。
|
|
60
|
+
|
|
61
|
+
中文输出:所有自然语言部分(分析、规划、解释、讨论)必须使用中文;代码、技术术语、文件名、命令可保留原样。
|
|
62
|
+
|
|
63
|
+
- id: agent-instructions
|
|
64
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
65
|
+
config:
|
|
66
|
+
maxBytes: 65536
|
|
67
|
+
|
|
68
|
+
# ── shell / filesystem(子代理继承使用;主代理 persona 禁止自用)──────────────
|
|
69
|
+
#
|
|
70
|
+
# rc.6 限制:subagent 子代理继承父 preset 工具表,per-child toolFilter
|
|
71
|
+
# 只能收窄不能放宽。因此**必须**挂载这些行让 co-fixer / co-cordis 等子代理继承。
|
|
72
|
+
# 主代理看得见但不能用——由 persona「绝不亲自操作」约束(与 co-orchestrator 同策略)。
|
|
73
|
+
- id: tool-bash
|
|
74
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
75
|
+
disabled: !!js process.platform === 'win32'
|
|
76
|
+
|
|
77
|
+
- id: tool-pwsh
|
|
78
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
79
|
+
disabled: !!js process.platform !== 'win32'
|
|
80
|
+
|
|
81
|
+
- id: tool-fs
|
|
82
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
83
|
+
|
|
84
|
+
- id: tool-fs-search
|
|
85
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
86
|
+
config:
|
|
87
|
+
sampleOverCapGlobResults: false
|
|
88
|
+
|
|
89
|
+
# ── background jobs ────────────────────────────────────────────────────────
|
|
90
|
+
|
|
91
|
+
# Only the model-facing controls. The task REGISTRY stays on the host plane:
|
|
92
|
+
# its producers sit outside any realm this file could put it in. The registry is
|
|
93
|
+
# keyed by owning agent anyway, so one host instance serves every session.
|
|
94
|
+
# What a preset chooses is whether its agent can collect and stop background work.
|
|
95
|
+
- id: tool-jobs
|
|
96
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
97
|
+
|
|
98
|
+
# ── goals ───────────────────────────────────────────────────────────────────
|
|
99
|
+
|
|
100
|
+
# The goal service and session driver stay on the host plane, where the Gateway
|
|
101
|
+
# can resolve them. The human command and model-facing tool register into this
|
|
102
|
+
# preset's scoped layers.
|
|
103
|
+
- id: command-goal
|
|
104
|
+
name: '@deepseek-ai/dsh-command-goal'
|
|
105
|
+
|
|
106
|
+
- id: tool-goal
|
|
107
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
108
|
+
|
|
109
|
+
# ── plan mode ───────────────────────────────────────────────────────────────
|
|
110
|
+
|
|
111
|
+
# Plan state is per-agent by nature, so an entry-local realm is not a
|
|
112
|
+
# workaround here — it is the correct lifetime.
|
|
113
|
+
- id: planning
|
|
114
|
+
name: cordis:group
|
|
115
|
+
group: true
|
|
116
|
+
isolate:
|
|
117
|
+
planMode: true
|
|
118
|
+
config:
|
|
119
|
+
- id: plan-mode
|
|
120
|
+
name: '@deepseek-ai/dsh-plan-mode'
|
|
121
|
+
config:
|
|
122
|
+
section: |
|
|
123
|
+
You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
|
|
124
|
+
|
|
125
|
+
Explore first. Use non-mutating reads, searches, static analysis, and checks to ground the plan in the actual repository. Do not edit or write files, change configuration, run formatters or code generation that rewrites tracked files, commit, or otherwise carry out the plan. Prefer existing functions and patterns over new machinery.
|
|
126
|
+
|
|
127
|
+
The tool catalog stays the same across modes for request-cache stability. These plan-mode rules override any later tool description or guidance that suggests using mutation tools; those tools remain listed to keep the tool catalog unchanged. Do not use todo_write to track this planning phase: it tracks implementation after an approved plan, while the plan itself belongs in exit_plan_mode.
|
|
128
|
+
|
|
129
|
+
Resolve discoverable facts by inspection. Use ask_user_question only for user-owned choices or material ambiguity that inspection cannot answer. Do not ask the user where code lives or how current behavior works when you can find out.
|
|
130
|
+
|
|
131
|
+
Make the plan decision-complete: state the goal and success criteria; group implementation changes by subsystem; identify public API, schema, and data-flow changes; cover edge cases, failure modes, tests, acceptance criteria, and explicit assumptions. Keep it concise enough to review but detailed enough that another engineer can implement it without making design decisions.
|
|
132
|
+
|
|
133
|
+
When ready, call exit_plan_mode with the complete plan markdown, starting with a # title. Make exit_plan_mode the only and final tool call in that assistant response: it presents the plan for approval, and implementation begins only in a later step after approval. Do not paste the final plan as a plain reply or ask "should I proceed?" through prose or ask_user_question. If review rejects it, incorporate the feedback and present again. If the review channel is unavailable or aborted, stay in plan mode and ask the user to switch modes manually; do not proceed with implementation.
|
|
134
|
+
|
|
135
|
+
# ── compaction ──────────────────────────────────────────────────────────────
|
|
136
|
+
|
|
137
|
+
# `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
|
|
138
|
+
# share this realm rather than sit outside it.
|
|
139
|
+
#
|
|
140
|
+
# `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
|
|
141
|
+
# plane, and the rows here resolve that one instance. It takes no configuration,
|
|
142
|
+
# keys every fold by Session, and owns the context-meter projection units the
|
|
143
|
+
# browser reads for every session — behind a realm those units would come and go
|
|
144
|
+
# with whichever presets happen to be mounted. What a preset chooses is whether
|
|
145
|
+
# its agent compacts at all, which is `compaction-basic` below.
|
|
146
|
+
- id: compaction
|
|
147
|
+
name: cordis:group
|
|
148
|
+
group: true
|
|
149
|
+
isolate:
|
|
150
|
+
compaction: true
|
|
151
|
+
toolResultPruner: true
|
|
152
|
+
config:
|
|
153
|
+
- id: compaction-basic
|
|
154
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
155
|
+
|
|
156
|
+
- id: command-compact
|
|
157
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
158
|
+
|
|
159
|
+
- id: tool-result-pruner
|
|
160
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
161
|
+
config:
|
|
162
|
+
thresholdChars: 8192
|
|
163
|
+
headChars: 4096
|
|
164
|
+
tailChars: 1024
|
|
165
|
+
|
|
166
|
+
# ── delegation and workflows ────────────────────────────────────────────────
|
|
167
|
+
|
|
168
|
+
# The `subagents` registry and its spawn/fork backends live in the HOST
|
|
169
|
+
# composition: the registry is a process singleton whose cross-session queries
|
|
170
|
+
# the api-proxy serves to the browser, and a provider name may only be
|
|
171
|
+
# registered once. This preset contributes the delegation TOOLS, which resolve
|
|
172
|
+
# that host registry.
|
|
173
|
+
#
|
|
174
|
+
# `workflows` is different — nothing outside an agent reads it — so every row
|
|
175
|
+
# that reaches it shares one entry-local realm here, and a consumer left
|
|
176
|
+
# outside would resolve a host registry this preset does not populate.
|
|
177
|
+
#
|
|
178
|
+
# cohub 的 delegate / delegate_batch 由 dsh-cohub bundle 在 host plane 注册,
|
|
179
|
+
# 与 preset 解耦,因此不需要在这里追加工具行。
|
|
180
|
+
- id: delegation
|
|
181
|
+
name: cordis:group
|
|
182
|
+
group: true
|
|
183
|
+
isolate:
|
|
184
|
+
workflowEngine: true
|
|
185
|
+
config:
|
|
186
|
+
- id: tool-subagent-control
|
|
187
|
+
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
188
|
+
|
|
189
|
+
- id: tool-subagent-list-agents
|
|
190
|
+
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
|
|
191
|
+
|
|
192
|
+
- id: tool-subagent
|
|
193
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
194
|
+
config:
|
|
195
|
+
provider: spawn
|
|
196
|
+
toolName: subagent
|
|
197
|
+
modelSelectionSettings: true
|
|
198
|
+
backgroundMode: continuable
|
|
199
|
+
|
|
200
|
+
# Fork omits model selection so provider/model stay equal to the parent and
|
|
201
|
+
# the inherited history remains eligible for KV Cache reuse. This preset
|
|
202
|
+
# keeps fork continuable; parent and child inherit the same messaging tool,
|
|
203
|
+
# while the parent id and return guidance follow the inherited history.
|
|
204
|
+
- id: tool-subagent-fork
|
|
205
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
206
|
+
config:
|
|
207
|
+
provider: fork
|
|
208
|
+
toolName: subagent_fork
|
|
209
|
+
backgroundMode: continuable
|
|
210
|
+
|
|
211
|
+
# Production dsh does not install these optional providers. Install the
|
|
212
|
+
# matching Bundle in this Profile and restart the Host, then copy this
|
|
213
|
+
# preset and remove `disabled` from the matching tool row. Host availability
|
|
214
|
+
# alone grants no tool.
|
|
215
|
+
- id: tool-subagent-codex
|
|
216
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
217
|
+
disabled: true
|
|
218
|
+
config:
|
|
219
|
+
provider: codex
|
|
220
|
+
toolName: subagent_codex
|
|
221
|
+
backgroundMode: one-shot
|
|
222
|
+
maxDepth: provider-managed
|
|
223
|
+
|
|
224
|
+
- id: tool-subagent-claude-code
|
|
225
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
226
|
+
disabled: true
|
|
227
|
+
config:
|
|
228
|
+
provider: claude-code
|
|
229
|
+
toolName: subagent_claude_code
|
|
230
|
+
backgroundMode: one-shot
|
|
231
|
+
maxDepth: provider-managed
|
|
232
|
+
|
|
233
|
+
- id: workflow-worker-thread
|
|
234
|
+
name: '@deepseek-ai/dsh-workflow-worker-thread'
|
|
235
|
+
config:
|
|
236
|
+
provider: spawn
|
|
237
|
+
|
|
238
|
+
- id: tool-workflow
|
|
239
|
+
name: '@deepseek-ai/dsh-tool-workflow'
|
|
240
|
+
|
|
241
|
+
- id: tool-ralph
|
|
242
|
+
name: '@deepseek-ai/dsh-tool-ralph'
|
|
243
|
+
config:
|
|
244
|
+
subagentProvider: spawn
|
|
245
|
+
maxRounds: 64
|
|
246
|
+
|
|
247
|
+
# ── remaining model-facing rows ─────────────────────────────────────────────
|
|
248
|
+
|
|
249
|
+
- id: tool-ask-user
|
|
250
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
251
|
+
|
|
252
|
+
- id: tool-todo
|
|
253
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
254
|
+
config:
|
|
255
|
+
allowParallelInProgress: true
|
|
256
|
+
|
|
257
|
+
# The `web` service and its search provider stay in the host composition; only
|
|
258
|
+
# the model-facing tool is per-session.
|
|
259
|
+
- id: tool-web
|
|
260
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
261
|
+
config:
|
|
262
|
+
fetch: true
|
|
263
|
+
searchTimeoutMs: 60000
|
|
264
|
+
|
|
265
|
+
# ── co-cordis 运行时工具(co_inspect_list / co_define / co_run 等) ────────
|
|
266
|
+
# 提供 7 个 co_* 工具,等价于官方 tool-cordis 的 cordis_*,但**不调用 register()**,
|
|
267
|
+
# 全进程零冲突,可与官方创造模式共存。
|
|
268
|
+
- id: co-cordis-plugin
|
|
269
|
+
name: 'dsh-cohub/co-cordis-plugin'
|
|
270
|
+
|
|
271
|
+
# The composition-authoring skill travels with this preset rather than living
|
|
272
|
+
# in the user's skill root: it documents THIS deployment's two planes, and a
|
|
273
|
+
# preset is the unit that gets copied and edited. `baseUrl` is the preset's
|
|
274
|
+
# own directory, so the root resolves wherever the preset is installed.
|
|
275
|
+
# Both rows register into THIS preset's layer of the host skill registry, so
|
|
276
|
+
# they need no realm; the agent's merged catalog also carries whatever the
|
|
277
|
+
# deployment registered globally (repository plugins).
|
|
278
|
+
- id: skill-filesystem
|
|
279
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
280
|
+
config:
|
|
281
|
+
customSkillDirs:
|
|
282
|
+
- !!js "process.getBuiltinModule('node:url').fileURLToPath(new URL('skills/', baseUrl))"
|
|
283
|
+
|
|
284
|
+
- id: tool-skill
|
|
285
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
286
|
+
|
|
287
|
+
- id: present
|
|
288
|
+
name: '@deepseek-ai/dsh-tool-present'
|