Skip to main content

data_dir

Function data_dir 

Source
pub fn data_dir() -> PathBuf
Expand description

Where the agent stores its outbox, state.db, local_completions.json, staging area, etc. Defaults to:

  • Windows: %ProgramData%\Kanade\data\
  • Linux: /var/lib/kanade/

Honors KANADE_AGENT_DATA_DIR (non-empty value wins) so a single host can run multiple isolated agents — the dev-fleet target uses this to fan out agents into target/dev-data/agents/{pc_id}/ without two agents stomping on each other’s outbox files.