Repository navigation
v0.6.0: Merge pull request #120 from pandemicsyn/changeset-release/main
Sandbar v0.6.0
@sandbar-sdk/adapter
Minor Changes
-
#118
22e06edThanks @pandemicsyn! -sandboxes.create({ env })sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-callenvoverrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in withsupports.createEnv, reported ascapabilities().createEnv; elsewhere (boxd)create({ env })rejects withUnsupportedFeatureErrorbefore allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages. -
#118
7fc61f8Thanks @pandemicsyn! - Addclient.images.get(),client.images.list()and image handles withinspect(),delete()andsubmitDelete().images.build()results now includereference, an image resource reference whose ownership isverified-createdonly when the adapter proved the build created it. Adapters opt in with theimageInspect,imageList/imageListCoverageandimageDeletehooks, andcapabilities().imageManagementreports what a connection supports; a missing hook rejects withUNSUPPORTED. Image deletion follows the snapshot deletion rules: scope checks, no deletion of borrowed images as a side effect,OUTCOME_UNKNOWNon an unconfirmed result and no replay. -
#118
3a8c047Thanks @pandemicsyn! - Addsandboxes.list({ cursor?, limit? }): a bounded page of sandboxes withid,stateand areferencethatsandboxes.get()reopens, pluscoverage(provider-scopeorsandbar-managed), matchingsnapshots.list()andvolumes.list(). Adapters implement the optionalsandboxListhook and returnreference: nullwhen 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 withverified-createdreferences; boxd and Vercel list withunknownownership.operations.inventory()is unchanged and is derived fromsandboxListwhen an adapter only implements the new hook.
sandbar-sdk
Minor Changes
-
#118
22e06edThanks @pandemicsyn! -sandboxes.create({ env })sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-callenvoverrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in withsupports.createEnv, reported ascapabilities().createEnv; elsewhere (boxd)create({ env })rejects withUnsupportedFeatureErrorbefore allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages. -
#118
7fc61f8Thanks @pandemicsyn! - Addclient.images.get(),client.images.list()and image handles withinspect(),delete()andsubmitDelete().images.build()results now includereference, an image resource reference whose ownership isverified-createdonly when the adapter proved the build created it. Adapters opt in with theimageInspect,imageList/imageListCoverageandimageDeletehooks, andcapabilities().imageManagementreports what a connection supports; a missing hook rejects withUNSUPPORTED. Image deletion follows the snapshot deletion rules: scope checks, no deletion of borrowed images as a side effect,OUTCOME_UNKNOWNon an unconfirmed result and no replay. -
#118
3a8c047Thanks @pandemicsyn! - Addsandboxes.list({ cursor?, limit? }): a bounded page of sandboxes withid,stateand areferencethatsandboxes.get()reopens, pluscoverage(provider-scopeorsandbar-managed), matchingsnapshots.list()andvolumes.list(). Adapters implement the optionalsandboxListhook and returnreference: nullwhen 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 withverified-createdreferences; boxd and Vercel list withunknownownership.operations.inventory()is unchanged and is derived fromsandboxListwhen an adapter only implements the new hook.
Patch Changes
@sandbar-sdk/daytona
Minor Changes
-
#118
22e06edThanks @pandemicsyn! -sandboxes.create({ env })sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-callenvoverrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in withsupports.createEnv, reported ascapabilities().createEnv; elsewhere (boxd)create({ env })rejects withUnsupportedFeatureErrorbefore allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages. -
#118
7fc61f8Thanks @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 areferencewith verified ownership when the build's own request created them. -
#118
3a8c047Thanks @pandemicsyn! - Addsandboxes.list({ cursor?, limit? }): a bounded page of sandboxes withid,stateand areferencethatsandboxes.get()reopens, pluscoverage(provider-scopeorsandbar-managed), matchingsnapshots.list()andvolumes.list(). Adapters implement the optionalsandboxListhook and returnreference: nullwhen 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 withverified-createdreferences; boxd and Vercel list withunknownownership.operations.inventory()is unchanged and is derived fromsandboxListwhen an adapter only implements the new hook.
Patch Changes
@sandbar-sdk/e2b
Minor Changes
-
#118
22e06edThanks @pandemicsyn! -sandboxes.create({ env })sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-callenvoverrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in withsupports.createEnv, reported ascapabilities().createEnv; elsewhere (boxd)create({ env })rejects withUnsupportedFeatureErrorbefore allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages. -
#118
7fc61f8Thanks @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 areferencewith verified ownership when the build's own request created them. -
#118
3a8c047Thanks @pandemicsyn! - Addsandboxes.list({ cursor?, limit? }): a bounded page of sandboxes withid,stateand areferencethatsandboxes.get()reopens, pluscoverage(provider-scopeorsandbar-managed), matchingsnapshots.list()andvolumes.list(). Adapters implement the optionalsandboxListhook and returnreference: nullwhen 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 withverified-createdreferences; boxd and Vercel list withunknownownership.operations.inventory()is unchanged and is derived fromsandboxListwhen an adapter only implements the new hook.
Patch Changes
@sandbar-sdk/boxd
Minor Changes
- #118
3a8c047Thanks @pandemicsyn! - Addsandboxes.list({ cursor?, limit? }): a bounded page of sandboxes withid,stateand areferencethatsandboxes.get()reopens, pluscoverage(provider-scopeorsandbar-managed), matchingsnapshots.list()andvolumes.list(). Adapters implement the optionalsandboxListhook and returnreference: nullwhen 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 withverified-createdreferences; boxd and Vercel list withunknownownership.operations.inventory()is unchanged and is derived fromsandboxListwhen an adapter only implements the new hook.
Patch Changes
@sandbar-sdk/boat
Patch Changes
@sandbar-sdk/vercel
Minor Changes
-
#118
22e06edThanks @pandemicsyn! -sandboxes.create({ env })sets environment variables for every command, process and terminal in the sandbox, including after reopening; a per-callenvoverrides a name. Daytona, E2B and Vercel map it to their native create-time environment. Adapters opt in withsupports.createEnv, reported ascapabilities().createEnv; elsewhere (boxd)create({ env })rejects withUnsupportedFeatureErrorbefore allocating anything. Values are never saved in recovery references or tokens, and never appear in telemetry or error messages. -
#118
3a8c047Thanks @pandemicsyn! - Addsandboxes.list({ cursor?, limit? }): a bounded page of sandboxes withid,stateand areferencethatsandboxes.get()reopens, pluscoverage(provider-scopeorsandbar-managed), matchingsnapshots.list()andvolumes.list(). Adapters implement the optionalsandboxListhook and returnreference: nullwhen 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 withverified-createdreferences; boxd and Vercel list withunknownownership.operations.inventory()is unchanged and is derived fromsandboxListwhen an adapter only implements the new hook.
Patch Changes
@sandbar-sdk/cli
Minor Changes
-
#118
22e06edThanks @pandemicsyn! -sandbar create --env K=Vand--env-file <path>set environment variables for every command in the sandbox.exec,shandrunaccept--env-filefor one command, and--env NAMEwithout a value copiesNAMEfrom the calling environment. Values are never written to the store,--jsonoutput or messages. -
#118
7fc61f8Thanks @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 laterimage rmchecks how the delete ended without resending it.sandbar image ls --remotelists the provider's images for the profile. -
#118
f9480d3Thanks @pandemicsyn! - Addsandbar ls --remote, which lists the selected profile's sandboxes from the provider and matches them to store names, andsandbar 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 --allskips them andrm <name>needs--force.