Files
orca/mobile/rpc-foundation/goldens/native-chat-image-paste-trailing-image.json
Kelvin Amoaba 14819eb8c0 fix(chat): isolate sends from terminal drafts (#37774)
* fix(chat): isolate sends from terminal drafts

* test(chat): expect replacement clear for resume commands

* test(chat): refresh draft-clear RPC recordings
2026-11-03 18:28:10 +00:00

176 lines
5.0 KiB
JSON

{
"goldenFormatVersion": 6,
"operation": "nativeChat.image-paste",
"family": "nativeChat.image-paste",
"namedDeltas": [],
"values": {
"0f02c1a90f93": {
"name": "terminal.send#1",
"ordinal": 4,
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}"
},
"15a9fbee07a2": {
"name": "terminal.read#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "terminal.read"
},
{
"name": "params",
"value": {
"limit": 1,
"screen": true,
"terminal": "terminal-1"
}
},
{
"name": "options",
"value": {
"budgetSpansConnect": true,
"timeoutMs": 2000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"terminal": {}
}
}
}
},
"47a22f9d0047": {
"failure": {
"$rpc": "null"
},
"pasted": true
},
"65f9f1bdd4b7": {
"name": "terminal.send#2",
"ordinal": 6,
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~@/tmp/a.png\\u001b[201~\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}"
},
"84e5ca07cb7a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": true
},
"a3e305c984c6": {
"name": "terminal.send#1",
"ordinal": 3,
"args": [
{
"name": "method",
"value": "terminal.send"
},
{
"name": "params",
"value": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"enter": false,
"terminal": "terminal-1",
"text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b"
}
},
{
"name": "options",
"value": {
"budgetSpansConnect": true,
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
}
},
"abebd0f45ba2": {
"name": "terminal.read#1",
"ordinal": 2,
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.read\",\"params\":{\"terminal\":\"terminal-1\",\"screen\":true,\"limit\":1}}"
},
"ed61f4f27eb6": {
"name": "terminal.send#2",
"ordinal": 5,
"args": [
{
"name": "method",
"value": "terminal.send"
},
{
"name": "params",
"value": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"enter": false,
"terminal": "terminal-1",
"text": "\u001b[200~@/tmp/a.png\u001b[201~"
}
},
{
"name": "options",
"value": {
"budgetSpansConnect": true,
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
}
}
},
"recording": {
"scenario": "native-chat-image-paste-trailing-image",
"checkpoints": [
{
"id": "pasted",
"observation": {
"sender": ["15a9fbee07a2", "a3e305c984c6", "ed61f4f27eb6"],
"payloads": ["abebd0f45ba2", "0f02c1a90f93", "65f9f1bdd4b7"],
"settlements": {
"trailing": "84e5ca07cb7a"
},
"state": "47a22f9d0047",
"effects": []
}
}
]
}
}