{"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":"    # 但实现共用 —— 保证 held 候选与续行判定语义对称（避免分裂导致的 corner-case bug）。\n"},"line_number":588,"absolute_offset":20755,"submatches":[{"match":{"text":"case"},"start":106,"end":110}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SessionInitEvent(session_id=_):\n"},"line_number":1678,"absolute_offset":63978,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case LLMRetryEvent():\n"},"line_number":1680,"absolute_offset":64048,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TextDeltaEvent(delta=delta, message_id=message_id):\n"},"line_number":1682,"absolute_offset":64134,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ThinkingDeltaEvent(delta=delta, message_id=_):\n"},"line_number":1692,"absolute_offset":64804,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ToolCallStartEvent(tool_call_id=tool_call_id, tool=tool_name):\n"},"line_number":1697,"absolute_offset":65110,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ToolCallArgsProgressEvent():\n"},"line_number":1705,"absolute_offset":65714,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case StreamDisplayResetEvent():\n"},"line_number":1707,"absolute_offset":65815,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ThinkingEvent(content=thinking):\n"},"line_number":1715,"absolute_offset":66228,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case CompactionStartedEvent(\n"},"line_number":1722,"absolute_offset":66550,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case CompactionResultEvent(\n"},"line_number":1728,"absolute_offset":66744,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ToolCallEvent(tool=tool_name, args=arguments, tool_call_id=tool_call_id):\n"},"line_number":1782,"absolute_offset":69248,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ToolResultEvent(tool=tool_name, result=result, tool_call_id=tool_call_id, is_error=is_error, metadata=metadata, output=output):\n"},"line_number":1801,"absolute_offset":70322,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ScheduledPromptCreatedEvent(\n"},"line_number":1841,"absolute_offset":72395,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ScheduledPromptDeletedEvent(job_id=job_id):\n"},"line_number":1855,"absolute_offset":72916,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ScheduledPromptFiredEvent(\n"},"line_number":1860,"absolute_offset":73139,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ScheduledPromptMissedEvent(\n"},"line_number":1871,"absolute_offset":73569,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case ScheduledPromptFailedEvent(job_id=job_id, reason=reason):\n"},"line_number":1882,"absolute_offset":73992,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case UsageDeltaEvent(\n"},"line_number":1887,"absolute_offset":74270,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentStartEvent(tool_call_id=_, subagent_name=_, description=_):\n"},"line_number":1897,"absolute_offset":74582,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentProgressEvent(\n"},"line_number":1899,"absolute_offset":74688,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentStopEvent(tool_call_id=_, subagent_name=_, status=_, duration_ms=_, error=_):\n"},"line_number":1928,"absolute_offset":76279,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentToolCallEvent(\n"},"line_number":1930,"absolute_offset":76403,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case SubagentToolResultEvent(\n"},"line_number":1949,"absolute_offset":77336,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TaskUpdatedEvent(list_id=list_id, tasks=tasks):\n"},"line_number":1966,"absolute_offset":78169,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case UserQuestionEvent(questions=questions, tool_call_id=_):\n"},"line_number":1968,"absolute_offset":78293,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TextEvent(content=text):\n"},"line_number":1973,"absolute_offset":78647,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case StepCompleteEvent(step_id=step_id, status=_, duration_ms=_):\n"},"line_number":1979,"absolute_offset":78945,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case StopEvent(reason=reason):\n"},"line_number":1984,"absolute_offset":79297,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case PlanApprovalRequiredEvent(\n"},"line_number":2002,"absolute_offset":80274,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case TeamMessageEvent(\n"},"line_number":2031,"absolute_offset":81714,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            case _:\n"},"line_number":2047,"absolute_offset":82338,"submatches":[{"match":{"text":"case"},"start":12,"end":16}]}}
{"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":128730,"human":"0.000129s"},"searches":1,"searches_with_match":1,"bytes_searched":82504,"bytes_printed":10411,"matched_lines":32,"matches":32}}}
{"data":{"elapsed_total":{"human":"0.001039s","nanos":1038753,"secs":0},"stats":{"bytes_printed":10411,"bytes_searched":82504,"elapsed":{"human":"0.000129s","nanos":128730,"secs":0},"matched_lines":32,"matches":32,"searches":1,"searches_with_match":1}},"type":"summary"}
