"Context Window Tracking Failure: Incorrect Zero Context Remaining" This title captures the technical nature of the issue (context window tracking), specifies the specific problem (showing zero context remaining), and indicates the unintended consequence
Resolved 💬 4 comments Opened Jun 24, 2025 by LashaKh Closed Aug 21, 2025
Bug Description
The amount of context left constantly shows zero, so after each iteration, it's automatically compacting my conversation.
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.27
- Feedback ID: 6e14f598-7b71-4666-ba02-67949611a488
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 wZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:9014\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at QX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8160)\n at $S (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7241)\n at L9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11408)","timestamp":"2025-06-24T09:27:30.327Z"},{"error":"Error: 1: ENOENT \n at nP6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1326:4493)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async lP6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1326:2578)","timestamp":"2025-06-24T09:27:33.684Z"},{"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:424:10)\n at abortSignal (node:internal/abort_controller:410:3)\n at AbortController.abort (node:internal/abort_controller:442:5)\n at Timeout._onTimeout (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2461:9388)\n at listOnTimeout (node:internal/timers:594:17)\n at process.processTimers (node:internal/timers:529:7)","timestamp":"2025-06-24T09:27:33.849Z"},{"error":"Error: Failed to install new version of claude: npm ERR! code ENOTEMPTY\nnpm ERR! syscall rename\nnpm ERR! path /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code\nnpm ERR! dest /opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V\nnpm ERR! errno -66\nnpm ERR! ENOTEMPTY: directory not empty, rename '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code' -> '/opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V'\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /Users/Lasha/.npm/_logs/2025-06-24T09_27_39_802Z-debug-0.log\n\n at sz1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1997:392)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2434:8427","timestamp":"2025-06-24T09:27:40.271Z"},{"error":"Error: Failed to install new version of claude: npm ERR! code ENOTEMPTY\nnpm ERR! syscall rename\nnpm ERR! path /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code\nnpm ERR! dest /opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V\nnpm ERR! errno -66\nnpm ERR! ENOTEMPTY: directory not empty, rename '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code' -> '/opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V'\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /Users/Lasha/.npm/_logs/2025-06-24T09_29_02_528Z-debug-0.log\n\n at sz1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1997:392)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2434:8427","timestamp":"2025-06-24T09:29:02.610Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗