Skip to content

chore(ai): migrate provider SDKs to latest stable versions - #273

Merged
Pepps233 merged 7 commits into
chore/deps-stable-minorfrom
chore/deps-provider-sdks
Oct 25, 2026
Merged

Pepps233 merged 7 commits into
chore/deps-stable-minorfrom
chore/deps-provider-sdks

Conversation

@Pepps233

@Pepps233 Pepps233 commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Migrate Anthropic, Google GenAI, Mistral, and OpenAI to their latest stable SDKs.

Reasoning

Adopt current SDK APIs without introducing automatic Google continuation requests or breaking browser bundles. Keep authentication paths unchanged; Google does not use GitHub credentials.

Changes

  • Pin Anthropic 1.3.0, Google GenAI 2.31.0, Mistral 3.2.0, and OpenAI 7.43.0; synchronize the standalone Anthropic example and all distribution locks.
  • Disable automatic continuation in Gemini and Vertex; preserve length/error finishes even when output contains tool calls.
  • Adopt Anthropic API 2026-10-21 sampling removal and context-window stop reason, and native OpenAI cache-option types.
  • Use scoped Mistral Chat/HTTPClient imports to avoid eagerly loading Node-only voice components in browser bundles.
  • Review Google's unchanged no-op preinstall and update version-specific allowlists; all installs skipped lifecycle scripts.
  • Replace a hoisting-dependent Cloudflare SDK mock with an in-memory SSE fetch stub and document migration behavior.

Testing

  • npm run check passed, including browser smoke.
  • ./test.sh passed with credentials isolated.
  • Modified provider regressions and Cloudflare offline tests passed directly.
  • Distribution lock regression tests passed.
  • Clean external-only distribution-lock install in a temporary directory passed.
  • Standalone Anthropic example lock audit: zero vulnerabilities. Existing Zod findings remain in the repository dependency chain; no billable provider calls were made.

@Pepps233 Pepps233 added the dependencies Pull requests that update a dependency file label Oct 25, 2026
@Pepps233 Pepps233 self-assigned this Oct 25, 2026
@Pepps233
Pepps233 added this pull request to stack #277 October 25, 2026 18:55
Pepps233 and others added 4 commits October 25, 2026 15:01
…#272)

* chore(packaging): resolve workspace-local distribution dependencies

* chore(deps): update compatible stable dependencies and security fixes

* chore(ci): run standard checks for stacked pull requests

* chore(ci): keep distribution test fixtures out of generated code

* chore(ci): make lifecycle registry fault checks connection-safe
@Pepps233
Pepps233 merged commit dd72607 into main Oct 25, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant