Skip to content
Trending storyDeveloping

Claude Code v2.1.299 adds idle compaction, file-mention and mod hook changes

1 article1 sourcesince Oct 13Last article 1h ago ·

Overview

AISummary of 1 article

Anthropic released Claude Code v2.1.299, according to its GitHub Releases page.

The terminal version now compacts conversations of more than 200K tokens after they sit idle for about 54 minutes, before their one-hour prompt cache expires.

The release also adds the CLAUDE_CODE_DISABLE_FILE_MENTIONS environment variable, which makes @ mentions send file paths to Claude instead of file contents. It adds $.prompt.media and $.session.identity() hook fields for mods installed through managed settings. Anthropic also fixed several bugs, including a regression that broke Edit and Retry in Cowork and claude.ai cloud sessions.

Written by AI from the articles below · updated Oct 13, 11:26 PM ET

Check the sources:

Article timeline

The articles in this story. Times are ET.

Oct 13
  1. Claude Code · GitHub ReleasesOfficial
    Claude Code v2.1.299 adds idle compaction and mod hook changes

    AIAnthropic's Claude Code v2.1.299 adds idle compaction in the terminal, which compacts conversations of 200K+ tokens left idle for about 54 minutes before their one-hour prompt cache expires. The release also adds the CLAUDE_CODE_DISABLE_FILE_MENTIONS environment variable, which sends Claude file paths instead of contents for @ mentions, and new $.prompt.media and $.session.identity() hook fields for mods installed by managed settings. It fixes several bugs, including a regression that broke Edit and Retry in Cowork and claude.ai cloud sessions.

Heat trend

Not enough continuous observations to show a trend yet.