{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"    console.print(f\"[dim]session({mode}): [cyan]{session_id}[/][/]\")\n"},"line_number":62,"absolute_offset":1773,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"    console.print(f\"[green]>[/] {_truncate(content, 1000)}\")\n"},"line_number":66,"absolute_offset":1909,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"        console.print(\"[dim]no previous messages[/]\")\n"},"line_number":77,"absolute_offset":2280,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"    console.print(f\"[dim]history loaded: {len(history)} messages[/]\")\n"},"line_number":80,"absolute_offset":2350,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"            console.print(\"[dim]⏺ (tool call only message)[/]\")\n"},"line_number":89,"absolute_offset":2714,"submatches":[{"match":{"text":"print("},"start":20,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"            console.print(\"[dim]⏺ (tool call only message)[/]\")\n"},"line_number":94,"absolute_offset":2929,"submatches":[{"match":{"text":"print("},"start":20,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"lines":{"text":"            console.print(Markdown(remainder, code_theme=\"monokai\", hyperlinks=True))\n"},"line_number":98,"absolute_offset":3090,"submatches":[{"match":{"text":"print("},"start":20,"end":26}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/session_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":75158,"human":"0.000075s"},"searches":1,"searches_with_match":1,"bytes_searched":3213,"bytes_printed":2434,"matched_lines":7,"matches":7}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"lines":{"text":"    console.print(logo_text)\n"},"line_number":72,"absolute_offset":2812,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"lines":{"text":"    console.print()\n"},"line_number":73,"absolute_offset":2841,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"lines":{"text":"    console.print(\n"},"line_number":74,"absolute_offset":2861,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"lines":{"text":"    console.print()\n"},"line_number":80,"absolute_offset":3011,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":31566,"human":"0.000032s"},"searches":1,"searches_with_match":1,"bytes_searched":3031,"bytes_printed":1219,"matched_lines":4,"matches":4}}}
{"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":"        console.print(\"[dim]暂无可恢复会话。[/]\")\n"},"line_number":207,"absolute_offset":6567,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        console.print(\"[dim]暂无可恢复会话。[/]\")\n"},"line_number":241,"absolute_offset":7469,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"        console.print(\"[dim]已取消恢复。[/]\")\n"},"line_number":282,"absolute_offset":8565,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"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":76475,"human":"0.000076s"},"searches":1,"searches_with_match":1,"bytes_searched":8655,"bytes_printed":1101,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"},"lines":{"text":"    console.print(\n"},"line_number":24,"absolute_offset":602,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"},"lines":{"text":"        console.print()\n"},"line_number":33,"absolute_offset":852,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":20505,"human":"0.000021s"},"searches":1,"searches_with_match":1,"bytes_searched":876,"bytes_printed":697,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        console.print(\"[yellow]Setup cancelled. Session was not started.[/]\")\n"},"line_number":354,"absolute_offset":11084,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        console.print(\"[yellow]Setup cancelled. Session was not started.[/]\")\n"},"line_number":358,"absolute_offset":11306,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        console.print(f\"[red]Failed to save provider settings: {exc}[/]\")\n"},"line_number":370,"absolute_offset":11831,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        console.print(\n"},"line_number":375,"absolute_offset":12075,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    console.print(f\"[green]Provider settings saved: {settings_path}[/]\")\n"},"line_number":381,"absolute_offset":12352,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    console.print(\"[red]Provider setup required[/]\")\n"},"line_number":493,"absolute_offset":15999,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    console.print(\"[dim]You need to configure an API provider before you can continue.[/]\")\n"},"line_number":494,"absolute_offset":16052,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    console.print(f\"[dim]{reason_lines}[/]\")\n"},"line_number":495,"absolute_offset":16144,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    console.print(\"[dim]Run `comate` in interactive mode to complete provider setup.[/]\")\n"},"line_number":496,"absolute_offset":16189,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":106107,"human":"0.000106s"},"searches":1,"searches_with_match":1,"bytes_searched":37051,"bytes_printed":3076,"matched_lines":9,"matches":9}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"    console.print(f\"[{style}]{icon} {message}[/]\")\n"},"line_number":26,"absolute_offset":816,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"        console.print(Text.assemble(dot, sweep), end=\"\\r\")\n"},"line_number":57,"absolute_offset":1877,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"        console.print(Text(\" \" * 60), end=\"\\r\")\n"},"line_number":77,"absolute_offset":2466,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":58022,"human":"0.000058s"},"searches":1,"searches_with_match":1,"bytes_searched":2514,"bytes_printed":1059,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"lines":{"text":"        console.print(Markdown(content, code_theme=\"monokai\", hyperlinks=False))\n"},"line_number":20,"absolute_offset":464,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":27184,"human":"0.000027s"},"searches":1,"searches_with_match":1,"bytes_searched":662,"bytes_printed":482,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"    console.print(group)\n"},"line_number":147,"absolute_offset":4939,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"    console.print(group)\n"},"line_number":151,"absolute_offset":5036,"submatches":[{"match":{"text":"print("},"start":12,"end":18}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":30071,"human":"0.000030s"},"searches":1,"searches_with_match":1,"bytes_searched":5061,"bytes_printed":714,"matched_lines":2,"matches":2}}}
{"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":"        console.print(\"[red]`comate resume` does not support `--rpc-stdio` without <session_id>[/]\")\n"},"line_number":277,"absolute_offset":8949,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    console.print(f\"[dim]💡 Tip: {random.choice(TIPS)}[/dim]\")\n"},"line_number":290,"absolute_offset":9385,"submatches":[{"match":{"text":"print("},"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":"            console.print(update_hint)\n"},"line_number":304,"absolute_offset":9930,"submatches":[{"match":{"text":"print("},"start":20,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        console.print(f\"[dim]{usage_line}[/]\")\n"},"line_number":346,"absolute_offset":11274,"submatches":[{"match":{"text":"print("},"start":16,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        console.print(resume_hint)\n"},"line_number":351,"absolute_offset":11472,"submatches":[{"match":{"text":"print("},"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":91428,"human":"0.000091s"},"searches":1,"searches_with_match":1,"bytes_searched":11559,"bytes_printed":1676,"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":"        def _print() -> None:\n"},"line_number":232,"absolute_offset":9237,"submatches":[{"match":{"text":"print("},"start":13,"end":19}]}}
{"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":52494,"human":"0.000052s"},"searches":1,"searches_with_match":1,"bytes_searched":10574,"bytes_printed":445,"matched_lines":1,"matches":1}}}
{"data":{"elapsed_total":{"human":"0.010997s","nanos":10997236,"secs":0},"stats":{"bytes_printed":12903,"bytes_searched":83196,"elapsed":{"human":"0.000569s","nanos":569010,"secs":0},"matched_lines":37,"matches":37,"searches":10,"searches_with_match":10}},"type":"summary"}
