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(http): make query structs visible within the crate
Steven Enamakel0e9b8e8ecaab
diff --git a/crates/openhuman-core/src/core/jsonrpc/http/dictation.rs b/crates/openhuman-core/src/core/jsonrpc/http/dictation.rsindex 9b5faa9114..9ddb979cd7 100644--- a/crates/openhuman-core/src/core/jsonrpc/http/dictation.rs+++ b/crates/openhuman-core/src/core/jsonrpc/http/dictation.rs@@ -15,7 +15,7 @@ use serde_json::json;/// validated against the same in-process RPC token via [`verify_bearer_token`]/// (single source of truth, no separate credential).#[derive(Debug, serde::Deserialize)]-struct DictationQuery {+pub(super) struct DictationQuery {#[serde(default)]token: Option<String>,}diff --git a/crates/openhuman-core/src/core/jsonrpc/http/events.rs b/crates/openhuman-core/src/core/jsonrpc/http/events.rsindex 84aa4e2e22..88ec2e292a 100644--- a/crates/openhuman-core/src/core/jsonrpc/http/events.rs+++ b/crates/openhuman-core/src/core/jsonrpc/http/events.rs@@ -16,7 +16,7 @@ use tokio_stream::StreamExt;/// `Authorization` header, so the bind token is the only credential the/// endpoint accepts.#[derive(Debug, serde::Deserialize)]-struct EventsQuery {+pub(super) struct EventsQuery {client_id: String,#[serde(default)]token: Option<String>,diff --git a/crates/openhuman-core/src/core/jsonrpc/http/oauth_mcp.rs b/crates/openhuman-core/src/core/jsonrpc/http/oauth_mcp.rsindex 8e135956f0..1739aca70e 100644--- a/crates/openhuman-core/src/core/jsonrpc/http/oauth_mcp.rs+++ b/crates/openhuman-core/src/core/jsonrpc/http/oauth_mcp.rs@@ -8,7 +8,7 @@ use super::pages::{error_html, success_html};/// Query params for the MCP browser-OAuth callback (`/oauth/mcp/callback`).#[derive(Debug, serde::Deserialize)]-struct OAuthMcpCallbackQuery {+pub(super) struct OAuthMcpCallbackQuery {code: Option<String>,state: Option<String>,error: Option<String>,