Expand description
oxicode: CLI coding harness
This crate provides the main application logic for the oxicode 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
- discovery
- Rule discovery for the TTSR (Time-Traveling Stream Rules) engine.
- extensions
- Extension system for oxicode
- internal_
urls - Internal URL scheme handlers for
issue://andpr://virtual paths. - lsp
- CLI-side LSP adapter.
- main_
dispatch - Single-prompt helper shared by the binary entry and integration tests.
- mcp_
credentials - File-backed MCP credential provider (v2.2).
- print_
mode - Print mode (non-interactive) for oxicode.
- rpc_
mode - RPC mode for headless operation
- services
- Composition root for oxicode-cli.
- setup_
wizard - Interactive setup wizard for oxicode (
oxicode setup). - storage
- Storage and resources — packages, resources (skills/themes/prompts), export
- store
- oxicode-cli’s self-contained domain types and adapters.
- symbols
- tools
- oxicode-cli-specific agent tools.
- tui_vt
Structs§
- App
- Holds an
Oxicodeengine (composition root) and a singleAgentbuilt from it. The legacyApp::new(settings)constructor is gone; useApp::from_oxicodewith a wiredOxicodefrombuild_oxicode_engine. - Compaction
Context - Context for compaction operations, passed to extension hooks
- Session
State - Pre-built session state threaded into the agent hook chain.
Functions§
- build_
oxicode_ engine - This is the new entry point for oxicode-cli run modes. It uses
oxicode-fsadapters andOxicodeBuilder::with_port_*to construct anOxicodewith persistence, auth, config, and skills wired. The legacyApp::newpath 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.