mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(settings): preserve config catalog source anchor
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user