Agent 基础设施官方发布自动监测

e2b@2.64.0

E2B released v2.64.0, introducing resizable templates, custom shell execution in commands.run, OAuth authentication support, and SDK methods for template management alongside a breaking CLI JSON output change.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

E2B 2.64.0 includes several feature additions and a breaking CLI output change. Key updates include: - Resizable Templates: Templates can be built with maxCpuCount, enabling sandboxes to specify cpuCount on creation. The CLI template list now displays a 'Max vCPUs' column. - Custom Shell Execution: Added a shell option to commands.run (e.g., shell: '/bin/sh', '-c' ), while maintaining default '/bin/bash -l -c'. - OAuth Authentication: API clients now accept OAuth Bearer tokens via Authorization headers in apiHeaders (JS) or api headers (Python), along with an X-Team-ID header. - SDK Template Management: Introduced Template.list() returning TemplatePaginator and Template.delete(nameOrId). Sandbox.deleteSnapshot shares this implementation and raises TemplateError/TemplateException on failure. - Breaking Change: 'e2b template list -f json' outputs SDK TemplateInfo objects instead of raw API responses, altering property keys (e.g., templateId instead of templateID, names instead of aliases) and removing the deprecated Created by field. - Dependency updates include @connectrpc/connect and @connectrpc/connect-web to ^2.3.0 for HTTP/2 stream cleanup/cancellation fixes.

Agent 解析

可执行摘要

E2B v2.64.0 introduces resizable templates with maxCpuCount/cpuCount selection, custom shell parameter in commands.run, OAuth Bearer token auth via apiHeaders, and Template.list()/Template.delete() methods. Breaking: 'e2b template list -f json' field schema changed to match SDK TemplateInfo (e.g. templateId instead of templateID) and dropped the creator email field.

Agent 实用度
94/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Update any scripts or automation parsing 'e2b template list -f json' to use the new TemplateInfo schema (templateId, buildId, names) and remove dependencies on the deprecated creator email.
  • Update Template and Snapshot deletion logic to catch TemplateError/TemplateException subclasses where applicable.
  • Adopt custom shell options in commands.run or OAuth Bearer headers with X-Team-ID where required.
分类

标签与路由

sandboxcode-executionagents
相关信号

继续阅读