Skip to main content

Crate oxicode_catalog

Crate oxicode_catalog 

Source
Expand description

oxicode-catalog: model catalog — single source of truth for model data, identity, and provider descriptors.

This crate is the Rust port of omp’s @oh-my-pi/pi-catalog package. It owns:

  • the Api enum (the wire-format / protocol dialect a model speaks),
  • the layered model catalog (SNAP embedded snapshot -> LIVE runtime cache -> user overrides -> LOCAL server discovery),
  • provider descriptors (metadata + discovery).

oxicode-ai consumes these types; the dependency direction is one-way (oxicode-ai -> oxicode-catalog), mirroring omp’s strict pi-catalog / pi-ai package separation.

Re-exports§

pub use api::Api;
pub use catalog::*;

Modules§

api
The Api enum — the wire-format / protocol dialect spoken to a particular LLM provider.
catalog
Built-in provider catalog loader.
product_env
Product home-directory resolution for oxicode-ai.