diff --git a/src/preload/api/preflight/preflight-api.ts b/src/preload/api/preflight/preflight-api.ts index 1a302473560..8051b767317 100644 --- a/src/preload/api/preflight/preflight-api.ts +++ b/src/preload/api/preflight/preflight-api.ts @@ -48,7 +48,11 @@ export type PreflightApi = { ) => Promise /** Complete by default; background callers opt into host-owned enabled preferences. */ detectAgents: ( - args?: PreflightRuntimeContext & { enabledOnly?: boolean; wakeWslDistro?: boolean } + args?: PreflightRuntimeContext & { + enabledOnly?: boolean + wakeWslDistro?: boolean + userInitiated?: boolean + } ) => Promise /** A WSL distro a background check was refused for is running now; re-ask. Desktop only. */ onWslDistroRunning?: (callback: (distro: string) => void) => () => void @@ -56,7 +60,11 @@ export type PreflightApi = { zcodeInteractiveCapability: () => Promise /** `wakeWslDistro`: a user act that may start a stopped WSL distro; background refreshes omit it. */ refreshAgents: ( - args?: PreflightRuntimeContext & { enabledOnly?: boolean; wakeWslDistro?: boolean } + args?: PreflightRuntimeContext & { + enabledOnly?: boolean + wakeWslDistro?: boolean + userInitiated?: boolean + } ) => Promise detectRemoteAgents: (args: { connectionId: string }) => Promise detectRemoteWindowsTerminalCapabilities: (args: { connectionId: string }) => Promise<{