Skip to content

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

fix(auth): correct module path references in doc comments

Steven Enamakel5c200e42241f
diff --git a/crates/openhuman-rpc/src/server/auth.rs b/crates/openhuman-rpc/src/server/auth.rs
index d657cb77f8..5b091256f8 100644
--- a/crates/openhuman-rpc/src/server/auth.rs
+++ b/crates/openhuman-rpc/src/server/auth.rs
@@ -7,14 +7,12 @@
//! - `GET /` — public info page
//! - `GET /health` — liveness probe
//! - `GET /schema` — read-only schema discovery
-//! - `GET /dev/connect` — dev-only core handoff; see `core::dev_connect`
+//! - `GET /dev/connect` — dev-only core handoff; see `server::dev_connect`
//! - `GET /events` — SSE stream; browser `EventSource` cannot set
-//! headers, so the handler enforces a bind-token /
-//! bearer credential itself
+//! headers, so the handler enforces a bind-token / bearer credential itself
//! - `GET /ws/dictation` — WebSocket upgrade; browser WS API cannot set
-//! headers, so the handler enforces the bearer
-//! (header or `?token=`) + origin itself before the
-//! upgrade (C4 / issue #1924)
+//! headers, so the handler enforces the bearer (header or `?token=`) +
+//! origin itself before the upgrade (C4 / issue #1924)
//! - `OPTIONS *` — CORS preflight (handled by outer CORS middleware)
//!
//! Endpoints that accept the bearer either via header **or** `?token=…` query
@@ -58,7 +56,7 @@ const PUBLIC_PATHS: &[&str] = &[
// bearer; the one-time `state` (minted in `oauth_begin`) is the guard.
"/oauth/mcp/callback",
// Dev-only handoff to a loopback Vite renderer. Guards live in the handler
- // (`core::dev_connect`): debug build or explicit opt-in, loopback `app`
+ // (`server::dev_connect`): debug build or explicit opt-in, loopback `app`
// origin and `Host`, no cross-site navigation.
"/dev/connect",
"/schema",