From 12f570e56f0e86887c197d4872a5344640955cf9 Mon Sep 17 00:00:00 2001 From: SHINE-six Date: Sun, 15 Mar 2026 15:59:49 +0800 Subject: [PATCH] fix(tools): improve description clarity for SpawnStatusTool regarding task context --- pkg/tools/spawn_status.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/tools/spawn_status.go b/pkg/tools/spawn_status.go index e2aa74d7d..416fd2226 100644 --- a/pkg/tools/spawn_status.go +++ b/pkg/tools/spawn_status.go @@ -29,8 +29,9 @@ func (t *SpawnStatusTool) Description() string { "Returns a list of all subagents and their current state " + "(running, completed, failed, or canceled), or retrieves details " + "for a specific subagent task when task_id is provided. " + - "Results are scoped to the current conversation when a channel/chat " + - "context is available; without context (e.g. CLI), all tasks are listed." + "Results are scoped to the current conversation's channel and chat ID; " + + "all tasks are listed only when no channel/chat context is injected " + + "(e.g. direct programmatic calls via Execute)." } func (t *SpawnStatusTool) Parameters() map[string]any {