{"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":"    rpc_stdio = False\n"},"line_number":205,"absolute_offset":6217,"submatches":[{"match":{"text":"rpc_stdio"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"            rpc_stdio = True\n"},"line_number":210,"absolute_offset":6348,"submatches":[{"match":{"text":"rpc_stdio"},"start":12,"end":21}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        if rpc_stdio:\n"},"line_number":221,"absolute_offset":6678,"submatches":[{"match":{"text":"rpc_stdio"},"start":11,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        return rpc_stdio, None, False, print_prompt\n"},"line_number":224,"absolute_offset":6854,"submatches":[{"match":{"text":"rpc_stdio"},"start":15,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        return rpc_stdio, None, False, None\n"},"line_number":228,"absolute_offset":6965,"submatches":[{"match":{"text":"rpc_stdio"},"start":15,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        if rpc_stdio:\n"},"line_number":235,"absolute_offset":7158,"submatches":[{"match":{"text":"rpc_stdio"},"start":11,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        return rpc_stdio, None, True, None\n"},"line_number":239,"absolute_offset":7303,"submatches":[{"match":{"text":"rpc_stdio"},"start":15,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        return rpc_stdio, positionals[1], False, None\n"},"line_number":242,"absolute_offset":7377,"submatches":[{"match":{"text":"rpc_stdio"},"start":15,"end":24}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = _parse_args(run_argv)\n"},"line_number":274,"absolute_offset":8307,"submatches":[{"match":{"text":"rpc_stdio"},"start":8,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/main.py"},"lines":{"text":"                rpc_stdio=rpc_stdio,\n"},"line_number":294,"absolute_offset":9036,"submatches":[{"match":{"text":"rpc_stdio"},"start":16,"end":25},{"match":{"text":"rpc_stdio"},"start":26,"end":35}]}}
{"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":110676,"human":"0.000111s"},"searches":1,"searches_with_match":1,"bytes_searched":9447,"bytes_printed":2976,"matched_lines":10,"matches":11}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args([])\n"},"line_number":12,"absolute_offset":272,"submatches":[{"match":{"text":"rpc_stdio"},"start":8,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertFalse(rpc_stdio)\n"},"line_number":13,"absolute_offset":368,"submatches":[{"match":{"text":"rpc_stdio"},"start":25,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args(\n"},"line_number":19,"absolute_offset":587,"submatches":[{"match":{"text":"rpc_stdio"},"start":8,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertTrue(rpc_stdio)\n"},"line_number":22,"absolute_offset":739,"submatches":[{"match":{"text":"rpc_stdio"},"start":24,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args(\n"},"line_number":28,"absolute_offset":997,"submatches":[{"match":{"text":"rpc_stdio"},"start":8,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertFalse(rpc_stdio)\n"},"line_number":31,"absolute_offset":1123,"submatches":[{"match":{"text":"rpc_stdio"},"start":25,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"    def test_parse_args_rejects_resume_without_session_id_with_rpc_stdio(self) -> None:\n"},"line_number":40,"absolute_offset":1471,"submatches":[{"match":{"text":"rpc_stdio"},"start":63,"end":72}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        rpc_stdio, resume_session_id, resume_select, print_prompt = main_module._parse_args(\n"},"line_number":49,"absolute_offset":1914,"submatches":[{"match":{"text":"rpc_stdio"},"start":8,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertFalse(rpc_stdio)\n"},"line_number":52,"absolute_offset":2057,"submatches":[{"match":{"text":"rpc_stdio"},"start":25,"end":34}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"    def test_parse_args_print_rejects_rpc_stdio(self) -> None:\n"},"line_number":70,"absolute_offset":2865,"submatches":[{"match":{"text":"rpc_stdio"},"start":38,"end":47}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"lines":{"text":"        self.assertFalse(call_kwargs[\"rpc_stdio\"])\n"},"line_number":120,"absolute_offset":5382,"submatches":[{"match":{"text":"rpc_stdio"},"start":38,"end":47}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_main_args.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":77275,"human":"0.000077s"},"searches":1,"searches_with_match":1,"bytes_searched":6254,"bytes_printed":3515,"matched_lines":11,"matches":11}}}
{"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":"from comate_cli.terminal_agent.rpc_protocol import (\n"},"line_number":11,"absolute_offset":219,"submatches":[{"match":{"text":"rpc_protocol"},"start":31,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"    parse_jsonrpc_message,\n"},"line_number":18,"absolute_offset":425,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"class StdioRPCBridge:\n"},"line_number":24,"absolute_offset":494,"submatches":[{"match":{"text":"StdioRPCBridge"},"start":6,"end":20}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_stdio.py"},"lines":{"text":"            message = parse_jsonrpc_message(line)\n"},"line_number":103,"absolute_offset":3495,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":22,"end":35}]}}
{"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":40108,"human":"0.000040s"},"searches":1,"searches_with_match":1,"bytes_searched":15750,"bytes_printed":1332,"matched_lines":4,"matches":4}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/rpc_protocol.py"},"lines":{"text":"def parse_jsonrpc_message(raw_line: str) -> dict[str, Any]:\n"},"line_number":40,"absolute_offset":867,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":4,"end":17}]}}
{"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":31962,"human":"0.000032s"},"searches":1,"searches_with_match":1,"bytes_searched":3182,"bytes_printed":459,"matched_lines":1,"matches":1}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"from comate_cli.terminal_agent.rpc_protocol import (\n"},"line_number":7,"absolute_offset":106,"submatches":[{"match":{"text":"rpc_protocol"},"start":31,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"    parse_jsonrpc_message,\n"},"line_number":14,"absolute_offset":312,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":4,"end":17}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"    def test_parse_jsonrpc_message_accepts_valid_payload(self) -> None:\n"},"line_number":19,"absolute_offset":385,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":13,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"        parsed = parse_jsonrpc_message('{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\"}')\n"},"line_number":20,"absolute_offset":457,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":17,"end":30}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"    def test_parse_jsonrpc_message_rejects_non_json(self) -> None:\n"},"line_number":23,"absolute_offset":604,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":13,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"            parse_jsonrpc_message(\"{bad-json\")\n"},"line_number":25,"absolute_offset":732,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":12,"end":25}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"    def test_parse_jsonrpc_message_rejects_wrong_version(self) -> None:\n"},"line_number":28,"absolute_offset":849,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":13,"end":26}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"lines":{"text":"            parse_jsonrpc_message('{\"jsonrpc\":\"1.0\",\"id\":1,\"method\":\"initialize\"}')\n"},"line_number":30,"absolute_offset":982,"submatches":[{"match":{"text":"parse_jsonrpc"},"start":12,"end":25}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_protocol.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":59486,"human":"0.000059s"},"searches":1,"searches_with_match":1,"bytes_searched":2291,"bytes_printed":2650,"matched_lines":8,"matches":8}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"from comate_cli.terminal_agent.rpc_protocol import ErrorCodes\n"},"line_number":9,"absolute_offset":162,"submatches":[{"match":{"text":"rpc_protocol"},"start":31,"end":43}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"from comate_cli.terminal_agent.rpc_stdio import StdioRPCBridge\n"},"line_number":10,"absolute_offset":224,"submatches":[{"match":{"text":"rpc_stdio"},"start":31,"end":40},{"match":{"text":"StdioRPCBridge"},"start":48,"end":62}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"lines":{"text":"class _CaptureBridge(StdioRPCBridge):\n"},"line_number":40,"absolute_offset":1065,"submatches":[{"match":{"text":"StdioRPCBridge"},"start":21,"end":35}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_rpc_stdio_bridge.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":40295,"human":"0.000040s"},"searches":1,"searches_with_match":1,"bytes_searched":7368,"bytes_printed":1101,"matched_lines":3,"matches":4}}}
{"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":"from comate_cli.terminal_agent.rpc_stdio import StdioRPCBridge\n"},"line_number":27,"absolute_offset":758,"submatches":[{"match":{"text":"rpc_stdio"},"start":31,"end":40},{"match":{"text":"StdioRPCBridge"},"start":48,"end":62}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    rpc_stdio: bool = False,\n"},"line_number":330,"absolute_offset":10829,"submatches":[{"match":{"text":"rpc_stdio"},"start":4,"end":13}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        interactive=not rpc_stdio and print_message is None,\n"},"line_number":340,"absolute_offset":11187,"submatches":[{"match":{"text":"rpc_stdio"},"start":24,"end":33}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    if rpc_stdio and resume_select and not resume_session_id:\n"},"line_number":349,"absolute_offset":11438,"submatches":[{"match":{"text":"rpc_stdio"},"start":7,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"    if rpc_stdio:\n"},"line_number":353,"absolute_offset":11617,"submatches":[{"match":{"text":"rpc_stdio"},"start":7,"end":16}]}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/comate_cli/terminal_agent/app.py"},"lines":{"text":"        bridge = StdioRPCBridge(session)\n"},"line_number":355,"absolute_offset":11721,"submatches":[{"match":{"text":"StdioRPCBridge"},"start":17,"end":31}]}}
{"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":46937,"human":"0.000047s"},"searches":1,"searches_with_match":1,"bytes_searched":15031,"bytes_printed":1985,"matched_lines":6,"matches":7}}}
{"type":"begin","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_preflight_gate.py"}}}
{"type":"match","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_preflight_gate.py"},"lines":{"text":"            await app_module.run(rpc_stdio=True)\n"},"line_number":25,"absolute_offset":806,"submatches":[{"match":{"text":"rpc_stdio"},"start":33,"end":42}]}}
{"type":"end","data":{"path":{"text":"/home/hyc/projects/agent-sdk/packages/comate_cli/tests/test_app_preflight_gate.py"},"binary_offset":null,"stats":{"elapsed":{"secs":0,"nanos":12750,"human":"0.000013s"},"searches":1,"searches_with_match":1,"bytes_searched":1006,"bytes_printed":427,"matched_lines":1,"matches":1}}}
{"data":{"elapsed_total":{"human":"0.009189s","nanos":9189388,"secs":0},"stats":{"bytes_printed":14445,"bytes_searched":60329,"elapsed":{"human":"0.000419s","nanos":419489,"secs":0},"matched_lines":44,"matches":47,"searches":8,"searches_with_match":8}},"type":"summary"}
