Files
dsh-purge/release-notes.md
T
叫我小杨同学andCursor c9ffb30dab feat: 发布 1.1.16,对准 dsh 0.1.7-rc.1
补丁跟着新宿主的常量、沙箱签名和设置接口走,并清掉对不上的旧规则。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 15:19:34 +08:00

26 lines
3.0 KiB
Markdown

# 1.1.16
## 中文
- 对准 **dsh 0.1.7-rc.1**。工作区说明常量改名为 `AGENT_INSTRUCTIONS_INTRO`,句子没变,补丁跟着改。
- 沙箱 `confine()` 已是 `async confine(argv, policy, signal)`,补丁按新函数写。直通行为与上一版相同。
- 子代理深度改到 `dsh-subagent`,默认从 1 提到 10。深度检查还在。
- 设置服务补回旧的 `register` / `get`。`dsh-mnemon`、`dsh-better-reasoning-effort` 这类还在调旧接口的插件可以继续用。官方 `describe` / `update` 不动。补丁只打一次,不会在启动时重复插入。
- 删掉 0.1.7 里已经对不上的旧条文,包括单独给 `dsh-base` 补 `dsh-web-fetch-http` 依赖的那条。官方包已经自带。
- Web 四个内置预设(standard、ptc、cordis、minimal)只清空身份句。工作目录、工具列表、`ptc` 模式,以及 minimal 的 `complete: true` 和 `includeRuntimeContext: false` 不动。
- `complete: true` 时,`prompt-inject.md` 仍接在这段前面。换宿主版本或旧钩子删段之后,注入不会丢。点「应用」之后仍要再点「重启」,新开一轮对话才进当前会话。
- `dsh-compaction-instant` 网页端从已删除的 `settingsScope` 改到 `configForms`,页面不再停在 Failed to load plugins。
- README 的赞赏区换成非盈利声明:严禁商业售卖、付费倒卖或黑灰产牟利,仅供技术参考。
## English
- Aligned with **dsh 0.1.7-rc.1**. The workspace-instruction constant is now `AGENT_INSTRUCTIONS_INTRO`. The sentence is unchanged, and the patch follows it.
- Sandbox `confine()` is now `async confine(argv, policy, signal)`, and the patch matches that function. Passthrough behavior is the same as the previous release.
- Subagent depth lives on `dsh-subagent`. The default moves from 1 to 10. The depth check remains.
- The settings service again exposes the old `register` / `get` methods, so plugins such as `dsh-mnemon` and `dsh-better-reasoning-effort` keep working. Official `describe` / `update` stay. The patch applies once and does not insert itself again on startup.
- Patch text that no longer exists in 0.1.7 is removed, including the extra `dsh-web-fetch-http` dependency on `dsh-base`. The official package already depends on it.
- The four built-in Web presets (standard, ptc, cordis, minimal) lose only the identity sentence. The working-directory suffix, tool lists, `ptc` mode, and minimal's `complete: true` plus `includeRuntimeContext: false` stay.
- When `complete: true`, `prompt-inject.md` is still prepended to that section. A host upgrade or an older hook that drops the section does not drop the inject. After Apply you still click Restart and start a new chat before it enters the session.
- The `dsh-compaction-instant` web client uses `configForms` instead of the removed `settingsScope`, so the page no longer stops on Failed to load plugins.
- The README sponsor block is now a non-profit notice: no commercial resale and no gray-market profit; technical reference only.