@deepseek-ai/dsh-base 0.1.2-alpha.5 → 0.1.3-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 +11 -1
- package/README.zh.md +11 -1
- package/cordis.patch.yml +4 -15
- package/package.json +83 -84
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/bundle/base/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 7b78e910b0cb54f0c64efb7816b428fe9f0d131c
|
|
6
|
+
README.zh.md: b25bb58ac031792b0f6ee0b81dfff2713668c5c4
|
package/README.md
CHANGED
|
@@ -47,7 +47,17 @@ Run `dsh --profile my-profile "your task"` and you get a working agent with mode
|
|
|
47
47
|
|
|
48
48
|
### What you get
|
|
49
49
|
|
|
50
|
-
Out of the box, every profile built on this core provides: a DeepSeek model connection (the provider and model are configurable, and you can enable extra providers from your settings), the full tool set — file editing, shell commands, web search, public HTTP(S) fetch, subagents, task and goal tracking — durable sessions that survive restarts, and the default permission policy that confines file writes to your workspace and asks before risky actions. Web fetch runs without per-call approval; its provider rejects non-public destinations.
|
|
50
|
+
Out of the box, every profile built on this core provides: a DeepSeek model connection (the provider and model are configurable, and you can enable extra providers from your settings), the full tool set — file editing, shell commands, web search, public HTTP(S) fetch, subagents, task and goal tracking — durable sessions that survive restarts, and the default permission policy that confines file writes to your workspace and asks before risky actions. Web fetch runs without per-call approval; its provider rejects non-public destinations. Feedback stays in the Session log. [OTel session upload](../../session/session-telemetry-otel/README.md) defaults to `FEEDBACK_ONLY` for all users, including `deepseek-official`: new text feedback, message ratings, edits, and withdrawals release the complete canonical prefix through that event, including context. Later records wait for the next explicit feedback; sending an authorized batch needs no further interaction or model call. `DISABLED` prevents OTel capture. The opt-in [DeepSeek session-log contributor](../../session/session-log-deepseek/README.md) remains a separate request path.
|
|
51
|
+
|
|
52
|
+
Default file editing uses `read`, `write`, and `edit`. The optional `str_replace_editor` tool is selected independently by Web minimal and `sdk-minimal`. To add it to a base-backed profile, put this entry in the profile, home, or invocation patch:
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
- insert:
|
|
56
|
+
- id: tool-str-replace-editor
|
|
57
|
+
name: '@deepseek-ai/dsh-tool-str-replace-editor'
|
|
58
|
+
config:
|
|
59
|
+
maxOutputChars: 16000
|
|
60
|
+
```
|
|
51
61
|
|
|
52
62
|
### Shell tools per platform
|
|
53
63
|
|
package/README.zh.md
CHANGED
|
@@ -47,7 +47,17 @@ kind: "package-bundle"
|
|
|
47
47
|
|
|
48
48
|
### 你得到什么
|
|
49
49
|
|
|
50
|
-
开箱即用,基于本核心构建的每个 profile 都提供:DeepSeek 模型连接(provider 与模型可配置,你还可以在设置中启用额外 provider)、完整工具集——文件编辑、shell 命令、web 搜索、公开 HTTP(S) 抓取、subagent、任务与目标跟踪——可跨重启存活的持久会话,以及默认权限策略:把文件写入限制在工作区内,危险操作前征询许可。Web
|
|
50
|
+
开箱即用,基于本核心构建的每个 profile 都提供:DeepSeek 模型连接(provider 与模型可配置,你还可以在设置中启用额外 provider)、完整工具集——文件编辑、shell 命令、web 搜索、公开 HTTP(S) 抓取、subagent、任务与目标跟踪——可跨重启存活的持久会话,以及默认权限策略:把文件写入限制在工作区内,危险操作前征询许可。Web 抓取无需逐次审批,其提供方会拒绝非公开目的地址。反馈保存在会话日志中。[OTel 会话上传](../../session/session-telemetry-otel/README.zh.md)对所有用户默认使用 `FEEDBACK_ONLY`,包括 `deepseek-official`:新的文本反馈、消息评分、编辑与撤回会释放截至该事件的完整权威日志前缀,包含上下文。后续记录等待下一次显式反馈;发送已授权批次无需进一步交互或模型调用。`DISABLED` 阻止 OTel 捕获。需主动开启的 [DeepSeek 会话日志贡献器](../../session/session-log-deepseek/README.zh.md)仍是独立的请求路径。
|
|
51
|
+
|
|
52
|
+
默认文件编辑使用 `read`、`write` 和 `edit`。Web minimal 与 `sdk-minimal` 各自选择可选的 `str_replace_editor` 工具。要将它加入基于 base 的 profile,请在 profile、home 或逐次调用 patch 中添加以下条目:
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
- insert:
|
|
56
|
+
- id: tool-str-replace-editor
|
|
57
|
+
name: '@deepseek-ai/dsh-tool-str-replace-editor'
|
|
58
|
+
config:
|
|
59
|
+
maxOutputChars: 16000
|
|
60
|
+
```
|
|
51
61
|
|
|
52
62
|
### 各平台的 shell 工具
|
|
53
63
|
|
package/cordis.patch.yml
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
|
|
141
141
|
# Durable KV storage: the storage hub, the json backend, and the
|
|
142
142
|
# schema-validated domain form over them. Session-layer persistence (the
|
|
143
|
-
# projection cache below; workspace
|
|
143
|
+
# projection cache below; workspace in web layers)
|
|
144
144
|
# routes through this stack, so it belongs to the shared base.
|
|
145
145
|
- id: storage
|
|
146
146
|
name: '@deepseek-ai/dsh-storage'
|
|
@@ -165,14 +165,8 @@
|
|
|
165
165
|
writeEveryEvents: 200
|
|
166
166
|
writeIntervalMs: 5000
|
|
167
167
|
|
|
168
|
-
# Session
|
|
169
|
-
#
|
|
170
|
-
# records since the last handoff through that event (a resumed session
|
|
171
|
-
# shares only its current lifecycle). DSH_TELEMETRY_MODE overrides to
|
|
172
|
-
# FULL or DISABLED; uploading mirrors session-log records onto OTLP/HTTP
|
|
173
|
-
# logs with no session-telemetry/record redaction rule, so exports are
|
|
174
|
-
# the raw captured copy. The deployment stance, env seams, and follow-ups
|
|
175
|
-
# are pinned in the feedback-gated-default Agent Note.
|
|
168
|
+
# OTel releases a Session-log prefix only after explicit user feedback,
|
|
169
|
+
# regardless of model provider. Ordinary activity never triggers capture.
|
|
176
170
|
# DSH_TELEMETRY_OTLP_URL overrides the production endpoint. A non-empty
|
|
177
171
|
# DSH_TELEMETRY_DISABLED — any value, including '0'/'false' — opts the
|
|
178
172
|
# process out (the launchers patch the row disabled; config cannot disable
|
|
@@ -421,11 +415,6 @@
|
|
|
421
415
|
subagentProvider: spawn
|
|
422
416
|
maxRounds: 64
|
|
423
417
|
|
|
424
|
-
- id: tool-str-replace-editor
|
|
425
|
-
name: '@deepseek-ai/dsh-tool-str-replace-editor'
|
|
426
|
-
config:
|
|
427
|
-
maxOutputChars: 16000
|
|
428
|
-
|
|
429
418
|
# Consecutive-repeat reminders on the tool chain.
|
|
430
419
|
- id: repeat-tool-reminder
|
|
431
420
|
name: '@deepseek-ai/dsh-repeat-tool-reminder'
|
|
@@ -476,7 +465,7 @@
|
|
|
476
465
|
- id: system-prompt
|
|
477
466
|
name: '@deepseek-ai/dsh-system-prompt'
|
|
478
467
|
config:
|
|
479
|
-
|
|
468
|
+
personaPrefix: ''
|
|
480
469
|
|
|
481
470
|
# Agents created at startup. The base stays empty; raw overlays may create
|
|
482
471
|
# agents, while Web creates sessions on client request.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-base",
|
|
3
3
|
"description": "The shared dsh core as a profile bundle: the first patch layer of base-backed profiles, inserting core rows over the empty profile root",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -34,90 +34,89 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@deepseek-ai/cordis-plugin-hmr": "^1.0.17",
|
|
38
37
|
"@deepseek-ai/cordis-plugin-timer": "^1.1.4",
|
|
39
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
40
|
-
"@deepseek-ai/
|
|
41
|
-
"@deepseek-ai/dsh-agent-
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/dsh-command-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-compaction-basic": "^0.1.
|
|
50
|
-
"@deepseek-ai/dsh-credentials-local": "^0.1.
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-plugin-package-inventory-deepseek": "^0.1.
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-fs-
|
|
55
|
-
"@deepseek-ai/dsh-fs-
|
|
56
|
-
"@deepseek-ai/dsh-goal
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
60
|
-
"@deepseek-ai/dsh-llm-deepseek": "^0.1.
|
|
61
|
-
"@deepseek-ai/dsh-llm-retry": "^0.1.
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"@deepseek-ai/dsh-
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/dsh-session-
|
|
70
|
-
"@deepseek-ai/dsh-session-
|
|
71
|
-
"@deepseek-ai/dsh-session-
|
|
72
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
73
|
-
"@deepseek-ai/dsh-session-
|
|
74
|
-
"@deepseek-ai/dsh-
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-session-telemetry-otel": "^0.1.
|
|
77
|
-
"@deepseek-ai/dsh-session-title
|
|
78
|
-
"@deepseek-ai/dsh-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
"@deepseek-ai/dsh-
|
|
81
|
-
"@deepseek-ai/dsh-skill-badge": "^0.1.
|
|
82
|
-
"@deepseek-ai/dsh-
|
|
83
|
-
"@deepseek-ai/dsh-
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
85
|
-
"@deepseek-ai/dsh-
|
|
86
|
-
"@deepseek-ai/dsh-storage
|
|
87
|
-
"@deepseek-ai/dsh-storage-
|
|
88
|
-
"@deepseek-ai/dsh-
|
|
89
|
-
"@deepseek-ai/dsh-
|
|
90
|
-
"@deepseek-ai/dsh-subagent": "^0.1.
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/dsh-
|
|
93
|
-
"@deepseek-ai/dsh-
|
|
94
|
-
"@deepseek-ai/dsh-
|
|
95
|
-
"@deepseek-ai/dsh-
|
|
96
|
-
"@deepseek-ai/dsh-tool-
|
|
97
|
-
"@deepseek-ai/dsh-
|
|
98
|
-
"@deepseek-ai/dsh-tool-bash": "^0.1.
|
|
99
|
-
"@deepseek-ai/dsh-tool-
|
|
100
|
-
"@deepseek-ai/dsh-
|
|
101
|
-
"@deepseek-ai/dsh-tool-
|
|
102
|
-
"@deepseek-ai/dsh-tool-
|
|
103
|
-
"@deepseek-ai/dsh-tool-
|
|
104
|
-
"@deepseek-ai/dsh-tool-subagent": "^0.1.
|
|
105
|
-
"@deepseek-ai/dsh-tool-
|
|
106
|
-
"@deepseek-ai/dsh-tool-
|
|
107
|
-
"@deepseek-ai/dsh-tool-
|
|
108
|
-
"@deepseek-ai/dsh-
|
|
109
|
-
"@deepseek-ai/dsh-
|
|
110
|
-
"@deepseek-ai/dsh-
|
|
111
|
-
"@deepseek-ai/dsh-typert-registry": "^0.1.
|
|
112
|
-
"@deepseek-ai/dsh-
|
|
113
|
-
"@deepseek-ai/dsh-user-
|
|
114
|
-
"@deepseek-ai/dsh-
|
|
115
|
-
"@deepseek-ai/dsh-web-
|
|
116
|
-
"@deepseek-ai/dsh-
|
|
117
|
-
"@deepseek-ai/dsh-
|
|
118
|
-
"@deepseek-ai/dsh-tool-
|
|
119
|
-
"@deepseek-ai/dsh-
|
|
120
|
-
"@deepseek-ai/dsh-
|
|
38
|
+
"@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
|
|
39
|
+
"@deepseek-ai/cordis-plugin-hmr": "^1.0.17",
|
|
40
|
+
"@deepseek-ai/dsh-agent-default-model": "^0.1.3-alpha.2",
|
|
41
|
+
"@deepseek-ai/dsh-agent-loop": "^0.1.3-alpha.2",
|
|
42
|
+
"@deepseek-ai/dsh-attachment-local": "^0.1.3-alpha.2",
|
|
43
|
+
"@deepseek-ai/dsh-bash-sandbox": "^0.1.3-alpha.2",
|
|
44
|
+
"@deepseek-ai/dsh-shell-env": "^0.1.3-alpha.2",
|
|
45
|
+
"@deepseek-ai/dsh-command-feedback": "^0.1.3-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-command-goal": "^0.1.3-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-commands": "^0.1.3-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-compaction-basic": "^0.1.3-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-credentials-local": "^0.1.3-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-command-compact": "^0.1.3-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-plugin-package-inventory-deepseek": "^0.1.3-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "^0.1.3-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-fs-local": "^0.1.3-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-fs-observation-policy": "^0.1.3-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-goal": "^0.1.3-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-compaction-tool-result-pruner": "^0.1.3-alpha.2",
|
|
57
|
+
"@deepseek-ai/dsh-fs-sandbox": "^0.1.3-alpha.2",
|
|
58
|
+
"@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-llm-deepseek": "^0.1.3-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-llm-retry": "^0.1.3-alpha.2",
|
|
61
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.1.3-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-pwsh-sandbox": "^0.1.3-alpha.2",
|
|
63
|
+
"@deepseek-ai/dsh-repeat-tool-reminder": "^0.1.3-alpha.2",
|
|
64
|
+
"@deepseek-ai/dsh-sandbox-local": "^0.1.3-alpha.2",
|
|
65
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
|
|
66
|
+
"@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
|
|
67
|
+
"@deepseek-ai/dsh-session-checkpoint-policy": "^0.1.3-alpha.2",
|
|
68
|
+
"@deepseek-ai/dsh-session-log-deepseek": "^0.1.3-alpha.2",
|
|
69
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.3-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-session-projection-cache": "^0.1.3-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-session-query-sqlite": "^0.1.3-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-api-gateway": "^0.1.3-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-goal-round-driver": "^0.1.3-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-session-telemetry-otel": "^0.1.3-alpha.2",
|
|
76
|
+
"@deepseek-ai/dsh-session-title": "^0.1.3-alpha.2",
|
|
77
|
+
"@deepseek-ai/dsh-session-title-first-prompt-llm": "^0.1.3-alpha.2",
|
|
78
|
+
"@deepseek-ai/dsh-settings-file": "^0.1.3-alpha.2",
|
|
79
|
+
"@deepseek-ai/dsh-skill": "^0.1.3-alpha.2",
|
|
80
|
+
"@deepseek-ai/dsh-skill-badge": "^0.1.3-alpha.2",
|
|
81
|
+
"@deepseek-ai/dsh-plan-mode": "^0.1.3-alpha.2",
|
|
82
|
+
"@deepseek-ai/dsh-permission-presets": "^0.1.3-alpha.2",
|
|
83
|
+
"@deepseek-ai/dsh-skill-filesystem": "^0.1.3-alpha.2",
|
|
84
|
+
"@deepseek-ai/dsh-spill-policy": "^0.1.3-alpha.2",
|
|
85
|
+
"@deepseek-ai/dsh-storage": "^0.1.3-alpha.2",
|
|
86
|
+
"@deepseek-ai/dsh-storage-domain": "^0.1.3-alpha.2",
|
|
87
|
+
"@deepseek-ai/dsh-spill-local": "^0.1.3-alpha.2",
|
|
88
|
+
"@deepseek-ai/dsh-storage-json": "^0.1.3-alpha.2",
|
|
89
|
+
"@deepseek-ai/dsh-subagent": "^0.1.3-alpha.2",
|
|
90
|
+
"@deepseek-ai/dsh-subagent-fork-in-process": "^0.1.3-alpha.2",
|
|
91
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "^0.1.3-alpha.2",
|
|
92
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
|
|
93
|
+
"@deepseek-ai/dsh-jobs-local": "^0.1.3-alpha.2",
|
|
94
|
+
"@deepseek-ai/dsh-subprocess-local": "^0.1.3-alpha.2",
|
|
95
|
+
"@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.3-alpha.2",
|
|
96
|
+
"@deepseek-ai/dsh-token-meter": "^0.1.3-alpha.2",
|
|
97
|
+
"@deepseek-ai/dsh-tool-bash": "^0.1.3-alpha.2",
|
|
98
|
+
"@deepseek-ai/dsh-tool-fs": "^0.1.3-alpha.2",
|
|
99
|
+
"@deepseek-ai/dsh-tool-fs-search": "^0.1.3-alpha.2",
|
|
100
|
+
"@deepseek-ai/dsh-tool-goal": "^0.1.3-alpha.2",
|
|
101
|
+
"@deepseek-ai/dsh-tool-ralph": "^0.1.3-alpha.2",
|
|
102
|
+
"@deepseek-ai/dsh-tool-skill": "^0.1.3-alpha.2",
|
|
103
|
+
"@deepseek-ai/dsh-tool-subagent": "^0.1.3-alpha.2",
|
|
104
|
+
"@deepseek-ai/dsh-tool-pwsh": "^0.1.3-alpha.2",
|
|
105
|
+
"@deepseek-ai/dsh-tool-todo": "^0.1.3-alpha.2",
|
|
106
|
+
"@deepseek-ai/dsh-tool-web": "^0.1.3-alpha.2",
|
|
107
|
+
"@deepseek-ai/dsh-tool-workflow": "^0.1.3-alpha.2",
|
|
108
|
+
"@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
|
|
109
|
+
"@deepseek-ai/dsh-typert-loader": "^0.1.3-alpha.2",
|
|
110
|
+
"@deepseek-ai/dsh-typert-registry": "^0.1.3-alpha.2",
|
|
111
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2",
|
|
112
|
+
"@deepseek-ai/dsh-user-questions": "^0.1.3-alpha.2",
|
|
113
|
+
"@deepseek-ai/dsh-web": "^0.1.3-alpha.2",
|
|
114
|
+
"@deepseek-ai/dsh-web-fetch-http": "^0.1.3-alpha.2",
|
|
115
|
+
"@deepseek-ai/dsh-web-search-deepseek": "^0.1.3-alpha.2",
|
|
116
|
+
"@deepseek-ai/dsh-agent-instructions": "^0.1.3-alpha.2",
|
|
117
|
+
"@deepseek-ai/dsh-tool-jobs": "^0.1.3-alpha.2",
|
|
118
|
+
"@deepseek-ai/dsh-workflow-worker-thread": "^0.1.3-alpha.2",
|
|
119
|
+
"@deepseek-ai/dsh-tool-subagent-control": "^0.1.3-alpha.2"
|
|
121
120
|
},
|
|
122
121
|
"peerDependencies": {
|
|
123
122
|
"@deepseek-ai/cordis": "^4.0.2"
|