e2b/abx-provider.toml

View on GitHub ↗
e2b/abx-provider.toml
manifest_version = 1

[provider]
id          = "e2b"
name        = "E2B"
name_zh     = "E2B"
version     = "0.2.0"
description = "E2B cloud sandboxes. Set ABX_E2B_API_KEY. Does not read the Express key."
license     = "Apache-2.0"

[compat]
protocol = "node/1"
requires = { sdk = ">=0.3", cli = ">=0.3" }

[runtime]
kind  = "node"
entry = "provider.mjs"

[features]
supported = [
  "sandbox.lifecycle", "sandbox.timeout", "sandbox.pause",
  "exec.run", "exec.stream", "process.manage", "files.rw", "files.watch",
  "code.interpret", "ports.url",
]

[security]
network = ["api.e2b.app", "e2b.app"]

[core]
inherit = []

[config.fields.base_url]
type           = "url"
default        = "https://api.e2b.app"
description    = "E2B platform API origin. Requests go to /sandboxes."
description_zh = "E2B 平台 API 源站。请求发到 /sandboxes。"

[config.fields.domain]
type           = "string"
default        = "e2b.app"
description    = "Domain suffix for https://{port}-{sandboxID}.{domain}."
description_zh = "envd 主机名 https://{port}-{sandboxID}.{domain} 的域名后缀。"

[config.fields.api_key]
type           = "string"
secret         = true
credential     = true
description    = "Value of the X-API-Key header. Set ABX_E2B_API_KEY."
description_zh = "X-API-Key 请求头。设置 ABX_E2B_API_KEY。"

[auth]
any_of = [["api_key"]]