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,66 @@
|
||||
{"type":"session","version":1,"id":"{{sessionId}}","createdAt":0,"cwd":"{{cwd}}"}
|
||||
{"type":"turn/start","seq":0,"time":0,"data":{"turn":1,"trigger":{"kind":"message","source":{"kind":"user"}}}}
|
||||
{"type":"user/message","seq":1,"time":0,"data":{"content":[{"type":"text","text":"Reply with exactly the word: ONE. No tools."}],"source":{"kind":"user"}}}
|
||||
{"type":"step/start","seq":2,"time":0,"data":{"turn":1,"step":1}}
|
||||
{"type":"assistant/chunk","seq":3,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"block-start","index":0,"blockType":"reasoning"}}}
|
||||
{"type":"assistant/chunk","seq":4,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"The"}}}
|
||||
{"type":"assistant/chunk","seq":5,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" user"}}}
|
||||
{"type":"assistant/chunk","seq":6,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" wants"}}}
|
||||
{"type":"assistant/chunk","seq":7,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" me"}}}
|
||||
{"type":"assistant/chunk","seq":8,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" to"}}}
|
||||
{"type":"assistant/chunk","seq":9,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" reply"}}}
|
||||
{"type":"assistant/chunk","seq":10,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" with"}}}
|
||||
{"type":"assistant/chunk","seq":11,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" exactly"}}}
|
||||
{"type":"assistant/chunk","seq":12,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" the"}}}
|
||||
{"type":"assistant/chunk","seq":13,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" word"}}}
|
||||
{"type":"assistant/chunk","seq":14,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" \""}}}
|
||||
{"type":"assistant/chunk","seq":15,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"ONE"}}}
|
||||
{"type":"assistant/chunk","seq":16,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"\""}}}
|
||||
{"type":"assistant/chunk","seq":17,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" and"}}}
|
||||
{"type":"assistant/chunk","seq":18,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" no"}}}
|
||||
{"type":"assistant/chunk","seq":19,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" tools"}}}
|
||||
{"type":"assistant/chunk","seq":20,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"."}}}
|
||||
{"type":"assistant/chunk","seq":21,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"block-start","index":1,"blockType":"text"}}}
|
||||
{"type":"assistant/chunk","seq":22,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"text-delta","index":1,"text":"ONE"}}}
|
||||
{"type":"assistant/chunk","seq":23,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"block-end","index":0,"block":{"type":"reasoning","text":"The user wants me to reply with exactly the word \"ONE\" and no tools."}}}}
|
||||
{"type":"assistant/chunk","seq":24,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"block-end","index":1,"block":{"type":"text","text":"ONE"}}}}
|
||||
{"type":"assistant/chunk","seq":25,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"usage","usage":{"inputTokens":113,"outputTokens":19,"cacheReadTokens":768,"reasoningTokens":17}}}}
|
||||
{"type":"assistant/chunk","seq":26,"time":0,"data":{"turn":1,"step":1,"chunk":{"type":"finish","reason":{"kind":"stop"}}}}
|
||||
{"type":"assistant/message","seq":27,"time":0,"data":{"turn":1,"step":1,"content":[{"type":"reasoning","text":"The user wants me to reply with exactly the word \"ONE\" and no tools."},{"type":"text","text":"ONE"}]}}
|
||||
{"type":"usage","seq":28,"time":0,"data":{"turn":1,"step":1,"usage":{"inputTokens":113,"outputTokens":19,"cacheReadTokens":768,"reasoningTokens":17}}}
|
||||
{"type":"step/end","seq":29,"time":0,"data":{"turn":1,"step":1}}
|
||||
{"type":"turn/end","seq":30,"time":0,"data":{"turn":1,"reason":{"kind":"completed"}}}
|
||||
{"type":"turn/start","seq":31,"time":0,"data":{"turn":2,"trigger":{"kind":"message","source":{"kind":"user"}}}}
|
||||
{"type":"user/message","seq":32,"time":0,"data":{"content":[{"type":"text","text":"Reply with exactly the word: TWO. No tools."}],"source":{"kind":"user"}}}
|
||||
{"type":"step/start","seq":33,"time":0,"data":{"turn":2,"step":1}}
|
||||
{"type":"assistant/chunk","seq":34,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"block-start","index":0,"blockType":"reasoning"}}}
|
||||
{"type":"assistant/chunk","seq":35,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"The"}}}
|
||||
{"type":"assistant/chunk","seq":36,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" user"}}}
|
||||
{"type":"assistant/chunk","seq":37,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" wants"}}}
|
||||
{"type":"assistant/chunk","seq":38,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" me"}}}
|
||||
{"type":"assistant/chunk","seq":39,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" to"}}}
|
||||
{"type":"assistant/chunk","seq":40,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" reply"}}}
|
||||
{"type":"assistant/chunk","seq":41,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" with"}}}
|
||||
{"type":"assistant/chunk","seq":42,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" exactly"}}}
|
||||
{"type":"assistant/chunk","seq":43,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" the"}}}
|
||||
{"type":"assistant/chunk","seq":44,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" word"}}}
|
||||
{"type":"assistant/chunk","seq":45,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" \""}}}
|
||||
{"type":"assistant/chunk","seq":46,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"T"}}}
|
||||
{"type":"assistant/chunk","seq":47,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"WO"}}}
|
||||
{"type":"assistant/chunk","seq":48,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"\""}}}
|
||||
{"type":"assistant/chunk","seq":49,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" and"}}}
|
||||
{"type":"assistant/chunk","seq":50,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" use"}}}
|
||||
{"type":"assistant/chunk","seq":51,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" no"}}}
|
||||
{"type":"assistant/chunk","seq":52,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":" tools"}}}
|
||||
{"type":"assistant/chunk","seq":53,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"reasoning-delta","index":0,"text":"."}}}
|
||||
{"type":"assistant/chunk","seq":54,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"block-start","index":1,"blockType":"text"}}}
|
||||
{"type":"assistant/chunk","seq":55,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"text-delta","index":1,"text":"T"}}}
|
||||
{"type":"assistant/chunk","seq":56,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"text-delta","index":1,"text":"WO"}}}
|
||||
{"type":"assistant/chunk","seq":57,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"block-end","index":0,"block":{"type":"reasoning","text":"The user wants me to reply with exactly the word \"TWO\" and use no tools."}}}}
|
||||
{"type":"assistant/chunk","seq":58,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"block-end","index":1,"block":{"type":"text","text":"TWO"}}}}
|
||||
{"type":"assistant/chunk","seq":59,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"usage","usage":{"inputTokens":129,"outputTokens":22,"cacheReadTokens":768,"reasoningTokens":19}}}}
|
||||
{"type":"assistant/chunk","seq":60,"time":0,"data":{"turn":2,"step":1,"chunk":{"type":"finish","reason":{"kind":"stop"}}}}
|
||||
{"type":"assistant/message","seq":61,"time":0,"data":{"turn":2,"step":1,"content":[{"type":"reasoning","text":"The user wants me to reply with exactly the word \"TWO\" and use no tools."},{"type":"text","text":"TWO"}]}}
|
||||
{"type":"usage","seq":62,"time":0,"data":{"turn":2,"step":1,"usage":{"inputTokens":129,"outputTokens":22,"cacheReadTokens":768,"reasoningTokens":19}}}
|
||||
{"type":"step/end","seq":63,"time":0,"data":{"turn":2,"step":1}}
|
||||
{"type":"turn/end","seq":64,"time":0,"data":{"turn":2,"reason":{"kind":"completed"}}}
|
||||
@@ -1,929 +0,0 @@
|
||||
{
|
||||
"type": "session",
|
||||
"version": 1,
|
||||
"id": "{{sessionId}}",
|
||||
"createdAt": 0,
|
||||
"cwd": "{{cwd}}"
|
||||
}
|
||||
{
|
||||
"type": "turn/start",
|
||||
"seq": 0,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"trigger": {
|
||||
"kind": "message",
|
||||
"source": {
|
||||
"kind": "user"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "user/message",
|
||||
"seq": 1,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Reply with exactly the word: ONE. No tools."
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"kind": "user"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "step/start",
|
||||
"seq": 2,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 3,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-start",
|
||||
"index": 0,
|
||||
"blockType": "reasoning"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 4,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "The"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 5,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " user"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 6,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " wants"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 7,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " me"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 8,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " to"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 9,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " reply"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 10,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " with"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 11,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " exactly"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 12,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " the"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 13,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " word"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 14,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " \""
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 15,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "ONE"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 16,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "\""
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 17,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " and"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 18,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " no"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 19,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " tools"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 20,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 21,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-start",
|
||||
"index": 1,
|
||||
"blockType": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 22,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "text-delta",
|
||||
"index": 1,
|
||||
"text": "ONE"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 23,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-end",
|
||||
"index": 0,
|
||||
"block": {
|
||||
"type": "reasoning",
|
||||
"text": "The user wants me to reply with exactly the word \"ONE\" and no tools."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 24,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-end",
|
||||
"index": 1,
|
||||
"block": {
|
||||
"type": "text",
|
||||
"text": "ONE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 25,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "usage",
|
||||
"usage": {
|
||||
"inputTokens": 113,
|
||||
"outputTokens": 19,
|
||||
"cacheReadTokens": 768,
|
||||
"reasoningTokens": 17
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 26,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "finish",
|
||||
"reason": {
|
||||
"kind": "stop"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/message",
|
||||
"seq": 27,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"content": [
|
||||
{
|
||||
"type": "reasoning",
|
||||
"text": "The user wants me to reply with exactly the word \"ONE\" and no tools."
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"text": "ONE"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "usage",
|
||||
"seq": 28,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1,
|
||||
"usage": {
|
||||
"inputTokens": 113,
|
||||
"outputTokens": 19,
|
||||
"cacheReadTokens": 768,
|
||||
"reasoningTokens": 17
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "step/end",
|
||||
"seq": 29,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "turn/end",
|
||||
"seq": 30,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"reason": {
|
||||
"kind": "completed"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "turn/start",
|
||||
"seq": 31,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"trigger": {
|
||||
"kind": "message",
|
||||
"source": {
|
||||
"kind": "user"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "user/message",
|
||||
"seq": 32,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Reply with exactly the word: TWO. No tools."
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"kind": "user"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "step/start",
|
||||
"seq": 33,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 34,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-start",
|
||||
"index": 0,
|
||||
"blockType": "reasoning"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 35,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "The"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 36,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " user"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 37,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " wants"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 38,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " me"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 39,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " to"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 40,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " reply"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 41,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " with"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 42,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " exactly"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 43,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " the"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 44,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " word"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 45,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " \""
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 46,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "T"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 47,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "WO"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 48,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "\""
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 49,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " and"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 50,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " use"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 51,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " no"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 52,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": " tools"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 53,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "reasoning-delta",
|
||||
"index": 0,
|
||||
"text": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 54,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-start",
|
||||
"index": 1,
|
||||
"blockType": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 55,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "text-delta",
|
||||
"index": 1,
|
||||
"text": "T"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 56,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "text-delta",
|
||||
"index": 1,
|
||||
"text": "WO"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 57,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-end",
|
||||
"index": 0,
|
||||
"block": {
|
||||
"type": "reasoning",
|
||||
"text": "The user wants me to reply with exactly the word \"TWO\" and use no tools."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 58,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "block-end",
|
||||
"index": 1,
|
||||
"block": {
|
||||
"type": "text",
|
||||
"text": "TWO"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 59,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "usage",
|
||||
"usage": {
|
||||
"inputTokens": 129,
|
||||
"outputTokens": 22,
|
||||
"cacheReadTokens": 768,
|
||||
"reasoningTokens": 19
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/chunk",
|
||||
"seq": 60,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"chunk": {
|
||||
"type": "finish",
|
||||
"reason": {
|
||||
"kind": "stop"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "assistant/message",
|
||||
"seq": 61,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"content": [
|
||||
{
|
||||
"type": "reasoning",
|
||||
"text": "The user wants me to reply with exactly the word \"TWO\" and use no tools."
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"text": "TWO"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "usage",
|
||||
"seq": 62,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1,
|
||||
"usage": {
|
||||
"inputTokens": 129,
|
||||
"outputTokens": 22,
|
||||
"cacheReadTokens": 768,
|
||||
"reasoningTokens": 19
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "step/end",
|
||||
"seq": 63,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
{
|
||||
"type": "turn/end",
|
||||
"seq": 64,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 2,
|
||||
"reason": {
|
||||
"kind": "completed"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{"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":"Reply with exactly the word: ONE. No tools."}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"The"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" user"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" wants"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" me"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" to"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" reply"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" with"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" exactly"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" the"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" word"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" \""}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"ONE"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"\""}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" and"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" no"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" tools"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"."}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_message_chunk","content":{"type":"text","text":"ONE"}}}}
|
||||
{"jsonrpc":"2.0","id":3,"result":{"stopReason":"end_turn"}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"user_message_chunk","content":{"type":"text","text":"Reply with exactly the word: TWO. No tools."}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"The"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" user"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" wants"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" me"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" to"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" reply"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" with"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" exactly"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" the"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" word"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" \""}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"T"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"WO"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"\""}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" and"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" use"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" no"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":" tools"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","content":{"type":"text","text":"."}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_message_chunk","content":{"type":"text","text":"T"}}}}
|
||||
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_message_chunk","content":{"type":"text","text":"WO"}}}}
|
||||
{"jsonrpc":"2.0","id":4,"result":{"stopReason":"end_turn"}}
|
||||
@@ -1,615 +0,0 @@
|
||||
{
|
||||
"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": "Reply with exactly the word: ONE. No tools."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "The"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " user"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " wants"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " me"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " to"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " reply"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " with"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " exactly"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " the"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " word"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " \""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "ONE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " and"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " no"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " tools"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_message_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "ONE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 3,
|
||||
"result": {
|
||||
"stopReason": "end_turn"
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "user_message_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "Reply with exactly the word: TWO. No tools."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "The"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " user"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " wants"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " me"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " to"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " reply"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " with"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " exactly"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " the"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " word"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " \""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "T"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "WO"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " and"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " use"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " no"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": " tools"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_thought_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_message_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "T"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "session/update",
|
||||
"params": {
|
||||
"sessionId": "{{sessionId}}",
|
||||
"update": {
|
||||
"sessionUpdate": "agent_message_chunk",
|
||||
"content": {
|
||||
"type": "text",
|
||||
"text": "WO"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 4,
|
||||
"result": {
|
||||
"stopReason": "end_turn"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user