- 9956e9e: Modernize Runloop command execution, streaming, filesystem operations, lifecycle handling, pagination, errors, and snapshots using
@runloop/api-client1.28.
- Updated dependencies [6ec91ff]
- @computesdk/provider@2.1.5
-
f3fe311: Add typed
SandboxResourceOptionstoCreateSandboxOptions- Introduce
SandboxResourceOptions(CPU/memory/disk knobs),RunloopLaunchParameters, andVercelSandboxResourcestypes, exported fromcomputesdkand@computesdk/provider. CreateSandboxOptionsnow extendsSandboxResourceOptionsand typesruntime,image,deploymentPlan,size,vmTier,resources, andlaunch_parameters, so callers can replaceRecord<string, any>resource maps withPartial<CreateSandboxOptions>/SandboxResourceOptions.@computesdk/isorun: castoptions.runtimeto the providerRuntimetype now that the field is typed asstring.@computesdk/runloop: destructurelaunch_parametersout of passthrough options and merge it into the devboxlaunch_parametersinstead of relying on the spread, fixing a type clash with the Runloop SDK'sLaunchParameters.
- Introduce
-
Updated dependencies [f3fe311]
- computesdk@4.1.4
- @computesdk/provider@2.1.4
- de20947: Require the Runloop API client 1.24 release line.
- 1a3a44e: Update the Runloop API client and enable HTTP/2 for provider requests.
- Updated dependencies [607a11b]
- computesdk@4.1.3
- @computesdk/provider@2.1.3
- 5b1046f: Reduce Runloop provider round trips by reusing the SDK client, using long-poll waits, and enabling optimistic command completion.
- computesdk@4.1.2
- @computesdk/provider@2.1.2
- Updated dependencies [eca5ec2]
- computesdk@4.1.1
- @computesdk/provider@2.1.1
- Updated dependencies [cc79d78]
- computesdk@4.1.0
- @computesdk/provider@2.1.0
- Updated dependencies [aa4ca58]
- computesdk@4.0.0
- @computesdk/provider@2.0.0
-
371f667: Remove the legacy daemon/client subsystem.
Breaking changes (
computesdk):- Removed the
Sandboxclient class and its entiresrc/client/subsystem (WebSocket protocol, resources, terminal/run/server/watcher/file/env/sessionToken/magicLink/signal/auth/child namespaces). - Removed re-exports:
Sandbox,SandboxStatus,ProviderSandboxInfo,CommandExitError,isCommandExitError,TerminalInstance,FileWatcher,SignalService,WebSocketConstructor,encodeBinaryMessage,decodeBinaryMessage,MessageType,buildSetupPayload,encodeSetupPayload,SetupPayload,SetupOverlayConfig. - Removed the 11 optional advanced namespaces (
terminal?,run?,server?,watcher?,file?,env?,sessionToken?,magicLink?,signal?,auth?,child?) from theSandboxInterface. - Removed
SandboxOverlayConfig,SandboxServerConfig,SandboxHealthCheckConfigtypes. - Removed
overlaysandserversfields fromCreateSandboxOptions.
These APIs were only wired against the daemon transport, which was removed from the published package earlier. No shipped provider implemented them.
Breaking changes (
@computesdk/workbench):- Removed
workbench connect <url> [token](required the deletedSandboxclient class). - Removed
workbench provider localand local-daemon auto-attach (required the deletedSandboxclient class). - Removed
mode gateway|directtoggle andprovider direct <name>/provider gateway <name>aliases. - Dropped the
child,server, andterminalREPL bindings — they delegated to daemon-only namespaces. - Dropped
wsruntime dependency.
Breaking changes (
@computesdk/cli):- Removed
ptymode.compute connect,compute sandbox connect,workspace attach, andsandbox create --connectnow drop into the REPL (runCommand-based) instead of an interactive PTY shell. - Removed the
/shellREPL command that dropped into PTY.
Other:
@computesdk/providerdrops the optionalfindOrCreate/find/extendTimeoutfields fromSandboxMethods(matching the earlier compute-wrapper cleanup).- 14 provider packages get a patch bump for internal destructuring cleanup (removed unused
overlays/serversdestructure targets).
- Removed the
-
Updated dependencies [3ef4817]
-
Updated dependencies [371f667]
- @computesdk/provider@1.4.0
- computesdk@3.0.0
- Updated dependencies [a321f01]
- computesdk@2.6.0
- @computesdk/provider@1.3.0
- Updated dependencies [7c53d28]
- @computesdk/provider@1.2.0
- Updated dependencies [3e6a91a]
- @computesdk/provider@1.1.0
- computesdk@2.5.4
- Updated dependencies [9a312d2]
- @computesdk/provider@1.1.0
- computesdk@2.5.4
- Updated dependencies [b34d97f]
- @computesdk/provider@1.1.0
- computesdk@2.5.4
- Updated dependencies [45f918b]
- computesdk@2.5.3
- @computesdk/provider@1.0.33
- Updated dependencies [0b97465]
- computesdk@2.5.3
- @computesdk/provider@1.0.33
- Updated dependencies [5f1b08f]
- computesdk@2.5.2
- @computesdk/provider@1.0.32
- Updated dependencies [3c4e595]
- computesdk@2.4.0
- @computesdk/provider@1.0.29
- Updated dependencies [d49d036]
- computesdk@2.3.0
- @computesdk/provider@1.0.28
- f0bf381: Update packages for direct providers, fix runloop keep_alive default, and update daytona list method
- Updated dependencies [5b010a3]
- computesdk@2.2.1
- @computesdk/provider@1.0.27
- Updated dependencies [55b793e]
- computesdk@2.2.0
- @computesdk/provider@1.0.26
- Updated dependencies [a5a7f63]
- computesdk@2.1.2
- @computesdk/provider@1.0.25
- Updated dependencies [2c9468b]
- computesdk@2.1.1
- @computesdk/provider@1.0.24
- Updated dependencies [9e7e50a]
- computesdk@2.1.0
- @computesdk/provider@1.0.23
- Updated dependencies [e3ed89b]
- computesdk@2.0.2
- @computesdk/provider@1.0.22
- ca82472: Bump versions to skip burned version numbers from rollback.
- Updated dependencies [53506ed]
- computesdk@2.0.1
- @computesdk/provider@1.0.21
- Updated dependencies [9946e72]
- computesdk@1.21.1
- @computesdk/provider@1.0.20
- Updated dependencies [7ba17e1]
- computesdk@1.21.0
- @computesdk/provider@1.0.19
- Updated dependencies [2b30125]
- Updated dependencies [2b30125]
- computesdk@1.20.0
- @computesdk/provider@1.0.18
- Updated dependencies [68b5296]
- computesdk@1.19.0
- @computesdk/provider@1.0.17
- Updated dependencies [59147ac]
- computesdk@1.18.2
- @computesdk/provider@1.0.16
- Updated dependencies [688ca54]
- Updated dependencies [688ca54]
- computesdk@1.18.1
- @computesdk/provider@1.0.15
- Updated dependencies [128edac]
- computesdk@1.18.0
- @computesdk/provider@1.0.14
- Updated dependencies [79c9fc5]
- computesdk@1.17.0
- @computesdk/provider@1.0.13
- Updated dependencies [208a400]
- computesdk@1.16.0
- @computesdk/provider@1.0.12
- Updated dependencies [25341eb]
- computesdk@1.15.0
- @computesdk/provider@1.0.11
- Updated dependencies [0c58ba9]
- computesdk@1.14.0
- @computesdk/provider@1.0.10
- Updated dependencies [3333388]
- computesdk@1.13.0
- @computesdk/provider@1.0.9
- Updated dependencies [4decff7]
- @computesdk/provider@1.0.8
- computesdk@1.12.1
- Updated dependencies [fdda069]
- computesdk@1.12.0
- @computesdk/provider@1.0.7
- Updated dependencies [7c8d968]
- computesdk@1.11.1
- @computesdk/provider@1.0.6
- Updated dependencies [40d66fc]
- computesdk@1.11.0
- @computesdk/provider@1.0.5
- computesdk@1.10.3
- @computesdk/provider@1.0.4
-
acdc8c6: fix: align provider factory with clean command execution
Updates all providers to use the new clean command signature introduced in #192.
Changes:
- Provider factory
runCommandsignature simplified from(command, args?, options?)to(command, options?) - All 13 providers updated to handle
cwd,env, andbackgroundoptions by wrapping commands with shell constructs - Test suite updated to use clean command strings instead of args arrays
Related:
- Follows #192 which updated the gateway client to send clean commands
- Part of the larger refactor to remove client-side command preprocessing
Migration: Providers now receive clean command strings and handle options uniformly:
// Before runCommand(sandbox, "npm", ["install"], { cwd: "/app" }); // After runCommand(sandbox, "npm install", { cwd: "/app" });
- Provider factory
-
Updated dependencies [acdc8c6]
- @computesdk/provider@1.0.3
- Updated dependencies [07e0953]
- computesdk@1.10.2
- @computesdk/provider@1.0.2
-
fa18a99: # Grandmother/Mother/Children Architecture Refactor
Major architectural refactoring that splits computesdk into a clean three-tier structure.
- computesdk (Grandmother) - User-facing SDK with gateway HTTP + Sandbox client
- @computesdk/provider (Mother) - Provider framework for building custom providers
- Provider packages (Children) - Import from @computesdk/provider
- Removed
setConfig(),getConfig(),clearConfig()methods from compute singleton - Removed
createCompute()(moved to @computesdk/provider) - Gateway now uses direct HTTP implementation (not a provider)
- Merged @computesdk/client into computesdk package
- Renamed
sandbox.kill()→sandbox.destroy()
Contains the provider framework extracted from computesdk:
defineProvider()function for defining custom providers (renamed fromcreateProvider())createCompute()for direct mode- Provider types and interfaces (Provider, ProviderSandbox, etc.)
- Universal Sandbox interface types
We renamed
createProvider()todefineProvider()to match modern framework conventions and improve developer experience:Pattern Recognition:
- Vite:
defineConfig() - Nuxt:
defineNuxtConfig() - Vue:
defineComponent()
Better Semantics:
createProviderimplies creating an instance (it actually returns a factory definition)defineProvidermeans "define what this provider is" (accurate to what it does)- More intuitive for developers familiar with modern frameworks
Example:
import { defineProvider } from "@computesdk/provider"; export const modal = defineProvider({ name: "modal", defaultMode: "direct", sandbox: { /* ... */ }, methods: { /* ... */ }, });
All 12 provider packages now:
- Import
defineProviderfrom @computesdk/provider - Import types from @computesdk/provider (which re-exports from computesdk)
- Have @computesdk/provider as a dependency
import { compute } from "computesdk"; const sandbox = await compute.sandbox.create(); // Auto-detects from env
import { createCompute } from "@computesdk/provider"; import { e2b } from "@computesdk/e2b"; const compute = createCompute({ defaultProvider: e2b({ apiKey: "xxx" }) }); const sandbox = await compute.sandbox.create();
// Before await sandbox.kill(); // After await sandbox.destroy();
-
Updated dependencies [fa18a99]
- computesdk@1.10.1
- @computesdk/provider@1.0.1
- Updated dependencies [38caad9]
- Updated dependencies [f2d4273]
- computesdk@1.10.0
- Updated dependencies [251f324]
- computesdk@1.9.6
- Updated dependencies [b027cd9]
- computesdk@1.9.5
- computesdk@1.9.4
- Updated dependencies [f38470d]
- Updated dependencies [f38470d]
- computesdk@1.9.3
- Updated dependencies [1ac5ad2]
- computesdk@1.9.1
- 8002931: Adding in support for ClientSandbox to all packages
- Updated dependencies [8002931]
- computesdk@1.9.0
- Updated dependencies [a146b97]
- computesdk@1.8.8
- Updated dependencies [04ffecf]
- computesdk@1.8.7
- 51b9259: Adding support for Compute CLI
- Updated dependencies [51b9259]
- computesdk@1.8.6
- Updated dependencies [f0eef79]
- Updated dependencies [f0eef79]
- Updated dependencies [f0eef79]
- computesdk@1.8.5
- Updated dependencies [11a3b8c]
- Updated dependencies [11a3b8c]
- computesdk@1.8.4
- Updated dependencies [483c700]
- computesdk@1.8.3
- Updated dependencies [66d50b9]
- computesdk@1.8.2
- computesdk@1.8.1
- 99b807c: Integrating packages w/ @computesdk/client
- Updated dependencies [99b807c]
- computesdk@1.8.0
- computesdk@1.7.6
- computesdk@1.7.5
- computesdk@1.7.4
- computesdk@1.7.3
- computesdk@1.7.2
- computesdk@1.7.1
- c9cef90: Minor bump for all packages