chore: bump all dependencies (2026-05-12) + fix silently-broken Vercel docs fetch#43
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The Phase 4 AWK extraction in updating-deps was anchored on `# AI SDK UI` and `# AI_APICallError` boundaries that no longer exist — upstream `llms.txt` was restructured around guides (RAG / Slackbot / Multi-Modal / Postgres) and the UI reference content moved to per-page docs. AWK silently printed nothing, so the fetch had been a no-op for weeks; the file only survived because updating-deps-auto skips Phase 4 entirely under CCR network restrictions. Replace with a sitemap-filtered fetch of the `.md` variants Vercel/Fumadocs exposes at every doc page (response header `x-matched-path: /[variants]/llms.mdx/[type]/[...slug]` confirms this is the documented LLM-markdown route, not a hack). Add `useChat`-presence and minimum-bytes assertions so the next upstream restructure fails loud instead of silently rotting the doc. Refreshed `docs/vercel-ai-sdk-ui.txt` in the same commit: 99 KB → 271 KB, 28 source pages, now reflects the AI SDK 5/6 transport API (`sendMessage`, `DefaultChatTransport`, parts-based messages) instead of the pre-v5 `handleInputChange`/`handleSubmit`/`input` pattern that was hiding the deprecation from us. Mirrored the skill edit into `.agents/skills/updating-deps/SKILL.md` per the shared-skills convention. `updating-deps-auto` unchanged (Phase 4 still skipped under CCR network restrictions — the fix only matters for interactive runs). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
/updating-depsPhase 4 was a silent no-op for weeks — its AWK extraction was anchored on# AI SDK UI/# AI_APICallErrorsection headers that Vercel removed fromllms.txt. Replaced with a sitemap-filtered fetch of Fumadocs' documented.mdraw-markdown variant, plus loud sanity assertions.docs/vercel-ai-sdk-ui.txtrefreshed as part of the fix: 99 KB → 271 KB across 28 source pages, now reflects the AI SDK 5/6 transport API (sendMessage,DefaultChatTransport,parts-based messages) instead of the pre-v5handleInputChange/handleSubmit/inputpattern.Code Review
Verdict: Ship it. The skill fix was reviewed by the
code-reviewersubagent — no blockers, mirror parity confirmed, shell idioms correct (while IFS= read -r urlinstead of bash-onlyfor url in $urlsto stay portable across the zsh default on macOS,set -eo pipefail+mktemp/trapcleanup, fail-loud viacurl -fsSLplususeChat-presence and >100KB size assertions). Four calibration nits were considered (subshell isolation ofset -eo pipefail, tighter size floor, fail-fast intent comment, symptom note) and consciously deferred — none are correctness issues.Version Changes
Backend (direct)
Frontend (direct)
Skill Fix Detail
.claude/skills/updating-deps/SKILL.mdand its.agents/skills/updating-deps/SKILL.mdmirror — Phase 4 replaced.Why the old block was silently broken: the upstream
https://ai-sdk.dev/llms.txtwas restructured around guides (RAG / Slackbot / Multi-Modal / Postgres) in early 2026 and no longer carries# AI SDK UIor# AI_APICallErrorheaders. AWK printed nothing →>truncated the file. The autonomousupdating-deps-autoalways skips Phase 4 under CCR network restrictions, so the symptom only surfaced when the doc-vs-deps drift became obvious.Why the new block is forward-looking: discovers pages from
sitemap.xml(auto-includes new pages, auto-drops removed ones) and pulls each one's.mdraw-markdown variant. Response headerx-matched-path: /[variants]/llms.mdx/[type]/[...slug]confirms.mdis Fumadocs' documented LLM-markdown route, not a hack. Loud-failure assertions catch the realistic breakage cases: empty sitemap filter, missinguseChatin output, output unexpectedly small.updating-deps-autoleft unchanged — Phase 4 still skipped under CCR network restrictions, which is unrelated to this fix.New Patterns / APIs Worth Adopting (deferred)
useChat. The refreshedvercel-ai-sdk-ui.txtis now sharply different fromfrontend/components/chat.tsx's current usage. The library has moved touseChat({ transport: new DefaultChatTransport({ api: '/api/chat' }) })with explicitsendMessage/status/stop/regenerateplus aparts-based message model; the codebase still relies on the pre-v5handleInputChange/handleSubmit/input/contentsurface. Not applied here — Vercel shipsnpx @ai-sdk/codemod v6to handle the bulk migration, and this deserves its own PR with QA.pydantic-ai1.89 → 1.94 spans several minor releases; a focused changelog read is worth doing before relying on any new ordering / capability composition features inagents/capabilities/.Breaking Changes
uv run --directory backend pre-commit run --all-fileswas clean locally, but watch CI for any new strictness defaults the major release flipped on.Deprecation Warnings
useChatAPI infrontend/components/chat.tsxis now demonstrably out of step with upstream docs (covered above; migration deferred).Test Plan
docker compose up -dstarts cleanly under the bumped backend depsanalyze_sessiontool call →SessionVisualizationrenders →retrieve_tracks_from_brain_state→RetrievedTracksPanelrenders/updating-deps(sanity that the doc fetch matches what landed here)🤖 Generated with Claude Code