npm.io
0.1.41 • Published yesterdayCLI

@shapeshift-labs/frontier-loom-ui

Licence
MIT
Version
0.1.41
Deps
8
Size
1.1 MB
Vulns
0
Weekly
3.0K

@shapeshift-labs/frontier-loom-ui

Full-height dark operator UI for Loom and Frontier swarm workspaces.

The UI reads the dashboard snapshot API from @shapeshift-labs/frontier-swarm-codex and projects the shared Frontier substrate from @shapeshift-labs/frontier-run, @shapeshift-labs/frontier-lease, @shapeshift-labs/frontier-test, and @shapeshift-labs/frontier-swarm-git. The browser surface is read-only: it focuses on workspace-lifetime progress, active agents, tasks, evidence/admission status, recent events, gate health, lease state, git apply/workspace evidence, and loaded sources.

The dashboard is global by design. It rolls up agent-runs/, .loom/queues/, coordinator decision overlays, frontier-run JSONL, semantic lease records, gate execution records, swarm-git apply ledgers/workspace proofs, and currently running workers from the selected workspace. It is not possible to pin the UI to a single run from the CLI or server options; individual run artifacts are loaded only as inputs into the lifetime workspace view.

The overview and success views surface landed/applied ledger counts, health, token load, and timing summaries with compact dark cards. The metrics view includes small, dependency-free dark chart primitives for API-provided health, bucketed time-series progress, context/token load, failure and ownership pressure, and semantic admission counts when those fields are present in the snapshot. Older snapshots still render from jobs and events as a fallback. The page remains full-height with scroll-contained panels so dense workspaces do not push the document body.

frontier-loom-ui --cwd /path/to/workspace

Loom can launch the same package:

loom ui --cwd /path/to/workspace
loom swarm dashboard --cwd /path/to/workspace

The browser app is rendered with Frontier DOM JSX via @shapeshift-labs/frontier-dom/jsx-runtime; frontier.config.mjs declares the Frontier Framework surface and route evidence. The app frame separates API availability from run health, so an online dashboard with rejected or attention-needed jobs is shown as an online service with run issues rather than as an offline UI.

Near-term UI Backlog

  • History: a read-only git-style graph of worker outputs, coordinator joins, semantic replay outcomes, and landed changes. The tab should focus on the visual graph first, with hover/details for ticket id, files, evidence, tests, model/panel result, and acceptance or rejection reason.
  • Performance: a chart-first view of tokens, runtime, cache hit rate, waste, and outcome quality over time. This needs a charting-library research pass before implementation, and should include whether panel, tournament, or RSI routing changes are improving workflow efficiency across runs.
  • Testing: a high-level quality view for active work and the broader project. It should show pass/fail state, fuzzing results, oracle coverage, recent failures, and whether each active task has enough verification evidence. Raw run artifacts should remain ticket drill-downs rather than becoming the top-level tab.

Keywords