Skip to main content

Crate oxi

Crate oxi 

Source
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
AuthStorage
Main auth storage struct.
ChatMessage
Chat message for display
CompactionContext
Context for compaction operations, passed to extension hooks
InteractiveLoop
Interactive loop handle
InteractiveSession
Interactive session state
SessionEntry
Session entry - a simple struct for backward compatibility This wraps the internal enum representation
SessionManager
Manages conversation sessions as append-only trees stored in JSONL files.
SessionTreeNode
Tree node for get_tree()
Settings
Application settings
ValidationReport
검증 결과

Enums§

AgentMessage
Agent message roles
AssistantContentBlock
Content block for assistant messages
ContentBlock
Content block for text or image content
ContentValue
Content can be string or array of content blocks

Type Aliases§

ModelRegistry
Backward-compatible alias for CliModelRegistry.