Repository navigation
2.1.337
(☝️ Click to see full diff.)
+17,880 tokens
- Data: Background tasks changed event schema — Specifies when paused and ended tasks leave the background-task list, and notes that a process exit may send neither task event.
- Data: Message Batches API reference (C#) — Replaces the abbreviated example with a complete one that uses
ResultsStreamingand prints successes and errors by request ID. - Data: Message Batches API reference (PHP) — Corrects
customIDcasing and shows how to useresultsStream()and match out-of-order results by request ID, including on the beta API. - Data: Message Batches API references (Python, TypeScript) — Examples unwrap the nested API error and check for
invalid_request_errorbefore telling the caller to fix and retry. - Data: Message Batches API (TypeScript) — Prints every text block instead of assuming the first block contains text, and adds a separate status message for canceled results.
- Data: Claude API reference (PHP) — Adds Guzzle to the install example, links to the client options guide, and updates Vertex setup to use
google/authandregion. - Data: Claude API reference (Ruby) — Says to pass
workspace_idon eachcreatecall when the API key isn't tied to a single workspace. - Data: Claude Platform on AWS reference — Adds AWS client setup examples for Java, PHP, and Ruby, with the Java dependency and the case-sensitive Ruby class name.
- Data: Files API reference (C#, Go, Java, PHP, Python, TypeScript) — Documents setting file expiry at upload through the stable API and warns that expiry isn't a guarantee of deletion.
- Data: Files API reference (C#, PHP) — Switches the upload and file-reference examples from beta to the stable API and shows how to wrap file input with its content type.
- Data: Files API reference (C#, Python) — Shows how to read download bodies directly: as a stream or string in C#, and with
read()ortext()in Python. - Data: Files API reference (TypeScript) — Adds a
retrieveMetadata()example that reads a file's name and size by ID without downloading its contents. - Data: MCP server status error_code field — Distinguishes timeouts, network and name lookup failures, proxy refusals, and TLS errors so clients can tell why a server didn't connect.
- Data: SDK API error kind field — Adds an error kind for self-hosted runners when the network may be blocking auto mode's server-side check; the diagnosis is a guess.
- Data: SDK can_use_tool decision_reason_code field — Includes VS Code or Desktop prompts that replace the auto-mode check and drops the old explanation of what the plan-mode code's absence means.
- Data: SDK message_stop abandoned_blocks field — Says clients may drop abandoned blocks when the API refuses inside the first response block and another model takes over.
- Data: SDK read_file liveReply field — Gives an oversized live reply the error code
reply_too_large, so clients on newer builds don't have to match the message text. - Data: SDK result memory_check_detail field — Counts checks sent while the user types and explains why they don't replace the startup read's age in the result.
- Data: SDK tool_use_labels field — Clarifies that labels declared by a tool's host keep the language the host wrote them in, while built-in labels stay in English.
- Data: SDK workspace diff uncommitted hunks field and Thin-client diff dialog schema — A live reply can leave uncommitted hunks empty, and
skippedLargenow means text was omitted, not necessarily oversized. - Data: Self-hosted runner orchestrator command help and System Prompt: Self-hosted runner doctor — Clarify that
--health-host 127.0.0.1exposes the passwordless health and metrics endpoints only to processes sharing the runner's loopback. - Data: Streaming reference (PHP) — Shows how to collect streamed tool input and read final token usage without adding up running totals, with a
MessageAccumulatorexample. - Data: Streaming reference (Ruby) — Explains why to use
messages.stream, when to read text before the accumulated message, and how to collect tool input and final usage. - Data: Tool result display metadata field — Narrows
screened_by_plugin: an unknown plugin list or a hook configured for a different tool no longer counts on its own. - Data: Tool use reference (Ruby) — Recommends a manual loop for human approval and shows how to feed denial results to the runner before it executes the tools.
- Data: Turn handoff available event schema — Lists two more flags for workers that can rerun a turn for comparison and honor a tool denial on the serving run.
- Skill: Artifact design page contract — Tells pages with a long-lived log to timestamp each entry when it's saved unless the user edited its time.
- Skill: Code Review default-branch REVIEW.md instructions — Reads some folder rules by Git blob ID; extra includes can add checks but set severity only on their own rules' findings that show no security issue or failure.
- Skill: Steward review only — If a hook-disabled fetch of a pull request's base fails or is refused on Windows, review against the local base and say so.
- Skill: Workflow authoring reference — Distinguishes the local agent limit from the diskless default, which uses the CPU count where Bash runs and allows at least two slots.
- System Prompt: Claude in Chrome browser automation (non-deferred tools) — Clarifies that the first tab lookup shows which tabs Claude can use rather than every tab the user has open.
- System Prompt: Self-hosted runner doctor — Distinguishes an idle session that's released while waiting for work from a child that never started or didn't pick up a waiting message.
- System Prompt: Self-hosted runner setup — Retries a refused trial launch only when told to, warns that personal machines need the account lock, and says trials exit after an hour without a session.
- System Reminder: Memory file contents — Where the new auto-memory guidance appears, tells Claude to follow earlier notes and their limits without treating them as permission.
- System Reminder: Steward merge changes execution settings — Leaves the merge to the user when a path could be a Windows short name for a file or directory that controls what runs.
- System Reminder: Steward refused shell command formatting and Steward unreadable gitattributes merge refusal — Show the Windows way to disable Git hooks in the commit example and in the manual merge steps.
- Tool Description: Artifact action reference — Drops
room_sendand its per-send approval instructions from the action list because Claude Code no longer offers that action in this build. - Tool Description: Artifact publishing and update guidance — Warns that an unreviewable file can block outside-organization access after publish; viewers keep an older shared version until the owner updates the share.
- Tool Description: Skill proposal rendering — Tells Claude to read a skill rather than infer ownership from its plugin prefix; proposals still can't update built-in skills.
- Tool Parameter: Bash and PowerShell command descriptions for changes — Require descriptions for changing commands even if earlier calls had none, name renames and in-place edits, and give PowerShell Bash's plain-language rules.
- NEW: Data: Message Batches API reference (Go, Java) — Show how to create and poll a batch, stream results by request ID, cancel or list batches, and use beta features.
- NEW: Data: Client options (PHP) — Shows how to configure HTTP timeouts and retries, set request headers, inspect raw responses, and page through individual results in PHP.
- NEW: Data: Content blocks and HTTP details (C#) — Adds C# examples for images, mid-conversation system messages, citations, and request and response headers.
- NEW: Data: Image coordinates and resizing — Shows how to calculate the image size Claude will process and map the returned pixel coordinates back to the original image.
- NEW: Data: Organization identity provider sign-in refusal note — Offers sign-in recovery steps for the current app and provider, or points to an administrator when that sign-in isn't available.
- NEW: Data: SDK auto_mode_check_block field — Documents ways a self-hosted runner can lose the auto-mode check and says the diagnosis is for display, never for permission decisions.
- NEW: Data: SDK can_use_tool org_ceiling_ask_only field — Flags remote MCP asks raised only by the organization's approval policy; a host may answer alone only if a person already allowed that tool under it.
- NEW: Data: SDK get_workspace_diff liveReply and next fields — Document paging through live diffs without saving successful replies, and how clients check that replies agree before joining them.
- NEW: Data: SDK initialize cloudElicitations field — Tells clients that opt in to cloud requests for user input to show full web addresses and open them only on a user's click or tap.
- NEW: Data: SDK initialize cloudHostMcpServers field — Documents serving local MCP servers to cloud sessions; the host decides which calls can run, even without a remote approval request.
- NEW: Data: Terraform provider reference — Guides Claude through the beta Terraform provider and choosing credentials for organization versus workspace-level Managed Agents resources.
- NEW: Data: Windows cloud session tool consent rules — Local deny rules still apply, approval replaces some before-action hooks and skips their after-action hooks, commands run unsandboxed, and opened apps may close on disconnect.
- NEW: System Prompt: Code Review earlier comment matching and known bug grading — Add graders that check whether an automated review repeats earlier concerns or finds the causes of known bugs.
- NEW: System Reminder: Account skill file contents — Labels a loaded skill with its account path and tells Claude that the skill is saved on the account rather than on this machine.
- NEW: System Reminder: Auto mode classifier HTTP failure — Tells Claude to retry the unchanged action once, then continue only with work that doesn't need the failed check.
- NEW: System Reminder: Interrupted Windows Git Bash command warning — Warns that interrupting a command can leave programs running; Claude stops only processes it can link to that command.
- NEW: System Reminder: Project document rewrite refusal after possible file rollback (both variants) — Tells Claude to check the current Project text, attached or reread in full, before rewriting from a possibly stale local file.
- NEW: System Reminder: Resend changed files — Tells Claude to resend finished files that changed, send files it linked but didn't deliver, and report the outcome briefly.
- NEW: Tool Description: Self-hosted runner spawn local — Describes starting a trial runner for the signed-in account on this machine and returning a health port and separate production command.
- REMOVED: Data: Artifact capability verification pass — The standalone extract is gone; the bundled guidance still asks for one pass over declared databases and endpoints where relevant, minus the preview step.
- REMOVED: Data: Tool use reference (C#) — The reference no longer ships as extractable text; Claude Code now bundles it as a compressed skill document.
- REMOVED: System Reminder: Preview browser executable refusal — Drops the refusal about choosing a browser executable; the retired preview action no longer launches a browser.
- REMOVED: Tool Description: Artifact live room guidance (both variants) — Drops both descriptions of joining rooms, receiving viewer events, and sending approved replies; the live-room action is retired.
- REMOVED: Tool Descriptions and Parameter: Artifact preview action — Drops the local render and in-session viewer instructions and the parameter help; the action is retired.