{"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":"    preload_mcp: Callable[[object], Awaitable[None]],\n"},"line_number":196,"absolute_offset":5930,"submatches":[{"match":{"text":"reload"},"start":5,"end":11}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"        await preload_mcp(session)\n"},"line_number":211,"absolute_offset":6615,"submatches":[{"match":{"text":"reload"},"start":15,"end":21}]}}
{"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":24161,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":8932,"bytes_printed":737,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"        self._reload_items()\n"},"line_number":83,"absolute_offset":2842,"submatches":[{"match":{"text":"reload"},"start":14,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def _reload_items(self) -> None:\n"},"line_number":88,"absolute_offset":2960,"submatches":[{"match":{"text":"reload"},"start":9,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"            self._reload_items()\n"},"line_number":606,"absolute_offset":24629,"submatches":[{"match":{"text":"reload"},"start":18,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"            self._reload_items()\n"},"line_number":617,"absolute_offset":25195,"submatches":[{"match":{"text":"reload"},"start":18,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"            self._reload_items()\n"},"line_number":635,"absolute_offset":26074,"submatches":[{"match":{"text":"reload"},"start":18,"end":24}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":35414,"human":"0.000035s"},"searches":1,"searches_with_match":1,"bytes_searched":27331,"bytes_printed":1702,"matched_lines":5,"matches":5}}}
{"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":"    # Canonicalize to UTF-8 + LF so prompt_toolkit can reload history consistently\n"},"line_number":207,"absolute_offset":7112,"submatches":[{"match":{"text":"reload"},"start":55,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            \"reload-plugins\": self._slash_reload_plugins,\n"},"line_number":1137,"absolute_offset":45671,"submatches":[{"match":{"text":"reload"},"start":13,"end":19},{"match":{"text":"reload"},"start":42,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        # If any plugin had MCP servers, trigger reload\n"},"line_number":2979,"absolute_offset":122409,"submatches":[{"match":{"text":"reload"},"start":49,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            agent.start_mcp_preload()\n"},"line_number":2982,"absolute_offset":122576,"submatches":[{"match":{"text":"reload"},"start":29,"end":35}]}}
{"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":83671,"human":"0.000084s"},"searches":1,"searches_with_match":1,"bytes_searched":126008,"bytes_printed":1423,"matched_lines":4,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/context_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/context_view.py"},"lines":{"text":"    file_details = list(getattr(info, \"instruction_file_details\", ()) or ())\n"},"line_number":418,"absolute_offset":13000,"submatches":[{"match":{"text":"instruction_file"},"start":39,"end":55}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/context_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17537,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":15142,"bytes_printed":485,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"                self._result.needs_reload = True\n"},"line_number":591,"absolute_offset":22435,"submatches":[{"match":{"text":"reload"},"start":35,"end":41}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17885,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":22968,"bytes_printed":471,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"                self._result.needs_reload = True\n"},"line_number":717,"absolute_offset":27348,"submatches":[{"match":{"text":"reload"},"start":35,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"                self._result.needs_reload = True\n"},"line_number":741,"absolute_offset":28591,"submatches":[{"match":{"text":"reload"},"start":35,"end":41}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":20561,"human":"0.000021s"},"searches":1,"searches_with_match":1,"bytes_searched":29068,"bytes_printed":797,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"        name=\"reload-plugins\",\n"},"line_number":131,"absolute_offset":3550,"submatches":[{"match":{"text":"reload"},"start":14,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"        \"reload-plugins\",\n"},"line_number":176,"absolute_offset":5025,"submatches":[{"match":{"text":"reload"},"start":9,"end":15}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":13538,"human":"0.000014s"},"searches":1,"searches_with_match":1,"bytes_searched":9711,"bytes_printed":721,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    needs_reload: bool = False\n"},"line_number":59,"absolute_offset":1878,"submatches":[{"match":{"text":"reload"},"start":10,"end":16}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":13287,"human":"0.000013s"},"searches":1,"searches_with_match":1,"bytes_searched":17006,"bytes_printed":443,"matched_lines":1,"matches":1}}}
{"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":"async def _preload_mcp_in_tui(\n"},"line_number":862,"absolute_offset":28513,"submatches":[{"match":{"text":"reload"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        profiler.mark(\"preload.start\")\n"},"line_number":869,"absolute_offset":28748,"submatches":[{"match":{"text":"reload"},"start":24,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"preload.skip_disabled\")\n"},"line_number":873,"absolute_offset":28895,"submatches":[{"match":{"text":"reload"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"start_preload.start\")\n"},"line_number":878,"absolute_offset":29004,"submatches":[{"match":{"text":"reload"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        preload_task = runtime.start_mcp_preload()\n"},"line_number":879,"absolute_offset":29053,"submatches":[{"match":{"text":"reload"},"start":9,"end":15},{"match":{"text":"reload"},"start":42,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"start_preload.done\")\n"},"line_number":881,"absolute_offset":29137,"submatches":[{"match":{"text":"reload"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        if preload_task is None:\n"},"line_number":882,"absolute_offset":29185,"submatches":[{"match":{"text":"reload"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"                profiler.mark(\"preload.no_task\")\n"},"line_number":884,"absolute_offset":29255,"submatches":[{"match":{"text":"reload"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"await_preload.start\")\n"},"line_number":887,"absolute_offset":29356,"submatches":[{"match":{"text":"reload"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        await preload_task\n"},"line_number":888,"absolute_offset":29405,"submatches":[{"match":{"text":"reload"},"start":15,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"await_preload.done\")\n"},"line_number":890,"absolute_offset":29465,"submatches":[{"match":{"text":"reload"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            profiler.mark(\"preload.failed\")\n"},"line_number":894,"absolute_offset":29634,"submatches":[{"match":{"text":"reload"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        preload_mcp=_preload_mcp_in_tui,\n"},"line_number":940,"absolute_offset":30925,"submatches":[{"match":{"text":"reload"},"start":9,"end":15},{"match":{"text":"reload"},"start":22,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        await _preload_mcp_in_tui(session, profiler=profiler.child(\"mcp\"))\n"},"line_number":1305,"absolute_offset":44936,"submatches":[{"match":{"text":"reload"},"start":16,"end":22}]}}
{"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":60172,"human":"0.000060s"},"searches":1,"searches_with_match":1,"bytes_searched":45395,"bytes_printed":4402,"matched_lines":14,"matches":16}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/theme.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/theme.py"},"lines":{"text":"    \"instructions\": \"#E8C06B\",\n"},"line_number":67,"absolute_offset":3110,"submatches":[{"match":{"text":"instructions"},"start":5,"end":17}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/theme.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":18544,"human":"0.000019s"},"searches":1,"searches_with_match":1,"bytes_searched":12944,"bytes_printed":420,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/input_behavior.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/input_behavior.py"},"lines":{"text":"        # MCP preload 只在后台准备工具，不阻塞首条用户消息的回显与提交。\n"},"line_number":592,"absolute_offset":21999,"submatches":[{"match":{"text":"reload"},"start":15,"end":21}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/input_behavior.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":18077,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":24226,"bytes_printed":518,"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":"        async def toggle_and_reload() -> bool:\n"},"line_number":1005,"absolute_offset":36940,"submatches":[{"match":{"text":"reload"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            toggle_and_reload(),\n"},"line_number":1070,"absolute_offset":39432,"submatches":[{"match":{"text":"reload"},"start":23,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"    async def _slash_reload_plugins(self, args: str) -> None:\n"},"line_number":1812,"absolute_offset":66992,"submatches":[{"match":{"text":"reload"},"start":21,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        \"\"\"Handle /reload-plugins — reload all plugin resources.\"\"\"\n"},"line_number":1813,"absolute_offset":67054,"submatches":[{"match":{"text":"reload"},"start":19,"end":25},{"match":{"text":"reload"},"start":38,"end":44}]}}
{"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 and result.needs_reload:\n"},"line_number":1844,"absolute_offset":68325,"submatches":[{"match":{"text":"reload"},"start":35,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                \"Plugin changes applied. Run /reload-plugins to load new resources.\"\n"},"line_number":1846,"absolute_offset":68415,"submatches":[{"match":{"text":"reload"},"start":46,"end":52}]}}
{"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":71287,"human":"0.000071s"},"searches":1,"searches_with_match":1,"bytes_searched":94968,"bytes_printed":2145,"matched_lines":6,"matches":7}}}
{"data":{"elapsed_total":{"human":"0.011697s","nanos":11696999,"secs":0},"stats":{"bytes_printed":14264,"bytes_searched":433699,"elapsed":{"human":"0.000394s","nanos":394134,"secs":0},"matched_lines":40,"matches":44,"searches":12,"searches_with_match":12}},"type":"summary"}
