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§

bootstrap
Application bootstrap and run-mode dispatch.
cli
CLI argument parsing with clap
extensions
Extension system for oxi
main_dispatch
Single-prompt helper shared by the binary entry and integration tests.
print_mode
Print mode (non-interactive) for oxi.
services
Composition root for oxi-cli.
setup_wizard
Interactive setup wizard for oxi (oxi setup).
storage
Storage and resources — packages, resources (skills/themes/prompts), export
store
oxi-cli’s self-contained domain types and adapters.
tui
TUI interactive mode — module structure.

Structs§

App
Application state and entry point.
CompactionContext
Context for compaction operations, passed to extension hooks

Functions§

build_oxi_engine
This is the new entry point for oxi-cli run modes. It uses oxi-fs adapters and OxiBuilder::with_port_* to construct an Oxi with persistence, auth, config, and skills wired. The legacy App::new path is still used by the interactive TUI during the migration period.
run_port_check
Self-check the wired port implementations. Prints a one-line summary per port and returns Ok(()) if all are reachable.