[Bug] Auto-Compact requests context reduction despite single message in conversation

Status Closed — not planned
Reported on v2.1.45
Maintainer reply None cached
Activity 2 comments · opened Feb 18, 2026 · closed Mar 19, 2026

Bug Description
can't continue. can't compact. asking me to go up a few messages but i only sent one message in this conversation.

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 2.1.45
  • Feedback ID: d30f7e2f-e423-49a6-96a6-1e7669e03323

Errors

[{"error":"Error: File does not exist.\n    at Object.call (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1356:6144)\n    at async file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:5855:1955","timestamp":"2026-02-18T11:48:26.247Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Object.c89 (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1163:335)\n    at ReadStream.emit (node:events:519:28)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at node:internal/fs/streams:292:14\n    at FSReqCallback.wrapper [as oncomplete] (node:fs:670:5)\n    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)","timestamp":"2026-02-18T11:48:33.726Z"},{"error":"Error: File does not exist.\n    at Object.call (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1356:6144)\n    at async file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:5855:1955","timestamp":"2026-02-18T11:48:34.653Z"},{"error":"Error: File does not exist.\n    at Object.call (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1356:6144)\n    at async file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:5855:1955","timestamp":"2026-02-18T11:48:36.059Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Object.c89 (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1163:335)\n    at ReadStream.emit (node:events:519:28)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at node:internal/fs/streams:292:14\n    at FSReqCallback.wrapper [as oncomplete] (node:fs:670:5)\n    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)","timestamp":"2026-02-18T11:48:36.921Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Object.c89 (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1163:335)\n    at ReadStream.emit (node:events:519:28)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at node:internal/fs/streams:292:14\n    at FSReqCallback.wrapper [as oncomplete] (node:fs:670:5)\n    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)","timestamp":"2026-02-18T11:48:37.476Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Object.c89 (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1163:335)\n    at ReadStream.emit (node:events:519:28)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at node:internal/fs/streams:292:14\n    at FSReqCallback.wrapper [as oncomplete] (node:fs:670:5)\n    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)","timestamp":"2026-02-18T11:48:39.889Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Object.c89 (file:///home/USER/.config/yarn/global/node_modules/@anthropic-ai/claude-code/cli.js:1163:335)\n    at ReadStream.emit (node:events:519:28)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at node:internal/fs/streams:292:14\n    a…

Note: Content was truncated.

View original on GitHub ↗

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