Skip to content

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

docs(tokenjuice): update readme with bus contract changes

Steven Enamakelf4c9ff1969d5
diff --git a/crates/openhuman-core/src/inference/tokenjuice/README.md b/crates/openhuman-core/src/inference/tokenjuice/README.md
index 746b593277..938e4e1a03 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/README.md
+++ b/crates/openhuman-core/src/inference/tokenjuice/README.md
@@ -69,10 +69,13 @@ behavior. There is no linked implementation fallback.
the aliases stay registered for transcript replay but off the wire. It is
added when compaction is on or the agent's results can be summarized
(`summarizes_tool_output`), since a summary's footer names it too.
-- Handle mode: `install_request` sets `CompressOptions.repl_handle` (and
- `repl_save_dir` when `repl_save_enabled`) from `repl_handle_active(config)`,
- which needs `context.compaction_enabled`, `router_enabled`, `ccr_enabled` and
- `repl_handle_enabled`. `tools/ops.rs` registers the REPL tools under the same
+- Handle mode: `install_request` sets `CompressOptions.repl_handle` from
+ `repl_handle_active(config)`, which needs `context.compaction_enabled`,
+ `router_enabled`, `ccr_enabled` and `repl_handle_enabled`. TinyJuice's bus
+ contract no longer accepts a `repl_save_dir`; the old filesystem snapshot
+ behavior is retired. `repl_save_enabled` remains in config and settings RPCs
+ for compatibility, but does not affect module behavior. `tools/ops.rs`
+ registers the REPL tools under the same
test, `session_host/builder/mod.rs::ensure_repl_tools_visible` adds them to a
curated belt, and `middleware/tool_output.rs::is_compaction_exempt` keeps
their answers from being stored behind a second handle (their own
@@ -81,6 +84,12 @@ behavior. There is no linked implementation fallback.
- Contract crate: `tinyjuice-bus` ([`vendor/tinyjuice/crates/tinyjuice-bus`](../../../../../vendor/tinyjuice/crates/tinyjuice-bus/),
path dependency in [`crates/openhuman-core/Cargo.toml`](../../../Cargo.toml)).
+`ccr_disk_enabled` projects to the bus's `ccr_durable` flag. The module's
+durable CCR data uses the host-granted storage schema; the previous
+`.tokenjuice/ccr` directory is read only by the host's guarded legacy import
+before installation and is never sent over the bus. `ccr_ttl_secs` remains a
+separate module cache retention setting.
+
## Further reading
- [Parent module README](../README.md)