Skip to content

chore: update ai-sdk family and zod - #140

Merged
ThomasK33 merged 2 commits into
mainfrom
deps-batch-aug29
Aug 29, 2026
Merged

chore: update ai-sdk family and zod#140
ThomasK33 merged 2 commits into
mainfrom
deps-batch-aug29

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

Routine anti-rot batch update (minor/patch only): the Vercel AI SDK family and zod. No source changes required; all range styles preserved.

Bumps

Package Where Change
ai agent + provider devDeps, release-please-ai deps ^7.0.83^7.0.84
@ai-sdk/anthropic provider + release-please-ai deps ^4.0.44^4.0.45
@ai-sdk/openai-compatible provider deps ^3.0.39^3.0.40
@ai-sdk/provider-utils sandbox devDeps ^5.0.32^5.0.33
@ai-sdk/react agent devDeps (exact pin) 4.0.864.0.87
@ai-sdk/harness sandbox devDeps ^1.0.92^1.0.93
@ai-sdk/harness-claude-code sandbox devDeps ^1.0.96^1.0.97
@ai-sdk/tui sandbox devDeps ^1.0.84^1.0.85
zod agent/provider/sandbox devDeps, release-please-ai deps, workspace override (exact pin) 4.4.34.5.1

Not touched: typescript (#99 deferred), tsup (8.5.1), @ai-sdk/provider (4.0.8, not in this batch).

zod peer-range decision

Published peerDependencies are a user-facing contract and were not narrowed:

  • @coder/ai-sdk-agent: zod: ^3.23.0 || ^4.0.0 — already includes 4.5.x, unchanged.
  • @coder/ai-sdk-provider: zod: ^3.25.76 || ^4.1.8 — already includes 4.5.x, unchanged.
  • ai ^7.0.0, @ai-sdk/harness ^1.0.0, @ai-sdk/provider-utils ^5.0.0 peers — unchanged.

The workspace-wide overrides: zod exact pin in pnpm-workspace.yaml (which exists to keep a single zod copy across the monorepo, avoiding duplicated @ai-sdk/provider-utils type identity) moves 4.4.34.5.1 — that pin is what actually selects the installed version.

zod 4.5 changelog review

Zod 4.5 is additive (z.compile(), z.creditCard(), z.validate(), 9x schema-memory reduction) plus soundness fixes that tighten behavior: z.iso.datetime() now requires seconds, string .min()/.max()/.length() count Unicode code points (was UTF-16 code units), record-key/intersection semantics align with TypeScript, __proto__ is always stripped, and stricter z.ipv6()/z.ulid()/z.httpUrl() formats. None of these apply here: our zod usage across all packages is limited to z.object/z.string/z.number/z.enum/z.array with no length checks, records, intersections, or string formats. Full test suite passes on 4.5.1.

Validation

  • pnpm install ✅ (lockfile refreshed; single zod 4.5.1 across the workspace)
  • pnpm check ✅ (oxfmt + oxlint + typecheck)
  • pnpm -r build
  • pnpm -r test ✅ — 552 tests (agent 326, sandbox 191, provider 22, release-please-ai 13)
  • pnpm publint ✅, pnpm attw
  • Live e2e vs dev.coder.com: 7/7 passed (packages/agent test/e2e, temp token created and expired after the run)

Generated with mux • Model: anthropic:claude-fable-5 • Thinking: xhigh

Batch anti-rot bump: ai 7.0.84, @ai-sdk/anthropic 4.0.45,
@ai-sdk/openai-compatible 3.0.40, @ai-sdk/provider-utils 5.0.33,
@ai-sdk/react 4.0.87, @ai-sdk/harness 1.0.93,
@ai-sdk/harness-claude-code 1.0.97, @ai-sdk/tui 1.0.85,
zod 4.4.3 -> 4.5.1 (incl. the workspace-wide zod override pin).
Published peerDependency ranges untouched.

Change-Id: I81fd647fbbef24537a47990f5044db493c490cee
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-29T19:43:54.012763Z 498338b Manual request
🔒 Security Review Completed 2026-08-29T19:46:13.461705Z 498338b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ab530de145

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pnpm-lock.yaml
@chatgpt-codex-connector

Copy link
Copy Markdown

Security review completed. No security issues were found in this pull request.

Reviewed commit: ab530de145

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Change-Id: Icbe05e8aeb3bea98b942a7ddce498bd1056947c6
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 498338b1b3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

Security review completed. No security issues were found in this pull request.

Reviewed commit: 498338b1b3

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ThomasK33
ThomasK33 added this pull request to the merge queue Aug 29, 2026
Merged via the queue into main with commit 3b29eaa Aug 29, 2026
6 checks passed
@ThomasK33
ThomasK33 deleted the deps-batch-aug29 branch August 29, 2026 19:49
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.

1 participant