{"version":"2.1.336","anchor":"compaction-gains-a-third-elegant-mist-mode-messages-and-rep","canonical_anchor":"compaction-gains-a-third-elegant-mist-mode-messages-and-rep","heading":"Conversation compaction gets a mode that keeps only the end of long replies","tier":"soon","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/compaction-gains-a-third-elegant-mist-mode-messages-and-rep","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Conversation compaction gets a mode that keeps only the end of long replies\n\nA new compaction mode, messages_and_reply_ends, keeps only the end of Claude's long earlier replies when a conversation is compacted\n\n**What**\n\nCompaction is how Claude Code shortens a long conversation so that it fits in the space the model can read at once. One setting chooses what compaction keeps. It already accepted `messages` and `messages_and_replies`. It now also accepts a third value, `messages_and_reply_ends`.\n\nIn this mode, Claude Code keeps only the end of each long reply that Claude wrote earlier. The cut is shown by a mark that the compaction adds, and a note explaining this goes in with the compacted conversation.\n\nYou choose the mode with the `CLAUDE_CODE_ELEGANT_MIST` environment variable. If the variable is not set, a value sent by Anthropic's server is used instead. When the server sends nothing, the mode is off, so nothing changes unless the variable or the server picks a mode.\n\n**Why**\n\nThis mode changes which of Claude's own earlier replies are still there after a compaction. With long replies cut down to their endings, Claude may no longer see the opening parts of what it wrote before.\n\n- Flag `tengu_elegant_mist`: Not enough to say (read for one account on one subscription tier against v2.1.336; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Compaction\n- Names: `messages_and_reply_ends`\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}