Unresponsive Agent Mode After Keyboard Interrupt

Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Aug 3, 2025 · closed Sep 23, 2025

Bug Description
I was trying to use the agent functionality and I hit esc as it was not working as directed. I then tried to submit a new command and it seems like nothing is working.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.67
  • Feedback ID:

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at t7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:867:5214)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:48453\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at lJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:45891)\n    at yz (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:44758)\n    at W9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:51079)","timestamp":"2025-08-03T01:01:29.549Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:481:14)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-08-03T01:01:29.880Z"},{"error":"Error: Request was aborted.\n    at SP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1336:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-03T01:03:50.072Z"},{"error":"AbortError: The operation was aborted\n    at abortChildProcess (node:child_process:716:27)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:449:10)\n    at abortSignal (node:internal/abort_controller:435:3)\n    at AbortController.abort (node:internal/abort_controller:468:5)\n    at Timeout._onTimeout (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:753:75)\n    at listOnTimeout (node:internal/timers:608:17)\n    at process.processTimers (node:internal/timers:543:7)","timestamp":"2025-08-03T01:10:56.450Z"},{"error":"MaxFileReadTokenExceededError: File content (25766 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Z68 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1513:432)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1508:6368)\n    at async XK8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2546:10157)\n    at async xf1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2546:6576)","timestamp":"2025-08-03T01:24:00.084Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:481:14)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-08-03T01:37:41.139Z"},{"error":"SyntaxError: Unexpected non-whitespace character after JSON at position 64 (line 6 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:771:9932\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at GUB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1435:10310)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-03T05:30:23.493Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at CX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1576:912\n    at Array.map (<anonymous>)\n    at KX (file:///opt/ho

Note: Error logs were truncated.

View original on GitHub ↗

5 Comments

bbleak-repo · 1 year ago
please read /agent/eval/agent-scrummaster1.md

⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"The
request body is not valid JSON: no low surrogate in string: line 1
column 428169 (char 428168)"}}

/doctor

⎿  (no content)

/bug API error: 400

{"type":"error","error":{"type":"invalid_request_error","message":"The
request body is not valid JSON: no low surrogate in string: line 1
column 428169 (char 428168)"}}
⎿  Error submitting bug report

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2310
  2. https://github.com/anthropics/claude-code/issues/4189
  3. https://github.com/anthropics/claude-code/issues/3800

If your issue is a duplicate, please close it and 👍 the existing issue instead.

🤖 Generated with Claude Code

hiddow · 1 year ago

Any idea?

bbleak-repo · 1 year ago

Thank you, Team! I have not run into this issue since originally reporting it. So, perhaps it has been resolved OR it was extremely rare. Either way, thank you for the constant updates to an amazing product!

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.