Unhandled Task Termination: Unexpected CLI Behavior During Prompt Processing

Resolved 💬 3 comments Opened Jul 17, 2025 by yuva-dev Closed Jan 3, 2026

Bug Description
When I give a prompt it works on it for few seconds and then the status line disapperars. It gives the impression that the task has been completed, but its not. Also it does not respond to the query when the status line disappears.

More likely the processing was interrupted midway.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.53
  • Feedback ID: 8ad1c493-82cf-4564-99cf-fed1d35ea930

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 checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at AI (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:16554\n    at Q (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at MF (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:14339)\n    at zX (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:13205)\n    at MB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:19174)\n    at HF0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:19332)","timestamp":"2025-07-17T04:37:50.811Z"},{"error":"Error: Command failed: security delete-generic-password -a $USER -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at AI (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at EF0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:17666)\n    at KF0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:17540)\n    at h8A (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1763:2567)\n    at MB1.startOAuthFlow (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1763:3733)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1777:6238","timestamp":"2025-07-17T04:38:17.633Z"},{"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 checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at AI (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:16554\n    at Q (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at MF (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:14339)\n    at zX (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:13205)\n    at MB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:19174)\n    at nm (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:26743)","timestamp":"2025-07-17T04:38:17.838Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗