叫我小杨同学
|
a99fba5e86
|
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 |
|
叫我小杨同学
|
d26e69a4fa
|
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
|
3df4f489b1
|
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
|
24710ff2d1
|
fix: 发布 1.1.64,红队流程八项修复
新建靶标才换角色稿;计分、预检和并发名额按现行规则走。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-08 11:04:18 +08:00 |
|
 叫我小杨同学andCursor
|
f51c1d6ddc
|
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
|
81c48bf465
|
fix: 发布 1.1.46,略过有问题的 1.1.45。
工作区说明改回不能压过 system,地区闸门只认大陆、香港、澳门域名,并重新加密默认提示词。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 03:28:46 +08:00 |
|
 叫我小杨同学andCursor
|
96c54b8431
|
fix: 1.1.45 地区闸门不再因单个 CDN 噪声 IP 误拦第二轮。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 02:35:24 +08:00 |
|
 叫我小杨同学andCursor
|
6e40734807
|
fix: 发布 1.1.45,稳住默认注入并修正清洗进度显示。
点应用即写入默认提示词,不必先保存。剥掉外层 project_instructions 壳并钉死会话系统提示,避免第二轮注入失效。未定位宿主不再显示 0/63,本机不需要的项计入已就绪。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-02 02:09:44 +08:00 |
|
 叫我小杨同学andCursor
|
2ecce304db
|
fix: 发布 1.1.44,提示词按模式注入并让子代理吃到同一份。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-10-01 19:18:15 +08:00 |
|
 叫我小杨同学andCursor
|
faf7e10405
|
fix: 已登记的 IP 或主机名不再被地区拦截。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 22:26:54 +08:00 |
|
 叫我小杨同学andCursor
|
eed95f79cb
|
fix: 发布 1.1.41,官方模式与红队分开注入,回退留在当前会话。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-30 20:00:23 +08:00 |
|