diff --git a/.changeset/four-frogs-tease.md b/.changeset/four-frogs-tease.md deleted file mode 100644 index 349b465b8..000000000 --- a/.changeset/four-frogs-tease.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@voltagent/core": patch ---- - -feat: expose workspace in tool execution context - #1046 - -- Add `workspace?: Workspace` to `OperationContext`, so custom tools can access `options.workspace` during tool calls. -- Wire agent operation context creation to attach the configured workspace automatically. -- Add regression coverage showing a tool call can read workspace filesystem content and fetch sandbox output in the same execution. diff --git a/.changeset/good-bottles-hike.md b/.changeset/good-bottles-hike.md deleted file mode 100644 index 3b41b15c6..000000000 --- a/.changeset/good-bottles-hike.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -"@voltagent/core": minor -"@voltagent/scorers": minor ---- - -feat: add tool-aware live-eval payloads and a deterministic tool-call accuracy scorer - -### What's New - -- `@voltagent/core` - - Live eval payload now includes `messages`, `toolCalls`, and `toolResults`. - - If `toolCalls`/`toolResults` are not explicitly provided, they are derived from the normalized message/step chain. - - New exported eval types: `AgentEvalToolCall` and `AgentEvalToolResult`. - -- `@voltagent/scorers` - - Added prebuilt `createToolCallAccuracyScorerCode` for deterministic tool evaluation. - - Supports both single-tool checks (`expectedTool`) and ordered tool-chain checks (`expectedToolOrder`). - - Supports strict and lenient matching modes. - -### Code Examples - -Built-in tool-call scorer: - -```ts -import { createToolCallAccuracyScorerCode } from "@voltagent/scorers"; - -const toolOrderScorer = createToolCallAccuracyScorerCode({ - expectedToolOrder: ["searchProducts", "checkInventory"], - strictMode: false, -}); -``` - -Custom scorer using `toolCalls` + `toolResults`: - -```ts -import { buildScorer } from "@voltagent/core"; - -interface ToolEvalPayload extends Record { - toolCalls?: Array<{ toolName?: string }>; - toolResults?: Array<{ isError?: boolean; error?: unknown }>; -} - -const toolExecutionHealthScorer = buildScorer>({ - id: "tool-execution-health", - label: "Tool Execution Health", -}) - .score(({ payload }) => { - const toolCalls = payload.toolCalls ?? []; - const toolResults = payload.toolResults ?? []; - - const failedResults = toolResults.filter( - (result) => result.isError === true || Boolean(result.error) - ); - const completionRatio = - toolCalls.length === 0 ? 1 : Math.min(toolResults.length / toolCalls.length, 1); - - return { - score: Math.max(0, completionRatio - failedResults.length * 0.25), - metadata: { - toolCallCount: toolCalls.length, - toolResultCount: toolResults.length, - failedResultCount: failedResults.length, - }, - }; - }) - .build(); -``` diff --git a/.changeset/good-bottles-wave.md b/.changeset/good-bottles-wave.md deleted file mode 100644 index 173b749ea..000000000 --- a/.changeset/good-bottles-wave.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"@voltagent/core": minor ---- - -feat: add `onToolError` hook for customizing tool error payloads before serialization - -Example: - -```ts -import { Agent, createHooks } from "@voltagent/core"; - -const agent = new Agent({ - name: "Assistant", - instructions: "Use tools when needed.", - model: "openai/gpt-4o-mini", - hooks: createHooks({ - onToolError: async ({ originalError, error }) => { - const maybeAxios = (originalError as any).isAxiosError === true; - if (!maybeAxios) { - return; - } - - return { - output: { - error: true, - name: error.name, - message: originalError.message, - code: (originalError as any).code, - status: (originalError as any).response?.status, - }, - }; - }, - }), -}); -``` diff --git a/.changeset/khaki-worms-wave.md b/.changeset/khaki-worms-wave.md deleted file mode 100644 index b54162d3b..000000000 --- a/.changeset/khaki-worms-wave.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@voltagent/core": patch ---- - -fix: make workspace toolkit schemas compatible with Zod v4 record handling - #1043 - -### What Changed - -- Updated workspace toolkit input schemas to avoid single-argument `z.record(...)` usage that can fail in Zod v4 JSON schema conversion paths. -- `workspace_sandbox.execute_command` now uses `z.record(z.string(), z.string())` for `env`. -- `workspace_index_content` now uses `z.record(z.string(), z.unknown())` for `metadata`. - -### 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. diff --git a/examples/base/package.json b/examples/base/package.json index 4015b7bd0..8fd7e280c 100644 --- a/examples/base/package.json +++ b/examples/base/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/github-repo-analyzer/package.json b/examples/github-repo-analyzer/package.json index 80a34d823..55a56f070 100644 --- a/examples/github-repo-analyzer/package.json +++ b/examples/github-repo-analyzer/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@octokit/rest": "^21.0.0", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/github-star-stories/package.json b/examples/github-star-stories/package.json index d1e2a4716..074920ee5 100644 --- a/examples/github-star-stories/package.json +++ b/examples/github-star-stories/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "@voltagent/serverless-hono": "^2.0.8", diff --git a/examples/next-js-chatbot-starter-template/package.json b/examples/next-js-chatbot-starter-template/package.json index 83c5cc816..a822523ae 100644 --- a/examples/next-js-chatbot-starter-template/package.json +++ b/examples/next-js-chatbot-starter-template/package.json @@ -16,7 +16,7 @@ "@radix-ui/react-tooltip": "^1.2.8", "@radix-ui/react-use-controllable-state": "^1.2.2", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/server-hono": "^2.0.6", "@xyflow/react": "^12.9.2", diff --git a/examples/with-a2a-server/package.json b/examples/with-a2a-server/package.json index 56277f5cb..4d5f00720 100644 --- a/examples/with-a2a-server/package.json +++ b/examples/with-a2a-server/package.json @@ -2,7 +2,7 @@ "name": "voltagent-example-with-a2a-server", "dependencies": { "@voltagent/a2a-server": "^2.0.2", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/internal": "^1.0.3", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-agent-tool/package.json b/examples/with-agent-tool/package.json index 6275653de..efa032904 100644 --- a/examples/with-agent-tool/package.json +++ b/examples/with-agent-tool/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "author": "", "dependencies": { - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "ai": "^6.0.0", "zod": "^3.25.76" }, diff --git a/examples/with-airtable/package.json b/examples/with-airtable/package.json index 4483f279a..ff6d827ea 100644 --- a/examples/with-airtable/package.json +++ b/examples/with-airtable/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/internal": "^1.0.3", "@voltagent/logger": "^2.0.2", "@voltagent/sdk": "^2.0.2", diff --git a/examples/with-amazon-bedrock/package.json b/examples/with-amazon-bedrock/package.json index 150c5023f..ba13d2db5 100644 --- a/examples/with-amazon-bedrock/package.json +++ b/examples/with-amazon-bedrock/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-anthropic/package.json b/examples/with-anthropic/package.json index 2138e2fea..8061929ab 100644 --- a/examples/with-anthropic/package.json +++ b/examples/with-anthropic/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-auth/package.json b/examples/with-auth/package.json index d7893d102..553c1754a 100644 --- a/examples/with-auth/package.json +++ b/examples/with-auth/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-cerbos/package.json b/examples/with-cerbos/package.json index be9ee6d72..e50f713f9 100644 --- a/examples/with-cerbos/package.json +++ b/examples/with-cerbos/package.json @@ -5,7 +5,7 @@ "@cerbos/grpc": "^0.23.0", "@modelcontextprotocol/sdk": "^1.12.1", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0", "express": "^5.1.0", diff --git a/examples/with-chroma/package.json b/examples/with-chroma/package.json index 33af9dfd3..645fd34b8 100644 --- a/examples/with-chroma/package.json +++ b/examples/with-chroma/package.json @@ -6,7 +6,7 @@ "@chroma-core/ollama": "^0.1.7", "@chroma-core/openai": "^0.1.7", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-client-side-tools/package.json b/examples/with-client-side-tools/package.json index dde965d8f..7c53a1d7d 100644 --- a/examples/with-client-side-tools/package.json +++ b/examples/with-client-side-tools/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/react": "^3.0.0", "@libsql/client": "^0.15.0", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/server-hono": "^2.0.6", "@voltagent/vercel-ai": "^1.0.0", "@voltagent/vercel-ui": "^1.0.1", diff --git a/examples/with-cloudflare-workers/package.json b/examples/with-cloudflare-workers/package.json index 1ae377ac9..5ce8479a5 100644 --- a/examples/with-cloudflare-workers/package.json +++ b/examples/with-cloudflare-workers/package.json @@ -3,7 +3,7 @@ "description": "VoltAgent example for Cloudflare Workers deployment with in-memory storage", "version": "1.0.0", "dependencies": { - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/serverless-hono": "^2.0.8", "ai": "^6.0.0", "hono": "^4.7.7", diff --git a/examples/with-composio-mcp/package.json b/examples/with-composio-mcp/package.json index ad0a50a84..127a7b524 100644 --- a/examples/with-composio-mcp/package.json +++ b/examples/with-composio-mcp/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-custom-endpoints/package.json b/examples/with-custom-endpoints/package.json index 5638055fc..ab0be48b7 100644 --- a/examples/with-custom-endpoints/package.json +++ b/examples/with-custom-endpoints/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-dynamic-parameters/package.json b/examples/with-dynamic-parameters/package.json index 85f13d75b..89630c75e 100644 --- a/examples/with-dynamic-parameters/package.json +++ b/examples/with-dynamic-parameters/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-dynamic-prompts/package.json b/examples/with-dynamic-prompts/package.json index 378e43337..4bccfd05d 100644 --- a/examples/with-dynamic-prompts/package.json +++ b/examples/with-dynamic-prompts/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-feedback/package.json b/examples/with-feedback/package.json index d43994ac5..419cdc8bb 100644 --- a/examples/with-feedback/package.json +++ b/examples/with-feedback/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0" diff --git a/examples/with-google-ai/package.json b/examples/with-google-ai/package.json index 6d19b907a..56a78c458 100644 --- a/examples/with-google-ai/package.json +++ b/examples/with-google-ai/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-google-drive-mcp/server/package.json b/examples/with-google-drive-mcp/server/package.json index 3384306e1..cbece0abb 100644 --- a/examples/with-google-drive-mcp/server/package.json +++ b/examples/with-google-drive-mcp/server/package.json @@ -5,7 +5,7 @@ "@hono/node-server": "^1.14.0", "@libsql/client": "^0.15.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-google-vertex-ai/package.json b/examples/with-google-vertex-ai/package.json index 84ffeee1e..5a6d8ea8c 100644 --- a/examples/with-google-vertex-ai/package.json +++ b/examples/with-google-vertex-ai/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-groq-ai/package.json b/examples/with-groq-ai/package.json index 2063a012e..bf9fda43c 100644 --- a/examples/with-groq-ai/package.json +++ b/examples/with-groq-ai/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-guardrails/package.json b/examples/with-guardrails/package.json index fd24598ac..0d2d30d7f 100644 --- a/examples/with-guardrails/package.json +++ b/examples/with-guardrails/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0" diff --git a/examples/with-hooks/package.json b/examples/with-hooks/package.json index 3e3263dab..3c758d9e2 100644 --- a/examples/with-hooks/package.json +++ b/examples/with-hooks/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-hugging-face-mcp/package.json b/examples/with-hugging-face-mcp/package.json index 168af39cc..da84a10e4 100644 --- a/examples/with-hugging-face-mcp/package.json +++ b/examples/with-hugging-face-mcp/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-langfuse/package.json b/examples/with-langfuse/package.json index d79f04a9c..c48af9122 100644 --- a/examples/with-langfuse/package.json +++ b/examples/with-langfuse/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/langfuse-exporter": "^2.0.2", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", diff --git a/examples/with-mcp-elicitation/package.json b/examples/with-mcp-elicitation/package.json index f5a90ba2f..dba136ba2 100644 --- a/examples/with-mcp-elicitation/package.json +++ b/examples/with-mcp-elicitation/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/mcp-server": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-mcp-server/package.json b/examples/with-mcp-server/package.json index abf9b56ae..20d33a28f 100644 --- a/examples/with-mcp-server/package.json +++ b/examples/with-mcp-server/package.json @@ -1,7 +1,7 @@ { "name": "voltagent-example-with-mcp-server", "dependencies": { - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/mcp-server": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-mcp/package.json b/examples/with-mcp/package.json index e979bc25b..27e90b190 100644 --- a/examples/with-mcp/package.json +++ b/examples/with-mcp/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-memory-rest-api/package.json b/examples/with-memory-rest-api/package.json index 2401eda80..eb14a0bb9 100644 --- a/examples/with-memory-rest-api/package.json +++ b/examples/with-memory-rest-api/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/postgres": "^2.1.1", "@voltagent/server-hono": "^2.0.6" diff --git a/examples/with-middleware/package.json b/examples/with-middleware/package.json index ac3851cb8..420f2fbd8 100644 --- a/examples/with-middleware/package.json +++ b/examples/with-middleware/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-nestjs/package.json b/examples/with-nestjs/package.json index 00d2d28df..b9cb90d24 100644 --- a/examples/with-nestjs/package.json +++ b/examples/with-nestjs/package.json @@ -6,7 +6,7 @@ "@nestjs/common": "^11.0.0", "@nestjs/core": "^11.0.0", "@nestjs/platform-express": "^11.0.0", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/server-core": "^2.1.5", "@voltagent/server-hono": "^2.0.6", "hono": "^4.7.7", diff --git a/examples/with-netlify-functions/package.json b/examples/with-netlify-functions/package.json index 72c41f8e7..6c49c33bc 100644 --- a/examples/with-netlify-functions/package.json +++ b/examples/with-netlify-functions/package.json @@ -3,7 +3,7 @@ "description": "VoltAgent example deployed as a Netlify Function", "version": "1.0.0", "dependencies": { - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/serverless-hono": "^2.0.8", "ai": "^6.0.0", "hono": "^4.7.7", diff --git a/examples/with-nextjs-resumable-stream/package.json b/examples/with-nextjs-resumable-stream/package.json index 32a27269d..5c68b56fb 100644 --- a/examples/with-nextjs-resumable-stream/package.json +++ b/examples/with-nextjs-resumable-stream/package.json @@ -17,7 +17,7 @@ "@radix-ui/react-use-controllable-state": "^1.2.2", "@tavily/core": "^0.6.3", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/internal": "^1.0.3", "@voltagent/libsql": "^2.1.1", "@voltagent/resumable-streams": "^2.0.1", diff --git a/examples/with-nextjs/package.json b/examples/with-nextjs/package.json index 5316f6edd..329a70070 100644 --- a/examples/with-nextjs/package.json +++ b/examples/with-nextjs/package.json @@ -6,7 +6,7 @@ "@libsql/client": "^0.15.0", "@tailwindcss/postcss": "^4.1.4", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-nuxt/package.json b/examples/with-nuxt/package.json index d2fb7c4ee..8afeff9a4 100644 --- a/examples/with-nuxt/package.json +++ b/examples/with-nuxt/package.json @@ -3,7 +3,7 @@ "dependencies": { "@nuxt/eslint": "^1.9.0", "@nuxt/ui": "^4.0.0", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0", diff --git a/examples/with-offline-evals/package.json b/examples/with-offline-evals/package.json index 578e57747..61b02e2b9 100644 --- a/examples/with-offline-evals/package.json +++ b/examples/with-offline-evals/package.json @@ -3,9 +3,9 @@ "version": "0.0.0", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/evals": "^2.0.3", - "@voltagent/scorers": "^2.0.4", + "@voltagent/scorers": "^2.1.0", "@voltagent/sdk": "^2.0.2", "ai": "^6.0.0", "zod": "^3.25.76" diff --git a/examples/with-ollama/package.json b/examples/with-ollama/package.json index 5d3f3419d..33ce289a0 100644 --- a/examples/with-ollama/package.json +++ b/examples/with-ollama/package.json @@ -2,7 +2,7 @@ "name": "voltagent-example-with-ollama", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0", diff --git a/examples/with-peaka-mcp/package.json b/examples/with-peaka-mcp/package.json index 7173a7895..ccda905e1 100644 --- a/examples/with-peaka-mcp/package.json +++ b/examples/with-peaka-mcp/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-pinecone/package.json b/examples/with-pinecone/package.json index d2a0dc619..b970d9957 100644 --- a/examples/with-pinecone/package.json +++ b/examples/with-pinecone/package.json @@ -4,7 +4,7 @@ "dependencies": { "@pinecone-database/pinecone": "^6.1.1", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-planagents/package.json b/examples/with-planagents/package.json index 3f771c2ae..65c4bc5bb 100644 --- a/examples/with-planagents/package.json +++ b/examples/with-planagents/package.json @@ -5,7 +5,7 @@ "dependencies": { "@tavily/core": "^0.6.3", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-playwright/package.json b/examples/with-playwright/package.json index f9265cbc9..6f95343df 100644 --- a/examples/with-playwright/package.json +++ b/examples/with-playwright/package.json @@ -7,7 +7,7 @@ "@playwright/browser-webkit": "1.51.1", "@playwright/test": "^1.51.1", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-postgres/package.json b/examples/with-postgres/package.json index e21c96377..0ce980530 100644 --- a/examples/with-postgres/package.json +++ b/examples/with-postgres/package.json @@ -4,7 +4,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/postgres": "^2.1.1", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-qdrant/package.json b/examples/with-qdrant/package.json index 73db02cfe..d03349e6e 100644 --- a/examples/with-qdrant/package.json +++ b/examples/with-qdrant/package.json @@ -4,7 +4,7 @@ "dependencies": { "@qdrant/js-client-rest": "^1.15.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-rag-chatbot/package.json b/examples/with-rag-chatbot/package.json index e52b6d882..0342a0080 100644 --- a/examples/with-rag-chatbot/package.json +++ b/examples/with-rag-chatbot/package.json @@ -4,7 +4,7 @@ "version": "0.0.1", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-recipe-generator/package.json b/examples/with-recipe-generator/package.json index 7c119f774..c1e8cca31 100644 --- a/examples/with-recipe-generator/package.json +++ b/examples/with-recipe-generator/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0", diff --git a/examples/with-research-assistant/package.json b/examples/with-research-assistant/package.json index ebc366b9b..a765811cf 100644 --- a/examples/with-research-assistant/package.json +++ b/examples/with-research-assistant/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-resumable-streams/package.json b/examples/with-resumable-streams/package.json index 399452d52..e7cf980d9 100644 --- a/examples/with-resumable-streams/package.json +++ b/examples/with-resumable-streams/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "author": "", "dependencies": { - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/resumable-streams": "^2.0.1", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-retries-fallback/package.json b/examples/with-retries-fallback/package.json index 4732fb769..0aacb8c2f 100644 --- a/examples/with-retries-fallback/package.json +++ b/examples/with-retries-fallback/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-retrieval/package.json b/examples/with-retrieval/package.json index adc273495..c9a079071 100644 --- a/examples/with-retrieval/package.json +++ b/examples/with-retrieval/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-slack/package.json b/examples/with-slack/package.json index c587dfa25..84bc2b31d 100644 --- a/examples/with-slack/package.json +++ b/examples/with-slack/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/sdk": "^2.0.2", diff --git a/examples/with-subagents/package.json b/examples/with-subagents/package.json index f4121e296..f6f2d6ffa 100644 --- a/examples/with-subagents/package.json +++ b/examples/with-subagents/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-summarization/package.json b/examples/with-summarization/package.json index 7eca04956..9f9c13ef6 100644 --- a/examples/with-summarization/package.json +++ b/examples/with-summarization/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-supabase/package.json b/examples/with-supabase/package.json index ec0255882..e46342717 100644 --- a/examples/with-supabase/package.json +++ b/examples/with-supabase/package.json @@ -4,7 +4,7 @@ "dependencies": { "@supabase/supabase-js": "^2.49.4", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "@voltagent/supabase": "^2.1.2", diff --git a/examples/with-tavily-search/package.json b/examples/with-tavily-search/package.json index 154617448..fe5501ea5 100644 --- a/examples/with-tavily-search/package.json +++ b/examples/with-tavily-search/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-thinking-tool/package.json b/examples/with-thinking-tool/package.json index a09a8de5a..b0425c1fe 100644 --- a/examples/with-thinking-tool/package.json +++ b/examples/with-thinking-tool/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-tool-routing/package.json b/examples/with-tool-routing/package.json index 7f53b75ca..53bccd488 100644 --- a/examples/with-tool-routing/package.json +++ b/examples/with-tool-routing/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "ai": "^6.0.0", diff --git a/examples/with-tools/package.json b/examples/with-tools/package.json index 26c7950c3..05c03e232 100644 --- a/examples/with-tools/package.json +++ b/examples/with-tools/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-turso/package.json b/examples/with-turso/package.json index d82b83d71..a49c5a2de 100644 --- a/examples/with-turso/package.json +++ b/examples/with-turso/package.json @@ -4,7 +4,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-vector-search/package.json b/examples/with-vector-search/package.json index 91aac5770..b1fe35fa4 100644 --- a/examples/with-vector-search/package.json +++ b/examples/with-vector-search/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-vercel-ai/package.json b/examples/with-vercel-ai/package.json index 7aecabb5b..cd8e148af 100644 --- a/examples/with-vercel-ai/package.json +++ b/examples/with-vercel-ai/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-viteval/package.json b/examples/with-viteval/package.json index 93bcdfa2c..55ecee2dd 100644 --- a/examples/with-viteval/package.json +++ b/examples/with-viteval/package.json @@ -3,7 +3,7 @@ "author": "VoltAgent", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voice-elevenlabs/package.json b/examples/with-voice-elevenlabs/package.json index 336bd1cde..9295800a2 100644 --- a/examples/with-voice-elevenlabs/package.json +++ b/examples/with-voice-elevenlabs/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voice-openai/package.json b/examples/with-voice-openai/package.json index 2f48dd933..ba4596f0f 100644 --- a/examples/with-voice-openai/package.json +++ b/examples/with-voice-openai/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voice-xsai/package.json b/examples/with-voice-xsai/package.json index 5b76d769f..ad601eabf 100644 --- a/examples/with-voice-xsai/package.json +++ b/examples/with-voice-xsai/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voltagent-actions/package.json b/examples/with-voltagent-actions/package.json index 364b1230d..462089457 100644 --- a/examples/with-voltagent-actions/package.json +++ b/examples/with-voltagent-actions/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/sdk": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voltagent-exporter/package.json b/examples/with-voltagent-exporter/package.json index 36c7742ce..b6a668c19 100644 --- a/examples/with-voltagent-exporter/package.json +++ b/examples/with-voltagent-exporter/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voltagent-managed-memory/package.json b/examples/with-voltagent-managed-memory/package.json index 667be07e4..ba49e8d47 100644 --- a/examples/with-voltagent-managed-memory/package.json +++ b/examples/with-voltagent-managed-memory/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@ai-sdk/openai": "^3.0.0", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", "@voltagent/voltagent-memory": "^1.0.4", diff --git a/examples/with-voltops-resumable-streams/package.json b/examples/with-voltops-resumable-streams/package.json index c727b2d5f..f922c7157 100644 --- a/examples/with-voltops-resumable-streams/package.json +++ b/examples/with-voltops-resumable-streams/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "author": "", "dependencies": { - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/logger": "^2.0.2", "@voltagent/resumable-streams": "^2.0.1", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-voltops-retrieval/package.json b/examples/with-voltops-retrieval/package.json index 89391f3d7..32a08959d 100644 --- a/examples/with-voltops-retrieval/package.json +++ b/examples/with-voltops-retrieval/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-whatsapp/package.json b/examples/with-whatsapp/package.json index 2f9415f1a..adea6198f 100644 --- a/examples/with-whatsapp/package.json +++ b/examples/with-whatsapp/package.json @@ -4,7 +4,7 @@ "dependencies": { "@supabase/supabase-js": "^2.49.4", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-workflow-chain/package.json b/examples/with-workflow-chain/package.json index ace1c34bb..d86cfdd87 100644 --- a/examples/with-workflow-chain/package.json +++ b/examples/with-workflow-chain/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-workflow/package.json b/examples/with-workflow/package.json index 8952951e9..9fabbc0cb 100644 --- a/examples/with-workflow/package.json +++ b/examples/with-workflow/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-working-memory/package.json b/examples/with-working-memory/package.json index af234b0c1..89e9c9d70 100644 --- a/examples/with-working-memory/package.json +++ b/examples/with-working-memory/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-workspace/package.json b/examples/with-workspace/package.json index c086b4498..846113224 100644 --- a/examples/with-workspace/package.json +++ b/examples/with-workspace/package.json @@ -4,7 +4,7 @@ "dependencies": { "@ai-sdk/openai": "^3.0.0", "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-youtube-to-blog/package.json b/examples/with-youtube-to-blog/package.json index 34cf0f847..bcbbcc9fe 100644 --- a/examples/with-youtube-to-blog/package.json +++ b/examples/with-youtube-to-blog/package.json @@ -3,7 +3,7 @@ "author": "", "dependencies": { "@voltagent/cli": "^0.1.21", - "@voltagent/core": "^2.3.8", + "@voltagent/core": "^2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/examples/with-zapier-mcp/package.json b/examples/with-zapier-mcp/package.json index 56263516a..01b1dc849 100644 --- a/examples/with-zapier-mcp/package.json +++ b/examples/with-zapier-mcp/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "author": "", "dependencies": { - "@voltagent/core": "~2.3.8", + "@voltagent/core": "~2.4.0", "@voltagent/libsql": "^2.1.1", "@voltagent/logger": "^2.0.2", "@voltagent/server-hono": "^2.0.6", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 2fedc54d0..3c47eae0f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,124 @@ # @voltagent/core +## 2.4.0 + +### Minor Changes + +- [#1055](https://github.com/VoltAgent/voltagent/pull/1055) [`21891b4`](https://github.com/VoltAgent/voltagent/commit/21891b4574df7c771fb9b12f04402c2ffa1201bd) Thanks [@omeraplak](https://github.com/omeraplak)! - feat: add tool-aware live-eval payloads and a deterministic tool-call accuracy scorer + + ### What's New + - `@voltagent/core` + - Live eval payload now includes `messages`, `toolCalls`, and `toolResults`. + - If `toolCalls`/`toolResults` are not explicitly provided, they are derived from the normalized message/step chain. + - New exported eval types: `AgentEvalToolCall` and `AgentEvalToolResult`. + - `@voltagent/scorers` + - Added prebuilt `createToolCallAccuracyScorerCode` for deterministic tool evaluation. + - Supports both single-tool checks (`expectedTool`) and ordered tool-chain checks (`expectedToolOrder`). + - Supports strict and lenient matching modes. + + ### Code Examples + + Built-in tool-call scorer: + + ```ts + import { createToolCallAccuracyScorerCode } from "@voltagent/scorers"; + + const toolOrderScorer = createToolCallAccuracyScorerCode({ + expectedToolOrder: ["searchProducts", "checkInventory"], + strictMode: false, + }); + ``` + + Custom scorer using `toolCalls` + `toolResults`: + + ```ts + import { buildScorer } from "@voltagent/core"; + + interface ToolEvalPayload extends Record { + toolCalls?: Array<{ toolName?: string }>; + toolResults?: Array<{ isError?: boolean; error?: unknown }>; + } + + const toolExecutionHealthScorer = buildScorer>({ + id: "tool-execution-health", + label: "Tool Execution Health", + }) + .score(({ payload }) => { + const toolCalls = payload.toolCalls ?? []; + const toolResults = payload.toolResults ?? []; + + const failedResults = toolResults.filter( + (result) => result.isError === true || Boolean(result.error) + ); + const completionRatio = + toolCalls.length === 0 ? 1 : Math.min(toolResults.length / toolCalls.length, 1); + + return { + score: Math.max(0, completionRatio - failedResults.length * 0.25), + metadata: { + toolCallCount: toolCalls.length, + toolResultCount: toolResults.length, + failedResultCount: failedResults.length, + }, + }; + }) + .build(); + ``` + +- [#1054](https://github.com/VoltAgent/voltagent/pull/1054) [`3556385`](https://github.com/VoltAgent/voltagent/commit/3556385f207de8c669b878ccea8257a421e15c0f) Thanks [@omeraplak](https://github.com/omeraplak)! - feat: add `onToolError` hook for customizing tool error payloads before serialization + + Example: + + ```ts + import { Agent, createHooks } from "@voltagent/core"; + + const agent = new Agent({ + name: "Assistant", + instructions: "Use tools when needed.", + model: "openai/gpt-4o-mini", + hooks: createHooks({ + onToolError: async ({ originalError, error }) => { + const maybeAxios = (originalError as any).isAxiosError === true; + if (!maybeAxios) { + return; + } + + return { + output: { + error: true, + name: error.name, + message: originalError.message, + code: (originalError as any).code, + status: (originalError as any).response?.status, + }, + }; + }, + }), + }); + ``` + +### Patch Changes + +- [#1052](https://github.com/VoltAgent/voltagent/pull/1052) [`156c98e`](https://github.com/VoltAgent/voltagent/commit/156c98e738c0e86dc9fc2dc4d55ee48c8e1e2576) Thanks [@omeraplak](https://github.com/omeraplak)! - feat: expose workspace in tool execution context - #1046 + - Add `workspace?: Workspace` to `OperationContext`, so custom tools can access `options.workspace` during tool calls. + - Wire agent operation context creation to attach the configured workspace automatically. + - Add regression coverage showing a tool call can read workspace filesystem content and fetch sandbox output in the same execution. + +- [#1058](https://github.com/VoltAgent/voltagent/pull/1058) [`480981a`](https://github.com/VoltAgent/voltagent/commit/480981afe136b575d2ba6d943924dddc5e07da44) Thanks [@omeraplak](https://github.com/omeraplak)! - fix: make workspace toolkit schemas compatible with Zod v4 record handling - #1043 + + ### What Changed + - Updated workspace toolkit input schemas to avoid single-argument `z.record(...)` usage that can fail in Zod v4 JSON schema conversion paths. + - `workspace_sandbox.execute_command` now uses `z.record(z.string(), z.string())` for `env`. + - `workspace_index_content` now uses `z.record(z.string(), z.unknown())` for `metadata`. + + ### 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. + ## 2.3.8 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index eb4eae64f..d40d9fa92 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@voltagent/core", "description": "VoltAgent Core - AI agent framework for JavaScript", - "version": "2.3.8", + "version": "2.4.0", "dependencies": { "@ai-sdk/amazon-bedrock": "^3.0.0", "@ai-sdk/anthropic": "^3.0.0", diff --git a/packages/scorers/CHANGELOG.md b/packages/scorers/CHANGELOG.md index 5c59ec0b0..e7409f00d 100644 --- a/packages/scorers/CHANGELOG.md +++ b/packages/scorers/CHANGELOG.md @@ -1,5 +1,75 @@ # @voltagent/scorers +## 2.1.0 + +### Minor Changes + +- [#1055](https://github.com/VoltAgent/voltagent/pull/1055) [`21891b4`](https://github.com/VoltAgent/voltagent/commit/21891b4574df7c771fb9b12f04402c2ffa1201bd) Thanks [@omeraplak](https://github.com/omeraplak)! - feat: add tool-aware live-eval payloads and a deterministic tool-call accuracy scorer + + ### What's New + - `@voltagent/core` + - Live eval payload now includes `messages`, `toolCalls`, and `toolResults`. + - If `toolCalls`/`toolResults` are not explicitly provided, they are derived from the normalized message/step chain. + - New exported eval types: `AgentEvalToolCall` and `AgentEvalToolResult`. + - `@voltagent/scorers` + - Added prebuilt `createToolCallAccuracyScorerCode` for deterministic tool evaluation. + - Supports both single-tool checks (`expectedTool`) and ordered tool-chain checks (`expectedToolOrder`). + - Supports strict and lenient matching modes. + + ### Code Examples + + Built-in tool-call scorer: + + ```ts + import { createToolCallAccuracyScorerCode } from "@voltagent/scorers"; + + const toolOrderScorer = createToolCallAccuracyScorerCode({ + expectedToolOrder: ["searchProducts", "checkInventory"], + strictMode: false, + }); + ``` + + Custom scorer using `toolCalls` + `toolResults`: + + ```ts + import { buildScorer } from "@voltagent/core"; + + interface ToolEvalPayload extends Record { + toolCalls?: Array<{ toolName?: string }>; + toolResults?: Array<{ isError?: boolean; error?: unknown }>; + } + + const toolExecutionHealthScorer = buildScorer>({ + id: "tool-execution-health", + label: "Tool Execution Health", + }) + .score(({ payload }) => { + const toolCalls = payload.toolCalls ?? []; + const toolResults = payload.toolResults ?? []; + + const failedResults = toolResults.filter( + (result) => result.isError === true || Boolean(result.error) + ); + const completionRatio = + toolCalls.length === 0 ? 1 : Math.min(toolResults.length / toolCalls.length, 1); + + return { + score: Math.max(0, completionRatio - failedResults.length * 0.25), + metadata: { + toolCallCount: toolCalls.length, + toolResultCount: toolResults.length, + failedResultCount: failedResults.length, + }, + }; + }) + .build(); + ``` + +### Patch Changes + +- Updated dependencies [[`156c98e`](https://github.com/VoltAgent/voltagent/commit/156c98e738c0e86dc9fc2dc4d55ee48c8e1e2576), [`21891b4`](https://github.com/VoltAgent/voltagent/commit/21891b4574df7c771fb9b12f04402c2ffa1201bd), [`3556385`](https://github.com/VoltAgent/voltagent/commit/3556385f207de8c669b878ccea8257a421e15c0f), [`480981a`](https://github.com/VoltAgent/voltagent/commit/480981afe136b575d2ba6d943924dddc5e07da44)]: + - @voltagent/core@2.4.0 + ## 2.0.4 ### Patch Changes diff --git a/packages/scorers/package.json b/packages/scorers/package.json index d348caa21..8392e4673 100644 --- a/packages/scorers/package.json +++ b/packages/scorers/package.json @@ -1,10 +1,10 @@ { "name": "@voltagent/scorers", "description": "VoltAgent scorers re-export sourced from Viteval's prebuilt scorer set", - "version": "2.0.4", + "version": "2.1.0", "author": "VoltAgent", "dependencies": { - "@voltagent/core": "^2.1.1", + "@voltagent/core": "^2.4.0", "@voltagent/internal": "^1.0.2", "autoevals": "^0.0.131" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fae71c718..8f9e3cce6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -117,7 +117,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -154,7 +154,7 @@ importers: specifier: ^21.0.0 version: 21.1.1 '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -191,7 +191,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -267,7 +267,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -388,7 +388,7 @@ importers: specifier: ^2.0.2 version: link:../../packages/a2a-server '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/internal': specifier: ^1.0.3 @@ -477,7 +477,7 @@ importers: examples/with-agent-tool: dependencies: '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core ai: specifier: ^6.0.0 @@ -502,7 +502,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/internal': specifier: ^1.0.3 @@ -539,7 +539,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -573,7 +573,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -716,7 +716,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -756,7 +756,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/server-hono': specifier: ^2.0.6 @@ -796,7 +796,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -836,7 +836,7 @@ importers: specifier: ^0.15.0 version: 0.15.10 '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/server-hono': specifier: ^2.0.6 @@ -882,7 +882,7 @@ importers: examples/with-cloudflare-workers: dependencies: '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/serverless-hono': specifier: ^2.0.8 @@ -916,7 +916,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1012,7 +1012,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1046,7 +1046,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1080,7 +1080,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1114,7 +1114,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -1142,7 +1142,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1225,7 +1225,7 @@ importers: specifier: ^0.1.21 version: link:../../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1265,7 +1265,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1299,7 +1299,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1333,7 +1333,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -1361,7 +1361,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1395,7 +1395,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1503,7 +1503,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/langfuse-exporter': specifier: ^2.0.2 @@ -1565,7 +1565,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1599,7 +1599,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -1630,7 +1630,7 @@ importers: examples/with-mcp-server: dependencies: '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -1664,7 +1664,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -1695,7 +1695,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1735,7 +1735,7 @@ importers: specifier: ^11.0.0 version: 11.1.7(@nestjs/common@11.1.7)(@nestjs/core@11.1.7) '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/server-core': specifier: ^2.1.5 @@ -1781,7 +1781,7 @@ importers: examples/with-netlify-functions: dependencies: '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/serverless-hono': specifier: ^2.0.8 @@ -1821,7 +1821,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -1927,7 +1927,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/internal': specifier: ^1.0.3 @@ -2045,7 +2045,7 @@ importers: specifier: ^4.0.0 version: 4.0.1(embla-carousel@8.6.0)(typescript@5.9.3)(vite@7.2.7)(vue-router@4.5.1)(vue@3.5.22)(zod@3.25.76) '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2079,13 +2079,13 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/evals': specifier: ^2.0.3 version: link:../../packages/evals '@voltagent/scorers': - specifier: ^2.0.4 + specifier: ^2.1.0 version: link:../../packages/scorers '@voltagent/sdk': specifier: ^2.0.2 @@ -2113,7 +2113,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -2147,7 +2147,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2184,7 +2184,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2224,7 +2224,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2270,7 +2270,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2316,7 +2316,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -2353,7 +2353,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2390,7 +2390,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2424,7 +2424,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -2455,7 +2455,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2483,7 +2483,7 @@ importers: examples/with-resumable-streams: dependencies: '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -2517,7 +2517,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2551,7 +2551,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2585,7 +2585,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2625,7 +2625,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2662,7 +2662,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2699,7 +2699,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -2733,7 +2733,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2767,7 +2767,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2804,7 +2804,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -2838,7 +2838,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2872,7 +2872,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2909,7 +2909,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2943,7 +2943,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -2977,7 +2977,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3029,7 +3029,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3066,7 +3066,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3109,7 +3109,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3152,7 +3152,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -3183,7 +3183,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3217,7 +3217,7 @@ importers: specifier: ^3.0.0 version: 3.0.1(zod@3.25.76) '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -3248,7 +3248,7 @@ importers: examples/with-voltops-resumable-streams: dependencies: '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/logger': specifier: ^2.0.2 @@ -3279,7 +3279,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3316,7 +3316,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3353,7 +3353,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3387,7 +3387,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3421,7 +3421,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3458,7 +3458,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3492,7 +3492,7 @@ importers: specifier: ^0.1.21 version: link:../../packages/cli '@voltagent/core': - specifier: ^2.3.8 + specifier: ^2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -3523,7 +3523,7 @@ importers: examples/with-zapier-mcp: dependencies: '@voltagent/core': - specifier: ~2.3.8 + specifier: ~2.4.0 version: link:../../packages/core '@voltagent/libsql': specifier: ^2.1.1 @@ -4169,7 +4169,7 @@ importers: packages/scorers: dependencies: '@voltagent/core': - specifier: ^2.1.1 + specifier: ^2.4.0 version: link:../core '@voltagent/internal': specifier: ^1.0.2