mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-27 23:40:22 +08:00
补丁跟着新宿主的常量、沙箱签名和设置接口走,并清掉对不上的旧规则。 Co-authored-by: Cursor <cursoragent@cursor.com>
3.0 KiB
3.0 KiB
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 nowasync 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/getmethods, so plugins such asdsh-mnemonanddsh-better-reasoning-effortkeep working. Officialdescribe/updatestay. 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-httpdependency ondsh-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,
ptcmode, and minimal'scomplete: trueplusincludeRuntimeContext: falsestay. - When
complete: true,prompt-inject.mdis 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-instantweb client usesconfigFormsinstead of the removedsettingsScope, 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.