{"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":"from prompt_toolkit.patch_stdout import patch_stdout\n"},"line_number":29,"absolute_offset":863,"submatches":[{"match":{"text":"stdout"},"start":26,"end":32},{"match":{"text":"stdout"},"start":46,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            with patch_stdout(raw=True):\n"},"line_number":2362,"absolute_offset":97219,"submatches":[{"match":{"text":"stdout"},"start":23,"end":29}]}}
{"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":81881,"human":"0.000082s"},"searches":1,"searches_with_match":1,"bytes_searched":110292,"bytes_printed":770,"matched_lines":2,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"        if (sys.platform == \"win32\" if is_windows is None else is_windows)\n"},"line_number":358,"absolute_offset":11204,"submatches":[{"match":{"text":"sys."},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    from prompt_toolkit.patch_stdout import patch_stdout\n"},"line_number":473,"absolute_offset":15160,"submatches":[{"match":{"text":"stdout"},"start":30,"end":36},{"match":{"text":"stdout"},"start":50,"end":56}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    with patch_stdout(raw=True):\n"},"line_number":552,"absolute_offset":17265,"submatches":[{"match":{"text":"stdout"},"start":15,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    if sys.platform == \"win32\":\n"},"line_number":567,"absolute_offset":17711,"submatches":[{"match":{"text":"sys."},"start":7,"end":11}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"            stdout=asyncio.subprocess.PIPE,\n"},"line_number":584,"absolute_offset":18283,"submatches":[{"match":{"text":"stdout"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"            stderr=asyncio.subprocess.STDOUT,\n"},"line_number":585,"absolute_offset":18327,"submatches":[{"match":{"text":"stderr"},"start":12,"end":18}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":23855,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":20449,"bytes_printed":2035,"matched_lines":6,"matches":7}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"    return stream in {sys.stdout, sys.stderr, sys.__stdout__, sys.__stderr__}\n"},"line_number":378,"absolute_offset":13118,"submatches":[{"match":{"text":"sys."},"start":22,"end":26},{"match":{"text":"stdout"},"start":26,"end":32},{"match":{"text":"sys."},"start":34,"end":38},{"match":{"text":"stderr"},"start":38,"end":44},{"match":{"text":"sys."},"start":46,"end":50},{"match":{"text":"stdout"},"start":52,"end":58},{"match":{"text":"sys."},"start":62,"end":66},{"match":{"text":"stderr"},"start":68,"end":74}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"    - 临时静默 root logger 上写往 stdout/stderr 的 stream handler，避免污染 TUI\n"},"line_number":391,"absolute_offset":13599,"submatches":[{"match":{"text":"stdout"},"start":41,"end":47},{"match":{"text":"stderr"},"start":48,"end":54}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":41966,"human":"0.000042s"},"searches":1,"searches_with_match":1,"bytes_searched":16492,"bytes_printed":1213,"matched_lines":2,"matches":10}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    stdout = str(getattr(output, \"stdout\", \"\") or \"\")\n"},"line_number":714,"absolute_offset":23200,"submatches":[{"match":{"text":"stdout"},"start":4,"end":10},{"match":{"text":"stdout"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    stderr = str(getattr(output, \"stderr\", \"\") or \"\")\n"},"line_number":715,"absolute_offset":23254,"submatches":[{"match":{"text":"stderr"},"start":4,"end":10},{"match":{"text":"stderr"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if not stdout and not stderr:\n"},"line_number":716,"absolute_offset":23308,"submatches":[{"match":{"text":"stdout"},"start":11,"end":17},{"match":{"text":"stderr"},"start":26,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        stdout = rec.result_text\n"},"line_number":717,"absolute_offset":23342,"submatches":[{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    lines.append(_section(\"stdout\", stdout))\n"},"line_number":741,"absolute_offset":24235,"submatches":[{"match":{"text":"stdout"},"start":27,"end":33},{"match":{"text":"stdout"},"start":36,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if stderr:\n"},"line_number":742,"absolute_offset":24280,"submatches":[{"match":{"text":"stderr"},"start":7,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        lines.append(_section(\"stderr\", stderr))\n"},"line_number":743,"absolute_offset":24295,"submatches":[{"match":{"text":"stderr"},"start":31,"end":37},{"match":{"text":"stderr"},"start":40,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    stderr = str(getattr(output, \"stderr\", \"\") or \"\")\n"},"line_number":834,"absolute_offset":27412,"submatches":[{"match":{"text":"stderr"},"start":4,"end":10},{"match":{"text":"stderr"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    stdout = str(getattr(output, \"stdout\", \"\") or \"\")\n"},"line_number":835,"absolute_offset":27466,"submatches":[{"match":{"text":"stdout"},"start":4,"end":10},{"match":{"text":"stdout"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if rec.is_error and stderr:\n"},"line_number":836,"absolute_offset":27520,"submatches":[{"match":{"text":"stderr"},"start":24,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        return _non_empty_lines(stderr)\n"},"line_number":837,"absolute_offset":27552,"submatches":[{"match":{"text":"stderr"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if stdout:\n"},"line_number":838,"absolute_offset":27592,"submatches":[{"match":{"text":"stdout"},"start":7,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        return _non_empty_lines(stdout)\n"},"line_number":839,"absolute_offset":27607,"submatches":[{"match":{"text":"stdout"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if stderr:\n"},"line_number":840,"absolute_offset":27647,"submatches":[{"match":{"text":"stderr"},"start":7,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        return _non_empty_lines(stderr)\n"},"line_number":841,"absolute_offset":27662,"submatches":[{"match":{"text":"stderr"},"start":32,"end":38}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":57863,"human":"0.000058s"},"searches":1,"searches_with_match":1,"bytes_searched":36197,"bytes_printed":5140,"matched_lines":15,"matches":22}}}
{"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":"        preflight_console = Console(stderr=True)\n"},"line_number":669,"absolute_offset":21755,"submatches":[{"match":{"text":"stderr"},"start":36,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    # 而非 fallthrough 到 Python lastResort StreamHandler 以原始文本输出到 stderr。\n"},"line_number":748,"absolute_offset":24605,"submatches":[{"match":{"text":"stderr"},"start":86,"end":92}]}}
{"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":22120,"human":"0.000022s"},"searches":1,"searches_with_match":1,"bytes_searched":28497,"bytes_printed":775,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"lines":{"text":"from prompt_toolkit.patch_stdout import patch_stdout\n"},"line_number":11,"absolute_offset":331,"submatches":[{"match":{"text":"stdout"},"start":26,"end":32},{"match":{"text":"stdout"},"start":46,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"lines":{"text":"    with patch_stdout(raw=True):\n"},"line_number":403,"absolute_offset":13168,"submatches":[{"match":{"text":"stdout"},"start":15,"end":21}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":20621,"human":"0.000021s"},"searches":1,"searches_with_match":1,"bytes_searched":13231,"bytes_printed":803,"matched_lines":2,"matches":3}}}
{"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":"from prompt_toolkit.patch_stdout import patch_stdout\n"},"line_number":9,"absolute_offset":182,"submatches":[{"match":{"text":"stdout"},"start":26,"end":32},{"match":{"text":"stdout"},"start":46,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"    with patch_stdout(raw=True):\n"},"line_number":82,"absolute_offset":2903,"submatches":[{"match":{"text":"stdout"},"start":15,"end":21}]}}
{"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":8724,"human":"0.000009s"},"searches":1,"searches_with_match":1,"bytes_searched":3122,"bytes_printed":794,"matched_lines":2,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    stdout: str\n"},"line_number":29,"absolute_offset":598,"submatches":[{"match":{"text":"stdout"},"start":4,"end":10}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"                stdin=subprocess.DEVNULL,\n"},"line_number":167,"absolute_offset":6176,"submatches":[{"match":{"text":"stdin"},"start":16,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"                stdout=asyncio.subprocess.PIPE,\n"},"line_number":168,"absolute_offset":6218,"submatches":[{"match":{"text":"stdout"},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"                stderr=subprocess.DEVNULL,\n"},"line_number":169,"absolute_offset":6266,"submatches":[{"match":{"text":"stderr"},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"            stdout, _stderr = await asyncio.wait_for(\n"},"line_number":172,"absolute_offset":6348,"submatches":[{"match":{"text":"stdout"},"start":12,"end":18},{"match":{"text":"stderr"},"start":21,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"            stdout=stdout.decode(\"utf-8\", errors=\"replace\"),\n"},"line_number":195,"absolute_offset":7403,"submatches":[{"match":{"text":"stdout"},"start":12,"end":18},{"match":{"text":"stdout"},"start":19,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"        branch = completed.stdout.strip()\n"},"line_number":204,"absolute_offset":7717,"submatches":[{"match":{"text":"stdout"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"        output = completed.stdout.strip()\n"},"line_number":214,"absolute_offset":8061,"submatches":[{"match":{"text":"stdout"},"start":27,"end":33}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":28070,"human":"0.000028s"},"searches":1,"searches_with_match":1,"bytes_searched":24319,"bytes_printed":2641,"matched_lines":8,"matches":10}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"            redirect_stdout=False,\n"},"line_number":111,"absolute_offset":3220,"submatches":[{"match":{"text":"stdout"},"start":21,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"            redirect_stderr=False,\n"},"line_number":112,"absolute_offset":3255,"submatches":[{"match":{"text":"stderr"},"start":21,"end":27}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":9856,"human":"0.000010s"},"searches":1,"searches_with_match":1,"bytes_searched":6180,"bytes_printed":743,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"                (completed.stderr or \"\").strip(),\n"},"line_number":429,"absolute_offset":14604,"submatches":[{"match":{"text":"stderr"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"        stdout = completed.stdout\n"},"line_number":433,"absolute_offset":14693,"submatches":[{"match":{"text":"stdout"},"start":8,"end":14},{"match":{"text":"stdout"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"        if stdout is None:\n"},"line_number":434,"absolute_offset":14727,"submatches":[{"match":{"text":"stdout"},"start":11,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"            logger.debug(\"%s mention index command returned no stdout\", source_name)\n"},"line_number":435,"absolute_offset":14754,"submatches":[{"match":{"text":"stdout"},"start":63,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"        for line in stdout.splitlines():\n"},"line_number":439,"absolute_offset":14904,"submatches":[{"match":{"text":"stdout"},"start":20,"end":26}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":23756,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":22750,"bytes_printed":1758,"matched_lines":5,"matches":6}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"    sys.stdout.write(text)\n"},"line_number":124,"absolute_offset":3573,"submatches":[{"match":{"text":"sys."},"start":4,"end":8},{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"        sys.stdout.write(\"\\n\")\n"},"line_number":126,"absolute_offset":3632,"submatches":[{"match":{"text":"sys."},"start":8,"end":12},{"match":{"text":"stdout"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"    sys.stdout.flush()\n"},"line_number":127,"absolute_offset":3663,"submatches":[{"match":{"text":"sys."},"start":4,"end":8},{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"    sys.stdout.write(json.dumps(payload, ensure_ascii=False, separators=(\",\", \":\")))\n"},"line_number":131,"absolute_offset":3745,"submatches":[{"match":{"text":"sys."},"start":4,"end":8},{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"    sys.stdout.write(\"\\n\")\n"},"line_number":132,"absolute_offset":3830,"submatches":[{"match":{"text":"sys."},"start":4,"end":8},{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"    sys.stdout.flush()\n"},"line_number":133,"absolute_offset":3857,"submatches":[{"match":{"text":"sys."},"start":4,"end":8},{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"            sys.stderr.write(f\"Error: {exc}\\n\")\n"},"line_number":220,"absolute_offset":7056,"submatches":[{"match":{"text":"sys."},"start":12,"end":16},{"match":{"text":"stderr"},"start":16,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":22179,"human":"0.000022s"},"searches":1,"searches_with_match":1,"bytes_searched":7231,"bytes_printed":2522,"matched_lines":7,"matches":14}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"},"lines":{"text":"from prompt_toolkit.patch_stdout import patch_stdout\n"},"line_number":10,"absolute_offset":321,"submatches":[{"match":{"text":"stdout"},"start":26,"end":32},{"match":{"text":"stdout"},"start":46,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"},"lines":{"text":"    with patch_stdout(raw=True):\n"},"line_number":213,"absolute_offset":6717,"submatches":[{"match":{"text":"stdout"},"start":15,"end":21}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17569,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":6780,"bytes_printed":805,"matched_lines":2,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"        stdout=asyncio.subprocess.PIPE,\n"},"line_number":519,"absolute_offset":17473,"submatches":[{"match":{"text":"stdout"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"        stderr=asyncio.subprocess.PIPE,\n"},"line_number":520,"absolute_offset":17513,"submatches":[{"match":{"text":"stderr"},"start":8,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"        stdout, stderr = await asyncio.wait_for(process.communicate(), timeout=timeout_seconds)\n"},"line_number":524,"absolute_offset":17569,"submatches":[{"match":{"text":"stdout"},"start":8,"end":14},{"match":{"text":"stderr"},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    stdout_text = stdout.decode(\"utf-8\", errors=\"replace\")\n"},"line_number":532,"absolute_offset":17900,"submatches":[{"match":{"text":"stdout"},"start":4,"end":10},{"match":{"text":"stdout"},"start":18,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    stderr_text = stderr.decode(\"utf-8\", errors=\"replace\")\n"},"line_number":533,"absolute_offset":17959,"submatches":[{"match":{"text":"stderr"},"start":4,"end":10},{"match":{"text":"stderr"},"start":18,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    merged_output = stdout_text.strip()\n"},"line_number":534,"absolute_offset":18018,"submatches":[{"match":{"text":"stdout"},"start":20,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    if stderr_text.strip():\n"},"line_number":535,"absolute_offset":18058,"submatches":[{"match":{"text":"stderr"},"start":7,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"        merged_output = f\"{merged_output}\\n{stderr_text.strip()}\".strip()\n"},"line_number":536,"absolute_offset":18086,"submatches":[{"match":{"text":"stderr"},"start":44,"end":50}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":26767,"human":"0.000027s"},"searches":1,"searches_with_match":1,"bytes_searched":20256,"bytes_printed":2889,"matched_lines":8,"matches":11}}}
{"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":"    \"\"\"JSON-RPC 2.0 bridge over stdin/stdout (NDJSON).\"\"\"\n"},"line_number":25,"absolute_offset":516,"submatches":[{"match":{"text":"stdin"},"start":32,"end":37},{"match":{"text":"stdout"},"start":38,"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._stdin_queue: asyncio.Queue[str | None] | None = None\n"},"line_number":38,"absolute_offset":1153,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_reader_fd: int | None = None\n"},"line_number":39,"absolute_offset":1220,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_error: Exception | None = None\n"},"line_number":40,"absolute_offset":1269,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._install_stdin_reader()\n"},"line_number":43,"absolute_offset":1354,"submatches":[{"match":{"text":"stdin"},"start":22,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                    name=\"rpc-stdin-read\",\n"},"line_number":53,"absolute_offset":1725,"submatches":[{"match":{"text":"stdin"},"start":30,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            self._remove_stdin_reader()\n"},"line_number":84,"absolute_offset":2728,"submatches":[{"match":{"text":"stdin"},"start":25,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"    def _install_stdin_reader(self) -> None:\n"},"line_number":379,"absolute_offset":13251,"submatches":[{"match":{"text":"stdin"},"start":17,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        if self._stdin_queue is not None:\n"},"line_number":380,"absolute_offset":13296,"submatches":[{"match":{"text":"stdin"},"start":17,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_queue = asyncio.Queue()\n"},"line_number":384,"absolute_offset":13400,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            stdin_fd = sys.stdin.fileno()\n"},"line_number":386,"absolute_offset":13457,"submatches":[{"match":{"text":"stdin"},"start":12,"end":17},{"match":{"text":"sys."},"start":23,"end":27},{"match":{"text":"stdin"},"start":27,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            loop.add_reader(stdin_fd, self._on_stdin_ready)\n"},"line_number":387,"absolute_offset":13499,"submatches":[{"match":{"text":"stdin"},"start":28,"end":33},{"match":{"text":"stdin"},"start":47,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            self._stdin_queue = None\n"},"line_number":389,"absolute_offset":13641,"submatches":[{"match":{"text":"stdin"},"start":18,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            raise RuntimeError(f\"failed to install stdin reader: {exc}\") from exc\n"},"line_number":390,"absolute_offset":13678,"submatches":[{"match":{"text":"stdin"},"start":51,"end":56}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_reader_fd = stdin_fd\n"},"line_number":392,"absolute_offset":13761,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19},{"match":{"text":"stdin"},"start":32,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_error = None\n"},"line_number":393,"absolute_offset":13802,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"    def _remove_stdin_reader(self) -> None:\n"},"line_number":395,"absolute_offset":13836,"submatches":[{"match":{"text":"stdin"},"start":16,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        stdin_fd = self._stdin_reader_fd\n"},"line_number":396,"absolute_offset":13880,"submatches":[{"match":{"text":"stdin"},"start":8,"end":13},{"match":{"text":"stdin"},"start":25,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        if stdin_fd is None:\n"},"line_number":397,"absolute_offset":13921,"submatches":[{"match":{"text":"stdin"},"start":11,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            asyncio.get_running_loop().remove_reader(stdin_fd)\n"},"line_number":401,"absolute_offset":13983,"submatches":[{"match":{"text":"stdin"},"start":53,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_reader_fd = None\n"},"line_number":404,"absolute_offset":14092,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        self._stdin_queue = None\n"},"line_number":405,"absolute_offset":14129,"submatches":[{"match":{"text":"stdin"},"start":14,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"    def _on_stdin_ready(self) -> None:\n"},"line_number":407,"absolute_offset":14163,"submatches":[{"match":{"text":"stdin"},"start":12,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        queue = self._stdin_queue\n"},"line_number":408,"absolute_offset":14202,"submatches":[{"match":{"text":"stdin"},"start":22,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            raw_line = sys.stdin.readline()\n"},"line_number":413,"absolute_offset":14295,"submatches":[{"match":{"text":"sys."},"start":23,"end":27},{"match":{"text":"stdin"},"start":27,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            logger.exception(\"rpc stdin read failed\")\n"},"line_number":415,"absolute_offset":14372,"submatches":[{"match":{"text":"stdin"},"start":34,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            self._stdin_error = RuntimeError(f\"stdin read failed: {exc}\")\n"},"line_number":416,"absolute_offset":14426,"submatches":[{"match":{"text":"stdin"},"start":18,"end":23},{"match":{"text":"stdin"},"start":47,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            self._remove_stdin_reader()\n"},"line_number":417,"absolute_offset":14500,"submatches":[{"match":{"text":"stdin"},"start":25,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            self._remove_stdin_reader()\n"},"line_number":422,"absolute_offset":14622,"submatches":[{"match":{"text":"stdin"},"start":25,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        queue = self._stdin_queue\n"},"line_number":428,"absolute_offset":14802,"submatches":[{"match":{"text":"stdin"},"start":22,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            raise RuntimeError(\"stdin reader is not installed\")\n"},"line_number":430,"absolute_offset":14862,"submatches":[{"match":{"text":"stdin"},"start":32,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            if self._stdin_error is not None:\n"},"line_number":434,"absolute_offset":14993,"submatches":[{"match":{"text":"stdin"},"start":21,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"                raise self._stdin_error\n"},"line_number":435,"absolute_offset":15039,"submatches":[{"match":{"text":"stdin"},"start":28,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            await asyncio.to_thread(sys.stdout.write, encoded)\n"},"line_number":448,"absolute_offset":15463,"submatches":[{"match":{"text":"sys."},"start":36,"end":40},{"match":{"text":"stdout"},"start":40,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            await asyncio.to_thread(sys.stdout.flush)\n"},"line_number":449,"absolute_offset":15526,"submatches":[{"match":{"text":"sys."},"start":36,"end":40},{"match":{"text":"stdout"},"start":40,"end":46}]}}
{"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":67440,"human":"0.000067s"},"searches":1,"searches_with_match":1,"bytes_searched":15750,"bytes_printed":11240,"matched_lines":35,"matches":45}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/figures.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/figures.py"},"lines":{"text":"_IS_DARWIN = sys.platform == \"darwin\"\n"},"line_number":19,"absolute_offset":625,"submatches":[{"match":{"text":"sys."},"start":13,"end":17}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/figures.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":8441,"human":"0.000008s"},"searches":1,"searches_with_match":1,"bytes_searched":4633,"bytes_printed":421,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"},"lines":{"text":"from prompt_toolkit.patch_stdout import patch_stdout\n"},"line_number":15,"absolute_offset":517,"submatches":[{"match":{"text":"stdout"},"start":26,"end":32},{"match":{"text":"stdout"},"start":46,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"},"lines":{"text":"        with patch_stdout(raw=True):\n"},"line_number":208,"absolute_offset":7069,"submatches":[{"match":{"text":"stdout"},"start":19,"end":25}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17943,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":22365,"bytes_printed":803,"matched_lines":2,"matches":3}}}
{"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":"            out = sys.__stdout__ or sys.stdout\n"},"line_number":1494,"absolute_offset":54068,"submatches":[{"match":{"text":"sys."},"start":18,"end":22},{"match":{"text":"stdout"},"start":24,"end":30},{"match":{"text":"sys."},"start":36,"end":40},{"match":{"text":"stdout"},"start":40,"end":46}]}}
{"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":48145,"human":"0.000048s"},"searches":1,"searches_with_match":1,"bytes_searched":82076,"bytes_printed":596,"matched_lines":1,"matches":4}}}
{"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":"            out = sys.__stdout__ or sys.stdout\n"},"line_number":52,"absolute_offset":1993,"submatches":[{"match":{"text":"sys."},"start":18,"end":22},{"match":{"text":"stdout"},"start":24,"end":30},{"match":{"text":"sys."},"start":36,"end":40},{"match":{"text":"stdout"},"start":40,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"            out = sys.__stdout__ or sys.stdout\n"},"line_number":408,"absolute_offset":18009,"submatches":[{"match":{"text":"sys."},"start":18,"end":22},{"match":{"text":"stdout"},"start":24,"end":30},{"match":{"text":"sys."},"start":36,"end":40},{"match":{"text":"stdout"},"start":40,"end":46}]}}
{"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":24670,"human":"0.000025s"},"searches":1,"searches_with_match":1,"bytes_searched":21786,"bytes_printed":1059,"matched_lines":2,"matches":8}}}
{"data":{"elapsed_total":{"human":"0.005336s","nanos":5336072,"secs":0},"stats":{"bytes_printed":37007,"bytes_searched":462406,"elapsed":{"human":"0.000552s","nanos":551866,"secs":0},"matched_lines":104,"matches":157,"searches":18,"searches_with_match":18}},"type":"summary"}
