Skip to content

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

chore(hosted): drop unused config_rpc imports

Steven Enamakel6df73c9253a4
diff --git a/crates/openhuman-tinyhumans/src/hosted/README.md b/crates/openhuman-tinyhumans/src/hosted/README.md
index 3cc30e495c..1f20697fc2 100644
--- a/crates/openhuman-tinyhumans/src/hosted/README.md
+++ b/crates/openhuman-tinyhumans/src/hosted/README.md
@@ -38,7 +38,7 @@ registered.
JSON-RPC openhuman.billing_get_balance
|
v
- schemas.rs handler load config (config_rpc::load_config_with_timeout)
+ schemas.rs handler load config (DispatchCtx::load_config)
| read and validate params
v
ops.rs operation validate inputs (trimmed, non-empty) first
diff --git a/crates/openhuman-tinyhumans/src/hosted/announcements/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/announcements/schemas.rs
index e32c28377d..24bdf65cc2 100644
--- a/crates/openhuman-tinyhumans/src/hosted/announcements/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/announcements/schemas.rs
@@ -1,7 +1,6 @@
use openhuman_embed::__host::core::runtime::DispatchCtx;
use serde_json::{Map, Value};
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-tinyhumans/src/hosted/billing/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/billing/schemas.rs
index 60d7b28174..9ef10cc758 100644
--- a/crates/openhuman-tinyhumans/src/hosted/billing/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/billing/schemas.rs
@@ -3,7 +3,6 @@ use serde::de::DeserializeOwned;
use serde::Deserialize;
use serde_json::{Map, Value};
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-tinyhumans/src/hosted/channel_link/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/channel_link/schemas.rs
index a67d622060..1315b678a0 100644
--- a/crates/openhuman-tinyhumans/src/hosted/channel_link/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/channel_link/schemas.rs
@@ -3,7 +3,6 @@ use serde::de::DeserializeOwned;
use serde::Deserialize;
use serde_json::{Map, Value};
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-tinyhumans/src/hosted/oauth/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/oauth/schemas.rs
index 3f9cedc6af..0cee327b8e 100644
--- a/crates/openhuman-tinyhumans/src/hosted/oauth/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/oauth/schemas.rs
@@ -3,7 +3,6 @@ use serde::de::DeserializeOwned;
use serde::Deserialize;
use serde_json::{Map, Value};
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-tinyhumans/src/hosted/referral/README.md b/crates/openhuman-tinyhumans/src/hosted/referral/README.md
index 62b9746aec..15ecdf113c 100644
--- a/crates/openhuman-tinyhumans/src/hosted/referral/README.md
+++ b/crates/openhuman-tinyhumans/src/hosted/referral/README.md
@@ -38,7 +38,7 @@ Two controllers in the `referral` namespace, registered into the global registry
| `referral_get_stats` (`referral.get_stats`) | none | `stats` (JSON) | `GET /referral/stats` |
| `referral_claim` (`referral.claim`) | `code` (string, required), `deviceFingerprint` (string, optional) | `result` (JSON) | `POST /referral/claim` |
-An unrecognized `function` name returns an `unknown` placeholder schema with an `error` output. Handlers load `Config` via `config_rpc::load_config_with_timeout()` and return CLI-compatible JSON through `Outcome::into_cli_compatible_json()`.
+An unrecognized `function` name returns an `unknown` placeholder schema with an `error` output. Handlers load `Config` via `DispatchCtx::load_config()` and return CLI-compatible JSON through `Outcome::into_cli_compatible_json()`.
## Persistence
diff --git a/crates/openhuman-tinyhumans/src/hosted/referral/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/referral/schemas.rs
index 737505787a..a7711ba054 100644
--- a/crates/openhuman-tinyhumans/src/hosted/referral/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/referral/schemas.rs
@@ -3,7 +3,6 @@ use serde::de::DeserializeOwned;
use serde::Deserialize;
use serde_json::{Map, Value};
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-tinyhumans/src/hosted/team/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/team/schemas.rs
index 0c1e111adf..7359970c74 100644
--- a/crates/openhuman-tinyhumans/src/hosted/team/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/team/schemas.rs
@@ -3,7 +3,6 @@ use serde::de::DeserializeOwned;
use serde::Deserialize;
use serde_json::{Map, Value};
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-tinyhumans/src/hosted/webhooks/schemas.rs b/crates/openhuman-tinyhumans/src/hosted/webhooks/schemas.rs
index 8a32083dec..3c9b50ef02 100644
--- a/crates/openhuman-tinyhumans/src/hosted/webhooks/schemas.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/webhooks/schemas.rs
@@ -4,7 +4,6 @@ use serde::Deserialize;
use serde_json::{Map, Value};
use tinyhumans_sdk::api::webhooks::UpdateWebhookTunnelRequest;
-use openhuman_embed::__host::config::rpc as config_rpc;
use openhuman_embed::__host::core::all::{ControllerFuture, RegisteredController};
use openhuman_embed::__host::core::Outcome;
use openhuman_embed::__host::core::{ControllerSchema, FieldSchema, TypeSchema};