Commit Graph
174 Commits
Author SHA1 Message Date
sam 1f11ee0fea feat(ui): wrap the YAML editor at the pane or a set print width, with an appearance setting 2026-10-19 09:41:03 +11:00
sam 661b3e01e3 feat(ui): scroll past the end of the YAML editor and history diff, with an appearance setting 2026-10-19 09:34:32 +11:00
sam 7b4b647b97 fix(ui): clear the chat on /new, show the copy action on hover, fold settings into the bar's menu 2026-10-19 09:01:44 +11:00
sam 166969cdfb feat(chat): ask several questions in one interaction with ask_questions
A turn can pose a questionnaire (single and multiple choice, free text,
skippable) and read the answers back, rendered in the chat with the
shadcn-vue questionnaire. The gateway contract gains a questionnaire ask and a
can_question capability; answers travel as a JSON object keyed by question name
and are checked against the questions that were asked.
2026-10-19 03:30:47 +11:00
sam b4aa9542d5 feat(ui): show a capture's changed files as a folder tree 2026-10-19 03:24:03 +11:00
sam ef7233214d feat(ui): chat tool calls, approvals and suggestions on shadcn-vue's trace, item and button patterns 2026-10-19 03:19:07 +11:00
sam 6efd8c9b0e fix(ui): anchor each question in the chat transcript and keep the live reply as the row its message takes 2026-10-19 03:13:12 +11:00
sam 2b67cce742 feat(ui): fade the chat's borders in when it opens and close it on an outside click 2026-10-19 03:09:57 +11:00
sam ce988533d1 feat(ui): dock the chat at the bottom of every page and keep a skeleton while a conversation loads 2026-10-19 03:01:12 +11:00
sam 99f4eacc2b feat(ui): one chat panel on every page; the workflow editor syncs its draft around a turn
Replaces the separate Build with Archie bar and its per-workflow channel, so
every conversation belongs to the account and is listed on every device, and
the command palette is the same everywhere.
2026-10-19 02:56:23 +11:00
sam 4e95b91122 feat(ui): Build with Archie runs on the chat system, floats over the canvas and keeps its conversation
Each workflow has its own persisted conversation, rendered like the chat panel.
The canvas and YAML go read-only while Archie works instead of inert. The code
block highlighter loads Go and TOML and drops jsx, tsx and vue.
2026-10-19 02:43:54 +11:00
sam 004fc401f1 feat(ui): code blocks and chat messages from shadcn-vue's code-block, message and bubble 2026-10-19 02:22:42 +11:00
sam 48771b1433 refactor(ui): one key/value list for a task's inputs, outputs and details, sized to its content 2026-10-19 02:10:46 +11:00
sam b050b7f916 feat(ui): list a task's inputs and outputs as separate sections of one card 2026-10-19 02:07:26 +11:00
sam 6c4e2db3d1 fix(ui): show a parked task's error once and wrap long log lines on a phone 2026-10-19 01:47:34 +11:00
sam 7d696e014f fix(ui): improve keyboard access and add headed checks 2026-10-19 01:45:20 +11:00
sam bf73a950b1 fix(ui): fit phone workflows and allow dynamic handoffs 2026-10-19 01:04:32 +11:00
sam 50dd3c84de fix(ui): one chat toolbar row, compact session actions menu, smaller bubble text 2026-10-19 00:32:56 +11:00
sam 88c3a58ced build(ui): regenerate dashboard 2026-10-18 23:50:32 +11:00
sam c6566e4609 fix(ui): icon-only run button matches the 32px icon size 2026-10-18 22:52:19 +11:00
sam 4f53eb4a06 build(ui): regenerate dashboard 2026-10-18 22:29:59 +11:00
sam bf47a9f540 build(ui): regenerate dashboard 2026-10-18 15:55:08 +11:00
sam 61d93b6469 fix(ui): one text colour scale, Empty for page empty states, token requests through api 2026-10-18 15:03:44 +11:00
sam b93cb6b716 fix(ui): put the Archie bar under the canvas on phones so it cannot cover a step 2026-10-18 13:04:43 +11:00
sam 53d42b84b7 fix(ui): pick the workflow and the revision from a select on narrow screens
The workflow list scrolled sideways off a phone screen and the history grid
pushed the diff off it. Below lg the list becomes a header select with the
draft badge; below md the revision list becomes a select above a full-width
diff, with the two canvases stacked.
2026-10-18 12:32:32 +11:00
sam b5e7e6bcdb fix(ui): keep the YAML gutter aligned on phones and fit the editor to a phone viewport
The gutter printed one number per source line while the text layer wrapped,
so every line after a long one was numbered wrong. The textarea no longer
wraps: the gutter, the highlight layer and the textarea share one row per
line and scroll together on both axes.

Below md the section tabs that do not fit collapse into one menu that sets
the same tab, and the actions share one right-aligned row. The canvas is
sized to the viewport left on a phone, frames a graph or card wider than the
canvas instead of clipping its edges, and clears the chat launcher.
2026-10-18 12:32:21 +11:00
sam b4395046ae fix(ui): scale touch targets to the pointer, not the window width
A coarse-pointer-only floor keeps switches, tab triggers and scrolled nav
strips from being deformed on a phone, and the topbar reveals the current
section after a route change.
2026-10-18 12:32:10 +11:00
sam 42c283c4fd fix(ui): finish an Archie turn across tab switches and name map entries in the settings review 2026-10-18 02:52:49 +11:00
sam 7725cf1c1f feat(workflows): iterate on a workflow's draft with Archie from the canvas 2026-10-18 02:27:41 +11:00
sam 7fc4f4f9d7 feat(ui): workflow canvas cards expand in place instead of side panels 2026-10-18 01:59:09 +11:00
sam f975dccec0 build(ui): commit the dist assets the accordion and connection fixes changed 2026-10-17 23:16:22 +11:00
sam f97dd9a7a7 feat(ui): default the workflow's run-as identity to the seeded agent 2026-10-17 17:21:58 +11:00
sam 784b01b6f0 fix(ui): 44px touch targets on narrow and coarse-pointer viewports 2026-10-17 17:01:27 +11:00
sam a779a4e8a2 feat(ui): give organisation, instance and account clear homes
The Access area mixed organisation, instance and personal settings under
one name. Split them: /org is the organisation's own area (members,
identities, connections, models, schedules, playbooks), /settings is
instance administration only, and personal security stays in the account
menu. Setup checklist steps now link to the page that fixes them.
2026-10-17 09:01:41 +11:00
sam 623e78e4b9 fix(webui): bind task requester to authenticated principal 2026-10-17 08:42:08 +11:00
sam ef0bb0f3fa feat(ui): configure forge connections in the dashboard
A Connections page under Settings lists the organisation's forge connections:
host, forge type, the reference to the credential (never its value), the
external account it belongs to, and the operations each execution identity may
perform through it. The chat agent's page registry names the page too.
2026-10-17 03:20:17 +11:00
sam 57456b3e9e fix(ui): repair settings editing and workflow diagnostics 2026-10-16 23:55:58 +11:00
sam 78e162fa0a refactor: remove personas
Personas were a misread requirement: SOUL is the chat identity and
identities are per action. The selected persona's prompt never reached the
model. Drops the resource, /personality, the chat selector, the settings
page and ChatService.SetPersona, and deletes stored persona documents.
2026-10-16 03:57:08 +11:00
sam d3e2a67222 feat(identity): add browser setup and user accounts 2026-10-16 02:41:24 +11:00
sam 88ef6ca5b2 feat(ui): start tasks from the dashboard and slim it to activity and setup 2026-10-14 23:28:37 +11:00
sam cc0fba87b4 feat(archied): read-only run-scoped sandbox view over the harness contract (#1662)
Quality / check (push) Canceled after 0s
* feat(archied): read-only run-scoped sandbox view over the harness contract

Serve RunTarget: the daemon resolves a running task and attempt to its Kit
container and follows its output, refusing a finished or unknown task with a
stated reason. The dashboard adds a Sandbox tab behind the task log's read
authority. Takeover stays out of scope until the sod1 authority is wired.

* fix(archied): scope and close sandbox views correctly

Forward harness activity into container output, bind containers and dashboard views to their attempt, enforce the asserted org, and report unavailable dependencies and interrupted streams accurately.

Refs: archie-core-qi91, archie-core-252tj
2026-10-14 02:57:32 +11:00
sam cefd95b40a fix(webui): the danger setting row tints without shifting its content 2026-10-13 19:55:05 +11:00
sam 45a97c2385 feat(webui): repositories list is an accordion; adding opens the new one and waits for save 2026-10-13 19:04:14 +11:00
sam afa6da70ce fix(webui): task page drops filler copy, the unattributed-events note and the New run tooltip 2026-10-13 17:16:25 +11:00
sam bbbb527721 feat(webui): finish redesign dashboard task and secret settings 2026-10-13 16:41:35 +11:00
sam d54f4af11e feat(workflows): test-run unsaved drafts and browse workflow version history
A test run pins a validated draft, runs with forge and push writes
suppressed and recorded per step, and is excluded from workflow stats.
The History tab lists revisions that changed a workflow, diffs them as
YAML and on the canvas, restores into the editor, and ties runs to the
revision they used.
2026-10-13 12:27:40 +11:00
sam 2237b38b3a fix(ui/topbar): replace Jump to with a command palette, drop filler chrome (#1650)
* fix(ui/topbar): replace Jump to with a command palette, drop filler chrome

Jump to opens a shadcn-vue Command dialog that finds pages, tasks and
workflows by name. The connection indicator shows only when the stream is
lost, the dead documentation link is gone, and the profile menu label has
no stray whitespace.

* fix(ui): trim stray whitespace from template text and drop em dashes from copy

Element text that started or ended with a line break rendered with leading
and trailing spaces. Also removes the unused 'soon' nav state and the nav
group components no route reaches.

* fix(ui): drop the space a hidden spinner left before button text

* fix(ui/status): one dense Status page, full-width settings, problems-only apply status

Status drops its tabs and the duplicate health card; services list only
what is wrong. Settings pages use the full width, the resizable sidebar
handle is gone, and apply status shows only processes that have not
applied a change. PageHeader puts the title and actions on one line.

* refactor(ui): use shadcn ToggleGroup and Badge, drop SegmentedControl and StatusPill

Status badges show only when a state needs attention: no Running, Enabled,
Active, Listening or live pills next to healthy rows. Removes the unused
pagination, radio-group and scroll-area components.

* fix(ui/history): use the shadcn Table with fixed columns so nothing is clipped

* fix(ui/workflows): apply ?workflow= only once the workflow is listed

Selecting it before the definitions loaded opened an empty canvas.

* refactor(ui/workflows): use shadcn Input, NativeSelect, Checkbox and Button in editors

Replaces hand-rolled inputs, selects, the repository mode switch and icon
buttons in the workflow editor, bind dialog, harness page, sources panel
and review gate. Adds the upstream shadcn-vue NativeSelect.

* style(ui): rounded-rectangle controls instead of pills

Halves the radius scale so inputs, selects and buttons stop reading as
pills, and badges and chips lose their full rounding.

* fix(ui/alerts): centre the bell's failed state and stop it contradicting Needs you

* fix(ui/tasks): one header line, aligned columns, no placeholder issue numbers

Tasks puts its filters beside the title and drops the stat tiles the
dashboard already shows. Sort headers align with their cells, chat tasks
no longer show their synthetic issue number, and Logs and the task
not-found page use the shared header.

* fix(ui/dashboard): shared header and cards, empty cards stay silent

Needs you uses the shadcn Card and drops its duplicate Open button; quality
gates and token outlook render only when there is something to show; the
throughput strip moves into the dashboard, its only user.

* refactor(ui/stores): one Pinia store per feature

Splits the site-wide control-plane store and the module-level refs into
settings, workflows, tasks, events, org and session stores. Identity
requests move into lib/api. Drops store fields nothing read: per-resource
stream state, the states map and loadApplyStatus.

* fix(ui/org): one header for the org area, sections drop their repeated titles

The org name is the page title with the admin's org switcher and New org
beside it; Members and Workspaces tables sit in cards like other pages.

* fix(ui/events): shadcn Tabs for the capture, map and bind steps

Replaces the numbered step strip with line tabs that carry each step's
count; the Listening pill is gone and Capture off shows only when it is.

* fix(ui/workflows): confirm a workflow delete in an AlertDialog, not window.confirm

* style(ui/settings): denser setting rows
2026-10-12 04:40:21 +11:00
sam 747a7cbfd7 Feat/operator alerts (#1635)
* feat(state): durable operator alerts owned by the State Store

Alerts dedup on org+kind+subject, resolve themselves when a condition
clears, and are raised, resolved, dismissed and listed through the state
contract. Task transitions raise needs-human and failed alerts in the same
transaction; the store checks service health and prunes closed alerts.
Each raise and resolve queues a webhook delivery whose attempts are kept.

* feat(notify): deliver operator alerts to the webhook; raise config and release alerts

notify.webhook now receives raised and resolved alerts above a severity
threshold with HMAC-signed payloads, bounded retry and every attempt recorded
on the alert. archied raises model alias, provider and credential-binding
alerts from the effective configuration, an update alert from the release
channel, and a credential-rejected alert from the egress resolver. The
dashboard API lists and dismisses the caller's org's alerts.

* feat(ui): alert bell in the top bar and webhook alert settings

The bell lists the org's open alerts by severity with dismiss and a link per
alert, and refreshes from the event stream. The task settings page gains the
webhook severity threshold and signing secret. ui/dist rebuilt.
2026-10-12 03:30:46 +11:00
sam f78f2a1629 feat(daemon): run each workflow as its declared identity
Every attempt checks that the identity that started the task and the
identity the workflow declares may both run it, recording a denial for
either. A workflow that declares no identity is refused rather than
running as its starter or the root. A workflow.call callee is started by
its caller's declared identity instead of inheriting the caller's row.
The workflow settings panel marks the identity as required and offers
the agent identities.
2026-10-11 14:49:38 +00:00
sam 09969e7f0a style(ui): tidy org page layouts and empty states
deploy / gate (push) Failing after 8m5s
deploy / archied-image (push) Skipped
deploy / agent-image (push) Skipped
deploy / dist-zip (push) Skipped
Quality / check (push) Failing after 5m3s
Members and Workspaces get fixed column widths and their add forms move
into labelled sections. Agents lists agents first and moves credential
grants below. Access puts New policy in the card header. Tokens states
when none exist.
2026-10-11 15:59:30 +11:00