iris
5eacc99146
fix(dashboard): ctx·Nk card badge showed 0k — use context_tokens()
...
/api/dashboard-state reported ctx_tokens from raw ctx_usage.input_tokens,
which is only the *uncached* input. With prompt caching the bulk of the
prompt is cache-read, so input_tokens is ~0 and every SW4RM card showed
'ctx·0k'. Use ctx_usage.context_tokens() (input + cache-read + cache-creation
= the real window size) to match the agent page (ships the full ctx_usage)
and turn.rs's cache-TTL check. Doc comment updated.
2026-06-21 21:56:18 +02:00
..
bin
hive-c0re: graceful agent stop — quiesce harness, flush state, then stop
2026-06-19 11:50:59 +02:00
client.rs
docs: add missing #[must_use], # Errors, # Panics across public api
2026-05-22 19:41:27 +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: replace issue-tag comments with doc references (tracker-tag lint)
2026-06-13 12:20:21 +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
hive-c0re: graceful agent stop — quiesce harness, flush state, then stop
2026-06-19 11:50:59 +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): surface first-turn ctx tokens on the per-agent stats page
2026-06-10 20:37:35 +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