Skip to content

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

docs: update session store references after move into openhuman-rpc

Steven Enamakel54888fa8d755
diff --git a/AGENTS.md b/AGENTS.md
index ec71b41f53..ec8f1a06a8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -19,8 +19,7 @@ Architecture: [overview](gitbooks/developing/architecture.md),
| `crates/openhuman-core/src/core/` | CLI, controller contract (`Outcome`, schemas) and in-process dispatch, controller registry, event bus, runtime composition; no business logic and no JSON-RPC server |
| `crates/openhuman-cli/` | The `openhuman-core` binary (`src/main.rs`), the developer/benchmark bins (`src/bin/`), and every root `tests/*.rs` / `examples/*.rs` target; depends on `openhuman-tinyhumans` for the backend transport the core does not carry |
| `crates/openhuman-embed/` | Typed library facade for embedding the core in another product |
-| `crates/openhuman-rpc/` | JSON-RPC 2.0 over the core: envelopes, HTTP client, and the server (router, Socket.IO, listener, `run_server*`) used by app, CLI and TUI |
-| `crates/openhuman-store-sqlite/` | The on-disk session store (`session_raw/`, `session_db/`, `tinyagents_store/`, turn states) behind TinyAgents' session store port; installed by the app and CLI (`openhuman_rpc::server::install_session_store`) and the TUI. Core and embed reach session state through the port (`agent::session_store`); a few legacy paths still fall back to workspace files when no store is installed |
+| `crates/openhuman-rpc/` | JSON-RPC 2.0 over the core: envelopes, HTTP client, and the server (router, Socket.IO, listener, `run_server*`) used by app, CLI and TUI; plus `session_store` (`session-store` feature), the on-disk session store (`session_raw/`, `session_db/`, `tinyagents_store/`, turn states) behind TinyAgents' session store port, which the app, CLI and TUI install. Core and embed reach session state through the port (`agent::session_store`); a few legacy paths still fall back to workspace files when no store is installed |
| `crates/openhuman-tinyhumans/` | The TinyHumans layer above embed: SDK-backed backend transport, a `RuntimeBuilder` that boots connected, and the host-side login/session owner (login-token exchange, `/auth/me`, current-user cache, credential handoff) used by app and TUI |
| `crates/openhuman-tui/` | Standalone terminal frontend |
| `tests/` | Rust integration and JSON-RPC tests |
diff --git a/crates/openhuman-embed/README.md b/crates/openhuman-embed/README.md
index ca96707d61..d4f9a2b42b 100644
--- a/crates/openhuman-embed/README.md
+++ b/crates/openhuman-embed/README.md
@@ -261,7 +261,7 @@ reopened agent resumes its thread from the store, in any process.
`Workspace::stateless()` refuses to build without a store, and a private
scratch directory, removed with the runtime, still holds process-local
caches (cost log, prompt templates, migration markers). The desktop app, CLI
-and TUI install `openhuman-store-sqlite`, the classic on-disk layout behind
+and TUI install `openhuman_rpc::session_store`, the classic on-disk layout behind
the same port. See `tests/session_store.rs`.
### Still runtime-wide
diff --git a/crates/openhuman-rpc/src/session_store/mod.rs b/crates/openhuman-rpc/src/session_store/mod.rs
index 2357ddcd51..80c6efa0c2 100644
--- a/crates/openhuman-rpc/src/session_store/mod.rs
+++ b/crates/openhuman-rpc/src/session_store/mod.rs
@@ -84,7 +84,7 @@ impl SessionStoreProvider for SqliteSessionStores {
fn for_agent(&self, agent_id: &str) -> AgentStores {
let workspace = self.current();
log::trace!(
- "[store-sqlite] stores for agent={agent_id} workspace={}",
+ "[rpc:session_store] stores for agent={agent_id} workspace={}",
workspace.display()
);
stores_at(&workspace)
@@ -101,7 +101,7 @@ impl SessionStoreProvider for SqliteSessionStores {
.map_err(anyhow::Error::msg)?;
let runs = tinyagents_session::run_ledger::interrupt_orphaned_agent_runs(&workspace)?;
log::info!(
- "[store-sqlite] recovered workspace={} interrupted_turns={turns} settled_runs={runs}",
+ "[rpc:session_store] recovered workspace={} interrupted_turns={turns} settled_runs={runs}",
workspace.display()
);
Ok(())