Claude Code von Anthropic
Claude Code 2.1.299: Neue Umgebungsvariable und Kompaktierung
Claude Code 2.1.299 fügt eine Umgebungsvariable für Datei-Mentions, automatische Kompaktierung bei langer Leerlaufzeit, neue Konfigurationsoptionen, Hook-Erweiterungen, UI-Schriftarten sowie Befehle für Agent-Ansicht hinzu.
- Added
CLAUDE_CODE_DISABLE_FILE_MENTIONSenvironment variable: Claude gets the paths of@file mentions to read with its file tools, not the files' contents - Added idle compaction in the terminal: a 200K+ token conversation left idle for about 54 minutes is compacted before its one-hour prompt cache expires, so your next message doesn't reprocess it all
- Added
CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENSto change idle compaction's 200K-token minimum;"idleCompaction": falsein settings.json turns it off. Both need v2.1.290 or later - Added
$.prompt.mediaso aprompt.submithook of a mod installed by managed settings can read the bytes of an image or document attached to the prompt - Added
$.session.identity()for mods installed by managed settings: how the session is signed in, and its organization and email when managedforceLoginOrgUUIDlists that organization - Added
size,weight,monoandtabularto a mod'sTextand named spacing steps (xstoxl) to itsBox;boldis deprecated in favor ofweight - Added
--shutdown-drain-sectoclaude self-hosted-runner orchestrator: on SIGTERM it stops polling and gives the poll in flight and running spawn hooks up to that many seconds to finish - Added the skill's frontmatter, source, plugin name and file path to what a mod's
skill.prompthook receives - Added
/effortand/fastin agent view to set what new sessions start with; a bare/model,/effortor/fastthere now opens a picker …