Expand description
oxi: CLI coding harness
This crate provides the main application logic for the oxi CLI.
Re-exports§
pub use storage::packages::PackageManager;pub use storage::packages::ResourceKind;
Modules§
- auth_
guidance - Auth guidance messages for providers
- auth_
storage - Authentication storage for API keys, OAuth tokens, and session tokens.
- cli
- CLI argument parsing with clap
- extensions
- Extension system for oxi
- model_
registry - Model registry — manages built-in and custom models, provides API key resolution.
- model_
resolver - Model name resolution and matching
- print_
mode - Print mode (non-interactive) for oxi.
- session
- Session management for the coding agent.
- session_
cwd - Session working directory tracking and validation.
- session_
navigation - Session tree navigation for branched sessions
- settings
- Settings management for oxi CLI
- settings_
validation - 설정 검증 모듈.
- setup_
wizard - Interactive setup wizard for oxi (
oxi setup). - storage
- Storage and resources — packages, resources (skills/themes/prompts), export
- tui
- TUI interactive mode — module structure.
Structs§
- App
- Application state and entry point
- Auth
Storage - Main auth storage struct.
- Chat
Message - Chat message for display
- Compaction
Context - Context for compaction operations, passed to extension hooks
- Interactive
Loop - Interactive loop handle
- Interactive
Session - Interactive session state
- Session
Entry - Session entry - a simple struct for backward compatibility This wraps the internal enum representation
- Session
Manager - Manages conversation sessions as append-only trees stored in JSONL files.
- Session
Tree Node - Tree node for get_tree()
- Settings
- Application settings
- Validation
Report - 검증 결과
Enums§
- Agent
Message - Agent message roles
- Assistant
Content Block - Content block for assistant messages
- Content
Block - Content block for text or image content
- Content
Value - Content can be string or array of content blocks
Type Aliases§
- Model
Registry - Backward-compatible alias for
CliModelRegistry.