{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"from prompt_toolkit.filters import Condition, has_completions, has_focus\n"},"line_number":6,"absolute_offset":64,"submatches":[{"match":{"text":"filter"},"start":20,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"    def _sync_local_interactive_ui_barrier(self) -> None:\n"},"line_number":20,"absolute_offset":565,"submatches":[{"match":{"text":"barrier"},"start":35,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        self._sync_local_interactive_ui_barrier()\n"},"line_number":25,"absolute_offset":718,"submatches":[{"match":{"text":"barrier"},"start":40,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        # 中断 epoch 无条件递增：_send_busy_message 用它识别\n"},"line_number":114,"absolute_offset":4298,"submatches":[{"match":{"text":"_busy"},"start":46,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        question_mode = _mode_condition(UIMode.QUESTION)\n"},"line_number":151,"absolute_offset":6002,"submatches":[{"match":{"text":"question"},"start":8,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        tool_approval_mode = _mode_condition(UIMode.TOOL_APPROVAL)\n"},"line_number":153,"absolute_offset":6118,"submatches":[{"match":{"text":"approval"},"start":13,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        tool_approval_feedback_focused = Condition(\n"},"line_number":157,"absolute_offset":6303,"submatches":[{"match":{"text":"approval"},"start":13,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            lambda: self._approval_feedback_focused()\n"},"line_number":158,"absolute_offset":6355,"submatches":[{"match":{"text":"approval"},"start":26,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"enter\", filter=selection_mode)\n"},"line_number":175,"absolute_offset":7236,"submatches":[{"match":{"text":"filter"},"start":31,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"up\", filter=selection_mode)\n"},"line_number":182,"absolute_offset":7489,"submatches":[{"match":{"text":"filter"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"down\", filter=selection_mode)\n"},"line_number":188,"absolute_offset":7686,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"k\", filter=selection_mode)\n"},"line_number":194,"absolute_offset":7886,"submatches":[{"match":{"text":"filter"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"j\", filter=selection_mode)\n"},"line_number":200,"absolute_offset":8081,"submatches":[{"match":{"text":"filter"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=selection_mode)\n"},"line_number":206,"absolute_offset":8275,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":215,"absolute_offset":8573,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_enter(event) -> None:\n"},"line_number":218,"absolute_offset":8680,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._handle_tool_approval_action(self._tool_approval_view.confirm())\n"},"line_number":220,"absolute_offset":8751,"submatches":[{"match":{"text":"approval"},"start":30,"end":38},{"match":{"text":"approval"},"start":57,"end":65}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & tool_approval_feedback_focused,\n"},"line_number":226,"absolute_offset":8949,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":45,"end":53}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_feedback_enter(event) -> None:\n"},"line_number":229,"absolute_offset":9055,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._handle_tool_approval_action(\n"},"line_number":231,"absolute_offset":9135,"submatches":[{"match":{"text":"approval"},"start":30,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"                self._tool_approval_view.submit_feedback()\n"},"line_number":232,"absolute_offset":9182,"submatches":[{"match":{"text":"approval"},"start":27,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":239,"absolute_offset":9368,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_up(event) -> None:\n"},"line_number":242,"absolute_offset":9475,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._tool_approval_view.move_selection(-1)\n"},"line_number":244,"absolute_offset":9543,"submatches":[{"match":{"text":"approval"},"start":23,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":249,"absolute_offset":9674,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_down(event) -> None:\n"},"line_number":252,"absolute_offset":9781,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._tool_approval_view.move_selection(1)\n"},"line_number":254,"absolute_offset":9851,"submatches":[{"match":{"text":"approval"},"start":23,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":259,"absolute_offset":9978,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_k(event) -> None:\n"},"line_number":262,"absolute_offset":10085,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._tool_approval_view.move_selection(-1)\n"},"line_number":264,"absolute_offset":10152,"submatches":[{"match":{"text":"approval"},"start":23,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":269,"absolute_offset":10280,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_j(event) -> None:\n"},"line_number":272,"absolute_offset":10387,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._tool_approval_view.move_selection(1)\n"},"line_number":274,"absolute_offset":10454,"submatches":[{"match":{"text":"approval"},"start":23,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_pick_digit(number: int) -> None:\n"},"line_number":277,"absolute_offset":10541,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            action = self._tool_approval_view.confirm_index(number)\n"},"line_number":278,"absolute_offset":10601,"submatches":[{"match":{"text":"approval"},"start":32,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._handle_tool_approval_action(action)\n"},"line_number":279,"absolute_offset":10669,"submatches":[{"match":{"text":"approval"},"start":30,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":285,"absolute_offset":10835,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_digit_1(event) -> None:\n"},"line_number":288,"absolute_offset":10942,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            _tool_approval_pick_digit(1)\n"},"line_number":290,"absolute_offset":11015,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":294,"absolute_offset":11097,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_digit_2(event) -> None:\n"},"line_number":297,"absolute_offset":11204,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            _tool_approval_pick_digit(2)\n"},"line_number":299,"absolute_offset":11277,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":303,"absolute_offset":11359,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_digit_3(event) -> None:\n"},"line_number":306,"absolute_offset":11466,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            _tool_approval_pick_digit(3)\n"},"line_number":308,"absolute_offset":11539,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":312,"absolute_offset":11621,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_digit_4(event) -> None:\n"},"line_number":315,"absolute_offset":11728,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            _tool_approval_pick_digit(4)\n"},"line_number":317,"absolute_offset":11801,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"tab\", filter=tool_approval_mode, eager=True)\n"},"line_number":319,"absolute_offset":11843,"submatches":[{"match":{"text":"filter"},"start":29,"end":35},{"match":{"text":"approval"},"start":41,"end":49}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_tab(event) -> None:\n"},"line_number":320,"absolute_offset":11911,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._tool_approval_view.activate_feedback()\n"},"line_number":322,"absolute_offset":11980,"submatches":[{"match":{"text":"approval"},"start":23,"end":31}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=tool_approval_mode, eager=True)\n"},"line_number":326,"absolute_offset":12109,"submatches":[{"match":{"text":"filter"},"start":32,"end":38},{"match":{"text":"approval"},"start":44,"end":52}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_escape(event) -> None:\n"},"line_number":327,"absolute_offset":12180,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            self._handle_tool_approval_action(self._tool_approval_view.cancel())\n"},"line_number":329,"absolute_offset":12252,"submatches":[{"match":{"text":"approval"},"start":30,"end":38},{"match":{"text":"approval"},"start":57,"end":65}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=tool_approval_mode & ~tool_approval_feedback_focused,\n"},"line_number":335,"absolute_offset":12449,"submatches":[{"match":{"text":"filter"},"start":12,"end":18},{"match":{"text":"approval"},"start":24,"end":32},{"match":{"text":"approval"},"start":46,"end":54}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        def _tool_approval_cycle_mode(event) -> None:\n"},"line_number":338,"absolute_offset":12556,"submatches":[{"match":{"text":"approval"},"start":18,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"enter\", filter=exit_guard_active, eager=True)\n"},"line_number":342,"absolute_offset":12670,"submatches":[{"match":{"text":"filter"},"start":31,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"up\", filter=exit_guard_active, eager=True)\n"},"line_number":348,"absolute_offset":12921,"submatches":[{"match":{"text":"filter"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"down\", filter=exit_guard_active, eager=True)\n"},"line_number":354,"absolute_offset":13141,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"k\", filter=exit_guard_active, eager=True)\n"},"line_number":360,"absolute_offset":13364,"submatches":[{"match":{"text":"filter"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"j\", filter=exit_guard_active, eager=True)\n"},"line_number":366,"absolute_offset":13582,"submatches":[{"match":{"text":"filter"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"1\", filter=exit_guard_active, eager=True)\n"},"line_number":372,"absolute_offset":13799,"submatches":[{"match":{"text":"filter"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"2\", filter=exit_guard_active, eager=True)\n"},"line_number":380,"absolute_offset":14085,"submatches":[{"match":{"text":"filter"},"start":27,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=exit_guard_active, eager=True)\n"},"line_number":388,"absolute_offset":14371,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"enter\", filter=plugin_mode, eager=True)\n"},"line_number":394,"absolute_offset":14613,"submatches":[{"match":{"text":"filter"},"start":31,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & ~has_focus(self._plugin_ui.search_area_window),\n"},"line_number":404,"absolute_offset":14952,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & ~has_focus(self._plugin_ui.search_area_window),\n"},"line_number":414,"absolute_offset":15243,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & ~has_focus(self._plugin_ui.search_area_window),\n"},"line_number":424,"absolute_offset":15539,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode\n"},"line_number":434,"absolute_offset":15833,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode\n"},"line_number":446,"absolute_offset":16177,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=plugin_mode)\n"},"line_number":456,"absolute_offset":16481,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & ~has_focus(self._plugin_ui.search_area_window),\n"},"line_number":466,"absolute_offset":16812,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & ~has_focus(self._plugin_ui.search_area_window),\n"},"line_number":477,"absolute_offset":17146,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & has_focus(self._plugin_ui.search_area_window),\n"},"line_number":489,"absolute_offset":17562,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & has_focus(self._plugin_ui.search_area_window),\n"},"line_number":499,"absolute_offset":17905,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"            filter=plugin_mode & has_focus(self._plugin_ui.content_window),\n"},"line_number":510,"absolute_offset":18328,"submatches":[{"match":{"text":"filter"},"start":12,"end":18}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"enter\", filter=install_mode, eager=True)\n"},"line_number":522,"absolute_offset":18807,"submatches":[{"match":{"text":"filter"},"start":31,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=install_mode)\n"},"line_number":530,"absolute_offset":19100,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=mcp_connecting_mode)\n"},"line_number":538,"absolute_offset":19384,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=btw_mode)\n"},"line_number":547,"absolute_offset":19740,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"up\", filter=btw_mode)\n"},"line_number":557,"absolute_offset":20102,"submatches":[{"match":{"text":"filter"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"down\", filter=btw_mode)\n"},"line_number":563,"absolute_offset":20283,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"pageup\", filter=btw_mode)\n"},"line_number":569,"absolute_offset":20470,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"c-u\", filter=btw_mode)\n"},"line_number":570,"absolute_offset":20519,"submatches":[{"match":{"text":"filter"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"pagedown\", filter=btw_mode)\n"},"line_number":576,"absolute_offset":20711,"submatches":[{"match":{"text":"filter"},"start":34,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"c-d\", filter=btw_mode)\n"},"line_number":577,"absolute_offset":20762,"submatches":[{"match":{"text":"filter"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"home\", filter=btw_mode)\n"},"line_number":583,"absolute_offset":20958,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"end\", filter=btw_mode)\n"},"line_number":589,"absolute_offset":21145,"submatches":[{"match":{"text":"filter"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"up\", filter=config_mode, eager=True)\n"},"line_number":596,"absolute_offset":21374,"submatches":[{"match":{"text":"filter"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"down\", filter=config_mode, eager=True)\n"},"line_number":602,"absolute_offset":21567,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"tab\", filter=config_mode, eager=True)\n"},"line_number":608,"absolute_offset":21766,"submatches":[{"match":{"text":"filter"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"enter\", filter=config_mode, eager=True)\n"},"line_number":614,"absolute_offset":21962,"submatches":[{"match":{"text":"filter"},"start":31,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=config_mode)\n"},"line_number":620,"absolute_offset":22164,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"c-s\", filter=config_mode)\n"},"line_number":628,"absolute_offset":22448,"submatches":[{"match":{"text":"filter"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"up\", filter=statusline_mode, eager=True)\n"},"line_number":637,"absolute_offset":22778,"submatches":[{"match":{"text":"filter"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"down\", filter=statusline_mode, eager=True)\n"},"line_number":643,"absolute_offset":22983,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"space\", filter=statusline_mode, eager=True)\n"},"line_number":649,"absolute_offset":23194,"submatches":[{"match":{"text":"filter"},"start":31,"end":37}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"escape\", filter=statusline_mode)\n"},"line_number":655,"absolute_offset":23408,"submatches":[{"match":{"text":"filter"},"start":32,"end":38}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"c-s\", filter=statusline_mode)\n"},"line_number":663,"absolute_offset":23708,"submatches":[{"match":{"text":"filter"},"start":29,"end":35}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"up\", filter=goal_resume_mode, eager=True)\n"},"line_number":672,"absolute_offset":24055,"submatches":[{"match":{"text":"filter"},"start":28,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"lines":{"text":"        @bindings.add(\"down\", filter=goal_resume_mode, eager=True)\n"},"line_number":678,"absolute_offset":24263,"submatches":[{"match":{"text":"filter"},"start":30,"end":36}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/key_bindings.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":342079,"human":"0.000342s"},"searches":1,"searches_with_match":1,"bytes_searched":24330,"bytes_printed":34949,"matched_lines":101,"matches":127}}}
{"data":{"elapsed_total":{"human":"0.001442s","nanos":1442301,"secs":0},"stats":{"bytes_printed":34949,"bytes_searched":24330,"elapsed":{"human":"0.000342s","nanos":342079,"secs":0},"matched_lines":101,"matches":127,"searches":1,"searches_with_match":1}},"type":"summary"}
