AS AgentScopeAPI 手册 / API Reference

ProjectionPayload

public record ProjectionPayload(String hash, byte[] tarBytes, int fileCount)
源码Source io/agentscope/harness/agent/sandbox/WorkspaceProjectionApplier.java:155

承载 Projection 负载数据的记录类型。位于 io.agentscope.harness.agent.sandbox 包。核心成员包括 hash、tarBytes、fileCount。

Projection result used at sandbox start.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
hashString
执行 `hash` 方法。
deterministic hash over projected file paths and bytes
tarBytesbyte[]
执行 `tarBytes` 方法。
tar archive containing projected files
fileCountint
执行文件数量相关操作。
number of projected files

记录组件详情Record Component Detail

hash

String hash

执行 hash 方法。

deterministic hash over projected file paths and bytes

源码Source io/agentscope/harness/agent/sandbox/WorkspaceProjectionApplier.java:155

tarBytes

byte[] tarBytes

执行 tarBytes 方法。

tar archive containing projected files

源码Source io/agentscope/harness/agent/sandbox/WorkspaceProjectionApplier.java:155

fileCount

int fileCount

执行文件数量相关操作。

number of projected files

源码Source io/agentscope/harness/agent/sandbox/WorkspaceProjectionApplier.java:155
基于官方固定版本源码静态生成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.