Skip to content

chore(deps): bump @ai-sdk/gateway to 3.0.191 - #48710

Merged
rekram1-node merged 2 commits into
anomalyco:devfrom
R-Taneja:bump-gateway-sdk
Sep 13, 2026
Merged

rekram1-node merged 2 commits into
anomalyco:devfrom
R-Taneja:bump-gateway-sdk

Conversation

@R-Taneja

@R-Taneja R-Taneja commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #48761

Type of change

  • Bug fix

What does this PR do?

Routine dependency bump. @ai-sdk/gateway was pinned at 3.0.104 in packages/opencode and packages/core, which is 87 patch versions behind. This moves it to 3.0.191.

It also bumps @ai-sdk/provider (3.0.8 -> 3.0.16) and @ai-sdk/provider-utils (4.0.23 -> 4.0.51) to the exact versions 3.0.191 depends on, so each resolves to a single copy instead of a nested duplicate.

The notable thing this picks up is vercel/ai#19890, which marks response-body network errors as retryable. Before that fix, a dropped connection surfaced as GatewayResponseError: Invalid error response format: Gateway request failed while preserving a 200 status. That message matches none of the entries in RETRYABLE_MESSAGE_PATTERNS in session/retry.ts (which does already list socket connection was closed), and the 200 means the status >= 500 check does not catch it either, so the session fails instead of retrying.

All bumps are same-major and required no code changes.

I left bun.lock out because regenerating it locally produced unrelated churn. CI runs a plain bun install, so it will pick up the new pins.

How did you verify your code works?

  • bun install resolves cleanly, and both workspace packages resolve to @ai-sdk/gateway 3.0.191
  • bun typecheck passes in packages/core and packages/opencode

Note the lockfile still carries a nested @ai-sdk/gateway@3.0.104 under ai@6.0.168, which is that package's own transitive dependency and a separate code path from the provider created in provider.ts.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@rekram1-node
rekram1-node merged commit 199a4cd into anomalyco:dev Sep 13, 2026
9 checks passed
rossigee pushed a commit to rossigee/opencode that referenced this pull request Sep 18, 2026
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
1056674754 added a commit to 1056674754/opencode that referenced this pull request Sep 19, 2026
Upstream v1.18.30 (3104c14, merged at 16220da) -> v1.18.31 (014614d),
25 commits / 108 files. Staged delta vs pre-merge fork HEAD is identical to
the upstream tag-to-tag diff (108 files, +3425/-2146), confirming a clean
adoption.

Functional changes:
- fix(acp): restore session options and reasoning boundaries (anomalyco#48225) —
  acp/service.ts +193 lines; isolated from the fork snapshot architecture.
- fix(opencode): request summarized adaptive thinking (anomalyco#48269) — 1 line in
  github-copilot/models.ts.
- fix(tui): surface remote auth startup errors (anomalyco#49016).
- fix(ui): Merge Gateway logo (anomalyco#42015).
- chore(deps): bump @ai-sdk/gateway to 3.0.191 (anomalyco#48710) and llm package
  (11 packages installed via bun install).
- console/stats/go: route migrated Go inference, batch workspace block
  endpoints, Go billing source forwarding, DeepSeek V4.1 Flash (model +
  stats normalization + promo docs), retention sync timeout fix, GLM-5.3
  allowance docs.

Conflicts resolved: 29 package.json version bumps (rebranded 1.18.31-sscity),
bun.lock (took upstream, rebranded workspace entries via bun install). Zero
source conflicts; fork-sensitive files (transform.ts, provider.ts,
config.ts) untouched upstream in this range. Fork deltas verified intact vs
v1.18.31: ProviderSnapshot architecture (+492 in provider.ts), GLM
normalization (+77 in transform.ts), config getFresh/commitFresh (+14).
Tests: provider, transform, bedrock, config, v2, azure plugin, session
retry/llm — 1058 pass / 0 fail across 15 files; typecheck clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
rldona pushed a commit to rldona/FlupCode that referenced this pull request Sep 24, 2026
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sessions die on transient socket closes because @ai-sdk/gateway is pinned 87 versions behind the retryability fix

2 participants