{"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":"    def error(self, message: str) -> None:\n"},"line_number":40,"absolute_offset":981,"submatches":[{"match":{"text":"def error("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/mcp_cli.py"},"lines":{"text":"def run_mcp_command(\n"},"line_number":690,"absolute_offset":23430,"submatches":[{"match":{"text":"def run_mcp_command("},"start":0,"end":20}]}}
{"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":236645,"human":"0.000237s"},"searches":1,"searches_with_match":1,"bytes_searched":24900,"bytes_printed":674,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"    def restore(self, *, reason: str) -> None:\n"},"line_number":61,"absolute_offset":1686,"submatches":[{"match":{"text":"def restore("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"    def install(self) -> None:\n"},"line_number":94,"absolute_offset":2827,"submatches":[{"match":{"text":"def install("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"    def begin_shutdown(self) -> None:\n"},"line_number":104,"absolute_offset":3190,"submatches":[{"match":{"text":"def begin_shutdown("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"def main(argv: list[str] | None = None, *, profile=None) -> None:\n"},"line_number":391,"absolute_offset":12703,"submatches":[{"match":{"text":"def main("},"start":0,"end":9}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":259802,"human":"0.000260s"},"searches":1,"searches_with_match":1,"bytes_searched":15404,"bytes_printed":1264,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"lines":{"text":"def print_logo(\n"},"line_number":282,"absolute_offset":8626,"submatches":[{"match":{"text":"def print_logo("},"start":0,"end":15}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logo.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":12396,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":9722,"bytes_printed":403,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"    def extract_context(self, text_before_cursor: str) -> MentionContext | None:\n"},"line_number":129,"absolute_offset":3570,"submatches":[{"match":{"text":"def extract_context("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"    def suggest(self, text_before_cursor: str, *, max_items: int = 12) -> tuple[MentionContext, list[str]] | None:\n"},"line_number":145,"absolute_offset":4162,"submatches":[{"match":{"text":"def suggest("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"    def apply_completion(\n"},"line_number":193,"absolute_offset":5857,"submatches":[{"match":{"text":"def apply_completion("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"    def start_deep_cache_warmup(\n"},"line_number":319,"absolute_offset":10808,"submatches":[{"match":{"text":"def start_deep_cache_warmup("},"start":4,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"lines":{"text":"    def get_completions(\n"},"line_number":618,"absolute_offset":21981,"submatches":[{"match":{"text":"def get_completions("},"start":4,"end":24}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/mention_completer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":44782,"human":"0.000045s"},"searches":1,"searches_with_match":1,"bytes_searched":22750,"bytes_printed":1813,"matched_lines":5,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/path_context_hint.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/path_context_hint.py"},"lines":{"text":"def build_path_context_hint(text: str, project_root: Path) -> str | None:\n"},"line_number":16,"absolute_offset":402,"submatches":[{"match":{"text":"def build_path_context_hint("},"start":0,"end":28}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/path_context_hint.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":27188,"human":"0.000027s"},"searches":1,"searches_with_match":1,"bytes_searched":3205,"bytes_printed":498,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"},"lines":{"text":"def print_assistant_prefix_line(console: Console, content: str) -> None:\n"},"line_number":30,"absolute_offset":644,"submatches":[{"match":{"text":"def print_assistant_prefix_line("},"start":0,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"},"lines":{"text":"def print_assistant_gap(console: Console) -> None:\n"},"line_number":39,"absolute_offset":937,"submatches":[{"match":{"text":"def print_assistant_gap("},"start":0,"end":24}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/message_style.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":46415,"human":"0.000046s"},"searches":1,"searches_with_match":1,"bytes_searched":1061,"bytes_printed":820,"matched_lines":2,"matches":2}}}
{"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":"def should_show_tool_in_scrollback(\n"},"line_number":86,"absolute_offset":2544,"submatches":[{"match":{"text":"def should_show_tool_in_scrollback("},"start":0,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"def extract_todos(args: dict[str, Any]) -> list[TodoItemState] | None:\n"},"line_number":160,"absolute_offset":4767,"submatches":[{"match":{"text":"def extract_todos("},"start":0,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"def is_agent_tool_invocation(tool_name: str, args: dict[str, Any]) -> bool:\n"},"line_number":279,"absolute_offset":8336,"submatches":[{"match":{"text":"def is_agent_tool_invocation("},"start":0,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"def extract_agent_tool_identity(tool_name: str, args: dict[str, Any]) -> tuple[str, str]:\n"},"line_number":293,"absolute_offset":8802,"submatches":[{"match":{"text":"def extract_agent_tool_identity("},"start":0,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"def resolve_display_tool_name(tool_name: str, args: dict[str, Any]) -> str:\n"},"line_number":352,"absolute_offset":10768,"submatches":[{"match":{"text":"def resolve_display_tool_name("},"start":0,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"def summarize_tool_args(\n"},"line_number":382,"absolute_offset":12081,"submatches":[{"match":{"text":"def summarize_tool_args("},"start":0,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def reset_turn(self) -> None:\n"},"line_number":561,"absolute_offset":20162,"submatches":[{"match":{"text":"def reset_turn("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def has_running_tasks(self) -> bool:\n"},"line_number":597,"absolute_offset":21747,"submatches":[{"match":{"text":"def has_running_tasks("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def tick_progress(self) -> None:\n"},"line_number":600,"absolute_offset":21893,"submatches":[{"match":{"text":"def tick_progress("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def running_subagent_source_prefixes(self) -> set[str]:\n"},"line_number":605,"absolute_offset":22016,"submatches":[{"match":{"text":"def running_subagent_source_prefixes("},"start":4,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def set_task_source_baseline(self, tool_call_id: str, source_total_tokens: int) -> None:\n"},"line_number":612,"absolute_offset":22289,"submatches":[{"match":{"text":"def set_task_source_baseline("},"start":4,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def update_task_progress(\n"},"line_number":623,"absolute_offset":22799,"submatches":[{"match":{"text":"def update_task_progress("},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def update_usage_tokens(\n"},"line_number":648,"absolute_offset":23681,"submatches":[{"match":{"text":"def update_usage_tokens("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def interrupt_running(self) -> None:\n"},"line_number":668,"absolute_offset":24588,"submatches":[{"match":{"text":"def interrupt_running("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def render_call(self, tool_name: str, args: dict[str, Any], tool_call_id: str) -> Text:\n"},"line_number":709,"absolute_offset":26295,"submatches":[{"match":{"text":"def render_call("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def render_result(\n"},"line_number":751,"absolute_offset":28108,"submatches":[{"match":{"text":"def render_result("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_view.py"},"lines":{"text":"    def renderable(self, *, only_tasks: bool = True) -> RenderableType | None:\n"},"line_number":795,"absolute_offset":29723,"submatches":[{"match":{"text":"def renderable("},"start":4,"end":19}]}}
{"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":49842,"human":"0.000050s"},"searches":1,"searches_with_match":1,"bytes_searched":30807,"bytes_printed":5736,"matched_lines":17,"matches":17}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"    def summary(self) -> str:\n"},"line_number":42,"absolute_offset":864,"submatches":[{"match":{"text":"def summary("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"def tool_fold_kind(tool_name: str) -> FoldKind | None:\n"},"line_number":55,"absolute_offset":1197,"submatches":[{"match":{"text":"def tool_fold_kind("},"start":0,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"def is_foldable_tool(tool_name: str) -> bool:\n"},"line_number":59,"absolute_offset":1324,"submatches":[{"match":{"text":"def is_foldable_tool("},"start":0,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"def fold_hint_for_tool(tool_name: str, args: dict[str, Any]) -> str:\n"},"line_number":63,"absolute_offset":1421,"submatches":[{"match":{"text":"def fold_hint_for_tool("},"start":0,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"def build_fold_summary(\n"},"line_number":75,"absolute_offset":1894,"submatches":[{"match":{"text":"def build_fold_summary("},"start":0,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"    def add_call(\n"},"line_number":115,"absolute_offset":3111,"submatches":[{"match":{"text":"def add_call("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"    def mark_result(\n"},"line_number":143,"absolute_offset":3920,"submatches":[{"match":{"text":"def mark_result("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"    def has_call(self, tool_call_id: str) -> bool:\n"},"line_number":169,"absolute_offset":4797,"submatches":[{"match":{"text":"def has_call("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"    def snapshot(self, *, active: bool = True) -> ToolFoldSnapshot | None:\n"},"line_number":173,"absolute_offset":4984,"submatches":[{"match":{"text":"def snapshot("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":202,"absolute_offset":6111,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_fold.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":390833,"human":"0.000391s"},"searches":1,"searches_with_match":1,"bytes_searched":6234,"bytes_printed":3207,"matched_lines":10,"matches":10}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def is_dirty(self) -> bool:\n"},"line_number":86,"absolute_offset":2355,"submatches":[{"match":{"text":"def is_dirty("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def subview_options(self) -> list[SubviewOption]:\n"},"line_number":89,"absolute_offset":2429,"submatches":[{"match":{"text":"def subview_options("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":100,"absolute_offset":2881,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":108,"absolute_offset":3239,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def handle_tab(self) -> None:\n"},"line_number":116,"absolute_offset":3599,"submatches":[{"match":{"text":"def handle_tab("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def handle_enter(self) -> PickerExit | None:\n"},"line_number":136,"absolute_offset":4695,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def handle_escape(self) -> PickerExit | None:\n"},"line_number":158,"absolute_offset":5601,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"lines":{"text":"    def handle_ctrl_s(self) -> PickerExit | None:\n"},"line_number":171,"absolute_offset":6026,"submatches":[{"match":{"text":"def handle_ctrl_s("},"start":4,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker_state.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":62701,"human":"0.000063s"},"searches":1,"searches_with_match":1,"bytes_searched":7071,"bytes_printed":2688,"matched_lines":8,"matches":8}}}
{"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":"    def scope_label(self) -> str:\n"},"line_number":47,"absolute_offset":1183,"submatches":[{"match":{"text":"def scope_label("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    def description_with_scope(self) -> str:\n"},"line_number":52,"absolute_offset":1337,"submatches":[{"match":{"text":"def description_with_scope("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"def discover_custom_slash_commands(\n"},"line_number":62,"absolute_offset":1586,"submatches":[{"match":{"text":"def discover_custom_slash_commands("},"start":0,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"def discover_default_slash_commands() -> CustomSlashLoadResult:\n"},"line_number":121,"absolute_offset":3742,"submatches":[{"match":{"text":"def discover_default_slash_commands("},"start":0,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"async def render_custom_slash_prompt(\n"},"line_number":230,"absolute_offset":7807,"submatches":[{"match":{"text":"def render_custom_slash_prompt("},"start":6,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    def append_segment(start: int, end: int) -> None:\n"},"line_number":364,"absolute_offset":12141,"submatches":[{"match":{"text":"def append_segment("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/custom_slash_commands.py"},"lines":{"text":"    def append_segment(start: int, end: int) -> None:\n"},"line_number":436,"absolute_offset":14458,"submatches":[{"match":{"text":"def append_segment("},"start":4,"end":23}]}}
{"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":371295,"human":"0.000371s"},"searches":1,"searches_with_match":1,"bytes_searched":20256,"bytes_printed":2485,"matched_lines":7,"matches":7}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def enter(self, snapshot: ConfigSnapshot) -> None:\n"},"line_number":71,"absolute_offset":1844,"submatches":[{"match":{"text":"def enter("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def take_result(self) -> tuple[bool, tuple[str, ...]]:\n"},"line_number":75,"absolute_offset":2032,"submatches":[{"match":{"text":"def take_result("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def container(self) -> HSplit:\n"},"line_number":83,"absolute_offset":2423,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":88,"absolute_offset":2562,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":95,"absolute_offset":2834,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":99,"absolute_offset":2928,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def handle_tab(self) -> None:\n"},"line_number":103,"absolute_offset":3026,"submatches":[{"match":{"text":"def handle_tab("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def handle_enter(self) -> PickerExit | None:\n"},"line_number":107,"absolute_offset":3122,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def handle_escape(self) -> PickerExit | None:\n"},"line_number":112,"absolute_offset":3300,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"lines":{"text":"    def handle_ctrl_s(self) -> PickerExit | None:\n"},"line_number":117,"absolute_offset":3483,"submatches":[{"match":{"text":"def handle_ctrl_s("},"start":4,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/picker.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":30684,"human":"0.000031s"},"searches":1,"searches_with_match":1,"bytes_searched":8614,"bytes_printed":3263,"matched_lines":10,"matches":10}}}
{"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":"def load() -> ConfigSnapshot:\n"},"line_number":42,"absolute_offset":1113,"submatches":[{"match":{"text":"def load("},"start":0,"end":9}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"def snapshot_from_settings_dict(data: Mapping[str, Any]) -> ConfigSnapshot:\n"},"line_number":89,"absolute_offset":2481,"submatches":[{"match":{"text":"def snapshot_from_settings_dict("},"start":0,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"def save(snapshot: ConfigSnapshot) -> SaveResult:\n"},"line_number":259,"absolute_offset":8147,"submatches":[{"match":{"text":"def save("},"start":0,"end":9}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"def build_cli_config_settings(snapshot: ConfigSnapshot) -> dict[str, Any]:\n"},"line_number":273,"absolute_offset":8636,"submatches":[{"match":{"text":"def build_cli_config_settings("},"start":0,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/store.py"},"lines":{"text":"def apply_cli_config_snapshot_to_settings(\n"},"line_number":301,"absolute_offset":9574,"submatches":[{"match":{"text":"def apply_cli_config_snapshot_to_settings("},"start":0,"end":42}]}}
{"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":38097,"human":"0.000038s"},"searches":1,"searches_with_match":1,"bytes_searched":11303,"bytes_printed":1792,"matched_lines":5,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"lines":{"text":"def read_env_int(name: str, default: int) -> int:\n"},"line_number":9,"absolute_offset":101,"submatches":[{"match":{"text":"def read_env_int("},"start":0,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"lines":{"text":"def read_env_float(name: str, default: float) -> float:\n"},"line_number":24,"absolute_offset":556,"submatches":[{"match":{"text":"def read_env_float("},"start":0,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/env_utils.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":7772,"human":"0.000008s"},"searches":1,"searches_with_match":1,"bytes_searched":1018,"bytes_printed":769,"matched_lines":2,"matches":2}}}
{"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":"    def should_abort_launch(self) -> bool:\n"},"line_number":54,"absolute_offset":1399,"submatches":[{"match":{"text":"def should_abort_launch("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"async def run_preflight_if_needed(\n"},"line_number":57,"absolute_offset":1524,"submatches":[{"match":{"text":"def run_preflight_if_needed("},"start":6,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight.py"},"lines":{"text":"def write_user_settings_atomic(*, path: Path, data: Mapping[str, Any]) -> None:\n"},"line_number":117,"absolute_offset":3875,"submatches":[{"match":{"text":"def write_user_settings_atomic("},"start":0,"end":31}]}}
{"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":92972,"human":"0.000093s"},"searches":1,"searches_with_match":1,"bytes_searched":7647,"bytes_printed":1121,"matched_lines":3,"matches":3}}}
{"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":"        def on_confirm(value: str) -> None:\n"},"line_number":1852,"absolute_offset":77380,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":1874,"absolute_offset":78241,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def session(self) -> ChatSession:\n"},"line_number":2170,"absolute_offset":89885,"submatches":[{"match":{"text":"def session("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def initialized_session_id(self) -> str | None:\n"},"line_number":2174,"absolute_offset":89967,"submatches":[{"match":{"text":"def initialized_session_id("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def exit_source(self) -> str | None:\n"},"line_number":2178,"absolute_offset":90078,"submatches":[{"match":{"text":"def exit_source("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def run(\n"},"line_number":2293,"absolute_offset":94704,"submatches":[{"match":{"text":"def run("},"start":10,"end":18}]}}
{"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":423860,"human":"0.000424s"},"searches":1,"searches_with_match":1,"bytes_searched":111355,"bytes_printed":1922,"matched_lines":6,"matches":6}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_messages.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_messages.py"},"lines":{"text":"def detect_update_locale() -> str:\n"},"line_number":211,"absolute_offset":10308,"submatches":[{"match":{"text":"def detect_update_locale("},"start":0,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_messages.py"},"lines":{"text":"def get_update_messages(locale_key: str | None = None) -> UpdateMessages:\n"},"line_number":223,"absolute_offset":10667,"submatches":[{"match":{"text":"def get_update_messages("},"start":0,"end":24}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_messages.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":11895,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":11323,"bytes_printed":810,"matched_lines":2,"matches":2}}}
{"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":"    def container(self) -> HSplit:\n"},"line_number":114,"absolute_offset":3115,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def set_options(\n"},"line_number":117,"absolute_offset":3177,"submatches":[{"match":{"text":"def set_options("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def update_options_preserve_selection(\n"},"line_number":195,"absolute_offset":6327,"submatches":[{"match":{"text":"def update_options_preserve_selection("},"start":4,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":251,"absolute_offset":8425,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def has_options(self) -> bool:\n"},"line_number":257,"absolute_offset":8591,"submatches":[{"match":{"text":"def has_options("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def move_selection(self, delta: int) -> None:\n"},"line_number":261,"absolute_offset":8701,"submatches":[{"match":{"text":"def move_selection("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def confirm(self) -> SelectionResult | None:\n"},"line_number":275,"absolute_offset":9205,"submatches":[{"match":{"text":"def confirm("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def cancel(self) -> SelectionResult:\n"},"line_number":292,"absolute_offset":9705,"submatches":[{"match":{"text":"def cancel("},"start":4,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def get_selected(self) -> SelectionOption | None:\n"},"line_number":305,"absolute_offset":9977,"submatches":[{"match":{"text":"def get_selected("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def refresh(self) -> None:\n"},"line_number":456,"absolute_offset":16032,"submatches":[{"match":{"text":"def refresh("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":461,"absolute_offset":16230,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"def create_model_level_menu(\n"},"line_number":471,"absolute_offset":16558,"submatches":[{"match":{"text":"def create_model_level_menu("},"start":0,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"def build_model_level_options(\n"},"line_number":504,"absolute_offset":17368,"submatches":[{"match":{"text":"def build_model_level_options("},"start":0,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/selection_menu.py"},"lines":{"text":"    def get_model_name(level: str) -> str:\n"},"line_number":509,"absolute_offset":17508,"submatches":[{"match":{"text":"def get_model_name("},"start":4,"end":23}]}}
{"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":33798,"human":"0.000034s"},"searches":1,"searches_with_match":1,"bytes_searched":18464,"bytes_printed":4500,"matched_lines":14,"matches":14}}}
{"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":"    async def run(self) -> None:\n"},"line_number":42,"absolute_offset":1321,"submatches":[{"match":{"text":"def run("},"start":10,"end":18}]}}
{"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":11614,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":15750,"bytes_printed":423,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"    def apply_transformation(self, transformation_input: Any) -> Transformation:\n"},"line_number":185,"absolute_offset":6118,"submatches":[{"match":{"text":"def apply_transformation("},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"lines":{"text":"    async def run_async(self) -> str | None:\n"},"line_number":612,"absolute_offset":21959,"submatches":[{"match":{"text":"def run_async("},"start":10,"end":24}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_picker.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17608,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":22047,"bytes_printed":811,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"lines":{"text":"    def enter(\n"},"line_number":79,"absolute_offset":2377,"submatches":[{"match":{"text":"def enter("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"lines":{"text":"    def container(self) -> Window:\n"},"line_number":101,"absolute_offset":3019,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":104,"absolute_offset":3091,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"lines":{"text":"    def take_result(self) -> MarketplaceInstallResult:\n"},"line_number":107,"absolute_offset":3166,"submatches":[{"match":{"text":"def take_result("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"lines":{"text":"    def handle_enter(self) -> bool:\n"},"line_number":116,"absolute_offset":3490,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"lines":{"text":"    def handle_escape(self) -> bool:\n"},"line_number":125,"absolute_offset":3791,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/marketplace_install_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":42091,"human":"0.000042s"},"searches":1,"searches_with_match":1,"bytes_searched":10055,"bytes_printed":2100,"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":"async def run_transcript_viewer_async(\n"},"line_number":397,"absolute_offset":12956,"submatches":[{"match":{"text":"def run_transcript_viewer_async("},"start":6,"end":38}]}}
{"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":12790,"human":"0.000013s"},"searches":1,"searches_with_match":1,"bytes_searched":13231,"bytes_printed":470,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def start_turn(self) -> None:\n"},"line_number":110,"absolute_offset":3054,"submatches":[{"match":{"text":"def start_turn("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def append_external_lines(self, lines: list[tuple[str, str]]) -> None:\n"},"line_number":178,"absolute_offset":5623,"submatches":[{"match":{"text":"def append_external_lines("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def append_tool_line(self, text_ref: Text) -> None:\n"},"line_number":188,"absolute_offset":6018,"submatches":[{"match":{"text":"def append_tool_line("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def append_user_message(self, content: str) -> None:\n"},"line_number":195,"absolute_offset":6308,"submatches":[{"match":{"text":"def append_user_message("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def append_text(self, text: str) -> None:\n"},"line_number":203,"absolute_offset":6593,"submatches":[{"match":{"text":"def append_text("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def insert_gap_before_next_segment(self) -> None:\n"},"line_number":222,"absolute_offset":7308,"submatches":[{"match":{"text":"def insert_gap_before_next_segment("},"start":4,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def flush_line_for_external_event(self) -> None:\n"},"line_number":229,"absolute_offset":7516,"submatches":[{"match":{"text":"def flush_line_for_external_event("},"start":4,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def finalize_turn(self) -> None:\n"},"line_number":232,"absolute_offset":7627,"submatches":[{"match":{"text":"def finalize_turn("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"lines":{"text":"    def renderable(self) -> RenderableType:\n"},"line_number":236,"absolute_offset":7777,"submatches":[{"match":{"text":"def renderable("},"start":4,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/assistant_render.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":46919,"human":"0.000047s"},"searches":1,"searches_with_match":1,"bytes_searched":8168,"bytes_printed":3112,"matched_lines":9,"matches":9}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/codenames.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/codenames.py"},"lines":{"text":"def get_codename(ver: str) -> str | None:\n"},"line_number":12,"absolute_offset":224,"submatches":[{"match":{"text":"def get_codename("},"start":0,"end":17}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/codenames.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":5825,"human":"0.000006s"},"searches":1,"searches_with_match":1,"bytes_searched":405,"bytes_printed":439,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/input_geometry.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/input_geometry.py"},"lines":{"text":"def compute_visual_line_ranges(text: str, max_cols: int) -> list[tuple[int, int]]:\n"},"line_number":6,"absolute_offset":82,"submatches":[{"match":{"text":"def compute_visual_line_ranges("},"start":0,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/input_geometry.py"},"lines":{"text":"def visual_col_for_index(\n"},"line_number":41,"absolute_offset":941,"submatches":[{"match":{"text":"def visual_col_for_index("},"start":0,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/input_geometry.py"},"lines":{"text":"def index_for_visual_col(\n"},"line_number":67,"absolute_offset":1470,"submatches":[{"match":{"text":"def index_for_visual_col("},"start":0,"end":25}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/input_geometry.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":9843,"human":"0.000010s"},"searches":1,"searches_with_match":1,"bytes_searched":2060,"bytes_printed":1111,"matched_lines":3,"matches":3}}}
{"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":"def build_tool_subtitle_legacy(\n"},"line_number":284,"absolute_offset":8372,"submatches":[{"match":{"text":"def build_tool_subtitle_legacy("},"start":0,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"def render_diff_text(\n"},"line_number":527,"absolute_offset":17095,"submatches":[{"match":{"text":"def render_diff_text("},"start":0,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"def scrollback_preview(rec: ToolResultRecord) -> tuple[RenderableType, str | None]:\n"},"line_number":631,"absolute_offset":20472,"submatches":[{"match":{"text":"def scrollback_preview("},"start":0,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"def viewer_list_row(rec: ToolResultRecord, *, selected: bool) -> Text:\n"},"line_number":652,"absolute_offset":21199,"submatches":[{"match":{"text":"def viewer_list_row("},"start":0,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_formatters.py"},"lines":{"text":"def viewer_detail(rec: ToolResultRecord) -> list[RenderableType]:\n"},"line_number":672,"absolute_offset":21888,"submatches":[{"match":{"text":"def viewer_detail("},"start":0,"end":18}]}}
{"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":389632,"human":"0.000390s"},"searches":1,"searches_with_match":1,"bytes_searched":36197,"bytes_printed":1852,"matched_lines":5,"matches":5}}}
{"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":"def load_head_tail(jsonl_path: Path) -> PreviewPayload:\n"},"line_number":76,"absolute_offset":1866,"submatches":[{"match":{"text":"def load_head_tail("},"start":0,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"def format_role_label(role: str) -> str:\n"},"line_number":121,"absolute_offset":3677,"submatches":[{"match":{"text":"def format_role_label("},"start":0,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_preview.py"},"lines":{"text":"def format_preview_body(payload: PreviewPayload) -> str:\n"},"line_number":126,"absolute_offset":3850,"submatches":[{"match":{"text":"def format_preview_body("},"start":0,"end":24}]}}
{"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":12186,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":4498,"bytes_printed":1120,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"lines":{"text":"def render_markdown_to_rich(content: str, *, width: int) -> Text:\n"},"line_number":123,"absolute_offset":3358,"submatches":[{"match":{"text":"def render_markdown_to_rich("},"start":0,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"lines":{"text":"def rich_style_to_prompt_toolkit_style(rich_style: Style) -> str:\n"},"line_number":133,"absolute_offset":3748,"submatches":[{"match":{"text":"def rich_style_to_prompt_toolkit_style("},"start":0,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"lines":{"text":"def rich_text_to_prompt_toolkit_fragments(text: Text) -> list[Fragment]:\n"},"line_number":152,"absolute_offset":4479,"submatches":[{"match":{"text":"def rich_text_to_prompt_toolkit_fragments("},"start":0,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"lines":{"text":"def render_markdown_to_pt_fragments(content: str, *, width: int) -> list[Fragment]:\n"},"line_number":166,"absolute_offset":4944,"submatches":[{"match":{"text":"def render_markdown_to_pt_fragments("},"start":0,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"lines":{"text":"def render_markdown_to_plain(content: str, *, width: int) -> str:\n"},"line_number":172,"absolute_offset":5140,"submatches":[{"match":{"text":"def render_markdown_to_plain("},"start":0,"end":29}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/markdown_render.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":346842,"human":"0.000347s"},"searches":1,"searches_with_match":1,"bytes_searched":5281,"bytes_printed":1947,"matched_lines":5,"matches":5}}}
{"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":"    def apply_config(self, config: StatuslineConfig) -> None:\n"},"line_number":71,"absolute_offset":2190,"submatches":[{"match":{"text":"def apply_config("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def config(self) -> StatuslineConfig:\n"},"line_number":75,"absolute_offset":2297,"submatches":[{"match":{"text":"def config("},"start":4,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def live_preview_data(self) -> list[tuple[str, str]]:\n"},"line_number":78,"absolute_offset":2368,"submatches":[{"match":{"text":"def live_preview_data("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def set_model_name(self, model_name: str) -> None:\n"},"line_number":125,"absolute_offset":4616,"submatches":[{"match":{"text":"def set_model_name("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def set_session(self, session: ChatSession) -> None:\n"},"line_number":129,"absolute_offset":4774,"submatches":[{"match":{"text":"def set_session("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def set_mode(self, mode: str) -> None:\n"},"line_number":137,"absolute_offset":5069,"submatches":[{"match":{"text":"def set_mode("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    async def refresh(self) -> None:\n"},"line_number":314,"absolute_offset":11474,"submatches":[{"match":{"text":"def refresh("},"start":10,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def context_left_text(self) -> str:\n"},"line_number":407,"absolute_offset":15008,"submatches":[{"match":{"text":"def context_left_text("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def get_mode(self) -> str:\n"},"line_number":424,"absolute_offset":15746,"submatches":[{"match":{"text":"def get_mode("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def info_status_fragments(self) -> list[tuple[str, str]]:\n"},"line_number":511,"absolute_offset":19553,"submatches":[{"match":{"text":"def info_status_fragments("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def info_status_text(self) -> str:\n"},"line_number":543,"absolute_offset":20731,"submatches":[{"match":{"text":"def info_status_text("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def right_prompt_text(self) -> str:\n"},"line_number":556,"absolute_offset":21269,"submatches":[{"match":{"text":"def right_prompt_text("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def right_prompt_fragments(self) -> list[tuple[str, str]]:\n"},"line_number":559,"absolute_offset":21382,"submatches":[{"match":{"text":"def right_prompt_fragments("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def footer_status_text(self) -> str:\n"},"line_number":562,"absolute_offset":21514,"submatches":[{"match":{"text":"def footer_status_text("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def git_diff_fragments(self) -> list[tuple[str, str]]:\n"},"line_number":582,"absolute_offset":22318,"submatches":[{"match":{"text":"def git_diff_fragments("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def footer_toolbar(self) -> list[tuple[str, str]]:\n"},"line_number":586,"absolute_offset":22479,"submatches":[{"match":{"text":"def footer_toolbar("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def show_transient(self, message: str, duration_s: float = 5.0,\n"},"line_number":607,"absolute_offset":23176,"submatches":[{"match":{"text":"def show_transient("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def clear_transient_if_expired(self) -> bool:\n"},"line_number":614,"absolute_offset":23532,"submatches":[{"match":{"text":"def clear_transient_if_expired("},"start":4,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def transient_message(self) -> str | None:\n"},"line_number":624,"absolute_offset":23921,"submatches":[{"match":{"text":"def transient_message("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def has_transient(self) -> bool:\n"},"line_number":628,"absolute_offset":24022,"submatches":[{"match":{"text":"def has_transient("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def transient_severity(self) -> str:\n"},"line_number":632,"absolute_offset":24125,"submatches":[{"match":{"text":"def transient_severity("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    def helper_toolbar(self) -> list[tuple[str, str]]:\n"},"line_number":635,"absolute_offset":24246,"submatches":[{"match":{"text":"def helper_toolbar("},"start":4,"end":23}]}}
{"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":482036,"human":"0.000482s"},"searches":1,"searches_with_match":1,"bytes_searched":24319,"bytes_printed":7189,"matched_lines":22,"matches":22}}}
{"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":"def list_resume_sessions_via_sdk(*, cwd: Path | str | None) -> list[ResumeSessionItem]:\n"},"line_number":43,"absolute_offset":1334,"submatches":[{"match":{"text":"def list_resume_sessions_via_sdk("},"start":0,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"async def select_resume_session_id(console: Console, *, cwd: Path | None = None) -> str | None:\n"},"line_number":52,"absolute_offset":1659,"submatches":[{"match":{"text":"def select_resume_session_id("},"start":6,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"    def transcript_resolver(session_id: str) -> Path:\n"},"line_number":65,"absolute_offset":2217,"submatches":[{"match":{"text":"def transcript_resolver("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"lines":{"text":"    def scope_loader(scope: Literal[\"cwd\", \"all\"]) -> list[ResumeSessionItem]:\n"},"line_number":72,"absolute_offset":2561,"submatches":[{"match":{"text":"def scope_loader("},"start":4,"end":21}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/resume_selector.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":12483,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":3122,"bytes_printed":1582,"matched_lines":4,"matches":4}}}
{"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":"    def container(self) -> HSplit:\n"},"line_number":211,"absolute_offset":7207,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def has_questions(self) -> bool:\n"},"line_number":214,"absolute_offset":7269,"submatches":[{"match":{"text":"def has_questions("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def set_questions(self, questions: list[dict[str, Any]] | None) -> bool:\n"},"line_number":217,"absolute_offset":7350,"submatches":[{"match":{"text":"def set_questions("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":257,"absolute_offset":9180,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def focus_target(self) -> Any:\n"},"line_number":262,"absolute_offset":9328,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def custom_input_window(self) -> Window:\n"},"line_number":268,"absolute_offset":9511,"submatches":[{"match":{"text":"def custom_input_window("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def move_option(self, delta: int) -> None:\n"},"line_number":271,"absolute_offset":9603,"submatches":[{"match":{"text":"def move_option("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def prev_question(self) -> None:\n"},"line_number":288,"absolute_offset":10254,"submatches":[{"match":{"text":"def prev_question("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def next_question(self) -> None:\n"},"line_number":291,"absolute_offset":10326,"submatches":[{"match":{"text":"def next_question("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def focus_submit(self) -> None:\n"},"line_number":294,"absolute_offset":10397,"submatches":[{"match":{"text":"def focus_submit("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def scroll_preview_page(self, direction: int) -> None:\n"},"line_number":302,"absolute_offset":10656,"submatches":[{"match":{"text":"def scroll_preview_page("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def scroll_preview_half_page(self, direction: int) -> None:\n"},"line_number":308,"absolute_offset":10888,"submatches":[{"match":{"text":"def scroll_preview_half_page("},"start":4,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def toggle_current_selection(self) -> None:\n"},"line_number":314,"absolute_offset":11138,"submatches":[{"match":{"text":"def toggle_current_selection("},"start":4,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def set_custom_input(self, text: str) -> None:\n"},"line_number":340,"absolute_offset":12046,"submatches":[{"match":{"text":"def set_custom_input("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def handle_enter(self) -> QuestionAction | None:\n"},"line_number":352,"absolute_offset":12602,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def handle_escape(self) -> QuestionAction:\n"},"line_number":417,"absolute_offset":15039,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def build_answers_message(self) -> str:\n"},"line_number":420,"absolute_offset":15157,"submatches":[{"match":{"text":"def build_answers_message("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/question_view.py"},"lines":{"text":"    def build_answers_display(self) -> tuple[str, str] | None:\n"},"line_number":437,"absolute_offset":15868,"submatches":[{"match":{"text":"def build_answers_display("},"start":4,"end":30}]}}
{"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":65353,"human":"0.000065s"},"searches":1,"searches_with_match":1,"bytes_searched":27456,"bytes_printed":5923,"matched_lines":18,"matches":18}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"    def start_turn(self) -> None:\n"},"line_number":61,"absolute_offset":1854,"submatches":[{"match":{"text":"def start_turn("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"    def stop_turn(self) -> None:\n"},"line_number":67,"absolute_offset":2010,"submatches":[{"match":{"text":"def stop_turn("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"    def close(self) -> None:\n"},"line_number":74,"absolute_offset":2190,"submatches":[{"match":{"text":"def close("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"    def update_layers(\n"},"line_number":78,"absolute_offset":2280,"submatches":[{"match":{"text":"def update_layers("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"lines":{"text":"    def refresh(self, *, force: bool = False) -> None:\n"},"line_number":90,"absolute_offset":2596,"submatches":[{"match":{"text":"def refresh("},"start":4,"end":16}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/layout_coordinator.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":18151,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":6180,"bytes_printed":1674,"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":"    def update_command(self) -> tuple[str, ...]:\n"},"line_number":90,"absolute_offset":2597,"submatches":[{"match":{"text":"def update_command("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def default_update_target() -> UpdateTarget:\n"},"line_number":111,"absolute_offset":3037,"submatches":[{"match":{"text":"def default_update_target("},"start":0,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def update_target_from_profile(profile: DistributionProfile) -> UpdateTarget:\n"},"line_number":119,"absolute_offset":3222,"submatches":[{"match":{"text":"def update_target_from_profile("},"start":0,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def pypi_json_source(package: str, *, profiler: Any | None = None) -> LatestVersionFetcher:\n"},"line_number":175,"absolute_offset":5193,"submatches":[{"match":{"text":"def pypi_json_source("},"start":0,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    async def fetch() -> LatestRelease | None:\n"},"line_number":176,"absolute_offset":5285,"submatches":[{"match":{"text":"def fetch("},"start":10,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"async def check_update(\n"},"line_number":195,"absolute_offset":5888,"submatches":[{"match":{"text":"def check_update("},"start":6,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def format_update_hint(info: UpdateInfo, target: UpdateTarget | None = None) -> str:\n"},"line_number":399,"absolute_offset":12765,"submatches":[{"match":{"text":"def format_update_hint("},"start":0,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def get_pending_update_prompt_info(\n"},"line_number":416,"absolute_offset":13507,"submatches":[{"match":{"text":"def get_pending_update_prompt_info("},"start":0,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def decide_update_prompt(\n"},"line_number":454,"absolute_offset":14827,"submatches":[{"match":{"text":"def decide_update_prompt("},"start":0,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def mark_update_seen(info: UpdateInfo, *, settings_path: Path | None = None) -> None:\n"},"line_number":467,"absolute_offset":15288,"submatches":[{"match":{"text":"def mark_update_seen("},"start":0,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"def record_skip_until_next_version(\n"},"line_number":475,"absolute_offset":15526,"submatches":[{"match":{"text":"def record_skip_until_next_version("},"start":0,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"async def show_update_prompt(\n"},"line_number":490,"absolute_offset":15871,"submatches":[{"match":{"text":"def show_update_prompt("},"start":6,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    def render() -> list[tuple[str, str]]:\n"},"line_number":509,"absolute_offset":16561,"submatches":[{"match":{"text":"def render("},"start":4,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"    def exit_with(index: int, event: Any) -> None:\n"},"line_number":518,"absolute_offset":16777,"submatches":[{"match":{"text":"def exit_with("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/update_check.py"},"lines":{"text":"async def run_update_command(\n"},"line_number":581,"absolute_offset":18404,"submatches":[{"match":{"text":"def run_update_command("},"start":6,"end":29}]}}
{"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":72084,"human":"0.000072s"},"searches":1,"searches_with_match":1,"bytes_searched":21987,"bytes_printed":5031,"matched_lines":15,"matches":15}}}
{"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":"def breathing_dot_color(frame: int) -> str:\n"},"line_number":262,"absolute_offset":4541,"submatches":[{"match":{"text":"def breathing_dot_color("},"start":0,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"def breathing_dot_glyph(now_monotonic: float | None = None) -> str:\n"},"line_number":268,"absolute_offset":4743,"submatches":[{"match":{"text":"def breathing_dot_glyph("},"start":0,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"def loading_spinner_glyph(frame: int) -> str:\n"},"line_number":275,"absolute_offset":5038,"submatches":[{"match":{"text":"def loading_spinner_glyph("},"start":0,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    async def start(self) -> None:\n"},"line_number":359,"absolute_offset":7983,"submatches":[{"match":{"text":"def start("},"start":10,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def set_status_hint(self, hint: str | None) -> None:\n"},"line_number":374,"absolute_offset":8556,"submatches":[{"match":{"text":"def set_status_hint("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    async def stop(self) -> None:\n"},"line_number":386,"absolute_offset":8961,"submatches":[{"match":{"text":"def stop("},"start":10,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def hide_now(self) -> None:\n"},"line_number":399,"absolute_offset":9313,"submatches":[{"match":{"text":"def hide_now("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def is_active(self) -> bool:\n"},"line_number":418,"absolute_offset":9877,"submatches":[{"match":{"text":"def is_active("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def consume_dirty(self) -> bool:\n"},"line_number":421,"absolute_offset":9942,"submatches":[{"match":{"text":"def consume_dirty("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def renderable(self) -> RenderableType:\n"},"line_number":426,"absolute_offset":10057,"submatches":[{"match":{"text":"def renderable("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def phase(self) -> AnimationPhase:\n"},"line_number":482,"absolute_offset":12040,"submatches":[{"match":{"text":"def phase("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    async def start(self) -> None:\n"},"line_number":485,"absolute_offset":12107,"submatches":[{"match":{"text":"def start("},"start":10,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    async def shutdown(self) -> None:\n"},"line_number":493,"absolute_offset":12400,"submatches":[{"match":{"text":"def shutdown("},"start":10,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    def hide_now(self) -> None:\n"},"line_number":496,"absolute_offset":12495,"submatches":[{"match":{"text":"def hide_now("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/animations.py"},"lines":{"text":"    async def on_event(self, event: object) -> None:\n"},"line_number":503,"absolute_offset":12721,"submatches":[{"match":{"text":"def on_event("},"start":10,"end":23}]}}
{"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":61818,"human":"0.000062s"},"searches":1,"searches_with_match":1,"bytes_searched":13666,"bytes_printed":4768,"matched_lines":15,"matches":15}}}
{"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":"    def tool_call(cls, text: str, **metadata) -> LoadingState:\n"},"line_number":52,"absolute_offset":1282,"submatches":[{"match":{"text":"def tool_call("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    def thinking(cls, text: str, **metadata) -> LoadingState:\n"},"line_number":57,"absolute_offset":1502,"submatches":[{"match":{"text":"def thinking("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    def animation(cls, text: str, **metadata) -> LoadingState:\n"},"line_number":62,"absolute_offset":1714,"submatches":[{"match":{"text":"def animation("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/models.py"},"lines":{"text":"    def idle(cls) -> LoadingState:\n"},"line_number":67,"absolute_offset":1928,"submatches":[{"match":{"text":"def idle("},"start":4,"end":13}]}}
{"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":16362,"human":"0.000016s"},"searches":1,"searches_with_match":1,"bytes_searched":3062,"bytes_printed":1386,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def set_errors(self, errors: list[PluginError]) -> None:\n"},"line_number":63,"absolute_offset":1789,"submatches":[{"match":{"text":"def set_errors("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def error_count(self) -> int:\n"},"line_number":71,"absolute_offset":2118,"submatches":[{"match":{"text":"def error_count("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def activate(self) -> None:\n"},"line_number":79,"absolute_offset":2415,"submatches":[{"match":{"text":"def activate("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def get_formatted_text(self) -> list[tuple[str, str]]:\n"},"line_number":130,"absolute_offset":4571,"submatches":[{"match":{"text":"def get_formatted_text("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":170,"absolute_offset":6052,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":179,"absolute_offset":6416,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def handle_enter(self) -> None:\n"},"line_number":192,"absolute_offset":6942,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def handle_retry(self) -> None:\n"},"line_number":217,"absolute_offset":7819,"submatches":[{"match":{"text":"def handle_retry("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def handle_dismiss(self) -> None:\n"},"line_number":226,"absolute_offset":8169,"submatches":[{"match":{"text":"def handle_dismiss("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def go_back(self) -> bool:\n"},"line_number":242,"absolute_offset":8887,"submatches":[{"match":{"text":"def go_back("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def get_cursor_info(self) -> tuple[int, int] | None:\n"},"line_number":253,"absolute_offset":9323,"submatches":[{"match":{"text":"def get_cursor_info("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def get_footer_hint(self) -> str:\n"},"line_number":259,"absolute_offset":9513,"submatches":[{"match":{"text":"def get_footer_hint("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"lines":{"text":"    def is_searchable(self) -> bool:\n"},"line_number":264,"absolute_offset":9733,"submatches":[{"match":{"text":"def is_searchable("},"start":4,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/errors_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":59050,"human":"0.000059s"},"searches":1,"searches_with_match":1,"bytes_searched":11989,"bytes_printed":4322,"matched_lines":13,"matches":13}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"def print_status(console: Console, icon: str, style: str, message: str) -> None:\n"},"line_number":29,"absolute_offset":782,"submatches":[{"match":{"text":"def print_status("},"start":0,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"def print_warning(console: Console, message: str) -> None:\n"},"line_number":34,"absolute_offset":969,"submatches":[{"match":{"text":"def print_warning("},"start":0,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"def print_success(console: Console, message: str) -> None:\n"},"line_number":39,"absolute_offset":1134,"submatches":[{"match":{"text":"def print_success("},"start":0,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"def print_error(console: Console, message: str) -> None:\n"},"line_number":44,"absolute_offset":1291,"submatches":[{"match":{"text":"def print_error("},"start":0,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"lines":{"text":"async def mcp_connecting_animation(\n"},"line_number":68,"absolute_offset":2128,"submatches":[{"match":{"text":"def mcp_connecting_animation("},"start":6,"end":35}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17172,"human":"0.000017s"},"searches":1,"searches_with_match":1,"bytes_searched":2631,"bytes_printed":1753,"matched_lines":5,"matches":5}}}
{"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":"def print_logo(*args, **kwargs) -> None:\n"},"line_number":287,"absolute_offset":8887,"submatches":[{"match":{"text":"def print_logo("},"start":0,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"async def run(\n"},"line_number":689,"absolute_offset":21980,"submatches":[{"match":{"text":"def run("},"start":6,"end":14}]}}
{"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":29074,"human":"0.000029s"},"searches":1,"searches_with_match":1,"bytes_searched":30885,"bytes_printed":694,"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":"    def record(self, rec_kwargs: dict[str, Any]) -> ToolResultRecord:\n"},"line_number":42,"absolute_offset":998,"submatches":[{"match":{"text":"def record("},"start":4,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"},"lines":{"text":"    def snapshot(self) -> tuple[ToolResultRecord, ...]:\n"},"line_number":66,"absolute_offset":1997,"submatches":[{"match":{"text":"def snapshot("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_store.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":70,"absolute_offset":2119,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"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":34633,"human":"0.000035s"},"searches":1,"searches_with_match":1,"bytes_searched":2337,"bytes_printed":1099,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/slash_command_registry.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/slash_command_registry.py"},"lines":{"text":"    def register(\n"},"line_number":26,"absolute_offset":695,"submatches":[{"match":{"text":"def register("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/slash_command_registry.py"},"lines":{"text":"    def unregister(self, name: str) -> None:\n"},"line_number":50,"absolute_offset":1496,"submatches":[{"match":{"text":"def unregister("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/slash_command_registry.py"},"lines":{"text":"    def resolve(self, name: str) -> RegisteredSlashCommand | None:\n"},"line_number":65,"absolute_offset":2122,"submatches":[{"match":{"text":"def resolve("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/slash_command_registry.py"},"lines":{"text":"    def command_specs(self) -> tuple[SlashCommandSpec, ...]:\n"},"line_number":68,"absolute_offset":2237,"submatches":[{"match":{"text":"def command_specs("},"start":4,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/slash_command_registry.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":14486,"human":"0.000014s"},"searches":1,"searches_with_match":1,"bytes_searched":2380,"bytes_printed":1491,"matched_lines":4,"matches":4}}}
{"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":"    def container(self) -> Window:\n"},"line_number":139,"absolute_offset":4392,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":142,"absolute_offset":4464,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def enter(\n"},"line_number":147,"absolute_offset":4614,"submatches":[{"match":{"text":"def enter("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def handle_escape(self) -> bool:\n"},"line_number":167,"absolute_offset":5398,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":180,"absolute_offset":5915,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def scroll_up(self, lines: int = 1) -> None:\n"},"line_number":222,"absolute_offset":7709,"submatches":[{"match":{"text":"def scroll_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def scroll_down(self, lines: int = 1) -> None:\n"},"line_number":225,"absolute_offset":7828,"submatches":[{"match":{"text":"def scroll_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def scroll_page_up(self) -> None:\n"},"line_number":229,"absolute_offset":8047,"submatches":[{"match":{"text":"def scroll_page_up("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def scroll_page_down(self) -> None:\n"},"line_number":232,"absolute_offset":8121,"submatches":[{"match":{"text":"def scroll_page_down("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def scroll_home(self) -> None:\n"},"line_number":235,"absolute_offset":8199,"submatches":[{"match":{"text":"def scroll_home("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/btw_view.py"},"lines":{"text":"    def scroll_end(self) -> None:\n"},"line_number":238,"absolute_offset":8260,"submatches":[{"match":{"text":"def scroll_end("},"start":4,"end":19}]}}
{"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":55727,"human":"0.000056s"},"searches":1,"searches_with_match":1,"bytes_searched":16560,"bytes_printed":3561,"matched_lines":11,"matches":11}}}
{"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":"def is_jsonrpc_request_id(raw_value: Any) -> TypeGuard[JSONRPCRequestId]:\n"},"line_number":36,"absolute_offset":710,"submatches":[{"match":{"text":"def is_jsonrpc_request_id("},"start":0,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"def parse_jsonrpc_message(raw_line: str) -> dict[str, Any]:\n"},"line_number":40,"absolute_offset":867,"submatches":[{"match":{"text":"def parse_jsonrpc_message("},"start":0,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"def build_success_response(request_id: JSONRPCRequestId, result: Any) -> dict[str, Any]:\n"},"line_number":62,"absolute_offset":1568,"submatches":[{"match":{"text":"def build_success_response("},"start":0,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"def build_error_response(\n"},"line_number":66,"absolute_offset":1739,"submatches":[{"match":{"text":"def build_error_response("},"start":0,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"def build_event_notification(event: Any) -> dict[str, Any]:\n"},"line_number":83,"absolute_offset":2142,"submatches":[{"match":{"text":"def build_event_notification("},"start":0,"end":29}]}}
{"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":14753,"human":"0.000015s"},"searches":1,"searches_with_match":1,"bytes_searched":3182,"bytes_printed":1835,"matched_lines":5,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def container(self) -> HSplit:\n"},"line_number":53,"absolute_offset":1549,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":56,"absolute_offset":1611,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def enter(self, prompt: GoalResumePrompt) -> None:\n"},"line_number":59,"absolute_offset":1686,"submatches":[{"match":{"text":"def enter("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":63,"absolute_offset":1805,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def has_prompt(self) -> bool:\n"},"line_number":67,"absolute_offset":1896,"submatches":[{"match":{"text":"def has_prompt("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":70,"absolute_offset":1971,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":73,"absolute_offset":2067,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def handle_enter(self) -> GoalResumeAction:\n"},"line_number":76,"absolute_offset":2165,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def handle_digit(self, digit: str) -> GoalResumeAction:\n"},"line_number":79,"absolute_offset":2274,"submatches":[{"match":{"text":"def handle_digit("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def handle_escape(self) -> GoalResumeAction:\n"},"line_number":84,"absolute_offset":2446,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def content_fragments(self) -> list[tuple[str, str]]:\n"},"line_number":87,"absolute_offset":2537,"submatches":[{"match":{"text":"def content_fragments("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"lines":{"text":"    def footer_fragments(self) -> list[tuple[str, str]]:\n"},"line_number":118,"absolute_offset":3774,"submatches":[{"match":{"text":"def footer_fragments("},"start":4,"end":25}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/goal_resume_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":345111,"human":"0.000345s"},"searches":1,"searches_with_match":1,"bytes_searched":4717,"bytes_printed":3934,"matched_lines":12,"matches":12}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/text_effects.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/text_effects.py"},"lines":{"text":"def fit_single_line(content: str, width: int) -> str:\n"},"line_number":9,"absolute_offset":218,"submatches":[{"match":{"text":"def fit_single_line("},"start":0,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/text_effects.py"},"lines":{"text":"def wrap_user_text(\n"},"line_number":32,"absolute_offset":867,"submatches":[{"match":{"text":"def wrap_user_text("},"start":0,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/text_effects.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":7483,"human":"0.000007s"},"searches":1,"searches_with_match":1,"bytes_searched":1498,"bytes_printed":749,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def apply_transformation(self, ti: TransformationInput) -> Transformation:\n"},"line_number":35,"absolute_offset":1058,"submatches":[{"match":{"text":"def apply_transformation("},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"def parse_plugin_args(args: str) -> PluginPickerContext:\n"},"line_number":71,"absolute_offset":2196,"submatches":[{"match":{"text":"def parse_plugin_args("},"start":0,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def enter(\n"},"line_number":177,"absolute_offset":5793,"submatches":[{"match":{"text":"def enter("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def container(self) -> HSplit:\n"},"line_number":205,"absolute_offset":6784,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":211,"absolute_offset":7023,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def search_area_window(self) -> Window:\n"},"line_number":216,"absolute_offset":7207,"submatches":[{"match":{"text":"def search_area_window("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def content_window(self) -> Window:\n"},"line_number":221,"absolute_offset":7397,"submatches":[{"match":{"text":"def content_window("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def inject_search_char(self, char: str) -> None:\n"},"line_number":225,"absolute_offset":7557,"submatches":[{"match":{"text":"def inject_search_char("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def take_result(self) -> PluginPickerResult:\n"},"line_number":229,"absolute_offset":7759,"submatches":[{"match":{"text":"def take_result("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_enter(self) -> PluginPickerAction | None:\n"},"line_number":239,"absolute_offset":8146,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":255,"absolute_offset":8824,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":260,"absolute_offset":8957,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_space(self) -> None:\n"},"line_number":265,"absolute_offset":9096,"submatches":[{"match":{"text":"def handle_space("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def can_handle_update(self) -> bool:\n"},"line_number":270,"absolute_offset":9238,"submatches":[{"match":{"text":"def can_handle_update("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_update(self) -> None:\n"},"line_number":276,"absolute_offset":9453,"submatches":[{"match":{"text":"def handle_update("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def can_handle_remove(self) -> bool:\n"},"line_number":281,"absolute_offset":9598,"submatches":[{"match":{"text":"def can_handle_remove("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_remove(self) -> None:\n"},"line_number":287,"absolute_offset":9813,"submatches":[{"match":{"text":"def handle_remove("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_escape(self) -> PluginPickerAction | None:\n"},"line_number":292,"absolute_offset":9958,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_tab(self) -> None:\n"},"line_number":310,"absolute_offset":10658,"submatches":[{"match":{"text":"def handle_tab("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def handle_shift_tab(self) -> None:\n"},"line_number":315,"absolute_offset":10776,"submatches":[{"match":{"text":"def handle_shift_tab("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"lines":{"text":"    def show_search(self) -> bool:\n"},"line_number":414,"absolute_offset":14306,"submatches":[{"match":{"text":"def show_search("},"start":4,"end":20}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/plugin_picker.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":388278,"human":"0.000388s"},"searches":1,"searches_with_match":1,"bytes_searched":16801,"bytes_printed":6924,"matched_lines":21,"matches":21}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def activate(self) -> None:\n"},"line_number":98,"absolute_offset":2972,"submatches":[{"match":{"text":"def activate("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def set_marketplace_filter(self, marketplace: str | None) -> None:\n"},"line_number":152,"absolute_offset":5077,"submatches":[{"match":{"text":"def set_marketplace_filter("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def get_formatted_text(self) -> list[tuple[str, str]]:\n"},"line_number":361,"absolute_offset":13391,"submatches":[{"match":{"text":"def get_formatted_text("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":396,"absolute_offset":14515,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":407,"absolute_offset":14903,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def handle_space(self) -> None:\n"},"line_number":422,"absolute_offset":15453,"submatches":[{"match":{"text":"def handle_space("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def handle_enter(self) -> None:\n"},"line_number":427,"absolute_offset":15655,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def get_cursor_info(self) -> tuple[int, int] | None:\n"},"line_number":478,"absolute_offset":17579,"submatches":[{"match":{"text":"def get_cursor_info("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def get_footer_hint(self) -> str:\n"},"line_number":485,"absolute_offset":17838,"submatches":[{"match":{"text":"def get_footer_hint("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def is_searchable(self) -> bool:\n"},"line_number":497,"absolute_offset":18493,"submatches":[{"match":{"text":"def is_searchable("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def apply_filter(self, query: str) -> None:\n"},"line_number":501,"absolute_offset":18616,"submatches":[{"match":{"text":"def apply_filter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def go_back(self) -> bool:\n"},"line_number":505,"absolute_offset":18770,"submatches":[{"match":{"text":"def go_back("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"lines":{"text":"    def is_busy(self) -> bool:\n"},"line_number":523,"absolute_offset":19514,"submatches":[{"match":{"text":"def is_busy("},"start":4,"end":16}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/discover_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":417121,"human":"0.000417s"},"searches":1,"searches_with_match":1,"bytes_searched":22620,"bytes_printed":4386,"matched_lines":13,"matches":13}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def activate(self) -> None:\n"},"line_number":80,"absolute_offset":2656,"submatches":[{"match":{"text":"def activate("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def get_formatted_text(self) -> list[tuple[str, str]]:\n"},"line_number":166,"absolute_offset":5903,"submatches":[{"match":{"text":"def get_formatted_text("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":324,"absolute_offset":13106,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":332,"absolute_offset":13458,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def can_handle_update(self) -> bool:\n"},"line_number":340,"absolute_offset":13812,"submatches":[{"match":{"text":"def can_handle_update("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def can_handle_remove(self) -> bool:\n"},"line_number":343,"absolute_offset":13875,"submatches":[{"match":{"text":"def can_handle_remove("},"start":4,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def handle_update(self) -> None:\n"},"line_number":347,"absolute_offset":14042,"submatches":[{"match":{"text":"def handle_update("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def handle_remove(self) -> None:\n"},"line_number":358,"absolute_offset":14420,"submatches":[{"match":{"text":"def handle_remove("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def handle_enter(self) -> None:\n"},"line_number":378,"absolute_offset":15134,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def go_back(self) -> bool:\n"},"line_number":443,"absolute_offset":18103,"submatches":[{"match":{"text":"def go_back("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def get_cursor_info(self) -> tuple[int, int] | None:\n"},"line_number":472,"absolute_offset":19346,"submatches":[{"match":{"text":"def get_cursor_info("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def get_footer_hint(self) -> str:\n"},"line_number":477,"absolute_offset":19508,"submatches":[{"match":{"text":"def get_footer_hint("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def is_searchable(self) -> bool:\n"},"line_number":490,"absolute_offset":20112,"submatches":[{"match":{"text":"def is_searchable("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def apply_filter(self, query: str) -> None:\n"},"line_number":493,"absolute_offset":20187,"submatches":[{"match":{"text":"def apply_filter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"lines":{"text":"    def is_busy(self) -> bool:\n"},"line_number":497,"absolute_offset":20347,"submatches":[{"match":{"text":"def is_busy("},"start":4,"end":16}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/marketplaces_tab.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":48573,"human":"0.000049s"},"searches":1,"searches_with_match":1,"bytes_searched":27331,"bytes_printed":5069,"matched_lines":15,"matches":15}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def default(cls) -> \"ConfigSnapshot\":\n"},"line_number":25,"absolute_offset":714,"submatches":[{"match":{"text":"def default("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def with_display_thinking(self, enabled: bool) -> \"ConfigSnapshot\":\n"},"line_number":28,"absolute_offset":778,"submatches":[{"match":{"text":"def with_display_thinking("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def with_model_level(self, level: ModelLevelPreset) -> \"ConfigSnapshot\":\n"},"line_number":31,"absolute_offset":906,"submatches":[{"match":{"text":"def with_model_level("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def with_memory_background(self, enabled: bool) -> \"ConfigSnapshot\":\n"},"line_number":34,"absolute_offset":1032,"submatches":[{"match":{"text":"def with_memory_background("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def with_memory_dreaming(self, enabled: bool) -> \"ConfigSnapshot\":\n"},"line_number":37,"absolute_offset":1170,"submatches":[{"match":{"text":"def with_memory_dreaming("},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def with_token_cost(self, enabled: bool) -> \"ConfigSnapshot\":\n"},"line_number":40,"absolute_offset":1304,"submatches":[{"match":{"text":"def with_token_cost("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"lines":{"text":"    def with_recap(self, enabled: bool) -> \"ConfigSnapshot\":\n"},"line_number":43,"absolute_offset":1428,"submatches":[{"match":{"text":"def with_recap("},"start":4,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/config/model.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":358436,"human":"0.000358s"},"searches":1,"searches_with_match":1,"bytes_searched":1541,"bytes_printed":2518,"matched_lines":7,"matches":7}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/file_ref_hint.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/file_ref_hint.py"},"lines":{"text":"def build_file_ref_hints(text: str, project_root: Path | None) -> list[str]:\n"},"line_number":18,"absolute_offset":615,"submatches":[{"match":{"text":"def build_file_ref_hints("},"start":0,"end":25}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/file_ref_hint.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":9491,"human":"0.000009s"},"searches":1,"searches_with_match":1,"bytes_searched":1853,"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/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":"def classify_tui_log(record: logging.LogRecord) -> TuiLogDisposition:\n"},"line_number":98,"absolute_offset":3682,"submatches":[{"match":{"text":"def classify_tui_log("},"start":0,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"    def emit(self, record: logging.LogRecord) -> None:\n"},"line_number":173,"absolute_offset":6114,"submatches":[{"match":{"text":"def emit("},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"    def filter(self, record: logging.LogRecord) -> bool:\n"},"line_number":246,"absolute_offset":8843,"submatches":[{"match":{"text":"def filter("},"start":4,"end":15}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"    def close(self) -> None:\n"},"line_number":266,"absolute_offset":9428,"submatches":[{"match":{"text":"def close("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/logging_adapter.py"},"lines":{"text":"def setup_tui_logging(\n"},"line_number":381,"absolute_offset":13198,"submatches":[{"match":{"text":"def setup_tui_logging("},"start":0,"end":22}]}}
{"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":19102,"human":"0.000019s"},"searches":1,"searches_with_match":1,"bytes_searched":16492,"bytes_printed":1725,"matched_lines":5,"matches":5}}}
{"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":"    def add_resume_history(self, mode: str) -> None:\n"},"line_number":73,"absolute_offset":2722,"submatches":[{"match":{"text":"def add_resume_history("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/history_sync.py"},"lines":{"text":"        def flush_resume_fold() -> None:\n"},"line_number":101,"absolute_offset":3837,"submatches":[{"match":{"text":"def flush_resume_fold("},"start":8,"end":30}]}}
{"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":17804,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":22128,"bytes_printed":809,"matched_lines":2,"matches":2}}}
{"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":"def write_json_error_result(\n"},"line_number":136,"absolute_offset":3882,"submatches":[{"match":{"text":"def write_json_error_result("},"start":0,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/print_mode.py"},"lines":{"text":"async def run_print_mode(\n"},"line_number":174,"absolute_offset":5333,"submatches":[{"match":{"text":"def run_print_mode("},"start":6,"end":25}]}}
{"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":16563,"human":"0.000017s"},"searches":1,"searches_with_match":1,"bytes_searched":7231,"bytes_printed":737,"matched_lines":2,"matches":2}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"},"lines":{"text":"    def from_env(\n"},"line_number":31,"absolute_offset":804,"submatches":[{"match":{"text":"def from_env("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"},"lines":{"text":"    def mark(self, phase: str) -> None:\n"},"line_number":41,"absolute_offset":1149,"submatches":[{"match":{"text":"def mark("},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"},"lines":{"text":"    def mark_at(self, phase: str, perf_value: float) -> None:\n"},"line_number":44,"absolute_offset":1239,"submatches":[{"match":{"text":"def mark_at("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"},"lines":{"text":"    def flush(self) -> None:\n"},"line_number":64,"absolute_offset":2118,"submatches":[{"match":{"text":"def flush("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"},"lines":{"text":"    def child(self, prefix: str) -> \"StartupProfiler\":\n"},"line_number":81,"absolute_offset":2643,"submatches":[{"match":{"text":"def child("},"start":4,"end":14}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/startup_profile.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":21102,"human":"0.000021s"},"searches":1,"searches_with_match":1,"bytes_searched":3204,"bytes_printed":1672,"matched_lines":5,"matches":5}}}
{"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":"def render_history_group(\n"},"line_number":240,"absolute_offset":7547,"submatches":[{"match":{"text":"def render_history_group("},"start":0,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"async def print_history_group_async(console: Console, group: Group) -> None:\n"},"line_number":573,"absolute_offset":22500,"submatches":[{"match":{"text":"def print_history_group_async("},"start":6,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/history_printer.py"},"lines":{"text":"def print_history_group_sync(console: Console, group: Group) -> None:\n"},"line_number":580,"absolute_offset":22918,"submatches":[{"match":{"text":"def print_history_group_sync("},"start":0,"end":29}]}}
{"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":42668,"human":"0.000043s"},"searches":1,"searches_with_match":1,"bytes_searched":23046,"bytes_printed":1165,"matched_lines":3,"matches":3}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/mcp_connecting_view.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/mcp_connecting_view.py"},"lines":{"text":"    def container(self) -> Window:\n"},"line_number":47,"absolute_offset":1277,"submatches":[{"match":{"text":"def container("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/mcp_connecting_view.py"},"lines":{"text":"    def focus_target(self) -> Window:\n"},"line_number":50,"absolute_offset":1349,"submatches":[{"match":{"text":"def focus_target("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/mcp_connecting_view.py"},"lines":{"text":"    def enter(\n"},"line_number":53,"absolute_offset":1424,"submatches":[{"match":{"text":"def enter("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/mcp_connecting_view.py"},"lines":{"text":"    def handle_escape(self) -> bool:\n"},"line_number":73,"absolute_offset":2008,"submatches":[{"match":{"text":"def handle_escape("},"start":4,"end":22}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/mcp_connecting_view.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":13845,"human":"0.000014s"},"searches":1,"searches_with_match":1,"bytes_searched":4852,"bytes_printed":1412,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"},"lines":{"text":"    def selected(self) -> ToolResultRecord | None:\n"},"line_number":39,"absolute_offset":1020,"submatches":[{"match":{"text":"def selected("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"},"lines":{"text":"async def run_tool_result_viewer_async(\n"},"line_number":207,"absolute_offset":6536,"submatches":[{"match":{"text":"def run_tool_result_viewer_async("},"start":6,"end":39}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tool_result_viewer.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":55803,"human":"0.000056s"},"searches":1,"searches_with_match":1,"bytes_searched":6780,"bytes_printed":795,"matched_lines":2,"matches":2}}}
{"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":"    def activate(self) -> None:\n"},"line_number":90,"absolute_offset":2795,"submatches":[{"match":{"text":"def activate("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def get_cursor_info(self) -> tuple[int, int] | None:\n"},"line_number":181,"absolute_offset":6049,"submatches":[{"match":{"text":"def get_cursor_info("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def get_footer_hint(self) -> str:\n"},"line_number":186,"absolute_offset":6227,"submatches":[{"match":{"text":"def get_footer_hint("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def is_searchable(self) -> bool:\n"},"line_number":197,"absolute_offset":6769,"submatches":[{"match":{"text":"def is_searchable("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def apply_filter(self, query: str) -> None:\n"},"line_number":200,"absolute_offset":6844,"submatches":[{"match":{"text":"def apply_filter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def get_formatted_text(self) -> list[tuple[str, str]]:\n"},"line_number":217,"absolute_offset":7474,"submatches":[{"match":{"text":"def get_formatted_text("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def handle_up(self) -> None:\n"},"line_number":363,"absolute_offset":13736,"submatches":[{"match":{"text":"def handle_up("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def handle_down(self) -> None:\n"},"line_number":373,"absolute_offset":14140,"submatches":[{"match":{"text":"def handle_down("},"start":4,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def handle_space(self) -> None:\n"},"line_number":387,"absolute_offset":14706,"submatches":[{"match":{"text":"def handle_space("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def handle_enter(self) -> None:\n"},"line_number":390,"absolute_offset":14803,"submatches":[{"match":{"text":"def handle_enter("},"start":4,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def handle_uninstall(self) -> None:\n"},"line_number":442,"absolute_offset":16838,"submatches":[{"match":{"text":"def handle_uninstall("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def handle_update(self) -> None:\n"},"line_number":454,"absolute_offset":17292,"submatches":[{"match":{"text":"def handle_update("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def go_back(self) -> bool:\n"},"line_number":464,"absolute_offset":17613,"submatches":[{"match":{"text":"def go_back("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/tabs/installed_tab.py"},"lines":{"text":"    def is_busy(self) -> bool:\n"},"line_number":534,"absolute_offset":20257,"submatches":[{"match":{"text":"def is_busy("},"start":4,"end":16}]}}
{"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":43209,"human":"0.000043s"},"searches":1,"searches_with_match":1,"bytes_searched":29068,"bytes_printed":4682,"matched_lines":14,"matches":14}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/search_box.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/search_box.py"},"lines":{"text":"    def text(self) -> str:\n"},"line_number":32,"absolute_offset":810,"submatches":[{"match":{"text":"def text("},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/search_box.py"},"lines":{"text":"    def text(self, value: str) -> None:\n"},"line_number":36,"absolute_offset":891,"submatches":[{"match":{"text":"def text("},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/search_box.py"},"lines":{"text":"    def text_area(self) -> TextArea:\n"},"line_number":40,"absolute_offset":983,"submatches":[{"match":{"text":"def text_area("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/search_box.py"},"lines":{"text":"    def clear(self) -> None:\n"},"line_number":44,"absolute_offset":1111,"submatches":[{"match":{"text":"def clear("},"start":4,"end":14}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/search_box.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":11576,"human":"0.000012s"},"searches":1,"searches_with_match":1,"bytes_searched":1341,"bytes_printed":1400,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"    def slash_name(self) -> str:\n"},"line_number":28,"absolute_offset":618,"submatches":[{"match":{"text":"def slash_name("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"def parse_slash_command_call(user_input: str) -> _SlashCommandCall | None:\n"},"line_number":41,"absolute_offset":882,"submatches":[{"match":{"text":"def parse_slash_command_call("},"start":0,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"    def update_commands(self, commands: tuple[SlashCommandSpec, ...]) -> None:\n"},"line_number":186,"absolute_offset":5436,"submatches":[{"match":{"text":"def update_commands("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"    def get_completions(self, document: Document, complete_event):\n"},"line_number":215,"absolute_offset":6522,"submatches":[{"match":{"text":"def get_completions("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"lines":{"text":"    def get_suggestion(self, _buffer, document: Document) -> Suggestion | None:\n"},"line_number":265,"absolute_offset":8144,"submatches":[{"match":{"text":"def get_suggestion("},"start":4,"end":23}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/slash_commands.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":39868,"human":"0.000040s"},"searches":1,"searches_with_match":1,"bytes_searched":8879,"bytes_printed":1845,"matched_lines":5,"matches":5}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def items(self) -> list[dict]:\n"},"line_number":30,"absolute_offset":680,"submatches":[{"match":{"text":"def items("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def items(self, value: list[dict]) -> None:\n"},"line_number":34,"absolute_offset":761,"submatches":[{"match":{"text":"def items("},"start":4,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def selected_index(self) -> int:\n"},"line_number":40,"absolute_offset":945,"submatches":[{"match":{"text":"def selected_index("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def selected_items(self) -> set[int]:\n"},"line_number":44,"absolute_offset":1033,"submatches":[{"match":{"text":"def selected_items("},"start":4,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def move_down(self) -> None:\n"},"line_number":47,"absolute_offset":1112,"submatches":[{"match":{"text":"def move_down("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def move_up(self) -> None:\n"},"line_number":52,"absolute_offset":1293,"submatches":[{"match":{"text":"def move_up("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def toggle_select(self) -> None:\n"},"line_number":57,"absolute_offset":1472,"submatches":[{"match":{"text":"def toggle_select("},"start":4,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def get_selected_items(self) -> list[dict]:\n"},"line_number":67,"absolute_offset":1782,"submatches":[{"match":{"text":"def get_selected_items("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def get_current_item(self) -> dict | None:\n"},"line_number":71,"absolute_offset":1979,"submatches":[{"match":{"text":"def get_current_item("},"start":4,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"lines":{"text":"    def get_formatted_text(\n"},"line_number":77,"absolute_offset":2178,"submatches":[{"match":{"text":"def get_formatted_text("},"start":4,"end":27}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/plugin_list.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":52995,"human":"0.000053s"},"searches":1,"searches_with_match":1,"bytes_searched":5244,"bytes_printed":3405,"matched_lines":10,"matches":10}}}
{"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":"        def on_confirm(value: str) -> None:\n"},"line_number":433,"absolute_offset":15534,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":440,"absolute_offset":15742,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(value: str) -> None:\n"},"line_number":671,"absolute_offset":24943,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":687,"absolute_offset":25550,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(value: str) -> None:\n"},"line_number":854,"absolute_offset":31245,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":882,"absolute_offset":32291,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        async def toggle_and_reload() -> bool:\n"},"line_number":926,"absolute_offset":33867,"submatches":[{"match":{"text":"def toggle_and_reload("},"start":14,"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":"        def on_done(success: bool, error_message: str) -> None:\n"},"line_number":949,"absolute_offset":34753,"submatches":[{"match":{"text":"def on_done("},"start":8,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_done(success: bool, error_message: str) -> None:\n"},"line_number":1008,"absolute_offset":37073,"submatches":[{"match":{"text":"def on_done("},"start":8,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(value: str) -> None:\n"},"line_number":1104,"absolute_offset":40418,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":1124,"absolute_offset":41157,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(_value: str) -> None:\n"},"line_number":1215,"absolute_offset":43823,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":1224,"absolute_offset":44124,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(value: str) -> None:\n"},"line_number":1784,"absolute_offset":66122,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":1789,"absolute_offset":66286,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(value: str) -> None:\n"},"line_number":1836,"absolute_offset":67843,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":1850,"absolute_offset":68380,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_confirm(mode_value: str) -> None:\n"},"line_number":1922,"absolute_offset":70897,"submatches":[{"match":{"text":"def on_confirm("},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"        def on_cancel() -> None:\n"},"line_number":1930,"absolute_offset":71162,"submatches":[{"match":{"text":"def on_cancel("},"start":8,"end":22}]}}
{"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":71036,"human":"0.000071s"},"searches":1,"searches_with_match":1,"bytes_searched":82076,"bytes_printed":6168,"matched_lines":19,"matches":19}}}
{"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":"def format_error(exc: Exception) -> tuple[str, str, str]:\n"},"line_number":8,"absolute_offset":111,"submatches":[{"match":{"text":"def format_error("},"start":0,"end":17}]}}
{"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":6830,"human":"0.000007s"},"searches":1,"searches_with_match":1,"bytes_searched":3558,"bytes_printed":462,"matched_lines":1,"matches":1}}}
{"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":"def default_updates_dir() -> Path:\n"},"line_number":92,"absolute_offset":2735,"submatches":[{"match":{"text":"def default_updates_dir("},"start":0,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"def result_path(package: str, *, updates_dir: Path | None = None) -> Path:\n"},"line_number":100,"absolute_offset":2899,"submatches":[{"match":{"text":"def result_path("},"start":0,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"def build_updater_script(\n"},"line_number":117,"absolute_offset":3404,"submatches":[{"match":{"text":"def build_updater_script("},"start":0,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"def spawn_detached_updater(\n"},"line_number":150,"absolute_offset":4598,"submatches":[{"match":{"text":"def spawn_detached_updater("},"start":0,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"def consume_update_result(\n"},"line_number":197,"absolute_offset":6070,"submatches":[{"match":{"text":"def consume_update_result("},"start":0,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/windows_updater.py"},"lines":{"text":"def format_update_result_message(\n"},"line_number":234,"absolute_offset":7298,"submatches":[{"match":{"text":"def format_update_result_message("},"start":0,"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":21297,"human":"0.000021s"},"searches":1,"searches_with_match":1,"bytes_searched":8100,"bytes_printed":2049,"matched_lines":6,"matches":6}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def default(cls) -> StatuslineConfig:\n"},"line_number":24,"absolute_offset":658,"submatches":[{"match":{"text":"def default("},"start":4,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_model_name(self, v: bool) -> StatuslineConfig:\n"},"line_number":29,"absolute_offset":773,"submatches":[{"match":{"text":"def with_show_model_name("},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_git_branch(self, v: bool) -> StatuslineConfig:\n"},"line_number":32,"absolute_offset":887,"submatches":[{"match":{"text":"def with_show_git_branch("},"start":4,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_context_left(self, v: bool) -> StatuslineConfig:\n"},"line_number":35,"absolute_offset":1001,"submatches":[{"match":{"text":"def with_show_context_left("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_token_usage(self, v: bool) -> StatuslineConfig:\n"},"line_number":38,"absolute_offset":1119,"submatches":[{"match":{"text":"def with_show_token_usage("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_token_input(self, v: bool) -> StatuslineConfig:\n"},"line_number":41,"absolute_offset":1235,"submatches":[{"match":{"text":"def with_show_token_input("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_token_output(self, v: bool) -> StatuslineConfig:\n"},"line_number":44,"absolute_offset":1351,"submatches":[{"match":{"text":"def with_show_token_output("},"start":4,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_project_cwd(self, v: bool) -> StatuslineConfig:\n"},"line_number":47,"absolute_offset":1469,"submatches":[{"match":{"text":"def with_show_project_cwd("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_llm_level(self, v: bool) -> StatuslineConfig:\n"},"line_number":50,"absolute_offset":1585,"submatches":[{"match":{"text":"def with_show_llm_level("},"start":4,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_turn_number(self, v: bool) -> StatuslineConfig:\n"},"line_number":53,"absolute_offset":1697,"submatches":[{"match":{"text":"def with_show_turn_number("},"start":4,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_git_diff(self, v: bool) -> StatuslineConfig:\n"},"line_number":56,"absolute_offset":1813,"submatches":[{"match":{"text":"def with_show_git_diff("},"start":4,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"lines":{"text":"    def with_show_session_cost(self, v: bool) -> StatuslineConfig:\n"},"line_number":59,"absolute_offset":1923,"submatches":[{"match":{"text":"def with_show_session_cost("},"start":4,"end":31}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/statusline/model.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":44567,"human":"0.000045s"},"searches":1,"searches_with_match":1,"bytes_searched":2040,"bytes_printed":4266,"matched_lines":12,"matches":12}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"},"lines":{"text":"    async def run(self) -> _PreflightWizardFlowResult:\n"},"line_number":204,"absolute_offset":6860,"submatches":[{"match":{"text":"def run("},"start":10,"end":18}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/preflight_wizard.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":15992,"human":"0.000016s"},"searches":1,"searches_with_match":1,"bytes_searched":22365,"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/fragment_utils.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/fragment_utils.py"},"lines":{"text":"def clip_fragments(\n"},"line_number":6,"absolute_offset":66,"submatches":[{"match":{"text":"def clip_fragments("},"start":0,"end":19}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/fragment_utils.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":5633,"human":"0.000006s"},"searches":1,"searches_with_match":1,"bytes_searched":570,"bytes_printed":427,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def active_tab(self) -> int:\n"},"line_number":25,"absolute_offset":597,"submatches":[{"match":{"text":"def active_tab("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def active_tab(self, value: int) -> None:\n"},"line_number":29,"absolute_offset":686,"submatches":[{"match":{"text":"def active_tab("},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def active_tab_name(self) -> str:\n"},"line_number":34,"absolute_offset":825,"submatches":[{"match":{"text":"def active_tab_name("},"start":4,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def next_tab(self) -> None:\n"},"line_number":39,"absolute_offset":957,"submatches":[{"match":{"text":"def next_tab("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def prev_tab(self) -> None:\n"},"line_number":44,"absolute_offset":1139,"submatches":[{"match":{"text":"def prev_tab("},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def set_badge(self, tab_name: str, count: int) -> None:\n"},"line_number":49,"absolute_offset":1321,"submatches":[{"match":{"text":"def set_badge("},"start":4,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"lines":{"text":"    def get_formatted_text(self) -> list[tuple[str, str]]:\n"},"line_number":56,"absolute_offset":1570,"submatches":[{"match":{"text":"def get_formatted_text("},"start":4,"end":27}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/plugins/components/tab_bar.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":17561,"human":"0.000018s"},"searches":1,"searches_with_match":1,"bytes_searched":2496,"bytes_printed":2420,"matched_lines":7,"matches":7}}}
