Watch
0
0
Fork
You've already forked hyperhive
0

hive-bash-mcp: count bash commands over OTEL in the daemon, drop the sqlite hand-off

This commit is contained in:
damocles 2026-11-18 19:44:18 +01:00 • committed by mara
commit 076df804e4

View file

@ -32,7 +32,6 @@ mod router_todos;
mod schedule_timer;
mod serve_common;
mod state_entry_watch;
mod stats;
mod subagent_role_watch;
mod swarm_agent_commands;
mod swarm_agent_state;
@ -1031,7 +1030,6 @@ async fn handle_turn<S: Surface>(
unread,
});
bus.set_state(TurnState::Thinking);
let started_at = chrono::Utc::now().timestamp();
let started_instant = std::time::Instant::now();
let model_at_start = bus.model();
// Read-and-clear: this wake prompt is the one turn that gets to carry
@ -1064,7 +1062,6 @@ async fn handle_turn<S: Surface>(
let (open_threads, open_reminders) = S::post_turn_counts(socket).await;
let context_window = bus.api_context_window();
let row = serve_common::build_row(serve_common::TurnRowArgs {
started_at,
duration_ms,
model: model_at_start,
wake_from: from.clone(),