feat: add sessionKey to dispatch options and related tools for subagent tracking

This commit is contained in:
Lauren ten Hoor
2026-02-10 16:58:37 +08:00
parent 04f4f6ebc6
commit 9e3279872a
4 changed files with 32 additions and 10 deletions

View File

@@ -165,6 +165,7 @@ export function createTaskCompleteTool(api: OpenClawPluginApi) {
to as StateLabel,
),
pluginConfig,
sessionKey: ctx.sessionKey,
});
output.autoChain = {
dispatched: true,
@@ -239,6 +240,7 @@ export function createTaskCompleteTool(api: OpenClawPluginApi) {
to as StateLabel,
),
pluginConfig,
sessionKey: ctx.sessionKey,
});
output.autoChain = {
dispatched: true,