Skip to content

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

fix(api): remove unused models module

Steven Enamakel0a16df2a3132
diff --git a/crates/openhuman-core/src/api/models/mod.rs b/crates/openhuman-core/src/api/models/mod.rs
index 4ce9243427..9957c1fd0b 100644
--- a/crates/openhuman-core/src/api/models/mod.rs
+++ b/crates/openhuman-core/src/api/models/mod.rs
@@ -1,14 +1,16 @@
-//! Serde DTOs mirroring `tinyhumansai/backend` wire payloads.
+//! Serde DTOs for the TinyHumans backend auth and Socket.IO surfaces.
//!
-//! These are wire shapes only — they must track the backend's JSON, not the
-//! other way around. Route implementations belong in `vendor/tinyhumans-sdk`,
-//! not here.
+//! - [`auth`] — `Session`, `User` (camelCase backend profile fields),
+//! `AuthErrorResponse` mirror `tinyhumansai/backend` payloads and must track
+//! its JSON; `AuthState` is the shape the core emits to the frontend.
+//! - [`socket`] — `ConnectionStatus` and `SocketState` are the realtime
+//! connection state emitted to the frontend (consumed by
+//! `crate::platform::socket`); `SocketMessage` and the JSON-RPC 2.0 MCP
+//! envelope types `McpRequest` / `McpResponse` / `McpError` mirror backend
+//! payloads.
//!
-//! - [`auth`] — auth/session payloads: `Session`, `User`, `AuthErrorResponse`,
-//! `AuthState`.
-//! - [`socket`] — Socket.IO realtime payloads: `ConnectionStatus`,
-//! `SocketState`, `SocketMessage`, and the JSON-RPC 2.0 MCP envelope types
-//! `McpRequest` / `McpResponse` / `McpError`.
+//! Several of these are `#[allow(dead_code)]` and kept only as wire shapes.
+//! Route implementations belong in `vendor/tinyhumans-sdk`, not here.
pub mod auth;
pub mod socket;