The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(agent): handle artifact store cancellation during subagent teardown
Steven Enamakel8c908b543318
diff --git a/crates/openhuman-core/src/agent/artifacts/store.rs b/crates/openhuman-core/src/agent/artifacts/store.rsindex e72cba68a1..d1a68e29c5 100644--- a/crates/openhuman-core/src/agent/artifacts/store.rs+++ b/crates/openhuman-core/src/agent/artifacts/store.rs@@ -357,8 +357,6 @@ pub(crate) async fn delete_artifact(workspace_dir: &Path, artifact_id: &str) ->}// Mark a status as unused — referenced only in tests via the store-#[allow(dead_code)]-fn _assert_status_used(_: ArtifactStatus) {}/// Maximum length of a sanitized artifact filename stem. Keeps the/// rendered filename short enough to round-trip on every filesystemdiff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rsindex 38498c31ff..b1fc0c8cb0 100644--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs@@ -195,11 +195,6 @@ pub(crate) fn cancel_all() -> Vec<String> {thread_ids}-#[allow(dead_code)]-pub(crate) fn prune(task_id: &str) {- let _ = registry().cancel_trusted(&TaskId::new(task_id));-}-pub(crate) fn now_ms() -> u64 {std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH)diff --git a/crates/openhuman-core/src/platform/socket/models.rs b/crates/openhuman-core/src/platform/socket/models.rsindex a654c13bcf..317b15f59a 100644--- a/crates/openhuman-core/src/platform/socket/models.rs+++ b/crates/openhuman-core/src/platform/socket/models.rs@@ -31,13 +31,3 @@ impl Default for SocketState {}}}--/// MCP error structure-#[allow(dead_code)]-#[derive(Debug, Clone, Serialize, Deserialize)]-pub struct McpError {- pub code: i32,- pub message: String,- #[serde(skip_serializing_if = "Option::is_none")]- pub data: Option<serde_json::Value>,-}