chore: 🐝 Update SDK - Generate 0.13.13#496
Conversation
ff65f6a to
a2017c7
Compare
100ebe1 to
f15b129
Compare
* `openrouter.videoGeneration.generate()`: * `request.videoGenerationRequest.inputReferences[].union(image_url).type` **Changed** (Breaking⚠️ ) * `openrouter.embeddings.generate()`: `response.usage` **Changed** * `openrouter.models.list()`: `response.data[].reasoning` **Added** * `openrouter.images.listModelEndpoints()`: **Added** * `openrouter.datasets.getBenchmarksArtificialAnalysis()`: **Removed** (Breaking⚠️ ) * `openrouter.datasets.getBenchmarksDesignArena()`: **Removed** (Breaking⚠️ ) * `openrouter.beta.responses.send()`: * `request.responsesRequest` **Changed** * `response` **Changed** * `openrouter.images.listModels()`: **Added** * `openrouter.embeddings.listModels()`: `response.data[].reasoning` **Added** * `openrouter.chat.send()`: * `request.chatRequest` **Changed** * `response` **Changed** * `openrouter.models.get()`: `response.data.reasoning` **Added** * `openrouter.benchmarks.getBenchmarks()`: **Added** * `openrouter.models.listForUser()`: `response.data[].reasoning` **Added** * `openrouter.presets.createPresetsChatCompletions()`: * `request.chatRequest` **Changed** * `openrouter.presets.createPresetsResponses()`: * `request.responsesRequest` **Changed** * `openrouter.images.generate()`: **Added**
e21e2d2 to
7774b8b
Compare
There was a problem hiding this comment.
Perry's Review
Speakeasy SDK regen to 0.13.13 — automated bump from the generation pipeline.
Verdict: 💬 Comments / questions
Details
Risk: 🟡 Medium
CI: all passing ✅
Scope: incremental — since my last reviewed SHA (e21e2d2) the only changes are metadata: gen.lock bookkeeping (generation_id + pristine/tracked hashes), a RELEASES.md timestamp, a two-key reorder of npm scripts in package.json, and an empty trigger commit. The generated SDK source is byte-identical to what I already reviewed, so I am not re-raising net-new nits on it.
Standing finding (unchanged, still open): this regen still ships as a patch (0.13.13) even though it removes public API (datasets.getBenchmarksArtificialAnalysis / datasets.getBenchmarksDesignArena plus the BenchmarksAA*/BenchmarksDA* exported types) and narrows videoGeneration inputReferences to require type image_url — both flagged Breaking in the generated changelog. A consumer caret-pinned at ^0.13.12 (the npm default) resolves to >=0.13.12 <0.14.0, so it silently receives these breaking changes on npm ci with no opt-in. The fix is unchanged: bump to a minor (0.14.0). My existing review thread on the version surface carries the full rationale and the agent prompt — left open, not duplicated here.
Why this keeps recurring: per Speakeasy's versioning docs, the generator does not analyze OpenAPI operation removals — it versions off info.version (constant here) plus a document checksum, so a removal only triggers a patch bump. For a pre-v1 SDK a breaking change should be auto-downgraded to a minor, not patch. Force it at the source (SPEAKEASY_BUMP_OVERRIDE=minor) and regenerate rather than hand-editing the generated version surfaces.
Codex (heavy second opinion): no additional findings.
Lanes (security / correctness / test-coverage / blast-radius): no substantiated findings — candidates cited gen.lock line offsets misattributed to short source files; discarded on verification.
Research: Speakeasy SDK versioning docs — confirmed the patch-bump-on-removal behavior and the pre-v1 minor-downgrade rule.
Security: no concerns — metadata-only delta, no source or credential changes.
Test coverage: n/a for this delta (no source changes since last reviewed SHA).
Unresolved threads: 1 — my standing breaking-change-as-patch thread (re-affirmed above, not re-posted).
Scope: incremental — 8 changed metadata lines since prior review (SDK source byte-identical to e21e2d2)
Review: tier=large · model=claude-opus-latest · score=127.0
SDK update
Versioning
Version Bump Type: [patch] - 🤖 (automated)
Tip
If updates to your OpenAPI document introduce breaking changes, be sure to update the
info.versionfield to trigger the correct version bump.Speakeasy supports manual control of SDK versioning through multiple methods.
Typescript SDK Changes:
openrouter.videoGeneration.generate():request.videoGenerationRequest.inputReferences[].union(image_url).typeChanged (Breakingopenrouter.embeddings.generate():response.usageChangedopenrouter.models.list():response.data[].reasoningAddedopenrouter.images.listModelEndpoints(): Addedopenrouter.datasets.getBenchmarksArtificialAnalysis(): Removed (Breakingopenrouter.datasets.getBenchmarksDesignArena(): Removed (Breakingopenrouter.beta.responses.send():request.responsesRequestChangedresponseChangedopenrouter.images.listModels(): Addedopenrouter.embeddings.listModels():response.data[].reasoningAddedopenrouter.chat.send():request.chatRequestChangedresponseChangedopenrouter.models.get():response.data.reasoningAddedopenrouter.benchmarks.getBenchmarks(): Addedopenrouter.models.listForUser():response.data[].reasoningAddedopenrouter.presets.createPresetsChatCompletions():request.chatRequestChangedopenrouter.presets.createPresetsResponses():request.responsesRequestChangedopenrouter.images.generate(): AddedView full SDK changelog
OpenAPI Change Summary
View full report
Linting Report
0 errors, 1 warnings, 0 hintsView full report
TYPESCRIPT CHANGELOG
No relevant generator changes
Based on Speakeasy CLI 1.763.2
Last updated by Speakeasy workflow