AS AgentScopeAPI 手册 / API Reference

SessionResolveResult

@JsonIgnoreProperties(ignoreUnknown = true) public record SessionResolveResult( ManagedSessionDto session, Map<String, Object> agentSnapshot, String workspacePath, String workspaceId, Integer workspaceVersion, Map<String, String> definitionFiles, EnvironmentDto environment, List<Map<String, Object>> vaultCredentials, List<Map<String, Object>> memoryMounts, Map<String, Object> teamContext, Map<String, Object> executionContext)
源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

承载会话解析结果数据的记录类型。位于 io.agentscope.builder.control 包。核心成员包括 session、agentSnapshot、workspacePath、workspaceId、workspaceVersion、definitionFiles。

One-shot session materialization returned by GET /api/internal/sessions/{id}/resolve on the control plane (aistiod).

记录组件摘要Record Component Summary

组件Component类型Type说明Description
sessionManagedSessionDto
执行会话相关操作。
Performs the session operation.
agentSnapshotMap<String, Object>
执行智能体快照相关操作。
Performs the agent snapshot operation.
workspacePathString
执行工作区路径相关操作。
Performs the workspace path operation.
workspaceIdString
执行工作区标识相关操作。
Performs the workspace id operation.
workspaceVersionInteger
执行工作区版本相关操作。
Performs the workspace version operation.
definitionFilesMap<String, String>
执行定义文件相关操作。
Performs the definition files operation.
environmentEnvironmentDto
执行环境相关操作。
Performs the environment operation.
vaultCredentialsList<Map<String, Object>>
执行 `vaultCredentials` 方法。
Performs the vault credentials operation.
memoryMountsList<Map<String, Object>>
执行 `memoryMounts` 方法。
Performs the memory mounts operation.
teamContextMap<String, Object>
执行团队上下文相关操作。
Performs the team context operation.
executionContextMap<String, Object>
执行执行上下文相关操作。
Performs the execution context operation.

记录组件详情Record Component Detail

session

ManagedSessionDto session

执行会话相关操作。

Performs the session operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

agentSnapshot

Map<String, Object> agentSnapshot

执行智能体快照相关操作。

Performs the agent snapshot operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

workspacePath

String workspacePath

执行工作区路径相关操作。

Performs the workspace path operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

workspaceId

String workspaceId

执行工作区标识相关操作。

Performs the workspace id operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

workspaceVersion

Integer workspaceVersion

执行工作区版本相关操作。

Performs the workspace version operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

definitionFiles

Map<String, String> definitionFiles

执行定义文件相关操作。

Performs the definition files operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

environment

EnvironmentDto environment

执行环境相关操作。

Performs the environment operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

vaultCredentials

List<Map<String, Object>> vaultCredentials

执行 vaultCredentials 方法。

Performs the vault credentials operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

memoryMounts

List<Map<String, Object>> memoryMounts

执行 memoryMounts 方法。

Performs the memory mounts operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

teamContext

Map<String, Object> teamContext

执行团队上下文相关操作。

Performs the team context operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40

executionContext

Map<String, Object> executionContext

执行执行上下文相关操作。

Performs the execution context operation.

源码Source io/agentscope/builder/control/SessionResolveResult.java:28–40
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.