Update dependency @anthropic-ai/sdk to v1.10.0 - autoclosed #29
No reviewers
Labels
No labels
accessibility
area:accounts
area:ai-evals
area:look
area:maps
area:platform
area:rides-progress
area:riding
area:today-plan-coach
area:ui-shell
bot:blocked
bot:failed
bot:pr
bot:waiting
bot:working
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
later
now
owner-check
parked
question
ready
session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/trainer!29
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/anthropic-ai-sdk-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.5.0→1.10.0Release Notes
anthropics/anthropic-sdk-typescript (@anthropic-ai/sdk)
v1.10.0Features
Bug Fixes
tools: keep the session tool runner's maxIdleMs countdown running when a session thread terminates
If the runner fails to read the session's event history after a reconnect, a termination that then arrives on the event stream still cancels the countdown, until the next idle or successful read.
tools: stop EnvironmentWorker from running tools for a terminated session
For a terminated session, the worker now force-stops the work item right after it retrieves the session, before it downloads skills or memory stores. It no longer throws
SessionMemoryErrorfor such a session. The API reports an archived session asterminated.tools: stop the session tool runner from running the tool calls of a terminated session thread
The runner also stops waiting for a confirmation of these calls and no longer yields them, including a denied call (
confirmation: 'deny') and a call to a tool that it does not own. A call that the runner starts before it reads the session thread'ssession.thread_status_terminatedevent still runs to the end, and the runner yields it withposted: falsewhen the API refuses the result.Chores
api: rename error data models, deprecating the old names
docs: clarify which AWS KMS keys a workspace can use on Claude Platform on AWS
docs: clarify which credential work get, update and list accept
docs: clarify which uploads a plugin pin holds back
docs: note that a plugin scan's reason also covers errored scans
content_scan.reasonon an errored scan now says why there is no verdict. It is not a security finding, so code that treats anyreasonas a concern should also checkstatus.v1.9.0Features
Bug Fixes
helpers: keep $schema out of the transformed schema description
streaming: reject characters that aren't JSON in streamed tool input
The lenient parser for streamed tool input used to skip characters and words that aren't JSON, such as a comment, and to join numbers such as
12 3, so it could return a value that the text doesn't contain. It now rejects such text, and a stream with such tool input fails with an error, as it already did for a bad escape or a missing comma. Valid and truncated JSON parse as before.tools: bound the grep tool's search at 60s where ripgrep is missing, and keep its regex off the main thread
tools: compare directory names exactly when confining file paths on Windows
tools: fully resolve file tool paths that pass through a dangling symlink
tools: ignore ripgrep config files in the agent toolset grep tool
tools: leave symlinks that point outside /memories out of listings
tools: normalize file modes of extracted skill files
Extracted files now get
0644, or0755if any execute bit is set, in0700directories, whatever the archive recorded. The systemtarmust accept--no-same-ownerand--no-same-permissions.tools: pass over a tar or unzip inside the directories the agent toolset's file tools can write
setupSkillstakestar,unzipand a helper thattarstarts, such asgzip, only from thePATHentries outsideworkdirandallowedRoots, and passes over a link that leads inside them. A host whose onlytarorunzipis inside those directories can no longer download skills until one is installed outside. Only when noPATHentry is outside them, as with aworkdirof/, is all ofPATHstill searched. Atarorunzipthat fails now rejects with anAnthropicError.tools: pass over an rg inside the directories the agent toolset's file tools can write
greppasses over anrgthat resolves to somewhere insideworkdirorallowedRoots. It uses the nextrgonPATH, or the built-in search when there is none. With aworkdirthat holds everyrgon the host, such as/, every search is a built-in search.rg, and thetarandunzipthat extract skills, no longer get theANTHROPIC_*variables of the process, like the shell ofbash.tools: read memory files only through the path that was validated
tools: stop looking for rg, tar and unzip in the current directory
tools: stop the grep tool's built-in search at a NUL byte in a file
The built-in search of
grepreads no further into a file once it meets a NUL byte, much as ripgrep does. A very large binary file with no line break used to end the process with an uncaughtRangeError.Chores
api: deprecate old beta header values
The API still accepts these values, but a later release removes them from the SDKs. Delete
prompt-caching-2024-07-31,pdfs-2024-09-25,token-counting-2024-11-01,token-efficient-tools-2025-02-19,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07andce-user-management-2026-07-13from your requests.files-api-2025-04-14andskills-2025-10-02select the beta response shapes, so follow the Files API and Skills migration guides before you delete them.In C#, the
AnthropicBetaenum's members have new numbers, so code compiled against an earlier SDK version sends a different beta value, with no error, until you rebuild it.api: stop sending an old beta header on batch requests
beta.messages.batchesno longer sendsmessage-batches-2024-09-24, which the API doesn't need. If your client sets a defaultanthropic-betaheader, these requests now send it, where in some SDKs the old value replaced it. The API still accepts the old value. If you set it yourself, delete it: a later release removes it from the SDKs.docs: add an example value for the workspace name
docs: clarify when the auto permission policy denies a tool call
docs: clarify which workspaces an external key can be attached to
docs: recommend multiagent_20261001 over the coordinator type
docs: say when organization_id is required on plugin reads
v1.8.0Features
Chores
Documentation
v1.7.0Features
Bug Fixes
Chores
Documentation
Refactors
v1.6.0Features
Bug Fixes
Chores
Documentation
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Security
View full report
Pull request closed