 叫我小杨同学andCursor
|
7ad39ad832
|
fix: 发布 1.1.59,应用后不再误报没写进宿主
重启校验同时认两条安装路径。原文里已经没有官方身份句和丢掉注入的写法时,不再因为旧标记对不上就取消重启。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-05 01:36:46 +08:00 |
|
 叫我小杨同学andCursor
|
c032942e5f
|
fix: 发布 1.1.58,打开即挂上默认提示词
重启或重新打开后不用再点保存。磁盘正文优先,其次规则集,再没有就用内置默认。应用成功仍先询问是否重启。前端模块只在页面发出前改写,避免输入框消失。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-05 01:06:55 +08:00 |
|
 叫我小杨同学andCursor
|
71defcc3da
|
fix: 应用成功后自己重启一次
有新补丁或密封包还在时,点应用直接重启,不再弹出确认。没有新补丁就不重启。Windows、Linux、macOS 都退出再打开,斜杠不再干等。极简 bash 只删掉误留的镜像那一句。默认提示词继续用 default-prompt-inject.md 的加密槽,明文不进发布包。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-04 23:24:49 +08:00 |
|
 叫我小杨同学andCursor
|
4655d06723
|
fix: 极简等模式不用再点保存也能挂上提示词
组装时若内存里还没挂正文,就从磁盘提示词或当前规则集补上。空的已保存标记不再挡住磁盘文件。提示词段同时挂到全局层,切换官方预设也能看见。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-04 22:05:33 +08:00 |
|
 叫我小杨同学andCursor
|
79714102a5
|
fix: 面板不再盖住官方对话,重打补丁不再回写前端包
浮层收成右侧窄条,底边停在输入框上方;演练台嵌在面板里时不再给官方窗口加右侧内边距。重打补丁时若前端 client.js 内容没变就不写,避免页面按旧 rev 404。桌面启动自检不再杀掉自己,清洗标记同时认新旧两句。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-04 21:24:20 +08:00 |
|
 叫我小杨同学andCursor
|
2c07aafead
|
fix: 发布 1.1.57,应用后挂上提示词并让 Messages 使用当前系统提示
官方其余模式与标准一样清拦截。演练授权按本机目录保留,卸载成功后才清。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-04 13:06:19 +08:00 |
|
 叫我小杨同学andCursor
|
958c381375
|
fix: 空框不再写入默认提示词,玻璃界面跟随宿主主题
应用按框内正文、当前规则集、官方系统提示词的顺序选定;空框且没有规则时停下来要求输入,不再把内置默认写进磁盘。侧栏去掉手动换色,玻璃颜色跟随 DSH。说明只保留官方 Web 和官方桌面。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-04 00:05:11 +08:00 |
|
 叫我小杨同学andCursor
|
69e7cba19c
|
fix: 1.1.52 保留用户自改提示词,内置默认只读加密槽
磁盘正文与内置不同时不再被「应用」盖回;运行时 bundled 只走 asset-table,明文 md 仅作 embed 源。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-03 01:32:15 +08:00 |
|
 叫我小杨同学andCursor
|
11daeabb7c
|
fix: 发布 1.1.51,修 skills 自导入删空、EnvAdapt op、同版本更新劫持与补丁锚点
Co-authored-by: Cursor <cursoragent@cursor.com>
#54 拒绝 skills 源与目标重叠;#55 补 platformEnvAdaptStatus/Skip;#56 无版本 installer 不再劫持重启并恢复 app;#52/#57 锚点跟上 0.1.7/0.2,导出 patches_ready。
|
2026-10-03 01:01:31 +08:00 |
|
 叫我小杨同学andCursor
|
148d6218d8
|
fix: 发布 1.1.50,修 macOS 桌面重启/CLI(#53)与应用后默认提示词注入。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 22:29:28 +08:00 |
|
 叫我小杨同学andCursor
|
94a7cf814e
|
fix: 发布 1.1.49-beta.1,修 macOS 官方桌面重启假失败与解包后 CLI 失效(#53)。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 19:20:16 +08:00 |
|
 叫我小杨同学andCursor
|
ed4e83744d
|
fix: 1.1.48 剔除桌面改读 profiles/web 的本机逻辑。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 17:31:49 +08:00 |
|
 叫我小杨同学andCursor
|
eb09b2e62d
|
fix: 发布 1.1.48,桌面跟 Web 配置、红队派活与 skill/MCP 按任务选用。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 17:25:49 +08:00 |
|
 叫我小杨同学andCursor
|
33baeeef45
|
fix: 发布 1.1.47,演练台环境适配与首次用户须知。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 13:55:13 +08:00 |
|
 叫我小杨同学andCursor
|
078f402cc0
|
fix: 发布 1.1.46,略过有问题的 1.1.45。
工作区说明改回不能压过 system,地区闸门只认大陆、香港、澳门域名,并重新加密默认提示词。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 03:28:46 +08:00 |
|
 叫我小杨同学andCursor
|
8ba88623a0
|
fix: 1.1.45 地区闸门不再因单个 CDN 噪声 IP 误拦第二轮。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 02:35:24 +08:00 |
|
 叫我小杨同学andCursor
|
11aa390cc3
|
fix: 1.1.45 第二轮发送不再因 undefined.length 直接死掉。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 02:21:39 +08:00 |
|
 叫我小杨同学andCursor
|
f2c244c78f
|
fix: 发布 1.1.45,稳住默认注入并修正清洗进度显示。
点应用即写入默认提示词,不必先保存。剥掉外层 project_instructions 壳并钉死会话系统提示,避免第二轮注入失效。未定位宿主不再显示 0/63,本机不需要的项计入已就绪。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 02:09:44 +08:00 |
|
 叫我小杨同学andCursor
|
c711311c34
|
fix: 发布 1.1.44,回退后下一句按新消息发,启动就注入默认提示词。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 20:36:12 +08:00 |
|
 叫我小杨同学andCursor
|
c29d78b291
|
fix: 发布 1.1.44,提示词按模式注入并让子代理吃到同一份。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 19:18:15 +08:00 |
|
 叫我小杨同学andCursor
|
0f91546cc0
|
fix: 解包失败时放回升级前的目录。
升级脚本先挪走旧目录后,解开中途失败会把那一份放回去。补丁没写完不清除升级标记,下次启动再试。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 13:30:45 +08:00 |
|
 叫我小杨同学andCursor
|
10a597d6ff
|
fix: 回退只撤最后一轮,提示词只保留一份。
解包改到旁边的目录,失败时放回上一份。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 13:10:15 +08:00 |
|
 叫我小杨同学andCursor
|
3cede10253
|
fix: 发布 1.1.43,没定位到宿主时不再把补丁全部显示成跳过。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 12:20:44 +08:00 |
|
 叫我小杨同学andCursor
|
9ab3b0fb9a
|
fix: 发布 1.1.42,写明自己的服务器怎么登记。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 02:00:05 +08:00 |
|
叫我小杨同学
|
59d176eac8
|
merge: 合入 #51,保留 0.2.0 旧锚点并补上 0.1.x 入口。
|
2026-09-30 22:12:03 +08:00 |
|
 叫我小杨同学andCursor
|
e8b745e29e
|
fix: 发布 1.1.41,官方模式与红队分开注入,回退留在当前会话。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 20:00:23 +08:00 |
|
qianxuno
|
ce279104d6
|
fix: 修正 escalation 目标解析、desktop-shell 入口探测,并重新对齐 0.1.x 锚点
1) targetFiles 的 "escalation" 用 firstExisting,只认 lib/types/escalation.js(编译残留),
而运行时加载的是包入口 lib/index.js —— escalation 实现被 bundle 内联进了它。
结果 #13/#14/#34/#35 的替换全部落在不被执行的文件上:设置页显示「已应用」,
运行行为零变化(可对照 lib/index.js 里仍留着原版
`[sandbox: escalation available ...]` 与 `[sandbox: file access denied ...]`)。
改为 allExisting 并让 lib/index.js 排前,两个文件都覆盖。
2) officialShellMain() 只找 <app>/lib/main.js;官方桌面壳 0.1.3 起入口直接在
<app>/main.js,于是 desktop-shell 永远未定位、#45/#46 被误报成「文件缺失」。
两种布局都探测。
3) #15 补 dsh-sandbox-local 新版 confine(argv, policy) 锚点(去掉 async/signal 与
policy 规范化),旧签名保留。
4) #23 file 补 tool-subagent(0.1.7 起深度默认在工具参数上),新增
z.union([...z.const("provider-managed")]).default(3) 锚点,旧锚点保留。
5) #47 补 pi-ai 新版 context.systemPrompt 锚点,旧 initialSystemText 锚点保留。
所有旧锚点全部保留,向后兼容 0.1.5 / 0.1.6 / 0.1.7 / 0.2.0 环境。
实测环境:DSH Desktop 0.1.3.0 + harness 包 0.1.2-rc.1(安装形态
resources/app.asar.unpacked/dsh/node_modules/@deepseek-ai,与 resources/runtime
是 junction 同一份文件)。
修复前 30/45 已清洗、9 条 skipped/missing;修复后 36/45、0 待清洗,
涉及改写的文件全部 node --check 通过。
|
2026-09-30 11:07:28 +08:00 |
|
叫我小杨同学
|
925f7d3f0f
|
fix: 发布 1.1.40,适配 DSH 0.2.0 并应用后自动重启
Anthropic OAuth 去掉 Claude Code 首段;移除 0.2 无效的 patch 41;应用成功后自动重启宿主。
|
2026-09-30 01:07:24 +08:00 |
|
 叫我小杨同学andCursor
|
a049e3c7d5
|
fix: 发布 1.1.39,中文 Windows 官方桌面更新不再卡在准备重启
Fixes #47
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 20:10:51 +08:00 |
|
 叫我小杨同学andCursor
|
701b4188cd
|
fix: 发布 1.1.38,红队守住目标并修好模式不显示
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 18:15:28 +08:00 |
|
 叫我小杨同学andCursor
|
38e3bdce70
|
fix: 1.1.25 注释里 profiles/*/ 提前结束块注释导致 SyntaxError
块注释不能写 */,改为 profiles/<name>/。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 00:47:23 +08:00 |
|
 叫我小杨同学andCursor
|
3d49ccb501
|
fix: 发布 1.1.25,保护用户 profile cordis.patch.yml 不被 bak 回滚(#43)
从 targetFiles/backup/revert 移除用户 patch 层,并清理历史误建 bak,避免升级自愈覆盖用户 insert。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 00:46:54 +08:00 |
|
 叫我小杨同学andCursor
|
d31894a931
|
fix: 发布 1.1.24,修源码版桌面误判与 apps/cli 误写(#40 / #41)
pathLooksDesktop 需安装形态才判桌面;源码 apps/cli 跳过 hide-console;revertAll 无 bak 只跳过不删。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-27 23:45:32 +08:00 |
|
Musan
|
fd661ec593
|
fix: #1/#2/#3 补 skipIfMarked,修掉提示词每次 apply 叠加 +841 字符的回归
(本提交基于 v1.1.22 / 75e7a2d;此前的 8c3fdc9 基于 1.1.23-beta.1,
因上游把 beta 移出 master,故在 1.1.22 上重建)
现象
#1 / #2 / #3 的替换链里,新版文本以旧版文本为**前缀**:
const STRONG_SCOPE = STRONG_SCOPE_BODY + 授权尾 + 反拒绝尾 // 最新
const STRONG_SCOPE_V1 = STRONG_SCOPE_BODY // 旧
const STRONG_SCOPE_V2 = STRONG_SCOPE_BODY + 授权尾 // 中间版
// #3 的替换 ③: STRONG_SCOPE_V2 → STRONG_SCOPE ← 产物仍以 V2 开头,永远命中
于是每次 apply 都在同一处再叠一层。用插件自己的 applyReplacementsToText 连跑 5 次:
run1..run5: changed=true Δlen=+841 each 标记出现=2,4,6,8,10
#1 / #2 结构相同(STRONG_INTRO / _V1 / _V2)。宿主
dsh-agent-instructions/lib/index.js 已实测被叠到 57556 字符(原 53262,多 5 层)。
根因
markers 默认只参与"报状态",不参与"防重复应用":
if (patch.skipIfMarked && patchApplied(source, patch)) { … 跳过 … }
全 44 项里只有 #41 / #42 / #45 设了 skipIfMarked,而 #1 / #2 / #3 的 markers
(["ACTIVE and MANDATORY for the stated scope", "Do not soft-refuse or hard-refuse"])
在文件中明明都命中,却因为 skipIfMarked 为假而完全不生效。
两者相加 = 每个 autoApplyOnStart 周期给 system prompt 多叠 841×2~3 字符,
每次重启继续累加(不崩溃,但提示词线性膨胀、指令重复)。
修复
与 #41/#42/#45 一致,给 #1 / #2 / #3 补 `skipIfMarked: true`。
新增 scripts/test-patch-idempotence.mjs(npm run test:idempotence):
静态断言三者都带该字段,并对 #3 重复应用 5 轮断言逐字节不变;
同时摘掉 skipIfMarked 复现叠加,确保测试真的覆盖到这个回归。
验证
修复前:连跑 5 次 → 每次 +841 字符,永不收敛
修复后:第 1 次 apply 落地,再连跑多次 applied=0 且逐字节不变
测试:npm run test:idempotence → ok(#3 收敛长度=1957,无守卫时 3 轮累计增长=2523)
兼容性
纯增量:只加一个布尔字段 + 一个测试脚本,不改变任何 pattern / replace / markers。
|
2026-09-27 23:38:33 +08:00 |
|
 叫我小杨同学andCursor
|
75e7a2d849
|
fix: 发布 1.1.22,官方桌面 app.asar 还在时应用不再 ENOENT
归档还在时改写真实 resources/app;没有归档时仍用 node:fs。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-27 14:57:48 +08:00 |
|
 叫我小杨同学andCursor
|
4ef30254f2
|
fix: 发布 1.1.21,修复 #43、#9、#15、#23、#42 报必需补丁失败
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-25 21:32:19 +08:00 |
|
 叫我小杨同学andCursor
|
232c9e2461
|
feat: 发布 1.1.20,官方桌面升级安装已下载的新版本
对准 dsh 0.1.7-rc.2,并保留 0.1.7-rc.1 的旧锚点。安装目录不写死盘符。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-25 14:38:21 +08:00 |
|
 叫我小杨同学andCursor
|
214fd47a8e
|
feat: 发布 1.1.19,支持官方桌面 EXE
官方客户端可以应用并自己重启;修掉重启弹窗、残留 PowerShell,以及更新时要手动还原再应用的问题。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-25 02:47:29 +08:00 |
|
 叫我小杨同学andCursor
|
4bed650680
|
fix: 发布 1.1.18,重启打开新地址并收掉重复的 settings 补丁
旧页面 token 刷新后无效,重启改为按新进程地址打开浏览器。已叠坏的 legacyApplyPath 在应用时收成一份。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-24 22:19:27 +08:00 |
|
 叫我小杨同学andCursor
|
ec6ef45286
|
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
|
16174a5ba2
|
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
|
3e4f66f813
|
fix: bash 超时注记改成 YAML 注释,避免启动校验失败 (#36)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-24 12:22:07 +08:00 |
|
 叫我小杨同学andCursor
|
aedc58833f
|
fix: bash 超时正则每次克隆,避免 lastIndex 残留 (#35)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-24 10:34:38 +08:00 |
|
 叫我小杨同学andCursor
|
111427b198
|
feat: 发布 1.1.15
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-24 09:23:05 +08:00 |
|
 叫我小杨同学andCursor
|
426c168fb4
|
fix: 去掉点了也不变的 fetch 启用补丁,后面编号前移
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-23 23:42:47 +08:00 |
|
 叫我小杨同学andCursor
|
6a3f89da8d
|
fix: 正式版追上后隐藏旧测试版,phase-1 不再清上下文
版本列表按正式版上限藏掉已追上的测试版;提交号对不上时按本机版本号标当前。phase-1 不再清空 contexts,也不改消息白名单。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-23 13:05:28 +08:00 |
|
Musan-34
|
278eabbc07
|
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
|
d3b3bc3551
|
feat: 发布 1.1.12,测试版 Skill 进入正式版
正式版带上 Skill 导入,并保留不再钉上一轮全文、按提交号标当前和拒绝跨站请求。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-22 11:21:04 +08:00 |
|
 叫我小杨同学andCursor
|
014a225822
|
fix: 版本按提交号标当前,并拦住跨站调用与旧 pin 补丁
同版本号的旧标签不再显示当前。本机接口拒绝跨站请求,更新只接受已知 ref。#41 去掉 dsh-purge:committed 短路。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-22 00:15:14 +08:00 |
|
 叫我小杨同学andCursor
|
4dda34588f
|
fix: 测试版同步系统提示词只注入一次,并写清 1.1.11 变更
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-21 10:35:26 +08:00 |
|