I use Arch Linux.
I installed code-review-graph with uv on Linux, but it doesn't work correctly.
Claude Code:
claude
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Settings Error
/home/.../code/projects/.../.claude/settings.json
└ hooks
├ PostToolUse
│ └ 0
│ └ hooks: Expected array, but received undefined
├ PreCommit: Invalid key in record
└ SessionStart
└ 0
└ hooks: Expected array, but received undefined
Hooks use a matcher + hooks array. The matcher is a string: a tool name ("Bash"), a pipe-separated list ("Edit|Write"), or an empty string to match
all. Example: {"PostToolUse": [{"matcher": "Edit|Write", "hooks": [{"type": "command", "command": "echo Done"}]}]}
Learn more: https://code.claude.com/docs/en/hooks
Files with errors are skipped entirely, not just the invalid settings.
❯ 1. Exit and fix manually
2. Continue without these settings
OpenCode doesn't detect the plugin.
Also, code-review-graph doesn't update the global config for Claude Code or OpenCode.
I use Arch Linux.
I installed code-review-graph with uv on Linux, but it doesn't work correctly.
Claude Code:
claude
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Settings Error
/home/.../code/projects/.../.claude/settings.json
└ hooks
├ PostToolUse
│ └ 0
│ └ hooks: Expected array, but received undefined
├ PreCommit: Invalid key in record
└ SessionStart
└ 0
└ hooks: Expected array, but received undefined
Hooks use a matcher + hooks array. The matcher is a string: a tool name ("Bash"), a pipe-separated list ("Edit|Write"), or an empty string to match
all. Example: {"PostToolUse": [{"matcher": "Edit|Write", "hooks": [{"type": "command", "command": "echo Done"}]}]}
Learn more: https://code.claude.com/docs/en/hooks
Files with errors are skipped entirely, not just the invalid settings.
❯ 1. Exit and fix manually
2. Continue without these settings
OpenCode doesn't detect the plugin.
Also, code-review-graph doesn't update the global config for Claude Code or OpenCode.