Expand description
Engine — shared business logic for both TUI and headless modes.
The engine owns the runtime, session, extensions, and event bus. Renderers (chatui TUI, headless chat) call into the engine for all non-visual operations.
Modules§
- commands
- Engine-level command results — TUI-agnostic outcomes of slash commands.
- reactor
- Central event-drain and wake-action policy — mode-agnostic engine layer.
- session
- Engine-level session management — save, load, resume, clear.
- setup
- Engine setup — boot sequence shared by TUI and headless modes.
- stream
- Engine-level stream processing — TUI-agnostic event handling.