| 8 | const { normalizeCodexHookInput } = require(path.join(__dirname, '..', 'runtimes', 'codex', 'adapters', 'hook-input')); |
| 9 | const { normalizeClaudeHookInput } = require(path.join(__dirname, '..', 'runtimes', 'claude-code', 'adapters', 'hook-input')); |
| 10 | const { normalizeOpencodeHookInput } = require(path.join(__dirname, '..', 'runtimes', 'opencode', 'adapters', 'hook-input')); |
| 11 | const { toLegacyHookPayload } = require(path.join(__dirname, '..', 'core', 'hooks', 'hook-context')); |
| 12 | const normalizeEvent = require(path.join(__dirname, '..', 'core', 'hooks', 'normalize-event')); |
| 13 | |
| 14 | const OPENCODE_FIXTURE = path.join(__dirname, 'fixtures', 'opencode-hook-events.json'); |
| 15 | |
| 16 | function fail(message) { |