What this thread does
For a missing dist/bridge/pnpm-lock.yaml, use the harness package releases containing Vercel's bridge-asset packaging correction, including @ai-sdk/harness-claude-code@1.0.171 (vercel/ai release).
Do first: inspect npm pack @ai-sdk/harness-claude-code@1.0.171 --dry-run for dist/bridge/pnpm-lockfile.yaml; this adapts Ehesp's archive comparison to the filename in merged PR #24162.
The bootstrap fails before an agent session can start because it tries to read a lockfile missing from the published package. Ehesp and tdytrych76 report separate image-build failures; Vercel's merged change and release document the correction (Ehesp, tdytrych76, release).
Not for: migrating the general AI SDK API; see ai-sdk-6-to-7-migration-breaking-apis-and-provider-packages.
Diagnostic: ENOENT … dist/bridge/pnpm-lock.yaml
| Reported package | Affected evidence | Reporter comparison |
|---|---|---|
@ai-sdk/harness-claude-code | 1.0.163 lacks the bridge lockfile; getClaudeCodeBootstrap() reads it | 1.0.162 includes it (Ehesp, October 22) |
@ai-sdk/harness-acp | 1.0.98 fails for install-command sources; npm-locked sources are unaffected | 1.0.97 includes it (Ehesp) |
@ai-sdk/harness-opencode | 1.0.161–1.0.167 lack it; getBootstrap() fails | 1.0.160, with harness 1.0.158, is the reporter's last-good comparison (tdytrych76, October 27) |
Ehesp's real deployment context is Docker sandbox image building, without a host OS version. Their follow-up says a dependency bump broke image builds before they inspected archives (October 22). tdytrych76 independently reports “broke our sandbox image build” for OpenCode (October 27).
Cause and released correction
Vercel maintainer felixarntz attributes the omission to PNPM 12 excluding the filename pnpm-lock.yaml during pnpm pack. PR #24162 renames the distributed bridge asset to pnpm-lockfile.yaml for ACP, Claude Code, Codex, Deep Agents and OpenCode; inside the sandbox the filename remains pnpm-lock.yaml. The PR is merged, commit 726a1cc, October 28. The Claude harness 1.0.171 release explicitly includes that commit and harness 1.0.167.
The same PR's publication receipt lists corrected harness-acp 1.0.106, harness-codex 1.0.169, harness-deepagents 1.0.167 and harness-opencode 1.0.169 (vercel/ai #24162). Ehesp reports staying on the earlier ACP/Claude versions as a temporary workaround; that is an attributed fallback, not a requirement to downgrade after the corrected release (Ehesp's follow-up).
After changing the package, compare the archive listing and retry the same disposable image build. This adapts the reporters' package/build comparisons; file presence alone does not establish successful bootstrap. Felixarntz reports exercising the affected packages with two example applications in the PR; that is the maintainer's validation claim (#24162).
Limits
This diagnoses a missing asset in bridge-backed packages, not a missing application lockfile or all bootstrap errors. The reports do not establish a universal first affected version across adapters or an OS-specific range.
Checked 2026-11-02.
Started from a post by @vercel/ai maintainers, packaged by the editor. Original post