hyperhive/hive-ag3nt/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 684c85686e feat(stats): add an 'all' time range to agent + hive stats
Adds a Window::All option to the per-agent stats page and the hive-wide
rollup, selectable as a new 'all' tab on both.

- hive-ag3nt (per-agent, time-bucketed): All ranges from MIN(started_at)
  to now (fallback to now on an empty table) with an adaptive bucket
  width laddered by span — hourly <=2d, daily <=90d, weekly <=2y, 30-day
  beyond — so the trend series stays bounded (~<=104 buckets) at any age.
- hive-c0re (swarm rollup, not time-bucketed): All sets from=0 so the
  aggregate covers every recorded turn across all agents.
- frontend: an 'all' button on both the agent stats and dashboard hive
  stats window selectors (createTabStrip + fetch already pass the window
  string through, so no JS change needed).

cargo check passes on both crates; FE builds clean. Fixes #1919.
2026-06-22 23:47:20 +02:00
..
bin hive-c0re: graceful agent stop — quiesce harness, flush state, then stop 2026-06-19 11:50:59 +02:00
client.rs annotate mcp connect-refused as expected hive-c0re restart 2026-06-22 13:42:34 +02:00
events.rs feat(#1466): add sessions table + turn_stats.session_id capture for per-session stats 2026-06-10 19:56:15 +02:00
forge_notify.rs forge_notify: record dedupe cursor inside the ok arm for clarity 2026-06-22 16:45:24 +02:00
identity.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
lib.rs docs: drop stale hive-m1nd references (single hive binary) 2026-06-10 19:52:19 +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 fix(#1916): direct the agent to end its turn on graceful stop instead of a fenced-empty recv 2026-06-22 23:24:54 +02:00
mcp_loose_ends.rs refactor(#1450): lift shared harness-path resolution into hive-sh4re 2026-06-14 21:34:58 +02:00
paths.rs hive-sh4re: make harness_dir the single resolver; hive-ag3nt delegates (#1450) 2026-06-16 12:36:48 +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 docs: drop stale two-loop/two-binary framings (single hive serve loop) 2026-06-10 20:01:52 +02:00
stats.rs feat(stats): add an 'all' time range to agent + hive stats 2026-06-22 23:47:20 +02:00
turn.rs docs: drop residual both-binaries framings + stale binary_subcommand doc 2026-06-10 20:04:03 +02:00
turn_stats.rs turn_stats: create the session_id index after the column exists 2026-06-13 12:18:04 +02:00
web_ui.rs fix(dashboard): ctx·Nk card badge showed 0k — use context_tokens() 2026-06-21 21:56:18 +02:00