Skip to main content

Module store

Module store 

Source
Expand description

oxi-cli’s self-contained domain types and adapters.

Previously lived in a separate oxi-store crate. After the port-based refactor, all of oxi-cli’s storage-adjacent code lives here in a single module. The oxi-sdk port traits (oxi_sdk::ports::*) are the persistence contract; this module holds concrete types and file-based adapters.

§Removed during legacy cleanup

The following modules were absorbed from the old oxi-store crate but had zero importers in oxi-cli, so they were deleted:

  • auth_guidance (124 lines) — UX strings, never wired
  • settings_validation (346 lines) — validation messages, never wired
  • session_navigation (1,451 lines) — tree traversal, never wired
  • model_resolver (1,430 lines) — name → metadata, never wired
  • model_registry (1,792 lines) — replaced by oxi_sdk::ModelRegistry

Modules§

auth_storage
Authentication storage for API keys, OAuth tokens, and session tokens.
router_config
Router configuration loading for oxi-store.
session
Session management for the coding agent.
session_cwd
Session working directory tracking and validation.
settings
Settings management for oxi CLI