Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: remove unused SubagentUsageExt imports

Steven Enamakel4c52edc72452
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_usage.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_usage.rs
index f3f0114cec..4e968b5868 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session_usage.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_usage.rs
@@ -1,6 +1,5 @@
//! Committed-turn goal accounting and billing projection.
-use crate::agent::subagent_host::SubagentUsageExt as _;
/// Account only a receipt-backed turn, using the same direct-plus-completed
/// child total the codec attached to the atomic transcript append.
pub(in crate::agent::session_host) async fn account_committed_turn_against_goal(
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 56d01238f6..37a1a98717 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -32,7 +32,7 @@ use tokio::sync::{Mutex as AsyncMutex, Notify};
use checkpoint::absolute_checkpoint_dir;
use super::{
- SubagentRunError, SubagentRunOptions, SubagentRunOutcome, SubagentRunStatus, SubagentUsageExt,
+ SubagentRunError, SubagentRunOptions, SubagentRunOutcome, SubagentRunStatus,
};
fn root_context_from_options(
diff --git a/crates/openhuman-core/src/web_chat/presentation.rs b/crates/openhuman-core/src/web_chat/presentation.rs
index 21f9f9718d..a945fe6b24 100644
--- a/crates/openhuman-core/src/web_chat/presentation.rs
+++ b/crates/openhuman-core/src/web_chat/presentation.rs
@@ -1,7 +1,6 @@
//! Presentation layer for web-channel chat responses: store a finished reply,
//! then announce it to the client as one unmodified `chat_done` message.
-use crate::agent::subagent_host::SubagentUsageExt as _;
use tinychannels_bus::web as bus_web;
use crate::agent::tinyagents::host::LastTurnUsage;
diff --git a/crates/openhuman-core/src/web_chat/progress_map.rs b/crates/openhuman-core/src/web_chat/progress_map.rs
index 7b3d7e7921..70844fad79 100644
--- a/crates/openhuman-core/src/web_chat/progress_map.rs
+++ b/crates/openhuman-core/src/web_chat/progress_map.rs
@@ -5,7 +5,6 @@
//! file builds no `WebChannelEvent`. Payload caps are applied here, before the
//! projection, so a multi-megabyte tool result never reaches the socket.
-use crate::agent::subagent_host::SubagentUsageExt as _;
use serde::Serialize;
use serde_json::Value;
use tinychannels_bus::module_progressive::{
diff --git a/crates/openhuman-embed/src/turn_types.rs b/crates/openhuman-embed/src/turn_types.rs
index 4adecde143..9712ce296f 100644
--- a/crates/openhuman-embed/src/turn_types.rs
+++ b/crates/openhuman-embed/src/turn_types.rs
@@ -1,5 +1,4 @@
//! Credential-safe routes, wire turn requests and their typed outcomes.
-use openhuman_core::agent::subagent_host::SubagentUsageExt as _;
use serde::{Deserialize, Serialize};
#[cfg(test)]