Adapt settings client for DSH 0.2.0 configForms without breaking boot.

Soft-inject configForms/settingsScope and mark Config fields volatile so desktop 0.2.0 no longer waits forever on the removed settingsScope service.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-09 15:31:33 +08:00
parent a41a2b53c9
commit fcc8f75560
6 changed files with 117 additions and 44 deletions

1
lib/index.d.ts vendored
View file

@ -10,6 +10,7 @@ export interface Config {
historyLimit?: number
overlapPolicy?: 'skip'
misfirePolicy?: 'skip'
allowExternalCwd?: boolean
}
export function apply(ctx: Context, config?: Config): void