dsh-minimal-ptc 0.4.4 → 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 CHANGED
@@ -3,7 +3,7 @@
3
3
  ![npm](https://img.shields.io/npm/v/dsh-minimal-ptc) ![downloads](https://img.shields.io/npm/dm/dsh-minimal-ptc) ![license](https://img.shields.io/github/license/STARDUSTLC666/dsh-minimal-ptc) ![stars](https://img.shields.io/github/stars/STARDUSTLC666/dsh-minimal-ptc?style=social)
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.2-alpha.4`.
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.2-alpha.4` minimal preset; `pwsh` runs as a persistent PTY session, so cwd, variables, and functions survive across calls.
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 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.
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
  ![npm](https://img.shields.io/npm/v/dsh-minimal-ptc) ![downloads](https://img.shields.io/npm/dm/dsh-minimal-ptc) ![license](https://img.shields.io/github/license/STARDUSTLC666/dsh-minimal-ptc) ![stars](https://img.shields.io/github/stars/STARDUSTLC666/dsh-minimal-ptc?style=social)
4
4
 
5
5
  > 极简提示词 × PTC 全能力 —— 一个更"干净"的编码 Agent。
6
- > 安装即获得新的 Agent 模式:**极简 PTC 模式**;Windows 自动启用 Git Bash 与持久 PowerShell(对齐 dsh-v0.1.2-alpha.4)。
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.2-alpha.4` 的 minimal 预设,`pwsh` 使用持久 PTY 会话,cwd、变量、函数跨调用保留。
20
+ - **Windows 持久 PowerShell**:对齐 `dsh-v0.1.5-rc.1` 的 minimal 预设,`pwsh` 使用持久 PTY 会话,cwd、变量、函数跨调用保留。
21
21
 
22
22
  ## 兼容性
23
23
 
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/*` 内部模块。
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 = '0.4.4'
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,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-minimal-ptc",
3
- "version": "0.4.4",
4
- "description": "Minimal prompt x full PTC tools for DeepSeek Harness - aligned with the Project2 we/let's trajectory (Minimal 99/96).",
3
+ "version": "0.4.5",
4
+ "description": "DeepSeek Harness 极简 PTC 预设:简洁提示词、run_code 工具编排、完整插件工具,以及 Windows Git Bash 和持久 PowerShell。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "homepage": "https://github.com/STARDUSTLC666/dsh-minimal-ptc#readme",
50
50
  "engines": {
51
- "node": ">=22"
51
+ "node": "^22.19.0 || >=24.0.0"
52
52
  },
53
53
  "scripts": {
54
54
  "test": "node --test"
@@ -68,7 +68,7 @@
68
68
  description: |-
69
69
  Run commands in a PowerShell shell
70
70
  * When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
71
- * You don't have access to the internet via this tool.
71
+ * Network access depends on the host environment.
72
72
  * State is persistent across command calls and discussions with the user.
73
73
  * Use native Windows paths (C:\...) and $env:NAME variables; this is PowerShell, not bash.
74
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-alpha.2 子代理配置。
2
+ description: 提示词与极简模式一致(一句固定人格,无运行时上下文与附加指令),保留 PTC 模式的全部能力:PTC SDK 多步工具编排,以及文件、Shell、检索、Skills、计划、目标、子代理和工作流。Windows 上 Shell 为持久 PowerShell + Git Bash,并对齐 dsh-v0.1.5-rc.1 子代理配置。