@datalayer/agent-runtimes 1.6.28 → 1.6.32

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.
@@ -34,8 +34,9 @@ export declare const DEFAULT_EMOJI = "\uD83D\uDC40";
34
34
  export declare const APP_KINDS: AppKind[];
35
35
  export declare const APP_ACCENTS: AppAccent[];
36
36
  /**
37
- * The themes an application may run in: Appearance's, as
38
- * primer-addons lists them (`themeVariants`), in its order.
37
+ * The themes an application may run in: the Appspec's (`ThemeVariant` in
38
+ * agentspecs), each one of Appearance's as primer-addons lists them
39
+ * (`themeVariants`).
39
40
  */
40
41
  export declare const APP_THEME_VARIANTS: AppThemeVariant[];
41
42
  /** The colour modes a theme is worn in. */
@@ -23,8 +23,9 @@ export const APP_ACCENTS = [
23
23
  'violet',
24
24
  ];
25
25
  /**
26
- * The themes an application may run in: Appearance's, as
27
- * primer-addons lists them (`themeVariants`), in its order.
26
+ * The themes an application may run in: the Appspec's (`ThemeVariant` in
27
+ * agentspecs), each one of Appearance's as primer-addons lists them
28
+ * (`themeVariants`).
28
29
  */
29
30
  export const APP_THEME_VARIANTS = [
30
31
  'datalayer',
@@ -3,7 +3,7 @@
3
3
  "title": "Refresh tokens",
4
4
  "description": "Refresh, rotation, narrowing, re-consent, and revocation of the refresh token Atlas holds for Ada at Manzanita, which never leaves the host's vault.",
5
5
  "generator": "examples/personal-agent-protocol/traces/generate.py",
6
- "sdk": "personal-agent-protocol 0.32.0",
6
+ "sdk": "personal-agent-protocol 0.33.0",
7
7
  "parties": [
8
8
  {
9
9
  "id": "user",
@@ -132,16 +132,13 @@
132
132
  "web": {
133
133
  "browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
134
134
  },
135
- "feedback": {
136
- "endpoint": "https://manzanita.example/poppy/feedback"
137
- },
138
- "excluded_tasks": {
139
- "url": "https://manzanita.example/poppy/excluded-tasks.json"
135
+ "tasks": {
136
+ "endpoint": "https://manzanita.example/poppy/tasks"
140
137
  },
141
138
  "extensions": {
142
139
  "operations": [
143
140
  {
144
- "version": "2"
141
+ "version": "3"
145
142
  }
146
143
  ],
147
144
  "links": [
@@ -247,7 +244,8 @@
247
244
  ],
248
245
  "authorization_endpoint": "https://manzanita.example/oauth/authorize",
249
246
  "code_challenge_methods_supported": ["S256"],
250
- "device_1": "https://manzanita.example/oauth/device"
247
+ "device_1": "https://manzanita.example/oauth/device",
248
+ "client_id_metadata_document_supported": true
251
249
  }
252
250
  }
253
251
  }
@@ -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.32.0",
6
+ "sdk": "personal-agent-protocol 0.33.0",
7
7
  "parties": [
8
8
  {
9
9
  "id": "user",
@@ -132,16 +132,13 @@
132
132
  "web": {
133
133
  "browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
134
134
  },
135
- "feedback": {
136
- "endpoint": "https://manzanita.example/poppy/feedback"
137
- },
138
- "excluded_tasks": {
139
- "url": "https://manzanita.example/poppy/excluded-tasks.json"
135
+ "tasks": {
136
+ "endpoint": "https://manzanita.example/poppy/tasks"
140
137
  },
141
138
  "extensions": {
142
139
  "operations": [
143
140
  {
144
- "version": "2"
141
+ "version": "3"
145
142
  }
146
143
  ],
147
144
  "links": [
@@ -247,7 +244,8 @@
247
244
  ],
248
245
  "authorization_endpoint": "https://manzanita.example/oauth/authorize",
249
246
  "code_challenge_methods_supported": ["S256"],
250
- "device_1": "https://manzanita.example/oauth/device"
247
+ "device_1": "https://manzanita.example/oauth/device",
248
+ "client_id_metadata_document_supported": true
251
249
  }
252
250
  }
253
251
  }
@@ -326,7 +324,7 @@
326
324
  "poppy-session": "‹Session JWT›"
327
325
  },
328
326
  "body": {
329
- "id": "req_XSR3SKeEAANSIWLnFUqnPg",
327
+ "id": "req_MC3GdLl8YxsI_ZKegETKJg",
330
328
  "message": {
331
329
  "author": {
332
330
  "type": "agent"
@@ -347,7 +345,7 @@
347
345
  "created_at": "2026-10-11T09:00:00Z",
348
346
  "type": "message",
349
347
  "message": {
350
- "id": "req_XSR3SKeEAANSIWLnFUqnPg",
348
+ "id": "req_MC3GdLl8YxsI_ZKegETKJg",
351
349
  "author": {
352
350
  "type": "agent"
353
351
  },
@@ -365,7 +363,7 @@
365
363
  "type": "agent"
366
364
  },
367
365
  "role": "company",
368
- "as_of_request": "req_XSR3SKeEAANSIWLnFUqnPg",
366
+ "as_of_request": "req_MC3GdLl8YxsI_ZKegETKJg",
369
367
  "text": "Hello from Manzanita Outfitters. Ask me about an order."
370
368
  }
371
369
  }
@@ -449,7 +447,7 @@
449
447
  "poppy-session": "‹Session JWT›"
450
448
  },
451
449
  "body": {
452
- "id": "req_mjMEXXexenM3mnqayLUhFg",
450
+ "id": "req_hE8_3oK70Dwy61Vf8E34rA",
453
451
  "message": {
454
452
  "author": {
455
453
  "type": "human"
@@ -532,7 +530,7 @@
532
530
  "poppy-session": "‹Session JWT›"
533
531
  },
534
532
  "body": {
535
- "id": "req_gRt4MjFfxL3ml0fvRj5n2g",
533
+ "id": "req_nm0Kd_Mr4HQGQAr8mCxsHQ",
536
534
  "message": {
537
535
  "author": {
538
536
  "type": "agent"
@@ -622,7 +620,7 @@
622
620
  "poppy-session": "‹Session JWT›"
623
621
  },
624
622
  "body": {
625
- "id": "req_qhxw1Nv3JHtGWc3nPlowdQ"
623
+ "id": "req_N2F9lnQYEq086m0J47M3gA"
626
624
  }
627
625
  },
628
626
  "response": {
@@ -648,7 +646,7 @@
648
646
  "poppy-session": "‹Session JWT›"
649
647
  },
650
648
  "body": {
651
- "id": "req_H6dJqM3I05JdS6LDxA4R_g"
649
+ "id": "req_e-DNA22y7J5CBtN5MiWeKg"
652
650
  }
653
651
  },
654
652
  "response": {
@@ -685,7 +683,7 @@
685
683
  "created_at": "2026-10-11T09:00:00Z",
686
684
  "type": "message",
687
685
  "message": {
688
- "id": "req_XSR3SKeEAANSIWLnFUqnPg",
686
+ "id": "req_MC3GdLl8YxsI_ZKegETKJg",
689
687
  "author": {
690
688
  "type": "agent"
691
689
  },
@@ -703,7 +701,7 @@
703
701
  "type": "agent"
704
702
  },
705
703
  "role": "company",
706
- "as_of_request": "req_XSR3SKeEAANSIWLnFUqnPg",
704
+ "as_of_request": "req_MC3GdLl8YxsI_ZKegETKJg",
707
705
  "text": "Hello from Manzanita Outfitters. Ask me about an order."
708
706
  }
709
707
  },
@@ -815,7 +813,7 @@
815
813
  "poppy-session": "‹Session JWT›"
816
814
  },
817
815
  "body": {
818
- "id": "req_yWVCDRK5M-6zRFwWzMGsWA"
816
+ "id": "req_oqILBSDxAkeqMK3JN0gBaA"
819
817
  }
820
818
  },
821
819
  "response": {
@@ -3,7 +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.32.0",
6
+ "sdk": "personal-agent-protocol 0.33.0",
7
7
  "parties": [
8
8
  {
9
9
  "id": "user",
@@ -132,16 +132,13 @@
132
132
  "web": {
133
133
  "browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
134
134
  },
135
- "feedback": {
136
- "endpoint": "https://manzanita.example/poppy/feedback"
137
- },
138
- "excluded_tasks": {
139
- "url": "https://manzanita.example/poppy/excluded-tasks.json"
135
+ "tasks": {
136
+ "endpoint": "https://manzanita.example/poppy/tasks"
140
137
  },
141
138
  "extensions": {
142
139
  "operations": [
143
140
  {
144
- "version": "2"
141
+ "version": "3"
145
142
  }
146
143
  ],
147
144
  "links": [
@@ -247,7 +244,8 @@
247
244
  ],
248
245
  "authorization_endpoint": "https://manzanita.example/oauth/authorize",
249
246
  "code_challenge_methods_supported": ["S256"],
250
- "device_1": "https://manzanita.example/oauth/device"
247
+ "device_1": "https://manzanita.example/oauth/device",
248
+ "client_id_metadata_document_supported": true
251
249
  }
252
250
  }
253
251
  }
@@ -311,7 +309,7 @@
311
309
  "poppy-session": "‹Session JWT›"
312
310
  },
313
311
  "body": {
314
- "id": "req_Ivd96OaxRnL5xoZA6CUC8w",
312
+ "id": "req_gIZsgYoMHE66L_abuePDyQ",
315
313
  "message": {
316
314
  "author": {
317
315
  "type": "human"
@@ -456,7 +454,7 @@
456
454
  "poppy-session": "‹Session JWT›"
457
455
  },
458
456
  "body": {
459
- "id": "req_1ZXKbbSdgK4N-K1-e9ca5Q"
457
+ "id": "req_g1ZaXeJ5_LiMw6ah5_WEhg"
460
458
  }
461
459
  },
462
460
  "response": {
@@ -486,7 +484,7 @@
486
484
  "content-type": "text/event-stream",
487
485
  "cache-control": "no-store"
488
486
  },
489
- "body": ": poppy\n\nevent: working\ndata: {\"working\": false}\n\nid: evt_1\ndata: {\"id\": \"evt_1\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"req_Ivd96OaxRnL5xoZA6CUC8w\", \"author\": {\"type\": \"human\"}, \"text\": \"Hello\", \"role\": \"user\"}}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_1\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid: evt_2\ndata: {\"id\": \"evt_2\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_1\", \"author\": {\"type\": \"agent\"}, \"role\": \"company\", \"as_of_request\": \"req_Ivd96OaxRnL5xoZA6CUC8w\", \"text\": \"Hello from Manzanita Outfitters. Ask me about an order.\"}}\n\nid: evt_3\ndata: {\"id\": \"evt_3\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"handoff\": \"none\", \"responder\": \"agent\", \"closed\": true}\n\n",
487
+ "body": ": poppy\n\nevent: working\ndata: {\"working\": false}\n\nid: evt_1\ndata: {\"id\": \"evt_1\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"req_gIZsgYoMHE66L_abuePDyQ\", \"author\": {\"type\": \"human\"}, \"text\": \"Hello\", \"role\": \"user\"}}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_1\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid: evt_2\ndata: {\"id\": \"evt_2\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_1\", \"author\": {\"type\": \"agent\"}, \"role\": \"company\", \"as_of_request\": \"req_gIZsgYoMHE66L_abuePDyQ\", \"text\": \"Hello from Manzanita Outfitters. Ask me about an order.\"}}\n\nid: evt_3\ndata: {\"id\": \"evt_3\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"handoff\": \"none\", \"responder\": \"agent\", \"closed\": true}\n\n",
490
488
  "encoding": "sse"
491
489
  }
492
490
  }
@@ -555,7 +553,7 @@
555
553
  "content-type": "text/event-stream",
556
554
  "cache-control": "no-store"
557
555
  },
558
- "body": ": poppy\n\nevent: working\ndata: {\"working\": false}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_1\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid: evt_2\ndata: {\"id\": \"evt_2\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_1\", \"author\": {\"type\": \"agent\"}, \"role\": \"company\", \"as_of_request\": \"req_Ivd96OaxRnL5xoZA6CUC8w\", \"text\": \"Hello from Manzanita Outfitters. Ask me about an order.\"}}\n\nid: evt_3\ndata: {\"id\": \"evt_3\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"handoff\": \"none\", \"responder\": \"agent\", \"closed\": true}\n\n",
556
+ "body": ": poppy\n\nevent: working\ndata: {\"working\": false}\n\nevent: text-delta\ndata: {\"message_id\": \"msg_1\", \"text\": \"Hello from Manzanita Outfit\"}\n\nid: evt_2\ndata: {\"id\": \"evt_2\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"message\", \"message\": {\"id\": \"msg_1\", \"author\": {\"type\": \"agent\"}, \"role\": \"company\", \"as_of_request\": \"req_gIZsgYoMHE66L_abuePDyQ\", \"text\": \"Hello from Manzanita Outfitters. Ask me about an order.\"}}\n\nid: evt_3\ndata: {\"id\": \"evt_3\", \"created_at\": \"2026-10-11T09:00:00Z\", \"type\": \"state\", \"handoff\": \"none\", \"responder\": \"agent\", \"closed\": true}\n\n",
559
557
  "encoding": "sse"
560
558
  }
561
559
  }
@@ -3,7 +3,7 @@
3
3
  "title": "Mediated Sign-In",
4
4
  "description": "Ada signs in to Manzanita without leaving Atlas: the host's protected input collects the fields Manzanita declares in its mediated-sign-in extension and sends them to Manzanita's token endpoint, once, as an extension grant.",
5
5
  "generator": "examples/personal-agent-protocol/traces/generate.py",
6
- "sdk": "personal-agent-protocol 0.32.0",
6
+ "sdk": "personal-agent-protocol 0.33.0",
7
7
  "parties": [
8
8
  {
9
9
  "id": "user",
@@ -132,16 +132,13 @@
132
132
  "web": {
133
133
  "browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
134
134
  },
135
- "feedback": {
136
- "endpoint": "https://manzanita.example/poppy/feedback"
137
- },
138
- "excluded_tasks": {
139
- "url": "https://manzanita.example/poppy/excluded-tasks.json"
135
+ "tasks": {
136
+ "endpoint": "https://manzanita.example/poppy/tasks"
140
137
  },
141
138
  "extensions": {
142
139
  "operations": [
143
140
  {
144
- "version": "2"
141
+ "version": "3"
145
142
  }
146
143
  ],
147
144
  "links": [
@@ -247,7 +244,8 @@
247
244
  ],
248
245
  "authorization_endpoint": "https://manzanita.example/oauth/authorize",
249
246
  "code_challenge_methods_supported": ["S256"],
250
- "device_1": "https://manzanita.example/oauth/device"
247
+ "device_1": "https://manzanita.example/oauth/device",
248
+ "client_id_metadata_document_supported": true
251
249
  }
252
250
  }
253
251
  }
@@ -3,7 +3,7 @@
3
3
  "title": "Operations",
4
4
  "description": "Manzanita returns an exchange as an operation; Atlas asks Ada about every revision, and sends her approval of that exact revision, performed at most once.",
5
5
  "generator": "examples/personal-agent-protocol/traces/generate.py",
6
- "sdk": "personal-agent-protocol 0.32.0",
6
+ "sdk": "personal-agent-protocol 0.33.0",
7
7
  "parties": [
8
8
  {
9
9
  "id": "user",
@@ -132,16 +132,13 @@
132
132
  "web": {
133
133
  "browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
134
134
  },
135
- "feedback": {
136
- "endpoint": "https://manzanita.example/poppy/feedback"
137
- },
138
- "excluded_tasks": {
139
- "url": "https://manzanita.example/poppy/excluded-tasks.json"
135
+ "tasks": {
136
+ "endpoint": "https://manzanita.example/poppy/tasks"
140
137
  },
141
138
  "extensions": {
142
139
  "operations": [
143
140
  {
144
- "version": "2"
141
+ "version": "3"
145
142
  }
146
143
  ],
147
144
  "links": [
@@ -247,7 +244,8 @@
247
244
  ],
248
245
  "authorization_endpoint": "https://manzanita.example/oauth/authorize",
249
246
  "code_challenge_methods_supported": ["S256"],
250
- "device_1": "https://manzanita.example/oauth/device"
247
+ "device_1": "https://manzanita.example/oauth/device",
248
+ "client_id_metadata_document_supported": true
251
249
  }
252
250
  }
253
251
  }
@@ -255,8 +253,8 @@
255
253
  },
256
254
  {
257
255
  "title": "An operation",
258
- "channel": "Operations version 2",
259
- "summary": "The company lists operations version 2 and the Session declares it in Poppy-Extensions (negotiated: True). Signed in, Manzanita returns the exchange as an operation in its message: nothing is done, and only Ada can approve it.",
256
+ "channel": "Operations version 3",
257
+ "summary": "The company lists operations version 3 and the Session declares it in Poppy-Extensions (negotiated: True). Signed in, Manzanita returns the exchange as an operation in its message: nothing is done, and only Ada can approve it.",
260
258
  "chat": [
261
259
  {
262
260
  "speaker": "manzanita",
@@ -508,7 +506,7 @@
508
506
  "poppy-session": "‹Session JWT›"
509
507
  },
510
508
  "body": {
511
- "id": "req_VZNyCiPYnHaUHqSwbgj7tw",
509
+ "id": "req_f5x8L1-Ha044pQSPrTYE1w",
512
510
  "message": {
513
511
  "author": {
514
512
  "type": "human"
@@ -529,7 +527,7 @@
529
527
  "created_at": "2026-10-11T09:00:10Z",
530
528
  "type": "message",
531
529
  "message": {
532
- "id": "req_VZNyCiPYnHaUHqSwbgj7tw",
530
+ "id": "req_f5x8L1-Ha044pQSPrTYE1w",
533
531
  "author": {
534
532
  "type": "human"
535
533
  },
@@ -547,7 +545,7 @@
547
545
  "type": "agent"
548
546
  },
549
547
  "role": "company",
550
- "as_of_request": "req_VZNyCiPYnHaUHqSwbgj7tw",
548
+ "as_of_request": "req_f5x8L1-Ha044pQSPrTYE1w",
551
549
  "text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
552
550
  "extensions": {
553
551
  "operations": {
@@ -761,7 +759,7 @@
761
759
  "poppy-session": "‹Session JWT›"
762
760
  },
763
761
  "body": {
764
- "id": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
762
+ "id": "req_qKloFB2-6txpF4pXXEYYbA",
765
763
  "message": {
766
764
  "author": {
767
765
  "type": "agent"
@@ -771,6 +769,7 @@
771
769
  "approval": {
772
770
  "operation_id": "op_1",
773
771
  "revision": "rev_1",
772
+ "approver": "user",
774
773
  "approved_at": 1791709210
775
774
  }
776
775
  }
@@ -790,7 +789,7 @@
790
789
  "created_at": "2026-10-11T09:00:10Z",
791
790
  "type": "message",
792
791
  "message": {
793
- "id": "req_VZNyCiPYnHaUHqSwbgj7tw",
792
+ "id": "req_f5x8L1-Ha044pQSPrTYE1w",
794
793
  "author": {
795
794
  "type": "human"
796
795
  },
@@ -808,7 +807,7 @@
808
807
  "type": "agent"
809
808
  },
810
809
  "role": "company",
811
- "as_of_request": "req_VZNyCiPYnHaUHqSwbgj7tw",
810
+ "as_of_request": "req_f5x8L1-Ha044pQSPrTYE1w",
812
811
  "text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
813
812
  "extensions": {
814
813
  "operations": {
@@ -841,7 +840,7 @@
841
840
  "created_at": "2026-10-11T09:00:10Z",
842
841
  "type": "message",
843
842
  "message": {
844
- "id": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
843
+ "id": "req_qKloFB2-6txpF4pXXEYYbA",
845
844
  "author": {
846
845
  "type": "agent"
847
846
  },
@@ -850,6 +849,7 @@
850
849
  "approval": {
851
850
  "operation_id": "op_1",
852
851
  "revision": "rev_1",
852
+ "approver": "user",
853
853
  "approved_at": 1791709210
854
854
  }
855
855
  }
@@ -867,7 +867,7 @@
867
867
  "type": "agent"
868
868
  },
869
869
  "role": "company",
870
- "as_of_request": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
870
+ "as_of_request": "req_qKloFB2-6txpF4pXXEYYbA",
871
871
  "text": "That approval doesn't cover these terms. Here they are to approve.",
872
872
  "extensions": {
873
873
  "operations": {
@@ -995,7 +995,7 @@
995
995
  "poppy-session": "‹Session JWT›"
996
996
  },
997
997
  "body": {
998
- "id": "req_CBQ8vybzSYxlhpgzzo3Now",
998
+ "id": "req_W0ChyZHCrWYtLfFpMNF4tg",
999
999
  "message": {
1000
1000
  "author": {
1001
1001
  "type": "agent"
@@ -1005,6 +1005,7 @@
1005
1005
  "approval": {
1006
1006
  "operation_id": "op_1",
1007
1007
  "revision": "rev_2",
1008
+ "approver": "user",
1008
1009
  "approved_at": 1791709210
1009
1010
  }
1010
1011
  }
@@ -1024,7 +1025,7 @@
1024
1025
  "created_at": "2026-10-11T09:00:10Z",
1025
1026
  "type": "message",
1026
1027
  "message": {
1027
- "id": "req_VZNyCiPYnHaUHqSwbgj7tw",
1028
+ "id": "req_f5x8L1-Ha044pQSPrTYE1w",
1028
1029
  "author": {
1029
1030
  "type": "human"
1030
1031
  },
@@ -1042,7 +1043,7 @@
1042
1043
  "type": "agent"
1043
1044
  },
1044
1045
  "role": "company",
1045
- "as_of_request": "req_VZNyCiPYnHaUHqSwbgj7tw",
1046
+ "as_of_request": "req_f5x8L1-Ha044pQSPrTYE1w",
1046
1047
  "text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
1047
1048
  "extensions": {
1048
1049
  "operations": {
@@ -1075,7 +1076,7 @@
1075
1076
  "created_at": "2026-10-11T09:00:10Z",
1076
1077
  "type": "message",
1077
1078
  "message": {
1078
- "id": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
1079
+ "id": "req_qKloFB2-6txpF4pXXEYYbA",
1079
1080
  "author": {
1080
1081
  "type": "agent"
1081
1082
  },
@@ -1084,6 +1085,7 @@
1084
1085
  "approval": {
1085
1086
  "operation_id": "op_1",
1086
1087
  "revision": "rev_1",
1088
+ "approver": "user",
1087
1089
  "approved_at": 1791709210
1088
1090
  }
1089
1091
  }
@@ -1101,7 +1103,7 @@
1101
1103
  "type": "agent"
1102
1104
  },
1103
1105
  "role": "company",
1104
- "as_of_request": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
1106
+ "as_of_request": "req_qKloFB2-6txpF4pXXEYYbA",
1105
1107
  "text": "That approval doesn't cover these terms. Here they are to approve.",
1106
1108
  "extensions": {
1107
1109
  "operations": {
@@ -1128,7 +1130,7 @@
1128
1130
  "created_at": "2026-10-11T09:00:10Z",
1129
1131
  "type": "message",
1130
1132
  "message": {
1131
- "id": "req_CBQ8vybzSYxlhpgzzo3Now",
1133
+ "id": "req_W0ChyZHCrWYtLfFpMNF4tg",
1132
1134
  "author": {
1133
1135
  "type": "agent"
1134
1136
  },
@@ -1137,6 +1139,7 @@
1137
1139
  "approval": {
1138
1140
  "operation_id": "op_1",
1139
1141
  "revision": "rev_2",
1142
+ "approver": "user",
1140
1143
  "approved_at": 1791709210
1141
1144
  }
1142
1145
  }
@@ -1154,7 +1157,7 @@
1154
1157
  "type": "agent"
1155
1158
  },
1156
1159
  "role": "company",
1157
- "as_of_request": "req_CBQ8vybzSYxlhpgzzo3Now",
1160
+ "as_of_request": "req_W0ChyZHCrWYtLfFpMNF4tg",
1158
1161
  "text": "Exchanged the Ridge Jacket (M) for the insulated Ridge Jacket (M). USD 70.00 charged to the card ending 4242; a return label was emailed.",
1159
1162
  "data": {
1160
1163
  "order_id": "ord_7Hk2",
@@ -1190,7 +1193,7 @@
1190
1193
  "poppy-session": "‹Session JWT›"
1191
1194
  },
1192
1195
  "body": {
1193
- "id": "req_CBQ8vybzSYxlhpgzzo3Now",
1196
+ "id": "req_W0ChyZHCrWYtLfFpMNF4tg",
1194
1197
  "message": {
1195
1198
  "author": {
1196
1199
  "type": "agent"
@@ -1200,6 +1203,7 @@
1200
1203
  "approval": {
1201
1204
  "operation_id": "op_1",
1202
1205
  "revision": "rev_2",
1206
+ "approver": "user",
1203
1207
  "approved_at": 1791709210
1204
1208
  }
1205
1209
  }
@@ -1219,7 +1223,7 @@
1219
1223
  "created_at": "2026-10-11T09:00:10Z",
1220
1224
  "type": "message",
1221
1225
  "message": {
1222
- "id": "req_VZNyCiPYnHaUHqSwbgj7tw",
1226
+ "id": "req_f5x8L1-Ha044pQSPrTYE1w",
1223
1227
  "author": {
1224
1228
  "type": "human"
1225
1229
  },
@@ -1237,7 +1241,7 @@
1237
1241
  "type": "agent"
1238
1242
  },
1239
1243
  "role": "company",
1240
- "as_of_request": "req_VZNyCiPYnHaUHqSwbgj7tw",
1244
+ "as_of_request": "req_f5x8L1-Ha044pQSPrTYE1w",
1241
1245
  "text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
1242
1246
  "extensions": {
1243
1247
  "operations": {
@@ -1270,7 +1274,7 @@
1270
1274
  "created_at": "2026-10-11T09:00:10Z",
1271
1275
  "type": "message",
1272
1276
  "message": {
1273
- "id": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
1277
+ "id": "req_qKloFB2-6txpF4pXXEYYbA",
1274
1278
  "author": {
1275
1279
  "type": "agent"
1276
1280
  },
@@ -1279,6 +1283,7 @@
1279
1283
  "approval": {
1280
1284
  "operation_id": "op_1",
1281
1285
  "revision": "rev_1",
1286
+ "approver": "user",
1282
1287
  "approved_at": 1791709210
1283
1288
  }
1284
1289
  }
@@ -1296,7 +1301,7 @@
1296
1301
  "type": "agent"
1297
1302
  },
1298
1303
  "role": "company",
1299
- "as_of_request": "req_l-Bmm6Oy_wGOiRuwohz7Zg",
1304
+ "as_of_request": "req_qKloFB2-6txpF4pXXEYYbA",
1300
1305
  "text": "That approval doesn't cover these terms. Here they are to approve.",
1301
1306
  "extensions": {
1302
1307
  "operations": {
@@ -1323,7 +1328,7 @@
1323
1328
  "created_at": "2026-10-11T09:00:10Z",
1324
1329
  "type": "message",
1325
1330
  "message": {
1326
- "id": "req_CBQ8vybzSYxlhpgzzo3Now",
1331
+ "id": "req_W0ChyZHCrWYtLfFpMNF4tg",
1327
1332
  "author": {
1328
1333
  "type": "agent"
1329
1334
  },
@@ -1332,6 +1337,7 @@
1332
1337
  "approval": {
1333
1338
  "operation_id": "op_1",
1334
1339
  "revision": "rev_2",
1340
+ "approver": "user",
1335
1341
  "approved_at": 1791709210
1336
1342
  }
1337
1343
  }
@@ -1349,7 +1355,7 @@
1349
1355
  "type": "agent"
1350
1356
  },
1351
1357
  "role": "company",
1352
- "as_of_request": "req_CBQ8vybzSYxlhpgzzo3Now",
1358
+ "as_of_request": "req_W0ChyZHCrWYtLfFpMNF4tg",
1353
1359
  "text": "Exchanged the Ridge Jacket (M) for the insulated Ridge Jacket (M). USD 70.00 charged to the card ending 4242; a return label was emailed.",
1354
1360
  "data": {
1355
1361
  "order_id": "ord_7Hk2",