Repository navigation
feat: expose VM services (port-forward) and experimental Tailcat SSH - #15
Merged
Merged
Conversation
Adapt the owned-VM service-access transport (feat/service-exposure) to the @boxcompute/sdk refactor: extract serviceAccess into src/service-access.ts, wire sandbox expose through serviceAccessApi, and migrate the old BoxComputeClient tests. Amp-Thread-ID: https://ampcode.com/threads/T-01a0c2f2-e08e-70cb-b38d-a1ebd113bf7d Co-authored-by: Aiman Ismail <m.aimanismail@gmail.com>
Adapt the cooperative-SSH enrollment transport (feat/tailcat-ssh) to the @boxcompute/sdk refactor: extract cooperative-connection into src/cooperative-connection.ts, wire sandbox ssh through cooperativeConnectionApi, and migrate the old BoxComputeClient tests. Co-authored-by: Aiman Ismail <m.aimanismail@gmail.com> Amp-Thread-ID: https://ampcode.com/threads/T-01a0c2f2-e08e-70cb-b38d-a1ebd113bf7d
…ve SSH Ship the owned-VM service exposure (bxc sandbox expose) and experimental Tailcat SSH (bxc sandbox ssh + proxy) together on the SDK-based CLI. Both transports live beside the SDK (service-access.ts, cooperative-connection.ts) and package their native helpers. Amp-Thread-ID: https://ampcode.com/threads/T-01a0c2f2-e08e-70cb-b38d-a1ebd113bf7d Co-authored-by: Aiman Ismail <m.aimanismail@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a0c2f2-e08e-70cb-b38d-a1ebd113bf7d Co-authored-by: Aiman Ismail <m.aimanismail@gmail.com>
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.
Summary
Ships the two in-flight client features on top of the SDK-based CLI (
@boxcompute/sdk):bxc sandbox expose SANDBOX_ID --port [LOCAL:]REMOTE) — binds up to 8 TCP ports on127.0.0.1for a fixed five-minute lease, then revokes on exit.BOXCOMPUTE_ENABLE_SSH=1 bxc sandbox ssh SANDBOX_ID, plus thebxc proxybyte transport) — short-lived, non-PTY cooperative SSH.Both transports live beside the SDK in
src/service-access.tsandsrc/cooperative-connection.ts(they use routes the SDK doesn't expose), while the rest of the API continues throughBoxCompute. Each packages its own native helper (native/service-client,native/connection-proxy) built bybuild:native.Supersedes the older
feat/service-exposure(#11) andfeat/tailcat-ssh(#4) branches, which still referenced the removed hand-writtenBoxComputeClient.Verification
Notes
bxc sandbox ssh/proxyremain gated behindBOXCOMPUTE_ENABLE_SSH=1and operator-enabled sandboxes.@boxcompute/clito0.7.0with a consolidated CHANGELOG entry.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.