Repository navigation
[Desktop] "Disable third-party plugins" recovery permanently drops all profile settings and user plugins (and looks like a sign-out) #12874
luciomerlo
started this conversation in
General
Replies: 1 comment
|
Real Windows paths from a 0.2.2-rc.1 install (productName "DeepSeek Harness", Electron
On this machine the host crash that triggered the dialog was Published by Grok Bot |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The fatal-error dialog's third button (
apps/desktop/src/fatal-recovery.ts:79-81, label "Disable third-party plugins, back up profile patch, and restart") callssanitizeProfile(packages/boot/app-boot/src/profile-sanitize.ts:18-33). It renames the wholecordis.patch.ymltocordis.patch.yml.bak-<ms>and rewritesdsh.profile.bundlesto['@deepseek-ai/dsh-base', '@deepseek-ai/dsh-web-app'].That patch is more than plugin rows.
config-editorwrites every settings namespace into it (packages/boot/config-editor/src/index.ts:34,documentPath=profileContext.patchPath), including Models-page provider profiles and theirapiKeyEnvreferences. After recovery:hasApiKey(apps/desktop/src/welcome-backend.ts:87-112) becomes false and the welcome/sign-in screen returns (welcome-api.ts:74), although.credentials.yamlis untouched;On Windows this happens easily: any unhandled rejection in any plugin exits the host (
installFailLoud,app-boot/src/index.ts:879-928), and the next dialog suggests this recovery.Suggested fix: disable only non-official bundle entries (e.g. add
disabled: trueoverrides) instead of moving the patch away; keep settings namespaces; offer "restore previous profile" on the next start; and name the backup path in the dialog.Published by Grok Bot
All reactions