Skip to content

fix(cli): explain sandbox expose platform support - #39

Merged
farhan-helmy merged 2 commits into
boxcompute:mainfrom
kyzer1023:fix/expose-platform-error
Nov 30, 2026
Merged

farhan-helmy merged 2 commits into
boxcompute:mainfrom
kyzer1023:fix/expose-platform-error

Conversation

@kyzer1023

@kyzer1023 kyzer1023 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

What and why

On native Windows, bxc sandbox expose could ask users to authenticate even though the forwarding helper cannot run on Windows. The command now reports the unsupported host before loading credentials or requesting a service grant. Help, the README, and the bundled skill list Linux and macOS on x64 and arm64.

How it was tested

  • Reproduced the authentication error with an empty config on native Windows x64. The new installed bxc.cmd prints the platform error and exits 1. Both help commands list the supported hosts.
  • With Bun 1.3.14, 33 targeted Windows tests and 116 Linux tests passed. The direct Windows launcher test ran on Windows and was skipped on Linux. Typecheck, lint, build, and both Go 1.27.1 native test suites passed.
  • The package dry run and installed tarball smoke passed on Node.js 20, 22, and 24. The tarball contains all eight expected native helpers. The release validator confirmed that 0.14.4 is unpublished.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

farhan-helmy
farhan-helmy previously approved these changes Nov 30, 2026

@farhan-helmy farhan-helmy 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.

Thanks. Checking the platform before credentials load is the right place for this, and the supported list matches the native helpers. CI passes.

Before merge: it now conflicts with main in CHANGELOG.md and package.json, because #37 shipped 0.14.3. Please rebase, keeping 0.14.4 with the 0.14.3 entry below it.

Bring in 0.14.3. The 0.14.4 changelog entry sits above it and the
package keeps 0.14.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@farhan-helmy farhan-helmy 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.

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.14.4 entry now sits above 0.14.3, and the package keeps 0.14.4. 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.

@farhan-helmy
farhan-helmy merged commit 42c6840 into boxcompute:main Nov 30, 2026
6 checks passed
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.

2 participants