Commit Graph
955 Commits
Author SHA1 Message Date
sam 59d85e197f feat(ui): add enterprise auth, audit log, four-eyes SoD, and promotion bundles UI (#2153) 2026-11-28 00:58:01 +11:00
sam 34482c8b0c fix(dashboard): re-read on the live stream instead of polling
Every view listing runs or approvals polled on a timer: the home page made
four requests every five seconds per open tab, two of them the same run list,
and the needs-attention card asked for 200 runs to render five.

A run or an approval request moving is now published on the hub and framed on
the dashboard stream, so those views re-read on the change. A reconnect still
re-reads everything, and the hub drops a reader that falls behind, which ends
its stream and reconnects it.
2026-11-27 19:44:21 +11:00
sam bf17e2471b fix(ui): stop offering an organisation the binary cannot create (#2150)
The organisations page could create one, and POST /api/orgs is not served: the
binary resolves a single organisation from the credential. The dialog and the
client method go, and the page lists what exists.

The gateway test missed it because it compared paths, not methods. It now reads
each request the client makes with the method it asks for, so a call to a path
the binary serves for another verb fails the gate.
2026-11-27 19:40:21 +11:00
sam 61d486fdc0 fix(ui): count what needs a person from served reads (#2145)
The shell's attention badge counted the task board's summary, which the binary
does not serve, so #2121 removed the badge with the board and nothing said, on
every page, how much work waits on a person.

The count now comes from the two operations that answer it: pending approval
requests and parked runs. The rule lives in ui/src/lib/needs-attention.ts, so
the dashboard's list and the shell's badge agree on what waiting means, and the
count is read through a small store so both read it once.
2026-11-27 19:37:46 +11:00
sam 15efad9ad7 fix(ui): render system identity as System in UserReference 2026-11-27 19:28:48 +11:00
sam a101b64703 fix(runs): a cancelled run's trail records who stopped it (#2100)
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.
2026-11-27 19:24:19 +11:00
sam 5e53e8ec0e fix(ui): keep the tab title until the route resolves (#2115)
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.
2026-11-27 19:21:04 +11:00
sam f1c595d39b fix(ui): name only the pages the sidebars can open (#2148)
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.
2026-11-27 19:13:33 +11:00
sam 5cc59c31c6 fix(ui): edit the approvals that earn an autonomy proposal (#2124)
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.
2026-11-27 19:10:16 +11:00
sam 35688b449a fix(governance): invite a member by email without an identity provider (#2110)
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.
2026-11-27 19:08:08 +11:00
sam ea6385879f fix(ui): stop calling operations the binary does not serve (#2121)
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.
2026-11-27 19:03:02 +11:00
sam 9b8de57a33 refactor(ui): colocate Events files and split Extensions into nested routes 2026-11-27 17:08:31 +11:00
sam 6356aa5d52 feat(api): filter lists by sys_query
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.
2026-11-27 17:06:30 +11:00
sam 6a3bf1e200 refactor(ui): split Events tabs into nested file-based routes 2026-11-27 16:45:42 +11:00
sam a8628de625 fix(ui): merge folder parent routes so nav shows labels; drop dead legacy redirects 2026-11-27 16:38:02 +11:00
sam 0d267170c6 refactor(ui): add page layout system under src/layouts 2026-11-27 16:34:05 +11:00
sam ccb36a1ca9 refactor(ui): drive sidebar and topbar breadcrumbs from file-based routes 2026-11-27 16:32:06 +11:00
sam 936c5267f0 refactor(ui): adopt vue-router file-based routing under src/pages 2026-11-27 16:29:38 +11:00
sam 2e9d14412e fix(ui): keep proposals visible during background refresh
Quality / check (pull_request) Successful in 3m9s
(cherry picked from commit 7334f659fd14f68186f009279dc6cda4c4cd56fd)
2026-11-27 15:59:18 +11:00
sam f6eff43ca4 fix(ui): restore staged review for models and instructions
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)
2026-11-27 15:51:34 +11:00
sam a2141ed4bb fix(ui): let settings saves recover from version conflicts
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)
2026-11-27 15:51:34 +11:00
sam 90e58a67e9 fix(ui): link user attribution to member records
(cherry picked from commit d30901653a181041b2424389baceb056f16ec7c9)
2026-11-27 15:51:34 +11:00
sam 5dc5dbbafc fix(ui): preserve modal focus rings and discard policy drafts
(cherry picked from commit a2eff9938d1d2c22c16e73f790a7c32f9c150a23)
2026-11-27 15:51:34 +11:00
sam 3afc693063 fix(ui): preview extensions and modal-edit policies
Quality / check (pull_request) Successful in 3m0s
2026-11-27 13:47:40 +11:00
sam 21980f9ced fix(ui): include base URL when creating providers
Quality / check (pull_request) Successful in 3m2s
2026-11-27 05:17:07 +11:00
sam 08988692c1 docs: standardise british spellings in ui docs 2026-11-27 03:14:53 +11:00
sam 6b4ff8101a fix(governance): ask for the public URL during owner setup (#2076) 2026-11-27 02:33:15 +11:00
sam 24a3efcf60 fix(connectors): keep published settings and let admins reset the catalogue (#2119) 2026-11-27 02:29:39 +11:00
sam 2ea0062bef feat(ui,judgement,system): unify nav, surface built-in guards, readiness and decision reasoning 2026-11-27 02:13:28 +11:00
sam e4663c22c0 fix(ui/events): frame the Map and Bind steps as cards
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.
2026-11-26 03:47:57 +11:00
sam fa4a078a34 fix(ui/settings): filter packages in place instead of remounting
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.
2026-11-26 03:47:57 +11:00
sam f27317738d fix(ui/events): mount every step so switching shows no loading state
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.
2026-11-26 03:47:57 +11:00
sam a7686042e5 fix(ui/dashboard): filter recent runs with tabs
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.
2026-11-26 01:59:32 +11:00
sam bc031880bf fix(ui/events): keep the open step alive across tab switches
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.
2026-11-26 01:59:29 +11:00
sam eb7d852567 refactor(ui/chat): remove chat features the server never sends
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.
2026-11-26 01:59:26 +11:00
sam 8c9c19efb0 chore(ui/accounts): tighten account page copy per Vale 2026-11-26 00:03:20 +11:00
sam cd8fad1b66 fix(ui/accounts): fill password input column flush with submit button 2026-11-25 23:55:28 +11:00
sam 2d83b50837 fix(ui/accounts): fix welcome banner wrapping and unify account section layout 2026-11-25 23:34:16 +11:00
sam 4b399e44aa fix(ui/chat): fix dock drag/resize bounds and dynamic slash command loader 2026-11-25 23:34:16 +11:00
sam 7904ccdfe0 fix(ui/chat): wrap TokenInput children in flex row and fix placeholder 2026-11-25 23:06:46 +11:00
sam 56dbb31923 build(dev,chat): point dev server at archie and wire chat pages catalogue 2026-11-25 23:05:04 +11:00
sam 74a560533e feat(ui): integrate @ui-sdk for schedules, chat composer, and agent bridge 2026-11-25 22:40:44 +11:00
sam 6127ded28d Revert "feat(ui): add an isolated UI SDK lab under devtools"
This reverts commit fe4d574976.
2026-11-25 22:12:57 +11:00
sam fe4d574976 feat(ui): add an isolated UI SDK lab under devtools
The lab is a dev-only route and a standalone entry so beta SDK patterns stay
out of shipped pages while they are evaluated.
2026-11-25 22:11:42 +11:00
sam c9ed3b1ae2 feat(connectors): version packages and pin installations
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.
2026-11-25 22:10:06 +11:00
sam afdb0a0c97 fix(ui): improve contrast across shared surfaces 2026-11-24 08:50:30 +11:00
sam d1e85c6e2a fix(ui): use dashboard typography in traces 2026-11-24 08:36:30 +11:00
sam 16f17f702c fix(ui): unify dashboard surfaces and selection 2026-11-24 08:33:07 +11:00
sam ba077f3779 fix(events): route webhooks by source UUID (#2127) 2026-11-24 08:07:09 +11:00
sam 58f1f9ce57 fix(ui): consolidate webhook source management 2026-11-24 07:59:24 +11:00