Skip to content

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

chore: remove dead storage bypass allowlist entry and unused bindings

Steven Enamakel1c43351c54b2
diff --git a/crates/openhuman-core/src/modules/storage_import_tinywallet.rs b/crates/openhuman-core/src/modules/storage_import_tinywallet.rs
index 70d88947d5..63832e4c39 100644
--- a/crates/openhuman-core/src/modules/storage_import_tinywallet.rs
+++ b/crates/openhuman-core/src/modules/storage_import_tinywallet.rs
@@ -23,7 +23,6 @@
use std::path::Path;
use anyhow::{anyhow, Context, Result};
-use serde_json::json;
use tinystoragedrivers::ScopedStorage;
use super::storage_grant_schemas::tinywallet::{MODULE_ID, PAYMENTS_STREAM};
@@ -62,7 +61,6 @@ async fn import_into(
scoped: &ScopedStorage,
workspace_dir: &Path,
) -> Result<Outcome> {
- let docs = scoped.documents();
let marker = support::marker_id("x402", workspace_dir);
if support::already_imported(scoped, MARKER_COLLECTION, &marker).await? {
return Ok(Outcome::AlreadyDone);
diff --git a/crates/openhuman-tinyhumans/src/channels/mod.rs b/crates/openhuman-tinyhumans/src/channels/mod.rs
index ae3808f572..f8e2c9d26a 100644
--- a/crates/openhuman-tinyhumans/src/channels/mod.rs
+++ b/crates/openhuman-tinyhumans/src/channels/mod.rs
@@ -27,6 +27,7 @@ use tinychannels_bus::{ChannelBackendRequest, ChannelBackendResult};
use crate::install::InstallOptions;
/// The id the callback registers under.
+#[cfg(feature = "channels")]
pub const CALLBACK_ID: &str = "tinyhumans";
/// Serves one callback request.
diff --git a/crates/openhuman-tinyhumans/src/integrations/composio.rs b/crates/openhuman-tinyhumans/src/integrations/composio.rs
index c1b0ececf9..eb459a7888 100644
--- a/crates/openhuman-tinyhumans/src/integrations/composio.rs
+++ b/crates/openhuman-tinyhumans/src/integrations/composio.rs
@@ -10,6 +10,7 @@ use openhuman_embed::__host::composio::{register_composio_route_builder, Composi
#[cfg(feature = "modules")]
use openhuman_embed::__host::composio::{register_proxy_target, ProxyTarget};
use openhuman_embed::__host::config::schema::COMPOSIO_MODE_BACKEND;
+#[cfg(feature = "modules")]
use openhuman_embed::__host::config::Config;
use super::build_client;
diff --git a/scripts/ci/storage-bypass-allow-reasons.json b/scripts/ci/storage-bypass-allow-reasons.json
index 1f21dd3c98..8de250d4e2 100644
--- a/scripts/ci/storage-bypass-allow-reasons.json
+++ b/scripts/ci/storage-bypass-allow-reasons.json
@@ -76,13 +76,6 @@
"reason": "paired with the OS keychain mnemonic (and holds it when there is no keychain): moves with the secrets work, not as a plain document",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7430"
},
- {
- "path": "crates/openhuman-core/src/agent/harness/artifact_offload/mod.rs",
- "rule": "json-write",
- "site": "tokio::fs::write(&target, body)",
- "reason": "a derived view of a blob-stored artifact, placed in the action dir so file_read can open the path a pointer hands back; the tenant's blob store stays the source of truth",
- "issue": "https://github.com/tinyhumansai/openhuman/issues/7425"
- },
{
"path": "crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod.rs",
"rule": "json-write",
diff --git a/tests/mcp_registry_multi_server.rs b/tests/mcp_registry_multi_server.rs
index 2b3eedf12a..3d34138f9d 100644
--- a/tests/mcp_registry_multi_server.rs
+++ b/tests/mcp_registry_multi_server.rs
@@ -19,7 +19,7 @@ fn fresh_workspace_config() -> (tempfile::TempDir, Config) {
let artifact = std::env::var_os(MODULE_ARTIFACT_ENV)
.map(std::path::PathBuf::from)
.or_else(|| {
- openhuman_core::modules::local_artifact("tinymcp").map(std::path::PathBuf::from)
+ openhuman_core::modules::local_artifact("tinymcp")
})
.expect("the MCP test runner supplies the verified TinyMCP artifact")
.canonicalize()