{"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":"    return \"durable\" if durable else \"session-only\"\n"},"line_number":98,"absolute_offset":2661,"submatches":[{"match":{"text":"else"},"start":32,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        else:\n"},"line_number":110,"absolute_offset":3052,"submatches":[{"match":{"text":"else"},"start":8,"end":12}]}}
{"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":"elif"},"start":4,"end":8}]}}
{"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":"elif"},"start":4,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    else:\n"},"line_number":189,"absolute_offset":5476,"submatches":[{"match":{"text":"else"},"start":4,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    noun = \"task\" if total == 1 else \"tasks\"\n"},"line_number":207,"absolute_offset":5944,"submatches":[{"match":{"text":"else"},"start":32,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    text = entry.text.plain if isinstance(entry.text, Text) else str(entry.text)\n"},"line_number":323,"absolute_offset":9643,"submatches":[{"match":{"text":"else"},"start":60,"end":64}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    stripped = text[:-1] if text.endswith(\"\\n\") else text\n"},"line_number":324,"absolute_offset":9724,"submatches":[{"match":{"text":"else"},"start":48,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    return stripped.count(\"\\n\") + 1 if stripped else 1\n"},"line_number":325,"absolute_offset":9782,"submatches":[{"match":{"text":"else"},"start":48,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        rec_kwargs[\"args\"] = dict(args) if isinstance(args, dict) else {}\n"},"line_number":444,"absolute_offset":14543,"submatches":[{"match":{"text":"else"},"start":66,"end":70}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"        rec_kwargs[\"metadata\"] = dict(metadata) if isinstance(metadata, dict) else metadata\n"},"line_number":445,"absolute_offset":14617,"submatches":[{"match":{"text":"else"},"start":78,"end":82}]}}
{"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":60419,"human":"0.000060s"},"searches":1,"searches_with_match":1,"bytes_searched":14709,"bytes_printed":3573,"matched_lines":11,"matches":11}}}
{"data":{"elapsed_total":{"human":"0.001035s","nanos":1034773,"secs":0},"stats":{"bytes_printed":3573,"bytes_searched":14709,"elapsed":{"human":"0.000060s","nanos":60419,"secs":0},"matched_lines":11,"matches":11,"searches":1,"searches_with_match":1}},"type":"summary"}
