docs: Claude Code v2.1.237 - Concise output style, Files API GA, ANTHROPIC_DEFAULT_MODEL, file expiration - #1193
Merged
Conversation
…ROPIC_DEFAULT_MODEL, file expiration Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: This update (covering v2.1.236 and v2.1.237) ships four genuinely useful things: a built-in Concise output style that cuts Claude's verbosity without sacrificing thoroughness, the Files API graduating from beta (no more beta header required, plus a new file expiration mechanism), a new
ANTHROPIC_DEFAULT_MODELenvironment variable that gives teams and embedders a clean way to set a session-start model without clobbering per-user/modelpreferences, and a prompt caching fix that was silently burning money for anyone running Claude Code behind an LLM gateway or custom base URL.HIGHLIGHTS:
/config. Finally a first-class brevity knob./v1/filesendpoints no longer require theanthropic-beta: files-api-2025-04-14header. Also: file expiration (expires_in_secondsat upload, 1h–90d), bulk ID lookup (ids[]query param, up to 100 IDs), and a newnext_pagecursor replacing thebefore_id/after_idpagination. The old beta header still works with the old response format.ANTHROPIC_DEFAULT_MODELenv var (v2.1.236): Sets the model new sessions start on, but a/modelpick ormodelin settings overrides it — unlikeANTHROPIC_MODEL, it doesn't clobber saved preferences. Shows "Set by ANTHROPIC_DEFAULT_MODEL" in the/modelpicker. RespectsavailableModelsallowlists.CLAUDE_CODE_PROJECT_DIR_NAMEenv var: Custom project directory name for multi-tenant hosting scenarios. Must be used withCLAUDE_CONFIG_DIR. Enables/srv/tenant-a/projects/work/style isolation (v2.1.234+).notify_when_idleforSendMessage(v2.1.236): Ask another local Claude Code session to ping you once when it goes idle — opt-in, one-shot, no polling. macOS and Linux only./modelpicker scroll instead of overflow; session title chip and footer alignment tweaks; tmux tab title no longer flickers every 960ms.Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning