SIGN IN SIGN UP

feat: apply Windows prompt fitting before agent spawn

Run fitPromptToWinCmdline in chat and Anthropic handlers; return 500 with a
clear error when the line cannot fit. Pass optional headers for JSON and SSE
responses (X-Cursor-Proxy-Prompt-Truncated). Log startup cmdline budget.

Made-with: Cursor
R
Robert Gabriel committed
c36da42069e389b49f2e9d643bcfc4baf0315752
Parent: d47bd23