{"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 __init__(\n"},"line_number":191,"absolute_offset":6645,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _sync_local_interactive_ui_barrier(self) -> None:\n"},"line_number":783,"absolute_offset":33160,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _set_ui_mode(self, mode: UIMode) -> None:\n"},"line_number":793,"absolute_offset":33647,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _is_idle_recap_ready(self) -> bool:\n"},"line_number":802,"absolute_offset":34067,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _cancel_idle_recap_for_input_activity(self) -> None:\n"},"line_number":815,"absolute_offset":34451,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _maybe_arm_idle_recap_after_stop(self, stop_reason: str | None) -> None:\n"},"line_number":822,"absolute_offset":34749,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _on_input_text_changed(self, _buffer) -> None:\n"},"line_number":839,"absolute_offset":35403,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _open_goal_resume_prompt_if_available(self) -> bool:\n"},"line_number":863,"absolute_offset":36300,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _handle_goal_resume_action(self, action: GoalResumeAction) -> None:\n"},"line_number":877,"absolute_offset":36798,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _apply_goal_resume_action(self, action: GoalResumeAction) -> None:\n"},"line_number":887,"absolute_offset":37231,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _bind_team_message_callback(self, session: ChatSession) -> None:\n"},"line_number":922,"absolute_offset":38560,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _unbind_team_message_callback(session: ChatSession) -> None:\n"},"line_number":968,"absolute_offset":40357,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _should_show_queue_panel(self) -> bool:\n"},"line_number":971,"absolute_offset":40491,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _should_show_staging_panel(self) -> bool:\n"},"line_number":974,"absolute_offset":40626,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _build_slash_registry(self) -> None:\n"},"line_number":983,"absolute_offset":40888,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _load_custom_slash_commands(self) -> None:\n"},"line_number":1035,"absolute_offset":42772,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _sync_skill_slash_commands(self) -> None:\n"},"line_number":1081,"absolute_offset":44742,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _resolve_slash_spec(self, name: str) -> SlashCommandSpec | None:\n"},"line_number":1131,"absolute_offset":46705,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _create_input_history(self) -> FileHistory | InMemoryHistory:\n"},"line_number":1137,"absolute_offset":46906,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _input_placeholder_hint(self) -> str | None:\n"},"line_number":1156,"absolute_offset":47834,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _format_run_elapsed(seconds: float) -> str:\n"},"line_number":1198,"absolute_offset":49110,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _format_scheduled_fire_time() -> str:\n"},"line_number":1209,"absolute_offset":49484,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _append_run_elapsed_to_history(self, *, stop_reason: str | None = None) -> None:\n"},"line_number":1218,"absolute_offset":49932,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _should_external_turn_start_busy(\n"},"line_number":1232,"absolute_offset":50603,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _set_busy(self, value: bool) -> None:\n"},"line_number":1239,"absolute_offset":50897,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _start_materialized_work_busy(\n"},"line_number":1256,"absolute_offset":51588,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _begin_queued_admission_busy(self) -> bool:\n"},"line_number":1279,"absolute_offset":52559,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _clear_queued_admission_busy_if_stale(self) -> bool:\n"},"line_number":1299,"absolute_offset":53353,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _enter_staging(\n"},"line_number":1314,"absolute_offset":53964,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _recall_latest_turn_after_interrupt(self) -> bool:\n"},"line_number":1349,"absolute_offset":55294,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _flush_staging_to_scrollback(self) -> bool:\n"},"line_number":1386,"absolute_offset":56678,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _maybe_flush_staging_to_scrollback_for_event(self, event: object) -> bool:\n"},"line_number":1399,"absolute_offset":57142,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _commit_staging(self) -> bool:\n"},"line_number":1425,"absolute_offset":57871,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _queue_staged_busy_message(self, payload: _StagedMessagePayload) -> None:\n"},"line_number":1456,"absolute_offset":59126,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _commit_expired_staging(self, *, now: float | None = None) -> bool:\n"},"line_number":1467,"absolute_offset":59632,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _recall_staging(self) -> bool:\n"},"line_number":1475,"absolute_offset":59977,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _handle_error(self, exc: Exception) -> None:\n"},"line_number":1506,"absolute_offset":61147,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _refresh_status_bar_safely(self, *, reason: str) -> None:\n"},"line_number":1526,"absolute_offset":62104,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _submit_user_message(\n"},"line_number":1548,"absolute_offset":62847,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    async def _consume_event_stream(self) -> None:\n"},"line_number":1610,"absolute_offset":65125,"submatches":[{"match":{"text":"    async def "},"start":0,"end":14}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _open_plan_approval_menu(self, approval: dict[str, str]) -> None:\n"},"line_number":1820,"absolute_offset":76127,"submatches":[{"match":{"text":"    def "},"start":0,"end":8}]}}
{"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":410519,"human":"0.000411s"},"searches":1,"searches_with_match":1,"bytes_searched":76201,"bytes_printed":12884,"matched_lines":41,"matches":41}}}
{"data":{"elapsed_total":{"human":"0.001692s","nanos":1692122,"secs":0},"stats":{"bytes_printed":12884,"bytes_searched":76201,"elapsed":{"human":"0.000411s","nanos":410519,"secs":0},"matched_lines":41,"matches":41,"searches":1,"searches_with_match":1}},"type":"summary"}
