v2.1.296
v2.1.296
What's changed
- Added a
codekey to the Claude apps gateway'smanaged.policies[]: the same settings ascli, also applied in Claude Desktop's Code tab; besidedesktop, it turns on Claude Desktop's gateway mode - Added
autoCompactWindowto subagent frontmatter and--agentsdefinitions, so a subagent can auto-compact earlier than the main conversation's window - Added
CLAUDE_CODE_WORKFLOW_SUBAGENT_MODELto run every workflow agent on one model while other subagents keep theirs - Added
CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MSenvironment variable to set a longer maximum delay for the backoff when retrying an overloaded (529) request - Added a note in
/pluginon a plugin whose hooks are left out because another enabled plugin has the same name - Added an
allow_largeoption to the Read tool so Claude can read a text file past the usual size limits in one call when it needs the whole file and the context has room - Fixed managed-settings
PreToolUsehooks that deny a tool call with"continue": false, and managedprompthooks that block one, refusing the call but not ending the turn - Fixed PostToolUse hooks in managed settings not applying
updatedMCPToolOutputin some sessions - Fixed headless sessions starting a folder's
.mcp.jsonor plugin MCP server that was switched off for that folder, after changing directory or reloading plugins - Fixed a Claude apps gateway that serves
allowedProviderswith"gateway"locking out laptops that name that gateway in user settings - Fixed a saved Claude apps gateway sign-in being ignored on machines whose managed settings set
forceLoginMethodtogatewaywith noforceLoginGatewayUrl(regression in 2.1.295) - Fixed
--teleportopening an empty conversation when the session's history could not be read - Fixed token counts for Haiku 5.5 and other models that take only adaptive thinking, which failed behind some gateways and were counted with budget thinking elsewhere
- Fixed resumed subagents be
원문: https://github.com/anthropics/claude-code/releases/tag/v2.1.296