Filter ProcessingEnd from subagent and workflow event forwarding

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-23 13:32:31 -04:00
parent 4f83c181a4
commit dd75880cdd
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -86,6 +86,7 @@ impl SubAgentManager {
| AgentEvent::AssistantTextStart
| AgentEvent::SessionStarted
| AgentEvent::SessionEnded
| AgentEvent::ProcessingEnd
| AgentEvent::SkillExpanded { .. }
) {
continue;

View file

@ -102,6 +102,7 @@ fn spawn_event_forwarder(
&event.event,
AgentEvent::SessionStarted
| AgentEvent::SessionEnded
| AgentEvent::ProcessingEnd
| AgentEvent::AssistantTextStart
| AgentEvent::AssistantOutputReplace { .. }
| AgentEvent::TextDelta { .. }