@datalayer/agent-runtimes 1.5.2 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-embed/datalayer-app-main.js +3 -3
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.d.ts +3 -1
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.js +7 -2
- package/lib/apps/plugins/pap-sign-in/signIn.d.ts +20 -8
- package/lib/apps/plugins/pap-sign-in/signIn.js +18 -4
- package/lib/examples/pap/PapTraceView.d.ts +2 -0
- package/lib/examples/pap/PapTraceView.js +3 -1
- package/lib/examples/pap/traces/account-tokens.json +88 -825
- package/lib/examples/pap/traces/conversation-control.json +45 -131
- package/lib/examples/pap/traces/conversation-streaming.json +27 -127
- package/lib/examples/pap/traces/mediated-sign-in.json +22 -122
- package/lib/examples/pap/traces/operations.json +65 -412
- package/lib/examples/pap/traces/two-companies.json +233 -720
- package/lib/examples/pap/traces/user-with-a-company.json +95 -532
- package/lib/specs/actions.js +1 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"title": "Conversation control",
|
|
4
4
|
"description": "A Direct Conversation under an open one, a handoff to a person at Manzanita, and closing, through the real ConversationClient.",
|
|
5
5
|
"generator": "examples/personal-agent-protocol/traces/generate.py",
|
|
6
|
+
"sdk": "personal-agent-protocol 0.16.0",
|
|
6
7
|
"parties": [
|
|
7
8
|
{
|
|
8
9
|
"id": "user",
|
|
@@ -96,6 +97,9 @@
|
|
|
96
97
|
},
|
|
97
98
|
"auth": {
|
|
98
99
|
"issuer": "https://manzanita.example",
|
|
100
|
+
"direct": {
|
|
101
|
+
"scopes": ["orders:read", "orders:write"]
|
|
102
|
+
},
|
|
99
103
|
"device": {
|
|
100
104
|
"scopes": ["orders:read", "orders:write"]
|
|
101
105
|
},
|
|
@@ -128,6 +132,21 @@
|
|
|
128
132
|
}
|
|
129
133
|
]
|
|
130
134
|
},
|
|
135
|
+
"apis": [
|
|
136
|
+
{
|
|
137
|
+
"type": "openapi",
|
|
138
|
+
"url": "https://manzanita.example/api/openapi.json",
|
|
139
|
+
"description": "Orders and exchanges"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "mcp",
|
|
143
|
+
"url": "https://manzanita.example/mcp",
|
|
144
|
+
"description": "Orders and exchanges, as MCP tools"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"web": {
|
|
148
|
+
"browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
|
|
149
|
+
},
|
|
131
150
|
"extensions": {
|
|
132
151
|
"operations": {
|
|
133
152
|
"version": "1",
|
|
@@ -159,7 +178,9 @@
|
|
|
159
178
|
"revocation_endpoint": "https://manzanita.example/oauth/revoke",
|
|
160
179
|
"poppy_domains": ["manzanita.example"],
|
|
161
180
|
"dpop_signing_alg_values_supported": ["ES256", "RS256"],
|
|
162
|
-
"device_1": "https://manzanita.example/oauth/device"
|
|
181
|
+
"device_1": "https://manzanita.example/oauth/device",
|
|
182
|
+
"authorization_endpoint": "https://manzanita.example/oauth/authorize",
|
|
183
|
+
"code_challenge_methods_supported": ["S256"]
|
|
163
184
|
}
|
|
164
185
|
}
|
|
165
186
|
},
|
|
@@ -230,127 +251,6 @@
|
|
|
230
251
|
}
|
|
231
252
|
}
|
|
232
253
|
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "http",
|
|
235
|
-
"from": "manzanita",
|
|
236
|
-
"to": "atlas",
|
|
237
|
-
"method": "GET",
|
|
238
|
-
"url": "https://atlas.example/agent.json",
|
|
239
|
-
"status": 200,
|
|
240
|
-
"request": {
|
|
241
|
-
"headers": {
|
|
242
|
-
"accept": "application/json"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"response": {
|
|
246
|
-
"headers": {
|
|
247
|
-
"content-type": "application/json"
|
|
248
|
-
},
|
|
249
|
-
"body": {
|
|
250
|
-
"client_id": "https://atlas.example/agent.json",
|
|
251
|
-
"client_name": "Atlas",
|
|
252
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
253
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
254
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
255
|
-
"extensions": {
|
|
256
|
-
"operations": {
|
|
257
|
-
"version": "1"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"kind": "http",
|
|
265
|
-
"from": "manzanita",
|
|
266
|
-
"to": "atlas",
|
|
267
|
-
"method": "GET",
|
|
268
|
-
"url": "https://atlas.example/jwks.json",
|
|
269
|
-
"status": 200,
|
|
270
|
-
"request": {
|
|
271
|
-
"headers": {
|
|
272
|
-
"accept": "application/json"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"response": {
|
|
276
|
-
"headers": {
|
|
277
|
-
"content-type": "application/json"
|
|
278
|
-
},
|
|
279
|
-
"body": {
|
|
280
|
-
"keys": [
|
|
281
|
-
{
|
|
282
|
-
"kty": "EC",
|
|
283
|
-
"crv": "P-256",
|
|
284
|
-
"x": "‹public key›",
|
|
285
|
-
"y": "‹public key›",
|
|
286
|
-
"kid": "key-1",
|
|
287
|
-
"use": "sig",
|
|
288
|
-
"alg": "ES256"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"kind": "http",
|
|
296
|
-
"from": "manzanita",
|
|
297
|
-
"to": "atlas",
|
|
298
|
-
"method": "GET",
|
|
299
|
-
"url": "https://atlas.example/agent.json",
|
|
300
|
-
"status": 200,
|
|
301
|
-
"request": {
|
|
302
|
-
"headers": {
|
|
303
|
-
"accept": "application/json"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"response": {
|
|
307
|
-
"headers": {
|
|
308
|
-
"content-type": "application/json"
|
|
309
|
-
},
|
|
310
|
-
"body": {
|
|
311
|
-
"client_id": "https://atlas.example/agent.json",
|
|
312
|
-
"client_name": "Atlas",
|
|
313
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
314
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
315
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
316
|
-
"extensions": {
|
|
317
|
-
"operations": {
|
|
318
|
-
"version": "1"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "http",
|
|
326
|
-
"from": "manzanita",
|
|
327
|
-
"to": "atlas",
|
|
328
|
-
"method": "GET",
|
|
329
|
-
"url": "https://atlas.example/agent.json",
|
|
330
|
-
"status": 200,
|
|
331
|
-
"request": {
|
|
332
|
-
"headers": {
|
|
333
|
-
"accept": "application/json"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"response": {
|
|
337
|
-
"headers": {
|
|
338
|
-
"content-type": "application/json"
|
|
339
|
-
},
|
|
340
|
-
"body": {
|
|
341
|
-
"client_id": "https://atlas.example/agent.json",
|
|
342
|
-
"client_name": "Atlas",
|
|
343
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
344
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
345
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
346
|
-
"extensions": {
|
|
347
|
-
"operations": {
|
|
348
|
-
"version": "1"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
254
|
{
|
|
355
255
|
"kind": "http",
|
|
356
256
|
"from": "manzanita",
|
|
@@ -434,11 +334,11 @@
|
|
|
434
334
|
},
|
|
435
335
|
{
|
|
436
336
|
"label": "Conversation",
|
|
437
|
-
"value": "idle · agent ·
|
|
337
|
+
"value": "idle · agent · 5 events"
|
|
438
338
|
},
|
|
439
339
|
{
|
|
440
340
|
"label": "Direct conversation",
|
|
441
|
-
"value": "idle · agent ·
|
|
341
|
+
"value": "idle · agent · 4 events"
|
|
442
342
|
}
|
|
443
343
|
]
|
|
444
344
|
},
|
|
@@ -486,6 +386,13 @@
|
|
|
486
386
|
{
|
|
487
387
|
"id": "evt_2",
|
|
488
388
|
"created_at": "2026-10-11T09:00:00Z",
|
|
389
|
+
"type": "state",
|
|
390
|
+
"status": "working",
|
|
391
|
+
"responder": "agent"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"id": "evt_3",
|
|
395
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
489
396
|
"type": "message",
|
|
490
397
|
"message": {
|
|
491
398
|
"id": "msg_2",
|
|
@@ -493,9 +400,16 @@
|
|
|
493
400
|
"role": "company",
|
|
494
401
|
"text": "Hello from Manzanita Outfitters. Ask me about an order."
|
|
495
402
|
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"id": "evt_4",
|
|
406
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
407
|
+
"type": "state",
|
|
408
|
+
"status": "idle",
|
|
409
|
+
"responder": "agent"
|
|
496
410
|
}
|
|
497
411
|
],
|
|
498
|
-
"cursor": "
|
|
412
|
+
"cursor": "evt_4",
|
|
499
413
|
"has_more": false,
|
|
500
414
|
"status": "idle",
|
|
501
415
|
"responder": "agent"
|
|
@@ -577,11 +491,11 @@
|
|
|
577
491
|
},
|
|
578
492
|
{
|
|
579
493
|
"label": "Conversation",
|
|
580
|
-
"value": "idle · agent ·
|
|
494
|
+
"value": "idle · agent · 5 events"
|
|
581
495
|
},
|
|
582
496
|
{
|
|
583
497
|
"label": "Direct conversation",
|
|
584
|
-
"value": "idle · agent ·
|
|
498
|
+
"value": "idle · agent · 4 events"
|
|
585
499
|
}
|
|
586
500
|
]
|
|
587
501
|
},
|
|
@@ -666,11 +580,11 @@
|
|
|
666
580
|
},
|
|
667
581
|
{
|
|
668
582
|
"label": "Conversation",
|
|
669
|
-
"value": "idle · human ·
|
|
583
|
+
"value": "idle · human · 8 events"
|
|
670
584
|
},
|
|
671
585
|
{
|
|
672
586
|
"label": "Direct conversation",
|
|
673
|
-
"value": "closed · agent ·
|
|
587
|
+
"value": "closed · agent · 5 events"
|
|
674
588
|
}
|
|
675
589
|
]
|
|
676
590
|
},
|
|
@@ -776,11 +690,11 @@
|
|
|
776
690
|
},
|
|
777
691
|
{
|
|
778
692
|
"label": "Conversation",
|
|
779
|
-
"value": "closed · human ·
|
|
693
|
+
"value": "closed · human · 9 events"
|
|
780
694
|
},
|
|
781
695
|
{
|
|
782
696
|
"label": "Direct conversation",
|
|
783
|
-
"value": "closed · agent ·
|
|
697
|
+
"value": "closed · agent · 5 events"
|
|
784
698
|
}
|
|
785
699
|
]
|
|
786
700
|
},
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"title": "Conversation streaming",
|
|
4
4
|
"description": "Atlas reads a Manzanita conversation over Server-Sent Events: display-only text deltas, complete message events, and a resume from Last-Event-ID.",
|
|
5
5
|
"generator": "examples/personal-agent-protocol/traces/generate.py",
|
|
6
|
+
"sdk": "personal-agent-protocol 0.16.0",
|
|
6
7
|
"parties": [
|
|
7
8
|
{
|
|
8
9
|
"id": "user",
|
|
@@ -96,6 +97,9 @@
|
|
|
96
97
|
},
|
|
97
98
|
"auth": {
|
|
98
99
|
"issuer": "https://manzanita.example",
|
|
100
|
+
"direct": {
|
|
101
|
+
"scopes": ["orders:read", "orders:write"]
|
|
102
|
+
},
|
|
99
103
|
"device": {
|
|
100
104
|
"scopes": ["orders:read", "orders:write"]
|
|
101
105
|
},
|
|
@@ -128,6 +132,21 @@
|
|
|
128
132
|
}
|
|
129
133
|
]
|
|
130
134
|
},
|
|
135
|
+
"apis": [
|
|
136
|
+
{
|
|
137
|
+
"type": "openapi",
|
|
138
|
+
"url": "https://manzanita.example/api/openapi.json",
|
|
139
|
+
"description": "Orders and exchanges"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "mcp",
|
|
143
|
+
"url": "https://manzanita.example/mcp",
|
|
144
|
+
"description": "Orders and exchanges, as MCP tools"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"web": {
|
|
148
|
+
"browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
|
|
149
|
+
},
|
|
131
150
|
"extensions": {
|
|
132
151
|
"operations": {
|
|
133
152
|
"version": "1",
|
|
@@ -159,7 +178,9 @@
|
|
|
159
178
|
"revocation_endpoint": "https://manzanita.example/oauth/revoke",
|
|
160
179
|
"poppy_domains": ["manzanita.example"],
|
|
161
180
|
"dpop_signing_alg_values_supported": ["ES256", "RS256"],
|
|
162
|
-
"device_1": "https://manzanita.example/oauth/device"
|
|
181
|
+
"device_1": "https://manzanita.example/oauth/device",
|
|
182
|
+
"authorization_endpoint": "https://manzanita.example/oauth/authorize",
|
|
183
|
+
"code_challenge_methods_supported": ["S256"]
|
|
163
184
|
}
|
|
164
185
|
}
|
|
165
186
|
},
|
|
@@ -230,127 +251,6 @@
|
|
|
230
251
|
}
|
|
231
252
|
}
|
|
232
253
|
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "http",
|
|
235
|
-
"from": "manzanita",
|
|
236
|
-
"to": "atlas",
|
|
237
|
-
"method": "GET",
|
|
238
|
-
"url": "https://atlas.example/agent.json",
|
|
239
|
-
"status": 200,
|
|
240
|
-
"request": {
|
|
241
|
-
"headers": {
|
|
242
|
-
"accept": "application/json"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"response": {
|
|
246
|
-
"headers": {
|
|
247
|
-
"content-type": "application/json"
|
|
248
|
-
},
|
|
249
|
-
"body": {
|
|
250
|
-
"client_id": "https://atlas.example/agent.json",
|
|
251
|
-
"client_name": "Atlas",
|
|
252
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
253
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
254
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
255
|
-
"extensions": {
|
|
256
|
-
"operations": {
|
|
257
|
-
"version": "1"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"kind": "http",
|
|
265
|
-
"from": "manzanita",
|
|
266
|
-
"to": "atlas",
|
|
267
|
-
"method": "GET",
|
|
268
|
-
"url": "https://atlas.example/jwks.json",
|
|
269
|
-
"status": 200,
|
|
270
|
-
"request": {
|
|
271
|
-
"headers": {
|
|
272
|
-
"accept": "application/json"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"response": {
|
|
276
|
-
"headers": {
|
|
277
|
-
"content-type": "application/json"
|
|
278
|
-
},
|
|
279
|
-
"body": {
|
|
280
|
-
"keys": [
|
|
281
|
-
{
|
|
282
|
-
"kty": "EC",
|
|
283
|
-
"crv": "P-256",
|
|
284
|
-
"x": "‹public key›",
|
|
285
|
-
"y": "‹public key›",
|
|
286
|
-
"kid": "key-1",
|
|
287
|
-
"use": "sig",
|
|
288
|
-
"alg": "ES256"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"kind": "http",
|
|
296
|
-
"from": "manzanita",
|
|
297
|
-
"to": "atlas",
|
|
298
|
-
"method": "GET",
|
|
299
|
-
"url": "https://atlas.example/agent.json",
|
|
300
|
-
"status": 200,
|
|
301
|
-
"request": {
|
|
302
|
-
"headers": {
|
|
303
|
-
"accept": "application/json"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"response": {
|
|
307
|
-
"headers": {
|
|
308
|
-
"content-type": "application/json"
|
|
309
|
-
},
|
|
310
|
-
"body": {
|
|
311
|
-
"client_id": "https://atlas.example/agent.json",
|
|
312
|
-
"client_name": "Atlas",
|
|
313
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
314
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
315
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
316
|
-
"extensions": {
|
|
317
|
-
"operations": {
|
|
318
|
-
"version": "1"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "http",
|
|
326
|
-
"from": "manzanita",
|
|
327
|
-
"to": "atlas",
|
|
328
|
-
"method": "GET",
|
|
329
|
-
"url": "https://atlas.example/agent.json",
|
|
330
|
-
"status": 200,
|
|
331
|
-
"request": {
|
|
332
|
-
"headers": {
|
|
333
|
-
"accept": "application/json"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"response": {
|
|
337
|
-
"headers": {
|
|
338
|
-
"content-type": "application/json"
|
|
339
|
-
},
|
|
340
|
-
"body": {
|
|
341
|
-
"client_id": "https://atlas.example/agent.json",
|
|
342
|
-
"client_name": "Atlas",
|
|
343
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
344
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
345
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
346
|
-
"extensions": {
|
|
347
|
-
"operations": {
|
|
348
|
-
"version": "1"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
254
|
{
|
|
355
255
|
"kind": "http",
|
|
356
256
|
"from": "manzanita",
|
|
@@ -423,7 +323,7 @@
|
|
|
423
323
|
},
|
|
424
324
|
{
|
|
425
325
|
"label": "Conversation",
|
|
426
|
-
"value": "idle · agent ·
|
|
326
|
+
"value": "idle · agent · 4 events"
|
|
427
327
|
}
|
|
428
328
|
]
|
|
429
329
|
},
|
|
@@ -513,7 +413,7 @@
|
|
|
513
413
|
},
|
|
514
414
|
{
|
|
515
415
|
"label": "Conversation",
|
|
516
|
-
"value": "closed · agent ·
|
|
416
|
+
"value": "closed · agent · 5 events"
|
|
517
417
|
}
|
|
518
418
|
]
|
|
519
419
|
},
|
|
@@ -564,7 +464,7 @@
|
|
|
564
464
|
"content-type": "text/event-stream",
|
|
565
465
|
"cache-control": "no-store"
|
|
566
466
|
},
|
|
567
|
-
"body": ": poppy\n\nid: evt_1\ndata: {\"id\": \"evt_1\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_1\", \"sender\": \"human\", \"text\": \"Hello\", \"role\": \"user\"}}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_2\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid:
|
|
467
|
+
"body": ": poppy\n\nid: evt_1\ndata: {\"id\": \"evt_1\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_1\", \"sender\": \"human\", \"text\": \"Hello\", \"role\": \"user\"}}\n\nid: evt_2\ndata: {\"id\": \"evt_2\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"status\": \"working\", \"responder\": \"agent\"}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_2\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid: evt_3\ndata: {\"id\": \"evt_3\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_2\", \"sender\": \"agent\", \"role\": \"company\", \"text\": \"Hello from Manzanita Outfitters. Ask me about an order.\"}}\n\nid: evt_4\ndata: {\"id\": \"evt_4\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"status\": \"idle\", \"responder\": \"agent\"}\n\nid: evt_5\ndata: {\"id\": \"evt_5\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"status\": \"closed\", \"responder\": \"agent\"}\n\n",
|
|
568
468
|
"encoding": "sse"
|
|
569
469
|
}
|
|
570
470
|
}
|
|
@@ -609,7 +509,7 @@
|
|
|
609
509
|
},
|
|
610
510
|
{
|
|
611
511
|
"label": "Conversation",
|
|
612
|
-
"value": "closed · agent ·
|
|
512
|
+
"value": "closed · agent · 5 events"
|
|
613
513
|
}
|
|
614
514
|
]
|
|
615
515
|
},
|
|
@@ -634,7 +534,7 @@
|
|
|
634
534
|
"content-type": "text/event-stream",
|
|
635
535
|
"cache-control": "no-store"
|
|
636
536
|
},
|
|
637
|
-
"body": ": poppy\n\nevent: text-delta\ndata: {\"message_id\": \"msg_2\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid:
|
|
537
|
+
"body": ": poppy\n\nid: evt_2\ndata: {\"id\": \"evt_2\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"status\": \"working\", \"responder\": \"agent\"}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_2\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid: evt_3\ndata: {\"id\": \"evt_3\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_2\", \"sender\": \"agent\", \"role\": \"company\", \"text\": \"Hello from Manzanita Outfitters. Ask me about an order.\"}}\n\nid: evt_4\ndata: {\"id\": \"evt_4\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"status\": \"idle\", \"responder\": \"agent\"}\n\nid: evt_5\ndata: {\"id\": \"evt_5\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"status\": \"closed\", \"responder\": \"agent\"}\n\n",
|
|
638
538
|
"encoding": "sse"
|
|
639
539
|
}
|
|
640
540
|
}
|