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
auth_guidance,settings_validation,session_navigation,model_resolver,model_registry— absorbed from the oldoxicode-storecrate with zero importers.memory_mnemopi,memory_sqlite,memory_summary,memory_workers,mnemopi,extracting_backend— the pre-Foundation local durable memory stack. Under the Oxi Foundation v1 host the oxibrain daemon is the only durable-memory authority (Foundation plan §5); the legacy stores kept compiling through the migration window and were removed with theoxicode-mnemopicrate.oxicode migrate brainreads the legacy JSONL directly (foundation::migrate) and needs none of them.
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.
- fs_util
- Atomic write helpers shared across
store/*. - hook_
approval - First-run approval gate for project-scoped
[[hooks]]. - 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.