fix(hub): render Feishu checklist from TaskCreate/TaskUpdate

Headless Claud agents expose TaskCreate/TaskUpdate rather than TodoWrite.
Fold those tool events into the live card checklist, pass real tool names
and inputs through tool-result, and hide Task* noise once the panel is up.
This commit is contained in:
2026-07-23 23:21:34 +08:00
parent 326224b778
commit 74f5c4a02e
6 changed files with 282 additions and 27 deletions
+1 -1
View File
@@ -581,7 +581,7 @@ export function makeTriggerHandler(deps: TriggerDeps): TriggerHandler {
card.onToolEnd({
toolName: event.toolName,
toolUseId: event.toolUseId,
input: undefined,
input: event.input,
result: event.result,
error: event.isError ? event.result : undefined,
durationMs: event.durationMs,