mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-30 19:00:22 +08:00
1 parent
d4a0bb572f
commit
111427b198
8 files changed
+59
-35
No files matched your search
+4
-1
@@ -230,7 +230,7 @@ function installIdentityOverride(ctx, config = {}) {
|
||||
return rewritePromptAssembly(assembled, {
|
||||
fallbackInject: inject,
|
||||
dropMnemon: config.stripMnemon !== false,
|
||||
dropPurgeAfterFold: true,
|
||||
dropPurgeAfterFold: false,
|
||||
context,
|
||||
});
|
||||
};
|
||||
@@ -1110,6 +1110,9 @@ function installWebServer(ctx, cfg) {
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (typeof body?.content === "string") {
|
||||
await core.saveOverrideContent(state.dsh_home, body.content);
|
||||
}
|
||||
await core.backupAll(state.ai_base);
|
||||
const report = await core.applyPatches(state.ai_base);
|
||||
const override = await core.readOverrideForUi(state.dsh_home);
|
||||
|
||||
Reference in new issue
Block a user