@deepseek-ai/dsh-sdk-minimal 0.1.3-alpha.2 → 0.1.5-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 +5 -5
- package/README.zh.md +5 -5
- package/cordis.patch.yml +1 -14
- package/package.json +28 -30
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/sdk-minimal/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: e67b1eb0637f870f47bd97ecff7133242e2f2210
|
|
6
|
+
README.zh.md: 077d3ac0f603ce6781476b4850306d8f8486f82a
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Standalone
|
|
2
|
+
description: "Standalone single-tool SDK profile for users who need a minimal cross-platform coding agent without the shared base bundle."
|
|
3
3
|
kind: "package-bundle"
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
Use `dsh --profile sdk-minimal` when an SDK client needs a small, explicit coding-agent runtime. The profile advertises a platform-selected persistent shell
|
|
12
|
+
Use `dsh --profile sdk-minimal` when an SDK client needs a small, explicit coding-agent runtime. The profile advertises only a platform-selected persistent shell, persists sessions as uncompressed JSONL, and selects the model from the SDK initialization request. It supplies a complete Cordis tree and deliberately excludes `dsh-base`, Web, settings, managed credentials, telemetry, compaction, filesystem tools, workspace instructions, skills, jobs, and subagents. Its danger-full-access policy lets the shell modify any path available to the process, so use it only with an isolated workspace.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -46,7 +46,7 @@ The profile mounts exactly one persistent shell stack: Bash on Linux and macOS,
|
|
|
46
46
|
<details>
|
|
47
47
|
<summary>Implementation internals — click to expand</summary>
|
|
48
48
|
|
|
49
|
-
The bundle's single insert is the complete application tree: SDK stdio startup and JSON-RPC serving, one environment-configured DeepSeek adapter, the explicit agent core, local subprocess
|
|
49
|
+
The bundle's single insert is the complete application tree: SDK stdio startup and JSON-RPC serving, one environment-configured DeepSeek adapter, the explicit agent core, local subprocess execution, a platform-selected persistent shell PTY, and uncompressed JSONL persistence under `$DSH_HOME/sessions`. It does not inherit another bundle, so every extra row is an explicit profile change.
|
|
50
50
|
|
|
51
51
|
### Source map
|
|
52
52
|
|
|
@@ -77,11 +77,11 @@ The bundle's single insert is the complete application tree: SDK stdio startup a
|
|
|
77
77
|
|
|
78
78
|
#### What the model sees
|
|
79
79
|
|
|
80
|
-
The system prompt is `DSH_SYSTEM_PROMPT` or `You are a helpful software engineer assistant.`. The only advertised
|
|
80
|
+
The system prompt is `DSH_SYSTEM_PROMPT` or `You are a helpful software engineer assistant.`. The only advertised tool is owner-scoped persistent `bash` on Linux/macOS or `pwsh` on Windows; runtime context, filesystem tools, workspace instructions, skills, jobs controls, compaction, and Harness identity are absent.
|
|
81
81
|
|
|
82
82
|
#### Token effect
|
|
83
83
|
|
|
84
|
-
One stable persona plus
|
|
84
|
+
One stable persona plus one tool schema. Tool results and ordinary conversation history grow with the session.
|
|
85
85
|
|
|
86
86
|
#### KV Cache effect
|
|
87
87
|
|
package/README.zh.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "供需要不含共享 base bundle 的极简跨平台 coding agent
|
|
2
|
+
description: "供需要不含共享 base bundle 的极简跨平台 coding agent 的用户使用的独立单工具 SDK profile。"
|
|
3
3
|
kind: "package-bundle"
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ kind: "package-bundle"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
当 SDK 客户端需要小型、显式的 coding agent 运行时时,请使用 `dsh --profile sdk-minimal`。该 profile 只公布按平台选择的持久 shell
|
|
12
|
+
当 SDK 客户端需要小型、显式的 coding agent 运行时时,请使用 `dsh --profile sdk-minimal`。该 profile 只公布按平台选择的持久 shell,把会话持久化为未压缩 JSONL,并从 SDK 初始化请求选择模型。它提供完整 Cordis 配置树,并刻意排除 `dsh-base`、Web、settings、托管凭据、遥测、compaction、文件系统工具、workspace 指令、skills、jobs 与 subagent。其 danger-full-access 策略允许 shell 修改进程可访问的任何路径,因此只能配合隔离 workspace 使用。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -46,7 +46,7 @@ dsh --profile sdk-minimal
|
|
|
46
46
|
<details>
|
|
47
47
|
<summary>实现细节——点击展开</summary>
|
|
48
48
|
|
|
49
|
-
该 bundle 的单个 insert 就是完整应用配置树:SDK stdio 启动与 JSON-RPC 服务、一个由环境配置的 DeepSeek 适配器、显式 agent
|
|
49
|
+
该 bundle 的单个 insert 就是完整应用配置树:SDK stdio 启动与 JSON-RPC 服务、一个由环境配置的 DeepSeek 适配器、显式 agent 核心、本地子进程执行、按平台选择的持久 shell PTY,以及位于 `$DSH_HOME/sessions` 的未压缩 JSONL 持久化。它不继承其他 bundle,因此每个额外配置项都是显式 profile 变更。
|
|
50
50
|
|
|
51
51
|
### 源码地图
|
|
52
52
|
|
|
@@ -77,11 +77,11 @@ dsh --profile sdk-minimal
|
|
|
77
77
|
|
|
78
78
|
#### 模型看到的内容
|
|
79
79
|
|
|
80
|
-
系统提示词取 `DSH_SYSTEM_PROMPT`,未设置时使用 `You are a helpful software engineer assistant
|
|
80
|
+
系统提示词取 `DSH_SYSTEM_PROMPT`,未设置时使用 `You are a helpful software engineer assistant.`。对外公布的唯一工具是 Linux/macOS 上 agent 所有的持久 `bash` 或 Windows 上的 `pwsh`;运行时上下文、文件系统工具、workspace 指令、skills、jobs 控制、compaction 与 Harness 身份均不存在。
|
|
81
81
|
|
|
82
82
|
#### Token 影响
|
|
83
83
|
|
|
84
|
-
一个稳定 persona
|
|
84
|
+
一个稳定 persona 加一个工具 schema。工具结果与普通对话历史随会话增长。
|
|
85
85
|
|
|
86
86
|
#### KV Cache 影响
|
|
87
87
|
|
package/cordis.patch.yml
CHANGED
|
@@ -63,13 +63,6 @@
|
|
|
63
63
|
shellDialect: pwsh
|
|
64
64
|
timeoutMs: 300000
|
|
65
65
|
|
|
66
|
-
# The editor uses the bare local filesystem; persistent Bash still consumes
|
|
67
|
-
# the shared danger-full-access sandbox policy above.
|
|
68
|
-
- id: fs-local
|
|
69
|
-
name: '@deepseek-ai/dsh-fs-local'
|
|
70
|
-
config:
|
|
71
|
-
cwd: !!js process.cwd()
|
|
72
|
-
|
|
73
66
|
# Keep the minimal agent kernel explicit: unlike dsh-base, this profile
|
|
74
67
|
# owns each service row and omits every optional producer it does not use.
|
|
75
68
|
- id: timer
|
|
@@ -135,8 +128,7 @@
|
|
|
135
128
|
description: |-
|
|
136
129
|
Run commands in a bash shell
|
|
137
130
|
* When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
|
|
138
|
-
*
|
|
139
|
-
* You do have access to a mirror of common linux and python packages via apt and pip.
|
|
131
|
+
* Network access depends on the task environment. Prefer configured mirrors/proxies when they are available.
|
|
140
132
|
* State is persistent across command calls and discussions with the user.
|
|
141
133
|
* To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.
|
|
142
134
|
* Please avoid commands that may produce a very large amount of output.
|
|
@@ -156,11 +148,6 @@
|
|
|
156
148
|
* Please avoid commands that may produce a very large amount of output.
|
|
157
149
|
* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.
|
|
158
150
|
|
|
159
|
-
- id: str-replace-editor
|
|
160
|
-
name: '@deepseek-ai/dsh-tool-str-replace-editor'
|
|
161
|
-
config:
|
|
162
|
-
maxOutputChars: 16000
|
|
163
|
-
|
|
164
151
|
- id: sessions
|
|
165
152
|
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
|
166
153
|
config:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-sdk-minimal",
|
|
3
|
-
"description": "The standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell,
|
|
4
|
-
"version": "0.1.
|
|
3
|
+
"description": "The standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessions",
|
|
4
|
+
"version": "0.1.5-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -35,34 +35,32 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@deepseek-ai/cordis-plugin-timer": "^1.1.4",
|
|
38
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
39
|
-
"@deepseek-ai/dsh-agent-loop": "^0.1.
|
|
40
|
-
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "^0.1.
|
|
41
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/dsh-
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
54
|
-
"@deepseek-ai/dsh-session-
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-terminal-bash": "^0.1.
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-tool-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-terminal": "^0.1.3-alpha.2",
|
|
65
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2"
|
|
38
|
+
"@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
|
|
39
|
+
"@deepseek-ai/dsh-agent-loop": "^0.1.5-alpha.2",
|
|
40
|
+
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "^0.1.5-alpha.2",
|
|
41
|
+
"@deepseek-ai/dsh-invariants": "^0.1.5-alpha.2",
|
|
42
|
+
"@deepseek-ai/dsh-jobs-local": "^0.1.5-alpha.2",
|
|
43
|
+
"@deepseek-ai/dsh-llm-retry": "^0.1.5-alpha.2",
|
|
44
|
+
"@deepseek-ai/dsh-plugin-package-inventory-deepseek": "^0.1.5-alpha.2",
|
|
45
|
+
"@deepseek-ai/dsh-sandbox-local": "^0.1.5-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-scope": "^0.1.5-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-sdk-app": "^0.1.5-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.5-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-session-log-deepseek": "^0.1.5-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-session-title": "^0.1.5-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-subprocess-local": "^0.1.5-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
|
|
57
|
+
"@deepseek-ai/dsh-terminal": "^0.1.5-alpha.2",
|
|
58
|
+
"@deepseek-ai/dsh-terminal-bash": "^0.1.5-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-tool-bash-persistent": "^0.1.5-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-tool-pwsh-persistent": "^0.1.5-alpha.2",
|
|
61
|
+
"@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
|
|
63
|
+
"@deepseek-ai/dsh-llm-deepseek": "^0.1.5-alpha.2"
|
|
66
64
|
},
|
|
67
65
|
"peerDependencies": {
|
|
68
66
|
"@deepseek-ai/cordis": "^4.0.2"
|