 叫我小杨同学andCursor
|
faf7e10405
|
fix: 已登记的 IP 或主机名不再被地区拦截。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 22:26:54 +08:00 |
|
叫我小杨同学
|
271839b418
|
merge: 合入 #51,保留 0.2.0 旧锚点并补上 0.1.x 入口。
|
2026-09-30 22:12:03 +08:00 |
|
 叫我小杨同学andCursor
|
29268373a6
|
fix: 新对话把提示词放到系统提示最前,面板改为白墨玻璃。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 21:45:44 +08:00 |
|
 叫我小杨同学andCursor
|
eed95f79cb
|
fix: 发布 1.1.41,官方模式与红队分开注入,回退留在当前会话。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 20:00:23 +08:00 |
|
qianxuno
|
4a6e15eba5
|
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 |
|
叫我小杨同学
|
3bc63beca4
|
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
|
be2189d290
|
fix: 发布 1.1.39,中文 Windows 官方桌面更新不再卡在准备重启
Fixes #47
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 20:10:51 +08:00 |
|
 叫我小杨同学andCursor
|
53d472f3c7
|
fix: 发布 1.1.38,红队守住目标并修好模式不显示
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 18:15:28 +08:00 |
|
 叫我小杨同学andCursor
|
4a51f9841c
|
fix: 红队引导不再替用户下载工具,缺 setup.sh 时改走环境适配
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 14:48:35 +08:00 |
|
 叫我小杨同学andCursor
|
9be495de2c
|
fix: 发布 1.1.37,修改演示台环境配置滚动问题
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 00:24:53 +08:00 |
|
 叫我小杨同学andCursor
|
776812569a
|
fix: 发布 1.1.36,解决红队模式拒绝问题
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-29 00:13:29 +08:00 |
|
 叫我小杨同学andCursor
|
065d00633b
|
fix: 发布 1.1.35,技能路径跟随安装目录
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 21:45:47 +08:00 |
|
 叫我小杨同学andCursor
|
7fc64e4b45
|
fix: 发布 1.1.34,知识库列出本机模板,更新包在三端都能解压
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 18:28:55 +08:00 |
|
 叫我小杨同学andCursor
|
56007e9ec0
|
fix: 去掉测试版通道,版本号保持 1.1.33
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 18:16:40 +08:00 |
|
 叫我小杨同学andCursor
|
e41a692572
|
fix: 发布 1.1.33,已重启后打开面板不再重复要求重启
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 18:09:19 +08:00 |
|
 叫我小杨同学andCursor
|
f988474f2f
|
fix: 发布 1.1.31,演练台进入正式版,回退不再在侧边栏堆分支
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 17:35:43 +08:00 |
|
 叫我小杨同学andCursor
|
181fe141e3
|
fix: 发布 1.1.30,切换版本改为自行下载,并去掉提示词死循环
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 16:31:56 +08:00 |
|
叫我小杨同学
|
df25a90b0d
|
Revert "fix: 发布 1.1.29,更新下载不再把 GitHub 302 当成失败"
This reverts commit 9504b8ab1a.
|
2026-09-28 15:46:02 +08:00 |
|
 叫我小杨同学andCursor
|
9504b8ab1a
|
fix: 发布 1.1.29,更新下载不再把 GitHub 302 当成失败
- 安装包里的 1.1.26 仍用 fetch 拉 github.com/archive,宿主不跟随 302 就报 http 302,切换失败所以版本一直停在旧的
- 下载改走 Node https,302 读 Location;没有 Location 时把 archive 地址改写成 codeload
- 自动更新只跟版本号,并在安装前写 stamp,避免 add --force 重启后再次更新
- 钉住的标签只标一条为当前
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 15:39:34 +08:00 |
|
 叫我小杨同学andCursor
|
00b4c6f93d
|
fix: 发布 1.1.28,修更新 http 302 与测试版列表被正式号藏空
- 归档下载改直连 codeload,并手动跟随 301/302,避免 Electron 下 github.com/archive 报 http 302
- 前端 keepListedVersion 与后端一致:beta tip / beta 分支始终可见;tip SHA 失败时 raw/jsDelivr 回退
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 15:21:11 +08:00 |
|
 叫我小杨同学andCursor
|
1f5c2ff6e2
|
fix: 发布 1.1.27,修应用重启后进规则设定仍弹「需要重启」
- 手动应用成功后写入 applied 戳,避免重启 settle 误判未对齐再要求重启
- 点重启时清掉 boot_full_quit 粘性标记;status 按布尔值同步弹窗
- web waitForRestart 必须先看到旧进程掉线再判定成功,避免同进程误刷新又弹窗
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 10:36:00 +08:00 |
|
 叫我小杨同学andCursor
|
b6324250bd
|
fix: 发布 1.1.26,正式版同号不再藏掉测试通道 tip
beta 分支头始终可见,避免 1.1.25 正式把并行测试版(含红队)整通道过滤掉。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 09:56:51 +08:00 |
|
 叫我小杨同学andCursor
|
7aab036818
|
fix: 1.1.25 注释里 profiles/*/ 提前结束块注释导致 SyntaxError
块注释不能写 */,改为 profiles/<name>/。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-28 00:47:23 +08:00 |
|
 叫我小杨同学andCursor
|
fc9215379f
|
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
|
05b64bf82f
|
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
|
82a3cf0f90
|
fix: #1/#2/#3 补 skipIfMarked,修掉提示词每次 apply 叠加 +841 字符的回归
(本提交基于 v1.1.22 / 58c950a;此前的 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
|
58c950ae65
|
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
|
4538da436d
|
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
|
978538f0ae
|
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
|
fd8d47c00f
|
feat: 发布 1.1.19,支持官方桌面 EXE
官方客户端可以应用并自己重启;修掉重启弹窗、残留 PowerShell,以及更新时要手动还原再应用的问题。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-25 02:47:29 +08:00 |
|
 叫我小杨同学andCursor
|
00ccf4a1f1
|
fix: 发布 1.1.18,重启打开新地址并收掉重复的 settings 补丁
旧页面 token 刷新后无效,重启改为按新进程地址打开浏览器。已叠坏的 legacyApplyPath 在应用时收成一份。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-24 22:19:27 +08:00 |
|
 叫我小杨同学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
|
b2c2fad6fd
|
feat: 发布 1.1.14
回退清队列会等 updateQueue 结束,条目已经不在时不再把宿主打成未处理异常。兜底回退按钮记下时间,轮询不会把同一次回退再打开一遍。开放回合切在最后一个已闭合回合,不再多丢上一轮;等不到结束仍然直接失败。
同时写入 1.1.13 之后已在 master 上的修复:bash 超时补丁不再每次启动多补一个 0,正式版追上的测试版不再列出,phase-1 不再清空 runtime context。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-23 14:51:22 +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
|
aca53d45e1
|
fix: 插件重装改用 tar.gz,避免没装 git 时解析失败 (#30)
pnpm 解析 github: 和 git+https 会执行 git ls-remote。插件自己的更新改为 GitHub archive 包,不依赖本机 git。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-23 00:08:22 +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
|
566fc3683c
|
fix: 停用钉住上一条系统提示,避免梁神预设每步膨胀 (#29)
每轮只把注入折进 persona。钉最近全文会和每轮追加的 section 叠成线性增长,前缀缓存失效。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-22 00:04:26 +08:00 |
|
 叫我小杨同学andCursor
|
5629c35e22
|
feat: 测试版标出 Skill 官方调用方式(/名称与模型 skill 工具)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-21 13:30:58 +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
|
a9fc371898
|
fix: 切换立即标当前,覆盖后刷新设置页不再强制重启
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-20 17:01:37 +08:00 |
|
 叫我小杨同学andCursor
|
c825fd219a
|
fix: 本机只标当前,下线 1.1.11-beta,Skill 仅 1.1.12 测试版
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-20 16:55:09 +08:00 |
|
 叫我小杨同学andCursor
|
f9386d77d6
|
feat: 发布 1.1.11,正式/测试分栏切换(不含 Skill)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-20 16:46:01 +08:00 |
|