{"at":"2026-11-23T00:38:46.000Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:38:46.890Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:38:46.991Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:38:47.880Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"witness","version":"0.3.0"}}}}
{"at":"2026-11-23T00:38:47.880Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:38:47.880Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:38:47.883Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Session metadata: app URL, duration, counts of says/marks/errors/requests, file list","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"session_overview"},{"description":"Speech anchor index — every spoken segment with suspects, dead clicks and shot/dom refs. Segments are mechanically cut, NOT confirmed issues: merge adjacent ones or split as the semantics require. READ THIS FIRST.","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"list_segments"},{"description":"One speech segment's evidence bundle: verbatim speech, suspect elements, dead clicks, errors, and the exact shots/dom snapshots to inspect. n = segment number (1-based)","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"n":{"type":"number"}},"required":["n"],"type":"object"},"name":"segment_detail"},{"description":"All spoken feedback fragments with timestamps — the issue anchors","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"list_says"},{"description":"The rendered evidence timeline (SAY blocks + attached events)","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"session_md"},{"description":"Raw events within a time window. t_ms = timeline ms, radius_ms default 3000, kinds = comma list (click,req,res,console,error,mut,mark,nav,say,scroll,shot)","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"kinds":{"type":"string"},"radius_ms":{"type":"number"},"t_ms":{"type":"number"}},"required":["t_ms"],"type":"object"},"name":"events_around"},{"description":"All console errors, page errors and HTTP responses >= 400","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"get_errors"},{"description":"A screenshot image. path is relative to the session dir, e.g. shots/011-mark.jpg","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"path":{"type":"string"}},"required":["path"],"type":"object"},"name":"get_shot"},{"description":"DOM snapshot HTML nearest to a timeline ms (snapshots at nav/mark/every 30s). Returns path + html","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"t_ms":{"type":"number"}},"required":["t_ms"],"type":"object"},"name":"get_dom_state"},{"description":"Captured HTTP response body. path relative to session dir, e.g. bodies/r3.json","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"path":{"type":"string"}},"required":["path"],"type":"object"},"name":"get_body"},{"description":"Current live speech-recognition engine for future recordings (auto|doubao-web|doubao-ime|sr|off)","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"get_asr"},{"description":"Switch the live ASR engine for FUTURE recordings (persists to .witness/config.json). doubao-web = best quality streaming; doubao-ime = sentence timestamps; sr = browser builtin; off = none.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"engine":{"enum":["auto","doubao-web","doubao-ime","sr","off"],"type":"string"}},"required":["engine"],"type":"object"},"name":"set_asr"}]}}}
