{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/report.md"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/report.md"},"lines":{"text":"        \"session_id=%r pending_count=%d team_pending_count=%d printed_index=%d\",\n"},"line_number":337,"absolute_offset":10286,"submatches":[{"match":{"text":"session_id"},"start":9,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/report.md"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":68893,"human":"0.000069s"},"searches":1,"searches_with_match":1,"bytes_searched":12157,"bytes_printed":418,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/CHANGELOG.md"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/CHANGELOG.md"},"lines":{"text":"  保留 session_id、team membership、inbox 与 TaskStore。成功后会清屏、\n"},"line_number":17,"absolute_offset":656,"submatches":[{"match":{"text":"session_id"},"start":9,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/CHANGELOG.md"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":36877,"human":"0.000037s"},"searches":1,"searches_with_match":1,"bytes_searched":2247,"bytes_printed":422,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        \"  comate resume [<session_id>] [--rpc-stdio]\\n\"\n"},"line_number":199,"absolute_offset":6027,"submatches":[{"match":{"text":"session_id"},"start":27,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"                \"resume without <session_id> does not support --rpc-stdio\"\n"},"line_number":237,"absolute_offset":7214,"submatches":[{"match":{"text":"session_id"},"start":33,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"    raise _ArgumentError(\"resume accepts at most one <session_id>\")\n"},"line_number":244,"absolute_offset":7432,"submatches":[{"match":{"text":"session_id"},"start":54,"end":64}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = _parse_args(run_argv)\n"},"line_number":274,"absolute_offset":8307,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"                resume_session_id=resume_session_id,\n"},"line_number":295,"absolute_offset":9073,"submatches":[{"match":{"text":"session_id"},"start":23,"end":33},{"match":{"text":"session_id"},"start":41,"end":51}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":54020,"human":"0.000054s"},"searches":1,"searches_with_match":1,"bytes_searched":9447,"bytes_printed":1719,"matched_lines":5,"matches":6}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_slash_clear.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_slash_clear.py"},"lines":{"text":"    return ChatSession(agent, session_id=\"leader-session\", cwd=root)\n"},"line_number":114,"absolute_offset":3712,"submatches":[{"match":{"text":"session_id"},"start":30,"end":40}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_slash_clear.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":34285,"human":"0.000034s"},"searches":1,"searches_with_match":1,"bytes_searched":13980,"bytes_printed":438,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"| **stdin 进** | 脚本启动后，标准输入会塞进一份 UTF-8 JSON，包含当前事件信息（事件名、session_id、cwd、permission_mode、payload）。直接 `json.load(sys.stdin)`。 |\n"},"line_number":101,"absolute_offset":4189,"submatches":[{"match":{"text":"session_id"},"start":116,"end":126}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"| `COMATE_SESSION_ID` | 当前会话 ID |\n"},"line_number":258,"absolute_offset":11705,"submatches":[{"match":{"text":"SESSION_ID"},"start":10,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"# data[\"hook_event_name\"] / data[\"session_id\"] / data[\"cwd\"] / data[\"permission_mode\"] / data[\"payload\"]\n"},"line_number":280,"absolute_offset":12945,"submatches":[{"match":{"text":"session_id"},"start":34,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"  \"session_id\": \"sess-...\",\n"},"line_number":397,"absolute_offset":17331,"submatches":[{"match":{"text":"session_id"},"start":3,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"  \"payload\": { \"source\": \"resume\", \"parent_session_id\": \"sess-...\" }\n"},"line_number":400,"absolute_offset":17413,"submatches":[{"match":{"text":"session_id"},"start":43,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"  session: .session_id,\n"},"line_number":692,"absolute_offset":25122,"submatches":[{"match":{"text":"session_id"},"start":12,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"lines":{"text":"MSG=\"一次会话刚结束 ($COMATE_SESSION_ID)\"\n"},"line_number":769,"absolute_offset":26849,"submatches":[{"match":{"text":"SESSION_ID"},"start":36,"end":46}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/docs/hooks.md"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":128073,"human":"0.000128s"},"searches":1,"searches_with_match":1,"bytes_searched":38422,"bytes_printed":2310,"matched_lines":7,"matches":7}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"            new_session_id=\"new-session\" if mode is not RewindMode.RESTORE_FILES_ONLY else None,\n"},"line_number":79,"absolute_offset":2335,"submatches":[{"match":{"text":"session_id"},"start":16,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"        self._replaced_session_ids: list[str] = []\n"},"line_number":97,"absolute_offset":3027,"submatches":[{"match":{"text":"session_id"},"start":23,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"    async def _replace_active_session(self, new_session_id: str) -> None:\n"},"line_number":114,"absolute_offset":3436,"submatches":[{"match":{"text":"session_id"},"start":48,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"        self._replaced_session_ids.append(new_session_id)\n"},"line_number":115,"absolute_offset":3510,"submatches":[{"match":{"text":"session_id"},"start":23,"end":33},{"match":{"text":"session_id"},"start":46,"end":56}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"        self.assertEqual(commands._replaced_session_ids, [\"new-session\"])\n"},"line_number":160,"absolute_offset":5109,"submatches":[{"match":{"text":"session_id"},"start":44,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"        self.assertEqual(commands._replaced_session_ids, [\"new-session\"])\n"},"line_number":184,"absolute_offset":6042,"submatches":[{"match":{"text":"session_id"},"start":44,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"lines":{"text":"        self.assertEqual(commands._replaced_session_ids, [])\n"},"line_number":198,"absolute_offset":6576,"submatches":[{"match":{"text":"session_id"},"start":44,"end":54}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rewind_command_semantics.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":40156,"human":"0.000040s"},"searches":1,"searches_with_match":1,"bytes_searched":6746,"bytes_printed":2504,"matched_lines":7,"matches":8}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_print_mode.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_print_mode.py"},"lines":{"text":"            SessionInitEvent(session_id=\"test\"),\n"},"line_number":20,"absolute_offset":614,"submatches":[{"match":{"text":"session_id"},"start":29,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_print_mode.py"},"lines":{"text":"            SessionInitEvent(session_id=\"test\"),\n"},"line_number":46,"absolute_offset":1852,"submatches":[{"match":{"text":"session_id"},"start":29,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_print_mode.py"},"lines":{"text":"            SessionInitEvent(session_id=\"test\"),\n"},"line_number":69,"absolute_offset":2934,"submatches":[{"match":{"text":"session_id"},"start":29,"end":39}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_print_mode.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":35375,"human":"0.000035s"},"searches":1,"searches_with_match":1,"bytes_searched":3841,"bytes_printed":1024,"matched_lines":3,"matches":3}}}
{"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":"    def __init__(self, session_id: str, *, fail: bool = False) -> None:\n"},"line_number":12,"absolute_offset":263,"submatches":[{"match":{"text":"session_id"},"start":23,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"},"lines":{"text":"        self.session_id = session_id\n"},"line_number":13,"absolute_offset":335,"submatches":[{"match":{"text":"session_id"},"start":13,"end":23},{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"},"lines":{"text":"            raise RuntimeError(f\"boom-{self.session_id}\")\n"},"line_number":20,"absolute_offset":525,"submatches":[{"match":{"text":"session_id"},"start":44,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"},"lines":{"text":"        fake_session.session_id = \"session-1\"\n"},"line_number":31,"absolute_offset":922,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_shutdown.py"},"lines":{"text":"            initialized_session_id = None\n"},"line_number":50,"absolute_offset":1538,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"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":30874,"human":"0.000031s"},"searches":1,"searches_with_match":1,"bytes_searched":5619,"bytes_printed":1667,"matched_lines":5,"matches":6}}}
{"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":"            tui._initialized_session_id = \"old\"\n"},"line_number":77,"absolute_offset":2305,"submatches":[{"match":{"text":"session_id"},"start":29,"end":39}]}}
{"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":60947,"human":"0.000061s"},"searches":1,"searches_with_match":1,"bytes_searched":3054,"bytes_printed":462,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        session_id=\"s1\",\n"},"line_number":24,"absolute_offset":540,"submatches":[{"match":{"text":"session_id"},"start":8,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"a\", first_prompt=\"build resume picker\")),\n"},"line_number":69,"absolute_offset":2145,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"b\", first_prompt=\"refactor task store\")),\n"},"line_number":70,"absolute_offset":2239,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"c\", first_prompt=\"wire team_name\", team_name=\"agent_team\")),\n"},"line_number":71,"absolute_offset":2333,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        assert [item.session_id for item in out] == [\"a\"]\n"},"line_number":81,"absolute_offset":2719,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        assert [item.session_id for item in out] == [\"b\"]\n"},"line_number":86,"absolute_offset":2900,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        assert [item.session_id for item in out] == [\"c\"]\n"},"line_number":91,"absolute_offset":3085,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"    return [_session_info_to_item(_info(session_id=f\"s{i}\", first_prompt=f\"prompt {i}\")) for i in range(n)]\n"},"line_number":185,"absolute_offset":6586,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        _session_info_to_item(_info(session_id=\"a\", first_prompt=\"alpha\")),\n"},"line_number":215,"absolute_offset":7553,"submatches":[{"match":{"text":"session_id"},"start":36,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        _session_info_to_item(_info(session_id=\"b\", first_prompt=\"beta\")),\n"},"line_number":216,"absolute_offset":7629,"submatches":[{"match":{"text":"session_id"},"start":36,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"    items = [_session_info_to_item(_info(session_id=\"p1\", first_prompt=\"hi\"))]\n"},"line_number":247,"absolute_offset":8692,"submatches":[{"match":{"text":"session_id"},"start":41,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        app = ResumePickerApp(items, transcript_path_resolver=lambda _session_id: jsonl)\n"},"line_number":251,"absolute_offset":8859,"submatches":[{"match":{"text":"session_id"},"start":70,"end":80}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"    cwd_items = [_session_info_to_item(_info(session_id=\"cwd1\"))]\n"},"line_number":260,"absolute_offset":9180,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"    all_items = cwd_items + [_session_info_to_item(_info(session_id=\"other1\", cwd=\"/x\"))]\n"},"line_number":261,"absolute_offset":9246,"submatches":[{"match":{"text":"session_id"},"start":57,"end":67}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        items = [_session_info_to_item(_info(session_id=f\"s{i}\")) for i in range(3)]\n"},"line_number":315,"absolute_offset":11414,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        items = [_session_info_to_item(_info(session_id=f\"s{i}\", first_prompt=f\"alpha {i}\")) for i in range(5)]\n"},"line_number":325,"absolute_offset":11890,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"s0\", first_prompt=\"hello\")),\n"},"line_number":341,"absolute_offset":12604,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"s1\", first_prompt=\"world\")),\n"},"line_number":342,"absolute_offset":12685,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"s0\", first_prompt=\"hello\")),\n"},"line_number":355,"absolute_offset":13280,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"            _session_info_to_item(_info(session_id=\"s1\", first_prompt=\"world\")),\n"},"line_number":356,"absolute_offset":13361,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        items = [_session_info_to_item(_info(session_id=\"s0\", first_prompt=\"hello\"))]\n"},"line_number":372,"absolute_offset":14163,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        items = [_session_info_to_item(_info(session_id=\"s0\"))]\n"},"line_number":390,"absolute_offset":15062,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        items = [_session_info_to_item(_info(session_id=\"s0\"))]\n"},"line_number":403,"absolute_offset":15668,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"lines":{"text":"        items = [_session_info_to_item(_info(session_id=\"s0\", first_prompt=\"hello\"))]\n"},"line_number":416,"absolute_offset":16162,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_picker.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":180277,"human":"0.000180s"},"searches":1,"searches_with_match":1,"bytes_searched":16825,"bytes_printed":8104,"matched_lines":24,"matches":24}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_thinking_display.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_thinking_display.py"},"lines":{"text":"    session_id = \"session-1\"\n"},"line_number":36,"absolute_offset":764,"submatches":[{"match":{"text":"session_id"},"start":4,"end":14}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_thinking_display.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":15773,"human":"0.000016s"},"searches":1,"searches_with_match":1,"bytes_searched":1856,"bytes_printed":413,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args([])\n"},"line_number":12,"absolute_offset":272,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertIsNone(resume_session_id)\n"},"line_number":14,"absolute_offset":404,"submatches":[{"match":{"text":"session_id"},"start":33,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args(\n"},"line_number":19,"absolute_offset":587,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertEqual(resume_session_id, \"sid-001\")\n"},"line_number":23,"absolute_offset":774,"submatches":[{"match":{"text":"session_id"},"start":32,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"    def test_parse_args_resume_without_session_id_enters_selection_mode(self) -> None:\n"},"line_number":27,"absolute_offset":910,"submatches":[{"match":{"text":"session_id"},"start":39,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args(\n"},"line_number":28,"absolute_offset":997,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertIsNone(resume_session_id)\n"},"line_number":32,"absolute_offset":1159,"submatches":[{"match":{"text":"session_id"},"start":33,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"    def test_parse_args_rejects_legacy_implicit_session_id(self) -> None:\n"},"line_number":36,"absolute_offset":1284,"submatches":[{"match":{"text":"session_id"},"start":48,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"    def test_parse_args_rejects_resume_without_session_id_with_rpc_stdio(self) -> None:\n"},"line_number":40,"absolute_offset":1471,"submatches":[{"match":{"text":"session_id"},"start":47,"end":57}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args(\n"},"line_number":49,"absolute_offset":1914,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertIsNone(resume_session_id)\n"},"line_number":53,"absolute_offset":2093,"submatches":[{"match":{"text":"session_id"},"start":33,"end":43}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":72411,"human":"0.000072s"},"searches":1,"searches_with_match":1,"bytes_searched":6254,"bytes_printed":3622,"matched_lines":11,"matches":11}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"    session_id: str,\n"},"line_number":19,"absolute_offset":530,"submatches":[{"match":{"text":"session_id"},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"    root = default_session_root(session_id, cwd=cwd)\n"},"line_number":22,"absolute_offset":590,"submatches":[{"match":{"text":"session_id"},"start":32,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"        session_id=session_id,\n"},"line_number":25,"absolute_offset":685,"submatches":[{"match":{"text":"session_id"},"start":8,"end":18},{"match":{"text":"session_id"},"start":19,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"    transcript_path = get_transcript_path(session_id, cwd=cwd)\n"},"line_number":30,"absolute_offset":789,"submatches":[{"match":{"text":"session_id"},"start":42,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"    writer = TranscriptWriter(transcript_path, session_id=session_id, cwd=cwd, version=\"test\")\n"},"line_number":31,"absolute_offset":852,"submatches":[{"match":{"text":"session_id"},"start":47,"end":57},{"match":{"text":"session_id"},"start":58,"end":68}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"                id=f\"{session_id}-u1\",\n"},"line_number":36,"absolute_offset":1078,"submatches":[{"match":{"text":"session_id"},"start":22,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"                    \"session_id\": session_id,\n"},"line_number":52,"absolute_offset":1536,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31},{"match":{"text":"session_id"},"start":34,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"        _write_session(cwd, session_id=\"sess-1\", with_total_usage=True)\n"},"line_number":84,"absolute_offset":2574,"submatches":[{"match":{"text":"session_id"},"start":28,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"        _write_session(cwd, session_id=\"sess-2\", with_total_usage=False)\n"},"line_number":106,"absolute_offset":3234,"submatches":[{"match":{"text":"session_id"},"start":28,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"lines":{"text":"        root = _write_session(cwd, session_id=\"sess-3\", with_total_usage=True)\n"},"line_number":121,"absolute_offset":3689,"submatches":[{"match":{"text":"session_id"},"start":35,"end":45}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_session_query_token_summary.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":43617,"human":"0.000044s"},"searches":1,"searches_with_match":1,"bytes_searched":3970,"bytes_printed":3500,"matched_lines":10,"matches":13}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"    select_resume_session_id,\n"},"line_number":17,"absolute_offset":654,"submatches":[{"match":{"text":"session_id"},"start":18,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"    session_id: str,\n"},"line_number":24,"absolute_offset":738,"submatches":[{"match":{"text":"session_id"},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"    root = default_session_root(session_id, cwd=cwd)\n"},"line_number":28,"absolute_offset":828,"submatches":[{"match":{"text":"session_id"},"start":32,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"        session_id=session_id,\n"},"line_number":31,"absolute_offset":923,"submatches":[{"match":{"text":"session_id"},"start":8,"end":18},{"match":{"text":"session_id"},"start":19,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"    transcript_path = get_transcript_path(session_id, cwd=cwd)\n"},"line_number":36,"absolute_offset":1053,"submatches":[{"match":{"text":"session_id"},"start":42,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"    writer = TranscriptWriter(transcript_path, session_id=session_id, cwd=cwd, version=\"test\")\n"},"line_number":37,"absolute_offset":1116,"submatches":[{"match":{"text":"session_id"},"start":47,"end":57},{"match":{"text":"session_id"},"start":58,"end":68}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"                id=f\"{session_id}-u1\",\n"},"line_number":43,"absolute_offset":1366,"submatches":[{"match":{"text":"session_id"},"start":22,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"        _write_minimal_session(cwd, session_id=\"s1\", with_header=True)\n"},"line_number":64,"absolute_offset":1947,"submatches":[{"match":{"text":"session_id"},"start":36,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"        _write_minimal_session(cwd, session_id=\"missing-header\", with_header=False)\n"},"line_number":65,"absolute_offset":2018,"submatches":[{"match":{"text":"session_id"},"start":36,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"        _write_minimal_session(cwd, session_id=\"archived\", with_header=True, archived=True)\n"},"line_number":66,"absolute_offset":2102,"submatches":[{"match":{"text":"session_id"},"start":36,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"        assert [item.session_id for item in items] == [\"s1\"]\n"},"line_number":70,"absolute_offset":2250,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"async def test_select_resume_session_id_returns_picker_result(monkeypatch: pytest.MonkeyPatch) -> None:\n"},"line_number":75,"absolute_offset":2382,"submatches":[{"match":{"text":"session_id"},"start":29,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"        session_id=\"s1\",\n"},"line_number":77,"absolute_offset":2525,"submatches":[{"match":{"text":"session_id"},"start":8,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"lines":{"text":"    result = await select_resume_session_id(console, cwd=Path(\"/tmp/project\"))\n"},"line_number":106,"absolute_offset":3441,"submatches":[{"match":{"text":"session_id"},"start":33,"end":43}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_resume_selector.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":207543,"human":"0.000208s"},"searches":1,"searches_with_match":1,"bytes_searched":3586,"bytes_printed":4599,"matched_lines":14,"matches":16}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_update_check.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_update_check.py"},"lines":{"text":"        tui.initialized_session_id = None\n"},"line_number":107,"absolute_offset":3538,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_update_check.py"},"lines":{"text":"        tui.initialized_session_id = None\n"},"line_number":156,"absolute_offset":5646,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_update_check.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":43934,"human":"0.000044s"},"searches":1,"searches_with_match":1,"bytes_searched":7625,"bytes_printed":702,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_team_messages.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_team_messages.py"},"lines":{"text":"        self.session_id = \"session-for-team-message-test\"\n"},"line_number":35,"absolute_offset":883,"submatches":[{"match":{"text":"session_id"},"start":13,"end":23}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_tui_team_messages.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":49717,"human":"0.000050s"},"searches":1,"searches_with_match":1,"bytes_searched":3639,"bytes_printed":437,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        transcript_path = get_transcript_path(info.session_id, cwd=info.cwd)\n"},"line_number":29,"absolute_offset":772,"submatches":[{"match":{"text":"session_id"},"start":51,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        logger.debug(f\"is_resumable: path resolve failed session={info.session_id} error={exc}\")\n"},"line_number":31,"absolute_offset":878,"submatches":[{"match":{"text":"session_id"},"start":71,"end":81}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        logger.debug(f\"is_resumable: transcript load failed session={info.session_id} error={exc}\")\n"},"line_number":38,"absolute_offset":1156,"submatches":[{"match":{"text":"session_id"},"start":74,"end":84}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"async def select_resume_session_id(console: Console, *, cwd: Path | None = None) -> str | None:\n"},"line_number":52,"absolute_offset":1659,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"    cwd_by_session: dict[str, str | None] = {item.session_id: item.raw.cwd for item in items}\n"},"line_number":58,"absolute_offset":1900,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"            cwd_by_session[item.session_id] = item.raw.cwd\n"},"line_number":62,"absolute_offset":2124,"submatches":[{"match":{"text":"session_id"},"start":32,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"    def transcript_resolver(session_id: str) -> Path:\n"},"line_number":65,"absolute_offset":2217,"submatches":[{"match":{"text":"session_id"},"start":28,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        session_cwd = cwd_by_session.get(session_id)\n"},"line_number":66,"absolute_offset":2271,"submatches":[{"match":{"text":"session_id"},"start":41,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"            session_cwd = cwd_by_session.get(session_id)\n"},"line_number":69,"absolute_offset":2418,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        return get_transcript_path(session_id, cwd=session_cwd or cwd or Path.cwd())\n"},"line_number":70,"absolute_offset":2475,"submatches":[{"match":{"text":"session_id"},"start":35,"end":45}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":104346,"human":"0.000104s"},"searches":1,"searches_with_match":1,"bytes_searched":3122,"bytes_printed":3572,"matched_lines":10,"matches":10}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_skills_slash_command.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_skills_slash_command.py"},"lines":{"text":"            _session_id=\"session-123\",\n"},"line_number":287,"absolute_offset":9589,"submatches":[{"match":{"text":"session_id"},"start":13,"end":23}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_skills_slash_command.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":56178,"human":"0.000056s"},"searches":1,"searches_with_match":1,"bytes_searched":14181,"bytes_printed":426,"matched_lines":1,"matches":1}}}
{"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":"        self._init_session_id: str | None = None\n"},"line_number":33,"absolute_offset":840,"submatches":[{"match":{"text":"session_id"},"start":19,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            session_id = await self._wait_for_init_session_id()\n"},"line_number":162,"absolute_offset":5456,"submatches":[{"match":{"text":"session_id"},"start":12,"end":22},{"match":{"text":"session_id"},"start":51,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                    \"protocol_version\": \"1.0\",\n"},"line_number":178,"absolute_offset":5969,"submatches":[{"match":{"text":"protocol_version"},"start":21,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                    \"session_id\": session_id,\n"},"line_number":179,"absolute_offset":6016,"submatches":[{"match":{"text":"session_id"},"start":21,"end":31},{"match":{"text":"session_id"},"start":34,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                    self._init_session_id = str(event.session_id)\n"},"line_number":287,"absolute_offset":9677,"submatches":[{"match":{"text":"session_id"},"start":31,"end":41},{"match":{"text":"session_id"},"start":54,"end":64}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"    async def _wait_for_init_session_id(self) -> str:\n"},"line_number":355,"absolute_offset":12354,"submatches":[{"match":{"text":"session_id"},"start":29,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        if self._init_session_id is not None:\n"},"line_number":356,"absolute_offset":12408,"submatches":[{"match":{"text":"session_id"},"start":22,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            return self._init_session_id\n"},"line_number":357,"absolute_offset":12454,"submatches":[{"match":{"text":"session_id"},"start":30,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        if self._init_session_id is None:\n"},"line_number":365,"absolute_offset":12687,"submatches":[{"match":{"text":"session_id"},"start":22,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        return self._init_session_id\n"},"line_number":367,"absolute_offset":12790,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"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":81689,"human":"0.000082s"},"searches":1,"searches_with_match":1,"bytes_searched":15750,"bytes_printed":3405,"matched_lines":10,"matches":13}}}
{"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":"        self._initialized_session_id: str | None = None\n"},"line_number":251,"absolute_offset":9330,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                \"session_id=%r recv_agent=%r from=%r to=%r type=%r timestamp=%r \"\n"},"line_number":651,"absolute_offset":27329,"submatches":[{"match":{"text":"session_id"},"start":17,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                session.session_id,\n"},"line_number":653,"absolute_offset":27463,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                    self._initialized_session_id = str(event.session_id)\n"},"line_number":1034,"absolute_offset":42000,"submatches":[{"match":{"text":"session_id"},"start":38,"end":48},{"match":{"text":"session_id"},"start":61,"end":71}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def initialized_session_id(self) -> str | None:\n"},"line_number":1516,"absolute_offset":63067,"submatches":[{"match":{"text":"session_id"},"start":20,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        return self._initialized_session_id\n"},"line_number":1517,"absolute_offset":63119,"submatches":[{"match":{"text":"session_id"},"start":33,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _replace_active_session(self, new_session_id: str) -> None:\n"},"line_number":1565,"absolute_offset":64865,"submatches":[{"match":{"text":"session_id"},"start":48,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            session_id=new_session_id,\n"},"line_number":1582,"absolute_offset":65501,"submatches":[{"match":{"text":"session_id"},"start":12,"end":22},{"match":{"text":"session_id"},"start":27,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        self._initialized_session_id = None\n"},"line_number":1597,"absolute_offset":66105,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"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":236447,"human":"0.000236s"},"searches":1,"searches_with_match":1,"bytes_searched":76488,"bytes_printed":3041,"matched_lines":9,"matches":11}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"from comate_cli.terminal_agent.resume_selector import select_resume_session_id\n"},"line_number":26,"absolute_offset":679,"submatches":[{"match":{"text":"session_id"},"start":68,"end":78}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            label = f\"{index}/{len(unique_sessions)} session_id={session.session_id}\"\n"},"line_number":175,"absolute_offset":5469,"submatches":[{"match":{"text":"session_id"},"start":53,"end":63},{"match":{"text":"session_id"},"start":73,"end":83}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    agent: Agent, resume_session_id: str | None, *, cwd: Path | None = None\n"},"line_number":211,"absolute_offset":6717,"submatches":[{"match":{"text":"session_id"},"start":25,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    if resume_session_id:\n"},"line_number":213,"absolute_offset":6823,"submatches":[{"match":{"text":"session_id"},"start":14,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        return ChatSession.resume(agent, session_id=resume_session_id, cwd=cwd), \"resume\"\n"},"line_number":214,"absolute_offset":6849,"submatches":[{"match":{"text":"session_id"},"start":41,"end":51},{"match":{"text":"session_id"},"start":59,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"def _format_resume_hint(session_id: str | None) -> str | None:\n"},"line_number":237,"absolute_offset":7834,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    if not session_id:\n"},"line_number":238,"absolute_offset":7897,"submatches":[{"match":{"text":"session_id"},"start":11,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        f\"{session_id}[/][/]\"\n"},"line_number":242,"absolute_offset":8025,"submatches":[{"match":{"text":"session_id"},"start":11,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    resume_session_id: str | None = None,\n"},"line_number":331,"absolute_offset":10858,"submatches":[{"match":{"text":"session_id"},"start":11,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    if rpc_stdio and resume_select and not resume_session_id:\n"},"line_number":349,"absolute_offset":11438,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        console.print(\"[red]`comate resume` does not support `--rpc-stdio` without <session_id>[/]\")\n"},"line_number":350,"absolute_offset":11500,"submatches":[{"match":{"text":"session_id"},"start":84,"end":94}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        session, _mode = _resolve_session(agent, resume_session_id, cwd=project_root)\n"},"line_number":354,"absolute_offset":11635,"submatches":[{"match":{"text":"session_id"},"start":56,"end":66}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    if resume_select and not resume_session_id:\n"},"line_number":369,"absolute_offset":12098,"submatches":[{"match":{"text":"session_id"},"start":36,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        selected_session_id = await select_resume_session_id(console, cwd=project_root)\n"},"line_number":370,"absolute_offset":12146,"submatches":[{"match":{"text":"session_id"},"start":17,"end":27},{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        if not selected_session_id:\n"},"line_number":371,"absolute_offset":12234,"submatches":[{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        resume_session_id = selected_session_id\n"},"line_number":373,"absolute_offset":12289,"submatches":[{"match":{"text":"session_id"},"start":15,"end":25},{"match":{"text":"session_id"},"start":37,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    session, mode = _resolve_session(agent, resume_session_id, cwd=project_root)\n"},"line_number":382,"absolute_offset":12824,"submatches":[{"match":{"text":"session_id"},"start":51,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    initialized_session_id = tui.initialized_session_id\n"},"line_number":438,"absolute_offset":14794,"submatches":[{"match":{"text":"session_id"},"start":16,"end":26},{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    resume_hint = _format_resume_hint(initialized_session_id)\n"},"line_number":439,"absolute_offset":14850,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":97496,"human":"0.000097s"},"searches":1,"searches_with_match":1,"bytes_searched":15031,"bytes_printed":6431,"matched_lines":19,"matches":24}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"    session_id: str\n"},"line_number":36,"absolute_offset":1343,"submatches":[{"match":{"text":"session_id"},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"        session_id=info.session_id,\n"},"line_number":76,"absolute_offset":2524,"submatches":[{"match":{"text":"session_id"},"start":8,"end":18},{"match":{"text":"session_id"},"start":24,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"    \"\"\"全屏 resume picker。run_async() 返回选中的 session_id 或 None。\"\"\"\n"},"line_number":194,"absolute_offset":6470,"submatches":[{"match":{"text":"session_id"},"start":58,"end":68}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"            event.app.exit(result=item.session_id)\n"},"line_number":422,"absolute_offset":15581,"submatches":[{"match":{"text":"session_id"},"start":39,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"        path = self._transcript_path_resolver(item.session_id)\n"},"line_number":430,"absolute_offset":15892,"submatches":[{"match":{"text":"session_id"},"start":51,"end":61}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":66501,"human":"0.000067s"},"searches":1,"searches_with_match":1,"bytes_searched":22047,"bytes_printed":1771,"matched_lines":5,"matches":6}}}
{"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":"    async def test_initialize_uses_session_init_event_session_id(self) -> None:\n"},"line_number":75,"absolute_offset":2180,"submatches":[{"match":{"text":"session_id"},"start":54,"end":64}]}}
{"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":81,"absolute_offset":2471,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"        self.assertEqual(response[\"result\"][\"session_id\"], \"sid-from-event\")\n"},"line_number":85,"absolute_offset":2630,"submatches":[{"match":{"text":"session_id"},"start":45,"end":55}]}}
{"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":95,"absolute_offset":3051,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"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":121,"absolute_offset":4138,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"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":144,"absolute_offset":5117,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"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":164,"absolute_offset":5889,"submatches":[{"match":{"text":"session_id"},"start":50,"end":60}]}}
{"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":114631,"human":"0.000115s"},"searches":1,"searches_with_match":1,"bytes_searched":7368,"bytes_printed":2428,"matched_lines":7,"matches":7}}}
{"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":"            case SessionInitEvent(session_id=_):\n"},"line_number":1390,"absolute_offset":53386,"submatches":[{"match":{"text":"session_id"},"start":34,"end":44}]}}
{"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":106711,"human":"0.000107s"},"searches":1,"searches_with_match":1,"bytes_searched":69087,"bytes_printed":454,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        self._append_slash_command_result(f\"Session ID: {self._session.session_id}\")\n"},"line_number":168,"absolute_offset":5943,"submatches":[{"match":{"text":"session_id"},"start":71,"end":81}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            if result.new_session_id:\n"},"line_number":1619,"absolute_offset":58371,"submatches":[{"match":{"text":"session_id"},"start":26,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                await self._replace_active_session(result.new_session_id)\n"},"line_number":1620,"absolute_offset":58409,"submatches":[{"match":{"text":"session_id"},"start":62,"end":72}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            lines.append(f\"- conversation: forked to session {result.new_session_id}\")\n"},"line_number":1674,"absolute_offset":60361,"submatches":[{"match":{"text":"session_id"},"start":73,"end":83}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            lines.append(f\"- conversation: forked to session {result.new_session_id}\")\n"},"line_number":1677,"absolute_offset":60591,"submatches":[{"match":{"text":"session_id"},"start":73,"end":83}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":81056,"human":"0.000081s"},"searches":1,"searches_with_match":1,"bytes_searched":66627,"bytes_printed":1876,"matched_lines":5,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                \"session_id=%r pending_count=%d team_pending_count=%d printed_index=%d\",\n"},"line_number":321,"absolute_offset":13727,"submatches":[{"match":{"text":"session_id"},"start":17,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                getattr(self._session, \"session_id\", \"\"),\n"},"line_number":322,"absolute_offset":13816,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                \"session_id=%r pending_count=%d team_pending_count=%d printed_index=%d\",\n"},"line_number":374,"absolute_offset":15759,"submatches":[{"match":{"text":"session_id"},"start":17,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                getattr(self._session, \"session_id\", \"\"),\n"},"line_number":375,"absolute_offset":15848,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                \"session_id=%r previous_index=%d new_index=%d total_entries=%d team_pending_count=%d\",\n"},"line_number":418,"absolute_offset":17618,"submatches":[{"match":{"text":"session_id"},"start":17,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                getattr(self._session, \"session_id\", \"\"),\n"},"line_number":419,"absolute_offset":17721,"submatches":[{"match":{"text":"session_id"},"start":40,"end":50}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":56734,"human":"0.000057s"},"searches":1,"searches_with_match":1,"bytes_searched":18142,"bytes_printed":2268,"matched_lines":6,"matches":6}}}
{"data":{"elapsed_total":{"human":"0.016179s","nanos":16179103,"secs":0},"stats":{"bytes_printed":58013,"bytes_searched":447111,"elapsed":{"human":"0.002105s","nanos":2104561,"secs":0},"matched_lines":167,"matches":186,"searches":26,"searches_with_match":26}},"type":"summary"}
