Create the template
Pass a base image viafrom and (optionally) a list of build steps that run inside the build VM.
Template.create returns once the template is registered and the first build is queued, not when the build is finished. Call waitUntilReady() (TS) / wait_until_ready() (Python) to block until the build reaches a terminal state.
Stream build logs
waitUntilReady accepts an onLog callback that receives each SSE event as the build runs.
waitUntilReady returns the refreshed TemplateInfo with status = "ready". On failure, it raises BuildError with a machine-readable code (e.g. step_failed, image_pull_failed).
Create a sandbox from the template
Once ready, create sandboxes by passing theTemplate instance, the name, or the UUID.