Commit Graph
93 Commits
Author SHA1 Message Date
叫我小杨同学andCursor c4b092204a fix: 发布 1.1.17,修复 settings 重复补丁与工作区免责跳过
Co-authored-by: Cursor <cursoragent@cursor.com>

#42 不再叠写 legacyApplyPath,避免 dsh-settings 崩溃;#1/#2 兼容 WORKSPACE 与 AGENT 常量;加强反软拒与 rules 段。
2026-09-24 20:38:37 +08:00
叫我小杨同学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
叫我小杨同学andCursor 5d6cf35dac fix: bash 超时注记改成 YAML 注释,避免启动校验失败 (#36)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 12:22:07 +08:00
叫我小杨同学andCursor d92d4dc2ca fix: bash 超时正则每次克隆,避免 lastIndex 残留 (#35)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:34:38 +08:00
叫我小杨同学andCursor 1693532d99 feat: 发布 1.1.15
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 09:23:05 +08:00
叫我小杨同学andCursor feacf58d8a fix: 去掉点了也不变的 fetch 启用补丁,后面编号前移
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 23:42:47 +08:00
叫我小杨同学andCursor 52b4d087c1 fix: 正式版追上后隐藏旧测试版,phase-1 不再清上下文
版本列表按正式版上限藏掉已追上的测试版;提交号对不上时按本机版本号标当前。phase-1 不再清空 contexts,也不改消息白名单。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 13:05:28 +08:00
Musan-34 e3b24109be fix: #22 超时补丁非幂等 + 支持正则 pattern + 补 bundle persona marker (#31)
① #22 BASH_TIMEOUT_RAISED 非幂等:pattern 以 `timeoutMs: 60000` 结尾,替换产物
   `600000` 仍包含它,markers 子串判断恒真 → autoApplyOnStart 每次启动再补一个 0。
   实测宿主已涨到 600000000000000(n 次开机 = 60s × 10ⁿ)。
   改为锚定 bash-sandbox 行内、`[^\n]*` 吃到行尾的正则,产物收敛不动。

② applyReplacementsToText 支持正则 pattern;并修掉 `out.replace(re, () => …)`
   回调形态导致 `$1` 不展开(会把字面量 `$1` 写进宿主文件)的问题。
   补 matchesPattern() 供 patchHasRemainingWork 复用,避免带正则的补丁反复写盘。

③ #4 / #26 markers 补 bundle 布局:web-app / headless 的 persona 挂在
   `persona:` 键上,清掉后是 `persona: ""`,现有 markers 命中不了 →
   已完成的清洗在面板上永远报"待应用"。

④ client.js 跳过态文案:0.1.5 里 #39 这类未应用的真实原因是"本版不需要",
   原文案"没装或官方已改写"会误导。

连跑两遍 applyPatches → 0 files written(不动点);42 项 CLOSED 35 / N-A 5 /
UNTOUCHED 2,non-optional unresolved 为空。
2026-09-23 13:04:57 +08:00
叫我小杨同学andCursor 9c1a002cf5 feat: 发布 1.1.12,测试版 Skill 进入正式版
正式版带上 Skill 导入,并保留不再钉上一轮全文、按提交号标当前和拒绝跨站请求。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 11:21:04 +08:00
叫我小杨同学andCursor f3afd9a5cb fix: 版本按提交号标当前,并拦住跨站调用与旧 pin 补丁
同版本号的旧标签不再显示当前。本机接口拒绝跨站请求,更新只接受已知 ref。#41 去掉 dsh-purge:committed 短路。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 00:15:14 +08:00
叫我小杨同学andCursor d2578b79c3 fix: 测试版同步系统提示词只注入一次,并写清 1.1.11 变更
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 10:35:26 +08:00
叫我小杨同学andCursor 02d21a7699 fix: 1.1.11 系统提示词只注入一次,后续不再每步追加
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 10:34:17 +08:00
叫我小杨同学andCursor cff7ebcbb5 feat: 发布 1.1.11-beta.1,Skill 导入官方目录并加正式/测试通道
设置页可导入压缩包或文件夹到官方 skills;导入约束路径与符号链接,保存保留官方 frontmatter。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 16:02:53 +08:00
叫我小杨同学andCursor d30f3a76e9 fix: 桌面可补共享预设,空提示词拦截统一走一处
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 11:32:16 +08:00
叫我小杨同学andCursor 51a9d271dd feat: 发布 1.1.10,空提示词拦截并修首轮注入
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 11:00:02 +08:00
叫我小杨同学andCursor f16ba86ad1 feat: 发布 1.1.9,将提示词从仓库中下线
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-19 00:51:25 +08:00
叫我小杨同学andCursor 443f23136c docs: 按网络安全红队表述改 README,补严正声明
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-19 00:38:35 +08:00
叫我小杨同学andCursor 6432288056 feat: 发布 1.1.8,默认提示词内置进插件,源 md 不进仓库
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-19 00:03:03 +08:00
叫我小杨同学andCursor e84671d20a feat: 发布 1.1.7,Web / 桌面端分开安装并跟随当前桌面目录清洗
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 18:26:11 +08:00
叫我小杨同学 7cbc518927 feat: 设置页可卸载,AI 安装说明只跑官方 add 2026-09-18 15:10:15 +08:00
叫我小杨同学andCursor ea2632cd75 feat: 发布 1.1.2,兼容接口 developer 角色与规则集读写
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 10:54:43 +08:00
叫我小杨同学andCursor 7642678a27 feat: 发布 1.1.1,回退上一句并清掉待发送队列
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 00:27:33 +08:00
叫我小杨同学andCursor e8567a8d34 feat: 发布 1.1.0,自动更新并修复 #14 #15 #16
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 22:36:04 +08:00
叫我小杨同学andCursor 4dce6689a8 fix: 清洗不再写坏 YAML,检测更新失败能看见结果
Apply 会清掉 personaPrefix 空值后的缩进残段,避免 dsh 起不来;#5/#11 在官方已改句式时不再挡应用。检测更新改走带超时的接口,结果显示在按钮旁。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 21:15:00 +08:00
叫我小杨同学andCursor b4701de4a0 fix: #4/#26/#27 官方无身份副本不再挡别人 Apply
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 17:54:46 +08:00
yangandCursor 921b333a5b fix: 二次 Apply 不再误报 #26/#27,重启等到会话树落地再进页面
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 13:33:34 +08:00
yangandCursor 76d86fafb1 fix: #13 按 npm/yarn/pnpm 实际布局找插件根,无效 DSH_BASE 写明原因
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 00:46:19 +08:00
yangandCursor 2a1d37c97a fix: #21 幂等与 #36 对齐 0.1.5 源码,官方预设只去身份不去功能
Co-authored-by: Cursor <cursoragent@cursor.com>

#21 已有依赖不再重复插入;#36 补空格+单引号变体。standard/minimal/cordis 去掉默认身份并打开 inject,plan/工具说明不动。
2026-09-16 00:10:09 +08:00
yangandCursor 445b357134 release: 1.3.6 适配 dsh 0.1.5-rc.1,修复工作区清空与历史会话
persona text→prefix、mnemon v0 summary 可迁移,身份只认 prompt-inject;README 补严正合规声明。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 19:21:08 +08:00
yang 276eaa33bd feat: 补齐 0.1.2 拦截清洗并按 Hub 版式重写安装说明
对齐 Claude 清洗手法补 bash/pwsh/沙箱升级拒绝话术与梁神 phase-1;身份只跟 prompt-inject。README 前置赞赏码、免责声明,以及 AI / Hub / 手动安装。
2026-09-06 18:45:32 +08:00
yang 742861fca6 release: 1.3.5 适配 dsh 0.1.2-rc.1 / Node 24 Windows 无感与首轮注入
修复 Node 24 ESM spawn 补丁无效导致的 CMD 闪窗;梁神 phase-1 保留完整 system-prompt;README 写明适配版本与变更说明。
2026-09-05 19:57:42 +08:00
yang a91647c459 fix: Desktop 密封 host-commands/bin 只清理不注入,杜绝 dsh.cmd.dshpurge.bak 触发恢复模式
anywhere-labs/dsh-desktop 在插件加载前校验 host-commands/<profile>/bin,禁止 sibling 额外文件。现跳过密封目录的 shim 注入/bak 写入,启动与应用时强制外置或删除残留 *.dshpurge.bak,并在 README 写明恢复步骤(issue #9)。
2026-09-03 20:56:22 +08:00
yang a204851989 fix: 可选补丁/CMD钉入不再误挡他人 Apply,并标明 #20/#21/#28/#29 所属插件
梁神与 web-fetch 的 pattern_miss 改为软通过;bin 缺失或写失败不永久卡完成。设置页文案写明 dsh-web-fetch-http / dsh-liangshen,失败提示列出具体补丁号。
2026-09-02 23:26:56 +08:00
yang 8aa7afecd3 fix: silenceMnemonGitFlash 回退路径改用 let,避免 const 重赋值抛错 2026-09-02 18:27:08 +08:00
yang eb5c0bb2fe merge: 合入上游 node 启动器 shim,并保留本机 CMD 无感与不锁权限
保留 Exception-H 的 shimKindOf/nodeShimInject(Linux/macOS ESM dsh 不再被当成 shell 注入),同时保留本地:不写 DSH_PERMISSION_MODE、桌面 patched_desktop、hide-console / silenceCmdFlash。
2026-09-02 18:25:33 +08:00
yang f7be279229 新增 hide-console.js:强制 windowsHide,并钉进真正的 dsh/lib/bin.js
silenceCmdFlash():应用/启动/重启前统一收尾(hide + Doctor stub + mnemon)
应用完成条件:complete 必须含 CMD 无感成功
重启只走 node + bin.js,不走 dsh.cmd
发消息闪 CMD
silenceMnemonGitFlash():把 mnemon 每轮 git branch 改成读 .git/HEAD(点应用会自动钉到现场 node_modules)
提示词注入
identity.js:把 prompt-inject.md 折进 deployment:persona,梁神 phase-1 也能吃到
梁神白名单保留 dsh-purge*(现场 patch + core #29)
空 prompt-inject 不再自动灌默认 RP;有内容才注入
2026-09-02 18:19:49 +08:00
yang 48a145a11c fix: inject shim by launcher shape - support node (ESM) dsh launcher 2026-08-31 21:11:31 +08:00
yang f5f1091e52 把角色扮演给放开了,不再说是coding agent 2026-08-31 16:36:47 +08:00
yang dd53482b21 加入默认的破限制提示词,修改显示,支持桌面端 2026-08-31 13:51:58 +08:00
叫我小杨同学 e39f442d71 Merge branch 'master' into master 2026-08-30 01:41:20 +08:00
TLcm 8e664abb59 feat: upgrade purge patches to 25 and release 0.1.1-rc.1-0.2 2026-08-30 00:09:46 +08:00
wangqiupei 4d47ce69dc fix: 支持 DSH Desktop 解包依赖路径探测 2026-08-25 09:43:23 +08:00
yang abaa4ed24f dsh-purge: instruction authority purge plugin for DeepSeek Harness (3-layer, 8 patches, auto re-apply) 2026-08-19 16:11:45 +08:00