AS AgentScopeAPI 手册 / API Reference

PendingCompletion

public record PendingCompletion( String runId, String childSessionKey, String requesterSessionKey, String status, String resultText, String error, long completedAtMs, String announceText)
源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

承载待处理补全数据的记录类型。位于 io.agentscope.harness.coding.session 包。核心成员包括 runId、childSessionKey、requesterSessionKey、status、resultText、error。

Best-effort completion handoff to the requester session (OpenClaw announce analogue). The #announceText() is suitable for ingestion as internal context on the parent's next turn; it is not a raw tool return from the child.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
runIdString
运行标识。
Runs the id.
childSessionKeyString
执行子级会话键相关操作。
Performs the child session key operation.
requesterSessionKeyString
执行 `requesterSessionKey` 方法。
Performs the requester session key operation.
statusString
执行状态相关操作。
Performs the status operation.
resultTextString
执行结果文本相关操作。
Performs the result text operation.
errorString
执行错误相关操作。
Performs the error operation.
completedAtMslong
执行已完成 At Ms相关操作。
Performs the completed at ms operation.
announceTextString
执行 `announceText` 方法。
Performs the announce text operation.

记录组件详情Record Component Detail

runId

String runId

运行标识。

Runs the id.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

childSessionKey

String childSessionKey

执行子级会话键相关操作。

Performs the child session key operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

requesterSessionKey

String requesterSessionKey

执行 requesterSessionKey 方法。

Performs the requester session key operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

status

String status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

resultText

String resultText

执行结果文本相关操作。

Performs the result text operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

error

String error

执行错误相关操作。

Performs the error operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

completedAtMs

long completedAtMs

执行已完成 At Ms相关操作。

Performs the completed at ms operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31

announceText

String announceText

执行 announceText 方法。

Performs the announce text operation.

源码Source io/agentscope/harness/coding/session/PendingCompletion.java:23–31
基于官方固定版本源码静态生成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.