Skip to content

Commit 903acf9

Browse files
committed
chore: release v1.15.1
1 parent b810eff commit 903acf9

2 files changed

Lines changed: 27 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,33 @@
11
# @copilotkit/aimock
22

3-
## 1.15.0
3+
## 1.15.1
44

5-
### Added
5+
### Fixed
66

7-
- Chaos injection in proxy mode: drop and disconnect fire pre-flight (upstream is never
8-
contacted), malformed proxies the request then corrupts the response body before
9-
delivering it to the client.
10-
- SSE streaming bypass: when upstream responds with `text/event-stream`, malformed chaos
11-
is silently skipped (bytes are already on the wire). A bypass metric
12-
(`aimock_chaos_bypassed_total`) is emitted so operators can see the configured action
13-
did not fire; the normal `aimock_chaos_triggered_total` counter does not increment.
14-
- Chaos source label (`fixture` vs `proxy`) on Prometheus metrics and journal entries,
15-
distinguishing where the chaos decision was made.
16-
- CORS `Access-Control-Allow-Headers` now includes `X-Aimock-Chaos-Drop`,
17-
`X-Aimock-Chaos-Malformed`, `X-Aimock-Chaos-Disconnect`, and `X-Test-Id`, enabling
18-
browser-based clients to send per-request chaos overrides via preflight-safe headers.
19-
- `handleVideoStatus` (`GET /v1/videos/:id`) now evaluates chaos before returning video
20-
state, consistent with all other handler endpoints.
7+
- **Recorder**: crash hardening (headersSent guards, clientDisconnected tracking),
8+
preserve content alongside toolCalls, Cohere v2 native detection, tool-call ID
9+
extraction from 5 providers, reasoning/thinking extraction from 4 providers,
10+
multi-block text join (filter+join instead of find), thinking-only and empty-content
11+
response handling, Ollama /api/generate format detection, streaming collapse
12+
reasoning propagation.
13+
- **Bedrock/Converse**: ContentWithToolCallsResponse support, ResponseOverrides wired
14+
into all non-streaming and streaming builders, Converse-wrapped stream event format,
15+
text_delta type field on text deltas, proper error envelope on Converse errors,
16+
webSearches warnings.
17+
- **Cohere v2**: reasoning in all builders + streaming, webSearches warnings,
18+
response_format forwarding, assistant tool_calls preservation, full
19+
ResponseOverrides (finish_reason, usage, id) in non-streaming and streaming paths.
20+
- **Server**: readBody 10MB size limit, control API error detail, one-shot error fixture
21+
race fix, normalizeCompatPath clarity, fixtures_loaded gauge updates on mutations.
22+
- **Competitive matrix**: HTML pipeline fixed (computeChanges, applyChanges,
23+
updateProviderCounts, extractFeatures all aligned with actual DOM structure).
24+
- **CI workflows**: --auto merge (respects branch protection), Slack secrets via env
25+
vars, script injection prevention in notify-pr.yml, portable grep.
26+
- **Router**: RegExp g-flag lastIndex reset prevents alternating match/no-match.
27+
- **Jest/Vitest**: save/restore pre-existing env vars in afterAll, loadFixtures
28+
console.warn on failure.
29+
- **Gemini**: tool_call_id collision fix (shared callCounter), thought-part filtering.
30+
- **Ollama**: ContentWithToolCallsResponse support, default stream:true, field validation.
2131

2232
## 1.14.9
2333

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.15.0",
3+
"version": "1.15.1",
44
"description": "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.",
55
"license": "MIT",
66
"keywords": [

0 commit comments

Comments
 (0)