Skip to content

Commit 8541b42

Browse files
AlemTuzlakjpr5
authored andcommitted
chore: release v1.12.0
1 parent ed4a463 commit 8541b42

5 files changed

Lines changed: 19 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @copilotkit/aimock
22

3+
## 1.12.0
4+
5+
### Minor Changes
6+
7+
- Multimedia endpoint support: image generation (OpenAI DALL-E + Gemini Imagen), text-to-speech, audio transcription, and video generation with async polling (#101)
8+
- `match.endpoint` field for fixture isolation — prevents cross-matching between chat, image, speech, transcription, video, and embedding fixtures (#101)
9+
- Bidirectional endpoint filtering — generic fixtures only match compatible endpoint types (#101)
10+
- Convenience methods: `onImage`, `onSpeech`, `onTranscription`, `onVideo` (#101)
11+
- Record & replay for all multimedia endpoints — proxy to real APIs, save fixtures with correct format/type detection (#101)
12+
- `_endpointType` explicit field on `ChatCompletionRequest` for type safety (#101)
13+
- Comparison matrix and drift detection rules updated for multimedia (#101)
14+
- 54 new tests (32 integration, 11 record/replay, 12 type/routing)
15+
316
## 1.11.0
417

518
### Minor Changes

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
https://github.com/user-attachments/assets/646bf106-0320-41f2-a9b1-5090454830f3
44

5-
Mock infrastructure for AI application testing — LLM APIs, MCP tools, A2A agents, AG-UI event streams, vector databases, search, rerank, and moderation. One package, one port, zero dependencies.
5+
Mock infrastructure for AI application testing — LLM APIs, image generation, text-to-speech, transcription, video generation, MCP tools, A2A agents, AG-UI event streams, vector databases, search, rerank, and moderation. One package, one port, zero dependencies.
66

77
## Quick Start
88

@@ -43,6 +43,7 @@ Run them all on one port with `npx aimock --config aimock.json`, or use the prog
4343

4444
- **[Record & Replay](https://aimock.copilotkit.dev/record-replay)** — Proxy real APIs, save as fixtures, replay deterministically forever
4545
- **[11 LLM Providers](https://aimock.copilotkit.dev/docs)** — OpenAI, Claude, Gemini, Bedrock, Azure, Vertex AI, Ollama, Cohere — full streaming support
46+
- **[Multimedia APIs](https://aimock.copilotkit.dev/images)** — Image generation (DALL-E, Imagen), text-to-speech, audio transcription, video generation
4647
- **[MCP / A2A / AG-UI / Vector](https://aimock.copilotkit.dev/mcp-mock)** — Mock every protocol your AI agents use
4748
- **[Chaos Testing](https://aimock.copilotkit.dev/chaos-testing)** — 500 errors, malformed JSON, mid-stream disconnects at any probability
4849
- **[Drift Detection](https://aimock.copilotkit.dev/drift-detection)** — Daily CI validation against real APIs

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.11.0"
6+
appVersion: "1.12.0"

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.11.0",
3+
"version": "1.12.0",
44
"description": "Mock infrastructure for AI application testing — LLM APIs, MCP tools, A2A agents, AG-UI event streams, vector databases, search, and more. Zero dependencies.",
55
"license": "MIT",
66
"repository": {

src/__tests__/multimedia-record.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ function createMockReqRes(
5555

5656
const res = {
5757
statusCode,
58-
writeHead(status: number, _hdrs?: Record<string, string>) {
58+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
59+
writeHead(status: number, hdrs?: Record<string, string>) {
5960
statusCode = status;
6061
res.statusCode = status;
6162
},

0 commit comments

Comments
 (0)