{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_interrupt_exit_semantics.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_interrupt_exit_semantics.py"},"lines":{"text":"from comate_agent_sdk.agent.events import ExternalTurnScheduledEvent, StopEvent\n"},"line_number":5,"absolute_offset":53,"submatches":[{"match":{"text":"ExternalTurnScheduledEvent"},"start":42,"end":68},{"match":{"text":"StopEvent"},"start":70,"end":79}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_interrupt_exit_semantics.py"},"lines":{"text":"                ExternalTurnScheduledEvent(\n"},"line_number":235,"absolute_offset":6755,"submatches":[{"match":{"text":"ExternalTurnScheduledEvent"},"start":16,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_interrupt_exit_semantics.py"},"lines":{"text":"                ExternalTurnScheduledEvent(\n"},"line_number":260,"absolute_offset":7717,"submatches":[{"match":{"text":"ExternalTurnScheduledEvent"},"start":16,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_interrupt_exit_semantics.py"},"lines":{"text":"                StopEvent(reason=\"completed\"),\n"},"line_number":266,"absolute_offset":7962,"submatches":[{"match":{"text":"StopEvent"},"start":16,"end":25}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_interrupt_exit_semantics.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":113488,"human":"0.000113s"},"searches":1,"searches_with_match":1,"bytes_searched":9375,"bytes_printed":1487,"matched_lines":4,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"from comate_agent_sdk.agent.events import SessionInitEvent, StopEvent\n"},"line_number":7,"absolute_offset":91,"submatches":[{"match":{"text":"SessionInitEvent"},"start":42,"end":58},{"match":{"text":"StopEvent"},"start":60,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(SessionInitEvent(session_id=\"sid-from-event\"))\n"},"line_number":80,"absolute_offset":2424,"submatches":[{"match":{"text":"SessionInitEvent"},"start":33,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(SessionInitEvent(session_id=\"sid-1\"))\n"},"line_number":94,"absolute_offset":3004,"submatches":[{"match":{"text":"SessionInitEvent"},"start":33,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(StopEvent(reason=\"interrupted\"))\n"},"line_number":104,"absolute_offset":3458,"submatches":[{"match":{"text":"StopEvent"},"start":33,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(SessionInitEvent(session_id=\"sid-2\"))\n"},"line_number":120,"absolute_offset":4091,"submatches":[{"match":{"text":"SessionInitEvent"},"start":33,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(StopEvent(reason=\"completed\"))\n"},"line_number":127,"absolute_offset":4446,"submatches":[{"match":{"text":"StopEvent"},"start":33,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(SessionInitEvent(session_id=\"sid-3\"))\n"},"line_number":143,"absolute_offset":5070,"submatches":[{"match":{"text":"SessionInitEvent"},"start":33,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(StopEvent(reason=\"shutdown_request\"))\n"},"line_number":146,"absolute_offset":5207,"submatches":[{"match":{"text":"StopEvent"},"start":33,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(SessionInitEvent(session_id=\"sid-4\"))\n"},"line_number":163,"absolute_offset":5842,"submatches":[{"match":{"text":"SessionInitEvent"},"start":33,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        await session.push_event(StopEvent(reason=\"yielded\"))\n"},"line_number":166,"absolute_offset":5979,"submatches":[{"match":{"text":"StopEvent"},"start":33,"end":42}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":97511,"human":"0.000098s"},"searches":1,"searches_with_match":1,"bytes_searched":7321,"bytes_printed":3446,"matched_lines":10,"matches":11}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"from comate_agent_sdk.agent.events import TextEvent\n"},"line_number":5,"absolute_offset":53,"submatches":[{"match":{"text":"TextEvent"},"start":42,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"        payload = build_event_notification(TextEvent(content=\"hello\"))\n"},"line_number":34,"absolute_offset":1213,"submatches":[{"match":{"text":"TextEvent"},"start":43,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"        self.assertEqual(payload[\"params\"][\"event_type\"], \"TextEvent\")\n"},"line_number":37,"absolute_offset":1389,"submatches":[{"match":{"text":"TextEvent"},"start":59,"end":68}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":48601,"human":"0.000049s"},"searches":1,"searches_with_match":1,"bytes_searched":2291,"bytes_printed":1060,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tool_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tool_view.py"},"lines":{"text":"class TestToolEventView(unittest.TestCase):\n"},"line_number":8,"absolute_offset":149,"submatches":[{"match":{"text":"class TestToolEvent"},"start":0,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tool_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":116930,"human":"0.000117s"},"searches":1,"searches_with_match":1,"bytes_searched":6568,"bytes_printed":412,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"from comate_agent_sdk.agent.events import StopEvent, TextEvent, ToolCallEvent, ToolResultEvent, UserQuestionEvent\n"},"line_number":11,"absolute_offset":191,"submatches":[{"match":{"text":"StopEvent"},"start":42,"end":51},{"match":{"text":"TextEvent"},"start":53,"end":62},{"match":{"text":"ToolCallEvent"},"start":64,"end":77},{"match":{"text":"ToolResultEvent"},"start":79,"end":94},{"match":{"text":"UserQuestionEvent"},"start":96,"end":113}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"        if isinstance(event, ToolCallEvent):\n"},"line_number":264,"absolute_offset":8384,"submatches":[{"match":{"text":"ToolCallEvent"},"start":29,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"        if isinstance(event, ToolResultEvent):\n"},"line_number":268,"absolute_offset":8512,"submatches":[{"match":{"text":"ToolResultEvent"},"start":29,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"        if isinstance(event, UserQuestionEvent) or isinstance(event, StopEvent):\n"},"line_number":272,"absolute_offset":8646,"submatches":[{"match":{"text":"UserQuestionEvent"},"start":29,"end":46},{"match":{"text":"StopEvent"},"start":69,"end":78}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":57764,"human":"0.000058s"},"searches":1,"searches_with_match":1,"bytes_searched":9230,"bytes_printed":1754,"matched_lines":4,"matches":9}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"class ToolEventView:\n"},"line_number":434,"absolute_offset":15279,"submatches":[{"match":{"text":"class ToolEvent"},"start":0,"end":15}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":48696,"human":"0.000049s"},"searches":1,"searches_with_match":1,"bytes_searched":26179,"bytes_printed":419,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    ExternalTurnScheduledEvent,\n"},"line_number":35,"absolute_offset":1132,"submatches":[{"match":{"text":"ExternalTurnScheduledEvent"},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    PlanApprovalRequiredEvent,\n"},"line_number":36,"absolute_offset":1164,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    SessionInitEvent,\n"},"line_number":37,"absolute_offset":1195,"submatches":[{"match":{"text":"SessionInitEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    StopEvent,\n"},"line_number":38,"absolute_offset":1217,"submatches":[{"match":{"text":"StopEvent"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    TeamMessageEvent,\n"},"line_number":39,"absolute_offset":1232,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        def _on_team_message(event: TeamMessageEvent) -> None:\n"},"line_number":106,"absolute_offset":3247,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":36,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        event: ExternalTurnScheduledEvent,\n"},"line_number":678,"absolute_offset":26262,"submatches":[{"match":{"text":"ExternalTurnScheduledEvent"},"start":15,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                if isinstance(event, SessionInitEvent):\n"},"line_number":760,"absolute_offset":29319,"submatches":[{"match":{"text":"SessionInitEvent"},"start":37,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                if isinstance(event, ExternalTurnScheduledEvent) and not self._busy:\n"},"line_number":762,"absolute_offset":29448,"submatches":[{"match":{"text":"ExternalTurnScheduledEvent"},"start":37,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                if isinstance(event, PlanApprovalRequiredEvent):\n"},"line_number":776,"absolute_offset":30252,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":37,"end":62}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                if isinstance(event, StopEvent):\n"},"line_number":783,"absolute_offset":30646,"submatches":[{"match":{"text":"StopEvent"},"start":37,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                if isinstance(event, StopEvent):\n"},"line_number":801,"absolute_offset":31657,"submatches":[{"match":{"text":"StopEvent"},"start":37,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        from comate_agent_sdk.agent.events import StopEvent, TextEvent\n"},"line_number":971,"absolute_offset":38515,"submatches":[{"match":{"text":"StopEvent"},"start":50,"end":59},{"match":{"text":"TextEvent"},"start":61,"end":70}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        if isinstance(event, TextEvent) or isinstance(event, StopEvent):\n"},"line_number":973,"absolute_offset":38587,"submatches":[{"match":{"text":"TextEvent"},"start":29,"end":38},{"match":{"text":"StopEvent"},"start":61,"end":70}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        from comate_agent_sdk.agent.events import ToolResultEvent\n"},"line_number":977,"absolute_offset":38794,"submatches":[{"match":{"text":"ToolResultEvent"},"start":50,"end":65}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        if not isinstance(event, ToolResultEvent):\n"},"line_number":979,"absolute_offset":38861,"submatches":[{"match":{"text":"ToolResultEvent"},"start":33,"end":48}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":197894,"human":"0.000198s"},"searches":1,"searches_with_match":1,"bytes_searched":51440,"bytes_printed":5208,"matched_lines":16,"matches":18}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"from comate_agent_sdk.agent.events import SessionInitEvent, StopEvent\n"},"line_number":9,"absolute_offset":148,"submatches":[{"match":{"text":"SessionInitEvent"},"start":42,"end":58},{"match":{"text":"StopEvent"},"start":60,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                if isinstance(event, SessionInitEvent):\n"},"line_number":286,"absolute_offset":9617,"submatches":[{"match":{"text":"SessionInitEvent"},"start":37,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                if isinstance(event, StopEvent):\n"},"line_number":292,"absolute_offset":9850,"submatches":[{"match":{"text":"StopEvent"},"start":37,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"    def _resolve_prompt_from_stop(self, stop_event: StopEvent) -> None:\n"},"line_number":305,"absolute_offset":10416,"submatches":[{"match":{"text":"StopEvent"},"start":52,"end":61}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":65630,"human":"0.000066s"},"searches":1,"searches_with_match":1,"bytes_searched":15746,"bytes_printed":1482,"matched_lines":4,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    CompactionResultEvent,\n"},"line_number":8,"absolute_offset":138,"submatches":[{"match":{"text":"CompactionResultEvent"},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    PlanApprovalRequiredEvent,\n"},"line_number":9,"absolute_offset":165,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    StepCompleteEvent,\n"},"line_number":10,"absolute_offset":196,"submatches":[{"match":{"text":"StepCompleteEvent"},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    StopEvent,\n"},"line_number":11,"absolute_offset":219,"submatches":[{"match":{"text":"StopEvent"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    SubagentProgressEvent,\n"},"line_number":12,"absolute_offset":234,"submatches":[{"match":{"text":"SubagentProgressEvent"},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    TeamMessageEvent,\n"},"line_number":13,"absolute_offset":261,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    TextEvent,\n"},"line_number":14,"absolute_offset":283,"submatches":[{"match":{"text":"TextEvent"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    TaskUpdatedEvent,\n"},"line_number":15,"absolute_offset":298,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    ToolCallEvent,\n"},"line_number":16,"absolute_offset":320,"submatches":[{"match":{"text":"ToolCallEvent"},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"    ToolResultEvent,\n"},"line_number":17,"absolute_offset":339,"submatches":[{"match":{"text":"ToolResultEvent"},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"class TestEventRenderer(unittest.TestCase):\n"},"line_number":37,"absolute_offset":784,"submatches":[{"match":{"text":"class TestEvent"},"start":0,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        event = TeamMessageEvent(\n"},"line_number":40,"absolute_offset":939,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":16,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TeamMessageEvent(\n"},"line_number":59,"absolute_offset":1678,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TeamMessageEvent(\n"},"line_number":69,"absolute_offset":2027,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TeamMessageEvent(\n"},"line_number":93,"absolute_offset":2926,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            CompactionResultEvent(\n"},"line_number":110,"absolute_offset":3557,"submatches":[{"match":{"text":"CompactionResultEvent"},"start":12,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":132,"absolute_offset":4422,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":139,"absolute_offset":4614,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(TextEvent(content=\"assistant answer\"))\n"},"line_number":146,"absolute_offset":4794,"submatches":[{"match":{"text":"TextEvent"},"start":30,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":158,"absolute_offset":5288,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            SubagentProgressEvent(\n"},"line_number":170,"absolute_offset":5764,"submatches":[{"match":{"text":"SubagentProgressEvent"},"start":12,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":184,"absolute_offset":6262,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":197,"absolute_offset":6673,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":206,"absolute_offset":6930,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":215,"absolute_offset":7219,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(list_id=\"default\", tasks=_task_payload(10))\n"},"line_number":228,"absolute_offset":7626,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(\n"},"line_number":240,"absolute_offset":8061,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(\n"},"line_number":261,"absolute_offset":8908,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(\n"},"line_number":287,"absolute_offset":10185,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(\n"},"line_number":317,"absolute_offset":11207,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":340,"absolute_offset":11984,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":351,"absolute_offset":12380,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":374,"absolute_offset":13299,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":381,"absolute_offset":13495,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(\n"},"line_number":398,"absolute_offset":14111,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":416,"absolute_offset":14904,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(StopEvent(reason=\"interrupted\"))\n"},"line_number":423,"absolute_offset":15133,"submatches":[{"match":{"text":"StopEvent"},"start":30,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":434,"absolute_offset":15636,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            StepCompleteEvent(\n"},"line_number":442,"absolute_offset":15893,"submatches":[{"match":{"text":"StepCompleteEvent"},"start":12,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":455,"absolute_offset":16322,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            TaskUpdatedEvent(\n"},"line_number":462,"absolute_offset":16520,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":12,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":481,"absolute_offset":17240,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":499,"absolute_offset":17766,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolCallEvent(\n"},"line_number":522,"absolute_offset":18578,"submatches":[{"match":{"text":"ToolCallEvent"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            ToolResultEvent(\n"},"line_number":530,"absolute_offset":18882,"submatches":[{"match":{"text":"ToolResultEvent"},"start":12,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"            PlanApprovalRequiredEvent(\n"},"line_number":595,"absolute_offset":21448,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":12,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"                PlanApprovalRequiredEvent(\n"},"line_number":614,"absolute_offset":22277,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":16,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolCallEvent(tool=\"TaskCreate\", args={\"subject\": \"do X\"}, tool_call_id=\"tc1\"))\n"},"line_number":633,"absolute_offset":23003,"submatches":[{"match":{"text":"ToolCallEvent"},"start":30,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolResultEvent(tool=\"TaskCreate\", result=\"ok\", tool_call_id=\"tc1\", is_error=False))\n"},"line_number":634,"absolute_offset":23113,"submatches":[{"match":{"text":"ToolResultEvent"},"start":30,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolCallEvent(tool=\"TaskUpdate\", args={\"taskId\": \"1\", \"status\": \"completed\"}, tool_call_id=\"tc2\"))\n"},"line_number":642,"absolute_offset":23557,"submatches":[{"match":{"text":"ToolCallEvent"},"start":30,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolResultEvent(tool=\"TaskUpdate\", result=\"ok\", tool_call_id=\"tc2\", is_error=False))\n"},"line_number":643,"absolute_offset":23686,"submatches":[{"match":{"text":"ToolResultEvent"},"start":30,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolCallEvent(tool=\"TaskUpdate\", args={\"taskId\": \"1\", \"status\": \"in_progress\"}, tool_call_id=\"tc3\"))\n"},"line_number":651,"absolute_offset":24132,"submatches":[{"match":{"text":"ToolCallEvent"},"start":30,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolResultEvent(tool=\"TaskUpdate\", result=\"ok\", tool_call_id=\"tc3\", is_error=False))\n"},"line_number":652,"absolute_offset":24263,"submatches":[{"match":{"text":"ToolResultEvent"},"start":30,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolCallEvent(tool=\"TaskList\", args={}, tool_call_id=\"tc4\"))\n"},"line_number":659,"absolute_offset":24637,"submatches":[{"match":{"text":"ToolCallEvent"},"start":30,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolResultEvent(tool=\"TaskList\", result=\"ok\", tool_call_id=\"tc4\", is_error=False))\n"},"line_number":660,"absolute_offset":24728,"submatches":[{"match":{"text":"ToolResultEvent"},"start":30,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolCallEvent(tool=\"TaskList\", args={}, tool_call_id=\"tc5\"))\n"},"line_number":667,"absolute_offset":25103,"submatches":[{"match":{"text":"ToolCallEvent"},"start":30,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolResultEvent(tool=\"TaskList\", result=\"store error\", tool_call_id=\"tc5\", is_error=True))\n"},"line_number":668,"absolute_offset":25194,"submatches":[{"match":{"text":"ToolResultEvent"},"start":30,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"lines":{"text":"        renderer.handle_event(ToolCallEvent(tool=\"TaskCreate\", args={\"subject\": \"x\"}, tool_call_id=\"tc6\"))\n"},"line_number":675,"absolute_offset":25583,"submatches":[{"match":{"text":"ToolCallEvent"},"start":30,"end":43}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_event_renderer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":311662,"human":"0.000312s"},"searches":1,"searches_with_match":1,"bytes_searched":25889,"bytes_printed":17751,"matched_lines":58,"matches":58}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    CompactionResultEvent,\n"},"line_number":11,"absolute_offset":236,"submatches":[{"match":{"text":"CompactionResultEvent"},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    PlanApprovalRequiredEvent,\n"},"line_number":12,"absolute_offset":263,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    SessionInitEvent,\n"},"line_number":13,"absolute_offset":294,"submatches":[{"match":{"text":"SessionInitEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    StepCompleteEvent,\n"},"line_number":14,"absolute_offset":316,"submatches":[{"match":{"text":"StepCompleteEvent"},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    StopEvent,\n"},"line_number":15,"absolute_offset":339,"submatches":[{"match":{"text":"StopEvent"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    SubagentProgressEvent,\n"},"line_number":16,"absolute_offset":354,"submatches":[{"match":{"text":"SubagentProgressEvent"},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    SubagentStartEvent,\n"},"line_number":17,"absolute_offset":381,"submatches":[{"match":{"text":"SubagentStartEvent"},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    SubagentStopEvent,\n"},"line_number":18,"absolute_offset":405,"submatches":[{"match":{"text":"SubagentStopEvent"},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    SubagentToolCallEvent,\n"},"line_number":19,"absolute_offset":428,"submatches":[{"match":{"text":"SubagentToolCallEvent"},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    SubagentToolResultEvent,\n"},"line_number":20,"absolute_offset":455,"submatches":[{"match":{"text":"SubagentToolResultEvent"},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    TeamMessageEvent,\n"},"line_number":21,"absolute_offset":484,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    TextEvent,\n"},"line_number":22,"absolute_offset":506,"submatches":[{"match":{"text":"TextEvent"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    ThinkingEvent,\n"},"line_number":23,"absolute_offset":521,"submatches":[{"match":{"text":"ThinkingEvent"},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    TaskUpdatedEvent,\n"},"line_number":24,"absolute_offset":540,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    ToolCallEvent,\n"},"line_number":25,"absolute_offset":562,"submatches":[{"match":{"text":"ToolCallEvent"},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    ToolResultEvent,\n"},"line_number":26,"absolute_offset":581,"submatches":[{"match":{"text":"ToolResultEvent"},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    UsageDeltaEvent,\n"},"line_number":27,"absolute_offset":602,"submatches":[{"match":{"text":"UsageDeltaEvent"},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    UserQuestionEvent,\n"},"line_number":28,"absolute_offset":623,"submatches":[{"match":{"text":"UserQuestionEvent"},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"class EventRenderer:\n"},"line_number":162,"absolute_offset":4470,"submatches":[{"match":{"text":"class Event"},"start":0,"end":11}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        if not isinstance(event, TextEvent):\n"},"line_number":857,"absolute_offset":31641,"submatches":[{"match":{"text":"TextEvent"},"start":33,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SessionInitEvent(session_id=_):\n"},"line_number":861,"absolute_offset":31752,"submatches":[{"match":{"text":"SessionInitEvent"},"start":17,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ThinkingEvent(content=thinking):\n"},"line_number":863,"absolute_offset":31822,"submatches":[{"match":{"text":"ThinkingEvent"},"start":17,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case CompactionResultEvent(\n"},"line_number":866,"absolute_offset":32011,"submatches":[{"match":{"text":"CompactionResultEvent"},"start":17,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ToolCallEvent(tool=tool_name, args=arguments, tool_call_id=tool_call_id):\n"},"line_number":903,"absolute_offset":33640,"submatches":[{"match":{"text":"ToolCallEvent"},"start":17,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ToolResultEvent(tool=tool_name, result=result, tool_call_id=tool_call_id, is_error=is_error, metadata=metadata):\n"},"line_number":912,"absolute_offset":34237,"submatches":[{"match":{"text":"ToolResultEvent"},"start":17,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case UsageDeltaEvent(\n"},"line_number":925,"absolute_offset":34969,"submatches":[{"match":{"text":"UsageDeltaEvent"},"start":17,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentStartEvent(tool_call_id=_, subagent_name=_, description=_):\n"},"line_number":935,"absolute_offset":35281,"submatches":[{"match":{"text":"SubagentStartEvent"},"start":17,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentProgressEvent(\n"},"line_number":937,"absolute_offset":35387,"submatches":[{"match":{"text":"SubagentProgressEvent"},"start":17,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentStopEvent(tool_call_id=_, subagent_name=_, status=_, duration_ms=_, error=_):\n"},"line_number":963,"absolute_offset":36836,"submatches":[{"match":{"text":"SubagentStopEvent"},"start":17,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentToolCallEvent(\n"},"line_number":965,"absolute_offset":36960,"submatches":[{"match":{"text":"SubagentToolCallEvent"},"start":17,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentToolResultEvent(\n"},"line_number":984,"absolute_offset":37893,"submatches":[{"match":{"text":"SubagentToolResultEvent"},"start":17,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TaskUpdatedEvent(list_id=list_id, tasks=tasks):\n"},"line_number":1001,"absolute_offset":38726,"submatches":[{"match":{"text":"TaskUpdatedEvent"},"start":17,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case UserQuestionEvent(questions=questions, tool_call_id=_):\n"},"line_number":1003,"absolute_offset":38850,"submatches":[{"match":{"text":"UserQuestionEvent"},"start":17,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TextEvent(content=text):\n"},"line_number":1007,"absolute_offset":39059,"submatches":[{"match":{"text":"TextEvent"},"start":17,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case StepCompleteEvent(step_id=step_id, status=_, duration_ms=_):\n"},"line_number":1011,"absolute_offset":39224,"submatches":[{"match":{"text":"StepCompleteEvent"},"start":17,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                # Cancellation/error paths may emit StepCompleteEvent without ToolResultEvent.\n"},"line_number":1012,"absolute_offset":39302,"submatches":[{"match":{"text":"StepCompleteEvent"},"start":52,"end":69},{"match":{"text":"ToolResultEvent"},"start":78,"end":93}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case StopEvent(reason=reason):\n"},"line_number":1015,"absolute_offset":39520,"submatches":[{"match":{"text":"StopEvent"},"start":17,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case PlanApprovalRequiredEvent(\n"},"line_number":1029,"absolute_offset":40254,"submatches":[{"match":{"text":"PlanApprovalRequiredEvent"},"start":17,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TeamMessageEvent(\n"},"line_number":1058,"absolute_offset":41649,"submatches":[{"match":{"text":"TeamMessageEvent"},"start":17,"end":33}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":288273,"human":"0.000288s"},"searches":1,"searches_with_match":1,"bytes_searched":42439,"bytes_printed":12447,"matched_lines":39,"matches":40}}}
{"data":{"elapsed_total":{"human":"0.040684s","nanos":40684479,"secs":0},"stats":{"bytes_printed":45466,"bytes_searched":196478,"elapsed":{"human":"0.001346s","nanos":1346449,"secs":0},"matched_lines":140,"matches":151,"searches":10,"searches_with_match":10}},"type":"summary"}
