Bug
The plugin stop hook (hooks/mempal-stop-hook.sh) runs:
python3 -m mempalace hook run --hook stop --harness claude-code
But the CLI has no hook subcommand. The CLI only supports {init, mine, search, compress, wake-up, split, status}.
This causes the following error on every conversation exit in Claude Code:
usage: __main__.py [-h] [--palace PALACE]
{init,mine,search,compress,wake-up,split,status} ...
__main__.py: error: argument command: invalid choice: 'hook' (choose from init, mine, search, compress, wake-up, split, status)
Environment
- mempalace version: 3.0.14 (installed via Claude Code plugin)
- Platform: Linux
- Claude Code CLI
Bug
The plugin stop hook (
hooks/mempal-stop-hook.sh) runs:But the CLI has no
hooksubcommand. The CLI only supports{init, mine, search, compress, wake-up, split, status}.This causes the following error on every conversation exit in Claude Code:
Environment