hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris dbf880ac66 extra-forges: fully dashboard-provisioned, no host config
Per mara's feedback on PR #2407 ("better: you can also provide url in
dashboard, same as with matrix, no host config"), drops
services.hyperhive.extraForges and the admin-API mint/revoke flow
entirely. The operator now creates a token on the external forge
themselves and pastes a label + base URL + access token into the
dashboard's FORGES tab, the same shape as the GitHub PAT flow plus the
base-URL field from the matrix extra-account flow. hive-c0re only ever
writes/deletes two local files per account (forge-<label>-token,
forge-<label>.json sidecar for the URL) via hive-priv — no remote
account creation, no admin token, no revoke-on-the-remote-side, no nix
config to enumerate.

- nix/host-modules/hive-forge/default.nix: removed the extraForges
  option, its label-format assertion, and the HYPERHIVE_EXTRA_FORGES
  env forwarding.
- hive-c0re/src/forge/extra.rs: deleted (REST admin-API provisioning,
  no longer needed).
- hive-c0re/src/dashboard/extra_forges.rs: GET /api/extra-forges?
  agent= lists an agent's stored forges by scanning its state dir
  (mirrors matrix_accounts.rs's filename-scan listing), POST
  /api/extra-forge-account (agent/label/base_url/token/
  action=add|remove) stores or removes an account.
- hive-sh4re/priv_proto.rs + hive-priv/main.rs: new
  WriteAgentExtraForgeAccount/DeleteAgentExtraForgeAccount priv
  requests (adds base_url, writes/deletes a JSON sidecar alongside the
  token).
- hive-c0re/src/priv_client.rs: matching wrapper functions.
- frontend/packages/dashboard/src/credentials.{html,js}: FORGES tab is
  a per-agent list + add-account paste form (label/base_url/token), no
  grant/revoke-from-catalog UI.
- docs/web-ui/dashboard.md: FORGES tab section rewritten.

Supersedes the design in PR #2407 (already approved+green on the old
admin-API model) — opening as a fresh PR against the same issues
rather than force-pushing over the approved one.
2026-07-14 18:38:55 +02:00
..
builds.css feat(builds): add /builds.html — build lifecycle hub (closes #1999) 2026-06-28 23:56:11 +02:00
builds.html fix(dashboard): replace stale 'manager' with 'submitter' in approval UI text 2026-07-02 14:15:07 +02:00
builds.js refactor(#2390): split provision out of the create node in the spawn dag 2026-07-13 16:13:59 +02:00
call.js dashboard frontend: consume rfc3339 timestamps from the api 2026-07-02 22:28:30 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
common.css feat(dash): show active model badge on agent cards (closes #2069) 2026-06-27 22:59:40 +02:00
common.js web-ui: sanitize markdown HTML with DOMPurify to fix XSS 2026-07-10 11:54:50 +02:00
core.css refactor(fe): trim impl-history and duplicated-docs prose from comments 2026-06-29 00:12:30 +02:00
core.html feat: add infra container start/stop/restart tab to C0R3 page 2026-07-12 03:12:44 +02:00
core.js feat: add infra container start/stop/restart tab to C0R3 page 2026-07-12 03:12:44 +02:00
credentials.css feat: rename matrix-accounts page to credentials, add github PAT tab 2026-07-11 12:40:13 +02:00
credentials.html extra-forges: fully dashboard-provisioned, no host config 2026-07-14 18:38:55 +02:00
credentials.js extra-forges: fully dashboard-provisioned, no host config 2026-07-14 18:38:55 +02:00
dashboard.css fix(dashboard): contain rebuild spinner within icon boundary 2026-06-29 01:05:34 +02:00
dashboard.html dashboard(html): fix stale P3RM1SS10NS pane comment after the save-all change 2026-06-17 20:14:09 +02:00
flow.css chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
flow.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
flow.js dashboard frontend: consume rfc3339 timestamps from the api 2026-07-02 22:28:30 +02:00
home.css dashboard(home): matrix-rain backdrop on the H0M3 page 2026-06-17 21:46:25 +02:00
home.js dashboard(home): harden matrix-rain fade-trail colour parsing 2026-06-17 21:59:12 +02:00
index.html feat: rename matrix-accounts page to credentials, add github PAT tab 2026-07-11 12:40:13 +02:00
logs.css feat(dashboard): AUD1T — privileged-actions audit trail as a LOGS sub-tab 2026-06-13 15:31:50 +02:00
logs.html feat(builds): add /builds.html — build lifecycle hub (closes #1999) 2026-06-28 23:56:11 +02:00
logs.js dashboard frontend: consume rfc3339 timestamps from the api 2026-07-02 22:28:30 +02:00
modal.css fix(dashboard): extract themed-dialog styles into an importable modal.css 2026-06-22 22:24:42 +02:00
modal.js dashboard: themedPrompt is a textarea — Enter submits, Shift+Enter newline 2026-06-21 23:55:15 +02:00
permissions.js refactor(fe): trim >30-line comment blocks (second pass, #2077) 2026-06-29 01:05:53 +02:00
schedules.js dashboard frontend: consume rfc3339 timestamps from the api 2026-07-02 22:28:30 +02:00
settings.css refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
settings.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
settings.js refactor(frontend): move S3TT1NGS to its own /settings.html page (#1464 step 2) 2026-06-08 23:44:22 +02:00
state.js dashboard: extract operator-inbox + approvals into call.js (#1451) 2026-06-16 10:22:53 +02:00
stats.css refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
stats.html feat(stats): add an 'all' time range to agent + hive stats 2026-06-22 23:47:20 +02:00
stats.js refactor(frontend): move ST4TS to its own /stats.html page (#1464 step 2) 2026-06-09 00:11:43 +02:00
stream-worker.js refactor(fe): trim >30-line comment blocks (second pass, #2077) 2026-06-29 01:05:53 +02:00
swarm.js fix(hive-c0re): close review findings on the job-DAG queue 2026-07-06 21:44:43 +02:00
system-sections.css feat(dashboard): node-aware queue render + buildSlots option 2026-07-06 20:36:57 +02:00
tabs.js refactor(dashboard): extract SW4RM domain from tabs.js into swarm.js 2026-07-04 11:37:39 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
util.js dashboard frontend: consume rfc3339 timestamps from the api 2026-07-02 22:28:30 +02:00