mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 09:57:48 +00:00
Expose refresh intent in preflight API types
This commit is contained in:
@@ -48,7 +48,11 @@ export type PreflightApi = {
|
||||
) => Promise<PreflightStatus>
|
||||
/** 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<string[]>
|
||||
/** 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<ZCodeInteractiveCapability>
|
||||
/** `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<RefreshAgentsResult>
|
||||
detectRemoteAgents: (args: { connectionId: string }) => Promise<string[]>
|
||||
detectRemoteWindowsTerminalCapabilities: (args: { connectionId: string }) => Promise<{
|
||||
|
||||
Reference in New Issue
Block a user