Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/reject-duplicate-tool-names.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/src/mcp/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
7 changes: 7 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openrouter/mcp",
"version": "1.1.5",
"version": "1.1.6",
"engines": {
"node": ">=20"
},
Expand Down
Loading