AS AgentScopeAPI 手册 / API Reference

CommandLane

public enum CommandLane
源码Source io/agentscope/harness/coding/session/CommandLane.java:26–42

定义命令 Lane相关取值的枚举。位于 io.agentscope.harness.coding.session 包。核心成员包括 MAIN、SUBAGENT、NESTED。

Scheduling lane for subagent / main work, aligned with OpenClaw gateway CommandLane semantics.

AgentStateStore serialization (one embedded run at a time per sessionKey) is implemented separately via per-session locks; lanes bound global concurrency across sessions (e.g. cap parallel subagent runs process-wide).

枚举常量摘要Enum Constant Summary

常量Constant说明Description
MAIN
执行主相关操作。
Primary user-facing / default agent turns.
SUBAGENT
执行子智能体相关操作。
Background subagent runs (`sessions_spawn` child work).
NESTED
执行 `NESTED` 方法。
Nested / inner hops that must not hold the parent lane slot (avoids deadlock in layered scheduling).

枚举常量详情Enum Constant Detail

MAIN

MAIN
staticfinal

执行主相关操作。

Primary user-facing / default agent turns.

源码Source io/agentscope/harness/coding/session/CommandLane.java:29

SUBAGENT

SUBAGENT
staticfinal

执行子智能体相关操作。

Background subagent runs (sessions_spawn child work).

源码Source io/agentscope/harness/coding/session/CommandLane.java:35

NESTED

NESTED
staticfinal

执行 NESTED 方法。

Nested / inner hops that must not hold the parent lane slot (avoids deadlock in layered scheduling).

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