| 1 | {"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"ses_e2e97f12affeI2nd5S31XijDDP","update":{"sessionUpdate":"tool_call","toolCallId":"call_1794514620741","name":"shell","title":"shell","kind":"execute","status":"pending","locations":[{"path":"/workspace"}],"rawInput":{"cwd":"/workspace"}}}} |
| 2 | {"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"ses_e2e97f12affeI2nd5S31XijDDP","update":{"sessionUpdate":"tool_call_update","toolCallId":"call_1794514620741","status":"in_progress","kind":"execute","title":"echo hi","locations":[{"path":"/workspace"}],"rawInput":{"command":"echo hi","cwd":"/workspace"}}}} |
| 3 | {"jsonrpc":"2.0","id":0,"method":"session/request_permission","params":{"sessionId":"ses_e2e97f12affeI2nd5S31XijDDP","toolCall":{"toolCallId":"call_1794514620741","name":"shell","title":"echo hi","kind":"execute","status":"pending","locations":[{"path":"/workspace"}],"rawInput":{"command":"echo hi","cwd":"/workspace"}},"options":[{"optionId":"once","kind":"allow_once","name":"Allow once"},{"optionId":"always","kind":"allow_always","name":"Always allow"},{"optionId":"reject","kind":"reject_once","name":"Reject"}]}} |
| 4 | {"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"ses_e2e97f12affeI2nd5S31XijDDP","update":{"sessionUpdate":"tool_call_update","toolCallId":"call_1794514620741","status":"failed","kind":"execute","title":"echo hi","locations":[{"path":"/workspace"}],"rawInput":{"command":"echo hi","cwd":"/workspace"},"content":[{"type":"content","content":{"type":"text","text":"The user declined this tool call"}}],"rawOutput":{"metadata":{},"error":"The user declined this tool call"}}}} |
| 5 | {"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"ses_e2e97f12affeI2nd5S31XijDDP","update":{"sessionUpdate":"usage_update","used":107,"size":200000,"cost":{"amount":0,"currency":"USD"}}}} |
| 6 | {"jsonrpc":"2.0","id":4,"result":{"stopReason":"cancelled","usage":{"inputTokens":60,"outputTokens":7,"totalTokens":107,"cachedReadTokens":40},"_meta":{}}} |
| 7 | |