Snapshots keep the disks by default, and your organization has a default sandbox
A snapshot now keeps a sandbox's disks unless you ask for its memory too, every new sandbox goes to your organization's default sandbox when you don't pick one, a project can run a command when a sandbox starts from a snapshot, a new Usage page shows what your agents consumed, and Open IDE is back at the top of a task.
New
- Snapshots keep a sandbox's disks by default: its setup, clones and work in progress. A sandbox started from one boots them and runs its
postStart again. Tick Keep memory and processes (memory: true on the API) to keep its memory too, and sandboxes started from it resume where it was, services already up. → Snapshots
- Your organization has a default sandbox, set in Settings → General with its machine type. The New sandbox dialog and the task composer start from it, and
appId is now optional on POST …/sandboxes: without it, the sandbox goes to the default, Spunto Cloud unless you changed it. It replaces the task-only "Where tasks run" setting, whose choice carries over. → Sandboxes
- A project can set a Post-snapshot command (Edit project → Lifecycle,
postSnapshotCommand on the API): it runs once in a sandbox started from a snapshot, to catch up with what changed since the snapshot was taken. Its output goes to the sandbox's logs. → Projects
- A Usage page, in the sidebar under Agents (and in ⌘K), shows what your organization's agents consumed over a period (Today, 7, 30 or 90 days, All): cost, turns, context sent, tokens generated and tool calls, then by day, by task (with a link to its conversation), by project, by agent, by model and by tool. Archived conversations are counted too. On the API:
GET /api/orgs/{orgId}/usage?days=, with a key that has tasks:read.
Improved
- A sandbox is chosen by its machine type alone: the New sandbox dialog, the composer's Machine chip and the default sandbox card list machine types, and on the API it is
machineType, one of those listed by GET …/sandboxes/providers. size and location are no longer read on POST …/sandboxes.
- Spunto IDE now comes in through Edit project → Apps in sandboxes, the place for every app that puts something in a project's sandboxes. Its window color moved to Spunto IDE's own pages, next to the extensions, and Settings → Extensions is gone. The IDE answers on the sandbox's port 8080 address: older
…-code addresses no longer lead anywhere. A sandbox started before this change gets its editor back at its project's next build. → Projects
- Open IDE is back in the Links at the top of a task, for the member whose sandbox it is, as long as the sandbox is running.
Fixed
- A project with Spunto IDE no longer fails to build on a brief download error of the editor, and when the download does fail, the build log says why.
- A sandbox started from an image whose tag was pushed again, like
:latest, now boots the image that tag points to today, not the copy fetched the first time the tag was used.