Expand description
Internal helpers used by Session and its prompt
loops.
These submodules exist so the Session facade in src/session/mod.rs can
stay focused on the durable data model and public API while the agentic
loop, compression strategy, error classification, tool-output routing,
etc. live next to each other.
Modulesยง
- archive
- S3/R2 archival of session event streams.
- bootstrap
- build
- compression
- Session history compression via the RLM router.
- confirmation
- Pending-confirmation helpers for tool results.
- defaults
- Default model selection per provider.
- edit
- error
- loop_
constants - Loop-control constants shared by the agentic prompt loops.
- markup
- prompt
- Core agentic prompt loop used by
Session::prompt. - prompt_
events - Streaming agentic prompt loop with event emission.
- provider
- router
- runtime
- stream
- Stream-completion collection with incremental event forwarding.
- text
- token
- validation