mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 09:40:22 +08:00
fix: 发布 1.1.60,极简/PTC 清洗、回退轮次与桌面补丁
- 反转 run_code/沙箱/plan 拦截(#60/#61/#63);minimal 补 agent-instructions(#26) - 回退按当前轮定位(rewind + #74/#75);Apply 写入 client 包避免取消重启 - 默认提示词重新加密;#66/#67/#69/#71/#70 与 README #68 安装说明 Closes #66, #67, #69, #70, #71. Docs for #68. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7ad39ad832
commit
f50ebbc032
25 files changed
+1461
-792
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ async function main() {
|
||||
const { made, errors } = await core.backupAll(state.ai_base);
|
||||
for (const b of made) console.log(` ✓ 备份 / backup → ${b}`);
|
||||
for (const [p, e] of errors) console.log(` ⚠ 备份失败 ${p}: ${e}`);
|
||||
const report = await core.applyPatches(state.ai_base, core.ALL_PATCHES, { preserveClientBundles: true });
|
||||
const report = await core.applyPatches(state.ai_base, core.ALL_PATCHES, { preserveClientBundles: false });
|
||||
for (const r of report) {
|
||||
const m = r.status === "applied" ? "✓ 已清洗" : r.status === "already" ? "- 已是最新" : r.status === "missing_file" ? "⚠ 文件缺失" : `✗ ${r.status}`;
|
||||
console.log(` ${m} patch #${String(r.patch_id).padEnd(2)} ${r.name}`);
|
||||
|
||||
Reference in new issue
Block a user