Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(ui): show task context for sessions_spawn in chat UI
Jiayuan Zhang4e5c99a97f76
diff --git a/packages/ui/src/components/tool-call-item.tsx b/packages/ui/src/components/tool-call-item.tsxindex db93c03ee3..32888fae8d 100644--- a/packages/ui/src/components/tool-call-item.tsx+++ b/packages/ui/src/components/tool-call-item.tsx@@ -81,6 +81,12 @@ function getSubtitle(toolName: string, args?: Record<string, unknown>): string {const ticker = params?.ticker ? String(params.ticker).toUpperCase() : ""return ticker ? `${action} ${ticker}` : action}+ case "sessions_spawn": {+ const label = args.label ? String(args.label) : ""+ if (label) return label.length > 60 ? label.slice(0, 57) + "…" : label+ const task = String(args.task ?? "")+ return task.length > 60 ? task.slice(0, 57) + "…" : task+ }default:return ""}@@ -100,6 +106,7 @@ const RUNNING_LABELS: Record<string, string> = {web_search: "searching…",web_fetch: "fetching…",data: "fetching…",+ sessions_spawn: "spawning…",}/** Stats derived from tool result content */