{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"lines":{"text":"    if normalized == \"connected\" or (normalized in {\"\", \"idle\"} and connected):\n"},"line_number":385,"absolute_offset":13097,"submatches":[{"match":{"text":"\"idle\""},"start":56,"end":62}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":30671,"human":"0.000031s"},"searches":1,"searches_with_match":1,"bytes_searched":24900,"bytes_printed":444,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"    - severity: \"error\" or \"warning\"\n"},"line_number":13,"absolute_offset":398,"submatches":[{"match":{"text":"\"error\""},"start":16,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"        severity = \"warning\" if code is not None and code >= 500 else \"error\"\n"},"line_number":52,"absolute_offset":1961,"submatches":[{"match":{"text":"\"error\""},"start":70,"end":77}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"        return \"Session closed\", \"Session closed\", \"error\"\n"},"line_number":57,"absolute_offset":2150,"submatches":[{"match":{"text":"\"error\""},"start":51,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"        return \"Connection failed\", \"Connection failed\", \"error\"\n"},"line_number":64,"absolute_offset":2427,"submatches":[{"match":{"text":"\"error\""},"start":57,"end":64}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"    return f\"Error: {exc_msg}\", \"Error occurred\", \"error\"\n"},"line_number":67,"absolute_offset":2516,"submatches":[{"match":{"text":"\"error\""},"start":50,"end":57}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"        error = value.get(\"error\")\n"},"line_number":95,"absolute_offset":3328,"submatches":[{"match":{"text":"\"error\""},"start":26,"end":33}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":36013,"human":"0.000036s"},"searches":1,"searches_with_match":1,"bytes_searched":3558,"bytes_printed":2073,"matched_lines":6,"matches":6}}}
{"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":"        style = \"class:system.error\" if entry.severity == \"error\" else \"class:system.warning\"\n"},"line_number":216,"absolute_offset":7026,"submatches":[{"match":{"text":"\"error\""},"start":58,"end":65}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"lines":{"text":"        style = \"class:tool.error\" if entry.severity == \"error\" else \"class:tool.success\"\n"},"line_number":223,"absolute_offset":7339,"submatches":[{"match":{"text":"\"error\""},"start":56,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"lines":{"text":"                    \"class:system.error\" if entry.severity == \"error\" else \"class:dim\",\n"},"line_number":237,"absolute_offset":8012,"submatches":[{"match":{"text":"\"error\""},"start":62,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"lines":{"text":"        style = \"class:tool.error\" if entry.severity == \"error\" else \"class:tool.success\"\n"},"line_number":243,"absolute_offset":8194,"submatches":[{"match":{"text":"\"error\""},"start":56,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/transcript_viewer.py"},"lines":{"text":"                    \"class:system.error\" if entry.severity == \"error\" else \"class:dim\",\n"},"line_number":250,"absolute_offset":8538,"submatches":[{"match":{"text":"\"error\""},"start":62,"end":69}]}}
{"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":37086,"human":"0.000037s"},"searches":1,"searches_with_match":1,"bytes_searched":13231,"bytes_printed":1960,"matched_lines":5,"matches":5}}}
{"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":"        \"failed\",\n"},"line_number":49,"absolute_offset":1330,"submatches":[{"match":{"text":"\"failed\""},"start":8,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        return self.status in {\"cancelled\", \"blocked_non_interactive\", \"failed\"}\n"},"line_number":55,"absolute_offset":1442,"submatches":[{"match":{"text":"\"failed\""},"start":71,"end":79}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        return PreflightResult(status=\"failed\", detail=\"write_failed\")\n"},"line_number":103,"absolute_offset":3305,"submatches":[{"match":{"text":"\"failed\""},"start":38,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        return PreflightResult(status=\"failed\", detail=\"still_missing_after_write\")\n"},"line_number":111,"absolute_offset":3667,"submatches":[{"match":{"text":"\"failed\""},"start":38,"end":46}]}}
{"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":16509,"human":"0.000017s"},"searches":1,"searches_with_match":1,"bytes_searched":7647,"bytes_printed":1443,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"ToolStatus = Literal[\"running\", \"success\", \"error\"]\n"},"line_number":10,"absolute_offset":197,"submatches":[{"match":{"text":"\"running\""},"start":21,"end":30},{"match":{"text":"\"success\""},"start":32,"end":41},{"match":{"text":"\"error\""},"start":43,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    IDLE = \"idle\"                # 空闲状态 - 无显示\n"},"line_number":34,"absolute_offset":801,"submatches":[{"match":{"text":"\"idle\""},"start":11,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    status: ToolStatus = \"running\"\n"},"line_number":78,"absolute_offset":2191,"submatches":[{"match":{"text":"\"running\""},"start":25,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    severity: Literal[\"info\", \"warning\", \"error\"] = \"info\"\n"},"line_number":96,"absolute_offset":2701,"submatches":[{"match":{"text":"\"error\""},"start":41,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    subtitle_style: Literal[\"error\", \"warning\", \"dim\"] = \"dim\"\n"},"line_number":98,"absolute_offset":2792,"submatches":[{"match":{"text":"\"error\""},"start":28,"end":35}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":24164,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":3062,"bytes_printed":1809,"matched_lines":5,"matches":7}}}
{"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":"            self._record_git_failure_backoff(reason=\"error\", args=args)\n"},"line_number":185,"absolute_offset":6945,"submatches":[{"match":{"text":"\"error\""},"start":52,"end":59}]}}
{"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":16288,"human":"0.000016s"},"searches":1,"searches_with_match":1,"bytes_searched":24319,"bytes_printed":468,"matched_lines":1,"matches":1}}}
{"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":"                \"error\": \"fg:ansired\",\n"},"line_number":736,"absolute_offset":30969,"submatches":[{"match":{"text":"\"error\""},"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":"                severity=\"error\",\n"},"line_number":912,"absolute_offset":38249,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1463,"absolute_offset":59548,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        self._append_run_elapsed_to_history(stop_reason=\"error\")\n"},"line_number":1517,"absolute_offset":61725,"submatches":[{"match":{"text":"\"error\""},"start":56,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                \"A task is currently running. Please wait.\", severity=\"error\"\n"},"line_number":1560,"absolute_offset":63238,"submatches":[{"match":{"text":"\"error\""},"start":70,"end":77}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                    raw_stop_error = event.metadata.get(\"error\")\n"},"line_number":1712,"absolute_offset":70625,"submatches":[{"match":{"text":"\"error\""},"start":56,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                        stop_reason = \"error\"\n"},"line_number":1722,"absolute_offset":71138,"submatches":[{"match":{"text":"\"error\""},"start":38,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1886,"absolute_offset":78640,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"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":85791,"human":"0.000086s"},"searches":1,"searches_with_match":1,"bytes_searched":111355,"bytes_printed":2587,"matched_lines":8,"matches":8}}}
{"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":"    return \"success\"\n"},"line_number":85,"absolute_offset":2401,"submatches":[{"match":{"text":"\"success\""},"start":11,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"            error = event.metadata.get(\"error\") if event.metadata else None\n"},"line_number":166,"absolute_offset":5003,"submatches":[{"match":{"text":"\"error\""},"start":39,"end":46}]}}
{"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":11588,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":7231,"bytes_printed":757,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    IDLE = \"idle\"\n"},"line_number":458,"absolute_offset":11358,"submatches":[{"match":{"text":"\"idle\""},"start":11,"end":17}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":11856,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":13666,"bytes_printed":414,"matched_lines":1,"matches":1}}}
{"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":"            severity: Literal[\"warning\", \"error\"] = (\n"},"line_number":196,"absolute_offset":6890,"submatches":[{"match":{"text":"\"error\""},"start":41,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"                \"error\" if record.levelno >= logging.ERROR else \"warning\"\n"},"line_number":197,"absolute_offset":6944,"submatches":[{"match":{"text":"\"error\""},"start":16,"end":23}]}}
{"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":32313,"human":"0.000032s"},"searches":1,"searches_with_match":1,"bytes_searched":16492,"bytes_printed":806,"matched_lines":2,"matches":2}}}
{"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":"    for key in (\"error\", \"err\"):\n"},"line_number":190,"absolute_offset":5633,"submatches":[{"match":{"text":"\"error\""},"start":16,"end":23}]}}
{"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":31447,"human":"0.000031s"},"searches":1,"searches_with_match":1,"bytes_searched":36197,"bytes_printed":455,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"        \"error\": {\"code\": int(code), \"message\": str(message)},\n"},"line_number":76,"absolute_offset":1973,"submatches":[{"match":{"text":"\"error\""},"start":8,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"        payload[\"error\"][\"data\"] = _to_jsonable(data)\n"},"line_number":79,"absolute_offset":2067,"submatches":[{"match":{"text":"\"error\""},"start":16,"end":23}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":9785,"human":"0.000010s"},"searches":1,"searches_with_match":1,"bytes_searched":3182,"bytes_printed":785,"matched_lines":2,"matches":2}}}
{"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":"            if entry.severity == \"error\":\n"},"line_number":343,"absolute_offset":12205,"submatches":[{"match":{"text":"\"error\""},"start":33,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"                    error=(entry.severity == \"error\"),\n"},"line_number":374,"absolute_offset":13503,"submatches":[{"match":{"text":"\"error\""},"start":45,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"            prefix_style = \"bold red\" if entry.severity == \"error\" else \"bold green\"\n"},"line_number":411,"absolute_offset":15158,"submatches":[{"match":{"text":"\"error\""},"start":59,"end":66}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"                            error=(entry.subtitle_style == \"error\"),\n"},"line_number":432,"absolute_offset":16330,"submatches":[{"match":{"text":"\"error\""},"start":59,"end":66}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"                    renderables.append(_render_subtitle_line(entry.subtitle, error=(entry.subtitle_style == \"error\"), warning=(entry.subtitle_style == \"warning\")))\n"},"line_number":446,"absolute_offset":17006,"submatches":[{"match":{"text":"\"error\""},"start":108,"end":115}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"                renderables.append(_render_subtitle_line(entry.subtitle, error=(entry.subtitle_style == \"error\"), warning=(entry.subtitle_style == \"warning\")))\n"},"line_number":466,"absolute_offset":17822,"submatches":[{"match":{"text":"\"error\""},"start":104,"end":111}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"                    \"#FF6B6B\" if entry.severity == \"error\"\n"},"line_number":476,"absolute_offset":18293,"submatches":[{"match":{"text":"\"error\""},"start":51,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"                style = \"bold #FF6B6B\" if entry.severity == \"error\" else \"#E8B830\"\n"},"line_number":485,"absolute_offset":18674,"submatches":[{"match":{"text":"\"error\""},"start":60,"end":67}]}}
{"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":29808,"human":"0.000030s"},"searches":1,"searches_with_match":1,"bytes_searched":23046,"bytes_printed":3025,"matched_lines":8,"matches":8}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"_ALLOWED_STATUS = {\"pending\", \"in_progress\", \"completed\"}\n"},"line_number":75,"absolute_offset":2081,"submatches":[{"match":{"text":"\"pending\""},"start":19,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    status = str(item.get(\"status\", \"pending\")).strip().lower()\n"},"line_number":151,"absolute_offset":4423,"submatches":[{"match":{"text":"\"pending\""},"start":36,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        status = \"pending\"\n"},"line_number":153,"absolute_offset":4525,"submatches":[{"match":{"text":"\"pending\""},"start":17,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        pending = sum(1 for todo in todos if todo.status == \"pending\")\n"},"line_number":536,"absolute_offset":19226,"submatches":[{"match":{"text":"\"pending\""},"start":60,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        states = [state for state in self._state_by_id.values() if state.status == \"running\"]\n"},"line_number":572,"absolute_offset":20598,"submatches":[{"match":{"text":"\"running\""},"start":83,"end":92}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        return any(state.status == \"running\" and state.is_task for state in self._state_by_id.values())\n"},"line_number":598,"absolute_offset":21788,"submatches":[{"match":{"text":"\"running\""},"start":35,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"            if state.status == \"running\" and state.is_task and state.subagent_source_prefix\n"},"line_number":609,"absolute_offset":22186,"submatches":[{"match":{"text":"\"running\""},"start":31,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"            if state.status != \"running\" or not state.is_task or not state.subagent_source_prefix:\n"},"line_number":659,"absolute_offset":24125,"submatches":[{"match":{"text":"\"running\""},"start":31,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        running_states = [state for state in self._state_by_id.values() if state.status == \"running\"]\n"},"line_number":669,"absolute_offset":24629,"submatches":[{"match":{"text":"\"running\""},"start":91,"end":100}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"            status=\"running\",\n"},"line_number":729,"absolute_offset":27180,"submatches":[{"match":{"text":"\"running\""},"start":19,"end":28}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":41280,"human":"0.000041s"},"searches":1,"searches_with_match":1,"bytes_searched":30807,"bytes_printed":3526,"matched_lines":10,"matches":10}}}
{"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":"        style = \"green\" if result.status == \"success\" else \"yellow\"\n"},"line_number":118,"absolute_offset":3624,"submatches":[{"match":{"text":"\"success\""},"start":44,"end":53}]}}
{"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":35062,"human":"0.000035s"},"searches":1,"searches_with_match":1,"bytes_searched":30885,"bytes_printed":456,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/operation_state.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/operation_state.py"},"lines":{"text":"    IDLE = \"idle\"\n"},"line_number":22,"absolute_offset":487,"submatches":[{"match":{"text":"\"idle\""},"start":11,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/operation_state.py"},"lines":{"text":"    RUNNING = \"running\"\n"},"line_number":23,"absolute_offset":505,"submatches":[{"match":{"text":"\"running\""},"start":14,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/operation_state.py"},"lines":{"text":"    SUCCESS = \"success\"\n"},"line_number":24,"absolute_offset":529,"submatches":[{"match":{"text":"\"success\""},"start":14,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/operation_state.py"},"lines":{"text":"    ERROR = \"error\"\n"},"line_number":25,"absolute_offset":553,"submatches":[{"match":{"text":"\"error\""},"start":12,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/operation_state.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":15171,"human":"0.000015s"},"searches":1,"searches_with_match":1,"bytes_searched":4160,"bytes_printed":1331,"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":"    status = str(task.get(\"status\", \"pending\")).strip().lower()\n"},"line_number":180,"absolute_offset":5116,"submatches":[{"match":{"text":"\"pending\""},"start":36,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    elif status == \"pending\" and not is_blocked:\n"},"line_number":185,"absolute_offset":5363,"submatches":[{"match":{"text":"\"pending\""},"start":19,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    elif status == \"pending\":\n"},"line_number":187,"absolute_offset":5429,"submatches":[{"match":{"text":"\"pending\""},"start":19,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    status = str(task.get(\"status\", \"pending\")).strip().lower()\n"},"line_number":221,"absolute_offset":6420,"submatches":[{"match":{"text":"\"pending\""},"start":36,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    status: Literal[\"running\", \"completed\", \"error\"] = \"running\"\n"},"line_number":239,"absolute_offset":6981,"submatches":[{"match":{"text":"\"running\""},"start":20,"end":29},{"match":{"text":"\"error\""},"start":44,"end":51},{"match":{"text":"\"running\""},"start":55,"end":64}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        self._pending_logs: list[tuple[Literal[\"warning\", \"error\"], str, LogSubtype]] = []\n"},"line_number":390,"absolute_offset":12464,"submatches":[{"match":{"text":"\"error\""},"start":58,"end":65}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                severity=\"error\" if snapshot.any_error else \"info\",\n"},"line_number":465,"absolute_offset":15382,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        severity: Literal[\"info\", \"warning\", \"error\"],\n"},"line_number":841,"absolute_offset":31563,"submatches":[{"match":{"text":"\"error\""},"start":45,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        if severity not in {\"warning\", \"error\"}:\n"},"line_number":843,"absolute_offset":31633,"submatches":[{"match":{"text":"\"error\""},"start":39,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        severity: Literal[\"info\", \"warning\", \"error\"] = \"info\",\n"},"line_number":1110,"absolute_offset":41836,"submatches":[{"match":{"text":"\"error\""},"start":45,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        severity: Literal[\"info\", \"warning\", \"error\"] = \"info\",\n"},"line_number":1124,"absolute_offset":42289,"submatches":[{"match":{"text":"\"error\""},"start":45,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        severity: Literal[\"warning\", \"error\"],\n"},"line_number":1151,"absolute_offset":43121,"submatches":[{"match":{"text":"\"error\""},"start":37,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                    if child_tool.status == \"running\":\n"},"line_number":1333,"absolute_offset":50334,"submatches":[{"match":{"text":"\"running\""},"start":44,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        sev: Literal[\"info\", \"warning\", \"error\"] = \"error\" if is_error else \"info\"\n"},"line_number":1409,"absolute_offset":53348,"submatches":[{"match":{"text":"\"error\""},"start":40,"end":47},{"match":{"text":"\"error\""},"start":51,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        sub_sty: Literal[\"error\", \"warning\", \"dim\"] = \"dim\"\n"},"line_number":1410,"absolute_offset":53431,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        sev: Literal[\"info\", \"warning\", \"error\"] = \"error\" if is_error else \"info\"\n"},"line_number":1474,"absolute_offset":55943,"submatches":[{"match":{"text":"\"error\""},"start":40,"end":47},{"match":{"text":"\"error\""},"start":51,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        sub_sty: Literal[\"error\", \"warning\", \"dim\"] = \"dim\" if tool_name.lower() == \"bash\" else (\"error\" if is_error else \"dim\")\n"},"line_number":1475,"absolute_offset":56026,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32},{"match":{"text":"\"error\""},"start":97,"end":104}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            if isinstance(event, StopEvent) and event.metadata.get(\"error\") is not None:\n"},"line_number":1655,"absolute_offset":63226,"submatches":[{"match":{"text":"\"error\""},"start":67,"end":74}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                    severity=\"error\",\n"},"line_number":1885,"absolute_offset":74214,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                    if has_activity or progress_status in {\"completed\", \"error\", \"timeout\", \"cancelled\"}:\n"},"line_number":1926,"absolute_offset":76125,"submatches":[{"match":{"text":"\"error\""},"start":72,"end":79}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                        status=\"running\",\n"},"line_number":1945,"absolute_offset":77139,"submatches":[{"match":{"text":"\"running\""},"start":31,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                            nested_tool.status = \"error\" if is_error else \"completed\"\n"},"line_number":1962,"absolute_offset":77924,"submatches":[{"match":{"text":"\"error\""},"start":49,"end":56}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                if reason == \"interrupted\" and \"error\" not in event.metadata:\n"},"line_number":1998,"absolute_offset":80014,"submatches":[{"match":{"text":"\"error\""},"start":47,"end":54}]}}
{"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":96919,"human":"0.000097s"},"searches":1,"searches_with_match":1,"bytes_searched":82504,"bytes_printed":8219,"matched_lines":23,"matches":28}}}
{"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":"_VALID_STATUSES = frozenset({\"success\", \"failed\", \"timeout\"})\n"},"line_number":36,"absolute_offset":1029,"submatches":[{"match":{"text":"\"success\""},"start":29,"end":38},{"match":{"text":"\"failed\""},"start":40,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"        Write-UpdateResult -Status 'success' -ExitCode 0\n"},"line_number":71,"absolute_offset":2254,"submatches":[{"match":{"text":"'success'"},"start":35,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"        Write-UpdateResult -Status 'failed' -ExitCode $code\n"},"line_number":73,"absolute_offset":2324,"submatches":[{"match":{"text":"'failed'"},"start":35,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"    Write-UpdateResult -Status 'failed' -ExitCode -1\n"},"line_number":77,"absolute_offset":2473,"submatches":[{"match":{"text":"'failed'"},"start":31,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"    if result.status == \"success\":\n"},"line_number":250,"absolute_offset":7822,"submatches":[{"match":{"text":"\"success\""},"start":24,"end":33}]}}
{"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":18488,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":8100,"bytes_printed":1793,"matched_lines":5,"matches":6}}}
{"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":"                        severity=\"error\",\n"},"line_number":484,"absolute_offset":17720,"submatches":[{"match":{"text":"\"error\""},"start":33,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/input_behavior.py"},"lines":{"text":"                            severity=\"error\",\n"},"line_number":500,"absolute_offset":18470,"submatches":[{"match":{"text":"\"error\""},"start":37,"end":44}]}}
{"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":15620,"human":"0.000016s"},"searches":1,"searches_with_match":1,"bytes_searched":19358,"bytes_printed":791,"matched_lines":2,"matches":2}}}
{"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":"                    severity=\"error\" if snapshot.any_error else \"info\",\n"},"line_number":109,"absolute_offset":4159,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"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":14709,"human":"0.000015s"},"searches":1,"searches_with_match":1,"bytes_searched":22128,"bytes_printed":494,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"BtwStatus = Literal[\"answering\", \"done\", \"cancelled\", \"error\"]\n"},"line_number":48,"absolute_offset":1387,"submatches":[{"match":{"text":"\"error\""},"start":54,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"                self._current.status = \"error\"\n"},"line_number":256,"absolute_offset":9120,"submatches":[{"match":{"text":"\"error\""},"start":39,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"                self._current.status = \"error\"\n"},"line_number":279,"absolute_offset":10053,"submatches":[{"match":{"text":"\"error\""},"start":39,"end":46}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"        elif entry.status == \"error\":\n"},"line_number":394,"absolute_offset":14744,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":19388,"human":"0.000019s"},"searches":1,"searches_with_match":1,"bytes_searched":16560,"bytes_printed":1427,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":40,"absolute_offset":1323,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":18122,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":29261,"bytes_printed":453,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"lines":{"text":"                        \"error\": \"class:status.transient.error\",\n"},"line_number":388,"absolute_offset":14714,"submatches":[{"match":{"text":"\"error\""},"start":24,"end":31}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":26438,"human":"0.000026s"},"searches":1,"searches_with_match":1,"bytes_searched":48798,"bytes_printed":490,"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":"        severity: Literal[\"info\", \"warning\", \"error\"] = \"info\",\n"},"line_number":88,"absolute_offset":2820,"submatches":[{"match":{"text":"\"error\""},"start":45,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":113,"absolute_offset":3800,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                    severity=\"error\",\n"},"line_number":132,"absolute_offset":4521,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                    severity=\"error\",\n"},"line_number":141,"absolute_offset":4837,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                    severity=\"error\",\n"},"line_number":150,"absolute_offset":5194,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                    severity=\"error\",\n"},"line_number":199,"absolute_offset":7076,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                self._append_slash_command_result(\"Usage: /goal pause\", severity=\"error\")\n"},"line_number":219,"absolute_offset":7766,"submatches":[{"match":{"text":"\"error\""},"start":81,"end":88}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                self._append_slash_command_result(\"Usage: /goal resume\", severity=\"error\")\n"},"line_number":228,"absolute_offset":8111,"submatches":[{"match":{"text":"\"error\""},"start":82,"end":89}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                self._append_slash_command_result(\"Usage: /goal clear\", severity=\"error\")\n"},"line_number":237,"absolute_offset":8458,"submatches":[{"match":{"text":"\"error\""},"start":81,"end":88}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                self._append_slash_command_result(str(exc), severity=\"error\")\n"},"line_number":242,"absolute_offset":8709,"submatches":[{"match":{"text":"\"error\""},"start":69,"end":76}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                    severity=\"error\",\n"},"line_number":252,"absolute_offset":9157,"submatches":[{"match":{"text":"\"error\""},"start":29,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":267,"absolute_offset":9710,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":280,"absolute_offset":10214,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":287,"absolute_offset":10468,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":294,"absolute_offset":10707,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":300,"absolute_offset":10968,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":313,"absolute_offset":11428,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":320,"absolute_offset":11668,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":327,"absolute_offset":11941,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            self._append_slash_command_result(str(exc), severity=\"error\")\n"},"line_number":339,"absolute_offset":12393,"submatches":[{"match":{"text":"\"error\""},"start":65,"end":72}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":407,"absolute_offset":14816,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":459,"absolute_offset":16403,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":473,"absolute_offset":16836,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":491,"absolute_offset":17464,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":498,"absolute_offset":17784,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":543,"absolute_offset":19528,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                raw_status = \"failed\"\n"},"line_number":601,"absolute_offset":22388,"submatches":[{"match":{"text":"\"failed\""},"start":29,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                raw_status = \"idle\"\n"},"line_number":604,"absolute_offset":22515,"submatches":[{"match":{"text":"\"idle\""},"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":"            elif raw_status == \"failed\":\n"},"line_number":607,"absolute_offset":22646,"submatches":[{"match":{"text":"\"failed\""},"start":31,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                raw_status = \"idle\"\n"},"line_number":617,"absolute_offset":23118,"submatches":[{"match":{"text":"\"idle\""},"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":"                severity=\"error\",\n"},"line_number":706,"absolute_offset":26177,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":803,"absolute_offset":29575,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":900,"absolute_offset":32911,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"info\" if success else \"error\",\n"},"line_number":968,"absolute_offset":35604,"submatches":[{"match":{"text":"\"error\""},"start":48,"end":55}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1082,"absolute_offset":39744,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1143,"absolute_offset":41815,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1177,"absolute_offset":42764,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1194,"absolute_offset":43241,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1243,"absolute_offset":44776,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1315,"absolute_offset":47665,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                severity=\"error\",\n"},"line_number":1331,"absolute_offset":48301,"submatches":[{"match":{"text":"\"error\""},"start":25,"end":32}]}}
{"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":99662,"human":"0.000100s"},"searches":1,"searches_with_match":1,"bytes_searched":0,"bytes_printed":13036,"matched_lines":41,"matches":41}}}
{"data":{"elapsed_total":{"human":"0.005969s","nanos":5969389,"secs":0},"stats":{"bytes_printed":49042,"bytes_searched":580447,"elapsed":{"human":"0.000774s","nanos":774178,"secs":0},"matched_lines":139,"matches":147,"searches":24,"searches_with_match":24}},"type":"summary"}
