[Bug] /rename command not recognized after context compaction

Open 💬 1 comment Opened Jan 20, 2026 by kaseggie

Bug Description
/rename command not recognized after context compaction - literal text "/rename to add a name" saved as session name instead of executing rename action (v2.1.12)

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.12
  • Feedback ID: 95b1a85b-540c-4070-9dd6-ca4df9b572dd

Errors

[{"error":"SyntaxError: JSON Parse error: Property name must be a string literal\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:69:708)\n    at A (/$bunfs/root/claude:11:7245)\n    at Y18 (/$bunfs/root/claude:3607:5555)\n    at async YyB (/$bunfs/root/claude:3607:8341)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-20T11:30:44.761Z"},{"error":"Error: No messages to compact\n    at call (/$bunfs/root/claude:3254:6761)\n    at call (/$bunfs/root/claude:3254:6901)\n    at pc7 (/$bunfs/root/claude:2588:3202)\n    at pc7 (/$bunfs/root/claude:2588:4632)\n    at Z3B (/$bunfs/root/claude:2588:1034)\n    at Z3B (/$bunfs/root/claude:2588:2038)\n    at rc7 (/$bunfs/root/claude:2596:2507)\n    at async ThR (/$bunfs/root/claude:2594:583)\n    at async u58 (/$bunfs/root/claude:5255:15074)\n    at async WYR (/$bunfs/root/claude:5255:14274)\n    at async <anonymous> (/$bunfs/root/claude:5263:6002)\n    at async <anonymous> (/$bunfs/root/claude:5253:5029)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-20T11:30:47.352Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:582)\n    at AW (/$bunfs/root/claude:11:34695)\n    at readFileSync (/$bunfs/root/claude:12:541)\n    at Sx_ (/$bunfs/root/claude:4568:27043)\n    at call (/$bunfs/root/claude:1503:945)\n    at call (/$bunfs/root/claude:1499:6491)\n    at gd7 (/$bunfs/root/claude:2642:19684)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-20T11:44:17.795Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:582)\n    at AW (/$bunfs/root/claude:11:34695)\n    at readFileSync (/$bunfs/root/claude:12:541)\n    at Sx_ (/$bunfs/root/claude:4568:27043)\n    at call (/$bunfs/root/claude:1503:945)\n    at call (/$bunfs/root/claude:1499:6491)\n    at gd7 (/$bunfs/root/claude:2642:19684)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-20T11:44:41.714Z"},{"error":"Error\n    at nb (/$bunfs/root/claude:42:1143)\n    at <anonymous> (/$bunfs/root/claude:47:10085)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:49:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-20T12:25:46.229Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗