EnvironmentTypes
public final class EnvironmentTypes
io/agentscope/builder/web/managed/EnvironmentTypes.java:24–45环境类型,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.web.managed 包。核心成员包括 TYPE_LOCAL、TYPE_SANDBOX、TYPE_REMOTE、TYPE_SELF_HOSTED、RESOURCE_TYPE、VALID_TYPES。
Environment template type constants, shared across planes. The control plane owns environment lifecycle; the data plane reads these types when building agents and acquiring hands leases.
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
TYPE_LOCALstaticfinal | String | 类型本地字段。 Local host filesystem hands. |
TYPE_SANDBOXstaticfinal | String | 类型沙箱字段。 Cloud-equivalent Docker hands (E2B sandbox). |
TYPE_REMOTEstaticfinal | String | 类型远程字段。 Distributed KV filesystem, no shell. |
TYPE_SELF_HOSTEDstaticfinal | String | 类型自身托管字段。 Worker-owned hands via `externalSandbox` (self-hosted environment workers). |
RESOURCE_TYPEstaticfinal | String | 资源类型字段。 ACL resource type used for environment share checks. |
VALID_TYPESstaticfinal | Set<String> | 有效类型字段。 The VALID TYPES field. |
字段详情Field Detail
TYPE_LOCAL
public static final String TYPE_LOCAL
类型本地字段。声明为 public static final String TYPE_LOCAL。
Local host filesystem hands.
io/agentscope/builder/web/managed/EnvironmentTypes.java:27TYPE_SANDBOX
public static final String TYPE_SANDBOX
类型沙箱字段。声明为 public static final String TYPE_SANDBOX。
Cloud-equivalent Docker hands (E2B sandbox).
io/agentscope/builder/web/managed/EnvironmentTypes.java:30TYPE_REMOTE
public static final String TYPE_REMOTE
类型远程字段。声明为 public static final String TYPE_REMOTE。
Distributed KV filesystem, no shell.
io/agentscope/builder/web/managed/EnvironmentTypes.java:33TYPE_SELF_HOSTED
public static final String TYPE_SELF_HOSTED
类型自身托管字段。声明为 public static final String TYPE_SELF_HOSTED。
Worker-owned hands via externalSandbox (self-hosted environment workers).
io/agentscope/builder/web/managed/EnvironmentTypes.java:36RESOURCE_TYPE
public static final String RESOURCE_TYPE
资源类型字段。声明为 public static final String RESOURCE_TYPE。
ACL resource type used for environment share checks.
io/agentscope/builder/web/managed/EnvironmentTypes.java:39VALID_TYPES
public static final Set<String> VALID_TYPES
有效类型字段。声明为 public static final Set VALID_TYPES。
The VALID TYPES field.
io/agentscope/builder/web/managed/EnvironmentTypes.java:41–42