Skip to content

Commit 5e3c227

Browse files
authored
merge: release v1.5.0 (#48)
## Summary Release v1.5.0 — major feature additions, bug fixes, documentation overhaul, and developer tooling improvements. ### New Features - **Embeddings API** — `POST /v1/embeddings`, `onEmbedding()`, `inputText` match field, deterministic fallback embeddings - **Structured output / JSON mode** — `responseFormat` match field, `onJsonOutput()` convenience method - **Sequential responses** — `sequenceIndex` for stateful multi-turn fixtures, `resetMatchCounts()` - **Streaming physics** — `StreamingProfile` with `ttft`, `tps`, `jitter` for realistic timing - **AWS Bedrock** — `POST /model/{modelId}/invoke` with Anthropic Messages format translation - **Azure OpenAI** — provider routing for completions and embeddings - **Health & models endpoints** — `GET /health`, `GET /ready`, `GET /v1/models` - **Docker & Helm** — Dockerfile and Helm chart for Kubernetes deployment - **Documentation website** — full docs site at llmock.com - **Automated drift remediation** — CI-driven drift detection and fix pipeline - **`FixtureOpts` / `EmbeddingFixtureOpts`** type aliases exported for external consumers ### Bug Fixes - Fix Gemini Live handler crash on malformed `clientContent.turns` and `toolResponse.functionResponses` - Add `isClosed` guard before WebSocket finalization events - Default to non-streaming for Claude Messages and Responses API (matching real API defaults) - Fix `streamingProfile` missing from convenience method opts types - Fix skills/ symlink direction so npm pack includes the write-fixtures skill - Fix watcher cleanup on error, empty-reload guard ### Documentation & Tooling - README rewritten as concise overview with links to docs site - Write-fixtures skill updated for all v1.5.0 features - Docs site: Get Started→docs, comparison above reliability, npm version badge - ESLint config: add `.worktrees/` to ignores, remove dead CSS ## Test plan - [x] 813 unit tests pass - [x] Build succeeds - [x] Prettier formatting clean - [x] ESLint clean - [x] npm pack includes correct files (skills/, .claude-plugin/, dist/, fixtures/) - [x] 4 rounds of 7-agent code review — zero actionable findings on final round 🤖 Generated with [Claude Code](https://claude.com/claude-code)
2 parents e27be90 + 4d831e1 commit 5e3c227

12 files changed

Lines changed: 644 additions & 1113 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"source": {
1010
"source": "npm",
1111
"package": "@copilotkit/llmock",
12-
"version": "^1.3.1"
12+
"version": "^1.5.0"
1313
},
14-
"description": "Fixture authoring skill for @copilotkit/llmock — match fields, response types, agent loop patterns, gotchas, and debugging"
14+
"description": "Fixture authoring skill for @copilotkit/llmock — match fields, response types, embeddings, structured output, sequential responses, streaming physics, agent loop patterns, gotchas, and debugging"
1515
}
1616
]
1717
}

.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": "llmock",
3-
"version": "1.3.1",
3+
"version": "1.5.0",
44
"description": "Fixture authoring guidance for @copilotkit/llmock",
55
"author": {
66
"name": "CopilotKit"

.claude/commands/write-fixtures.md

Lines changed: 0 additions & 238 deletions
This file was deleted.

.claude/commands/write-fixtures.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../skills/write-fixtures/SKILL.md

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @copilotkit/llmock
22

3+
## 1.5.0
4+
5+
### Minor Changes
6+
7+
- Embeddings API: `POST /v1/embeddings` endpoint, `onEmbedding()` convenience method, `inputText` match field, `EmbeddingResponse` type, deterministic fallback embeddings from input hash, Azure embedding routing
8+
- Structured output / JSON mode: `responseFormat` match field, `onJsonOutput()` convenience method
9+
- Sequential responses: `sequenceIndex` match field for stateful multi-turn fixtures, per-fixture-group match counting, `resetMatchCounts()` method
10+
- Streaming physics: `StreamingProfile` type with `ttft`, `tps`, `jitter` fields for realistic timing simulation
11+
- AWS Bedrock: `POST /model/{modelId}/invoke` endpoint, Anthropic Messages format translation
12+
- Azure OpenAI: provider routing for `/openai/deployments/{id}/chat/completions` and `/openai/deployments/{id}/embeddings`
13+
- Health & models endpoints: `GET /health`, `GET /ready`, `GET /v1/models` (auto-populated from fixtures)
14+
- Docker & Helm: Dockerfile, Helm chart for Kubernetes deployment
15+
- Documentation website: full docs site at llmock.com with feature pages and competitive comparison matrix
16+
- Automated drift remediation: `scripts/drift-report-collector.ts` and `scripts/fix-drift.ts` for CI-driven drift fixes
17+
- CI automation: competitive matrix update workflow, drift fix workflow
18+
- `FixtureOpts` and `EmbeddingFixtureOpts` type aliases exported for external consumers
19+
20+
### Patch Changes
21+
22+
- Fix Gemini Live handler crash on malformed `clientContent.turns` and `toolResponse.functionResponses`
23+
- Add `isClosed` guard before WebSocket finalization events (prevents writes to closed connections)
24+
- Default to non-streaming for Claude Messages API and Responses API (matching real API defaults)
25+
- Fix `streamingProfile` missing from convenience method opts types (`on`, `onMessage`, etc.)
26+
- Fix skills/ symlink direction so npm pack includes the write-fixtures skill
27+
- Fix `.claude` removed from package.json files (was dead weight — symlink doesn't ship)
28+
- Add `.worktrees/` to eslint ignores
29+
- Remove dead `@keyframes sseLine` CSS from docs site
30+
- Fix watcher cleanup on error (clear debounce timer, null guard)
31+
- Fix empty-reload guard (keep previous fixtures when reload produces 0)
32+
- README rewritten as concise overview with links to docs site
33+
- Write-fixtures skill updated for all v1.5.0 features
34+
- Docs site: Get Started links to docs, comparison above reliability, npm version badge
35+
336
## 1.4.0
437

538
### Minor Changes

0 commit comments

Comments
 (0)