mirror of
https://github.com/akitaonrails/ai-memory.git
synced 2026-10-02 03:24:46 +08:00
`ai-memory run` auto-wires hooks whose command is the wrapper's native client path. Keeping that client under ~/.cache meant a cache flush broke every hook of Claude Code, Codex, Kimi Code, Command Code, Kiro CLI v3, Grok and Antigravity CLI. Keep it in $XDG_DATA_HOME/ai-memory instead. The wrapper also deleted the release's hooks/ bundle after extraction, so auto-wire failed with "could not locate hooks directory" for script-based harnesses on a host where install-hooks never ran. Keep the bundle beside the client, where install-hooks looks for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012PoLrSBy2WePNoHhD8BJHD