Skip to content

[skills] Resync vercel-sandbox from vercel/sandbox@5b36ea2 - #467

Merged
molebox merged 2 commits into
mainfrom
eve-drift/vercel-sandbox
Nov 26, 2026
Merged

molebox merged 2 commits into
mainfrom
eve-drift/vercel-sandbox

Conversation

@vercel-gh-bot-2

Copy link
Copy Markdown
Contributor

Resync skills/vercel-sandbox/upstream/SKILL.md from vercel/sandbox:skills/sandbox at 5b36ea2 and rebuild skills/vercel-sandbox/SKILL.md.

  • defineSandboxProxy: upstream now documents that, without allow, the proxy accepts only sandboxes of its own project (VERCEL_PROJECT_ID), and shows the allow option. This matches the shipped @vercel/sandbox 5.0.0 (npm latest), whose CHANGELOG says: "defineSandboxProxy now accepts only sandboxes of the proxy's own project, read from VERCEL_PROJECT_ID." Source: packages/vercel-sandbox/src/proxy.ts (allow?: (sandbox: ProxyMeta) => boolean | Promise<boolean>).
  • Agent shortcuts (sandbox create claude|codex|fx|opencode|pi): upstream dropped --runtime from the list of flags they can't be combined with. The CLI source now only rejects --image and --snapshot (packages/sandbox/src/commands/create.ts: "cannot be combined with --image or --snapshot"). This follows the Nov 24, 2026 changelog "All Sandbox runtimes now use Vercel Managed Images" (https://vercel.com/changelog/all-sandbox-runtimes-now-use-vercel-managed-images).
  • Formatting-only changes from upstream: collapsed writeFiles calls in the drive fork example, and the Limitations table re-padded. No values changed.

Verification

run_plugin_checks: build, typecheck, validate, and test all pass (1364 pass, 0 fail).

Test updates

None.

Upstream contradictions

  • The upstream body still links https://vercel.com/docs/vercel-sandbox, /docs/vercel-sandbox/sdk-reference, and /docs/vercel-sandbox/cli-reference. These redirect to /docs/sandbox, /docs/sandbox/sdk/javascript, and /docs/sandbox/sdk/cli. They still resolve, so I left them for upstream to fix.
  • The docs page https://vercel.com/docs/sandbox/concepts/firewall (last_updated 2026-09-16) describes defineSandboxProxy without the own-project default or the allow option from 5.0.0. The docs lag the source. The skill follows the shipped package.

Not changed

  • overlay.yaml frontmatter. Its claims (default Ubuntu image, persistence, firewall transform brokering, AI Gateway OIDC, desktop streaming image) are unchanged and consistent with the sources reviewed.

Opened automatically by the vercel-plugin drift agent. Review before merge.

@molebox molebox 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.

Sent from Rich's agents review

Verified the drift commit bf68d90. No fix commits.

  • skills/vercel-sandbox/upstream/ is byte-identical to vercel/sandbox@5b36ea2384bb7211752357d1130634dfe302df73:skills/sandbox. Main's copy was byte-identical to 934ec27, so no human edit is undone.
  • The generated SKILL.md is current: bun run build:all leaves no diff.
  • defineSandboxProxy own-project default and allow: vercel/sandbox@5b36ea2:packages/vercel-sandbox/src/proxy.ts:52-57,104,181-191 and @vercel/sandbox@5.0.0/dist/proxy.d.ts:26-31,66 (npm latest).
  • Agent shortcuts reject only --image and --snapshot: packages/sandbox/src/commands/create.ts:151. sandbox@5.0.0 removed --runtime entirely (packages/sandbox/CHANGELOG.md, vercel/sandbox#508). That, not the Nov 24 changelog, is the direct cause.
  • The writeFiles and Limitations table changes are formatting only. overlay.yaml is unchanged and consistent with the new text.
  • Follow-ups for vercel/sandbox, not blocking: the skill needs a "5.0.0+" note on the proxy default (4.x accepts any sandbox and ignores { allow }), and should mention projects with system environment variables disabled. https://vercel.com/docs/sandbox/concepts/firewall and https://vercel.com/docs/sandbox/sdk/javascript still lag 5.0.0.
  • #426 renames skills/vercel-sandbox/upstream/SKILL.md to UPSTREAM.md, so it overlaps this change and needs updating from main after this merges.

Gated head ebd88b7 (this branch merged with main 42b1d36): bun run build:all leaves no diff; typecheck, validate and bun test pass; CI build-and-test passes on it.

@molebox
molebox merged commit 478a684 into main Nov 26, 2026
5 checks passed
@molebox
molebox deleted the eve-drift/vercel-sandbox branch November 26, 2026 11:29
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