Open
Conversation
Zero-dependency TypeScript/Node.js 18+ SDK that mirrors the Python sandbox SDK. Includes SandboxClient (lifecycle/CRUD), Sandbox (process management, file ops, SSE streaming), full error hierarchy, and dual ESM/CJS build via tsup. Adds GHA workflows for integration tests against cloud and npm publish. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add pull_request trigger and consolidate the two integration jobs into one that runs on PRs, pushes to main, and manual dispatch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sandboxes suspend (not terminate) on timeout regardless of whether they are named. Suspended sandboxes have no terminal outcome, so the assertion is now conditional on the actual final status. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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
@tensorlakeai/tensorlake) intypescript/that mirrors the Python sandbox SDKcreateAndConnect)SandboxNotFoundError,PoolInUseError,RemoteAPIError, etc.)typescript_sdk.yaml) — runs on push to main + manual dispatch with dev/prod environment selectionpublish_npm.yaml) — manual dispatch, builds/tests then publishes with provenanceCI prerequisites
@tensorlakeainpm org must exist on npmjs.comnpmGitHub environment withNPM_TOKENsecretprod/devenvironments already haveTENSORLAKE_API_URLandTENSORLAKE_API_KEY(shared with Document AI tests)Test plan
npm run typecheck— no type errorsnpm run build— dual ESM/CJS output compilesnpm test— 60 unit tests passnpm run test:integration— run against cloud with API key to validate end-to-end🤖 Generated with Claude Code