Commit 2dec87d
authored
fix: extend git-root collection fix to codex/opencode skills; async session-end (#331)
The git-root collection mismatch fixed in #330 for the Claude Code
plugin also affects the Codex and OpenCode plugins — their
memory-recall skills call derive-collection.sh without arguments
(defaults to pwd) while the hook/install scripts use the git repo
root. Mirror the same fix so all three plugins converge on the
same collection regardless of launch directory.
Also mark SessionEnd async in the Claude Code hooks.json: the hook
only performs watch-process cleanup (stop_watch + orphan sweep),
which the user does not need to wait for. This removes up to a few
hundred milliseconds of perceived exit latency without changing
behavior.
Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>1 parent ae26835 commit 2dec87d
3 files changed
Lines changed: 3 additions & 2 deletions
File tree
- plugins
- claude-code/hooks
- codex/skills/memory-recall
- opencode/skills/memory-recall
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments