Skip to main content

Module store

Module store 

Source
Expand description

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

Previously lived in a separate oxicode-store crate. After the port-based refactor, all of oxicode-cli’s storage-adjacent code lives here in a single module. The oxicode-sdk port traits (oxicode_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 oxicode-store crate but had zero importers in oxicode-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 oxicode_sdk::ModelRegistry

Modules§

access_compat
Permission compatibility — partial port of grok-build xai-grok-workspace/src/permission/ (Apache-2.0).
auth_storage
Authentication storage for API keys, OAuth tokens, and session tokens.
extracting_backend
LLM fact-extraction wrapper around any oxicode_agent::tools::MemoryBackend.
fs_util
Atomic write helpers shared across store/*.
hook_approval
First-run approval gate for project-scoped [[hooks]].
issues
Local issue tracking system — GitHub-style issues stored as markdown files.
memory_mnemopi
Mnemopi-backed memory store implementing MemoryBackend.
memory_sqlite
SQLite-backed memory store implementing MemoryBackend.
memory_summary
Autonomous memory pipeline (omp local-backend port).
memory_workers
SQLite-backed job queue + Phase 1 / Phase 2 workers for the autonomous memory pipeline (memory_summary.rs).
mnemopi
Simple JSON-file-based memory store implementing MemoryBackend.
router_config
Router configuration loading for oxicode-store.
session
Session management for the coding agent.
session_cwd
Session working directory tracking and validation.
settings
Settings management for oxicode CLI
todo_state
Session-scoped todo state.