@tbox.cn/tboxcode-dsh-presets 0.0.0-stage → 0.1.0-rc.1
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/cordis.patch.yml +11 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +1 -0
- package/package.json +30 -3
- package/presets.patch.yml +294 -0
- package/README.md +0 -3
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# tboxcode-presets 禁用 / 覆盖文件(server/web 链;数组序 = 应用序,本文件必须在 presets.patch.yml
|
|
2
|
+
# 树文件之前——同 id 覆盖消解层内行序地雷;官方先例两文件形态:dsh packages/bundle/web-app/cordis.patch.yml
|
|
3
|
+
# 同 id 禁用 + presets/standard.patch.yml 树内重建)。
|
|
4
|
+
#
|
|
5
|
+
# registry default 覆盖行(web-native-launch:default 覆盖进 presets 包层,bundle 层用户优先——
|
|
6
|
+
# 压死用户 make-default 的 overlay 方案已否决):同 id 覆盖 web-app 的 agent-preset-registry 行,
|
|
7
|
+
# blank 会话 default 组合走 tboxcode-general。
|
|
8
|
+
- id: agent-preset-registry
|
|
9
|
+
name: '@deepseek-ai/dsh-agent-preset-registry'
|
|
10
|
+
config:
|
|
11
|
+
default: general
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/index.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* tboxcode-dsh-presets:server/web 链 preset 组合包(骨架)。
|
|
4
|
+
* 仅挂 tboxcode-server / tboxcode-web 两链;acp / headless 链不含(presets 声明插件
|
|
5
|
+
* 硬 inject registry,acp 形态无 registry——web-native-launch Alternatives 定案)。
|
|
6
|
+
*/
|
|
7
|
+
declare const PACKAGE_NAME = "@tbox.cn/tboxcode-dsh-presets";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { PACKAGE_NAME };
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=`@tbox.cn/tboxcode-dsh-presets`;export{e as PACKAGE_NAME};
|
package/package.json
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/tboxcode-dsh-presets",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
3
|
+
"version": "0.1.0-rc.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "server/web 链组合包:同 id 禁用 bundle 的 agent host 行 + build / plan / general / explore 四 preset 树 + registry default 覆盖行——双 patch 文件(禁用在前)",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
14
|
+
"./presets.patch.yml": "./presets.patch.yml"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"lib",
|
|
18
|
+
"cordis.patch.yml",
|
|
19
|
+
"presets.patch.yml"
|
|
20
|
+
],
|
|
21
|
+
"dsh": {
|
|
22
|
+
"bundle": {
|
|
23
|
+
"patch": [
|
|
24
|
+
"./cordis.patch.yml",
|
|
25
|
+
"./presets.patch.yml"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsdown",
|
|
31
|
+
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
32
|
+
}
|
|
6
33
|
}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# tboxcode-presets 树文件(build / plan / general / explore 四 preset;树自持参照官方 standard 模板
|
|
2
|
+
# ——dsh packages/bundle/web-app/presets/standard.patch.yml;本文件必须在 cordis.patch.yml 之后)。
|
|
3
|
+
#
|
|
4
|
+
# 树内容全量(llm-stack C5 落位;对照官方 standard 的增删):
|
|
5
|
+
# - persona 行删除(identity 单点化——bundle system-prompt 覆盖行承载品牌串,
|
|
6
|
+
# reminders-plugin-dissolution:泄漏现状连根消除)
|
|
7
|
+
# - tool-todo 重建行(web 基座 host 层禁用 :552-553,树内重建 = 官方 standard 同构;
|
|
8
|
+
# config 对齐官方 allowParallelInProgress: true)
|
|
9
|
+
# - 委派组(build / plan / general 原生单实例 tool-subagent——官方 standard 同构:
|
|
10
|
+
# control + list-agents 控制面 + 单 subagent 工具;继承范式 = 子组合 ≡ 父
|
|
11
|
+
# 〔构造性安全,approval 恒 never,显式沙箱经 source:delegation 捕获〕;
|
|
12
|
+
# maxDepth: 1 深度封锁显式钉住〔Host 缺省同值但 Volatile——行 config 是唯一
|
|
13
|
+
# 确定性表达〕;explore 零委派——聚焦模式,继承范式下子自动只读非安全栅栏;
|
|
14
|
+
# subagent-native-adoption 取代 subagent-composition-mapping〔0.2.1 删三键,
|
|
15
|
+
# 类型面弃用〕;fork / codex / claude-code / workflow / ralph / schedule 不重建——
|
|
16
|
+
# tboxcode 基线无此能力面,bundle 禁用保持)
|
|
17
|
+
# - 剔除 plan-mode 插件与 planning 组(guidance 单源 = 权限说明 section——plan-mode-mount-exclusion)
|
|
18
|
+
# - 剔除 tool-web(tboxcode 层唯一 web 工具 = 本仓 webfetch 移植版——web-tools-layered-disable)
|
|
19
|
+
# - tool-ask-user 挂载行 config mode: legacy 定死(question-native-no-port 挂载点唯一化:
|
|
20
|
+
# 四 preset 树行 = server/web 链挂载点;timed 为 web 专用增强不启用)
|
|
21
|
+
# - 三维一致性断言(四树工具集 + section 集相等〔explore 子集〕· host 行集 ≡ 禁用集 ≡ 树集)
|
|
22
|
+
# 随本片测试交付
|
|
23
|
+
# 用户领地注记:web 编辑器保存会按 id 覆盖本树 config.plugins(官方 standard 同语义)。
|
|
24
|
+
- insert:
|
|
25
|
+
- id: tboxcode-preset-build
|
|
26
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
27
|
+
config:
|
|
28
|
+
id: build
|
|
29
|
+
order: 1
|
|
30
|
+
plugins:
|
|
31
|
+
- id: agent-instructions
|
|
32
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
33
|
+
config:
|
|
34
|
+
maxBytes: 65536
|
|
35
|
+
- id: tool-bash
|
|
36
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
37
|
+
disabled: !!js process.platform === 'win32'
|
|
38
|
+
- id: tool-pwsh
|
|
39
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
40
|
+
disabled: !!js process.platform !== 'win32'
|
|
41
|
+
- id: tool-fs
|
|
42
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
43
|
+
- id: tool-fs-search
|
|
44
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
45
|
+
config:
|
|
46
|
+
sampleOverCapGlobResults: false
|
|
47
|
+
- id: tool-jobs
|
|
48
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
49
|
+
- id: skill-filesystem
|
|
50
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
51
|
+
- id: tool-skill
|
|
52
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
53
|
+
- id: command-goal
|
|
54
|
+
name: '@deepseek-ai/dsh-command-goal'
|
|
55
|
+
- id: tool-goal
|
|
56
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
57
|
+
- id: compaction
|
|
58
|
+
name: cordis:group
|
|
59
|
+
group: true
|
|
60
|
+
isolate:
|
|
61
|
+
compaction: true
|
|
62
|
+
toolResultPruner: true
|
|
63
|
+
config:
|
|
64
|
+
- id: compaction-basic
|
|
65
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
66
|
+
- id: command-compact
|
|
67
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
68
|
+
- id: tool-result-pruner
|
|
69
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
70
|
+
config:
|
|
71
|
+
thresholdChars: 8192
|
|
72
|
+
headChars: 4096
|
|
73
|
+
tailChars: 1024
|
|
74
|
+
- id: delegation
|
|
75
|
+
name: cordis:group
|
|
76
|
+
group: true
|
|
77
|
+
isolate:
|
|
78
|
+
workflowEngine: true
|
|
79
|
+
config:
|
|
80
|
+
- id: tool-subagent-control
|
|
81
|
+
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
82
|
+
- id: tool-subagent-list-agents
|
|
83
|
+
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
|
|
84
|
+
- id: tool-subagent
|
|
85
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
86
|
+
config:
|
|
87
|
+
provider: spawn
|
|
88
|
+
toolName: subagent
|
|
89
|
+
modelSelectionSettings: true
|
|
90
|
+
maxDepth: 1
|
|
91
|
+
- id: tool-ask-user
|
|
92
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
93
|
+
config:
|
|
94
|
+
mode: legacy
|
|
95
|
+
- id: tool-todo
|
|
96
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
97
|
+
config:
|
|
98
|
+
allowParallelInProgress: true
|
|
99
|
+
- insert:
|
|
100
|
+
- id: tboxcode-preset-plan
|
|
101
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
102
|
+
config:
|
|
103
|
+
id: plan
|
|
104
|
+
order: 2
|
|
105
|
+
plugins:
|
|
106
|
+
- id: agent-instructions
|
|
107
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
108
|
+
config:
|
|
109
|
+
maxBytes: 65536
|
|
110
|
+
- id: tool-bash
|
|
111
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
112
|
+
disabled: !!js process.platform === 'win32'
|
|
113
|
+
- id: tool-pwsh
|
|
114
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
115
|
+
disabled: !!js process.platform !== 'win32'
|
|
116
|
+
- id: tool-fs
|
|
117
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
118
|
+
- id: tool-fs-search
|
|
119
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
120
|
+
config:
|
|
121
|
+
sampleOverCapGlobResults: false
|
|
122
|
+
- id: tool-jobs
|
|
123
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
124
|
+
- id: skill-filesystem
|
|
125
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
126
|
+
- id: tool-skill
|
|
127
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
128
|
+
- id: command-goal
|
|
129
|
+
name: '@deepseek-ai/dsh-command-goal'
|
|
130
|
+
- id: tool-goal
|
|
131
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
132
|
+
- id: compaction
|
|
133
|
+
name: cordis:group
|
|
134
|
+
group: true
|
|
135
|
+
isolate:
|
|
136
|
+
compaction: true
|
|
137
|
+
toolResultPruner: true
|
|
138
|
+
config:
|
|
139
|
+
- id: compaction-basic
|
|
140
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
141
|
+
- id: command-compact
|
|
142
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
143
|
+
- id: tool-result-pruner
|
|
144
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
145
|
+
config:
|
|
146
|
+
thresholdChars: 8192
|
|
147
|
+
headChars: 4096
|
|
148
|
+
tailChars: 1024
|
|
149
|
+
- id: delegation
|
|
150
|
+
name: cordis:group
|
|
151
|
+
group: true
|
|
152
|
+
isolate:
|
|
153
|
+
workflowEngine: true
|
|
154
|
+
config:
|
|
155
|
+
- id: tool-subagent-control
|
|
156
|
+
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
157
|
+
- id: tool-subagent-list-agents
|
|
158
|
+
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
|
|
159
|
+
- id: tool-subagent
|
|
160
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
161
|
+
config:
|
|
162
|
+
provider: spawn
|
|
163
|
+
toolName: subagent
|
|
164
|
+
modelSelectionSettings: true
|
|
165
|
+
maxDepth: 1
|
|
166
|
+
- id: tool-ask-user
|
|
167
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
168
|
+
config:
|
|
169
|
+
mode: legacy
|
|
170
|
+
- id: tool-todo
|
|
171
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
172
|
+
config:
|
|
173
|
+
allowParallelInProgress: true
|
|
174
|
+
- insert:
|
|
175
|
+
- id: tboxcode-preset-general
|
|
176
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
177
|
+
config:
|
|
178
|
+
id: general
|
|
179
|
+
order: 3
|
|
180
|
+
plugins:
|
|
181
|
+
- id: agent-instructions
|
|
182
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
183
|
+
config:
|
|
184
|
+
maxBytes: 65536
|
|
185
|
+
- id: tool-bash
|
|
186
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
187
|
+
disabled: !!js process.platform === 'win32'
|
|
188
|
+
- id: tool-pwsh
|
|
189
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
190
|
+
disabled: !!js process.platform !== 'win32'
|
|
191
|
+
- id: tool-fs
|
|
192
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
193
|
+
- id: tool-fs-search
|
|
194
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
195
|
+
config:
|
|
196
|
+
sampleOverCapGlobResults: false
|
|
197
|
+
- id: tool-jobs
|
|
198
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
199
|
+
- id: skill-filesystem
|
|
200
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
201
|
+
- id: tool-skill
|
|
202
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
203
|
+
- id: command-goal
|
|
204
|
+
name: '@deepseek-ai/dsh-command-goal'
|
|
205
|
+
- id: tool-goal
|
|
206
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
207
|
+
- id: compaction
|
|
208
|
+
name: cordis:group
|
|
209
|
+
group: true
|
|
210
|
+
isolate:
|
|
211
|
+
compaction: true
|
|
212
|
+
toolResultPruner: true
|
|
213
|
+
config:
|
|
214
|
+
- id: compaction-basic
|
|
215
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
216
|
+
- id: command-compact
|
|
217
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
218
|
+
- id: tool-result-pruner
|
|
219
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
220
|
+
config:
|
|
221
|
+
thresholdChars: 8192
|
|
222
|
+
headChars: 4096
|
|
223
|
+
tailChars: 1024
|
|
224
|
+
- id: delegation
|
|
225
|
+
name: cordis:group
|
|
226
|
+
group: true
|
|
227
|
+
isolate:
|
|
228
|
+
workflowEngine: true
|
|
229
|
+
config:
|
|
230
|
+
- id: tool-subagent-control
|
|
231
|
+
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
232
|
+
- id: tool-subagent-list-agents
|
|
233
|
+
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
|
|
234
|
+
- id: tool-subagent
|
|
235
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
236
|
+
config:
|
|
237
|
+
provider: spawn
|
|
238
|
+
toolName: subagent
|
|
239
|
+
modelSelectionSettings: true
|
|
240
|
+
maxDepth: 1
|
|
241
|
+
- id: tool-ask-user
|
|
242
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
243
|
+
config:
|
|
244
|
+
mode: legacy
|
|
245
|
+
- id: tool-todo
|
|
246
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
247
|
+
config:
|
|
248
|
+
allowParallelInProgress: true
|
|
249
|
+
- insert:
|
|
250
|
+
- id: tboxcode-preset-explore
|
|
251
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
252
|
+
config:
|
|
253
|
+
id: explore
|
|
254
|
+
order: 4
|
|
255
|
+
plugins:
|
|
256
|
+
- id: agent-instructions
|
|
257
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
258
|
+
config:
|
|
259
|
+
maxBytes: 65536
|
|
260
|
+
- id: tool-fs
|
|
261
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
262
|
+
- id: tool-fs-search
|
|
263
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
264
|
+
config:
|
|
265
|
+
sampleOverCapGlobResults: false
|
|
266
|
+
- id: skill-filesystem
|
|
267
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
268
|
+
- id: tool-skill
|
|
269
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
270
|
+
- id: command-goal
|
|
271
|
+
name: '@deepseek-ai/dsh-command-goal'
|
|
272
|
+
- id: tool-goal
|
|
273
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
274
|
+
- id: compaction
|
|
275
|
+
name: cordis:group
|
|
276
|
+
group: true
|
|
277
|
+
isolate:
|
|
278
|
+
compaction: true
|
|
279
|
+
toolResultPruner: true
|
|
280
|
+
config:
|
|
281
|
+
- id: compaction-basic
|
|
282
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
283
|
+
- id: command-compact
|
|
284
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
285
|
+
- id: tool-result-pruner
|
|
286
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
287
|
+
config:
|
|
288
|
+
thresholdChars: 8192
|
|
289
|
+
headChars: 4096
|
|
290
|
+
tailChars: 1024
|
|
291
|
+
- id: tool-ask-user
|
|
292
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
293
|
+
config:
|
|
294
|
+
mode: legacy
|
package/README.md
DELETED