{"version":"2.1.336","anchor":"statuslinesession-json-gains-autocompact-window-data","canonical_anchor":"statuslinesession-json-gains-autocompact-window-data","heading":"Status line data now takes the auto-compact window into account","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/statuslinesession-json-gains-autocompact-window-data","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Status line data now takes the auto-compact window into account\n\nThe information Claude Code sends to status line scripts now includes a value worked out from the auto-compact window settings\n\n**Unclear.** The name of the field this value appears under in the status line data is not known.\n\n**What**\n\nThe status line is the line at the bottom of the screen that you can customise with your own script. Claude Code sends that script information about the current session. It now works out an extra value from the auto-compact window (how full the conversation gets before Claude Code condenses it, set with `autoCompactWindow`). This value also reflects the auto-compact state reported by a remote session.\n\n**Why**\n\nA status line script may now be able to show figures based on the context window, the amount of conversation the model can hold at once.\n\n- Area: Terminal UI\n- Names: `autoCompactWindow`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}