{"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":"    str_args = [str(item) for item in args] if isinstance(args, list) else []\n"},"line_number":401,"absolute_offset":13803,"submatches":[{"match":{"text":"isinstance(args, list)"},"start":47,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"lines":{"text":"    if not isinstance(raw, dict):\n"},"line_number":510,"absolute_offset":16980,"submatches":[{"match":{"text":"isinstance(raw, dict)"},"start":11,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"lines":{"text":"        if isinstance(headers, dict) and headers:\n"},"line_number":665,"absolute_offset":22345,"submatches":[{"match":{"text":"isinstance(headers, dict)"},"start":11,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"lines":{"text":"        if isinstance(raw_args, list) and raw_args:\n"},"line_number":672,"absolute_offset":22725,"submatches":[{"match":{"text":"isinstance(raw_args, list)"},"start":11,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"lines":{"text":"        if isinstance(env, dict) and env:\n"},"line_number":678,"absolute_offset":23064,"submatches":[{"match":{"text":"isinstance(env, dict)"},"start":11,"end":32}]}}
{"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":37092,"human":"0.000037s"},"searches":1,"searches_with_match":1,"bytes_searched":24900,"bytes_printed":1661,"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":"        elif isinstance(current_value, dict) and isinstance(default_value, dict):\n"},"line_number":134,"absolute_offset":4475,"submatches":[{"match":{"text":"isinstance(current_value, dict)"},"start":13,"end":44},{"match":{"text":"isinstance(default_value, dict)"},"start":49,"end":80}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    cli = deepcopy(cli_raw) if isinstance(cli_raw, dict) else {}\n"},"line_number":147,"absolute_offset":5062,"submatches":[{"match":{"text":"isinstance(cli_raw, dict)"},"start":31,"end":56}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"    if isinstance(statusline_raw, dict):\n"},"line_number":150,"absolute_offset":5171,"submatches":[{"match":{"text":"isinstance(statusline_raw, dict)"},"start":7,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"        statusline_existing = legacy_statusline if isinstance(legacy_statusline, dict) else {}\n"},"line_number":154,"absolute_offset":5322,"submatches":[{"match":{"text":"isinstance(legacy_statusline, dict)"},"start":51,"end":86}]}}
{"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":36721,"human":"0.000037s"},"searches":1,"searches_with_match":1,"bytes_searched":7647,"bytes_printed":1614,"matched_lines":4,"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":"        if not isinstance(params, dict):\n"},"line_number":205,"absolute_offset":6804,"submatches":[{"match":{"text":"isinstance(params, dict)"},"start":15,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"        if not isinstance(user_input, str) or not user_input.strip():\n"},"line_number":216,"absolute_offset":7162,"submatches":[{"match":{"text":"isinstance(user_input, str)"},"start":15,"end":42}]}}
{"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":14122,"human":"0.000014s"},"searches":1,"searches_with_match":1,"bytes_searched":15750,"bytes_printed":796,"matched_lines":2,"matches":2}}}
{"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":"    if isinstance(rich_style, str):\n"},"line_number":65,"absolute_offset":1981,"submatches":[{"match":{"text":"isinstance(rich_style, str)"},"start":7,"end":34}]}}
{"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":10734,"human":"0.000011s"},"searches":1,"searches_with_match":1,"bytes_searched":13231,"bytes_printed":460,"matched_lines":1,"matches":1}}}
{"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":"    if isinstance(value, list):\n"},"line_number":122,"absolute_offset":3577,"submatches":[{"match":{"text":"isinstance(value, list)"},"start":7,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    if isinstance(value, str):\n"},"line_number":124,"absolute_offset":3630,"submatches":[{"match":{"text":"isinstance(value, str)"},"start":7,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(parsed, list):\n"},"line_number":129,"absolute_offset":3787,"submatches":[{"match":{"text":"isinstance(parsed, list)"},"start":11,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    if isinstance(params, dict):\n"},"line_number":140,"absolute_offset":4100,"submatches":[{"match":{"text":"isinstance(params, dict)"},"start":7,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if not isinstance(item, dict):\n"},"line_number":167,"absolute_offset":5014,"submatches":[{"match":{"text":"isinstance(item, dict)"},"start":15,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    if isinstance(params, dict):\n"},"line_number":217,"absolute_offset":6371,"submatches":[{"match":{"text":"isinstance(params, dict)"},"start":7,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    if not isinstance(value, dict) or not value:\n"},"line_number":233,"absolute_offset":6826,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(v, str):\n"},"line_number":246,"absolute_offset":7291,"submatches":[{"match":{"text":"isinstance(v, str)"},"start":11,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    subagent_name = raw_subagent.strip() if isinstance(raw_subagent, str) else \"\"\n"},"line_number":260,"absolute_offset":7727,"submatches":[{"match":{"text":"isinstance(raw_subagent, str)"},"start":44,"end":73}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    description = raw_desc.strip() if isinstance(raw_desc, str) else \"\"\n"},"line_number":265,"absolute_offset":7916,"submatches":[{"match":{"text":"isinstance(raw_desc, str)"},"start":38,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(raw_prompt, str):\n"},"line_number":269,"absolute_offset":8062,"submatches":[{"match":{"text":"isinstance(raw_prompt, str)"},"start":11,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    subagent_name = raw_subagent.strip() if isinstance(raw_subagent, str) else \"\"\n"},"line_number":295,"absolute_offset":8946,"submatches":[{"match":{"text":"isinstance(raw_subagent, str)"},"start":44,"end":73}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    description = raw_desc.strip() if isinstance(raw_desc, str) else \"\"\n"},"line_number":304,"absolute_offset":9337,"submatches":[{"match":{"text":"isinstance(raw_desc, str)"},"start":38,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(raw_prompt, str):\n"},"line_number":308,"absolute_offset":9483,"submatches":[{"match":{"text":"isinstance(raw_prompt, str)"},"start":11,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(blocked_by, list) and blocked_by:\n"},"line_number":435,"absolute_offset":14552,"submatches":[{"match":{"text":"isinstance(blocked_by, list)"},"start":11,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(status, list) and status:\n"},"line_number":453,"absolute_offset":15317,"submatches":[{"match":{"text":"isinstance(status, list)"},"start":11,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"        if isinstance(command_args, list):\n"},"line_number":494,"absolute_offset":17147,"submatches":[{"match":{"text":"isinstance(command_args, list)"},"start":11,"end":41}]}}
{"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":63124,"human":"0.000063s"},"searches":1,"searches_with_match":1,"bytes_searched":30807,"bytes_printed":5650,"matched_lines":17,"matches":17}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"            if isinstance(parsed, str):\n"},"line_number":88,"absolute_offset":2559,"submatches":[{"match":{"text":"isinstance(parsed, str)"},"start":15,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"        if isinstance(parsed, str):\n"},"line_number":145,"absolute_offset":4865,"submatches":[{"match":{"text":"isinstance(parsed, str)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    if not isinstance(frontmatter, dict):\n"},"line_number":191,"absolute_offset":6424,"submatches":[{"match":{"text":"isinstance(frontmatter, dict)"},"start":11,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    description = str(raw_description).strip() if isinstance(raw_description, str) else \"\"\n"},"line_number":197,"absolute_offset":6648,"submatches":[{"match":{"text":"isinstance(raw_description, str)"},"start":50,"end":82}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    argument_hint = str(raw_argument_hint).strip() if isinstance(raw_argument_hint, str) else \"\"\n"},"line_number":204,"absolute_offset":6988,"submatches":[{"match":{"text":"isinstance(raw_argument_hint, str)"},"start":54,"end":88}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":20487,"human":"0.000020s"},"searches":1,"searches_with_match":1,"bytes_searched":20256,"bytes_printed":1909,"matched_lines":5,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    if not isinstance(updates, dict):\n"},"line_number":691,"absolute_offset":22209,"submatches":[{"match":{"text":"isinstance(updates, dict)"},"start":11,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    if not isinstance(state, dict):\n"},"line_number":694,"absolute_offset":22318,"submatches":[{"match":{"text":"isinstance(state, dict)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    if not isinstance(updates, dict):\n"},"line_number":708,"absolute_offset":22658,"submatches":[{"match":{"text":"isinstance(updates, dict)"},"start":11,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    if not isinstance(state, dict):\n"},"line_number":711,"absolute_offset":22770,"submatches":[{"match":{"text":"isinstance(state, dict)"},"start":11,"end":34}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":19597,"human":"0.000020s"},"searches":1,"searches_with_match":1,"bytes_searched":23221,"bytes_printed":1399,"matched_lines":4,"matches":4}}}
{"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":"    if not isinstance(parsed, dict):\n"},"line_number":46,"absolute_offset":1124,"submatches":[{"match":{"text":"isinstance(parsed, dict)"},"start":11,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"    if isinstance(params, dict):\n"},"line_number":85,"absolute_offset":2235,"submatches":[{"match":{"text":"isinstance(params, dict)"},"start":7,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"    if isinstance(value, dict):\n"},"line_number":103,"absolute_offset":2868,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":7,"end":30}]}}
{"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":10985,"human":"0.000011s"},"searches":1,"searches_with_match":1,"bytes_searched":3182,"bytes_printed":1066,"matched_lines":3,"matches":3}}}
{"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 not isinstance(text, str):\n"},"line_number":169,"absolute_offset":5585,"submatches":[{"match":{"text":"isinstance(text, str)"},"start":11,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"    return isinstance(text, str) and text.strip() == \"\"\n"},"line_number":179,"absolute_offset":5884,"submatches":[{"match":{"text":"isinstance(text, str)"},"start":11,"end":32}]}}
{"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":15473,"human":"0.000015s"},"searches":1,"searches_with_match":1,"bytes_searched":23046,"bytes_printed":786,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"    if isinstance(message_obj, str):\n"},"line_number":40,"absolute_offset":746,"submatches":[{"match":{"text":"isinstance(message_obj, str)"},"start":7,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"    if isinstance(message_obj, list):\n"},"line_number":42,"absolute_offset":818,"submatches":[{"match":{"text":"isinstance(message_obj, list)"},"start":7,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"            if isinstance(part, dict) and part.get(\"type\") == \"text\":\n"},"line_number":45,"absolute_offset":919,"submatches":[{"match":{"text":"isinstance(part, dict)"},"start":15,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"    if isinstance(message, dict):\n"},"line_number":65,"absolute_offset":1536,"submatches":[{"match":{"text":"isinstance(message, dict)"},"start":7,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"                if not isinstance(row, dict):\n"},"line_number":93,"absolute_offset":2767,"submatches":[{"match":{"text":"isinstance(row, dict)"},"start":23,"end":44}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":15882,"human":"0.000016s"},"searches":1,"searches_with_match":1,"bytes_searched":4498,"bytes_printed":1760,"matched_lines":5,"matches":5}}}
{"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":"    if not isinstance(result, str) or not result.strip():\n"},"line_number":84,"absolute_offset":2975,"submatches":[{"match":{"text":"isinstance(result, str)"},"start":11,"end":34}]}}
{"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":6615,"human":"0.000007s"},"searches":1,"searches_with_match":1,"bytes_searched":3122,"bytes_printed":475,"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":"        return raw.strip() if isinstance(raw, str) else \"\"\n"},"line_number":314,"absolute_offset":11041,"submatches":[{"match":{"text":"isinstance(raw, str)"},"start":30,"end":50}]}}
{"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":12734,"human":"0.000013s"},"searches":1,"searches_with_match":1,"bytes_searched":16492,"bytes_printed":477,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"        ] if isinstance(hooks, dict) else []\n"},"line_number":571,"absolute_offset":21551,"submatches":[{"match":{"text":"isinstance(hooks, dict)"},"start":13,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"            if isinstance(new_version, str) and new_version:\n"},"line_number":736,"absolute_offset":28330,"submatches":[{"match":{"text":"isinstance(new_version, str)"},"start":15,"end":43}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":24305,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":29068,"bytes_printed":844,"matched_lines":2,"matches":2}}}
{"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":"    is_blocked = isinstance(open_blocked_by, list) and len(open_blocked_by) > 0\n"},"line_number":182,"absolute_offset":5234,"submatches":[{"match":{"text":"isinstance(open_blocked_by, list)"},"start":17,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"    if isinstance(open_blocked_by, list) and open_blocked_by:\n"},"line_number":228,"absolute_offset":6689,"submatches":[{"match":{"text":"isinstance(open_blocked_by, list)"},"start":7,"end":40}]}}
{"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":"isinstance(args, dict)"},"start":43,"end":65}]}}
{"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":"isinstance(metadata, dict)"},"start":51,"end":77}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"            if metadata and isinstance(metadata, dict):\n"},"line_number":1501,"absolute_offset":57174,"submatches":[{"match":{"text":"isinstance(metadata, dict)"},"start":28,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/event_renderer.py"},"lines":{"text":"                args_dict = arguments if isinstance(arguments, dict) else {\"_raw\": str(arguments)}\n"},"line_number":1784,"absolute_offset":69400,"submatches":[{"match":{"text":"isinstance(arguments, dict)"},"start":41,"end":68}]}}
{"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":67974,"human":"0.000068s"},"searches":1,"searches_with_match":1,"bytes_searched":82504,"bytes_printed":2314,"matched_lines":6,"matches":6}}}
{"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":"        if not isinstance(value, dict):\n"},"line_number":93,"absolute_offset":3267,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":15,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"        if isinstance(error, dict):\n"},"line_number":96,"absolute_offset":3363,"submatches":[{"match":{"text":"isinstance(error, dict)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/error_display.py"},"lines":{"text":"            if isinstance(message, str) and message.strip():\n"},"line_number":98,"absolute_offset":3442,"submatches":[{"match":{"text":"isinstance(message, str)"},"start":15,"end":39}]}}
{"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":9949,"human":"0.000010s"},"searches":1,"searches_with_match":1,"bytes_searched":3558,"bytes_printed":1105,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"            if not isinstance(opt, dict):\n"},"line_number":149,"absolute_offset":4339,"submatches":[{"match":{"text":"isinstance(opt, dict)"},"start":19,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"            if not isinstance(opt, dict):\n"},"line_number":213,"absolute_offset":7023,"submatches":[{"match":{"text":"isinstance(opt, dict)"},"start":19,"end":40}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":24318,"human":"0.000024s"},"searches":1,"searches_with_match":1,"bytes_searched":18464,"bytes_printed":775,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"},"lines":{"text":"            rec_kwargs[\"args\"] = dict(args) if isinstance(args, dict) else {}\n"},"line_number":51,"absolute_offset":1342,"submatches":[{"match":{"text":"isinstance(args, dict)"},"start":47,"end":69}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"},"lines":{"text":"            rec_kwargs[\"metadata\"] = dict(metadata) if isinstance(metadata, dict) else metadata\n"},"line_number":54,"absolute_offset":1471,"submatches":[{"match":{"text":"isinstance(metadata, dict)"},"start":55,"end":81}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"},"lines":{"text":"            if isinstance(result_text, str) and len(result_text) > _RESULT_TEXT_MAX_LEN:\n"},"line_number":57,"absolute_offset":1628,"submatches":[{"match":{"text":"isinstance(result_text, str)"},"start":15,"end":43}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":12155,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":2337,"bytes_printed":1257,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"            if not isinstance(raw, dict):\n"},"line_number":220,"absolute_offset":7539,"submatches":[{"match":{"text":"isinstance(raw, dict)"},"start":19,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"            if isinstance(raw_options, list):\n"},"line_number":226,"absolute_offset":7845,"submatches":[{"match":{"text":"isinstance(raw_options, list)"},"start":15,"end":44}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"                    if not isinstance(option, dict):\n"},"line_number":228,"absolute_offset":7934,"submatches":[{"match":{"text":"isinstance(option, dict)"},"start":27,"end":51}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":18384,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":27456,"bytes_printed":1116,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    return value if isinstance(value, dict) else None\n"},"line_number":51,"absolute_offset":1409,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":20,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(raw, str):\n"},"line_number":83,"absolute_offset":2335,"submatches":[{"match":{"text":"isinstance(raw, str)"},"start":7,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if not isinstance(data, dict):\n"},"line_number":116,"absolute_offset":3523,"submatches":[{"match":{"text":"isinstance(data, dict)"},"start":11,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(display, dict) and isinstance(display.get(\"thinking\"), bool):\n"},"line_number":128,"absolute_offset":3947,"submatches":[{"match":{"text":"isinstance(display, dict)"},"start":7,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(model, str):\n"},"line_number":133,"absolute_offset":4147,"submatches":[{"match":{"text":"isinstance(model, str)"},"start":7,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(memory_state, dict) and isinstance(memory_state.get(\"enabled\"), bool):\n"},"line_number":145,"absolute_offset":4575,"submatches":[{"match":{"text":"isinstance(memory_state, dict)"},"start":7,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(env, dict):\n"},"line_number":150,"absolute_offset":4824,"submatches":[{"match":{"text":"isinstance(env, dict)"},"start":7,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"        if isinstance(dreaming_raw, str):\n"},"line_number":152,"absolute_offset":4929,"submatches":[{"match":{"text":"isinstance(dreaming_raw, str)"},"start":11,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if not isinstance(value, dict):\n"},"line_number":289,"absolute_offset":9301,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(value, dict) and not value:\n"},"line_number":297,"absolute_offset":9496,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":7,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    cli_config = deepcopy(existing_cli_config) if isinstance(existing_cli_config, dict) else {}\n"},"line_number":309,"absolute_offset":9937,"submatches":[{"match":{"text":"isinstance(existing_cli_config, dict)"},"start":50,"end":87}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"    if isinstance(display, dict):\n"},"line_number":324,"absolute_offset":10506,"submatches":[{"match":{"text":"isinstance(display, dict)"},"start":7,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"            if isinstance(parsed, dict):\n"},"line_number":337,"absolute_offset":10863,"submatches":[{"match":{"text":"isinstance(parsed, dict)"},"start":15,"end":39}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":47531,"human":"0.000048s"},"searches":1,"searches_with_match":1,"bytes_searched":11303,"bytes_printed":4401,"matched_lines":13,"matches":13}}}
{"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":"    if not isinstance(metadata, dict):\n"},"line_number":179,"absolute_offset":5237,"submatches":[{"match":{"text":"isinstance(metadata, dict)"},"start":11,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    return value if isinstance(value, int) and value >= 0 else None\n"},"line_number":182,"absolute_offset":5326,"submatches":[{"match":{"text":"isinstance(value, int)"},"start":20,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        if isinstance(message, str) and message.strip():\n"},"line_number":188,"absolute_offset":5541,"submatches":[{"match":{"text":"isinstance(message, str)"},"start":11,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        and isinstance(metadata, dict)\n"},"line_number":295,"absolute_offset":8664,"submatches":[{"match":{"text":"isinstance(metadata, dict)"},"start":12,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        if isinstance(metadata, dict):\n"},"line_number":352,"absolute_offset":11243,"submatches":[{"match":{"text":"isinstance(metadata, dict)"},"start":11,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"                isinstance(lines_returned, int)\n"},"line_number":358,"absolute_offset":11513,"submatches":[{"match":{"text":"isinstance(lines_returned, int)"},"start":16,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"                and isinstance(start_line, int)\n"},"line_number":360,"absolute_offset":11601,"submatches":[{"match":{"text":"isinstance(start_line, int)"},"start":20,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"                and isinstance(end_line, int)\n"},"line_number":362,"absolute_offset":11685,"submatches":[{"match":{"text":"isinstance(end_line, int)"},"start":20,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"                and isinstance(total_lines, int)\n"},"line_number":364,"absolute_offset":11765,"submatches":[{"match":{"text":"isinstance(total_lines, int)"},"start":20,"end":48}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        if not isinstance(diff_lines, list) or not diff_lines:\n"},"line_number":386,"absolute_offset":12539,"submatches":[{"match":{"text":"isinstance(diff_lines, list)"},"start":15,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if command is None and isinstance(command_args, list):\n"},"line_number":723,"absolute_offset":23593,"submatches":[{"match":{"text":"isinstance(command_args, list)"},"start":27,"end":57}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(files, list) and files:\n"},"line_number":757,"absolute_offset":24855,"submatches":[{"match":{"text":"isinstance(files, list)"},"start":7,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(rec.metadata, dict):\n"},"line_number":772,"absolute_offset":25447,"submatches":[{"match":{"text":"isinstance(rec.metadata, dict)"},"start":7,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        if isinstance(diff, list) and diff:\n"},"line_number":774,"absolute_offset":25526,"submatches":[{"match":{"text":"isinstance(diff, list)"},"start":11,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if not isinstance(prompt, str):\n"},"line_number":797,"absolute_offset":26326,"submatches":[{"match":{"text":"isinstance(prompt, str)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(prompt, str) and prompt.strip():\n"},"line_number":801,"absolute_offset":26484,"submatches":[{"match":{"text":"isinstance(prompt, str)"},"start":7,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(files, list):\n"},"line_number":899,"absolute_offset":29712,"submatches":[{"match":{"text":"isinstance(files, list)"},"start":7,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(matches, list):\n"},"line_number":916,"absolute_offset":30268,"submatches":[{"match":{"text":"isinstance(matches, list)"},"start":7,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(entries, list):\n"},"line_number":924,"absolute_offset":30529,"submatches":[{"match":{"text":"isinstance(entries, list)"},"start":7,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"            if isinstance(entry, dict):\n"},"line_number":927,"absolute_offset":30623,"submatches":[{"match":{"text":"isinstance(entry, dict)"},"start":15,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    original = original_file if isinstance(original_file, str) else \"\"\n"},"line_number":963,"absolute_offset":31760,"submatches":[{"match":{"text":"isinstance(original_file, str)"},"start":32,"end":62}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        if isinstance(raw_original, str):\n"},"line_number":984,"absolute_offset":32511,"submatches":[{"match":{"text":"isinstance(raw_original, str)"},"start":11,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"    if isinstance(rec.metadata, dict):\n"},"line_number":1000,"absolute_offset":32909,"submatches":[{"match":{"text":"isinstance(rec.metadata, dict)"},"start":7,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"        if isinstance(raw_diff, list):\n"},"line_number":1002,"absolute_offset":32992,"submatches":[{"match":{"text":"isinstance(raw_diff, list)"},"start":11,"end":37}]}}
{"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":58818,"human":"0.000059s"},"searches":1,"searches_with_match":1,"bytes_searched":36197,"bytes_printed":8221,"matched_lines":24,"matches":24}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"},"lines":{"text":"    return value if isinstance(value, dict) else None\n"},"line_number":31,"absolute_offset":853,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":20,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"},"lines":{"text":"    if not isinstance(value, dict):\n"},"line_number":36,"absolute_offset":1009,"submatches":[{"match":{"text":"isinstance(value, dict)"},"start":11,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"},"lines":{"text":"    if not isinstance(data, dict):\n"},"line_number":58,"absolute_offset":1650,"submatches":[{"match":{"text":"isinstance(data, dict)"},"start":11,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"},"lines":{"text":"    if not isinstance(sl, dict):\n"},"line_number":67,"absolute_offset":1967,"submatches":[{"match":{"text":"isinstance(sl, dict)"},"start":11,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"},"lines":{"text":"            if isinstance(parsed, dict):\n"},"line_number":105,"absolute_offset":3003,"submatches":[{"match":{"text":"isinstance(parsed, dict)"},"start":15,"end":39}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/store.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":14591,"human":"0.000015s"},"searches":1,"searches_with_match":1,"bytes_searched":3525,"bytes_printed":1735,"matched_lines":5,"matches":5}}}
{"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":"        str_args = [str(item) for item in args] if isinstance(args, list) else []\n"},"line_number":1260,"absolute_offset":45353,"submatches":[{"match":{"text":"isinstance(args, list)"},"start":51,"end":73}]}}
{"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":52213,"human":"0.000052s"},"searches":1,"searches_with_match":1,"bytes_searched":82076,"bytes_printed":507,"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":"        if not isinstance(queued_display, dict):\n"},"line_number":188,"absolute_offset":6203,"submatches":[{"match":{"text":"isinstance(queued_display, dict)"},"start":15,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"lines":{"text":"        if isinstance(content, str):\n"},"line_number":204,"absolute_offset":6806,"submatches":[{"match":{"text":"isinstance(content, str)"},"start":11,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"lines":{"text":"        elif isinstance(content, list):\n"},"line_number":206,"absolute_offset":6873,"submatches":[{"match":{"text":"isinstance(content, list)"},"start":13,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"lines":{"text":"                if isinstance(part, dict):\n"},"line_number":209,"absolute_offset":6981,"submatches":[{"match":{"text":"isinstance(part, dict)"},"start":19,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"lines":{"text":"            if isinstance(raw_index, int) and 0 <= raw_index < len(completions):\n"},"line_number":513,"absolute_offset":19384,"submatches":[{"match":{"text":"isinstance(raw_index, int)"},"start":15,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/render_panels.py"},"lines":{"text":"                    if isinstance(line, list):\n"},"line_number":765,"absolute_offset":30404,"submatches":[{"match":{"text":"isinstance(line, list)"},"start":23,"end":45}]}}
{"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":33157,"human":"0.000033s"},"searches":1,"searches_with_match":1,"bytes_searched":48798,"bytes_printed":2186,"matched_lines":6,"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":"        return isinstance(key, str) and len(key) == 1\n"},"line_number":264,"absolute_offset":9615,"submatches":[{"match":{"text":"isinstance(key, str)"},"start":15,"end":35}]}}
{"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":13462,"human":"0.000013s"},"searches":1,"searches_with_match":1,"bytes_searched":19358,"bytes_printed":487,"matched_lines":1,"matches":1}}}
{"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":"            if isinstance(content, str):\n"},"line_number":61,"absolute_offset":2098,"submatches":[{"match":{"text":"isinstance(content, str)"},"start":15,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            if isinstance(content, list):\n"},"line_number":63,"absolute_offset":2170,"submatches":[{"match":{"text":"isinstance(content, list)"},"start":15,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"                    if isinstance(part, dict):\n"},"line_number":66,"absolute_offset":2288,"submatches":[{"match":{"text":"isinstance(part, dict)"},"start":23,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        if isinstance(queued_display, dict):\n"},"line_number":92,"absolute_offset":3367,"submatches":[{"match":{"text":"isinstance(queued_display, dict)"},"start":11,"end":43}]}}
{"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":21860,"human":"0.000022s"},"searches":1,"searches_with_match":1,"bytes_searched":29261,"bytes_printed":1475,"matched_lines":4,"matches":4}}}
{"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":"                        if isinstance(observable_inputs, dict):\n"},"line_number":143,"absolute_offset":5810,"submatches":[{"match":{"text":"isinstance(observable_inputs, dict)"},"start":27,"end":62}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                            if isinstance(observable_input, dict):\n"},"line_number":145,"absolute_offset":5950,"submatches":[{"match":{"text":"isinstance(observable_input, dict)"},"start":31,"end":65}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                if isinstance(envelope, dict):\n"},"line_number":213,"absolute_offset":9265,"submatches":[{"match":{"text":"isinstance(envelope, dict)"},"start":19,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                    if isinstance(raw_data, dict):\n"},"line_number":215,"absolute_offset":9368,"submatches":[{"match":{"text":"isinstance(raw_data, dict)"},"start":23,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                    if isinstance(diff, list) and len(diff) > 0:\n"},"line_number":220,"absolute_offset":9584,"submatches":[{"match":{"text":"isinstance(diff, list)"},"start":23,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                    if isinstance(raw_file_path, str) and raw_file_path.strip():\n"},"line_number":223,"absolute_offset":9794,"submatches":[{"match":{"text":"isinstance(raw_file_path, str)"},"start":23,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                        and isinstance(raw_file_path, str)\n"},"line_number":234,"absolute_offset":10412,"submatches":[{"match":{"text":"isinstance(raw_file_path, str)"},"start":28,"end":58}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                        and isinstance(raw_content, str)\n"},"line_number":235,"absolute_offset":10471,"submatches":[{"match":{"text":"isinstance(raw_content, str)"},"start":28,"end":56}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                        and (raw_original is None or isinstance(raw_original, str))\n"},"line_number":236,"absolute_offset":10528,"submatches":[{"match":{"text":"isinstance(raw_original, str)"},"start":53,"end":82}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                        if read_message is not None and not isinstance(read_message.raw_envelope, dict):\n"},"line_number":259,"absolute_offset":11757,"submatches":[{"match":{"text":"isinstance(read_message.raw_envelope, dict)"},"start":60,"end":103}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                                raw_envelope=envelope if isinstance(envelope, dict) else None,\n"},"line_number":265,"absolute_offset":12194,"submatches":[{"match":{"text":"isinstance(envelope, dict)"},"start":57,"end":83}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                    if isinstance(exec_meta, dict):\n"},"line_number":281,"absolute_offset":13043,"submatches":[{"match":{"text":"isinstance(exec_meta, dict)"},"start":23,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"        if isinstance(params, dict):\n"},"line_number":311,"absolute_offset":14175,"submatches":[{"match":{"text":"isinstance(params, dict)"},"start":11,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"        subagent_name = raw_subagent.strip() if isinstance(raw_subagent, str) else \"\"\n"},"line_number":329,"absolute_offset":14892,"submatches":[{"match":{"text":"isinstance(raw_subagent, str)"},"start":48,"end":77}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"        description = raw_description.strip() if isinstance(raw_description, str) else \"\"\n"},"line_number":334,"absolute_offset":15109,"submatches":[{"match":{"text":"isinstance(raw_description, str)"},"start":49,"end":81}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"            if isinstance(text, str):\n"},"line_number":349,"absolute_offset":15734,"submatches":[{"match":{"text":"isinstance(text, str)"},"start":15,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"        if isinstance(msg_content, str):\n"},"line_number":354,"absolute_offset":15898,"submatches":[{"match":{"text":"isinstance(msg_content, str)"},"start":11,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"        if isinstance(msg_content, list):\n"},"line_number":356,"absolute_offset":15970,"submatches":[{"match":{"text":"isinstance(msg_content, list)"},"start":11,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"                if isinstance(part, dict) and part.get(\"type\") == \"text\":\n"},"line_number":359,"absolute_offset":16088,"submatches":[{"match":{"text":"isinstance(part, dict)"},"start":19,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"            if entry.entry_type == \"system\" and isinstance(entry.text, str) and entry.text.startswith(\"[team] \")\n"},"line_number":373,"absolute_offset":16549,"submatches":[{"match":{"text":"isinstance(entry.text, str)"},"start":48,"end":75}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"            if entry.entry_type == \"system\" and isinstance(entry.text, str) and entry.text.startswith(\"[team] \")\n"},"line_number":440,"absolute_offset":19371,"submatches":[{"match":{"text":"isinstance(entry.text, str)"},"start":48,"end":75}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"            if entry.entry_type == \"system\" and isinstance(entry.text, str) and entry.text.startswith(\"[team] \")\n"},"line_number":487,"absolute_offset":21383,"submatches":[{"match":{"text":"isinstance(entry.text, str)"},"start":48,"end":75}]}}
{"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":70571,"human":"0.000071s"},"searches":1,"searches_with_match":1,"bytes_searched":22128,"bytes_printed":8186,"matched_lines":22,"matches":22}}}
{"data":{"elapsed_total":{"human":"0.010561s","nanos":10560668,"secs":0},"stats":{"bytes_printed":52662,"bytes_searched":602185,"elapsed":{"human":"0.000733s","nanos":732854,"secs":0},"matched_lines":145,"matches":146,"searches":26,"searches_with_match":26}},"type":"summary"}
