hive-bash-mcp: count bash commands over OTEL in the daemon, drop the sqlite hand-off
This commit is contained in:
parent
9ec67d7a18
commit
076df804e4
1 changed files with 100 additions and 184 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue