dsh-minimal-ptc 0.4.3 → 0.4.5
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 +5 -3
- package/README.md +5 -3
- package/lib/index.js +2 -1
- package/package.json +57 -57
- package/presets/ptc-minimal/agent.cordis.yml +3 -2
- package/presets/ptc-minimal/preset.yml +1 -1
package/README.en.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
   
|
|
4
4
|
|
|
5
5
|
> Minimal prompt x full PTC capabilities — a cleaner coding agent.
|
|
6
|
-
> Installing gives you a new agent mode: **Minimal PTC**, with Git Bash and persistent PowerShell on Windows, aligned with `dsh-v0.1.
|
|
6
|
+
> Installing gives you a new agent mode: **Minimal PTC**, with Git Bash and persistent PowerShell on Windows, aligned with `dsh-v0.1.5-rc.1`.
|
|
7
7
|
|
|
8
8
|
## Highlights
|
|
9
9
|
|
|
@@ -11,11 +11,13 @@
|
|
|
11
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.
|
|
12
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.
|
|
13
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.
|
|
14
|
-
- **Persistent PowerShell on Windows**: mirrors the `dsh-v0.1.
|
|
14
|
+
- **Persistent PowerShell on Windows**: mirrors the `dsh-v0.1.5-rc.1` minimal preset; `pwsh` runs as a persistent PTY session, so cwd, variables, and functions survive across calls.
|
|
15
15
|
|
|
16
16
|
## Compatibility
|
|
17
17
|
|
|
18
|
-
Verified
|
|
18
|
+
Verified with official `@deepseek-ai/dsh@0.1.5-rc.1` and Node `24.16.0` on 2026-09-11: all 18 components load alongside Modlens, with passing tool-schema, skill-registration and offline read-only invocation checks. Uses the `cordis.patch.yml` + `dsh.bundle.patch` bundle model. Node requirements match this Harness release: 22.19 or later within 22.x, or 24 or later. Live external-service workflows require separate configuration and validation.
|
|
19
|
+
|
|
20
|
+
The Minimal PTC preset also mounts in a real agent and assembles `run_code` as the model-facing tool while retaining installed plugin tools and Windows Git Bash. Uses the persona `prefix` field introduced in Harness 0.1.3; use plugin 0.4.3 with older Harness versions. Since 0.4.5, the preset update marker reads the package version automatically so upgrades cannot leave an older preset because of a stale hard-coded version.
|
|
19
21
|
|
|
20
22
|
## Installation
|
|
21
23
|
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
   
|
|
4
4
|
|
|
5
5
|
> 极简提示词 × PTC 全能力 —— 一个更"干净"的编码 Agent。
|
|
6
|
-
> 安装即获得新的 Agent 模式:**极简 PTC 模式**;Windows 自动启用 Git Bash 与持久 PowerShell(对齐 dsh-v0.1.
|
|
6
|
+
> 安装即获得新的 Agent 模式:**极简 PTC 模式**;Windows 自动启用 Git Bash 与持久 PowerShell(对齐 dsh-v0.1.5-rc.1)。
|
|
7
7
|
|
|
8
8
|
## 卖点
|
|
9
9
|
|
|
@@ -17,11 +17,13 @@
|
|
|
17
17
|
Minimal 高分轨迹一致:99/96 的两跑以 `we` / `let's` 为主,而不是
|
|
18
18
|
Standard/PTC 常见的 `let me` / `I` 长块。
|
|
19
19
|
- **Windows 保持 bash**:预设内置 Git Bash executor(自动探测 GIT_BASH → Program Files\Git → LOCALAPPDATA\Git → PATH),`bash` 工具不再在 Windows 上被禁用。
|
|
20
|
-
- **Windows 持久 PowerShell**:对齐 `dsh-v0.1.
|
|
20
|
+
- **Windows 持久 PowerShell**:对齐 `dsh-v0.1.5-rc.1` 的 minimal 预设,`pwsh` 使用持久 PTY 会话,cwd、变量、函数跨调用保留。
|
|
21
21
|
|
|
22
22
|
## 兼容性
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
已在官方 `@deepseek-ai/dsh@0.1.5-rc.1`、Node `24.16.0` 上验证(2026-09-11):18 个组件与 Modlens 同载,工具 schema、技能注册及离线只读调用检查通过。采用 `cordis.patch.yml` + `dsh.bundle.patch` 组合包模型。Node 要求与该版本 Harness 一致:22.19 及以上的 22.x,或 24 及以上。外部服务的实际业务操作需按各组件配置单独验证。
|
|
25
|
+
|
|
26
|
+
另已在真实 agent 中挂载极简 PTC 预设并组装模型工具:模型入口为 `run_code`,安装的插件工具和 Windows Git Bash 均可用。沿用 0.1.3 起的 persona `prefix` 字段;更旧的 Harness 请使用插件 0.4.3。0.4.5 起,预设更新标记自动读取包版本,避免升级后仍保留旧预设。
|
|
25
27
|
|
|
26
28
|
## 安装
|
|
27
29
|
|
package/lib/index.js
CHANGED
|
@@ -13,10 +13,11 @@ import { mkdirSync, readFileSync, writeFileSync, existsSync } from 'node:fs'
|
|
|
13
13
|
import { homedir } from 'node:os'
|
|
14
14
|
import { join, resolve } from 'node:path'
|
|
15
15
|
import { fileURLToPath } from 'node:url'
|
|
16
|
+
import pkg from '../package.json' with { type: 'json' }
|
|
16
17
|
|
|
17
18
|
export const name = 'ptc-minimal-preset'
|
|
18
19
|
|
|
19
|
-
const VERSION =
|
|
20
|
+
const VERSION = pkg.version
|
|
20
21
|
const PRESET_ID = 'ptc-minimal'
|
|
21
22
|
const MARKER = '.dsh-ptc-minimal.version'
|
|
22
23
|
|
package/package.json
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-minimal-ptc",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"default": "./lib/index.js"
|
|
10
|
-
},
|
|
11
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
12
|
-
"./package.json": "./package.json"
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"lib",
|
|
16
|
-
"presets",
|
|
17
|
-
"cordis.patch.yml",
|
|
18
|
-
"README.md",
|
|
19
|
-
"README.en.md",
|
|
20
|
-
"LICENSE"
|
|
21
|
-
],
|
|
22
|
-
"dsh": {
|
|
23
|
-
"bundle": {
|
|
24
|
-
"patch": "./cordis.patch.yml"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"keywords": [
|
|
28
|
-
"dsh",
|
|
29
|
-
"deepseek-harness",
|
|
30
|
-
"plugin",
|
|
31
|
-
"agent-preset",
|
|
32
|
-
"dsh-plugin",
|
|
33
|
-
"deepseek",
|
|
34
|
-
"llm-agent",
|
|
35
|
-
"minimal",
|
|
36
|
-
"ptc",
|
|
37
|
-
"we-lets",
|
|
38
|
-
"chain-of-thought"
|
|
39
|
-
],
|
|
40
|
-
"license": "MIT",
|
|
41
|
-
"author": "stardustlc",
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/STARDUSTLC666/dsh-minimal-ptc.git"
|
|
45
|
-
},
|
|
46
|
-
"bugs": {
|
|
47
|
-
"url": "https://github.com/STARDUSTLC666/dsh-minimal-ptc/issues"
|
|
48
|
-
},
|
|
49
|
-
"homepage": "https://github.com/STARDUSTLC666/dsh-minimal-ptc#readme",
|
|
50
|
-
"engines": {
|
|
51
|
-
"node": ">=
|
|
52
|
-
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"test": "node --test"
|
|
55
|
-
},
|
|
56
|
-
"packageManager": "pnpm@11.7.0"
|
|
57
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-minimal-ptc",
|
|
3
|
+
"version": "0.4.5",
|
|
4
|
+
"description": "DeepSeek Harness 极简 PTC 预设:简洁提示词、run_code 工具编排、完整插件工具,以及 Windows Git Bash 和持久 PowerShell。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"default": "./lib/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"lib",
|
|
16
|
+
"presets",
|
|
17
|
+
"cordis.patch.yml",
|
|
18
|
+
"README.md",
|
|
19
|
+
"README.en.md",
|
|
20
|
+
"LICENSE"
|
|
21
|
+
],
|
|
22
|
+
"dsh": {
|
|
23
|
+
"bundle": {
|
|
24
|
+
"patch": "./cordis.patch.yml"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"dsh",
|
|
29
|
+
"deepseek-harness",
|
|
30
|
+
"plugin",
|
|
31
|
+
"agent-preset",
|
|
32
|
+
"dsh-plugin",
|
|
33
|
+
"deepseek",
|
|
34
|
+
"llm-agent",
|
|
35
|
+
"minimal",
|
|
36
|
+
"ptc",
|
|
37
|
+
"we-lets",
|
|
38
|
+
"chain-of-thought"
|
|
39
|
+
],
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"author": "stardustlc",
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/STARDUSTLC666/dsh-minimal-ptc.git"
|
|
45
|
+
},
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/STARDUSTLC666/dsh-minimal-ptc/issues"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://github.com/STARDUSTLC666/dsh-minimal-ptc#readme",
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"test": "node --test"
|
|
55
|
+
},
|
|
56
|
+
"packageManager": "pnpm@11.7.0"
|
|
57
|
+
}
|
|
@@ -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
|
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
description: |-
|
|
68
69
|
Run commands in a PowerShell shell
|
|
69
70
|
* When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
|
|
70
|
-
*
|
|
71
|
+
* Network access depends on the host environment.
|
|
71
72
|
* State is persistent across command calls and discussions with the user.
|
|
72
73
|
* Use native Windows paths (C:\...) and $env:NAME variables; this is PowerShell, not bash.
|
|
73
74
|
* Please avoid commands that may produce a very large amount of output.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
name: 极简 PTC 模式
|
|
2
|
-
description: 提示词与极简模式一致(一句固定人格,无运行时上下文与附加指令),保留 PTC 模式的全部能力:PTC SDK 多步工具编排,以及文件、Shell、检索、Skills、计划、目标、子代理和工作流。Windows 上 Shell 为持久 PowerShell + Git Bash,并对齐 dsh-v0.1.
|
|
2
|
+
description: 提示词与极简模式一致(一句固定人格,无运行时上下文与附加指令),保留 PTC 模式的全部能力:PTC SDK 多步工具编排,以及文件、Shell、检索、Skills、计划、目标、子代理和工作流。Windows 上 Shell 为持久 PowerShell + Git Bash,并对齐 dsh-v0.1.5-rc.1 子代理配置。
|