Repository navigation
[skills] Sync offload-to-sandbox with current docs - #466
Merged
Merged
Conversation
<!-- vercel-plugin-drift-agent -->
molebox
approved these changes
Nov 26, 2026
molebox
left a comment
Contributor
There was a problem hiding this comment.
Sent from Rich's agents review
Verified the drift commit 18c8d82 against shipped code. Both changed lines hold. No fix commits.
sandbox read <name> <path>andsandbox write [--mode] <name> <path>take two positionals:vercel/sandbox@5b36ea2:packages/sandbox/src/commands/read.ts:15-19andwrite.ts:20-30. The--helpoutput of the publishedsandbox@4.12.0andsandbox@5.0.0agrees.- The old
name:pathform fails with "No value provided for path" onsandbox@4.12.0and5.0.0. It existed only between vercel/sandbox#380 and #442 and never shipped: 4.12.0 is the first release withreadandwrite, and it contains both changes. #378 here was written in that window, so this does not undo a deliberate edit. copykeepsname:path(cp.ts:61-68), so the untouched copy examples are right.skills/vercel-sandbox/SKILL.mdalready uses the two-argument form.- Body note: "Sandbox CLI 4.4.0 in
vercelstill holds" followsvercel/vercelmain, which is at CLI 65.4.0. The publishedvercel65.10.0 through 67.0.0 bundlesandbox4.11.1 and return the remote exit status (@vercel/cli-support@67.0.0/dist/commands-core.js). - Follow-up for the next drift pass, not this PR:
SKILL.mdlines 324 and 423 state the "exec exits 0" caveat without a version.
Gated head f2c82c8 (this branch merged with main de79bff): bun run build:all leaves no diff; typecheck, validate and bun test pass; CI build-and-test passes on it.
Merged
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.
sandbox read/sandbox writeargument shape. The skill's examples passed onename:pathargument:sandbox read ... "${name}:/vercel/sandbox/cand/package.json"andsandbox write ... --mode 755 "${name}:/vercel/sandbox/check.sh". The standalone CLI takes the sandbox name and the file path as two separate positionals. Thename:pathform only applies tocopy. The examples now use"$name" /vercel/sandbox/cand/package.jsonand"$name" /vercel/sandbox/check.sh. Source: https://raw.githubusercontent.com/vercel/sandbox/main/packages/sandbox/CHANGELOG.md (4.12.0 entry; no last_updated): "Addsandbox read <name> <path>(aliascat) andsandbox write <name> <path>to read a sandbox file to stdout and write stdin to a sandbox file". The publishedsandbox@5.0.0(dist/read-*.mjs,dist/write-*.mjs) andpackages/sandbox/src/commands/{read,write}.tsconfirm this:readandwriteeach declare asandboxpositional and apathpositional, andwrite's help example issandbox write my-sandbox /vercel/sandbox/hello.js. The docs CLI reference (https://vercel.com/docs/sandbox/sdk/cli) does not documentread/writeyet.Verification
run_plugin_checks: build, typecheck, validate and test all pass (1364 tests). An earlier full run hit a timeout ininject-claude-md > a knowledge update saved with CRLF line endings or a BOM.... That test runs close to its 5000 ms limit on a cleanmaintoo (4.8–5.0 s when run alone), so it is timing-flaky and unrelated to this change.Test updates
None.
tests/offload-to-sandbox-skill.test.tsusesname:pathstrings only as bash-pattern matching fixtures. They don't pin the syntax, so they were left alone.Not changed
metadata.docsstill citeshttps://vercel.com/docs/sandbox/cli-reference, which now redirects tohttps://vercel.com/docs/sandbox/sdk/cli. It is the same product's page, so the frontmatter stays as it is.vercel) still hold:packages/cli/package.jsononvercel/vercelmain pins"sandbox": "4.4.0".Opened automatically by the vercel-plugin drift agent. Review before merge.