chore: bump Speakeasy CLI to 1.787.0 and regenerate SDK#549
Draft
christineschen wants to merge 1 commit into
Draft
chore: bump Speakeasy CLI to 1.787.0 and regenerate SDK#549christineschen wants to merge 1 commit into
christineschen wants to merge 1 commit into
Conversation
- speakeasyVersion 1.763.2 -> 1.787.0 in .speakeasy/workflow.yaml - Regenerated with pinned 1.787.0 binary - BREAKING (type surface): streaming method overloads now return the operation response union instead of per-overload narrowed types (e.g. chatSend stream:false previously returned models.ChatResult, now operations.SendChatCompletionRequestResponse) - Generator runtime updates: dlv/is-plain-object removed, JSON-schema emission flags, security-floor overrides for transitive deps - typecheck, lint, build, and all 186 unit tests pass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Bumps the pinned Speakeasy CLI
1.763.2→1.787.0(latest) and regenerates the SDK. Part of SUP-42. Draft pending review of one type-surface change (below).Why this repo matters
This repo's
.speakeasy/workflow.yamlpin is the source of truth for openrouter-web's CI:openapi-pr-comment.yamlandsdk-auto-regenerate-on-merge.yamlcurl this file to decide which Speakeasy CLI to install forspeakeasy lint/ SDK checks. Merging this makes monorepo lint run under 1.787.0.What changed
.speakeasy/workflow.yaml+ lockfiles:speakeasyVersion1.763.2 → 1.787.0chatSendwithstream: falsereturningmodels.ChatResult,stream: truereturningEventStream<models.ChatStreamChunk>) now all return the operation response union (e.g.operations.SendChatCompletionRequestResponse = ChatResult | EventStream<ChatStreamChunk>). Same runtime behavior, but consumers who relied on overload narrowing must now narrow the union themselves. This affectschatSend,betaResponsesSend, andimagesGenerate. This is the newer generator's intended output — flagging for a decision on whether to ship as-is (likely a minor/major version bump) or investigate a gen.yaml option to restore narrowing.datafield schemas:z.string().transform(...)→z.unknown()with a string guard (more lenient parse, non-breaking)dlv/is-plain-objectlib helpers removed in favor of inline codedlvpackage.jsongains generator-emitted security-floor overrides for transitive depsgenerator-suggest-discriminator+ 1generator-duplicate-component-schemashints (hints only — generation succeeds; deferred per SUP-42)Verification
npm run typecheck✅npm run lint✅ (0 warnings)npm run build✅npm run test✅ 186/186 unit tests passReviewer decision needed