{"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":"_update_check_ssl_context: ssl.SSLContext | None = None\n"},"line_number":42,"absolute_offset":1148,"submatches":[{"match":{"text":"update_check"},"start":1,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def _get_update_check_ssl_context() -> ssl.SSLContext | None:\n"},"line_number":46,"absolute_offset":1243,"submatches":[{"match":{"text":"update_check"},"start":9,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    global _update_check_ssl_context\n"},"line_number":48,"absolute_offset":1411,"submatches":[{"match":{"text":"update_check"},"start":12,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    if _update_check_ssl_context is not None:\n"},"line_number":49,"absolute_offset":1448,"submatches":[{"match":{"text":"update_check"},"start":8,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"        return _update_check_ssl_context\n"},"line_number":50,"absolute_offset":1494,"submatches":[{"match":{"text":"update_check"},"start":16,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"        if _update_check_ssl_context is None:\n"},"line_number":52,"absolute_offset":1563,"submatches":[{"match":{"text":"update_check"},"start":12,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"                _update_check_ssl_context = ssl.create_default_context(\n"},"line_number":56,"absolute_offset":1658,"submatches":[{"match":{"text":"update_check"},"start":17,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    return _update_check_ssl_context\n"},"line_number":65,"absolute_offset":2008,"submatches":[{"match":{"text":"update_check"},"start":12,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def _update_check_trust_env() -> bool:\n"},"line_number":170,"absolute_offset":5045,"submatches":[{"match":{"text":"update_check"},"start":5,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"            trust_env=_update_check_trust_env(),\n"},"line_number":187,"absolute_offset":5733,"submatches":[{"match":{"text":"update_check"},"start":23,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"        ssl_context = _get_update_check_ssl_context()\n"},"line_number":308,"absolute_offset":9713,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"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":44636,"human":"0.000045s"},"searches":1,"searches_with_match":1,"bytes_searched":21987,"bytes_printed":3588,"matched_lines":11,"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.update_check import UpdateInfo, UpdateTarget\n"},"line_number":24,"absolute_offset":756,"submatches":[{"match":{"text":"update_check"},"start":35,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        check_update, _ = _import_update_check_core()\n"},"line_number":62,"absolute_offset":1751,"submatches":[{"match":{"text":"update_check"},"start":34,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.skip\")\n"},"line_number":144,"absolute_offset":4467,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.hint\")\n"},"line_number":149,"absolute_offset":4707,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        profiler.mark(\"update_check.prompt_deferred\")\n"},"line_number":153,"absolute_offset":4854,"submatches":[{"match":{"text":"update_check"},"start":23,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        profiler.mark(\"update_check.handle_failed\")\n"},"line_number":156,"absolute_offset":5011,"submatches":[{"match":{"text":"update_check"},"start":23,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"def _schedule_update_check_on_launch(\n"},"line_number":159,"absolute_offset":5065,"submatches":[{"match":{"text":"update_check"},"start":14,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.start\")\n"},"line_number":167,"absolute_offset":5278,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.delay.start\")\n"},"line_number":168,"absolute_offset":5326,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.delay.done\")\n"},"line_number":170,"absolute_offset":5435,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"                update_info = await _check_update(profiler=profiler.child(\"update_check\"))\n"},"line_number":172,"absolute_offset":5519,"submatches":[{"match":{"text":"update_check"},"start":75,"end":87}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"                    profiler=profiler.child(\"update_check\"),\n"},"line_number":176,"absolute_offset":5714,"submatches":[{"match":{"text":"update_check"},"start":45,"end":57}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.done\")\n"},"line_number":178,"absolute_offset":5793,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.cancelled\")\n"},"line_number":187,"absolute_offset":6142,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"update_check.failed\")\n"},"line_number":191,"absolute_offset":6320,"submatches":[{"match":{"text":"update_check"},"start":27,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"def _import_update_check_core():\n"},"line_number":342,"absolute_offset":10657,"submatches":[{"match":{"text":"update_check"},"start":12,"end":24}]}}
{"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.update_check import (\n"},"line_number":343,"absolute_offset":10690,"submatches":[{"match":{"text":"update_check"},"start":35,"end":47}]}}
{"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.update_check import (\n"},"line_number":355,"absolute_offset":10939,"submatches":[{"match":{"text":"update_check"},"start":35,"end":47}]}}
{"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.update_check import update_target_from_profile\n"},"line_number":703,"absolute_offset":22475,"submatches":[{"match":{"text":"update_check"},"start":35,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        _check_update_func, get_pending_update_prompt_info = _import_update_check_core()\n"},"line_number":752,"absolute_offset":24787,"submatches":[{"match":{"text":"update_check"},"start":69,"end":81}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    update_check_task: asyncio.Task[None] | None = None\n"},"line_number":850,"absolute_offset":28365,"submatches":[{"match":{"text":"update_check"},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    _check_update_func, _get_pending_update_prompt_info = _import_update_check_core()\n"},"line_number":851,"absolute_offset":28421,"submatches":[{"match":{"text":"update_check"},"start":66,"end":78}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    update_check_task = _schedule_update_check_on_launch(\n"},"line_number":852,"absolute_offset":28507,"submatches":[{"match":{"text":"update_check"},"start":4,"end":16},{"match":{"text":"update_check"},"start":34,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            if update_check_task is not None:\n"},"line_number":895,"absolute_offset":30046,"submatches":[{"match":{"text":"update_check"},"start":15,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"                    update_check_task,\n"},"line_number":897,"absolute_offset":30139,"submatches":[{"match":{"text":"update_check"},"start":20,"end":32}]}}
{"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":67883,"human":"0.000068s"},"searches":1,"searches_with_match":1,"bytes_searched":30885,"bytes_printed":8064,"matched_lines":25,"matches":26}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"    from comate_cli.terminal_agent.update_check import UpdateInfo, UpdateTarget\n"},"line_number":23,"absolute_offset":656,"submatches":[{"match":{"text":"update_check"},"start":35,"end":47}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":8187,"human":"0.000008s"},"searches":1,"searches_with_match":1,"bytes_searched":8100,"bytes_printed":485,"matched_lines":1,"matches":1}}}
{"data":{"elapsed_total":{"human":"0.006079s","nanos":6078950,"secs":0},"stats":{"bytes_printed":12137,"bytes_searched":60972,"elapsed":{"human":"0.000121s","nanos":120706,"secs":0},"matched_lines":37,"matches":38,"searches":3,"searches_with_match":3}},"type":"summary"}
