feat(settings): mutual exclusion with the dsh-web-ui aionui-panel provider (v0.13.0) (#181)

Reads the aionui-panel settings namespace's rightPanel provider choice: while
it resolves to 'aionui-panel', the whole sidebar does not mount (host
settings.get reports externalDisable, the client mount gate skips mounting
and the link/open-path/turn-tail takeovers step aside). Live via the
settings/document-updated push (best effort; deployments without the
'remote' service fall back to boot-time evaluation). No new user-facing
setting — the aionui panel card remains the single source of truth.
This commit is contained in:
Atlas Zeng authored and GitHub committed 2026-08-18 00:44:22 +08:00
1 parent 6ee1ba11d0
commit 9ad0a49b8a
14 files changed
+185 -38

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ export const api = {
})),
/** Read the side card preferences (plugin-global, no session scope). */
settingsGet: () =>
call<{ value?: unknown; revision?: number }>('settings.get', {}),
call<{ value?: unknown; revision?: number; externalDisable?: boolean }>('settings.get', {}),
/** Merge a patch into the side card preferences (revision-guarded). */
settingsUpdate: (patch: Record<string, unknown>, expectedRevision?: number) =>
call<{ value?: unknown; revision?: number }>('settings.update', {