- One shared EmptyState (icon on a tonal disc, title, one line, primary
action) that follows the design tokens; used by Runs (Start your first
run), Pipelines (Browse templates), Schedules and the chat list (Start a
chat).
- Chat on a server without an agent harness showed "Bad state: No saved
machine is connected.": the federated list now keeps the server's own
refusal, treats an omitted empty list as no chats, and the list shows a
"Set up an agent" state with the harness setup command and Refresh. New
chat shows the same step instead of a form that can only be refused.
- A run that fails because no harness CLI exists names the setup command
beside the raw reason; error advice gains a noHarness kind.
- Templates opened before the app connected stayed on "Not connected";
it now reads again when the connection arrives. The Pipelines empty state
links to Templates, which had no entry point in the UI.
- The first-launch walkthrough waits briefly for the connection, so a
connected web app is no longer told to connect; the empty-server check
treats omitted lists and no chat harness as empty.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A saved server still named by the app ('My server', 'This server',
'Original legacy server' or its address host/IP) takes the hostname the
machine reports in get_status the first time the app connects; typed
names are kept. New servers (legacy migration, Settings with a blank
name, onboarding) start with the address host. A browser on its page
origin with no saved profile shows the reported hostname too. No server
change: get_status already reports the hostname.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The account requests carry the chat in a claude_account body, which the
multi-machine gateway neither routed by nor stripped of its chat@ prefix,
so the server refused them as 'a valid chat session id is required'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the public compatibility parameters while retaining only the Material UI path. Remove Cupertino-only tests so the reviewed settings and server code matches the app's Material-only runtime.
The proxy forwards an HMAC-derived session id (X-Pipelines-Session) on
/connect and POST /files; the server trusts it only on token-authenticated
requests and keys elevation by it, so reconnects stay elevated up to a 24 h
cap. Terminals rely on their su -l login. The app no longer forgets the
elevation on disconnect and asks again only on a fresh refusal.
Carry the protocol error code, wrap each machine's gateway so an
elevation_required refusal shows one native password dialog, elevates that
connection and retries; send the upload token with file uploads; add a Settings
sign-in security section with the weak-password warning and sign out
everywhere; accept the __Host- session cookie.
The answer footer shows '3 files changed +9 -2'; tapping opens the turn's
files in the sheet (wide) or a full-screen page (narrow), and a file opens
the run Changes diff viewer. Patches load through the chat's own gateway.
- Removing the primary machine hands pipelines/runs to the next saved machine
on native hosts; removing the last machine returns to the connect screen
instead of stranding the app on "Server endpoint not configured".
- Add server probes the new machine and asks for its own password in the same
page; Settings rows show Connected / Sign in required / Unreachable with the
reason and offer Sign in; no other machine's credential is ever reused.
- Unreachable addresses explain why: a TLS failure against an IP points at the
Tailscale name, a non-Pipelines answer points at the port.
- Discovered machines list every advertised route (LAN, Tailscale IP, Tailscale
name) as a checklist; chosen routes are saved as one machine.
- tool/connection_probe.dart replays the native login and websocket against
real addresses for diagnosis.