@openagentpack/sdk 0.4.0 → 0.5.0

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.
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const ResourceTypeSchema: z.ZodEnum<{
4
- agent: "agent";
5
4
  file: "file";
6
5
  memory_store: "memory_store";
7
6
  environment: "environment";
8
7
  vault: "vault";
9
8
  skill: "skill";
9
+ agent: "agent";
10
10
  template: "template";
11
11
  deployment: "deployment";
12
12
  identity: "identity";
@@ -15,12 +15,12 @@ declare const ResourceTypeSchema: z.ZodEnum<{
15
15
  type ResourceType = z.infer<typeof ResourceTypeSchema>;
16
16
  declare const ResourceAddressSchema: z.ZodObject<{
17
17
  type: z.ZodEnum<{
18
- agent: "agent";
19
18
  file: "file";
20
19
  memory_store: "memory_store";
21
20
  environment: "environment";
22
21
  vault: "vault";
23
22
  skill: "skill";
23
+ agent: "agent";
24
24
  template: "template";
25
25
  deployment: "deployment";
26
26
  identity: "identity";
@@ -46,12 +46,12 @@ declare const DiagnosticSchema: z.ZodObject<{
46
46
  message: z.ZodString;
47
47
  resource: z.ZodOptional<z.ZodObject<{
48
48
  type: z.ZodEnum<{
49
- agent: "agent";
50
49
  file: "file";
51
50
  memory_store: "memory_store";
52
51
  environment: "environment";
53
52
  vault: "vault";
54
53
  skill: "skill";
54
+ agent: "agent";
55
55
  template: "template";
56
56
  deployment: "deployment";
57
57
  identity: "identity";
@@ -91,12 +91,12 @@ declare const PlannedActionSchema: z.ZodObject<{
91
91
  }>;
92
92
  address: z.ZodObject<{
93
93
  type: z.ZodEnum<{
94
- agent: "agent";
95
94
  file: "file";
96
95
  memory_store: "memory_store";
97
96
  environment: "environment";
98
97
  vault: "vault";
99
98
  skill: "skill";
99
+ agent: "agent";
100
100
  template: "template";
101
101
  deployment: "deployment";
102
102
  identity: "identity";
@@ -107,12 +107,12 @@ declare const PlannedActionSchema: z.ZodObject<{
107
107
  }, z.core.$strip>;
108
108
  previousAddress: z.ZodOptional<z.ZodObject<{
109
109
  type: z.ZodEnum<{
110
- agent: "agent";
111
110
  file: "file";
112
111
  memory_store: "memory_store";
113
112
  environment: "environment";
114
113
  vault: "vault";
115
114
  skill: "skill";
115
+ agent: "agent";
116
116
  template: "template";
117
117
  deployment: "deployment";
118
118
  identity: "identity";
@@ -138,12 +138,12 @@ declare const PlannedActionSchema: z.ZodObject<{
138
138
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
139
139
  dependencies: z.ZodArray<z.ZodObject<{
140
140
  type: z.ZodEnum<{
141
- agent: "agent";
142
141
  file: "file";
143
142
  memory_store: "memory_store";
144
143
  environment: "environment";
145
144
  vault: "vault";
146
145
  skill: "skill";
146
+ agent: "agent";
147
147
  template: "template";
148
148
  deployment: "deployment";
149
149
  identity: "identity";
@@ -155,8 +155,8 @@ declare const PlannedActionSchema: z.ZodObject<{
155
155
  }, z.core.$strip>;
156
156
  type PlannedAction = z.infer<typeof PlannedActionSchema>;
157
157
  declare const AgentReadinessStatusSchema: z.ZodEnum<{
158
- ready: "ready";
159
158
  error: "error";
159
+ ready: "ready";
160
160
  missing: "missing";
161
161
  creating: "creating";
162
162
  updating: "updating";
@@ -203,8 +203,8 @@ declare const AgentDefinitionSchema: z.ZodObject<{
203
203
  type AgentDefinition = z.infer<typeof AgentDefinitionSchema>;
204
204
  declare const AgentReadinessSchema: z.ZodObject<{
205
205
  status: z.ZodEnum<{
206
- ready: "ready";
207
206
  error: "error";
207
+ ready: "ready";
208
208
  missing: "missing";
209
209
  creating: "creating";
210
210
  updating: "updating";
@@ -227,12 +227,12 @@ declare const AgentReadinessSchema: z.ZodObject<{
227
227
  message: z.ZodString;
228
228
  resource: z.ZodOptional<z.ZodObject<{
229
229
  type: z.ZodEnum<{
230
- agent: "agent";
231
230
  file: "file";
232
231
  memory_store: "memory_store";
233
232
  environment: "environment";
234
233
  vault: "vault";
235
234
  skill: "skill";
235
+ agent: "agent";
236
236
  template: "template";
237
237
  deployment: "deployment";
238
238
  identity: "identity";
@@ -244,12 +244,12 @@ declare const AgentReadinessSchema: z.ZodObject<{
244
244
  }, z.core.$strip>>;
245
245
  missing: z.ZodArray<z.ZodObject<{
246
246
  type: z.ZodEnum<{
247
- agent: "agent";
248
247
  file: "file";
249
248
  memory_store: "memory_store";
250
249
  environment: "environment";
251
250
  vault: "vault";
252
251
  skill: "skill";
252
+ agent: "agent";
253
253
  template: "template";
254
254
  deployment: "deployment";
255
255
  identity: "identity";
@@ -267,12 +267,12 @@ declare const AgentReadinessSchema: z.ZodObject<{
267
267
  }>;
268
268
  address: z.ZodObject<{
269
269
  type: z.ZodEnum<{
270
- agent: "agent";
271
270
  file: "file";
272
271
  memory_store: "memory_store";
273
272
  environment: "environment";
274
273
  vault: "vault";
275
274
  skill: "skill";
275
+ agent: "agent";
276
276
  template: "template";
277
277
  deployment: "deployment";
278
278
  identity: "identity";
@@ -283,12 +283,12 @@ declare const AgentReadinessSchema: z.ZodObject<{
283
283
  }, z.core.$strip>;
284
284
  previousAddress: z.ZodOptional<z.ZodObject<{
285
285
  type: z.ZodEnum<{
286
- agent: "agent";
287
286
  file: "file";
288
287
  memory_store: "memory_store";
289
288
  environment: "environment";
290
289
  vault: "vault";
291
290
  skill: "skill";
291
+ agent: "agent";
292
292
  template: "template";
293
293
  deployment: "deployment";
294
294
  identity: "identity";
@@ -314,12 +314,12 @@ declare const AgentReadinessSchema: z.ZodObject<{
314
314
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
315
315
  dependencies: z.ZodArray<z.ZodObject<{
316
316
  type: z.ZodEnum<{
317
- agent: "agent";
318
317
  file: "file";
319
318
  memory_store: "memory_store";
320
319
  environment: "environment";
321
320
  vault: "vault";
322
321
  skill: "skill";
322
+ agent: "agent";
323
323
  template: "template";
324
324
  deployment: "deployment";
325
325
  identity: "identity";
@@ -353,8 +353,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
353
353
  }, z.core.$strip>;
354
354
  readiness: z.ZodObject<{
355
355
  status: z.ZodEnum<{
356
- ready: "ready";
357
356
  error: "error";
357
+ ready: "ready";
358
358
  missing: "missing";
359
359
  creating: "creating";
360
360
  updating: "updating";
@@ -377,12 +377,12 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
377
377
  message: z.ZodString;
378
378
  resource: z.ZodOptional<z.ZodObject<{
379
379
  type: z.ZodEnum<{
380
- agent: "agent";
381
380
  file: "file";
382
381
  memory_store: "memory_store";
383
382
  environment: "environment";
384
383
  vault: "vault";
385
384
  skill: "skill";
385
+ agent: "agent";
386
386
  template: "template";
387
387
  deployment: "deployment";
388
388
  identity: "identity";
@@ -394,12 +394,12 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
394
394
  }, z.core.$strip>>;
395
395
  missing: z.ZodArray<z.ZodObject<{
396
396
  type: z.ZodEnum<{
397
- agent: "agent";
398
397
  file: "file";
399
398
  memory_store: "memory_store";
400
399
  environment: "environment";
401
400
  vault: "vault";
402
401
  skill: "skill";
402
+ agent: "agent";
403
403
  template: "template";
404
404
  deployment: "deployment";
405
405
  identity: "identity";
@@ -417,12 +417,12 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
417
417
  }>;
418
418
  address: z.ZodObject<{
419
419
  type: z.ZodEnum<{
420
- agent: "agent";
421
420
  file: "file";
422
421
  memory_store: "memory_store";
423
422
  environment: "environment";
424
423
  vault: "vault";
425
424
  skill: "skill";
425
+ agent: "agent";
426
426
  template: "template";
427
427
  deployment: "deployment";
428
428
  identity: "identity";
@@ -433,12 +433,12 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
433
433
  }, z.core.$strip>;
434
434
  previousAddress: z.ZodOptional<z.ZodObject<{
435
435
  type: z.ZodEnum<{
436
- agent: "agent";
437
436
  file: "file";
438
437
  memory_store: "memory_store";
439
438
  environment: "environment";
440
439
  vault: "vault";
441
440
  skill: "skill";
441
+ agent: "agent";
442
442
  template: "template";
443
443
  deployment: "deployment";
444
444
  identity: "identity";
@@ -464,12 +464,12 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
464
464
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
465
465
  dependencies: z.ZodArray<z.ZodObject<{
466
466
  type: z.ZodEnum<{
467
- agent: "agent";
468
467
  file: "file";
469
468
  memory_store: "memory_store";
470
469
  environment: "environment";
471
470
  vault: "vault";
472
471
  skill: "skill";
472
+ agent: "agent";
473
473
  template: "template";
474
474
  deployment: "deployment";
475
475
  identity: "identity";
@@ -505,6 +505,7 @@ declare const CloudAgentSchema: z.ZodObject<{
505
505
  created_at: z.ZodOptional<z.ZodString>;
506
506
  updated_at: z.ZodOptional<z.ZodString>;
507
507
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
508
509
  }, z.core.$strip>;
509
510
  type CloudAgent = z.infer<typeof CloudAgentSchema>;
510
511
  declare const ListCloudAgentsResponseSchema: z.ZodObject<{
@@ -524,6 +525,7 @@ declare const ListCloudAgentsResponseSchema: z.ZodObject<{
524
525
  created_at: z.ZodOptional<z.ZodString>;
525
526
  updated_at: z.ZodOptional<z.ZodString>;
526
527
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
528
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
527
529
  }, z.core.$strip>>;
528
530
  }, z.core.$strip>;
529
531
  type ListCloudAgentsResponse = z.infer<typeof ListCloudAgentsResponseSchema>;
@@ -540,6 +542,7 @@ declare const CloudEnvironmentSchema: z.ZodObject<{
540
542
  created_at: z.ZodOptional<z.ZodString>;
541
543
  updated_at: z.ZodOptional<z.ZodString>;
542
544
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
543
546
  }, z.core.$strip>;
544
547
  type CloudEnvironment = z.infer<typeof CloudEnvironmentSchema>;
545
548
  declare const ListCloudEnvironmentsResponseSchema: z.ZodObject<{
@@ -556,6 +559,7 @@ declare const ListCloudEnvironmentsResponseSchema: z.ZodObject<{
556
559
  created_at: z.ZodOptional<z.ZodString>;
557
560
  updated_at: z.ZodOptional<z.ZodString>;
558
561
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
559
563
  }, z.core.$strip>>;
560
564
  }, z.core.$strip>;
561
565
  type ListCloudEnvironmentsResponse = z.infer<typeof ListCloudEnvironmentsResponseSchema>;
@@ -567,22 +571,23 @@ declare const CloudVaultSchema: z.ZodObject<{
567
571
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
568
572
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
569
573
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
574
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
570
575
  }, z.core.$strip>;
571
576
  type CloudVault = z.infer<typeof CloudVaultSchema>;
572
577
  declare const SessionEventTypeSchema: z.ZodEnum<{
573
- status: "status";
574
578
  error: "error";
575
579
  message: "message";
576
580
  unknown: "unknown";
581
+ status: "status";
577
582
  thinking: "thinking";
578
583
  tool_use: "tool_use";
579
584
  tool_result: "tool_result";
580
585
  }>;
581
586
  type SessionEventType = z.infer<typeof SessionEventTypeSchema>;
582
587
  declare const AgentSyncStatusSchema: z.ZodEnum<{
583
- failed: "failed";
584
588
  completed: "completed";
585
589
  blocked: "blocked";
590
+ failed: "failed";
586
591
  }>;
587
592
  type AgentSyncStatus = z.infer<typeof AgentSyncStatusSchema>;
588
593
  declare const AgentSyncResultSchema: z.ZodObject<{
@@ -595,12 +600,12 @@ declare const AgentSyncResultSchema: z.ZodObject<{
595
600
  }>;
596
601
  address: z.ZodObject<{
597
602
  type: z.ZodEnum<{
598
- agent: "agent";
599
603
  file: "file";
600
604
  memory_store: "memory_store";
601
605
  environment: "environment";
602
606
  vault: "vault";
603
607
  skill: "skill";
608
+ agent: "agent";
604
609
  template: "template";
605
610
  deployment: "deployment";
606
611
  identity: "identity";
@@ -611,12 +616,12 @@ declare const AgentSyncResultSchema: z.ZodObject<{
611
616
  }, z.core.$strip>;
612
617
  previousAddress: z.ZodOptional<z.ZodObject<{
613
618
  type: z.ZodEnum<{
614
- agent: "agent";
615
619
  file: "file";
616
620
  memory_store: "memory_store";
617
621
  environment: "environment";
618
622
  vault: "vault";
619
623
  skill: "skill";
624
+ agent: "agent";
620
625
  template: "template";
621
626
  deployment: "deployment";
622
627
  identity: "identity";
@@ -642,12 +647,12 @@ declare const AgentSyncResultSchema: z.ZodObject<{
642
647
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
643
648
  dependencies: z.ZodArray<z.ZodObject<{
644
649
  type: z.ZodEnum<{
645
- agent: "agent";
646
650
  file: "file";
647
651
  memory_store: "memory_store";
648
652
  environment: "environment";
649
653
  vault: "vault";
650
654
  skill: "skill";
655
+ agent: "agent";
651
656
  template: "template";
652
657
  deployment: "deployment";
653
658
  identity: "identity";
@@ -658,8 +663,8 @@ declare const AgentSyncResultSchema: z.ZodObject<{
658
663
  }, z.core.$strip>>;
659
664
  }, z.core.$strip>;
660
665
  status: z.ZodEnum<{
661
- failed: "failed";
662
666
  success: "success";
667
+ failed: "failed";
663
668
  skipped: "skipped";
664
669
  }>;
665
670
  error: z.ZodOptional<z.ZodString>;
@@ -669,9 +674,9 @@ declare const AgentSyncRunSchema: z.ZodObject<{
669
674
  agentId: z.ZodString;
670
675
  provider: z.ZodOptional<z.ZodString>;
671
676
  status: z.ZodEnum<{
672
- failed: "failed";
673
677
  completed: "completed";
674
678
  blocked: "blocked";
679
+ failed: "failed";
675
680
  }>;
676
681
  actions: z.ZodArray<z.ZodObject<{
677
682
  action: z.ZodEnum<{
@@ -682,12 +687,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
682
687
  }>;
683
688
  address: z.ZodObject<{
684
689
  type: z.ZodEnum<{
685
- agent: "agent";
686
690
  file: "file";
687
691
  memory_store: "memory_store";
688
692
  environment: "environment";
689
693
  vault: "vault";
690
694
  skill: "skill";
695
+ agent: "agent";
691
696
  template: "template";
692
697
  deployment: "deployment";
693
698
  identity: "identity";
@@ -698,12 +703,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
698
703
  }, z.core.$strip>;
699
704
  previousAddress: z.ZodOptional<z.ZodObject<{
700
705
  type: z.ZodEnum<{
701
- agent: "agent";
702
706
  file: "file";
703
707
  memory_store: "memory_store";
704
708
  environment: "environment";
705
709
  vault: "vault";
706
710
  skill: "skill";
711
+ agent: "agent";
707
712
  template: "template";
708
713
  deployment: "deployment";
709
714
  identity: "identity";
@@ -729,12 +734,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
729
734
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
730
735
  dependencies: z.ZodArray<z.ZodObject<{
731
736
  type: z.ZodEnum<{
732
- agent: "agent";
733
737
  file: "file";
734
738
  memory_store: "memory_store";
735
739
  environment: "environment";
736
740
  vault: "vault";
737
741
  skill: "skill";
742
+ agent: "agent";
738
743
  template: "template";
739
744
  deployment: "deployment";
740
745
  identity: "identity";
@@ -754,12 +759,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
754
759
  message: z.ZodString;
755
760
  resource: z.ZodOptional<z.ZodObject<{
756
761
  type: z.ZodEnum<{
757
- agent: "agent";
758
762
  file: "file";
759
763
  memory_store: "memory_store";
760
764
  environment: "environment";
761
765
  vault: "vault";
762
766
  skill: "skill";
767
+ agent: "agent";
763
768
  template: "template";
764
769
  deployment: "deployment";
765
770
  identity: "identity";
@@ -778,12 +783,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
778
783
  }>;
779
784
  address: z.ZodObject<{
780
785
  type: z.ZodEnum<{
781
- agent: "agent";
782
786
  file: "file";
783
787
  memory_store: "memory_store";
784
788
  environment: "environment";
785
789
  vault: "vault";
786
790
  skill: "skill";
791
+ agent: "agent";
787
792
  template: "template";
788
793
  deployment: "deployment";
789
794
  identity: "identity";
@@ -794,12 +799,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
794
799
  }, z.core.$strip>;
795
800
  previousAddress: z.ZodOptional<z.ZodObject<{
796
801
  type: z.ZodEnum<{
797
- agent: "agent";
798
802
  file: "file";
799
803
  memory_store: "memory_store";
800
804
  environment: "environment";
801
805
  vault: "vault";
802
806
  skill: "skill";
807
+ agent: "agent";
803
808
  template: "template";
804
809
  deployment: "deployment";
805
810
  identity: "identity";
@@ -825,12 +830,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
825
830
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
826
831
  dependencies: z.ZodArray<z.ZodObject<{
827
832
  type: z.ZodEnum<{
828
- agent: "agent";
829
833
  file: "file";
830
834
  memory_store: "memory_store";
831
835
  environment: "environment";
832
836
  vault: "vault";
833
837
  skill: "skill";
838
+ agent: "agent";
834
839
  template: "template";
835
840
  deployment: "deployment";
836
841
  identity: "identity";
@@ -850,12 +855,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
850
855
  }>;
851
856
  address: z.ZodObject<{
852
857
  type: z.ZodEnum<{
853
- agent: "agent";
854
858
  file: "file";
855
859
  memory_store: "memory_store";
856
860
  environment: "environment";
857
861
  vault: "vault";
858
862
  skill: "skill";
863
+ agent: "agent";
859
864
  template: "template";
860
865
  deployment: "deployment";
861
866
  identity: "identity";
@@ -866,12 +871,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
866
871
  }, z.core.$strip>;
867
872
  previousAddress: z.ZodOptional<z.ZodObject<{
868
873
  type: z.ZodEnum<{
869
- agent: "agent";
870
874
  file: "file";
871
875
  memory_store: "memory_store";
872
876
  environment: "environment";
873
877
  vault: "vault";
874
878
  skill: "skill";
879
+ agent: "agent";
875
880
  template: "template";
876
881
  deployment: "deployment";
877
882
  identity: "identity";
@@ -897,12 +902,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
897
902
  after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
898
903
  dependencies: z.ZodArray<z.ZodObject<{
899
904
  type: z.ZodEnum<{
900
- agent: "agent";
901
905
  file: "file";
902
906
  memory_store: "memory_store";
903
907
  environment: "environment";
904
908
  vault: "vault";
905
909
  skill: "skill";
910
+ agent: "agent";
906
911
  template: "template";
907
912
  deployment: "deployment";
908
913
  identity: "identity";
@@ -913,8 +918,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
913
918
  }, z.core.$strip>>;
914
919
  }, z.core.$strip>;
915
920
  status: z.ZodEnum<{
916
- failed: "failed";
917
921
  success: "success";
922
+ failed: "failed";
918
923
  skipped: "skipped";
919
924
  }>;
920
925
  error: z.ZodOptional<z.ZodString>;
@@ -1090,6 +1095,8 @@ interface ProviderSessionEvent {
1090
1095
  tool_input?: string;
1091
1096
  status?: string;
1092
1097
  stop_reason?: string;
1098
+ /** Child-agent thread id when a Managed Agents multi-agent event carries one. */
1099
+ session_thread_id?: string;
1093
1100
  /**
1094
1101
  * A file the agent delivered to the provider's Files API (qoder DeliverArtifacts /
1095
1102
  * bailian download_file). Structured so the webui can show a download card without
@@ -1111,6 +1118,11 @@ interface EventListOptions {
1111
1118
  page_token?: string;
1112
1119
  /** Legacy alias for page_token used by some provider adapters. */
1113
1120
  page?: string;
1121
+ types?: string[];
1122
+ created_at_gt?: string;
1123
+ created_at_gte?: string;
1124
+ created_at_lt?: string;
1125
+ created_at_lte?: string;
1114
1126
  }
1115
1127
  interface EventStreamOptions {
1116
1128
  after_id?: string;
@@ -1121,4 +1133,4 @@ interface ProviderSessionEventList {
1121
1133
  next_page?: string;
1122
1134
  }
1123
1135
 
1124
- export { type ListCloudEnvironmentsResponse as $, type AgentDefinition as A, type AgentSyncStatus as B, type CloudAgent as C, type Diagnostic as D, type EventStreamOptions as E, AgentSyncStatusSchema as F, AgentWithReadinessSchema as G, CloudAgentSchema as H, CloudEnvironmentSchema as I, CloudVaultSchema as J, type CreateSessionRequest as K, CreateSessionRequestSchema as L, type CreateSessionResponse as M, CreateSessionResponseSchema as N, DiagnosticSchema as O, type ProviderSessionEvent as P, type DiagnosticSeverity as Q, type ResourceAddress as R, DiagnosticSeveritySchema as S, type DriftKind as T, DriftKindSchema as U, type GetSessionRequest as V, GetSessionRequestSchema as W, KNOWN_SESSION_EVENT_TYPES as X, type KnownSessionEventType as Y, type ListCloudAgentsResponse as Z, ListCloudAgentsResponseSchema as _, type ResourceType as a, ListCloudEnvironmentsResponseSchema as a0, type ListSessionEventsRequest as a1, ListSessionEventsRequestSchema as a2, type ListSessionEventsResponse as a3, ListSessionEventsResponseSchema as a4, type ListSessionsRequest as a5, ListSessionsRequestSchema as a6, type ListSessionsResponse as a7, ListSessionsResponseSchema as a8, type PlanReadinessImpact as a9, PlanReadinessImpactSchema as aa, PlannedActionSchema as ab, ResourceAddressSchema as ac, ResourceTypeSchema as ad, type SendEventRequest as ae, SendEventRequestSchema as af, type SendEventResponse as ag, SendEventResponseSchema as ah, type Session as ai, type SessionAgent as aj, SessionAgentSchema as ak, type SessionContentBlock as al, SessionContentBlockSchema as am, type SessionEvent as an, SessionEventSchema as ao, type SessionEventType as ap, type SessionEventTypeName as aq, SessionEventTypeSchema as ar, SessionSchema as as, type CloudEnvironment as b, type CloudVault as c, type EventListOptions as d, type ProviderSessionEventList as e, type PlannedAction as f, type AgentWithReadiness as g, type AgentSyncRun as h, type ActionType as i, ActionTypeSchema as j, AgentDefinitionSchema as k, type AgentDriftSeverity as l, AgentDriftSeveritySchema as m, type AgentModel as n, AgentModelSchema as o, type AgentReadiness as p, AgentReadinessSchema as q, type AgentReadinessStatus as r, AgentReadinessStatusSchema as s, type AgentRecoveryAction as t, AgentRecoveryActionSchema as u, type AgentSkillRef as v, AgentSkillRefSchema as w, type AgentSyncResult as x, AgentSyncResultSchema as y, AgentSyncRunSchema as z };
1136
+ export { type ListCloudEnvironmentsResponse as $, type AgentDefinition as A, type AgentSyncStatus as B, type CloudAgent as C, type Diagnostic as D, type EventStreamOptions as E, AgentSyncStatusSchema as F, AgentWithReadinessSchema as G, CloudAgentSchema as H, CloudEnvironmentSchema as I, CloudVaultSchema as J, type CreateSessionRequest as K, CreateSessionRequestSchema as L, type CreateSessionResponse as M, CreateSessionResponseSchema as N, DiagnosticSchema as O, type ProviderSessionEvent as P, type DiagnosticSeverity as Q, type ResourceAddress as R, DiagnosticSeveritySchema as S, type DriftKind as T, DriftKindSchema as U, type GetSessionRequest as V, GetSessionRequestSchema as W, KNOWN_SESSION_EVENT_TYPES as X, type KnownSessionEventType as Y, type ListCloudAgentsResponse as Z, ListCloudAgentsResponseSchema as _, type CloudEnvironment as a, ListCloudEnvironmentsResponseSchema as a0, type ListSessionEventsRequest as a1, ListSessionEventsRequestSchema as a2, type ListSessionEventsResponse as a3, ListSessionEventsResponseSchema as a4, type ListSessionsRequest as a5, ListSessionsRequestSchema as a6, type ListSessionsResponse as a7, ListSessionsResponseSchema as a8, type PlanReadinessImpact as a9, PlanReadinessImpactSchema as aa, PlannedActionSchema as ab, ResourceAddressSchema as ac, ResourceTypeSchema as ad, type SendEventRequest as ae, SendEventRequestSchema as af, type SendEventResponse as ag, SendEventResponseSchema as ah, type Session as ai, type SessionAgent as aj, SessionAgentSchema as ak, type SessionContentBlock as al, SessionContentBlockSchema as am, type SessionEvent as an, SessionEventSchema as ao, type SessionEventType as ap, type SessionEventTypeName as aq, SessionEventTypeSchema as ar, SessionSchema as as, type CloudVault as b, type ResourceType as c, type EventListOptions as d, type ProviderSessionEventList as e, type PlannedAction as f, type AgentWithReadiness as g, type AgentSyncRun as h, type ActionType as i, ActionTypeSchema as j, AgentDefinitionSchema as k, type AgentDriftSeverity as l, AgentDriftSeveritySchema as m, type AgentModel as n, AgentModelSchema as o, type AgentReadiness as p, AgentReadinessSchema as q, type AgentReadinessStatus as r, AgentReadinessStatusSchema as s, type AgentRecoveryAction as t, AgentRecoveryActionSchema as u, type AgentSkillRef as v, AgentSkillRefSchema as w, type AgentSyncResult as x, AgentSyncResultSchema as y, AgentSyncRunSchema as z };
@@ -1,4 +1,4 @@
1
- import { P as ProviderSessionEvent, an as SessionEvent } from './session-event--Mxe1bnT.js';
1
+ import { P as ProviderSessionEvent, an as SessionEvent } from './session-event-5kLRNMHC.js';
2
2
  import 'zod';
3
3
 
4
4
  declare function sanitizeSessionEvents(events: ProviderSessionEvent[], options?: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toSessionEvent
3
- } from "./chunk-GAAU67HX.js";
3
+ } from "./chunk-6PDVAFLK.js";
4
4
 
5
5
  // src/redaction.ts
6
6
  var REDACTED = "[redacted]";
@@ -142,6 +142,7 @@ function sanitizeSessionEvent(event, options = {}) {
142
142
  if (event.tool_input !== void 0) metadata.tool_input = event.tool_input;
143
143
  if (event.status !== void 0) metadata.status = event.status;
144
144
  if (event.stop_reason !== void 0) metadata.stop_reason = event.stop_reason;
145
+ if (event.session_thread_id !== void 0) metadata.session_thread_id = event.session_thread_id;
145
146
  if (event.type !== "unknown") metadata.display_bucket = event.type;
146
147
  if (event.artifact) metadata.artifact = event.artifact;
147
148
  if (redacted) metadata.redacted = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagentpack/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "OpenAgentPack SDK (Node-compatible runtime)",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [