Repository navigation
Commit c90342c
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 pass8 files changed
Lines changed: 12 additions & 10 deletions
File tree
- .claude-plugin
- charts/aimock
- docs
- packages/aimock-pytest
- src/aimock_pytest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | | - | |
12 | | - | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2923 | 2923 | | |
2924 | 2924 | | |
2925 | 2925 | | |
2926 | | - | |
| 2926 | + | |
2927 | 2927 | | |
2928 | 2928 | | |
2929 | 2929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
0 commit comments