mirror of
https://github.com/stablyai/orca.git
synced 2026-10-03 00:02:19 +00:00
* fix(orchestration): preserve active workers across updates * test(ssh): model absent legacy adoption * test(orchestration): align compatibility contracts * fix(windows): escape updater PowerShell booleans * fix(windows): restore stock uninstall process check * fix(orchestration): keep recovery off renderer startup barrier * fix(orchestration): harden legacy recovery migration * fix(orchestration): close recovery review gaps * fix(orchestration): complete legacy worker cutover recovery * fix(orchestration): preserve legacy workers across updates --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
16 lines
433 B
TypeScript
16 lines
433 B
TypeScript
export function isWaitingCheck(params: unknown): boolean {
|
|
return (
|
|
typeof params === 'object' &&
|
|
params !== null &&
|
|
'wait' in params &&
|
|
(params as { wait: unknown }).wait === true
|
|
)
|
|
}
|
|
|
|
export function getTimeoutMsParam(params: unknown): unknown {
|
|
if (typeof params !== 'object' || params === null || !('timeoutMs' in params)) {
|
|
return undefined
|
|
}
|
|
return (params as { timeoutMs?: unknown }).timeoutMs
|
|
}
|