Skip to main content

Module interactive

Module interactive 

Source
Expand description

Interactive mode for the oxi coding agent.

Manages the TUI display loop, input handling, command dispatch, agent event processing, and state machine transitions.

Modes: Input → Thinking → ToolExecution → Display → Input

§Commands

/model, /clear, /compact, /undo, /redo, /branch, /session, /export, /settings, /help

Structs§

DiffResult
Result of word-level diff computation
ImageAttachment
Image content for message attachment
KeybindingHints
Keybinding hints display
SessionEntry
Session entry from JSONL file
SessionPersistence
Session persistence for auto-save/load

Enums§

DiffChange
Individual change in a diff
InteractiveState
State of the interactive loop.
SlashCommand
Parsed slash command.

Functions§

compute_word_diff
Compute word-level diff between two strings
run_interactive
Run the full interactive mode loop.