[Feature Request] Add configurable cache threshold for auto-clear behavior

Resolved 💬 3 comments Opened Apr 22, 2026 by savoinea Closed Apr 25, 2026

Bug Description
claude code auto clear at 40% cache - I need to be able to do that

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.116
  • Feedback ID: e1cd23bf-ffa1-4959-94b1-b78bb32cafd6

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at zd (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12712)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async ot1 (/$bunfs/root/src/entrypoints/cli.js:3090:14589)\n    at async v97 (/$bunfs/root/src/entrypoints/cli.js:3090:15128)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T08:59:26.176Z"},{"error":"AxiosError: Request failed with status code 401\n    at zd (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12712)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async ot1 (/$bunfs/root/src/entrypoints/cli.js:3090:14589)\n    at async v97 (/$bunfs/root/src/entrypoints/cli.js:3090:15128)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T08:59:26.177Z"}]

View original on GitHub ↗

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