Expand description
Adapters (hexagonal architecture) — implementations of ports.
Portable adapters live in looprs_core::adapters and are re-exported here
for backwards compatibility. Adapters that depend on looprs internals
(PluginsAdapter, RetryProvider) remain in this module.
Re-exports§
pub use plugin_executor::PluginsAdapter;pub use retry_provider::RetryProvider;pub use sqlite_session_store::SqliteSessionStore;pub use ui_output::UiOutput;
Modules§
- plugin_
executor - PluginExecutor port adapter — bridges domain to Plugins infrastructure.
- retry_
provider - RetryProvider adapter — wraps any
LLMProviderwith exponential backoff. - sqlite_
session_ store - SqliteSessionStore adapter —
SessionStorebacked by a SQLite database. - ui_
output - UiOutput adapter —
UserOutputport backed bylooprs::ui.
Structs§
- Channel
Broker - Thread-safe, cheaply cloneable pub/sub broker backed by tokio broadcast channels.
- FsSession
Store - Filesystem-backed session store that appends JSONL lines to a dated log file.
- Null
Output - Discards all output. Use in tests where UI side-effects are unwanted.
- Terminal
Output - Writes output directly to stdout/stderr with no formatting or sanitization.
Functions§
- default_
session_ store - Create the session store selected by
persistence.session_storein config.