Skip to main content

Module services

Module services 

Source
Expand description

Composition root for oxi-cli.

Wires concrete file-based port implementations (from oxi-fs) to the Oxi engine. Future run modes (TUI / print / RPC) build on top of the Oxi produced here.

§Migration note

The legacy App struct in lib.rs is the single-user interactive composition (TUI-driven, in-process). This module is the port-based composition: a Oxi engine with persistence, auth, config, and skills wired via oxi_sdk::OxiBuilder::with_port_*.

Both paths are expected to coexist during the migration. New run modes should consume build_oxi(...) from this module; the legacy App path remains for the interactive TUI until it is fully migrated.

Structs§

OxiPaths
Resolved paths under the oxi home directory.

Functions§

build_oxi
Build an Oxi engine wired with file-based port implementations.