You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All 29 packages bumped as specified (see full list in package.json)
All @tiptap/* overrides updated in sync: 3.20.2 → 3.27.0
Added explicit @ai-sdk/react: "^3.0.0" — peer dep of @cloudflare/ai-chat that was previously hoisted implicitly from the lockfile; --legacy-peer-deps stopped auto-installing it, breaking the build
Code fix required
@cloudflare/workers-types 4.20260617.1 now includes @cf/meta/llama-3.1-8b-instruct-fast in its generated model union, making the suppression directive in workers/lib/ai.ts a hard TS2578 error — removed it:
// beforeconstresponse=(awaitai.run(// @ts-expect-error — model string not in generated union"@cf/meta/llama-3.1-8b-instruct-fast",// afterconstresponse=(awaitai.run("@cf/meta/llama-3.1-8b-instruct-fast",
No packages were dropped.
Original prompt
chore(deps): dependency update 2026-06-17
Update the following external dependencies to the specified latest versions in this repo.
These are patch/minor, non-breaking bumps surfaced by the nightly dependency scan.
@copilot this dependency PR also modifies application source (workers/lib/ai.ts), not just the manifest/lockfile — so it falls outside the auto-merge policy (deps + lockfile only). Please explain in the PR description why workers/lib/ai.ts had to change (e.g. a breaking API in one of the bumped packages). If it's an unavoidable adaptation, isolate it and call it out so a human can review; if it's incidental, revert it and keep the diff deps-only. Also: mergeability is currently UNKNOWN — please ensure the branch is up to date.
@copilot this dependency PR also modifies application source (workers/lib/ai.ts), not just the manifest/lockfile — so it falls outside the auto-merge policy (deps + lockfile only). Please explain ...
The change to workers/lib/ai.ts is an unavoidable adaptation caused by the @cloudflare/workers-types bump (4.20251128.0 → 4.20260617.1). The updated types now include @cf/meta/llama-3.1-8b-instruct-fast in the generated AI model union, which makes the @ts-expect-error directive a hard TS2578 ("unused '@ts-expect-error' directive") error — npm run typecheck fails with exit code 2 if the directive is kept. The one-line removal is the minimum required to adapt to the new types; no logic was changed.
Branch is now up to date with main (merge commit e8c0688), and typecheck + build both pass on the merged state.
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
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.
Nightly dependency scan bump: 29 packages updated to latest patch/minor versions.
Dependency changes
package.json)@tiptap/*overrides updated in sync:3.20.2→3.27.0@ai-sdk/react: "^3.0.0"— peer dep of@cloudflare/ai-chatthat was previously hoisted implicitly from the lockfile;--legacy-peer-depsstopped auto-installing it, breaking the buildCode fix required
@cloudflare/workers-types 4.20260617.1now includes@cf/meta/llama-3.1-8b-instruct-fastin its generated model union, making the suppression directive inworkers/lib/ai.tsa hard TS2578 error — removed it:No packages were dropped.
Original prompt