包package 2.x
service-dataplane
AgentScope Java - Service Data Plane · 2.0.4
Data plane: session turns, HarnessAgent runtime, SSE events, HITL, work queue server
| groupIdGroupId | io.agentscope |
|---|---|
| 版本Version | 2.0.4 |
| 版本线Line | 2.x |
| 分类Category | service |
| 包Packages | 9 |
| 类型Types | 46 top-level / 66 total |
包Packages
类型Types
| 类型Type | 种类Kind | 包Package | 说明Description |
|---|---|---|---|
DataApp | 类class | io.agentscope.builder | 数据应用,承载智能体的部署、调度与服务化运行。 Entry point for the builder **data plane**. |
ControlPlaneClient | 类class | io.agentscope.builder.control | 控制面客户端,封装与远端服务的连接和调用。 Data-plane HTTP client for control-plane (aistiod) internal APIs. |
ControlPlaneSessionEventMirror | 类class | io.agentscope.builder.control | 控制面会话事件镜像,承载智能体的部署、调度与服务化运行。 Projects data-plane session events into the aistiod runtime event store. |
DataPlaneSelfRegistration | 类class | io.agentscope.builder.control | 数据面自身注册,承载智能体的部署、调度与服务化运行。 Optionally self-registers this Java data plane with aistiod and heartbeats so the control plane
can poll `/agentscope/*` without Kubernetes discovery. |
SessionListItem | 记录record | io.agentscope.builder.control | 承载会话列表条目数据的记录类型。 Lightweight session row from `GET /api/internal/sessions` on the control plane (product
schema). |
SessionResolveResult | 记录record | io.agentscope.builder.control | 承载会话解析结果数据的记录类型。 One-shot session materialization returned by `GET /api/internal/sessions/{id}/resolve` on
the control plane (aistiod). |
AgentScopeContractController | 类class | io.agentscope.builder.web.api | AgentScope 契约控制器,承载智能体的部署、调度与服务化运行。 aistio data-plane HTTP contract (`/agentscope/*`). |
DataSessionApiController | 类class | io.agentscope.builder.web.api | 数据会话 API 控制器,承载智能体的部署、调度与服务化运行。 Data-plane session API: inbound user events (message / interrupt / tool confirmation / tool
results), the persisted event log, SSE streaming and hands metrics. |
HandsObservabilityController | 类class | io.agentscope.builder.web.api | Hands 可观测性控制器,承载智能体的部署、调度与服务化运行。 Observability for Hands workers, turn coordination, and lease health. |
InternalManagedAttemptController | 类class | io.agentscope.builder.web.api | 内部托管尝试控制器,承载智能体的部署、调度与服务化运行。 Fenced control-plane abort delivery for one physical Managed AgentTask Attempt. |
InternalToolConfirmationController | 类class | io.agentscope.builder.web.api | 内部工具确认控制器,承载智能体的部署、调度与服务化运行。 Internal control-plane callback that resolves one fully fenced Managed AgentTask HITL ticket. |
SelfHostedWorkerController | 类class | io.agentscope.builder.web.api | 自身托管工作进程控制器,承载智能体的部署、调度与服务化运行。 Outbound-worker data plane for `self_hosted`: pending tool_use listing, tool_result
resume, and skills download. |
WorkerEnvironmentController | 类class | io.agentscope.builder.web.api | 工作进程环境控制器,承载智能体的部署、调度与服务化运行。 REST surface for out-of-process Environment Workers on `self_hosted` environments. |
HarnessAgentBuildService | 类class | io.agentscope.builder.web.catalog | Harness 智能体构建服务,承载智能体的部署、调度与服务化运行。 Data-plane agent factory: instantiates (and caches) `HarnessAgent` instances for managed
sessions. |
ManagedDefinitionMaterializer | 类class | io.agentscope.builder.web.catalog | 托管定义物化器,承载智能体的部署、调度与服务化运行。 Materializes a CP definition into a session-private workspace, including deletions. |
DataPlaneConfig | 类class | io.agentscope.builder.web.config | 数据面配置,保存相关配置项。 Bean assembly for the builder data plane. |
DataSecurityConfig | 类class | io.agentscope.builder.web.config | 数据 Security 配置,保存相关配置项。 WebFlux Security configuration for the builder data plane. |
DpSchemaInitializer | 类class | io.agentscope.builder.web.config | Dp 模式 Initializer,承载智能体的部署、调度与服务化运行。 Ensures the dataplane JDBC schema `dp` exists before Hibernate validates / updates tables. |
CoordinationReconciler | 类class | io.agentscope.builder.web.coord | Coordination Reconciler,承载智能体的部署、调度与服务化运行。 Reconciles expired turn leases and HITL tickets so multi-replica Brain fleets do not leave
sessions stuck in `running` / `requires_action`. |
TurnLeaseService | 类class | io.agentscope.builder.web.coord | 轮次 Lease 服务,承载智能体的部署、调度与服务化运行。 Acquires and heartbeats the in-flight turn lease for a managed session. |
AgentRunRegistry | 类class | io.agentscope.builder.web.managed | 智能体运行注册表,承载智能体的部署、调度与服务化运行。 Local execution ownership. |
DataEnvironmentService | 类class | io.agentscope.builder.web.managed | 数据环境服务,承载智能体的部署、调度与服务化运行。 Data-plane read access to environment templates. |
DataSessionService | 类class | io.agentscope.builder.web.managed | 数据会话服务,承载智能体的部署、调度与服务化运行。 Data-plane session service: status transitions, override merges and turn execution for sessions
that were created (and version-pinned) by the control plane. |
EnvironmentSpecFactory | 类class | io.agentscope.builder.web.managed | 环境规格工厂,承载智能体的部署、调度与服务化运行。 Maps Managed Agents `EnvironmentDto` onto harness filesystem / sandbox specs. |
EnvironmentWorkQueue | 类class | io.agentscope.builder.web.managed | 环境 Work 队列,承载智能体的部署、调度与服务化运行。 Hands work-queue facade. |
ExternalSandboxRegistry | 类class | io.agentscope.builder.web.managed | 外部沙箱注册表,承载智能体的部署、调度与服务化运行。 Live `sessionId -> Sandbox` handles registered by an Environment Worker (a remote
worker calling the worker REST API). |
HandsLeaseService | 类class | io.agentscope.builder.web.managed | Hands Lease 服务,承载智能体的部署、调度与服务化运行。 Brokers hands work-queue signaling for `self_hosted` managed sessions. |
ManagedMemoryTools | 类class | io.agentscope.builder.web.managed | 托管记忆工具,封装可被智能体调用的能力。 Direct CP memory operations also usable when filesystem tools execute on an external Worker. |
ManagedSessionIdentity | 记录record | io.agentscope.builder.web.managed | 承载托管会话身份数据的记录类型。 Root Session identity retained when a subagent uses its own conversation session key. |
ManagedTurnContext | 记录record | io.agentscope.builder.web.managed | 承载托管轮次上下文数据的记录类型。 Immutable managed Attempt and continuation lease captured at physical-turn admission. |
MemoryDocumentStore | 接口interface | io.agentscope.builder.web.managed | 定义记忆文档存储契约的接口。 Live document access, scoped to one authorized session mount. |
MemoryMountService | 类class | io.agentscope.builder.web.managed | 记忆 Mount 服务,承载智能体的部署、调度与服务化运行。 Resolves session-bound memory stores into `MemoryStoreFilesystem` routes mounted under
`memory-stores/{storeName}/` in the harness filesystem (see `MemoryStoreFilesystem#routePrefix` and `EnvironmentSpecFactory#applyMemoryStoreRoutes`). |
MemoryStoreFilesystem | 类class | io.agentscope.builder.web.managed | 记忆存储文件系统,承载智能体的部署、调度与服务化运行。 `AbstractFilesystem` view over a single `MemoryStoreService` store, mounted under
`memory-stores/{storeName}/` via `io.agentscope.harness.agent.HarnessAgent.Builder#filesystemRoute`. |
SessionEventMapper | 类class | io.agentscope.builder.web.managed | 会话事件 Mapper,承载智能体的部署、调度与服务化运行。 Maps harness `AgentEvent`s onto persisted session event types / payloads and stream-only
preview frames. |
SessionEventPreviewBus | 类class | io.agentscope.builder.web.managed | 会话事件预览总线,承载智能体的部署、调度与服务化运行。 Process-local stream-only preview bus for `event_start` / `event_delta`. |
SessionResourceMountService | 类class | io.agentscope.builder.web.managed | 会话资源 Mount 服务,承载智能体的部署、调度与服务化运行。 Mounts session-level `resources[]` entries (see `
ManagedSessionService.CreateSessionRequest#resources`) into a managed session's workspace at
agent-build time. |
SessionTurnRunner | 类class | io.agentscope.builder.web.managed | 会话轮次运行器,承载智能体的部署、调度与服务化运行。 Executes a managed session turn against the harness agent and records session events. |
VaultCredentialResolver | 类class | io.agentscope.builder.web.managed | Vault 凭证解析器,承载智能体的部署、调度与服务化运行。 Resolves vault credentials into MCP `ToolsConfig` env substitutions so session vault
mounts actually reach MCP server processes. |
WorkspaceSandbox | 类class | io.agentscope.builder.web.managed | 工作区沙箱,承载智能体的部署、调度与服务化运行。 Docker-less `Sandbox` backed by a plain host directory, registered by an Environment
Worker (via the worker REST API) as the
Priority-1 `externalSandbox` for a `self_hosted` managed session. |
PendingHandsToolService | 类class | io.agentscope.builder.web.managed.selfhosted | 待处理 Hands 工具服务,承载智能体的部署、调度与服务化运行。 Resolves pending `agent.tool_use` events that still lack a matching tool result. |
SelfHostedToolSchemas | 类class | io.agentscope.builder.web.managed.selfhosted | 自身托管工具模式,承载智能体的部署、调度与服务化运行。 Schema definitions for the self-hosted external toolset. |
SkillsBundleService | 类class | io.agentscope.builder.web.managed.selfhosted | 技能 Bundle 服务,承载智能体的部署、调度与服务化运行。 Packs agent skills into a Worker-downloadable manifest (Claude-style skills sync for
self-hosted). |
ToolConfirmationCoordinator | 类class | io.agentscope.builder.web.toolbus | 工具确认 Coordinator,承载智能体的部署、调度与服务化运行。 Coordinates human-in-the-loop tool confirmations. |
ToolConfirmationMiddleware | 类class | io.agentscope.builder.web.toolbus | 工具确认中间件,在智能体执行流程中提供横切扩展。 Harness middleware that enforces per-tool permission policies. |
ToolEventBus | 类class | io.agentscope.builder.web.toolbus | 工具事件总线,承载智能体的部署、调度与服务化运行。 Singleton in-memory event bus for tool-call events emitted by HarnessAgent hooks. |
ToolNotificationMiddleware | 类class | io.agentscope.builder.web.toolbus | 工具通知中间件,在智能体执行流程中提供横切扩展。 `MiddlewareBase` implementation that publishes tool-call events to `ToolEventBus`
before each tool-call execution, enabling real-time SSE streaming of tool calls in
`io.agentscope.builder.web.api.DataSessionApiController`. |