hyperhive/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 050e130eba build-logs: SSE live streaming + raw download (#726 phase 4)
Backend (hive-c0re):
- build_logs.rs: add tokio::sync::broadcast::Sender<i64> to BuildLogs;
  append() and finish() notify subscribers after each sqlite write.
  Add BuildLogProgress struct and get_progress(id, stdout_cursor,
  stderr_cursor) for incremental delta reads.
- dashboard.rs: two new endpoints —
    GET /api/build-logs/id/{id}/stream  SSE; streams BuildLogFrame
      {stdout_append, stderr_append, status?, done} deltas until the
      build finishes or the browser disconnects. Backed by an mpsc
      channel task that watches the per-build broadcast notifications.
    GET /api/build-logs/id/{id}/raw    text/plain download with
      Content-Disposition: attachment; filename build-log-{agent}-{id}.txt

Frontend (dashboard):
- tabs.js: running builds (status === null) connect an EventSource to
  /stream and append lines live; "live" badge pulses amber while active,
  flips to ok/fail on done. Finished builds still use the JSON fetch path.
  Collapsing a running panel closes the EventSource; re-expanding
  reconnects. Adds a "⬇ raw" download link to every expanded row.
- dashboard.css: .build-logs-dl inline download link; .build-logs-live
  live pulse @keyframes animation.

Docs: web-ui.md updated for all three new endpoints + behaviour.
2026-05-31 21:48:31 +02:00
..
web-ui dashboard: build-log side-panel viewer in agent card (#726 phase 3) 2026-05-31 21:48:31 +02:00
agent-hierarchy.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
approvals.md scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix 2026-05-31 17:18:15 +02:00
boundary.md docs: move backlog to forge issue tracker, extract boundary doc 2026-05-20 12:19:16 +02:00
conventions.md feat(#704): add <children> recipient sentinel — fan-out to direct descendants 2026-05-31 20:59:20 +02:00
damocles-migration.md Phase 7e: damocles migration plan; CLAUDE.md phase status 2026-05-15 00:32:26 +02:00
forge.md hive-ag3nt + docs: extract forge_notify prose (#716 batch 4) 2026-05-31 17:17:24 +02:00
gateway.md docs(#727): split docs/web-ui.md into shape / dashboard / agent 2026-05-31 21:37:04 +02:00
gotchas.md docs(#727): split docs/web-ui.md into shape / dashboard / agent 2026-05-31 21:37:04 +02:00
matrix.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
network.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
persistence.md refactor(#838): consolidate harness state files into hyperhive-harness.json 2026-05-31 20:32:13 +02:00
security.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
terminal-rendering.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
turn-loop.md hive-ag3nt + docs: extract harness binary shape prose (#716 batch 5) 2026-05-31 17:18:22 +02:00
web-ui.md build-logs: SSE live streaming + raw download (#726 phase 4) 2026-05-31 21:48:31 +02:00