SessionKind
public enum SessionKind
源码Source
io/agentscope/harness/coding/session/SessionKind.java:19–34定义会话种类相关取值的枚举。位于 io.agentscope.harness.coding.session 包。核心成员包括 getValue、SUBAGENT、MAIN、REVIEWER。
AgentStateStore classification, matching OpenClaw session kinds.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
SUBAGENT | 执行子智能体相关操作。 Performs the SUBAGENT operation. |
MAIN | 执行主相关操作。 Performs the MAIN operation. |
REVIEWER | 执行 `REVIEWER` 方法。 Reviewer agent session — runs independently from the main coding session. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getValue() | 获取值。 Returns the value. |
枚举常量详情Enum Constant Detail
SUBAGENT
SUBAGENT("subagent")
staticfinal
执行子智能体相关操作。
Performs the SUBAGENT operation.
源码Source
io/agentscope/harness/coding/session/SessionKind.java:20MAIN
MAIN("main")
staticfinal
执行主相关操作。
Performs the MAIN operation.
源码Source
io/agentscope/harness/coding/session/SessionKind.java:21REVIEWER
REVIEWER("reviewer")
staticfinal
执行 REVIEWER 方法。
Reviewer agent session — runs independently from the main coding session.
源码Source
io/agentscope/harness/coding/session/SessionKind.java:23方法详情Method Detail
getValue
public String getValue()
获取值。
Returns the value.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/harness/coding/session/SessionKind.java:31–33