feat: add sessions_spawn sub-agent tool

This commit is contained in:
Peter Steinberger
2026-01-06 08:41:45 +01:00
parent 952657d55c
commit a279bcfeb1
14 changed files with 842 additions and 86 deletions

View File

@@ -671,6 +671,10 @@ export async function startGatewayServer(
>();
setCommandLaneConcurrency("cron", cfgAtStart.cron?.maxConcurrentRuns ?? 1);
setCommandLaneConcurrency("main", cfgAtStart.agent?.maxConcurrent ?? 1);
setCommandLaneConcurrency(
"subagent",
cfgAtStart.agent?.subagents?.maxConcurrent ?? 1,
);
const cronLogger = getChildLogger({
module: "cron",
@@ -1757,6 +1761,10 @@ export async function startGatewayServer(
setCommandLaneConcurrency("cron", nextConfig.cron?.maxConcurrentRuns ?? 1);
setCommandLaneConcurrency("main", nextConfig.agent?.maxConcurrent ?? 1);
setCommandLaneConcurrency(
"subagent",
nextConfig.agent?.subagents?.maxConcurrent ?? 1,
);
if (plan.hotReasons.length > 0) {
logReload.info(