You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.7.0: Merge pull request #124 from pandemicsyn/changeset-release/main
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sandbar v0.7.0
@sandbar-sdk/adapter
Minor Changes
#12243d2993 Thanks @pandemicsyn! - Add the portable resources: { vcpus, memoryMiB } adapter setting, given as minimums, and inspect().resources, which reports the size a sandbox actually has or unknown. Adapter authors get ResourceMinimums, SandboxResources and smallestSize(), which picks the smallest native size that meets the minimums and otherwise throws UNSUPPORTED naming the largest size. SandboxInfo.resources is optional for adapters; the SDK always fills it in.
sandbar-sdk
Minor Changes
#12243d2993 Thanks @pandemicsyn! - Add the portable resources: { vcpus, memoryMiB } adapter setting, given as minimums, and inspect().resources, which reports the size a sandbox actually has or unknown. Adapter authors get ResourceMinimums, SandboxResources and smallestSize(), which picks the smallest native size that meets the minimums and otherwise throws UNSUPPORTED naming the largest size. SandboxInfo.resources is optional for adapters; the SDK always fills it in.
#12243d2993 Thanks @pandemicsyn! - Accept resources: { vcpus, memoryMiB } minimums and report the real size on inspect. boxd, Vercel and Boat pick their smallest native size that meets them and reject at connect, before any provider request, when none does; the old size, vcpus and machine keys stay as deprecated aliases. Daytona and E2B build OCI snapshots and templates at that size and reject a prepared snapshot or template that is smaller or does not report its size, including E2B's base template.
Patch Changes
#1276ee114d Thanks @pandemicsyn! - daytona({...}) and e2b({...}) now accept resources: { vcpus, memoryMiB }, matching the adapter configuration. The daytona() network setting's documentation now names daytona-default as the default.
#12243d2993 Thanks @pandemicsyn! - Accept resources: { vcpus, memoryMiB } minimums and report the real size on inspect. boxd, Vercel and Boat pick their smallest native size that meets them and reject at connect, before any provider request, when none does; the old size, vcpus and machine keys stay as deprecated aliases. Daytona and E2B build OCI snapshots and templates at that size and reject a prepared snapshot or template that is smaller or does not report its size, including E2B's base template.
Patch Changes
#1276ee114d Thanks @pandemicsyn! - daytona({...}) and e2b({...}) now accept resources: { vcpus, memoryMiB }, matching the adapter configuration. The daytona() network setting's documentation now names daytona-default as the default.
#12243d2993 Thanks @pandemicsyn! - Accept resources: { vcpus, memoryMiB } minimums and report the real size on inspect. boxd, Vercel and Boat pick their smallest native size that meets them and reject at connect, before any provider request, when none does; the old size, vcpus and machine keys stay as deprecated aliases. Daytona and E2B build OCI snapshots and templates at that size and reject a prepared snapshot or template that is smaller or does not report its size, including E2B's base template.
#12243d2993 Thanks @pandemicsyn! - Accept resources: { vcpus, memoryMiB } minimums and report the real size on inspect. boxd, Vercel and Boat pick their smallest native size that meets them and reject at connect, before any provider request, when none does; the old size, vcpus and machine keys stay as deprecated aliases. Daytona and E2B build OCI snapshots and templates at that size and reject a prepared snapshot or template that is smaller or does not report its size, including E2B's base template.
#1252cb4539 Thanks @pandemicsyn! - Add the experimental @sandbar-sdk/runloop adapter for Runloop Devboxes: blocked egress by default through a managed deny-all network policy, argv/shell exec with exact output bytes and finite stdin, binary files, suspend/resume, disk snapshots with restore, authenticated or public previews, and portable resources sizing. The CLI recognizes --provider runloop with RUNLOOP_API_KEY and optional RUNLOOP_NETWORK=internet.
#12243d2993 Thanks @pandemicsyn! - Accept resources: { vcpus, memoryMiB } minimums and report the real size on inspect. boxd, Vercel and Boat pick their smallest native size that meets them and reject at connect, before any provider request, when none does; the old size, vcpus and machine keys stay as deprecated aliases. Daytona and E2B build OCI snapshots and templates at that size and reject a prepared snapshot or template that is smaller or does not report its size, including E2B's base template.
#1252cb4539 Thanks @pandemicsyn! - Add the experimental @sandbar-sdk/runloop adapter for Runloop Devboxes: blocked egress by default through a managed deny-all network policy, argv/shell exec with exact output bytes and finite stdin, binary files, suspend/resume, disk snapshots with restore, authenticated or public previews, and portable resources sizing. The CLI recognizes --provider runloop with RUNLOOP_API_KEY and optional RUNLOOP_NETWORK=internet.