Skip to content

Commit c90342c

Browse files
authored
chore: release v1.45.1 (#530)
Patch release npm/plugin **1.45.1** from `main` at a23779e (#529 merged). aimock-pytest stays at 0.7.0 (its `pyproject.toml` version is unchanged); only its default aimock pin moves to 1.45.1. > **Prepared, not merged.** `publish-release.yml` runs on every push to `main`. Merging this PR publishes npm `@copilotkit/aimock@1.45.1`, the `v1.45.1` tag, the `v1` major-tag move, the GitHub Release, the Docker images and the Slack announcement. Merge only when the release is authorized. ## What's in 1.45.1 ### Changed - **OpenRouter Video: `openai/sora-2` returns the real removal rejection** ([#520](#520)). OpenRouter removed the model; a live submit returns `400 {"error":{"message":"Model openai/sora-2 does not exist","code":400}}`. `POST /api/v1/videos` with `model: "openai/sora-2"` now returns that 400 even when a fixture matches, and never reaches a record-mode upstream. The default `GET /api/v1/videos/models` listing no longer includes `openai/sora-2`, and a fixture for it no longer adds it. Move fixtures to a model OpenRouter still serves (for example `bytedance/seedance-2.0`). The daily drift check now confirms the model stays absent. ### Fixed - **MCP `tools/list` gives every registered tool an `inputSchema`** ([#529](#529)). A tool registered with `addTool()` without an `inputSchema`, or only via `onToolCall()`, was listed with no `inputSchema`, and the official MCP SDK client rejected the whole `tools/list` response. These tools are now listed with `inputSchema: { "type": "object" }`, as fake-only tools already were. Tools registered with an `inputSchema` are unchanged. - **MCP `tools/list` adds `"type": "object"` to a typeless registered schema** ([#529](#529)). A schema such as `{}` or `{ "properties": { ... } }` was listed as is, and the SDK client rejected it (`inputSchema.type: expected "object"`). It is now listed with `"type": "object"` added and its other keys kept. A schema with an explicit `type` is unchanged. Everything else merged since v1.45.0 is test-only. ## Versions | Surface | Before | After | |---|---|---| | `package.json` `version` | 1.45.0 | 1.45.1 | | `.claude-plugin/plugin.json` `version` | 1.45.0 | 1.45.1 | | `.claude-plugin/marketplace.json` `plugins[0].source.version` | ^1.45.0 | ^1.45.1 | | `charts/aimock/Chart.yaml` `appVersion` (chart `version` stays 0.1.0) | 1.45.0 | 1.45.1 | | `docs/index.html` CLI banner | aimock v1.45.0 | aimock v1.45.1 | | `packages/aimock-pytest/src/aimock_pytest/_version.py` `AIMOCK_VERSION` | 1.45.0 | 1.45.1 | | `packages/aimock-pytest/README.md` `--aimock-version` default | 1.45.0 | 1.45.1 | Left at 1.45.0 on purpose: CHANGELOG history, and "requires 1.45.0 or later" minimum-version notes in `README.md`, `docs/*`, `packages/aimock-pytest/README.md` and `skills/write-fixtures/SKILL.md`, plus the illustrative `aimockVersion` in the `docs/mcp-mock` recorded-file example. `pnpm-lock.yaml` does not carry the root version. `CHANGELOG.md`: `[Unreleased]` became `[1.45.1] - 2026-10-11` with an empty `[Unreleased]` kept above it, as in prior releases. ## Local gates - `pnpm install --frozen-lockfile`: pass - `pnpm format:check`: pass - `pnpm lint`: pass - `pnpm typecheck`: pass - `pnpm build`: pass - `vitest run` on `npm-publish-verify-workflow`, `unreleased-check-workflow`, `drift-scripts`, `openrouter-video-record`: 4 files, 165 tests pass
2 parents a23779e + dec77ed commit c90342c

8 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎.claude-plugin/marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": {
1010
"source": "npm",
1111
"package": "@copilotkit/aimock",
12-
"version": "^1.45.0"
12+
"version": "^1.45.1"
1313
},
1414
"description": "Fixture authoring skill for @copilotkit/aimock — LLM, multimedia (image/TTS/transcription/video), MCP, A2A, AG-UI, vector, embeddings, structured output, sequential responses, streaming physics, record/replay, agent loop patterns, and debugging"
1515
}

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aimock",
3-
"version": "1.45.0",
3+
"version": "1.45.1",
44
"description": "Fixture authoring guidance for @copilotkit/aimock — LLM, multimedia, MCP, A2A, AG-UI, vector, and service mocking",
55
"author": {
66
"name": "CopilotKit"

‎CHANGELOG.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
## [Unreleased]
44

5+
## [1.45.1] - 2026-10-11
6+
57
### Changed
68

7-
- **OpenRouter Video: `openai/sora-2` now returns the real removal rejection, not a job.** OpenRouter removed the model, and a live submit returns `400 {"error":{"message":"Model openai/sora-2 does not exist","code":400}}`. `POST /api/v1/videos` with `model: "openai/sora-2"` now returns that 400 even when a fixture matches, and never reaches a record-mode upstream. The default `GET /api/v1/videos/models` listing no longer includes `openai/sora-2`, and a fixture for it no longer adds it to the listing. Move fixtures to a model OpenRouter still serves (for example `bytedance/seedance-2.0`). The daily drift check now confirms the model stays absent instead of requiring it.
9+
- OpenRouter Video: `openai/sora-2` now returns OpenRouter's 400 removal error, not a job (#520)
810

911
### Fixed
1012

11-
- **MCP: `tools/list` now gives every registered tool an `inputSchema`.** A tool registered with `addTool()` without an `inputSchema`, or only with `onToolCall()`, was listed with no `inputSchema`, and the official MCP SDK client rejected the whole `tools/list` response. These tools are now listed with `inputSchema: { "type": "object" }`, as fake-only tools already were, so the `tools/list` response for them now includes that field. Tools registered with an `inputSchema` are listed unchanged (#529).
12-
- **MCP: `tools/list` now adds `"type": "object"` to a registered `inputSchema` that has no `type`.** A schema such as `{}` or `{ "properties": { ... } }` was listed as is, and the official MCP SDK client rejected the whole `tools/list` response (`inputSchema.type: expected "object"`). Such a schema is now listed with `"type": "object"` added and its other keys kept. A schema with an explicit `type` is listed unchanged (#529).
13+
- MCP `tools/list`: a tool registered without `inputSchema` now lists `{"type":"object"}` (#529)
14+
- MCP `tools/list`: a registered `inputSchema` with no `type` now gets `"type": "object"` (#529)
1315

1416
## [1.45.0] - 2026-10-10
1517

‎charts/aimock/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: aimock
33
description: Mock infrastructure for AI application testing (OpenAI, Anthropic, Gemini, MCP, A2A, vector)
44
type: application
55
version: 0.1.0
6-
appVersion: "1.45.0"
6+
appVersion: "1.45.1"

‎docs/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2923,7 +2923,7 @@ <h2 class="fade-in">
29232923
<div class="demo-body">
29242924
<pre><span class="t-green">$</span> npx @copilotkit/aimock --config aimock.json
29252925

2926-
<span class="t-blue">&#9889;</span> aimock v1.45.0
2926+
<span class="t-blue">&#9889;</span> aimock v1.45.1
29272927

29282928
<span class="t-green">&#10003;</span> LLM <span class="t-dim">mounted at</span> /v1/chat/completions
29292929
<span class="t-green">&#10003;</span> LLM <span class="t-dim">mounted at</span> /v1/messages

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@copilotkit/aimock",
3-
"version": "1.45.0",
3+
"version": "1.45.1",
44
"description": "Mock infrastructure for AI application testing — point your SDK at one local port and every provider, protocol, and service answers deterministically.",
55
"license": "MIT",
66
"keywords": [

‎packages/aimock-pytest/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ These need aimock 1.45.0 or later.
9595

9696
```
9797
--aimock-node PATH Path to node binary
98-
--aimock-version VER aimock npm version (default: 1.45.0)
98+
--aimock-version VER aimock npm version (default: 1.45.1)
9999
--aimock-api-key KEY Inbound API key for the aimock child process
100100
```
101101

‎packages/aimock-pytest/src/aimock_pytest/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
a wheel. Keep it tracking npm releases.
1212
"""
1313

14-
AIMOCK_VERSION = "1.45.0"
14+
AIMOCK_VERSION = "1.45.1"

0 commit comments

Comments
 (0)