dsh-minimal-ptc 0.4.2 → 0.4.4
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.en.md +9 -7
- package/README.md +8 -6
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/presets/ptc-minimal/agent.cordis.yml +6 -2
package/README.en.md
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
# dsh-minimal-ptc
|
|
2
2
|
|
|
3
|
+
   
|
|
4
|
+
|
|
3
5
|
> Minimal prompt x full PTC capabilities — a cleaner coding agent.
|
|
4
|
-
> Installing gives you a new agent mode: **Minimal PTC**, with Git Bash and persistent PowerShell on Windows, aligned with `dsh-v0.1.2-alpha.
|
|
6
|
+
> Installing gives you a new agent mode: **Minimal PTC**, with Git Bash and persistent PowerShell on Windows, aligned with `dsh-v0.1.2-alpha.4`.
|
|
5
7
|
|
|
6
8
|
## Highlights
|
|
7
9
|
|
|
8
10
|
- **RL-aligned**: the whole system prompt is one sentence — `You are a helpful software engineer assistant.` — close to the compact instruction distribution used during RL fine-tuning, without long-prompt format bias or context noise.
|
|
9
|
-
- **Complete
|
|
11
|
+
- **Complete PTC surface**: provides `run_code` SDK orchestration, files and search, Shell, Skills, plan mode, goals, subagents, Ralph, and web search/fetch; the general-purpose workflow tool stays hidden as in alpha.4.
|
|
10
12
|
- **We / Let's reasoning**: the PTC SDK packs thinking and doing into one TypeScript program, orchestrating multi-step operations before executing them once. This matches the high-scoring Minimal trajectory in DeepSeek's official Project2 V4.1b runs (99/96), where reasoning is dominated by `we` / `let's` instead of the standard-like `let me` / `I` blocks seen at 91/92.
|
|
11
13
|
- **Git Bash on Windows**: ships a preset-local Git Bash executor (GIT_BASH -> Program Files\Git -> LOCALAPPDATA\Git -> PATH). The bash tool is no longer disabled on Windows.
|
|
12
|
-
- **Persistent PowerShell on Windows**: mirrors the `dsh-v0.1.2-alpha.
|
|
14
|
+
- **Persistent PowerShell on Windows**: mirrors the `dsh-v0.1.2-alpha.4` minimal preset; `pwsh` runs as a persistent PTY session, so cwd, variables, and functions survive across calls.
|
|
13
15
|
|
|
14
16
|
## Compatibility
|
|
15
17
|
|
|
16
|
-
Verified against `@deepseek-ai/dsh@0.1.2-alpha.
|
|
18
|
+
Verified against source-run `@deepseek-ai/dsh@0.1.2-alpha.4` on 2026-09-02. Built for the cordis patch-bundle plugin model (`cordis.patch.yml` + `dsh.bundle.patch`). No runtime imports of `@deepseek-ai/*` internals.
|
|
17
19
|
|
|
18
20
|
## Installation
|
|
19
21
|
|
|
@@ -43,8 +45,8 @@ Then restart the web service. To clean up fully, also remove the plugin entry fr
|
|
|
43
45
|
|
|
44
46
|
## Capabilities
|
|
45
47
|
|
|
46
|
-
- Web search
|
|
47
|
-
- Subagents are enabled
|
|
48
|
+
- Web search and page fetch are enabled via `tool-web` (`fetch: true`).
|
|
49
|
+
- Subagents and Ralph are enabled; the general-purpose workflow tool remains hidden in PTC mode.
|
|
48
50
|
- `subagent_codex` and `subagent_claude_code` providers are disabled by default; remove their `disabled: true` lines to expose them.
|
|
49
51
|
|
|
50
52
|
## Windows Git Bash configuration
|
|
@@ -71,4 +73,4 @@ Detection order: `GIT_BASH` -> `Program Files\\Git` -> `Program Files (x86)\\Git
|
|
|
71
73
|
|
|
72
74
|
## License
|
|
73
75
|
|
|
74
|
-
MIT
|
|
76
|
+
MIT
|
package/README.md
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
# dsh-minimal-ptc
|
|
2
2
|
|
|
3
|
+
   
|
|
4
|
+
|
|
3
5
|
> 极简提示词 × PTC 全能力 —— 一个更"干净"的编码 Agent。
|
|
4
|
-
> 安装即获得新的 Agent 模式:**极简 PTC 模式**;Windows 自动启用 Git Bash 与持久 PowerShell(对齐 dsh-v0.1.2-alpha.
|
|
6
|
+
> 安装即获得新的 Agent 模式:**极简 PTC 模式**;Windows 自动启用 Git Bash 与持久 PowerShell(对齐 dsh-v0.1.2-alpha.4)。
|
|
5
7
|
|
|
6
8
|
## 卖点
|
|
7
9
|
|
|
8
10
|
- **对齐 RL 训练**:系统提示词只有一句 `You are a helpful software engineer assistant.`,
|
|
9
11
|
贴近 RL 微调时的简洁指令分布,没有长提示词带来的格式偏置与上下文噪音,
|
|
10
12
|
让模型按训练时的节奏干活。
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
+
- **PTC 工具面完整**:提供 `run_code` SDK 多步编排、文件读写与检索、Shell、
|
|
14
|
+
Skills、计划、目标、子代理、Ralph 与网页搜索/抓取;按 alpha.4 默认隐藏通用 workflow 工具。
|
|
13
15
|
- **We / Let's 思维链**:PTC SDK 把"想"和"做"装进一个 TypeScript 程序,
|
|
14
16
|
多步操作先编排、再一次执行。这与 DeepSeek 官方跑分环境(Project2 V4.1b)中
|
|
15
17
|
Minimal 高分轨迹一致:99/96 的两跑以 `we` / `let's` 为主,而不是
|
|
16
18
|
Standard/PTC 常见的 `let me` / `I` 长块。
|
|
17
19
|
- **Windows 保持 bash**:预设内置 Git Bash executor(自动探测 GIT_BASH → Program Files\Git → LOCALAPPDATA\Git → PATH),`bash` 工具不再在 Windows 上被禁用。
|
|
18
|
-
- **Windows 持久 PowerShell**:对齐 `dsh-v0.1.2-alpha.
|
|
20
|
+
- **Windows 持久 PowerShell**:对齐 `dsh-v0.1.2-alpha.4` 的 minimal 预设,`pwsh` 使用持久 PTY 会话,cwd、变量、函数跨调用保留。
|
|
19
21
|
|
|
20
22
|
## 兼容性
|
|
21
23
|
|
|
22
|
-
在 `@deepseek-ai/dsh@0.1.
|
|
24
|
+
在 `@deepseek-ai/dsh@0.1.3-alpha.2` 源码模式下验证(2026-09-08;0.4.4 适配 0.1.3 的 persona `text`→`prefix` 字段改名,旧版 dsh 请用 0.4.3)。遵循 cordis 组合包补丁模型(`cordis.patch.yml` + `dsh.bundle.patch`),运行时不 import 任何 `@deepseek-ai/*` 内部模块。
|
|
23
25
|
|
|
24
26
|
## 安装
|
|
25
27
|
|
|
@@ -84,4 +86,4 @@ dsh-minimal-ptc/
|
|
|
84
86
|
|
|
85
87
|
## 许可证
|
|
86
88
|
|
|
87
|
-
MIT
|
|
89
|
+
MIT
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
# ── identity ────────────────────────────────────────────────────────────────
|
|
20
20
|
|
|
21
21
|
# The persona is the complete system prompt (minimal-mode prompt policy).
|
|
22
|
+
# dsh 0.1.3 renamed the persona config field `text` to `prefix` (required).
|
|
22
23
|
- id: persona
|
|
23
24
|
name: '@deepseek-ai/dsh-persona'
|
|
24
25
|
config:
|
|
25
|
-
|
|
26
|
+
prefix: You are a helpful software engineer assistant.
|
|
26
27
|
complete: true
|
|
27
28
|
includeRuntimeContext: false
|
|
28
29
|
|
|
@@ -244,6 +245,9 @@
|
|
|
244
245
|
|
|
245
246
|
- id: tool-workflow
|
|
246
247
|
name: '@deepseek-ai/dsh-tool-workflow'
|
|
248
|
+
# Keep the engine above for `ralph`, but do not publish a second
|
|
249
|
+
# model-authored orchestration surface beside `run_code` in PTC mode.
|
|
250
|
+
disabled: true
|
|
247
251
|
|
|
248
252
|
- id: tool-ralph
|
|
249
253
|
name: '@deepseek-ai/dsh-tool-ralph'
|
|
@@ -266,7 +270,7 @@
|
|
|
266
270
|
- id: tool-web
|
|
267
271
|
name: '@deepseek-ai/dsh-tool-web'
|
|
268
272
|
config:
|
|
269
|
-
fetch:
|
|
273
|
+
fetch: true
|
|
270
274
|
searchTimeoutMs: 60000
|
|
271
275
|
|
|
272
276
|
# ── presentation ────────────────────────────────────────────────────────────
|