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
docs(threads): add README for the threads module
Steven Enamakel5b08d86df692
diff --git a/crates/openhuman-core/src/threads/README.md b/crates/openhuman-core/src/threads/README.mdindex 82221f85ec..986c5f3f84 100644--- a/crates/openhuman-core/src/threads/README.md+++ b/crates/openhuman-core/src/threads/README.md@@ -28,7 +28,7 @@ Conversation thread and message management. Owns the RPC surface and controller| `crates/openhuman-core/src/threads/turn_state/mod.rs` | Submodule export hub for in-flight turn snapshots. || `crates/openhuman-core/src/threads/turn_state/types.rs` | Wire/storage types: `TurnState`, `TurnLifecycle`, `TurnPhase`, `ToolTimelineEntry`/`Status`, `SubagentActivity`/`ToolCall`, and the get/list/clear request/response payloads. camelCase to mirror `chatRuntimeSlice.ts`. || `crates/openhuman-core/src/threads/turn_state/store.rs` | `TurnStateStore` — atomic per-turn JSON snapshot store (tempfile + persist + dir fsync), process-wide mutex; `put`/`get` (latest turn)/`get_turn`/`delete`/`list`/`list_thread`/`clear_all`/`mark_all_interrupted` plus free-fn wrappers. Migrates legacy flat `<hex(thread_id)>.json` files into the per-turn directory on first access. |-| `crates/openhuman-core/src/threads/turn_state/mirror.rs` (+ `mirror_part_01.rs`/`mirror_part_02.rs`) | `TurnStateMirror` — translates `agent::progress::AgentProgress` events into `TurnState` mutations (incl. the ordered narration/thinking/tool `transcript`), flushing at iteration/tool boundaries; on completion marks the snapshot `Completed` and **keeps** it (so the "View processing" panel can replay the finished turn), flags `Interrupted` if the bridge exits without `TurnCompleted`. |+| `crates/openhuman-core/src/threads/turn_state/mirror.rs` (thin shell over the `mirror/` submodule: `state.rs`, `lifecycle.rs`, `observe.rs`, `caps.rs`) | `TurnStateMirror` — translates `agent::progress::AgentProgress` events into `TurnState` mutations (incl. the ordered narration/thinking/tool `transcript`), flushing at iteration/tool boundaries; on completion marks the snapshot `Completed` and **keeps** it (so the "View processing" panel can replay the finished turn), flags `Interrupted` if the bridge exits without `TurnCompleted`. || `*_tests.rs` | Sibling test suites: `error_tests.rs`, `ops_tests*.rs`, `schemas_tests.rs`, `title_tests.rs`, `welcome_migration_tests.rs`, `turn_state/store_tests.rs`, `turn_state/mirror_tests*.rs`. |## Submodules