mirror of
https://github.com/akitaonrails/ai-memory.git
synced 2026-10-02 03:24:46 +08:00
A named profile (`--profile`, `OMP_PROFILE`, or the legacy `PI_PROFILE`) owns `~/.omp/profiles/<name>/agent` and ignores `PI_CODING_AGENT_DIR`, as OMP does; `install-hooks` wrote the extension into `PI_CODING_AGENT_DIR` instead. Profile names are normalized and refused like OMP does, `PI_CONFIG_DIR` renames the `~/.omp` root, and on Linux and macOS sessions move to `$XDG_DATA_HOME/omp` when that directory exists. `install-mcp`, auto-wire, session import, `backfill`, `doctor` and the `uninstall` sweep follow the same agent dir. Refs #820