fix(settings): preserve config catalog source anchor

This commit is contained in:
imccyu
2026-08-27 21:57:57 +08:00
parent 89ee54ebb7
commit 72cf4fae83
@@ -37,17 +37,17 @@ export type * from './types.ts'
const settingsNamespaceRequestSchema = z.object({ ns: z.string().min(1) })
/** Read abort state afresh after an awaited provider or opener call. */
function isAborted(signal: AbortSignal): boolean {
return signal.aborted
}
/** Native document-opening policy. */
export interface Config {
/** Override platform desktop-opener detection. */
readonly nativeOpen?: boolean
}
/** Read abort state afresh after an awaited provider or opener call. */
function isAborted(signal: AbortSignal): boolean {
return signal.aborted
}
/** Host integrations replaceable by direct unit tests. */
export interface SettingsControllerInternals {
readonly openPath?: (path: string, signal: AbortSignal) => Promise<void>