{"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":"            logger.debug(f\"Terminal guard disabled: failed to snapshot tty attrs: {exc}\")\n"},"line_number":37,"absolute_offset":837,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"            logger.warning(f\"tty restore failed ({reason}): {exc}\", exc_info=True)\n"},"line_number":47,"absolute_offset":1203,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"            logger.warning(f\"stty sane fallback failed ({reason}): {exc}\", exc_info=True)\n"},"line_number":58,"absolute_offset":1561,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"            logger.debug(\"SIGINT is now ignored for final shutdown\")\n"},"line_number":82,"absolute_offset":2338,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"            logger.debug(f\"Failed to switch SIGINT to SIG_IGN during shutdown: {exc}\")\n"},"line_number":84,"absolute_offset":2440,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"            logger.debug(\"Suppressed unraisable KeyboardInterrupt during shutdown\")\n"},"line_number":89,"absolute_offset":2724,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":53492,"human":"0.000053s"},"searches":1,"searches_with_match":1,"bytes_searched":5288,"bytes_printed":2048,"matched_lines":6,"matches":6}}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        logger.exception(\"Failed to save pre-flight settings\")\n"},"line_number":369,"absolute_offset":11768,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":106628,"human":"0.000107s"},"searches":1,"searches_with_match":1,"bytes_searched":37051,"bytes_printed":3453,"matched_lines":10,"matches":10}}}
{"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":"        logger.warning(f\"Failed to scan context jsonl: path={path} error={exc}\", exc_info=True)\n"},"line_number":127,"absolute_offset":3919,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"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\"Skip session because stat failed: session={child.name} error={exc}\")\n"},"line_number":179,"absolute_offset":5636,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":8,"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":50040,"human":"0.000050s"},"searches":1,"searches_with_match":1,"bytes_searched":8655,"bytes_printed":1842,"matched_lines":5,"matches":5}}}
{"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":"            logger.exception(\"rpc event pump failed\")\n"},"line_number":270,"absolute_offset":8959,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            logger.warning(f\"failed to interrupt active prompt: {exc}\", exc_info=True)\n"},"line_number":323,"absolute_offset":11013,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":28248,"human":"0.000028s"},"searches":1,"searches_with_match":1,"bytes_searched":12452,"bytes_printed":794,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rewind_store.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rewind_store.py"},"lines":{"text":"                logger.warning(f\"Failed to capture pre-edit baseline for {relpath}: {e}\")\n"},"line_number":115,"absolute_offset":3340,"submatches":[{"match":{"text":"logger."},"start":16,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rewind_store.py"},"lines":{"text":"                    logger.warning(f\"rewind blob missing for {relpath}: {sha256}\")\n"},"line_number":385,"absolute_offset":13892,"submatches":[{"match":{"text":"logger."},"start":20,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rewind_store.py"},"lines":{"text":"            logger.warning(f\"failed to load rewind index: {self.index_path}\")\n"},"line_number":698,"absolute_offset":25228,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rewind_store.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":73657,"human":"0.000074s"},"searches":1,"searches_with_match":1,"bytes_searched":26961,"bytes_printed":1177,"matched_lines":3,"matches":3}}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":12,"end":25}]}}
{"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":"console.print"},"start":12,"end":25}]}}
{"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":"console.print"},"start":12,"end":25}]}}
{"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":35072,"human":"0.000035s"},"searches":1,"searches_with_match":1,"bytes_searched":3213,"bytes_printed":2479,"matched_lines":7,"matches":7}}}
{"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":"                logger.warning(f\"missing slash command handler: {spec.name}\")\n"},"line_number":483,"absolute_offset":18644,"submatches":[{"match":{"text":"logger."},"start":16,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            logger.debug(\"stream task cancelled\")\n"},"line_number":685,"absolute_offset":26131,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            logger.exception(\"stream failed\")\n"},"line_number":687,"absolute_offset":26214,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                logger.exception(\"background task failed\")\n"},"line_number":951,"absolute_offset":36485,"submatches":[{"match":{"text":"logger."},"start":16,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                logger.info(\n"},"line_number":1028,"absolute_offset":39609,"submatches":[{"match":{"text":"logger."},"start":16,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            logger.warning(f\"failed to capture checkpoint: {exc}\", exc_info=True)\n"},"line_number":1035,"absolute_offset":39894,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            logger.error(f\"{task_name} did not exit within {timeout_s:.1f}s after cancellation\")\n"},"line_number":1083,"absolute_offset":41499,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            logger.warning(f\"{task_name} failed after cancellation: {exc}\", exc_info=True)\n"},"line_number":1090,"absolute_offset":41742,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                    logger.warning(\n"},"line_number":1113,"absolute_offset":42479,"submatches":[{"match":{"text":"logger."},"start":20,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                    logger.warning(f\"MCP init failed in TUI bootstrap: {exc}\", exc_info=True)\n"},"line_number":1130,"absolute_offset":43279,"submatches":[{"match":{"text":"logger."},"start":20,"end":27}]}}
{"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":124984,"human":"0.000125s"},"searches":1,"searches_with_match":1,"bytes_searched":44678,"bytes_printed":3340,"matched_lines":10,"matches":10}}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":23830,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":3031,"bytes_printed":1243,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"lines":{"text":"        logger.warning(f\"Invalid env var {name}={raw!r}; using default {default}.\")\n"},"line_number":16,"absolute_offset":304,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"lines":{"text":"        logger.warning(f\"Invalid env var {name}={raw!r}; using default {default}.\")\n"},"line_number":19,"absolute_offset":430,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"lines":{"text":"        logger.warning(f\"Invalid env var {name}={raw!r}; using default {default}.\")\n"},"line_number":31,"absolute_offset":767,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"lines":{"text":"        logger.warning(f\"Invalid env var {name}={raw!r}; using default {default}.\")\n"},"line_number":34,"absolute_offset":893,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":24672,"human":"0.000025s"},"searches":1,"searches_with_match":1,"bytes_searched":1018,"bytes_printed":1496,"matched_lines":4,"matches":4}}}
{"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":"                        logger.warning(\"ExitPlanMode: Failed to read plan file %s\", plan_path)\n"},"line_number":928,"absolute_offset":37273,"submatches":[{"match":{"text":"logger."},"start":24,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                logger.debug(\"Unhandled event type: %s\", type(event).__name__)\n"},"line_number":945,"absolute_offset":38066,"submatches":[{"match":{"text":"logger."},"start":16,"end":23}]}}
{"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":54539,"human":"0.000055s"},"searches":1,"searches_with_match":1,"bytes_searched":38212,"bytes_printed":843,"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":"            logger.debug(\"top-level mention scan failed: %s\", exc)\n"},"line_number":221,"absolute_offset":6727,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"            logger.debug(\"deep mention scan failed: %s\", exc)\n"},"line_number":261,"absolute_offset":8276,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":24006,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":9452,"bytes_printed":805,"matched_lines":2,"matches":2}}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":25218,"human":"0.000025s"},"searches":1,"searches_with_match":1,"bytes_searched":2514,"bytes_printed":1077,"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":17517,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":876,"bytes_printed":709,"matched_lines":2,"matches":2}}}
{"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":"console.print"},"start":8,"end":21}]}}
{"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":12615,"human":"0.000013s"},"searches":1,"searches_with_match":1,"bytes_searched":662,"bytes_printed":488,"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":"console.print"},"start":4,"end":17}]}}
{"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":"console.print"},"start":4,"end":17}]}}
{"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":34054,"human":"0.000034s"},"searches":1,"searches_with_match":1,"bytes_searched":5061,"bytes_printed":726,"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":"        logger.debug(f\"update check failed (source={source_label})\", exc_info=True)\n"},"line_number":85,"absolute_offset":2724,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        logger.debug(\"SIGINT guard enabled for shutdown\")\n"},"line_number":124,"absolute_offset":3918,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        logger.debug(f\"Failed to enable SIGINT guard, fallback to unguarded shutdown: {exc}\")\n"},"line_number":126,"absolute_offset":4005,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            logger.debug(\"SIGINT guard restored\")\n"},"line_number":135,"absolute_offset":4237,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            logger.warning(f\"Failed to restore SIGINT handler: {exc}\", exc_info=True)\n"},"line_number":137,"absolute_offset":4320,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        logger.warning(f\"Session shutdown failed ({label}): {exc}\", exc_info=True)\n"},"line_number":149,"absolute_offset":4711,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    logger.info(f\"Session shutdown completed ({label}) in {elapsed:.3f}s\")\n"},"line_number":153,"absolute_offset":4849,"submatches":[{"match":{"text":"logger."},"start":4,"end":11}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    logger.info(f\"Graceful shutdown completed in {elapsed:.3f}s\")\n"},"line_number":174,"absolute_offset":5580,"submatches":[{"match":{"text":"logger."},"start":4,"end":11}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        logger.warning(f\"MCP init failed: {e}\", exc_info=True)\n"},"line_number":239,"absolute_offset":7894,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        logger.warning(f\"MCP server '{alias}' skipped: {reason}\")\n"},"line_number":247,"absolute_offset":8092,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        logger.info(f\"MCP Server loaded: {', '.join(aliases)} ({count} tools)\")\n"},"line_number":253,"absolute_offset":8289,"submatches":[{"match":{"text":"logger."},"start":8,"end":15}]}}
{"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":274,"absolute_offset":8886,"submatches":[{"match":{"text":"console.print"},"start":8,"end":21}]}}
{"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":287,"absolute_offset":9322,"submatches":[{"match":{"text":"console.print"},"start":4,"end":17}]}}
{"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":301,"absolute_offset":9867,"submatches":[{"match":{"text":"console.print"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            logger.warning(\n"},"line_number":331,"absolute_offset":10820,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":342,"absolute_offset":11161,"submatches":[{"match":{"text":"console.print"},"start":8,"end":21}]}}
{"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":347,"absolute_offset":11359,"submatches":[{"match":{"text":"console.print"},"start":8,"end":21}]}}
{"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":135414,"human":"0.000135s"},"searches":1,"searches_with_match":1,"bytes_searched":11446,"bytes_printed":5577,"matched_lines":17,"matches":17}}}
{"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":"            logger.warning(\n"},"line_number":47,"absolute_offset":1522,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":29473,"human":"0.000029s"},"searches":1,"searches_with_match":1,"bytes_searched":10574,"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/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":"            logger.exception(\"Failed to cycle mode\")\n"},"line_number":51,"absolute_offset":1685,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            logger.exception(\"custom slash command rendering failed\")\n"},"line_number":698,"absolute_offset":23489,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            logger.exception(\"manual compaction failed\")\n"},"line_number":739,"absolute_offset":24898,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                logger.exception(\"Failed to refresh status bar after /compact\")\n"},"line_number":752,"absolute_offset":25363,"submatches":[{"match":{"text":"logger."},"start":16,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            logger.info(f\"Model level switched: {event}\")\n"},"line_number":844,"absolute_offset":28557,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            logger.exception(\"Failed to switch model level\")\n"},"line_number":850,"absolute_offset":28810,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            logger.exception(\"Failed to update status bar model name\")\n"},"line_number":866,"absolute_offset":29443,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            logger.exception(\"rewind failed\")\n"},"line_number":1112,"absolute_offset":38135,"submatches":[{"match":{"text":"logger."},"start":12,"end":19}]}}
{"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":89351,"human":"0.000089s"},"searches":1,"searches_with_match":1,"bytes_searched":47051,"bytes_printed":2796,"matched_lines":8,"matches":8}}}
{"data":{"elapsed_total":{"human":"0.008655s","nanos":8655272,"secs":0},"stats":{"bytes_printed":31636,"bytes_searched":268195,"elapsed":{"human":"0.000943s","nanos":942810,"secs":0},"matched_lines":90,"matches":90,"searches":18,"searches_with_match":18}},"type":"summary"}
