Repository navigation
e2b@2.55.0
Minor Changes
-
b52cd30: Add
mode: 'full' | 'filesystem'(exported as theSnapshotModetype) tocreateSnapshot/create_snapshot. With'filesystem', only the filesystem is persisted: the snapshot is smaller and faster to take, and sandboxes created from it cold-boot (start fresh from disk) instead of restoring memory. The source sandbox keeps running either way. Omitted, the API default (a full memory snapshot) applies.pause()and thelifecycle.onTimeout/lifecycle["on_timeout"]pause object form accept the samemode. TheirkeepMemory/keep_memoryoption is deprecated in favor of it (keepMemory: falseismode: 'filesystem') and keeps working; passing both is anInvalidArgumentError/InvalidArgumentException.
Patch Changes
- 0894595: Remove dead empty-chunk guards from command output handling; envd never sends empty output chunks, so behavior is unchanged.