{"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":"            await old_report.finalize_local()\n"},"line_number":2704,"absolute_offset":110719,"submatches":[{"match":{"text":"finalize_local"},"start":29,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            final_report_upload = await report.finalize_local()\n"},"line_number":2778,"absolute_offset":113678,"submatches":[{"match":{"text":"finalize_local"},"start":47,"end":61}]}}
{"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":87560,"human":"0.000088s"},"searches":1,"searches_with_match":1,"bytes_searched":131532,"bytes_printed":760,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"},"lines":{"text":"                    name=\"terminal-session-report-final-upload\",\n"},"line_number":134,"absolute_offset":4497,"submatches":[{"match":{"text":"terminal-session-report"},"start":26,"end":49}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":20248,"human":"0.000020s"},"searches":1,"searches_with_match":1,"bytes_searched":27748,"bytes_printed":449,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"        self._upload_task: asyncio.Task[bool] | None = None\n"},"line_number":458,"absolute_offset":15099,"submatches":[{"match":{"text":"_upload_task"},"start":13,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"                self._periodic_timer(),\n"},"line_number":508,"absolute_offset":17081,"submatches":[{"match":{"text":"_periodic_timer"},"start":21,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"                name=\"terminal-session-report-timer\",\n"},"line_number":509,"absolute_offset":17121,"submatches":[{"match":{"text":"terminal-session-report"},"start":22,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"                self._delayed_drain(),\n"},"line_number":514,"absolute_offset":17275,"submatches":[{"match":{"text":"_delayed_drain"},"start":21,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"                name=\"terminal-session-report-drain\",\n"},"line_number":515,"absolute_offset":17314,"submatches":[{"match":{"text":"terminal-session-report"},"start":22,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"            self._schedule_upload_if_due()\n"},"line_number":538,"absolute_offset":18091,"submatches":[{"match":{"text":"_schedule_upload"},"start":17,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"    async def finalize_local(self) -> asyncio.Task[bool] | None:\n"},"line_number":546,"absolute_offset":18330,"submatches":[{"match":{"text":"finalize_local"},"start":14,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"        return self._schedule_upload(\n"},"line_number":554,"absolute_offset":18668,"submatches":[{"match":{"text":"_schedule_upload"},"start":20,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"            name=\"terminal-session-report-final-upload\",\n"},"line_number":556,"absolute_offset":18730,"submatches":[{"match":{"text":"terminal-session-report"},"start":18,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"    def _schedule_upload_if_due(self) -> None:\n"},"line_number":612,"absolute_offset":20764,"submatches":[{"match":{"text":"_schedule_upload"},"start":8,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"            self._schedule_upload(name=\"terminal-session-report-upload\")\n"},"line_number":625,"absolute_offset":21233,"submatches":[{"match":{"text":"_schedule_upload"},"start":17,"end":33},{"match":{"text":"terminal-session-report"},"start":40,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"    def _schedule_upload(\n"},"line_number":627,"absolute_offset":21307,"submatches":[{"match":{"text":"_schedule_upload"},"start":8,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"        current = self._upload_task\n"},"line_number":634,"absolute_offset":21486,"submatches":[{"match":{"text":"_upload_task"},"start":23,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"        self._upload_task = task\n"},"line_number":674,"absolute_offset":23018,"submatches":[{"match":{"text":"_upload_task"},"start":13,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"            if self._upload_task is done_task:\n"},"line_number":677,"absolute_offset":23111,"submatches":[{"match":{"text":"_upload_task"},"start":20,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"                self._upload_task = None\n"},"line_number":678,"absolute_offset":23158,"submatches":[{"match":{"text":"_upload_task"},"start":21,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"    async def _periodic_timer(self) -> None:\n"},"line_number":683,"absolute_offset":23260,"submatches":[{"match":{"text":"_periodic_timer"},"start":14,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"            self._schedule_upload_if_due()\n"},"line_number":686,"absolute_offset":23379,"submatches":[{"match":{"text":"_schedule_upload"},"start":17,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"lines":{"text":"    async def _delayed_drain(self) -> None:\n"},"line_number":688,"absolute_offset":23423,"submatches":[{"match":{"text":"_delayed_drain"},"start":14,"end":28}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/backend/session_report.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":55632,"human":"0.000056s"},"searches":1,"searches_with_match":1,"bytes_searched":23794,"bytes_printed":6433,"matched_lines":19,"matches":20}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_exit_lifecycle.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_exit_lifecycle.py"},"lines":{"text":"                name=\"terminal-session-report-final-upload\",\n"},"line_number":295,"absolute_offset":8533,"submatches":[{"match":{"text":"terminal-session-report"},"start":22,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_exit_lifecycle.py"},"lines":{"text":"            return await report.finalize_local()\n"},"line_number":429,"absolute_offset":12973,"submatches":[{"match":{"text":"finalize_local"},"start":32,"end":46}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_exit_lifecycle.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":22817,"human":"0.000023s"},"searches":1,"searches_with_match":1,"bytes_searched":17457,"bytes_printed":766,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"async def test_finalize_local_freezes_event_updates_before_snapshot_await(\n"},"line_number":672,"absolute_offset":21835,"submatches":[{"match":{"text":"finalize_local"},"start":15,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    monkeypatch.setattr(controller, \"_schedule_upload\", lambda **_kwargs: None)\n"},"line_number":693,"absolute_offset":22465,"submatches":[{"match":{"text":"_schedule_upload"},"start":37,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    finalizing = asyncio.create_task(controller.finalize_local())\n"},"line_number":695,"absolute_offset":22546,"submatches":[{"match":{"text":"finalize_local"},"start":48,"end":62}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    monkeypatch.setattr(controller, \"_schedule_upload\", record_upload)\n"},"line_number":743,"absolute_offset":23913,"submatches":[{"match":{"text":"_schedule_upload"},"start":37,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    await controller.finalize_local()\n"},"line_number":744,"absolute_offset":23984,"submatches":[{"match":{"text":"finalize_local"},"start":21,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    controller._schedule_upload_if_due()\n"},"line_number":753,"absolute_offset":24365,"submatches":[{"match":{"text":"_schedule_upload"},"start":15,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    monkeypatch.setattr(controller, \"_schedule_upload\", lambda **_kwargs: None)\n"},"line_number":777,"absolute_offset":25212,"submatches":[{"match":{"text":"_schedule_upload"},"start":37,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    await controller.finalize_local()\n"},"line_number":778,"absolute_offset":25292,"submatches":[{"match":{"text":"finalize_local"},"start":21,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"        await controller._periodic_timer()\n"},"line_number":841,"absolute_offset":27445,"submatches":[{"match":{"text":"_periodic_timer"},"start":25,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"        if name.startswith(\"terminal-session-report-\")\n"},"line_number":870,"absolute_offset":28228,"submatches":[{"match":{"text":"terminal-session-report"},"start":28,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"        if name.startswith(\"terminal-session-report-\")\n"},"line_number":884,"absolute_offset":28623,"submatches":[{"match":{"text":"terminal-session-report"},"start":28,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    first_task = controller._upload_task\n"},"line_number":922,"absolute_offset":29812,"submatches":[{"match":{"text":"_upload_task"},"start":28,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    controller._schedule_upload_if_due()\n"},"line_number":925,"absolute_offset":29881,"submatches":[{"match":{"text":"_schedule_upload"},"start":15,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    assert controller._upload_task is first_task\n"},"line_number":928,"absolute_offset":29950,"submatches":[{"match":{"text":"_upload_task"},"start":22,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    final_task = await controller.finalize_local()\n"},"line_number":951,"absolute_offset":30756,"submatches":[{"match":{"text":"finalize_local"},"start":34,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    assert final_task.get_name() == \"terminal-session-report-final-upload\"\n"},"line_number":954,"absolute_offset":30842,"submatches":[{"match":{"text":"terminal-session-report"},"start":37,"end":60}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    final_task = await controller.finalize_local()\n"},"line_number":995,"absolute_offset":32291,"submatches":[{"match":{"text":"finalize_local"},"start":34,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    final_task = await controller.finalize_local()\n"},"line_number":1018,"absolute_offset":33087,"submatches":[{"match":{"text":"finalize_local"},"start":34,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"        final_task = await controller.finalize_local()\n"},"line_number":1063,"absolute_offset":34787,"submatches":[{"match":{"text":"finalize_local"},"start":38,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"lines":{"text":"    finalize_call = asyncio.create_task(controller.finalize_local())\n"},"line_number":1133,"absolute_offset":37434,"submatches":[{"match":{"text":"finalize_local"},"start":51,"end":65}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_session_report.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":53933,"human":"0.000054s"},"searches":1,"searches_with_match":1,"bytes_searched":42094,"bytes_printed":6584,"matched_lines":20,"matches":20}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_tool_result_registry_lifecycle.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_tool_result_registry_lifecycle.py"},"lines":{"text":"                async def finalize_local(self) -> asyncio.Task[bool]:\n"},"line_number":106,"absolute_offset":3511,"submatches":[{"match":{"text":"finalize_local"},"start":26,"end":40}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_tool_result_registry_lifecycle.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":13966,"human":"0.000014s"},"searches":1,"searches_with_match":1,"bytes_searched":5992,"bytes_printed":487,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"lines":{"text":"        async def finalize_local(self) -> asyncio.Task[bool]:\n"},"line_number":292,"absolute_offset":9066,"submatches":[{"match":{"text":"finalize_local"},"start":18,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"lines":{"text":"            calls.append(\"finalize_local\")\n"},"line_number":293,"absolute_offset":9128,"submatches":[{"match":{"text":"finalize_local"},"start":26,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"lines":{"text":"        \"finalize_local\",\n"},"line_number":341,"absolute_offset":10579,"submatches":[{"match":{"text":"finalize_local"},"start":9,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"lines":{"text":"        async def finalize_local(self) -> None:\n"},"line_number":366,"absolute_offset":11205,"submatches":[{"match":{"text":"finalize_local"},"start":18,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"lines":{"text":"        async def finalize_local(self) -> asyncio.Task[bool]:\n"},"line_number":449,"absolute_offset":13847,"submatches":[{"match":{"text":"finalize_local"},"start":18,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"lines":{"text":"                name=\"terminal-session-report-final-upload\",\n"},"line_number":455,"absolute_offset":14059,"submatches":[{"match":{"text":"terminal-session-report"},"start":22,"end":45}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_session_observers.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":28580,"human":"0.000029s"},"searches":1,"searches_with_match":1,"bytes_searched":15066,"bytes_printed":2021,"matched_lines":6,"matches":6}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_tasks.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_tasks.py"},"lines":{"text":"        name=\"terminal-session-report-final-upload\",\n"},"line_number":57,"absolute_offset":1388,"submatches":[{"match":{"text":"terminal-session-report"},"start":14,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_tasks.py"},"lines":{"text":"        name=\"terminal-session-report-timer\",\n"},"line_number":65,"absolute_offset":1603,"submatches":[{"match":{"text":"terminal-session-report"},"start":14,"end":37}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_backend_tasks.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":18177,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":1896,"bytes_printed":748,"matched_lines":2,"matches":2}}}
{"data":{"elapsed_total":{"human":"0.007322s","nanos":7322336,"secs":0},"stats":{"bytes_printed":18248,"bytes_searched":265579,"elapsed":{"human":"0.000301s","nanos":300913,"secs":0},"matched_lines":53,"matches":54,"searches":8,"searches_with_match":8}},"type":"summary"}
