github mksglu/context-mode v1.0.61

latest releases: v1.0.65, v1.0.64, v1.0.63...
7 hours ago

Bug Fix

fix(codex): always emit valid JSON from pretooluse hook on passthrough (#225)

pretooluse.mjs was outputting nothing when the routing decision was passthrough (most tool calls). Codex-rs expects valid JSON with hookEventName from every hook response — empty stdout caused the hook to fail.

Now all 3 Codex hooks (SessionStart, PostToolUse, PreToolUse) always emit valid JSON with hookEventName, matching the pattern already used by the other two hooks.

How to update

npm update -g context-mode

Full Changelog: v1.0.60...v1.0.61

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.