mirror of
https://github.com/stablyai/orca.git
synced 2026-10-01 16:02:03 +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>
20 lines
453 B
TypeScript
20 lines
453 B
TypeScript
export function pickRemoteCliEnv(env: NodeJS.ProcessEnv): Record<string, string> {
|
|
const picked: Record<string, string> = {}
|
|
for (const key of [
|
|
'ORCA_TERMINAL_HANDLE',
|
|
'ORCA_WORKTREE_ID',
|
|
'ORCA_PANE_KEY',
|
|
'ORCA_AGENT_LAUNCH_TOKEN',
|
|
'ORCA_WORKSPACE_ID',
|
|
'ORCA_USER_DATA_PATH',
|
|
'PATH',
|
|
'Path'
|
|
]) {
|
|
const value = env[key]
|
|
if (typeof value === 'string') {
|
|
picked[key] = value
|
|
}
|
|
}
|
|
return picked
|
|
}
|