Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 2080fd3866 feat: live SSE updates for P3RM1SS10NS tab (capabilities + tool groups)
Add CapabilitiesChanged and ToolGroupsChanged DashboardEvent variants
so the P3RM1SS10NS tab reflects perm changes without the operator
navigating away and back.

Backend:
- DashboardEvent::CapabilitiesChanged { seq, caps, descriptions,
  assignments } — same payload shape as GET /api/capabilities
- DashboardEvent::ToolGroupsChanged { seq, groups, descriptions,
  assignments } — same payload shape as GET /api/tool-groups
- Coordinator::emit_capabilities_snapshot() and
  emit_tool_groups_snapshot() — read from the JSON files and broadcast
- rebuild_queue.rs PermChange worker: emit after each successful
  commit_capabilities / commit_tool_groups call

Frontend:
- applyCapabilitiesChanged(ev): calls renderCapabilities(root, ev)
- applyToolGroupsChanged(ev): calls renderToolGroups(root, ev)
- Both registered in MUTATION_HANDLERS
- activateTab comment updated (SSE now covers perm changes)

Docs: dashboard.md and CLAUDE.md updated.

This completes SSE coverage for all dashboard sections: SW4RM,
Y3R C4LL, SYST3M, SCH3DUL3S/reminders, and P3RM1SS10NS all
derive live updates from /dashboard/stream.
2026-06-05 12:06:32 +02:00
..
bin fix: point hivectl agents at the correct host socket path 2026-06-05 09:55:24 +02:00
actions.rs fix: emit SchedulesChanged from manager-server + approval paths 2026-06-05 12:06:32 +02:00
agent_ports.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
agent_server.rs feat: live SSE updates for the SYST3M reminders section 2026-06-05 12:06:32 +02:00
agent_sockets.rs fix: route gateway nginx control through hive-priv 2026-06-04 09:48:56 +02:00
approvals.rs hive-c0re: scrub manager-surface cookies + SetParent doc fix (#715 batch 7) 2026-05-31 17:53:45 +02:00
auto_update.rs feat(queue): link rebuild queue entries to build log rows for live streaming 2026-06-04 17:39:31 +02:00
bash_tasks_vacuum.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
broker.rs feat(#1137): rich unread summary in loose ends and wake signal 2026-06-03 13:56:00 +02:00
build_logs.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
capabilities.rs fix: update stale doc comment example root→ruth in capabilities.rs 2026-06-02 18:18:06 +02:00
client.rs hive-c0re: admin socket server + client (stub dispatch) 2026-05-14 20:49:11 +02:00
container_view.rs refactor(#1292): remove agent-owned fields from ContainerView 2026-06-04 19:39:06 +02:00
coordinator.rs feat: live SSE updates for P3RM1SS10NS tab (capabilities + tool groups) 2026-06-05 12:06:32 +02:00
crash_watch.rs cleanup(#1177): unify manager socket path, remove dead manager-name branches, rename ensure_manager 2026-06-03 20:39:45 +02:00
dashboard.rs feat: live SSE updates for the SYST3M reminders section 2026-06-05 12:06:32 +02:00
dashboard_events.rs feat: live SSE updates for P3RM1SS10NS tab (capabilities + tool groups) 2026-06-05 12:06:32 +02:00
events_vacuum.rs fix(#999): resolve all clippy warnings across the workspace 2026-06-01 22:31:06 +02:00
flake_check.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
forge.rs fix: split WriteAgentStateFile into WriteAgentForgeToken + WriteAgentMatrixToken 2026-06-04 14:30:01 +02:00
gateway_nginx.rs fix: route gateway nginx control through hive-priv 2026-06-04 09:48:56 +02:00
knowledge.rs fix: remove issue ref from comment, use forge::FORGE_HTTP in knowledge.rs 2026-06-04 12:31:25 +02:00
lib.rs feat(#1167): hive-wide knowledge repo — forge, local clone, bind-mount, webhook 2026-06-03 20:56:17 +02:00
lifecycle.rs feat(queue): link rebuild queue entries to build log rows for live streaming 2026-06-04 17:39:31 +02:00
limits.rs fix(#1164,#1171): harness writes status file, c0re just rescans 2026-06-03 18:33:07 +02:00
loose_ends.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
main.rs fix: remove issue ref from comment, use forge::FORGE_HTTP in knowledge.rs 2026-06-04 12:31:25 +02:00
manager_server.rs fix: emit SchedulesChanged from manager-server + approval paths 2026-06-05 12:06:32 +02:00
matrix.rs refactor: drop speculative prose markers, keep only backtick extraction 2026-06-05 01:53:05 +02:00
meta.rs fix: address argus+mara review on #1243 — stale docs, MANAGER_DEFAULT refs, ruth migration 2026-06-04 12:15:03 +02:00
migrate.rs refactor: remove hyperhive.role option — there is only one role: agent 2026-06-04 14:31:44 +02:00
operator_questions.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
priv_client.rs fix: split WriteAgentStateFile into WriteAgentForgeToken + WriteAgentMatrixToken 2026-06-04 14:30:01 +02:00
questions.rs feat: live SSE updates for the SYST3M reminders section 2026-06-05 12:06:32 +02:00
rebuild_queue.rs feat: live SSE updates for P3RM1SS10NS tab (capabilities + tool groups) 2026-06-05 12:06:32 +02:00
reminder_scheduler.rs feat: live SSE updates for the SYST3M reminders section 2026-06-05 12:06:32 +02:00
scheduled_prompts.rs scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix 2026-05-31 17:18:15 +02:00
scheduled_prompts_worker.rs feat: live SSE updates for the SCH3DUL3S tab 2026-06-05 12:06:32 +02:00
server.rs feat(queue): link rebuild queue entries to build log rows for live streaming 2026-06-04 17:39:31 +02:00
stats_vacuum.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
tool_groups.rs fix: address argus+mara review on #1243 — stale docs, MANAGER_DEFAULT refs, ruth migration 2026-06-04 12:15:03 +02:00
topology.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00