Features
-
api: add support for Claude Managed Agents on Amazon Bedrock
-
api: add the storage_not_ready error code
-
tools: add
MaxConcurrentCallsto the session tool runner and the environment workerWith a value above 1, or a negative value for no limit, the calls of different session threads run concurrently. Calls still run one at a time by default.
Bug Fixes
-
api: drop the stray "s" from beta union fields of Params types
A beta union field whose name comes from a type name with
Paramsin it kept the "s" ofParams. These fields, and the constructor functions named after them, lose it.MessageCreateParamsContainerUnionkeepsOfContainers.Union type Old field New field BetaManagedAgentsModelConfigParamsEffortUnionOfBetaManagedAgentsModelConfigsEffortBetaManagedAgentsEffortLevelOfBetaManagedAgentsModelConfigEffortBetaManagedAgentsEffortLevelBetaManagedAgentsMultiagentPredefinedAgentParamsUnionOfBetaManagedAgentsAgentsOfBetaManagedAgentsAgentBetaManagedAgentsMultiagentPredefinedAgentParamsUnionOfBetaManagedAgentsMultiagentSelfsOfBetaManagedAgentsMultiagentSelfBetaDeploymentNewParamsAgentUnionOfBetaManagedAgentsAgentsOfBetaManagedAgentsAgentBetaDeploymentUpdateParamsAgentUnionOfBetaManagedAgentsAgentsOfBetaManagedAgentsAgentBetaMessageNewParamsContainerUnionOfContainersOfContainerBetaMessageBatchNewParamsRequestParamsContainerUnionOfContainersOfContainerBetaManagedAgentsMultiagentRosterEntryParamsUnionOfBetaManagedAgentsAgentsOfBetaManagedAgentsAgentBetaManagedAgentsMultiagentRosterEntryParamsUnionOfBetaManagedAgentsMultiagentSelfsOfBetaManagedAgentsMultiagentSelfBetaManagedAgentsMultiagentRosterEntryParamsUnionOfBetaManagedAgentsAdvisorsOfBetaManagedAgentsAdvisorBetaSessionNewParamsAgentUnionOfBetaManagedAgentsAgentsOfBetaManagedAgentsAgentBetaSessionNewParamsAgentUnionOfBetaManagedAgentsAgentWithOverridessOfBetaManagedAgentsAgentWithOverridesOld function New function BetaManagedAgentsMultiagentPredefinedAgentParamsOfBetaManagedAgentsAgentsBetaManagedAgentsMultiagentPredefinedAgentParamsOfBetaManagedAgentsAgentBetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAgentsBetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAgentBetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAdvisorsBetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAdvisor -
environments: claim a work item before serving it and do not stop items whose lease was lost
- The poller's
AutoStopnow sends a force stop. HandleItemlogs a failure instead of returning it if the lease was lost.- Memory files are also uploaded when the session goes idle, and the skills of subagents are downloaded too. Of two skills with one name, the first is kept (was the last).
- The poller's
-
tools: kill what the
bashtool's shell started, and save long output to a file- A timeout or a cancellation kills the shell and its background jobs. Once a shell has ended,
bashrefuses calls until one passesrestart. - A command may run for 295 seconds (was 120). Output is stdout and then stderr (stderr first for a failed command), cut after 30,000 characters (was the last 100 KiB), with the path of a file that has the rest.
readasks for aview_rangeabove 110,000 bytes (was 256 KiB).- The shell has no terminal, and errors no longer end with the exit code.
- A timeout or a cancellation kills the shell and its background jobs. Once a shell has ended,
-
tools: run only the session tool calls that the session is waiting on
- The context of a running tool is cancelled when the session no longer accepts its result or the runner stops. The default
ToolTimeoutis 325 seconds (was 120). bashkeeps one shell for each session thread.- A permanent API error from reading the session, such as the 404 for a deleted session, is returned from
Err.
- The context of a running tool is cancelled when the session no longer accepts its result or the runner stops. The default
-
tools: wait at most 150 seconds for a cancelled tool when the session tool runner stops