Repository navigation
agents@0.32.0
Minor Changes
-
#2752
34cbd30Thanks @mattzcarey! - Addexperimental_registerOpenTelemetry()toagents/observability, which records spans from OpenTelemetry-instrumented libraries as Workers trace spans. Experimental and subject to change. -
#2771
54ae3e8Thanks @mattzcarey! - Breaking:agents/skillsnow loads Agent Skills from Computer Workspace files (workspace()), R2 (r2()), or code (manifest()), checksSKILL.mdagainst the Agent Skills spec, and replacesSkillRegistrywithloadSkillCatalog()andcreateSkillTools()(fromagents/skills/tools/ai-sdk);parseSkill()follows the spec's guide for agents, loading skills that break a rule with warnings;runner()moved toagents/skills/runner; theagents:skillsVite import andagents/skills/compileare removed. See Agent Skills.
Patch Changes
-
#2763
df85805Thanks @mattzcarey! - Agents SDK spans (agent lifecycle,wrapAISDK, Think) now set span statuserroron failure, where the Workers runtime supportsSpan.setStatus(); attributes are unchanged. See Observability. -
#2737
08747d9Thanks @mattzcarey! - Mark the package side-effect free (apart from the CLI), so bundlers drop the modules a Worker doesn't use.import { routeAgentRequest } from "agents"no longer bundles the MCP client. -
#2744
a2d371eThanks @mattzcarey! - Update@modelcontextprotocol/clientand@modelcontextprotocol/serverto 2.4.0 and@modelcontextprotocol/sdkto 1.32.2, and add aclientMetadataUrloption toDurableObjectOAuthClientProviderfor OAuth Client ID Metadata Documents. See MCP client. -
#2740
8cf6da1Thanks @mattzcarey! -agents/models/pi-aiparses streamed chat-completions tool-call arguments incrementally, instead of re-parsing the whole argument text on every delta. -
#2766
b372289Thanks @github-actions! - Allow@tanstack/ai1.x in the optional peer dependency ranges, and type the TanStack AI tools so they compile against both 0.x and 1.x. See TanStack AI.