 叫我小杨同学andCursor
|
eb9af6b8fa
|
release: 1.1.68
Co-authored-by: Cursor <cursoragent@cursor.com>
#92 技能块标量 description;#93 红队更新路径与 GitHub 回落;#94 桌面 CLI unpacked 回退;#95 拆除 refusal-recover;#96 bash 等待迁回 60s。注入置顶,capability 改名,用户 prompt 一律 followup,默认关闭自动继续。
|
2026-10-11 02:21:35 +08:00 |
|
叫我小杨同学
|
2595360b79
|
fix: 补丁 81 匹配新宿主 system 变量 + 银行域名加进 attack 拒答表
排查结论钉死:日志投影 assemble 有注入 (seq 8, 45576 字节),
但线上送 LLM 的 system 只有 ~6KB (capability+技能目录,无注入),
两份 assemble 完全不重叠。核对宿主 agent-loop/lib/index.js:
step(assembly) 的实际行是 `const system = renderPrompt(assembly);`,
旧 pattern `const { assembly } = decision; const renderedPrompt = ...`
对新宿主 100% 不命中 → hang-inject 从未执行。
补丁 81 加一条新宿主优先 pattern,独立不依赖补丁 74 的 prepare 块。
把 const system 改成 let system,在 renderPrompt 之后 / buildRequest
之前前置 hungPrompt 全文(有 needle 查重防叠层)。buildRequest 收到
的 system 就是带注入的,线上渲染路径的旁路被堵死。
net-scope 原来只按 CN/HK/MO 后缀分区;.com/.co.jp 类通用后缀
的跨国银行不命中。新增 BANK_HOSTS 覆盖美/英/德/法/瑞/荷/意/西/
北欧/日/韩/新加坡/澳新/加/印/东南亚/中东/俄/拉美/非洲/港澳台陆
主流银行、央行、国际金融组织、主流加密交易所,子域也命中。
taskTargetHit 落到 regionOfSuffix 之后,返回 kind:"bank"。
|
2026-10-09 16:08:01 +08:00 |
|
叫我小杨同学
|
92aafa0101
|
fix(#84+#86): denial stream 用 compact chunk + 补丁 42 升级 plainConfig
#84: denialStream 之前打 type:text-chunks 带 .chunks 字段,
但宿主 firstRunMemberTime 认的是 .texts —— 字段错配继续炸。
改成逐 chunk 包成 { type:"chunk", time, chunk } 走单条路径。
#86: 补丁 42 register/commitLegacy 两个 validate 前漏 plainConfig,
cosmokit volatile 字段作为 live 对象引用灌进 validate,日志爆红。
两处 replace 加 plainConfig 包裹;markers 改成 #86 新串,
再加两条升级 pattern 匹配老用户已清洗、缺 plainConfig 的产物,
确保 skipIfMarked 短路后老用户也能走升级补齐。
|
2026-10-09 15:47:04 +08:00 |
|
叫我小杨同学
|
567aba33a3
|
fix(hang+leak): 7 文件修 assemble throw / crash listener / Map FIFO
卡死路径三连 (UI 发不出 / 任务到一半停):
1. index.js:system-prompt/assemble handler 的 await next() 加 try/catch。
下游 waterfall 任一环节 throw 就把整条 assemble 弄死,原地卡住发不出去。
2. identity.js:installAssembleGuard wrapped 的 await orig(...) 加 try/catch。
宿主原生 assemble throw 后 sections.map 会崩,症状就是"任务到一半苏醒"
"连保存都救不了"的拒答 - 吞掉返回空装配兜底。
3. desktop.js:scheduleAsarSwapRestart 的 PowerShell spawn 加 'error' listener。
没 handler 时 Node 当 uncaughtException 直接把宿主崩掉(2026-10-09 crash
log at ChildProcess.<anonymous> main.js:3725 根因)。
启动卡顿 / ReDoS:
4. desktop.js:PROCESS_EXE_SCRIPT execFileSync timeout 15s → 6s。
Win32_Process 枚举 1-3s 够用, 15s 把启动期 UI 卡 15s 太狠。
5. net-scope.js:ATTACK 正则加 100KB input cap。零宽环视 + 超长输入
(贴代码/日志)会 ReDoS 把事件循环卡死。
内存积累(cordis 无 session/removed 事件可挂, FIFO 兜底):
6. continue-retry.js:createTracker bySession 加 CAP=200 / EVICT=50。
7. refusal-recover.js:bySession 加 CAP=200 / EVICT=50。
8. redteam/role-section.js:roleBySession 模块级 Map 加 CAP=400 / EVICT=100。
全局 handle 清理:
9. index.js:installHungPromptGlobal 返回 fn, effect cleanup 带 identity
校验 delete __dshPurgeHungPrompt, 避免热重载时旧 cleanup 挖掉新实例。
版本号保持 1.1.67, 不发新版。
|
2026-10-09 14:06:07 +08:00 |
|
叫我小杨同学
|
1726711f52
|
fix: 发布 1.1.67,#85/#84 + 启动种子 + 85 项清单一次性修复
- #85 continue 续跑加 failStreak 阈值;refundContinue 不清 lastContinueSeq,连错 3 次放弃
- #84 region gate denialStream 单批 text-chunks 带 .length,不再卡宿主 UI
- 启动即种子:$DSH_HOME/prompt-inject.md 为空/缺失自动写加密默认稿,用户改过的不动
- Windows 重启脚本:pid+random 命名 + 直接 wscript.exe //B,不再 /IM 杀全名
- 官方 CLI shim 原子写 + .dsh-purge.bak 可回退
- WScript clean 判定两 null 放行,首装不卡;探测缓存不缓存空结果
- scheduleAsarRenameWhenIdle 的 .rename-pending 锁时钟回拨/30min 失效自动清
- 三处 execFileSync 加 maxBuffer: 8MB,大结果不再 ENOBUFS 静默
- net-scope / identity / hooks-deny / extract-asar / client.js / core.js / update.js / skills.js / refusal-recover / rewind / rules / reapply 等共 85 项修复
|
2026-10-09 11:52:39 +08:00 |
|
 叫我小杨同学andCursor
|
0a291fd07f
|
fix(net-scope): region gate denial 改为紧致 stream 记录
Fixes the host crash in #84.
denialStream 原先写入 4 条裸 chunk(block-start/text-delta/block-end/finish)。dsh-llm firstRunMemberTime 只认 chunk/text-chunks/reasoning-chunks/tool-call-chunks,裸记录没有 .texts,append 当下 TypeError 被当成 fatal load failure,systemd Restart=always 后 web token 一直变。现包成 { type: chunk, time, chunk },与 AssistantStreamAccumulator 一致。不改写历史 session.v4.jsonl.zstd。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-09 10:16:14 +08:00 |
|
 叫我小杨同学andCursor
|
ed676bcb11
|
fix: 发布 1.1.64,红队流程八项修复
新建靶标才换角色稿;计分、预检和并发名额按现行规则走。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-08 11:04:18 +08:00 |
|
 叫我小杨同学andCursor
|
8dcbad241b
|
fix: 发布 1.1.61,多宿主 Apply 与 #73/#74、极简 preset
- Apply/reapply 同时写 npm-global 与桌面宿主;#73 地区闸门误拦;#74 提示词落盘与 resolveInjectText
- 极简 #80 官方 shell;agent-preset/selected 优先;adaptInjectForMinimalPreset;refusal-recover 扩展
- identity 注入去重与组装;默认提示词重加密 asset-table.js
Closes #73. Closes #74.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-07 18:13:19 +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
|
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
|
c29d78b291
|
fix: 发布 1.1.44,提示词按模式注入并让子代理吃到同一份。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 19:18:15 +08:00 |
|
 叫我小杨同学andCursor
|
7181ae5750
|
fix: 已登记的 IP 或主机名不再被地区拦截。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 22:26:54 +08:00 |
|
 叫我小杨同学andCursor
|
e8b745e29e
|
fix: 发布 1.1.41,官方模式与红队分开注入,回退留在当前会话。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 20:00:23 +08:00 |
|