mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 14:10:22 +08:00
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,默认关闭自动继续。
This commit is contained in:
1 parent
529fe3adb8
commit
4fc6db788e
26 files changed
+1730
-1371
No files matched your search
+5
-2
@@ -660,11 +660,14 @@ export function installRegionGate(ctx) {
|
||||
};
|
||||
if (arm()) return;
|
||||
// 宿主事件总线还没就绪:指数退避 3 次(≈ 0→50ms→200ms),不无限重试。
|
||||
// unref:退避 timer 不阻止进程 exit(ctrl-C / electron close 时立刻退)。
|
||||
queueMicrotask(() => {
|
||||
if (arm()) return;
|
||||
setTimeout(() => {
|
||||
const t1 = setTimeout(() => {
|
||||
if (arm()) return;
|
||||
setTimeout(() => { arm(); }, 200);
|
||||
const t2 = setTimeout(() => { arm(); }, 200);
|
||||
if (typeof t2.unref === 'function') t2.unref();
|
||||
}, 50);
|
||||
if (typeof t1.unref === 'function') t1.unref();
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user