From 4415a119316bd3fd6d92cce2c09b3d7d712b1a93 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 19:19:01 +0000 Subject: [PATCH] chore: version packages --- .changeset/reject-duplicate-tool-names.md | 5 ----- packages/agent/CHANGELOG.md | 6 ++++++ packages/agent/package.json | 2 +- packages/agent/src/mcp/version.ts | 2 +- packages/mcp/CHANGELOG.md | 7 +++++++ packages/mcp/package.json | 2 +- 6 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 .changeset/reject-duplicate-tool-names.md diff --git a/.changeset/reject-duplicate-tool-names.md b/.changeset/reject-duplicate-tool-names.md deleted file mode 100644 index 574b11d7..00000000 --- a/.changeset/reject-duplicate-tool-names.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openrouter/agent': patch ---- - -`callModel` now throws when two client tools in `tools` share a name. Tool calls are dispatched by name, so with a duplicate the first tool in the list received the call, including a call that was approved while a different tool with that name was registered. Rename one of the tools, or pass `toolNamePrefix` to `createMCPTools` when combining MCP tools with local tools. diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 4e1273a4..73cc0313 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -1,5 +1,11 @@ # @openrouter/agent +## 1.2.1 + +### Patch Changes + +- [#162](https://github.com/OpenRouterTeam/typescript-agent/pull/162) [`94bff57`](https://github.com/OpenRouterTeam/typescript-agent/commit/94bff57199202f49a3cc714b73c6185dc5092430) Thanks [@alexb-openrouter](https://github.com/alexb-openrouter)! - `callModel` now throws when two client tools in `tools` share a name. Tool calls are dispatched by name, so with a duplicate the first tool in the list received the call, including a call that was approved while a different tool with that name was registered. Rename one of the tools, or pass `toolNamePrefix` to `createMCPTools` when combining MCP tools with local tools. + ## 1.2.0 ### Minor Changes diff --git a/packages/agent/package.json b/packages/agent/package.json index 025a2946..8b77b3ed 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "@openrouter/agent", - "version": "1.2.0", + "version": "1.2.1", "author": "OpenRouter", "description": "Agent toolkit for building AI applications with OpenRouter — tool orchestration, streaming, multi-turn conversations, and format compatibility.", "keywords": [ diff --git a/packages/agent/src/mcp/version.ts b/packages/agent/src/mcp/version.ts index cbb7794d..36b91906 100644 --- a/packages/agent/src/mcp/version.ts +++ b/packages/agent/src/mcp/version.ts @@ -2,4 +2,4 @@ // Run `pnpm --filter @openrouter/agent gen:version` after bumping the version. /** This package's version, self-reported to MCP servers as `clientInfo`. */ -export const PACKAGE_VERSION = '1.2.0'; +export const PACKAGE_VERSION = '1.2.1'; diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index b9422966..5efacab3 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,12 @@ # @openrouter/mcp +## 1.1.6 + +### Patch Changes + +- Updated dependencies [[`94bff57`](https://github.com/OpenRouterTeam/typescript-agent/commit/94bff57199202f49a3cc714b73c6185dc5092430)]: + - @openrouter/agent@1.2.1 + ## 1.1.5 ### Patch Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 088ee7f5..f07bb7af 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@openrouter/mcp", - "version": "1.1.5", + "version": "1.1.6", "engines": { "node": ">=20" },