[Feature Request] Configurable context window warning threshold
Resolved 💬 3 comments Opened Dec 4, 2025 by jonobr1 Closed Dec 8, 2025
Bug Description
It would be great if we could set the threshold for a context window percentage to show up in the bottom right-hand corner. Right now I think it's around 15% context window left is when a note shows up in the command line. Being able to set this yourself to know off-hand your personal comfort level of threshold would be super helpful
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.55
- Feedback ID: f17c68d3-e830-4fff-8faa-ca38175b52ce
Errors
[{"error":"Error: Request was aborted.\n at Bt._createMessage (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:463:3151)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:526:9)","timestamp":"2025-12-01T21:16:54.246Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n at i22 (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4242:17034)\n at Object.call (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1514:909)\n at Hm5 (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:16741)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-01T23:12:52.605Z"},{"error":"MaxFileReadTokenExceededError: File content (67964 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 l22 (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1505:41056)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1514:963)\n at async file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:1464","timestamp":"2025-12-01T23:13:18.667Z"},{"error":"b01: Another process is currently installing an update\n at JLA (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1564:1822)\n at file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2722:9754\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-04T20:48:51.630Z"},{"error":"b01: Another process is currently installing an update\n at JLA (file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1564:1822)\n at file:///Users/jonobrandel/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2722:9754\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-04T20:48:54.761Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗