mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Desktop receives task lifecycle events for local subagents in addition to the visible Agent tool call. Rendering those events as standalone transcript cards exposed internal task types such as local_agent and duplicated the Agent surface. The store now keeps agent lifecycle state for Agent tool notifications without inserting separate transcript background cards, while non-agent background work remains visible with user-facing labels. The long workspace preview test now has a wider timeout so coverage mode does not fail a behaviorally passing case. Constraint: CLI task events use internal task_type values such as local_agent and local_bash. Rejected: Rename local_agent in the standalone card | still leaves duplicate Agent and task cards for one subagent. Confidence: high Scope-risk: moderate Directive: Do not render local_agent or remote_agent as standalone transcript cards unless the Agent tool card no longer exists. Tested: bun run verify passed=8 failed=0 skipped=2 Not-tested: Live provider-backed desktop session smoke.