@datalayer/agent-runtimes 1.5.2 → 1.5.3

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.
@@ -3,6 +3,7 @@
3
3
  "title": "Operations",
4
4
  "description": "Manzanita proposes an exchange; Atlas confirms only the exact revision Ada approved, at most once.",
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",
@@ -453,7 +353,7 @@
453
353
  },
454
354
  {
455
355
  "label": "Conversation",
456
- "value": "idle · agent · 2 events"
356
+ "value": "idle · agent · 4 events"
457
357
  },
458
358
  {
459
359
  "label": "Operation orders.exchange",
@@ -497,97 +397,6 @@
497
397
  }
498
398
  }
499
399
  },
500
- {
501
- "kind": "http",
502
- "from": "manzanita",
503
- "to": "atlas",
504
- "method": "GET",
505
- "url": "https://atlas.example/agent.json",
506
- "status": 200,
507
- "request": {
508
- "headers": {
509
- "accept": "application/json"
510
- }
511
- },
512
- "response": {
513
- "headers": {
514
- "content-type": "application/json"
515
- },
516
- "body": {
517
- "client_id": "https://atlas.example/agent.json",
518
- "client_name": "Atlas",
519
- "jwks_uri": "https://atlas.example/jwks.json",
520
- "redirect_uris": ["https://atlas.example/oauth/callback"],
521
- "token_endpoint_auth_method": "private_key_jwt",
522
- "extensions": {
523
- "operations": {
524
- "version": "1"
525
- }
526
- }
527
- }
528
- }
529
- },
530
- {
531
- "kind": "http",
532
- "from": "manzanita",
533
- "to": "atlas",
534
- "method": "GET",
535
- "url": "https://atlas.example/agent.json",
536
- "status": 200,
537
- "request": {
538
- "headers": {
539
- "accept": "application/json"
540
- }
541
- },
542
- "response": {
543
- "headers": {
544
- "content-type": "application/json"
545
- },
546
- "body": {
547
- "client_id": "https://atlas.example/agent.json",
548
- "client_name": "Atlas",
549
- "jwks_uri": "https://atlas.example/jwks.json",
550
- "redirect_uris": ["https://atlas.example/oauth/callback"],
551
- "token_endpoint_auth_method": "private_key_jwt",
552
- "extensions": {
553
- "operations": {
554
- "version": "1"
555
- }
556
- }
557
- }
558
- }
559
- },
560
- {
561
- "kind": "http",
562
- "from": "manzanita",
563
- "to": "atlas",
564
- "method": "GET",
565
- "url": "https://atlas.example/jwks.json",
566
- "status": 200,
567
- "request": {
568
- "headers": {
569
- "accept": "application/json"
570
- }
571
- },
572
- "response": {
573
- "headers": {
574
- "content-type": "application/json"
575
- },
576
- "body": {
577
- "keys": [
578
- {
579
- "kty": "EC",
580
- "crv": "P-256",
581
- "x": "‹public key›",
582
- "y": "‹public key›",
583
- "kid": "key-1",
584
- "use": "sig",
585
- "alg": "ES256"
586
- }
587
- ]
588
- }
589
- }
590
- },
591
400
  {
592
401
  "kind": "http",
593
402
  "from": "atlas",
@@ -621,97 +430,6 @@
621
430
  }
622
431
  }
623
432
  },
624
- {
625
- "kind": "http",
626
- "from": "manzanita",
627
- "to": "atlas",
628
- "method": "GET",
629
- "url": "https://atlas.example/agent.json",
630
- "status": 200,
631
- "request": {
632
- "headers": {
633
- "accept": "application/json"
634
- }
635
- },
636
- "response": {
637
- "headers": {
638
- "content-type": "application/json"
639
- },
640
- "body": {
641
- "client_id": "https://atlas.example/agent.json",
642
- "client_name": "Atlas",
643
- "jwks_uri": "https://atlas.example/jwks.json",
644
- "redirect_uris": ["https://atlas.example/oauth/callback"],
645
- "token_endpoint_auth_method": "private_key_jwt",
646
- "extensions": {
647
- "operations": {
648
- "version": "1"
649
- }
650
- }
651
- }
652
- }
653
- },
654
- {
655
- "kind": "http",
656
- "from": "manzanita",
657
- "to": "atlas",
658
- "method": "GET",
659
- "url": "https://atlas.example/agent.json",
660
- "status": 200,
661
- "request": {
662
- "headers": {
663
- "accept": "application/json"
664
- }
665
- },
666
- "response": {
667
- "headers": {
668
- "content-type": "application/json"
669
- },
670
- "body": {
671
- "client_id": "https://atlas.example/agent.json",
672
- "client_name": "Atlas",
673
- "jwks_uri": "https://atlas.example/jwks.json",
674
- "redirect_uris": ["https://atlas.example/oauth/callback"],
675
- "token_endpoint_auth_method": "private_key_jwt",
676
- "extensions": {
677
- "operations": {
678
- "version": "1"
679
- }
680
- }
681
- }
682
- }
683
- },
684
- {
685
- "kind": "http",
686
- "from": "manzanita",
687
- "to": "atlas",
688
- "method": "GET",
689
- "url": "https://atlas.example/jwks.json",
690
- "status": 200,
691
- "request": {
692
- "headers": {
693
- "accept": "application/json"
694
- }
695
- },
696
- "response": {
697
- "headers": {
698
- "content-type": "application/json"
699
- },
700
- "body": {
701
- "keys": [
702
- {
703
- "kty": "EC",
704
- "crv": "P-256",
705
- "x": "‹public key›",
706
- "y": "‹public key›",
707
- "kid": "key-1",
708
- "use": "sig",
709
- "alg": "ES256"
710
- }
711
- ]
712
- }
713
- }
714
- },
715
433
  {
716
434
  "kind": "action",
717
435
  "from": "user",
@@ -757,97 +475,6 @@
757
475
  }
758
476
  }
759
477
  },
760
- {
761
- "kind": "http",
762
- "from": "manzanita",
763
- "to": "atlas",
764
- "method": "GET",
765
- "url": "https://atlas.example/agent.json",
766
- "status": 200,
767
- "request": {
768
- "headers": {
769
- "accept": "application/json"
770
- }
771
- },
772
- "response": {
773
- "headers": {
774
- "content-type": "application/json"
775
- },
776
- "body": {
777
- "client_id": "https://atlas.example/agent.json",
778
- "client_name": "Atlas",
779
- "jwks_uri": "https://atlas.example/jwks.json",
780
- "redirect_uris": ["https://atlas.example/oauth/callback"],
781
- "token_endpoint_auth_method": "private_key_jwt",
782
- "extensions": {
783
- "operations": {
784
- "version": "1"
785
- }
786
- }
787
- }
788
- }
789
- },
790
- {
791
- "kind": "http",
792
- "from": "manzanita",
793
- "to": "atlas",
794
- "method": "GET",
795
- "url": "https://atlas.example/agent.json",
796
- "status": 200,
797
- "request": {
798
- "headers": {
799
- "accept": "application/json"
800
- }
801
- },
802
- "response": {
803
- "headers": {
804
- "content-type": "application/json"
805
- },
806
- "body": {
807
- "client_id": "https://atlas.example/agent.json",
808
- "client_name": "Atlas",
809
- "jwks_uri": "https://atlas.example/jwks.json",
810
- "redirect_uris": ["https://atlas.example/oauth/callback"],
811
- "token_endpoint_auth_method": "private_key_jwt",
812
- "extensions": {
813
- "operations": {
814
- "version": "1"
815
- }
816
- }
817
- }
818
- }
819
- },
820
- {
821
- "kind": "http",
822
- "from": "manzanita",
823
- "to": "atlas",
824
- "method": "GET",
825
- "url": "https://atlas.example/jwks.json",
826
- "status": 200,
827
- "request": {
828
- "headers": {
829
- "accept": "application/json"
830
- }
831
- },
832
- "response": {
833
- "headers": {
834
- "content-type": "application/json"
835
- },
836
- "body": {
837
- "keys": [
838
- {
839
- "kty": "EC",
840
- "crv": "P-256",
841
- "x": "‹public key›",
842
- "y": "‹public key›",
843
- "kid": "key-1",
844
- "use": "sig",
845
- "alg": "ES256"
846
- }
847
- ]
848
- }
849
- }
850
- },
851
478
  {
852
479
  "kind": "http",
853
480
  "from": "atlas",
@@ -891,6 +518,13 @@
891
518
  {
892
519
  "id": "evt_2",
893
520
  "created_at": "2026-10-11T09:00:10Z",
521
+ "type": "state",
522
+ "status": "working",
523
+ "responder": "agent"
524
+ },
525
+ {
526
+ "id": "evt_3",
527
+ "created_at": "2026-10-11T09:00:10Z",
894
528
  "type": "message",
895
529
  "message": {
896
530
  "id": "msg_2",
@@ -911,14 +545,21 @@
911
545
  },
912
546
  "expires_at": "2026-10-11T09:15:10Z",
913
547
  "user_approval_required": true,
914
- "url": null,
548
+ "url": "https://manzanita.example/operations/op_1",
915
549
  "confirmation": null,
916
550
  "result": null
917
551
  }
918
552
  }
553
+ },
554
+ {
555
+ "id": "evt_4",
556
+ "created_at": "2026-10-11T09:00:10Z",
557
+ "type": "state",
558
+ "status": "idle",
559
+ "responder": "agent"
919
560
  }
920
561
  ],
921
- "cursor": "evt_2",
562
+ "cursor": "evt_4",
922
563
  "has_more": false,
923
564
  "status": "idle",
924
565
  "responder": "agent"
@@ -996,7 +637,7 @@
996
637
  },
997
638
  {
998
639
  "label": "Conversation",
999
- "value": "idle · agent · 2 events"
640
+ "value": "idle · agent · 4 events"
1000
641
  },
1001
642
  {
1002
643
  "label": "Operation orders.exchange",
@@ -1052,7 +693,7 @@
1052
693
  },
1053
694
  "expires_at": "2026-10-11T09:15:10Z",
1054
695
  "user_approval_required": true,
1055
- "url": null,
696
+ "url": "https://manzanita.example/operations/op_1",
1056
697
  "confirmation": null,
1057
698
  "result": null
1058
699
  }
@@ -1125,7 +766,7 @@
1125
766
  },
1126
767
  {
1127
768
  "label": "Conversation",
1128
- "value": "idle · agent · 2 events"
769
+ "value": "idle · agent · 4 events"
1129
770
  },
1130
771
  {
1131
772
  "label": "Operation orders.exchange",
@@ -1176,9 +817,8 @@
1176
817
  },
1177
818
  "return_by": "2026-10-25"
1178
819
  },
1179
- "expires_at": null,
1180
820
  "user_approval_required": true,
1181
- "url": null,
821
+ "url": "https://manzanita.example/operations/op_1",
1182
822
  "confirmation": {
1183
823
  "revision": 2,
1184
824
  "approved_by": "user",
@@ -1233,9 +873,8 @@
1233
873
  },
1234
874
  "return_by": "2026-10-25"
1235
875
  },
1236
- "expires_at": null,
1237
876
  "user_approval_required": true,
1238
- "url": null,
877
+ "url": "https://manzanita.example/operations/op_1",
1239
878
  "confirmation": {
1240
879
  "revision": 2,
1241
880
  "approved_by": "user",
@@ -1320,7 +959,7 @@
1320
959
  },
1321
960
  {
1322
961
  "label": "Conversation",
1323
- "value": "idle · agent · 4 events"
962
+ "value": "idle · agent · 8 events"
1324
963
  },
1325
964
  {
1326
965
  "label": "Operation orders.exchange",
@@ -1338,7 +977,7 @@
1338
977
  "from": "atlas",
1339
978
  "to": "manzanita",
1340
979
  "method": "POST",
1341
- "url": "https://manzanita.example/poppy/conversations/cnv_1/messages?cursor=evt_2&wait=0",
980
+ "url": "https://manzanita.example/poppy/conversations/cnv_1/messages?cursor=evt_4&wait=0",
1342
981
  "status": 202,
1343
982
  "request": {
1344
983
  "headers": {
@@ -1363,7 +1002,7 @@
1363
1002
  "conversation_id": "cnv_1",
1364
1003
  "events": [
1365
1004
  {
1366
- "id": "evt_3",
1005
+ "id": "evt_5",
1367
1006
  "created_at": "2026-10-11T09:00:10Z",
1368
1007
  "type": "message",
1369
1008
  "message": {
@@ -1374,7 +1013,14 @@
1374
1013
  }
1375
1014
  },
1376
1015
  {
1377
- "id": "evt_4",
1016
+ "id": "evt_6",
1017
+ "created_at": "2026-10-11T09:00:10Z",
1018
+ "type": "state",
1019
+ "status": "working",
1020
+ "responder": "agent"
1021
+ },
1022
+ {
1023
+ "id": "evt_7",
1378
1024
  "created_at": "2026-10-11T09:00:10Z",
1379
1025
  "type": "message",
1380
1026
  "message": {
@@ -1396,14 +1042,21 @@
1396
1042
  },
1397
1043
  "expires_at": "2026-10-11T09:15:10Z",
1398
1044
  "user_approval_required": true,
1399
- "url": null,
1045
+ "url": "https://manzanita.example/operations/op_2",
1400
1046
  "confirmation": null,
1401
1047
  "result": null
1402
1048
  }
1403
1049
  }
1050
+ },
1051
+ {
1052
+ "id": "evt_8",
1053
+ "created_at": "2026-10-11T09:00:10Z",
1054
+ "type": "state",
1055
+ "status": "idle",
1056
+ "responder": "agent"
1404
1057
  }
1405
1058
  ],
1406
- "cursor": "evt_4",
1059
+ "cursor": "evt_8",
1407
1060
  "has_more": false,
1408
1061
  "status": "idle",
1409
1062
  "responder": "agent"
@@ -1450,7 +1103,7 @@
1450
1103
  },
1451
1104
  "expires_at": "2026-10-11T09:15:10Z",
1452
1105
  "user_approval_required": true,
1453
- "url": null,
1106
+ "url": "https://manzanita.example/operations/op_2",
1454
1107
  "confirmation": null,
1455
1108
  "result": {
1456
1109
  "summary": "Nothing was changed.",