Cancelling a run moved it and the runs it called to cancelled and wrote nothing
to either trail, so a stopped run could not say when it stopped or who asked.
The stop now returns the runs it stopped and records one cancel entry on each,
in the same transaction, naming the principal that asked. The entry is a step
named cancel with the caller's identity, so the run detail shows it with the
rest of the trail.
Opening a page by URL showed "Page not found" in the tab while the router was
still at its start location, which carries no label, so the not-found copy
stood in for the page for as long as the resolution took.
The title is now written only once the router has resolved the address, and the
rule lives in ui/src/lib/page-title.ts so the start location's silence is
tested.
Removing the old services' pages left their entries in the sidebar specs, and a
nav entry with no route threw during the first render, so the shell drew
nothing and every page was blank. The chat browser test caught it, which is
the failure #2148 recorded; it passes again.
The spec list moves to ui/src/lib/nav-specs.ts, which imports nothing, so a
test can check every address it names against the generated page catalogue.
That is the guard: deleting a page without updating the sidebars now fails
the gate instead of the browser.
propose_autonomy_after is part of the organisation settings but the approvals
page had no control for it, so the value could only be read and changed through
the API, against the rule that every setting is editable in the dashboard.
The page now edits it within the 1 to 100 the server accepts and shows the
saved value after saving. The draft and the save body live in a page-local
module so the shape of a save is tested without a browser.
Adding a member by email refused with a 409 whenever no OIDC issuer was set,
so an install with local accounts only could not invite anyone by address.
An address now reserves the identity under a local issuer instead, and a local
account made with that address adopts it: the invitation's roles carry over and
the organisation shows one member, not two. A provider subject still needs the
provider that asserts it, and the refusal says so.
The dashboard is embedded in the single binary, which serves api/openapi.yaml.
It was still calling the old services' routes, so pages that read them answered
with a not-found: the task board, its activity feed and setup panel, logs,
alerts, audit and its export, bindings, schedules, channels, repositories,
skills, curators, the control-plane settings pages, identities and org agents,
the org switcher, secret-reference checks, task metadata, and the audit, usage,
summary and version reads.
Each of those surfaces is removed, and a test compares every /api path in the
dashboard's source with api/openapi.yaml so the next one fails the gate
instead of the browser. Settings that the binary does serve (model providers,
instructions, policies, members) keep their pages.
sys_query is conditions joined by ^, each field=value, field!=value or fieldLIKEtext. A bad condition or a field a list does not offer is a 400 naming the fields it accepts, so a typo never reads as an empty page. Runs, workflows, proposals, guards and action types take it, and the dashboard keeps the filter in the URL so a filtered list is a link.
The guard control API is list-guard-controls at /api/controls/guards: list-guards belongs to the connectors extension list, and the resource is a guard. JudgeStanding keeps its name, since it is the model judgement a guard recorded.
Apply reviewed edits through the module APIs one request at a time. Keep failed and untouched drafts for retry, and remove successful edits from the review.
(cherry picked from commit 952215e36325b76f6e3364d713263f502acf6d02)
Keep the conflict visible after reloading the resource so the draft rebases onto the latest version. Require another Save to submit it, and keep the draft against its original version if the refresh fails.
(cherry picked from commit 0d4b63c906363c4343e8f8a8f4163c96b0c3378f)
Both steps drew their actions in a bare row above a bare empty state, so
they looked like nothing else on the page. Each is now one card with its
actions in the header, and the Installed playbooks link is a button
rather than a stray underline beside one.
The list was keyed on the active kind, so every switch remounted it and
showed its skeleton before the same packages came back. The rows are
already filtered from one read, so the keys only threw work away.
KeepAlive removed the skeleton on a revisit but not on a first visit, so
tabbing through the steps still flashed. Every panel now mounts when the
page opens and only the active one is on screen, so a switch shows what
was already read. The wrapper is a single element because a panel whose
template is a fragment cannot be hidden with v-show.
usePoll goes back to reading only document.hidden, since nothing is kept
alive and deactivated any more.
Every other list that switches between a few states uses Tabs, such as
Proposals. Recent Runs was the only one built from ToggleGroup, which is
a form choice elsewhere.
Each switch remounted the panel under `<component :is>`'s key, so it
started with no data and showed its skeleton before the read landed.
KeepAlive keeps every visited step mounted, so returning shows what it
already read. A step that is only polled (Events) pauses while hidden.
The dashboard talks only to the modules/chat API, which sends no slash
commands, model list, voice support, attachments or any question other
than an approval, so the UI built on those could never appear:
- the slash command menu, Retry, Undo, Branch and Preview compression in
the More menu, and the /model, /update and /new handling
- the model picker, the update card and the api.update* calls
- voice recording and the task tags nothing ever added
- the questionnaire, picker and clarify cards, and the "Always this
session" answer, so components/ui/questionnaire loses its last user
- channel.ts, command-scroll.ts and turn.ts, which nothing imported
- the old dock-storage migration and the second capitalised spelling of
message and tool fields
Tasks are gone from the binary too, so chat links and prompts speak of
runs: the #N task-link step in the markdown renderer goes, since an agent
already links pages through dashboard_navigate.
state.ts keeps the shared state and actions; types.ts, stream.ts,
transcript.ts, escape.ts and dock-window.ts hold the types, the stream
reader, turn-to-message building, Escape layers and the dock's pointer
and keyboard handling. ChatDock.vue drops from 560 lines to 307.
A package is now a set of immutable versions with declared grants and a
default version that installations run unless they pin another. Adopting a
version is what accepts its grants, replacing the per-extension lifecycle
actions with version, pin and update-policy commands.