hyperhive/hive-ag3nt/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris a5914274ba feat(stats): surface "favorite tools" (most-run bash commands) on /stats
The surfacing half of the per-agent favorite-tools stat. Reads a
`bash_commands(ts INTEGER NOT NULL, head TEXT NOT NULL)` table from the
per-agent turn-stats.sqlite — one row per bash task, written by
hive-bash-mcp (the capture half, landing separately) — and rolls up the
top-10 command heads for a doughnut, mirroring the existing
tool_breakdown.

- stats.rs: new `Snapshot.bash_breakdown` + `read_bash_breakdown()`.
  The read is guarded: a missing `bash_commands` table (capture hasn't
  shipped / agent hasn't run a bash task) maps to an empty list, never
  an error — the snapshot degrades gracefully. Unit tests cover both
  the absent-table and populated cases (incl. window cutoff + ordering).
- frontend: a "favorite tools (bash)" doughnut card on the agent /stats
  page, kept hidden until bash_breakdown has data so it never shows a
  permanently-empty doughnut while capture is pending.

Part of #1433 (does not close it — pairs with the hive-bash-mcp capture
half). Inert until the capture lands; merge order with it is irrelevant.
2026-06-06 00:53:12 +02:00
..
bin refactor: remove hyperhive.role option — there is only one role: agent 2026-06-04 14:31:44 +02:00
client.rs docs: add missing #[must_use], # Errors, # Panics across public api 2026-05-22 19:41:27 +02:00
events.rs fix(clippy): fix all clippy warnings in hive-ag3nt, hive-forge, hive-matrix-mcp, hive-sh4re 2026-06-05 14:35:12 +02:00
forge_notify.rs fix(#1309): retry forge token read at startup instead of giving up immediately 2026-06-04 21:15:03 +02:00
identity.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
lib.rs fix: replace bash_tasks.rs with generic mcp_loose_ends scanner 2026-06-03 18:06:59 +02:00
login.rs hive-ag3nt: scrub stale #658/#419 attribution cookies (#716 batch 2) 2026-05-31 16:48:13 +02:00
login_session.rs hive-ag3nt: scrub stale #658/#419 attribution cookies (#716 batch 2) 2026-05-31 16:48:13 +02:00
mcp.rs feat: hint to do other work when recv/bash_status waits time out 2026-06-05 20:50:44 +02:00
mcp_loose_ends.rs fix(clippy): fix all clippy warnings in hive-ag3nt, hive-forge, hive-matrix-mcp, hive-sh4re 2026-06-05 14:35:12 +02:00
paths.rs rename(#162): scrub remaining hm1nd references from comments and MCP instructions 2026-06-01 19:18:02 +02:00
plugins.rs hive-ag3nt + docs: extract prompt-rendering prose (#716 batch 3) 2026-05-31 16:46:00 +02:00
prompt.rs refactor: remove hyperhive.role option — there is only one role: agent 2026-06-04 14:31:44 +02:00
serve_common.rs fix(#1179): normalize bash-task-* wake_from at write time 2026-06-03 21:13:59 +02:00
stats.rs feat(stats): surface "favorite tools" (most-run bash commands) on /stats 2026-06-06 00:53:12 +02:00
turn.rs fix(clippy): fix all clippy warnings in hive-ag3nt, hive-forge, hive-matrix-mcp, hive-sh4re 2026-06-05 14:35:12 +02:00
turn_stats.rs feat(#2): split harness-internal state from agent-visible state 2026-06-01 13:27:35 +02:00
web_ui.rs fix(clippy): fix all clippy warnings in hive-ag3nt, hive-forge, hive-matrix-mcp, hive-sh4re 2026-06-05 14:35:12 +02:00