fix(ssh): turn a host's orca CLI control on by default and stop resetting saved choices (#29856)

* fix(ssh): allow a host's orca CLI to control Orca by default, and stop resetting saved choices

An absent allowRemoteCliControl now means on; only an explicit false turns the
desktop browser bridge and relay-era orchestration commands off. Removes the
one-time reset of saved true values, the consent stamp writes and the reset
notice, which would have silently turned off hosts upgraded from stable.

* fix(ssh): keep the CLI control choice when adding a host from the sidebar

* fix(ssh): read an older client's omitted CLI control switch as off over RPC

* fix(ssh): check the managed fence before routing settings in browser bridge candidates
This commit is contained in:
Neil
2026-10-16 16:08:37 -07:00
committed by GitHub
parent c4c03e89bb
commit dd70294f0c
28 changed files with 282 additions and 157 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { SshTarget } from './ssh-types'
/** On unless the user turned it off; a missing target (removed host) is never allowed. */
export function isRemoteCliControlAllowed(
target: Pick<SshTarget, 'allowRemoteCliControl'> | null | undefined
): boolean {
return target != null && target.allowRemoteCliControl !== false
}