Forward a spawned subagent's progress to the client (the original's AgentProgressLine). Wired onto tool_context.agent_progress_emit.
(self, ev: dict)
| 497 | return [] |
| 498 | |
| 499 | def _emit_agent_progress(self, ev: dict) -> None: |
| 500 | """Forward a spawned subagent's progress to the client (the original's |
| 501 | AgentProgressLine). Wired onto tool_context.agent_progress_emit.""" |
| 502 | self._emit({"type": "agent_progress", "session_id": self.session_id, **ev}) |
| 503 | |
| 504 | def _save_session(self) -> None: |
| 505 | """Persist the conversation to disk so it can be /resume'd. Best-effort, |