Skip to main content

Module commands

Module commands 

Source
Expand description

Engine-level command results — TUI-agnostic outcomes of slash commands.

The engine processes a command and returns a CommandResult. Renderers (TUI, headless) decide how to display the result.

Structs§

SessionSummary
Summary of a session for listing.

Enums§

CommandResult
Result of processing a slash command in the engine.
ModalRequest
TUI-specific modals the engine can request.

Functions§

handle_engine_command
Process commands that are pure engine logic — no TUI state needed. Returns None if the command needs TUI-level handling.
parse_command
Parse a slash command into (command, arg).