@datalayer/agent-runtimes 1.5.115 → 1.5.121
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 +52 -52
- package/lib/api/runtimes/runtimes.d.ts +5 -0
- package/lib/apps/apps/appspec.js +4 -0
- package/lib/examples/pap/PapAgentIdentityView.js +0 -1
- package/lib/examples/pap/PapCompanyDiscoveryView.js +5 -4
- package/lib/examples/pap/PapGuidedJourneyView.js +31 -17
- package/lib/examples/pap/PapSessionLifecycleView.js +1 -1
- package/lib/examples/pap/traces/account-tokens.json +54 -30
- package/lib/examples/pap/traces/conversation-control.json +171 -220
- package/lib/examples/pap/traces/conversation-streaming.json +66 -44
- package/lib/examples/pap/traces/mediated-sign-in.json +54 -30
- package/lib/examples/pap/traces/operations.json +174 -223
- package/lib/examples/pap/traces/two-companies.json +252 -306
- package/lib/examples/pap/traces/user-with-a-company.json +159 -162
- package/lib/hooks/useCheckpoints.d.ts +2 -0
- package/lib/pap/index.d.ts +8 -0
- package/lib/pap/index.js +3 -6
- package/lib/portable/direct.d.ts +9 -3
- package/lib/portable/direct.js +9 -4
- package/lib/specs/actions.js +72 -9
- package/lib/specs/agents/agents.js +32 -9
- package/lib/specs/apps.js +18 -8
- package/lib/specs/appspecSchema.js +13 -1
- package/lib/specs/battles.js +6 -6
- package/lib/specs/mcpServers.js +66 -31
- package/lib/specs/models.d.ts +8 -1
- package/lib/specs/models.js +40 -2
- package/lib/specs/protocols.js +1 -1
- package/lib/specs/scenes.js +1 -5
- package/lib/types/agentspecs.d.ts +10 -0
- package/package.json +2 -2
- package/scripts/codegen/generate_apps.py +2 -0
- package/scripts/codegen/generate_models.py +17 -4
|
@@ -3,7 +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.
|
|
6
|
+
"sdk": "personal-agent-protocol 0.32.0",
|
|
7
7
|
"parties": [
|
|
8
8
|
{
|
|
9
9
|
"id": "user",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"content-type": "application/json"
|
|
87
87
|
},
|
|
88
88
|
"body": {
|
|
89
|
-
"protocol_version": "0.
|
|
89
|
+
"protocol_version": "0.4",
|
|
90
90
|
"organization": {
|
|
91
91
|
"name": "Manzanita Outfitters",
|
|
92
92
|
"domain": "manzanita.example"
|
|
@@ -103,7 +103,8 @@
|
|
|
103
103
|
"issuer": "https://manzanita.example",
|
|
104
104
|
"scopes": {
|
|
105
105
|
"orders:read": "See your orders, returns and exchanges",
|
|
106
|
-
"orders:write": "Exchange or return items in your orders"
|
|
106
|
+
"orders:write": "Exchange or return items in your orders",
|
|
107
|
+
"poppy:browser-sign-in": "Use the website signed in, with the other access you approve"
|
|
107
108
|
},
|
|
108
109
|
"scope_hints": {
|
|
109
110
|
"orders:read": {
|
|
@@ -138,25 +139,44 @@
|
|
|
138
139
|
"url": "https://manzanita.example/poppy/excluded-tasks.json"
|
|
139
140
|
},
|
|
140
141
|
"extensions": {
|
|
141
|
-
"operations":
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
142
|
+
"operations": [
|
|
143
|
+
{
|
|
144
|
+
"version": "2"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"links": [
|
|
148
|
+
{
|
|
149
|
+
"version": "1"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"disclosures": [
|
|
153
|
+
{
|
|
154
|
+
"version": "1"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"ucp": [
|
|
158
|
+
{
|
|
159
|
+
"version": "1"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"mediated-sign-in": [
|
|
163
|
+
{
|
|
164
|
+
"version": "1",
|
|
165
|
+
"fields": [
|
|
166
|
+
{
|
|
167
|
+
"name": "email",
|
|
168
|
+
"label": "Email",
|
|
169
|
+
"secret": false
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "password",
|
|
173
|
+
"label": "Password",
|
|
174
|
+
"secret": true
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"scopes": ["orders:read", "orders:write"]
|
|
178
|
+
}
|
|
179
|
+
]
|
|
160
180
|
}
|
|
161
181
|
}
|
|
162
182
|
}
|
|
@@ -180,7 +200,11 @@
|
|
|
180
200
|
"body": {
|
|
181
201
|
"resource": "https://manzanita.example",
|
|
182
202
|
"authorization_servers": ["https://manzanita.example"],
|
|
183
|
-
"scopes_supported": [
|
|
203
|
+
"scopes_supported": [
|
|
204
|
+
"orders:read",
|
|
205
|
+
"orders:write",
|
|
206
|
+
"poppy:browser-sign-in"
|
|
207
|
+
],
|
|
184
208
|
"bearer_methods_supported": ["header"]
|
|
185
209
|
}
|
|
186
210
|
}
|
|
@@ -211,7 +235,12 @@
|
|
|
211
235
|
"urn:ietf:params:oauth:grant-type:device_code",
|
|
212
236
|
"https://personalagentprotocol.org/grant/mediated-sign-in"
|
|
213
237
|
],
|
|
214
|
-
"
|
|
238
|
+
"token_endpoint_auth_methods_supported": ["private_key_jwt"],
|
|
239
|
+
"scopes_supported": [
|
|
240
|
+
"orders:read",
|
|
241
|
+
"orders:write",
|
|
242
|
+
"poppy:browser-sign-in"
|
|
243
|
+
],
|
|
215
244
|
"protected_resources": [
|
|
216
245
|
"https://manzanita.example",
|
|
217
246
|
"https://manzanita.example/mcp"
|
|
@@ -274,11 +303,11 @@
|
|
|
274
303
|
},
|
|
275
304
|
{
|
|
276
305
|
"label": "Conversation",
|
|
277
|
-
"value": "
|
|
306
|
+
"value": "open · handoff none · agent · 3 events"
|
|
278
307
|
},
|
|
279
308
|
{
|
|
280
309
|
"label": "Direct conversation",
|
|
281
|
-
"value": "
|
|
310
|
+
"value": "open · handoff none · agent · 2 events"
|
|
282
311
|
}
|
|
283
312
|
]
|
|
284
313
|
},
|
|
@@ -297,8 +326,8 @@
|
|
|
297
326
|
"poppy-session": "‹Session JWT›"
|
|
298
327
|
},
|
|
299
328
|
"body": {
|
|
329
|
+
"id": "req_XSR3SKeEAANSIWLnFUqnPg",
|
|
300
330
|
"message": {
|
|
301
|
-
"id": "msg_1",
|
|
302
331
|
"author": {
|
|
303
332
|
"type": "agent"
|
|
304
333
|
},
|
|
@@ -318,7 +347,7 @@
|
|
|
318
347
|
"created_at": "2026-10-11T09:00:00Z",
|
|
319
348
|
"type": "message",
|
|
320
349
|
"message": {
|
|
321
|
-
"id": "
|
|
350
|
+
"id": "req_XSR3SKeEAANSIWLnFUqnPg",
|
|
322
351
|
"author": {
|
|
323
352
|
"type": "agent"
|
|
324
353
|
},
|
|
@@ -329,35 +358,24 @@
|
|
|
329
358
|
{
|
|
330
359
|
"id": "evt_2",
|
|
331
360
|
"created_at": "2026-10-11T09:00:00Z",
|
|
332
|
-
"type": "state",
|
|
333
|
-
"status": "working",
|
|
334
|
-
"responder": "agent"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"id": "evt_3",
|
|
338
|
-
"created_at": "2026-10-11T09:00:00Z",
|
|
339
361
|
"type": "message",
|
|
340
362
|
"message": {
|
|
341
|
-
"id": "
|
|
363
|
+
"id": "msg_1",
|
|
342
364
|
"author": {
|
|
343
365
|
"type": "agent"
|
|
344
366
|
},
|
|
345
367
|
"role": "company",
|
|
368
|
+
"as_of_request": "req_XSR3SKeEAANSIWLnFUqnPg",
|
|
346
369
|
"text": "Hello from Manzanita Outfitters. Ask me about an order."
|
|
347
370
|
}
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"id": "evt_4",
|
|
351
|
-
"created_at": "2026-10-11T09:00:00Z",
|
|
352
|
-
"type": "state",
|
|
353
|
-
"status": "idle",
|
|
354
|
-
"responder": "agent"
|
|
355
371
|
}
|
|
356
372
|
],
|
|
357
|
-
"cursor": "
|
|
373
|
+
"cursor": "evt_2",
|
|
358
374
|
"has_more": false,
|
|
359
|
-
"
|
|
360
|
-
"
|
|
375
|
+
"working": false,
|
|
376
|
+
"handoff": "none",
|
|
377
|
+
"responder": "agent",
|
|
378
|
+
"closed": false
|
|
361
379
|
}
|
|
362
380
|
}
|
|
363
381
|
},
|
|
@@ -382,12 +400,7 @@
|
|
|
382
400
|
"client_name": "Atlas",
|
|
383
401
|
"jwks_uri": "https://atlas.example/jwks.json",
|
|
384
402
|
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
385
|
-
"token_endpoint_auth_method": "private_key_jwt"
|
|
386
|
-
"extensions": {
|
|
387
|
-
"operations": {
|
|
388
|
-
"version": "2"
|
|
389
|
-
}
|
|
390
|
-
}
|
|
403
|
+
"token_endpoint_auth_method": "private_key_jwt"
|
|
391
404
|
}
|
|
392
405
|
}
|
|
393
406
|
},
|
|
@@ -436,8 +449,8 @@
|
|
|
436
449
|
"poppy-session": "‹Session JWT›"
|
|
437
450
|
},
|
|
438
451
|
"body": {
|
|
452
|
+
"id": "req_mjMEXXexenM3mnqayLUhFg",
|
|
439
453
|
"message": {
|
|
440
|
-
"id": "msg_3",
|
|
441
454
|
"author": {
|
|
442
455
|
"type": "human"
|
|
443
456
|
},
|
|
@@ -451,9 +464,7 @@
|
|
|
451
464
|
"content-type": "application/json"
|
|
452
465
|
},
|
|
453
466
|
"body": {
|
|
454
|
-
"conversation_id": "cnv_2"
|
|
455
|
-
"status": "idle",
|
|
456
|
-
"responder": "agent"
|
|
467
|
+
"conversation_id": "cnv_2"
|
|
457
468
|
}
|
|
458
469
|
}
|
|
459
470
|
}
|
|
@@ -498,11 +509,11 @@
|
|
|
498
509
|
},
|
|
499
510
|
{
|
|
500
511
|
"label": "Conversation",
|
|
501
|
-
"value": "
|
|
512
|
+
"value": "open · handoff none · agent · 3 events"
|
|
502
513
|
},
|
|
503
514
|
{
|
|
504
515
|
"label": "Direct conversation",
|
|
505
|
-
"value": "
|
|
516
|
+
"value": "open · handoff none · agent · 2 events"
|
|
506
517
|
}
|
|
507
518
|
]
|
|
508
519
|
},
|
|
@@ -521,8 +532,8 @@
|
|
|
521
532
|
"poppy-session": "‹Session JWT›"
|
|
522
533
|
},
|
|
523
534
|
"body": {
|
|
535
|
+
"id": "req_gRt4MjFfxL3ml0fvRj5n2g",
|
|
524
536
|
"message": {
|
|
525
|
-
"id": "msg_4",
|
|
526
537
|
"author": {
|
|
527
538
|
"type": "agent"
|
|
528
539
|
},
|
|
@@ -546,7 +557,7 @@
|
|
|
546
557
|
{
|
|
547
558
|
"title": "Handoff to a person",
|
|
548
559
|
"channel": "Handoff",
|
|
549
|
-
"summary": "Closing the direct conversation tells the parent (direct_closed). Atlas then asks for a person:
|
|
560
|
+
"summary": "Closing the direct conversation tells the parent (direct_closed). Atlas then asks for a person: accepted, handoff pending while one is found, then a human responds.",
|
|
550
561
|
"chat": [
|
|
551
562
|
{
|
|
552
563
|
"speaker": "atlas",
|
|
@@ -588,11 +599,11 @@
|
|
|
588
599
|
},
|
|
589
600
|
{
|
|
590
601
|
"label": "Conversation",
|
|
591
|
-
"value": "
|
|
602
|
+
"value": "open · handoff none · human · 6 events"
|
|
592
603
|
},
|
|
593
604
|
{
|
|
594
605
|
"label": "Direct conversation",
|
|
595
|
-
"value": "closed · agent ·
|
|
606
|
+
"value": "closed · handoff none · agent · 3 events"
|
|
596
607
|
}
|
|
597
608
|
]
|
|
598
609
|
},
|
|
@@ -603,23 +614,23 @@
|
|
|
603
614
|
"to": "manzanita",
|
|
604
615
|
"method": "POST",
|
|
605
616
|
"url": "https://manzanita.example/poppy/conversations/cnv_2/close",
|
|
606
|
-
"status":
|
|
617
|
+
"status": 202,
|
|
607
618
|
"request": {
|
|
608
619
|
"headers": {
|
|
609
620
|
"content-type": "application/json",
|
|
610
621
|
"accept": "*/*",
|
|
611
622
|
"poppy-session": "‹Session JWT›"
|
|
612
623
|
},
|
|
613
|
-
"body": {
|
|
624
|
+
"body": {
|
|
625
|
+
"id": "req_qhxw1Nv3JHtGWc3nPlowdQ"
|
|
626
|
+
}
|
|
614
627
|
},
|
|
615
628
|
"response": {
|
|
616
629
|
"headers": {
|
|
617
630
|
"content-type": "application/json"
|
|
618
631
|
},
|
|
619
632
|
"body": {
|
|
620
|
-
"conversation_id": "cnv_2"
|
|
621
|
-
"status": "closed",
|
|
622
|
-
"responder": "agent"
|
|
633
|
+
"conversation_id": "cnv_2"
|
|
623
634
|
}
|
|
624
635
|
}
|
|
625
636
|
},
|
|
@@ -636,89 +647,31 @@
|
|
|
636
647
|
"accept": "*/*",
|
|
637
648
|
"poppy-session": "‹Session JWT›"
|
|
638
649
|
},
|
|
639
|
-
"body": {
|
|
650
|
+
"body": {
|
|
651
|
+
"id": "req_H6dJqM3I05JdS6LDxA4R_g"
|
|
652
|
+
}
|
|
640
653
|
},
|
|
641
654
|
"response": {
|
|
642
655
|
"headers": {
|
|
643
656
|
"content-type": "application/json"
|
|
644
657
|
},
|
|
645
658
|
"body": {
|
|
646
|
-
"conversation_id": "cnv_1"
|
|
647
|
-
"status": "idle",
|
|
648
|
-
"responder": "human"
|
|
659
|
+
"conversation_id": "cnv_1"
|
|
649
660
|
}
|
|
650
661
|
}
|
|
651
|
-
}
|
|
652
|
-
]
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"title": "Closing",
|
|
656
|
-
"channel": "Close",
|
|
657
|
-
"summary": "Atlas closes the conversation. Closing ends the conversation, not what it started.",
|
|
658
|
-
"chat": [
|
|
659
|
-
{
|
|
660
|
-
"speaker": "atlas",
|
|
661
|
-
"kind": "message",
|
|
662
|
-
"text": "Conversation with Manzanita closed."
|
|
663
|
-
}
|
|
664
|
-
],
|
|
665
|
-
"views": {
|
|
666
|
-
"atlas": [
|
|
667
|
-
{
|
|
668
|
-
"label": "Company",
|
|
669
|
-
"value": "Manzanita Outfitters · discovery verified"
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
"label": "Session",
|
|
673
|
-
"value": "signed out · a Session JWT on every request"
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"label": "Vault (host only)",
|
|
677
|
-
"value": "Empty"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"label": "Model sees",
|
|
681
|
-
"value": "Summaries and statuses, never a credential"
|
|
682
|
-
}
|
|
683
|
-
],
|
|
684
|
-
"manzanita": [
|
|
685
|
-
{
|
|
686
|
-
"label": "Verified client",
|
|
687
|
-
"value": "atlas.example/agent.json"
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
"label": "Sessions",
|
|
691
|
-
"value": "1 live"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"label": "Who is it?",
|
|
695
|
-
"value": "A pairwise identifier only"
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"label": "Conversation",
|
|
699
|
-
"value": "closed · human · 9 events"
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"label": "Direct conversation",
|
|
703
|
-
"value": "closed · agent · 5 events"
|
|
704
|
-
}
|
|
705
|
-
]
|
|
706
|
-
},
|
|
707
|
-
"sequence": [
|
|
662
|
+
},
|
|
708
663
|
{
|
|
709
664
|
"kind": "http",
|
|
710
665
|
"from": "atlas",
|
|
711
666
|
"to": "manzanita",
|
|
712
|
-
"method": "
|
|
713
|
-
"url": "https://manzanita.example/poppy/conversations/cnv_1/
|
|
667
|
+
"method": "GET",
|
|
668
|
+
"url": "https://manzanita.example/poppy/conversations/cnv_1/events?wait=0",
|
|
714
669
|
"status": 200,
|
|
715
670
|
"request": {
|
|
716
671
|
"headers": {
|
|
717
|
-
"
|
|
718
|
-
"accept": "*/*",
|
|
672
|
+
"accept": "application/json",
|
|
719
673
|
"poppy-session": "‹Session JWT›"
|
|
720
|
-
}
|
|
721
|
-
"body": {}
|
|
674
|
+
}
|
|
722
675
|
},
|
|
723
676
|
"response": {
|
|
724
677
|
"headers": {
|
|
@@ -726,32 +679,83 @@
|
|
|
726
679
|
},
|
|
727
680
|
"body": {
|
|
728
681
|
"conversation_id": "cnv_1",
|
|
729
|
-
"
|
|
730
|
-
|
|
682
|
+
"events": [
|
|
683
|
+
{
|
|
684
|
+
"id": "evt_1",
|
|
685
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
686
|
+
"type": "message",
|
|
687
|
+
"message": {
|
|
688
|
+
"id": "req_XSR3SKeEAANSIWLnFUqnPg",
|
|
689
|
+
"author": {
|
|
690
|
+
"type": "agent"
|
|
691
|
+
},
|
|
692
|
+
"text": "Hello, can someone help me?",
|
|
693
|
+
"role": "user"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"id": "evt_2",
|
|
698
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
699
|
+
"type": "message",
|
|
700
|
+
"message": {
|
|
701
|
+
"id": "msg_1",
|
|
702
|
+
"author": {
|
|
703
|
+
"type": "agent"
|
|
704
|
+
},
|
|
705
|
+
"role": "company",
|
|
706
|
+
"as_of_request": "req_XSR3SKeEAANSIWLnFUqnPg",
|
|
707
|
+
"text": "Hello from Manzanita Outfitters. Ask me about an order."
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"id": "evt_3",
|
|
712
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
713
|
+
"type": "direct_opened",
|
|
714
|
+
"conversation_id": "cnv_2"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"id": "evt_4",
|
|
718
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
719
|
+
"type": "direct_closed",
|
|
720
|
+
"conversation_id": "cnv_2"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"id": "evt_5",
|
|
724
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
725
|
+
"type": "state",
|
|
726
|
+
"handoff": "pending",
|
|
727
|
+
"responder": "agent",
|
|
728
|
+
"closed": false
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"id": "evt_6",
|
|
732
|
+
"created_at": "2026-10-11T09:00:00Z",
|
|
733
|
+
"type": "state",
|
|
734
|
+
"handoff": "none",
|
|
735
|
+
"responder": "human",
|
|
736
|
+
"closed": false
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"cursor": "evt_6",
|
|
740
|
+
"has_more": false,
|
|
741
|
+
"working": false,
|
|
742
|
+
"handoff": "none",
|
|
743
|
+
"responder": "human",
|
|
744
|
+
"closed": false
|
|
731
745
|
}
|
|
732
746
|
}
|
|
733
747
|
}
|
|
734
748
|
]
|
|
735
749
|
},
|
|
736
750
|
{
|
|
737
|
-
"title": "
|
|
738
|
-
"channel": "
|
|
739
|
-
"summary": "
|
|
751
|
+
"title": "Closing",
|
|
752
|
+
"channel": "Close",
|
|
753
|
+
"summary": "Atlas closes the conversation. Closing ends the conversation, not what it started.",
|
|
740
754
|
"chat": [
|
|
741
755
|
{
|
|
742
|
-
"speaker": "
|
|
743
|
-
"kind": "message",
|
|
744
|
-
"text": "A returns specialist would like to talk with you about the damaged jacket."
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"speaker": "user",
|
|
748
|
-
"kind": "message",
|
|
749
|
-
"text": "Yes, put me through."
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
"speaker": "manzanita",
|
|
756
|
+
"speaker": "atlas",
|
|
753
757
|
"kind": "message",
|
|
754
|
-
"text": "
|
|
758
|
+
"text": "Conversation with Manzanita closed."
|
|
755
759
|
}
|
|
756
760
|
],
|
|
757
761
|
"views": {
|
|
@@ -765,8 +769,8 @@
|
|
|
765
769
|
"value": "signed out · a Session JWT on every request"
|
|
766
770
|
},
|
|
767
771
|
{
|
|
768
|
-
"label": "
|
|
769
|
-
"value": "
|
|
772
|
+
"label": "Vault (host only)",
|
|
773
|
+
"value": "Empty"
|
|
770
774
|
},
|
|
771
775
|
{
|
|
772
776
|
"label": "Model sees",
|
|
@@ -779,16 +783,20 @@
|
|
|
779
783
|
"value": "atlas.example/agent.json"
|
|
780
784
|
},
|
|
781
785
|
{
|
|
782
|
-
"label": "
|
|
783
|
-
"value": "
|
|
786
|
+
"label": "Sessions",
|
|
787
|
+
"value": "1 live"
|
|
784
788
|
},
|
|
785
789
|
{
|
|
786
|
-
"label": "
|
|
787
|
-
"value": "
|
|
790
|
+
"label": "Who is it?",
|
|
791
|
+
"value": "A pairwise identifier only"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"label": "Conversation",
|
|
795
|
+
"value": "closed · handoff none · human · 7 events"
|
|
788
796
|
},
|
|
789
797
|
{
|
|
790
|
-
"label": "
|
|
791
|
-
"value": "
|
|
798
|
+
"label": "Direct conversation",
|
|
799
|
+
"value": "closed · handoff none · agent · 3 events"
|
|
792
800
|
}
|
|
793
801
|
]
|
|
794
802
|
},
|
|
@@ -798,62 +806,8 @@
|
|
|
798
806
|
"from": "atlas",
|
|
799
807
|
"to": "manzanita",
|
|
800
808
|
"method": "POST",
|
|
801
|
-
"url": "https://manzanita.example/poppy/conversations
|
|
802
|
-
"status":
|
|
803
|
-
"request": {
|
|
804
|
-
"headers": {
|
|
805
|
-
"content-type": "application/json",
|
|
806
|
-
"accept": "*/*",
|
|
807
|
-
"poppy-session": "‹Session JWT›"
|
|
808
|
-
},
|
|
809
|
-
"body": {
|
|
810
|
-
"parent_conversation_id": "cnv_1",
|
|
811
|
-
"user_requested_event_id": "evt_7"
|
|
812
|
-
}
|
|
813
|
-
},
|
|
814
|
-
"response": {
|
|
815
|
-
"headers": {
|
|
816
|
-
"content-type": "application/json"
|
|
817
|
-
},
|
|
818
|
-
"body": {
|
|
819
|
-
"conversation_id": "cnv_3",
|
|
820
|
-
"events": [
|
|
821
|
-
{
|
|
822
|
-
"id": "evt_1",
|
|
823
|
-
"created_at": "2026-11-07T09:05:00Z",
|
|
824
|
-
"type": "message",
|
|
825
|
-
"message": {
|
|
826
|
-
"id": "msg_9",
|
|
827
|
-
"author": {
|
|
828
|
-
"type": "agent",
|
|
829
|
-
"name": "Manzanita Outfitters"
|
|
830
|
-
},
|
|
831
|
-
"role": "company",
|
|
832
|
-
"text": "Hello Ada, this is the returns desk. What happened to the jacket?"
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"id": "evt_2",
|
|
837
|
-
"created_at": "2026-11-07T09:05:00Z",
|
|
838
|
-
"type": "state",
|
|
839
|
-
"status": "idle",
|
|
840
|
-
"responder": "agent"
|
|
841
|
-
}
|
|
842
|
-
],
|
|
843
|
-
"cursor": "evt_2",
|
|
844
|
-
"has_more": false,
|
|
845
|
-
"status": "idle",
|
|
846
|
-
"responder": "agent"
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"kind": "http",
|
|
852
|
-
"from": "atlas",
|
|
853
|
-
"to": "manzanita",
|
|
854
|
-
"method": "POST",
|
|
855
|
-
"url": "https://manzanita.example/poppy/conversations?wait=0",
|
|
856
|
-
"status": 201,
|
|
809
|
+
"url": "https://manzanita.example/poppy/conversations/cnv_1/close",
|
|
810
|
+
"status": 202,
|
|
857
811
|
"request": {
|
|
858
812
|
"headers": {
|
|
859
813
|
"content-type": "application/json",
|
|
@@ -861,8 +815,7 @@
|
|
|
861
815
|
"poppy-session": "‹Session JWT›"
|
|
862
816
|
},
|
|
863
817
|
"body": {
|
|
864
|
-
"
|
|
865
|
-
"user_requested_event_id": "evt_7"
|
|
818
|
+
"id": "req_yWVCDRK5M-6zRFwWzMGsWA"
|
|
866
819
|
}
|
|
867
820
|
},
|
|
868
821
|
"response": {
|
|
@@ -870,9 +823,7 @@
|
|
|
870
823
|
"content-type": "application/json"
|
|
871
824
|
},
|
|
872
825
|
"body": {
|
|
873
|
-
"conversation_id": "
|
|
874
|
-
"status": "idle",
|
|
875
|
-
"responder": "agent"
|
|
826
|
+
"conversation_id": "cnv_1"
|
|
876
827
|
}
|
|
877
828
|
}
|
|
878
829
|
}
|