Skip to content

v0.6.0: Merge pull request #120 from pandemicsyn/changeset-release/main

Choose a tag to compare

@github-actions github-actions released this 19 Oct 01:15
1226190

Sandbar v0.6.0

@sandbar-sdk/adapter

Minor Changes

  • #118 22e06ed Thanks @pandemicsyn! - sandboxes.create({ env }) sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-call env overrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in with supports.createEnv, reported as capabilities().createEnv; elsewhere (boxd) create({ env }) rejects with UnsupportedFeatureError before allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages.

  • #118 7fc61f8 Thanks @pandemicsyn! - Add client.images.get(), client.images.list() and image handles with inspect(), delete() and submitDelete(). images.build() results now include reference, an image resource reference whose ownership is verified-created only when the adapter proved the build created it. Adapters opt in with the imageInspect, imageList/imageListCoverage and imageDelete hooks, and capabilities().imageManagement reports what a connection supports; a missing hook rejects with UNSUPPORTED. Image deletion follows the snapshot deletion rules: scope checks, no deletion of borrowed images as a side effect, OUTCOME_UNKNOWN on an unconfirmed result and no replay.

  • #118 3a8c047 Thanks @pandemicsyn! - Add sandboxes.list({ cursor?, limit? }): a bounded page of sandboxes with id, state and a reference that sandboxes.get() reopens, plus coverage (provider-scope or sandbar-managed), matching snapshots.list() and volumes.list(). Adapters implement the optional sandboxList hook and return reference: null when native evidence cannot verify identity; listed references never claim ownership, generation or creation receipts the provider does not show. Daytona and E2B list Sandbar-created sandboxes with verified-created references; boxd and Vercel list with unknown ownership. operations.inventory() is unchanged and is derived from sandboxList when an adapter only implements the new hook.

sandbar-sdk

Minor Changes

  • #118 22e06ed Thanks @pandemicsyn! - sandboxes.create({ env }) sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-call env overrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in with supports.createEnv, reported as capabilities().createEnv; elsewhere (boxd) create({ env }) rejects with UnsupportedFeatureError before allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages.

  • #118 7fc61f8 Thanks @pandemicsyn! - Add client.images.get(), client.images.list() and image handles with inspect(), delete() and submitDelete(). images.build() results now include reference, an image resource reference whose ownership is verified-created only when the adapter proved the build created it. Adapters opt in with the imageInspect, imageList/imageListCoverage and imageDelete hooks, and capabilities().imageManagement reports what a connection supports; a missing hook rejects with UNSUPPORTED. Image deletion follows the snapshot deletion rules: scope checks, no deletion of borrowed images as a side effect, OUTCOME_UNKNOWN on an unconfirmed result and no replay.

  • #118 3a8c047 Thanks @pandemicsyn! - Add sandboxes.list({ cursor?, limit? }): a bounded page of sandboxes with id, state and a reference that sandboxes.get() reopens, plus coverage (provider-scope or sandbar-managed), matching snapshots.list() and volumes.list(). Adapters implement the optional sandboxList hook and return reference: null when native evidence cannot verify identity; listed references never claim ownership, generation or creation receipts the provider does not show. Daytona and E2B list Sandbar-created sandboxes with verified-created references; boxd and Vercel list with unknown ownership. operations.inventory() is unchanged and is derived from sandboxList when an adapter only implements the new hook.

Patch Changes

@sandbar-sdk/daytona

Minor Changes

  • #118 22e06ed Thanks @pandemicsyn! - sandboxes.create({ env }) sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-call env overrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in with supports.createEnv, reported as capabilities().createEnv; elsewhere (boxd) create({ env }) rejects with UnsupportedFeatureError before allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages.

  • #118 7fc61f8 Thanks @pandemicsyn! - Inspect, list and delete prepared images: Daytona maps native snapshots and E2B maps templates. Deletion refuses public or shared images, captured sandbox snapshots and images that sandboxes or warm pools still use before sending one unreplayed native delete. Built images now report a reference with verified ownership when the build's own request created them.

  • #118 3a8c047 Thanks @pandemicsyn! - Add sandboxes.list({ cursor?, limit? }): a bounded page of sandboxes with id, state and a reference that sandboxes.get() reopens, plus coverage (provider-scope or sandbar-managed), matching snapshots.list() and volumes.list(). Adapters implement the optional sandboxList hook and return reference: null when native evidence cannot verify identity; listed references never claim ownership, generation or creation receipts the provider does not show. Daytona and E2B list Sandbar-created sandboxes with verified-created references; boxd and Vercel list with unknown ownership. operations.inventory() is unchanged and is derived from sandboxList when an adapter only implements the new hook.

Patch Changes

@sandbar-sdk/e2b

Minor Changes

  • #118 22e06ed Thanks @pandemicsyn! - sandboxes.create({ env }) sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-call env overrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in with supports.createEnv, reported as capabilities().createEnv; elsewhere (boxd) create({ env }) rejects with UnsupportedFeatureError before allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages.

  • #118 7fc61f8 Thanks @pandemicsyn! - Inspect, list and delete prepared images: Daytona maps native snapshots and E2B maps templates. Deletion refuses public or shared images, captured sandbox snapshots and images that sandboxes or warm pools still use before sending one unreplayed native delete. Built images now report a reference with verified ownership when the build's own request created them.

  • #118 3a8c047 Thanks @pandemicsyn! - Add sandboxes.list({ cursor?, limit? }): a bounded page of sandboxes with id, state and a reference that sandboxes.get() reopens, plus coverage (provider-scope or sandbar-managed), matching snapshots.list() and volumes.list(). Adapters implement the optional sandboxList hook and return reference: null when native evidence cannot verify identity; listed references never claim ownership, generation or creation receipts the provider does not show. Daytona and E2B list Sandbar-created sandboxes with verified-created references; boxd and Vercel list with unknown ownership. operations.inventory() is unchanged and is derived from sandboxList when an adapter only implements the new hook.

Patch Changes

@sandbar-sdk/boxd

Minor Changes

  • #118 3a8c047 Thanks @pandemicsyn! - Add sandboxes.list({ cursor?, limit? }): a bounded page of sandboxes with id, state and a reference that sandboxes.get() reopens, plus coverage (provider-scope or sandbar-managed), matching snapshots.list() and volumes.list(). Adapters implement the optional sandboxList hook and return reference: null when native evidence cannot verify identity; listed references never claim ownership, generation or creation receipts the provider does not show. Daytona and E2B list Sandbar-created sandboxes with verified-created references; boxd and Vercel list with unknown ownership. operations.inventory() is unchanged and is derived from sandboxList when an adapter only implements the new hook.

Patch Changes

@sandbar-sdk/boat

Patch Changes

@sandbar-sdk/vercel

Minor Changes

  • #118 22e06ed Thanks @pandemicsyn! - sandboxes.create({ env }) sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-call env overrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in with supports.createEnv, reported as capabilities().createEnv; elsewhere (boxd) create({ env }) rejects with UnsupportedFeatureError before allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages.

  • #118 3a8c047 Thanks @pandemicsyn! - Add sandboxes.list({ cursor?, limit? }): a bounded page of sandboxes with id, state and a reference that sandboxes.get() reopens, plus coverage (provider-scope or sandbar-managed), matching snapshots.list() and volumes.list(). Adapters implement the optional sandboxList hook and return reference: null when native evidence cannot verify identity; listed references never claim ownership, generation or creation receipts the provider does not show. Daytona and E2B list Sandbar-created sandboxes with verified-created references; boxd and Vercel list with unknown ownership. operations.inventory() is unchanged and is derived from sandboxList when an adapter only implements the new hook.

Patch Changes

@sandbar-sdk/cli

Minor Changes

  • #118 22e06ed Thanks @pandemicsyn! - sandbar create --env K=V and --env-file <path> set environment variables for every command in the sandbox. exec, sh and run accept --env-file for one command, and --env NAME without a value copies NAME from the calling environment. Values are never written to the store, --json output or messages.

  • #118 7fc61f8 Thanks @pandemicsyn! - sandbar image rm <name> deletes a built image on the provider and drops its record; an unknown outcome exits 6 and keeps the record so a later image rm checks how the delete ended without resending it. sandbar image ls --remote lists the provider's images for the profile.

  • #118 f9480d3 Thanks @pandemicsyn! - Add sandbar ls --remote, which lists the selected profile's sandboxes from the provider and matches them to store names, and sandbar adopt <id> [--name <name>], which records a listed sandbox so other commands can reach it. Adopted sandboxes are not treated as created by the CLI: rm --all skips them and rm <name> needs --force.

Patch Changes