Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I found two notable differences here:
- claude-code supports non-JSON stdout for its SessionStart hooks. Output is added directly to context. Cursor rejects non-JSON stdout with
JSON Parse Error: SyntaxError: ... - claude-code supports SessionStart adding to context using JSON stdout with field
additionalContext. Cursor ignores a field of that name, but honors one namedadditional_context
Steps to Reproduce
.
Expected Behavior
Overall I was able to work-around this by (1) converting output to JSON and (2) double-outputting the context in both additionalContext and additional_context.
Operating System
Windows 10/11
Version Information
Version: 2.6.11 (user setup)
VSCode Version: 1.105.1
Commit: 8c95649f251a168cc4bb34c89531fae7db4bd990
Date: 2026-03-03T18:57:48.001Z
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
Does this stop you from using Cursor
No - Cursor works, but with this issue