{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        # bypassPermissions for unattended embeddings, while CLI starts safe.\n"},"line_number":455,"absolute_offset":14352,"submatches":[{"match":{"text":"bypassPermissions"},"start":10,"end":27}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        permission_mode=\"bypassPermissions\" if yolo else \"default\",\n"},"line_number":456,"absolute_offset":14430,"submatches":[{"match":{"text":"permission_mode"},"start":8,"end":23},{"match":{"text":"bypassPermissions"},"start":25,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"            \"set permission_mode per session via session.open[/]\"\n"},"line_number":764,"absolute_offset":25364,"submatches":[{"match":{"text":"permission_mode"},"start":17,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    get_permission_mode = getattr(session, \"get_permission_mode\", None)\n"},"line_number":847,"absolute_offset":28542,"submatches":[{"match":{"text":"permission_mode"},"start":8,"end":23},{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        get_permission_mode() if callable(get_permission_mode) else session.get_mode()\n"},"line_number":849,"absolute_offset":28639,"submatches":[{"match":{"text":"permission_mode"},"start":12,"end":27},{"match":{"text":"permission_mode"},"start":46,"end":61}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":132357,"human":"0.000132s"},"searches":1,"searches_with_match":1,"bytes_searched":31750,"bytes_printed":1971,"matched_lines":5,"matches":8}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            self._status_bar.set_mode(self._current_permission_mode())\n"},"line_number":218,"absolute_offset":7507,"submatches":[{"match":{"text":"permission_mode"},"start":52,"end":67}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"    def _current_permission_mode(self) -> str:\n"},"line_number":749,"absolute_offset":30621,"submatches":[{"match":{"text":"permission_mode"},"start":17,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        get_permission_mode = getattr(self._session, \"get_permission_mode\", None)\n"},"line_number":750,"absolute_offset":30668,"submatches":[{"match":{"text":"permission_mode"},"start":12,"end":27},{"match":{"text":"permission_mode"},"start":58,"end":73}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"        if callable(get_permission_mode):\n"},"line_number":751,"absolute_offset":30750,"submatches":[{"match":{"text":"permission_mode"},"start":24,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            return str(get_permission_mode())\n"},"line_number":752,"absolute_offset":30792,"submatches":[{"match":{"text":"permission_mode"},"start":27,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            self._status_bar.set_mode(self._current_permission_mode())\n"},"line_number":1946,"absolute_offset":79466,"submatches":[{"match":{"text":"permission_mode"},"start":52,"end":67}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"lines":{"text":"            self._status_bar.set_mode(self._current_permission_mode())\n"},"line_number":1961,"absolute_offset":80021,"submatches":[{"match":{"text":"permission_mode"},"start":52,"end":67}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":272889,"human":"0.000273s"},"searches":1,"searches_with_match":1,"bytes_searched":112026,"bytes_printed":2427,"matched_lines":7,"matches":8}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    \"act\": \"bypassPermissions\",\n"},"line_number":22,"absolute_offset":492,"submatches":[{"match":{"text":"bypassPermissions"},"start":12,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"    \"bypasspermissions\": \"bypassPermissions\",\n"},"line_number":26,"absolute_offset":604,"submatches":[{"match":{"text":"bypassPermissions"},"start":26,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"        return _MODE_ALIASES.get(text.lower(), text or \"bypassPermissions\")\n"},"line_number":133,"absolute_offset":4775,"submatches":[{"match":{"text":"bypassPermissions"},"start":56,"end":73}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"        get_permission_mode = getattr(session, \"get_permission_mode\", None)\n"},"line_number":137,"absolute_offset":4934,"submatches":[{"match":{"text":"permission_mode"},"start":12,"end":27},{"match":{"text":"permission_mode"},"start":52,"end":67}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"        if callable(get_permission_mode):\n"},"line_number":138,"absolute_offset":5010,"submatches":[{"match":{"text":"permission_mode"},"start":24,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"            return cls._normalize_display_mode(get_permission_mode())\n"},"line_number":139,"absolute_offset":5052,"submatches":[{"match":{"text":"permission_mode"},"start":51,"end":66}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"lines":{"text":"            self._mode = \"bypassPermissions\"\n"},"line_number":157,"absolute_offset":5816,"submatches":[{"match":{"text":"bypassPermissions"},"start":26,"end":43}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/status_bar.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":153637,"human":"0.000154s"},"searches":1,"searches_with_match":1,"bytes_searched":25483,"bytes_printed":2448,"matched_lines":7,"matches":8}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"    \"bypassPermissions\",\n"},"line_number":11,"absolute_offset":203,"submatches":[{"match":{"text":"bypassPermissions"},"start":5,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"    {\"cwd\", \"session_id\", \"permission_mode\", \"include_partial_messages\"}\n"},"line_number":15,"absolute_offset":258,"submatches":[{"match":{"text":"permission_mode"},"start":27,"end":42}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"    permission_mode: str\n"},"line_number":27,"absolute_offset":493,"submatches":[{"match":{"text":"permission_mode"},"start":4,"end":19}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"    mode_raw = raw.get(\"permission_mode\")\n"},"line_number":58,"absolute_offset":1508,"submatches":[{"match":{"text":"permission_mode"},"start":24,"end":39}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"        permission_mode = \"default\"\n"},"line_number":60,"absolute_offset":1575,"submatches":[{"match":{"text":"permission_mode"},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"        permission_mode = mode_raw\n"},"line_number":62,"absolute_offset":1680,"submatches":[{"match":{"text":"permission_mode"},"start":8,"end":23}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"            f\"permission_mode must be one of {list(PERMISSION_MODES)}\"\n"},"line_number":65,"absolute_offset":1756,"submatches":[{"match":{"text":"permission_mode"},"start":14,"end":29}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"lines":{"text":"        permission_mode=permission_mode,\n"},"line_number":79,"absolute_offset":2230,"submatches":[{"match":{"text":"permission_mode"},"start":8,"end":23},{"match":{"text":"permission_mode"},"start":24,"end":39}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/options.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":82586,"human":"0.000083s"},"searches":1,"searches_with_match":1,"bytes_searched":2336,"bytes_printed":2667,"matched_lines":8,"matches":9}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"},"lines":{"text":"        \"set_permission_mode\": True,\n"},"line_number":59,"absolute_offset":1498,"submatches":[{"match":{"text":"permission_mode"},"start":13,"end":28}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"},"lines":{"text":"            \"session.setPermissionMode\": self._handle_set_permission_mode,\n"},"line_number":322,"absolute_offset":10242,"submatches":[{"match":{"text":"permission_mode"},"start":58,"end":73}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"},"lines":{"text":"            \"permission_mode\": rpc_session.chat_session.get_permission_mode(),\n"},"line_number":377,"absolute_offset":12867,"submatches":[{"match":{"text":"permission_mode"},"start":13,"end":28},{"match":{"text":"permission_mode"},"start":60,"end":75}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"},"lines":{"text":"    async def _handle_set_permission_mode(self, params: dict[str, Any]) -> dict[str, Any]:\n"},"line_number":390,"absolute_offset":13435,"submatches":[{"match":{"text":"permission_mode"},"start":26,"end":41}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"},"lines":{"text":"        return await self._host.set_permission_mode(handle, mode)\n"},"line_number":398,"absolute_offset":13861,"submatches":[{"match":{"text":"permission_mode"},"start":36,"end":51}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/server.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":89821,"human":"0.000090s"},"searches":1,"searches_with_match":1,"bytes_searched":17055,"bytes_printed":1870,"matched_lines":5,"matches":6}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/serde.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/serde.py"},"lines":{"text":"def build_permission_mode_changed_event(\n"},"line_number":67,"absolute_offset":1699,"submatches":[{"match":{"text":"permission_mode"},"start":10,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/serde.py"},"lines":{"text":"    *, permission_mode: str, previous: str\n"},"line_number":68,"absolute_offset":1740,"submatches":[{"match":{"text":"permission_mode"},"start":7,"end":22}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/serde.py"},"lines":{"text":"        \"payload\": {\"permission_mode\": permission_mode, \"previous\": previous},\n"},"line_number":72,"absolute_offset":1858,"submatches":[{"match":{"text":"permission_mode"},"start":21,"end":36},{"match":{"text":"permission_mode"},"start":39,"end":54}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/serde.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":30134,"human":"0.000030s"},"searches":1,"searches_with_match":1,"bytes_searched":2079,"bytes_printed":1144,"matched_lines":3,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"    build_permission_mode_changed_event,\n"},"line_number":27,"absolute_offset":767,"submatches":[{"match":{"text":"permission_mode"},"start":10,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        chat_session.set_permission_mode(params.permission_mode)\n"},"line_number":170,"absolute_offset":5199,"submatches":[{"match":{"text":"permission_mode"},"start":25,"end":40},{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        self, handle: str, *, permission_mode: str, previous: str\n"},"line_number":238,"absolute_offset":8220,"submatches":[{"match":{"text":"permission_mode"},"start":30,"end":45}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        if permission_mode == previous:\n"},"line_number":240,"absolute_offset":8301,"submatches":[{"match":{"text":"permission_mode"},"start":11,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"            build_permission_mode_changed_event(\n"},"line_number":243,"absolute_offset":8392,"submatches":[{"match":{"text":"permission_mode"},"start":18,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"                permission_mode=permission_mode, previous=previous\n"},"line_number":244,"absolute_offset":8441,"submatches":[{"match":{"text":"permission_mode"},"start":16,"end":31},{"match":{"text":"permission_mode"},"start":32,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"    async def set_permission_mode(self, handle: str, mode: str) -> dict[str, Any]:\n"},"line_number":250,"absolute_offset":8598,"submatches":[{"match":{"text":"permission_mode"},"start":18,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        previous = rpc_session.chat_session.get_permission_mode()\n"},"line_number":252,"absolute_offset":8724,"submatches":[{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        new_mode = rpc_session.chat_session.set_permission_mode(mode)\n"},"line_number":253,"absolute_offset":8790,"submatches":[{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        await self._emit_mode_changed(handle, permission_mode=new_mode, previous=previous)\n"},"line_number":254,"absolute_offset":8860,"submatches":[{"match":{"text":"permission_mode"},"start":46,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        return {\"permission_mode\": new_mode, \"previous\": previous}\n"},"line_number":255,"absolute_offset":8951,"submatches":[{"match":{"text":"permission_mode"},"start":17,"end":32}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        previous = chat_session.get_permission_mode()\n"},"line_number":261,"absolute_offset":9264,"submatches":[{"match":{"text":"permission_mode"},"start":36,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        new_mode = chat_session.get_permission_mode()\n"},"line_number":267,"absolute_offset":9573,"submatches":[{"match":{"text":"permission_mode"},"start":36,"end":51}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        await self._emit_mode_changed(handle, permission_mode=new_mode, previous=previous)\n"},"line_number":268,"absolute_offset":9627,"submatches":[{"match":{"text":"permission_mode"},"start":46,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        return {\"accepted\": True, \"permission_mode\": new_mode}\n"},"line_number":269,"absolute_offset":9718,"submatches":[{"match":{"text":"permission_mode"},"start":35,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        previous = rpc_session.chat_session.get_permission_mode()\n"},"line_number":273,"absolute_offset":9889,"submatches":[{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        new_mode = rpc_session.chat_session.get_permission_mode()\n"},"line_number":275,"absolute_offset":10002,"submatches":[{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        await self._emit_mode_changed(handle, permission_mode=new_mode, previous=previous)\n"},"line_number":276,"absolute_offset":10068,"submatches":[{"match":{"text":"permission_mode"},"start":46,"end":61}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"        return {\"rejected\": True, \"permission_mode\": new_mode}\n"},"line_number":277,"absolute_offset":10159,"submatches":[{"match":{"text":"permission_mode"},"start":35,"end":50}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"lines":{"text":"            \"permission_mode\": chat_session.get_permission_mode(),\n"},"line_number":287,"absolute_offset":10597,"submatches":[{"match":{"text":"permission_mode"},"start":13,"end":28},{"match":{"text":"permission_mode"},"start":48,"end":63}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc/session_host.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":119295,"human":"0.000119s"},"searches":1,"searches_with_match":1,"bytes_searched":13588,"bytes_printed":7064,"matched_lines":20,"matches":23}}}
{"type":"begin","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"}}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            cycle_permission_mode = getattr(self._session, \"cycle_permission_mode\", None)\n"},"line_number":107,"absolute_offset":3563,"submatches":[{"match":{"text":"cycle_permission"},"start":12,"end":28},{"match":{"text":"cycle_permission"},"start":60,"end":76}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"            if callable(cycle_permission_mode):\n"},"line_number":108,"absolute_offset":3653,"submatches":[{"match":{"text":"cycle_permission"},"start":24,"end":40}]}}
{"type":"match","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"lines":{"text":"                mode = cycle_permission_mode()\n"},"line_number":109,"absolute_offset":3701,"submatches":[{"match":{"text":"cycle_permission"},"start":23,"end":39}]}}
{"type":"end","data":{"path":{"text":"/home/andy/works/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/tui_parts/commands.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":134832,"human":"0.000135s"},"searches":1,"searches_with_match":1,"bytes_searched":82856,"bytes_printed":1206,"matched_lines":3,"matches":4}}}
{"data":{"elapsed_total":{"human":"0.010847s","nanos":10846758,"secs":0},"stats":{"bytes_printed":20797,"bytes_searched":287173,"elapsed":{"human":"0.001016s","nanos":1015551,"secs":0},"matched_lines":58,"matches":70,"searches":8,"searches_with_match":8}},"type":"summary"}
