
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-ptc-minimal
Advanced tools
DSH 插件:极简 PTC 模式 —— RL 对齐的一句话提示词 + PTC 全量工具;Windows 自动启用 Git Bash(预设文件完整物化、后台命令带超时),让 bash 工具与 RL 训练分布保持一致。
极简提示词 × PTC 全能力 —— 一个更"干净"的编码 Agent。 安装即获得新的 Agent 模式:极简 PTC 模式;Windows 自动启用 Git Bash,bash 工具与 RL 训练分布对齐。
You are a helpful software engineer assistant.,
贴近 RL 微调时的简洁指令分布,没有长提示词带来的格式偏置与上下文噪音,
让模型按训练时的节奏干活。we / let's 为主,而不是
Standard/PTC 常见的 let me / I 长块。bash 工具不再在 Windows 上被禁用;pwsh 仍保留为备用。把本包加入 web profile(package.json):
"dependencies": { "dsh-ptc-minimal": "^0.3.0" },
"dsh": { "profile": { "bundles": [..., "dsh-ptc-minimal"] } }
本地开发也可以用 link:"dsh-ptc-minimal": "link:E://deepseek//dsh-ptc-minimal"。
在 profile 目录执行 pnpm install。
重启 web profile 进程:宿主行会把内置预设物化到
$DSH_HOME/.agent-presets/ptc-minimal。
新建会话时选择 极简 PTC 模式。
预设内置的 Git Bash executor 可在 agent.cordis.yml 的 gitbash-executor 行覆盖:
| 配置 | 默认 | 说明 |
|---|---|---|
shellPath | 自动探测 | 固定 Git Bash 路径(如 C:\\Program Files\\Git\\bin\\bash.exe) |
timeoutMs | 120000 | 单次命令超时(毫秒) |
maxTimeoutMs | 600000 | 请求可要求的最大超时 |
maxOutputBytes | 64000 | 单次输出上限 |
maxSpillBytes | 67108864 | 输出溢出落盘上限 |
graceMs | 3000 | 超时后的宽限时间 |
自动探测顺序:GIT_BASH → Program Files\\Git → Program Files (x86)\\Git → LOCALAPPDATA\\Programs\\Git → PATH。
dsh-ptc-minimal/
├── cordis.patch.yml # 插入宿主行(物化预设)
├── lib/index.js # 宿主插件:物化 ptc-minimal 预设到用户预设根目录
└── presets/ptc-minimal/ # 内置 Agent 模式(极简提示词 + PTC 全能力)
├── agent.cordis.yml
├── gitbash-executor.mjs # Windows Git Bash 探测与执行器(零依赖)
└── preset.yml
version 并同步 lib/index.js 里的 VERSION 常量即可刷新
用户根目录里的预设文件。MIT
FAQs
DSH 插件:极简 PTC 模式 —— RL 对齐的一句话提示词 + PTC 全量工具;Windows 自动启用 Git Bash(预设文件完整物化、后台命令带超时),让 bash 工具与 RL 训练分布保持一致。
The npm package dsh-ptc-minimal receives a total of 3 weekly downloads. As such, dsh-ptc-minimal popularity was classified as not popular.
We found that dsh-ptc-minimal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.