docs: Claude Code v2.1.274 - SystemPromptCustom in Agent SDK, OTel tool.output spans, MCP 4xx fixes, ~100 bug fixes - #1294
Merged
Conversation
…ol.output spans, MCP 4xx fixes, ~100 bug fixes 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: v2.1.274 is the largest release in recent memory — ~100 changelog entries spanning Agent SDK API changes, expanded OTel observability, MCP reliability fixes, session/agent correctness, and a sweeping VSCode/Claude Tag/Code Review pass. The Agent SDK
SystemPromptCustomtype is a new API surface developers will immediately need to know about. The monitoring docs now documenttool.outputspan events and request-body correlation IDs for the first time, giving enterprise operators the hooks they need for full auditability.HIGHLIGHTS:
SystemPromptCustomtype —{"type": "custom", "prompt": "...", "snapshot": false}lets SDK users control whether the system prompt is rebuilt every request or reused from the first. Requiresclaude-agent-sdkv0.2.153+. Docs updated inagent-sdk/python.mdandagent-sdk/modifying-system-prompts.md.tool.outputspan event fully documented — new section inmonitoring-usage.mddetails exactly which tools emit it (Read, Bash always; Edit/Write only withOTEL_LOG_TOOL_DETAILS=1), which attributes it carries, and the newrequest_body_id/message.id/message.uuidfields that let operators correlate transcript messages to raw API request/response files.claude_code.managed_settings_resolvedevent — new event exposing managed-settings sources and policy helper state; full details unlocked withOTEL_LOG_MANAGED_SETTINGS=1.timeout; list-changed notifications withoutlistChangednot refreshing; 403insufficient_scopenow names missing permissions and points to/mcpre-auth instead of showing "expired sign-in"./rewindhint./goaland--resumefixes — active/goalno longer lost on resume after compaction; overflow after reactive compaction no longer kills the goal session.claude agentsfix —--model,--effort,--permission-modeand other flags no longer dropped after auto-update relaunch.git pullto check-then-reclone; airgapped behavior andCLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1docs clarified.claudeCode.lockEditorGroupssetting), High Contrast theme unreadable code blocks, screen reader navigation improvements.CLAUDE_CODE_MCP_STARTUP_WAIT_MS— new env var to bound how long the first non-interactive turn waits for MCP servers (0= don't wait at all).MCP_SDK_GENERATION=v1.Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning