refactor(acp-example): snapshot goldens are JSONL, not pretty-printed .txt
The goldens now mirror the shape of the surfaces they capture — one compact JSON record per line — matching the wire (NDJSON stdout) and disk (JSONL session log) formats, renamed *.golden.jsonl. They stay grep/jq-able and faithful to what the agent emits, where the prior pretty-printed .txt was a reformatted representation. Both normalizers drop the 2-space indent; the normalizer spec asserts the compact form. All 11 goldens regenerated; replay remains deterministic (8/8 across runs).
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":1,"agentInfo":{"name":"deepseek-harness-acp","version":"0.0.1"},"agentCapabilities":{"loadSession":true,"promptCapabilities":{"image":false,"audio":false,"embeddedContext":false}},"authMethods":[]}}
|
||||
{"jsonrpc":"2.0","id":2,"result":{"sessionId":"{{sessionId}}"}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"user_message_chunk","content":{"type":"text","text":"This prompt triggers a recorded provider error."}}}}
|
||||
{"jsonrpc":"2.0","id":3,"error":{"code":-32603,"message":"Internal error: turn failed: simulated provider error (HTTP 401)"}}
|
||||
Reference in New Issue
Block a user