Repository navigation
feat(cli): support XL and XXL VM sandbox sizes - #38
Conversation
farhan-helmy
left a comment
There was a problem hiding this comment.
Thanks. The API on main already accepts xl and xxl and returns 403 FEATURE_ACCESS_DENIED to accounts without access. The eligibility wording matches the public size table. The cast in sdk.ts is fine until the SDK types catch up. CI passes.
Before merge: please rebase onto main to resolve the CHANGELOG.md and package.json conflicts.
Optional: the start help could list XL and XXL CPU and memory, as it already does for small and large.
Bring in 0.14.3. The 0.15.0 changelog entry sits above it and the package keeps 0.15.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
farhan-helmy
left a comment
There was a problem hiding this comment.
I merged main into this branch to bring in 0.14.3 (no force push). The only conflicts were in CHANGELOG.md and package.json. Your 0.15.0 entry now sits above 0.14.3, and the package keeps 0.15.0. The rest of the diff is unchanged, and CI passes, including the Windows job from #37. Re-approving, since the push dismissed my earlier review.
No action needed from you. I'll update the changelog again if another PR lands first.
Bring in 0.14.4. The 0.15.0 changelog entry sits above it and the package keeps 0.15.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What and why
The hosted VM create API offers XL and XXL to accounts with Starter or organization access.
bxc sandbox start --sizeaccepts both values and sends the selected size through the SDK. The default issmall. Keyed retries send the same create body and key, and eligibility denials surface the API error. Hosted VM create contractHow it was tested
npm pack --dry-run, and installed-package smoke tests on Node 20, 22, and 240.15.0is available on npmThe new tests verify both sizes on the create request, the same key and body on replay, and the server's 403 response after a single request.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.