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§
- Diff
Result - Result of word-level diff computation
- Image
Attachment - Image content for message attachment
- Keybinding
Hints - Keybinding hints display
- Session
Entry - Session entry from JSONL file
- Session
Persistence - Session persistence for auto-save/load
Enums§
- Diff
Change - Individual change in a diff
- Interactive
State - State of the interactive loop.
- Slash
Command - Parsed slash command.
Functions§
- compute_
word_ diff - Compute word-level diff between two strings
- run_
interactive - Run the full interactive mode loop.