Files
orca/src
Brennan Benson 37a9eaaf41 feat(settings): remove a downloaded agent runtime from its Settings row (#29140)
* feat(settings): remove a downloaded agent runtime from its Settings row

When the host offers managed-runtime.remove.v1 and an Orca-installed copy is
there with nothing running, the Settings install row shows a trash button
("Remove downloaded runtime") that asks first: "Remove {agent} from this
host? Running {agent} chats stop. Chat history is kept." While the host removes
it the row says "Removing…"; a refused removal shows the host's reason and keeps
the button. Chats never show it.

* fix(settings): offer Remove for a damaged copy too, and say which host the downloaded runtime leaves

The row offers Remove whenever the host says Orca's copy is there (canRemove), damaged included;
an older host without it keeps today's rule. The confirmation now reads "Remove the downloaded
{agent} runtime from {host}? Running {agent} chats there stop. Chat history is kept.", naming the
paired host, or this computer.

* fix(settings): Remove follows the host's canRemove alone

* fix(settings): the Remove dialog says the sign-in is kept too

* fix(settings): show the downloaded runtime's install state as the provider's status line

The Antigravity row in Settings > Chat > Providers drew its install state as a
bordered box nested inside the row. It now reads like the other rows: one grey
status line under the name, with its actions as inline links joined by ' · '
(Installed · Remove, Not installed · Install · size, a thin progress bar with
Cancel while downloading, Reinstall · Remove for a damaged copy, Try again
after a failure). A healthy install no longer offers Reinstall. The Remove
confirmation now says running chats stop and their history is kept.

* fix(settings): make Antigravity's first Install a primary button beside the switch

Not installed now shows a high-contrast Install button at the row's right end in
Settings > Chat > Providers and Settings > AI Provider Accounts > Antigravity; the
status line keeps the sentences (Not installed · 112 MB download.). Every other
action stays a link in the line.
2026-10-18 10:40:20 -07:00
..