mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 12:10:22 +08:00
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>
This commit is contained in:
1 parent
8079d69bfb
commit
f51c1d6ddc
17 files changed
+957
-429
No files matched your search
@@ -54,7 +54,8 @@ export function applyShouldRestart({
|
||||
appliedCount = 0,
|
||||
promptReady = false,
|
||||
} = {}) {
|
||||
if (!complete && !promptReady && !(sealed && Number(appliedCount) > 0)) return false;
|
||||
if (promptReady || sealed) return true;
|
||||
// 密封桌面:点「应用」后必须完全退出才能换 asar / 加载 resources/app,与补丁是否标 applied 无关。
|
||||
if (sealed) return true;
|
||||
if (complete || promptReady) return true;
|
||||
return Number(appliedCount) > 0;
|
||||
}
|
||||
Reference in new issue
Block a user