Skip to main content

Module engine

Module engine 

Source
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.
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.