mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 21:30:21 +00:00
fix: support default subagent allowlists (#59944) (thanks @hclsys)
This commit is contained in:
@@ -278,6 +278,8 @@ export type AgentDefaultsConfig = {
|
||||
maxConcurrent?: number;
|
||||
/** Sub-agent defaults (spawned via sessions_spawn). */
|
||||
subagents?: {
|
||||
/** Default allowlist of target agent ids for sessions_spawn. Use "*" to allow any. */
|
||||
allowAgents?: string[];
|
||||
/** Max concurrent sub-agent runs (global lane: "subagent"). Default: 1. */
|
||||
maxConcurrent?: number;
|
||||
/** Maximum depth allowed for sessions_spawn chains. Default behavior: 1 (no nested spawns). */
|
||||
|
||||
Reference in New Issue
Block a user