[Bug] Context window display mismatch: status bar denominator differs from /context output

Resolved 💬 3 comments Opened Apr 27, 2026 by suaveshot Closed May 30, 2026

Bug Description
Model: claude-opus-4-7[1m], Claude Code 2.1.120 ▎ /context shows 59.9k/400k (15%), status bar shows 6% ▎ Two issues: (a) status bar denominator doesn't match /context, (b) window cap is 400K despite [1m] label

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.120
  • Feedback ID: 8a35099f-fcfa-4c8b-adeb-c6705bd9bf8c

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.304.custom.input_schema.properties: Property keys should match pattern '^[a-zA-Z0-9_.-]{1,64}$'\"},\"request_id\":\"req_011CaTWt4sanYFboVgeAfFxw\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:56508)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T02:50:25.494Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.304.custom.input_schema.properties: Property keys should match pattern '^[a-zA-Z0-9_.-]{1,64}$'\"},\"request_id\":\"req_011CaTWt8xu79PS1paSNADc6\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:56508)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T02:50:26.007Z"}]

View original on GitHub ↗

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