e2b@2.55.0
E2B 2.55.0 introduces a new snapshot mode option ('full' vs 'filesystem'), deprecating the legacy keepMemory flag while offering faster disk-only snapshot capabilities.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
E2B version 2.55.0 introduces several minor and patch updates: - Added mode: 'full' | 'filesystem' (exported as SnapshotMode ) to createSnapshot , pause() , and lifecycle.onTimeout pause configurations. - In 'filesystem' mode, only disk state is saved, leading to faster and smaller snapshots where newly created sandboxes cold-boot rather than restoring memory state. The source sandbox remains running under both modes. Omitting mode defaults to full memory snapshots. - The legacy keepMemory parameter is now deprecated in favor of mode ( keepMemory: false maps to mode: 'filesystem' ). Supplying both properties results in an InvalidArgumentError / InvalidArgumentException . - Removed redundant empty-chunk guards from command output handling without altering runtime behavior.
可执行摘要
E2B version 2.55.0 adds mode: 'full' | 'filesystem' (SnapshotMode) to createSnapshot , pause() , and timeout lifecycle pause options. Setting mode: 'filesystem' persists only the disk (cold-booting upon restore). The previous keepMemory setting is deprecated, and dead empty-chunk guards were removed from command output handling.
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Migrate existing usage of keepMemory in pause() or lifecycle.onTimeout to the new mode: 'full' | 'filesystem' configuration.
- Avoid specifying both keepMemory and mode simultaneously to prevent InvalidArgumentError exceptions.
- Evaluate whether snapshot workflows benefit from faster disk-only persists using mode: 'filesystem' .