RemoteEventType
public enum RemoteEventType
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:24–42定义远程事件类型的枚举。位于 io.agentscope.harness.agent.subagent.protocol 包。核心成员包括 RUN_STARTED、RUN_FINISHED、RUN_ERROR、TEXT_DELTA、THINKING_DELTA、TOOL_CALL_START。
Stable wire event types for remote subagent streaming over Agent Protocol.
These values must remain backward-compatible across versions; unknown types should be ignored by older clients.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
RUN_STARTED | 运行已启动。 Runs the STARTED. |
RUN_FINISHED | 运行FINISHED。 Runs the FINISHED. |
RUN_ERROR | 运行错误。 Runs the ERROR. |
TEXT_DELTA | 执行文本增量相关操作。 Performs the TEXT DELTA operation. |
THINKING_DELTA | 执行THINKING 增量相关操作。 Performs the THINKING DELTA operation. |
TOOL_CALL_START | 执行工具调用启动相关操作。 Performs the TOOL CALL START operation. |
TOOL_CALL_END | 执行工具调用结束相关操作。 Performs the TOOL CALL END operation. |
TOOL_RESULT | 执行工具结果相关操作。 Performs the TOOL RESULT operation. |
REQUIRE_CONFIRM | 执行REQUIRE 确认相关操作。 Performs the REQUIRE CONFIRM operation. |
STATUS | 执行状态相关操作。 Performs the STATUS operation. |
AGENT_EVENT | 执行智能体事件相关操作。 Carries an `io.agentscope.core.event.AgentEvent` that has no dedicated wire type, fully
serialized in `RemoteAgentEvent#getPayload()`. |
枚举常量详情Enum Constant Detail
RUN_STARTED
RUN_STARTED
运行已启动。
Runs the STARTED.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:25RUN_FINISHED
RUN_FINISHED
运行FINISHED。
Runs the FINISHED.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:26RUN_ERROR
RUN_ERROR
运行错误。
Runs the ERROR.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:27TEXT_DELTA
TEXT_DELTA
执行文本增量相关操作。
Performs the TEXT DELTA operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:28THINKING_DELTA
THINKING_DELTA
执行THINKING 增量相关操作。
Performs the THINKING DELTA operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:29TOOL_CALL_START
TOOL_CALL_START
执行工具调用启动相关操作。
Performs the TOOL CALL START operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:30TOOL_CALL_END
TOOL_CALL_END
执行工具调用结束相关操作。
Performs the TOOL CALL END operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:31TOOL_RESULT
TOOL_RESULT
执行工具结果相关操作。
Performs the TOOL RESULT operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:32REQUIRE_CONFIRM
REQUIRE_CONFIRM
执行REQUIRE 确认相关操作。
Performs the REQUIRE CONFIRM operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:33STATUS
STATUS
执行状态相关操作。
Performs the STATUS operation.
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:34AGENT_EVENT
AGENT_EVENT
执行智能体事件相关操作。
Carries an io.agentscope.core.event.AgentEvent that has no dedicated wire type, fully serialized in RemoteAgentEvent#getPayload().
io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:41