Skip to content

Fix dependency update typecheck fallout#1815

Merged
threepointone merged 8 commits into
mainfrom
fix/dependency-typecheck-cleanup
Jun 25, 2026
Merged

Fix dependency update typecheck fallout#1815
threepointone merged 8 commits into
mainfrom
fix/dependency-typecheck-cleanup

Conversation

@threepointone

@threepointone threepointone commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin problematic dependency updates and clean minimumReleaseAgeExclude so install/typecheck is stable.
  • Update affected fixtures for upstream API/type changes in TanStack AI, pi-ai, Hono, React Router, and worker-bundler WASM typing.
  • Move just-bash to an optional agents peer dependency with a patch changeset.

Test plan

  • pnpm run check

Made with Cursor


Open in Devin Review

threepointone and others added 4 commits June 25, 2026 16:17
Pin broken dependency releases and update affected fixtures/config so the repo typecheck passes after the dependency refresh.

Co-authored-by: Cursor <cursoragent@cursor.com>
Cast AI SDK fullStream responses to the async-iterable text source accepted by the voice runtime after rebasing onto main.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rely on the widened @cloudflare/voice TextSource declaration so examples can return AI SDK fullStream values directly.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move just-bash out of agents runtime dependencies while keeping it available for repo builds and documenting the package change with a changeset.

Co-authored-by: Cursor <cursoragent@cursor.com>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 2 potential issues.

Open in Devin Review

Comment thread packages/agents/package.json
Comment thread nx.json
Replace in-repo ai-chat re-exports with runtime errors that direct users to @cloudflare/ai-chat (ai-chat-agent.ts and ai-chat-v5-migration.ts). Remove @cloudflare/ai-chat peerDependency/optional entries from packages/agents/package.json. Update pnpm-lock.yaml to reflect dependency removals and several package version bumps/cleanups (vite, shiki, workerd, miniflare, napi, nanoid, undici-types, etc.). This enforces explicit migration to @cloudflare/ai-chat and keeps the lockfile consistent with the package changes.
@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 236e5bf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Update examples to import useAgentChat from @cloudflare/ai-chat/react. Replace deprecated re-exports in packages/agents (ai-react.tsx, ai-types.ts) with explicit runtime errors that direct users to the new @cloudflare/ai-chat packages. This makes the deprecation explicit and ensures consumers migrate to the new package paths.
@pkg-pr-new

pkg-pr-new Bot commented Jun 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@1815

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@1815

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@1815

create-think

npm i https://pkg.pr.new/create-think@1815

hono-agents

npm i https://pkg.pr.new/hono-agents@1815

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@1815

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@1815

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@1815

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@1815

commit: 236e5bf

@threepointone threepointone merged commit b20d6f6 into main Jun 25, 2026
7 checks passed
@threepointone threepointone deleted the fix/dependency-typecheck-cleanup branch June 25, 2026 17:13
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