fix(ssh): say "Orca on <host>" instead of "managed server" in the UI (#31099)

* fix(ssh): say where Orca runs instead of "managed server" in the UI

Users read "managed server" as hosting run by someone else, so they declined
moving their SSH hosts. Every user-facing string now says "Orca on <host>" or
"this host's Orca server", in all six locales; Settings > "Orca on your SSH
hosts" and the setup line say the code and files stay where they are and only
Orca's list of projects, tabs and terminals moves to the host. CLI command names,
logs and identifiers are unchanged.

Fixes #30880

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(ssh): reassure only when something moves; name the host's label in its row

Review follow-ups: the reassurance shows only while Orca sets itself up or
moves a host, not on every reconnect; the converting line no longer repeats it;
the row names the SSH host's current label; the section description and the
Move anyway dialog stop repeating themselves; translate the Restart dialog's
buttons; drop "managed" from the remaining raw causes and the external
automation refusal.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Neil
2026-10-20 04:18:08 -07:00
committed by GitHub
co-authored by Claude
parent d9a89dcb0c
commit 0ee13f831d
65 changed files with 528 additions and 338 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { GLOBAL_FLAGS } from '../args'
const SELECTOR_NOTE =
'--environment names a managed Orca server this machine deployed over SSH (see `orca environment list`); it is a selector here, not a routing flag.'
const DESKTOP_NOTE =
'Runs on this machine’s Orca desktop app, the same action as Settings > Managed servers. A runtime without the SSH registry (headless `orca serve`) refuses it.'
'Runs on this machine’s Orca desktop app, the same action as Settings > Orca on your SSH hosts. A runtime without the SSH registry (headless `orca serve`) refuses it.'
export const MANAGED_SERVER_COMMAND_SPECS: CommandSpec[] = [
{
@@ -42,7 +42,7 @@ export const MANAGED_SERVER_COMMAND_SPECS: CommandSpec[] = [
'orca environment recover --environment <selector> [--accept-changed-state --yes] [--json]',
allowedFlags: [...GLOBAL_FLAGS, 'accept-changed-state', 'yes'],
notes: [
'When a rejected build changed profile state, recover refuses rather than restart the previous build over it. --accept-changed-state --yes restores the prelaunch snapshot instead, the same as Restore in Settings > Managed servers; what the rejected build changed is discarded.',
'When a rejected build changed profile state, recover refuses rather than restart the previous build over it. --accept-changed-state --yes restores the prelaunch snapshot instead, the same as Restore in Settings > Orca on your SSH hosts; what the rejected build changed is discarded.',
SELECTOR_NOTE,
DESKTOP_NOTE
],