ci(changesets): version packages#1057
Conversation
Deploying voltagent with
|
| Latest commit: |
1e3593b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://39b5cb84.voltagent.pages.dev |
| Branch Preview URL: | https://changeset-release-main.voltagent.pages.dev |
This comment has been minimized.
This comment has been minimized.
📝 WalkthroughWalkthroughBumped Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as Developer
participant Agent as Agent Runtime
participant Tool as Tool
participant Hook as onToolError Hook
participant Serializer as Error Serializer
Dev->>Agent: request that triggers tool call
Agent->>Tool: call tool
Tool-->>Agent: throws error
Agent->>Hook: onToolError(error, operationContext)
Hook-->>Agent: returns transformedErrorPayload
Agent->>Serializer: serialize transformedErrorPayload
Serializer-->>Dev: deliver serialized error payload
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
e4d632d to
5bc2cf0
Compare
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/scorers/package.json (1)
33-34:⚠️ Potential issue | 🟡 MinorPeer dependency for
@voltagent/coremay be too broad.The direct dependency requires
^2.4.0(line 7), indicating scorers 2.1.0 relies on APIs introduced in core 2.4.0 (e.g.,AgentEvalToolCall,AgentEvalToolResult). However, the peer dependency still allows^2.0.0, which could let consumers install an older core version that lacks these APIs, potentially causing runtime errors when npm dedupes.Consider tightening the peer dependency to
^2.4.0to match.
5bc2cf0 to
1e3593b
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@voltagent/core@2.4.0
Minor Changes
#1055
21891b4Thanks @omeraplak! - feat: add tool-aware live-eval payloads and a deterministic tool-call accuracy scorerWhat's New
@voltagent/coremessages,toolCalls, andtoolResults.toolCalls/toolResultsare not explicitly provided, they are derived from the normalized message/step chain.AgentEvalToolCallandAgentEvalToolResult.@voltagent/scorerscreateToolCallAccuracyScorerCodefor deterministic tool evaluation.expectedTool) and ordered tool-chain checks (expectedToolOrder).Code Examples
Built-in tool-call scorer:
Custom scorer using
toolCalls+toolResults:#1054
3556385Thanks @omeraplak! - feat: addonToolErrorhook for customizing tool error payloads before serializationExample:
Patch Changes
#1052
156c98eThanks @omeraplak! - feat: expose workspace in tool execution context - [FEAT] Workspace context support for tool calls (fetch from sandbox) #1046workspace?: WorkspacetoOperationContext, so custom tools can accessoptions.workspaceduring tool calls.#1058
480981aThanks @omeraplak! - fix: make workspace toolkit schemas compatible with Zod v4 record handling - [BUG] TypeError: Cannot read properties of undefined (reading '_zod') when using workspace toolkit tools with latest Zod and AI SDK #1043What Changed
z.record(...)usage that can fail in Zod v4 JSON schema conversion paths.workspace_sandbox.execute_commandnow usesz.record(z.string(), z.string())forenv.workspace_index_contentnow usesz.record(z.string(), z.unknown())formetadata.Why
With
@voltagent/core+zod@4, some workspace toolkit flows could fail at runtime with:Cannot read properties of undefined (reading '_zod')This patch ensures built-in workspace toolkits (such as sandbox and search indexing) work reliably across supported Zod versions.
@voltagent/scorers@2.1.0
Minor Changes
#1055
21891b4Thanks @omeraplak! - feat: add tool-aware live-eval payloads and a deterministic tool-call accuracy scorerWhat's New
@voltagent/coremessages,toolCalls, andtoolResults.toolCalls/toolResultsare not explicitly provided, they are derived from the normalized message/step chain.AgentEvalToolCallandAgentEvalToolResult.@voltagent/scorerscreateToolCallAccuracyScorerCodefor deterministic tool evaluation.expectedTool) and ordered tool-chain checks (expectedToolOrder).Code Examples
Built-in tool-call scorer:
Custom scorer using
toolCalls+toolResults:Patch Changes
156c98e,21891b4,3556385,480981a]:Summary by CodeRabbit
New Features
Bug Fixes
Chores