@openagentpack/sdk 0.2.0-beta.0 → 0.3.0-beta-fb9e73b-20260721
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/index.d.ts +206 -10
- package/dist/index.js +1159 -225
- package/dist/{session-event-CObCawiI.d.ts → session-event-CxLg_XqS.d.ts} +51 -7
- package/dist/session-events.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,8 @@ declare const ResourceTypeSchema: z.ZodEnum<{
|
|
|
9
9
|
agent: "agent";
|
|
10
10
|
template: "template";
|
|
11
11
|
deployment: "deployment";
|
|
12
|
+
identity: "identity";
|
|
13
|
+
channel: "channel";
|
|
12
14
|
}>;
|
|
13
15
|
type ResourceType = z.infer<typeof ResourceTypeSchema>;
|
|
14
16
|
declare const ResourceAddressSchema: z.ZodObject<{
|
|
@@ -21,6 +23,8 @@ declare const ResourceAddressSchema: z.ZodObject<{
|
|
|
21
23
|
agent: "agent";
|
|
22
24
|
template: "template";
|
|
23
25
|
deployment: "deployment";
|
|
26
|
+
identity: "identity";
|
|
27
|
+
channel: "channel";
|
|
24
28
|
}>;
|
|
25
29
|
name: z.ZodString;
|
|
26
30
|
provider: z.ZodString;
|
|
@@ -50,6 +54,8 @@ declare const DiagnosticSchema: z.ZodObject<{
|
|
|
50
54
|
agent: "agent";
|
|
51
55
|
template: "template";
|
|
52
56
|
deployment: "deployment";
|
|
57
|
+
identity: "identity";
|
|
58
|
+
channel: "channel";
|
|
53
59
|
}>;
|
|
54
60
|
name: z.ZodString;
|
|
55
61
|
provider: z.ZodString;
|
|
@@ -93,6 +99,8 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
93
99
|
agent: "agent";
|
|
94
100
|
template: "template";
|
|
95
101
|
deployment: "deployment";
|
|
102
|
+
identity: "identity";
|
|
103
|
+
channel: "channel";
|
|
96
104
|
}>;
|
|
97
105
|
name: z.ZodString;
|
|
98
106
|
provider: z.ZodString;
|
|
@@ -122,6 +130,8 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
122
130
|
agent: "agent";
|
|
123
131
|
template: "template";
|
|
124
132
|
deployment: "deployment";
|
|
133
|
+
identity: "identity";
|
|
134
|
+
channel: "channel";
|
|
125
135
|
}>;
|
|
126
136
|
name: z.ZodString;
|
|
127
137
|
provider: z.ZodString;
|
|
@@ -129,8 +139,8 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
129
139
|
}, z.core.$strip>;
|
|
130
140
|
type PlannedAction = z.infer<typeof PlannedActionSchema>;
|
|
131
141
|
declare const AgentReadinessStatusSchema: z.ZodEnum<{
|
|
132
|
-
ready: "ready";
|
|
133
142
|
error: "error";
|
|
143
|
+
ready: "ready";
|
|
134
144
|
missing: "missing";
|
|
135
145
|
creating: "creating";
|
|
136
146
|
updating: "updating";
|
|
@@ -177,8 +187,8 @@ declare const AgentDefinitionSchema: z.ZodObject<{
|
|
|
177
187
|
type AgentDefinition = z.infer<typeof AgentDefinitionSchema>;
|
|
178
188
|
declare const AgentReadinessSchema: z.ZodObject<{
|
|
179
189
|
status: z.ZodEnum<{
|
|
180
|
-
ready: "ready";
|
|
181
190
|
error: "error";
|
|
191
|
+
ready: "ready";
|
|
182
192
|
missing: "missing";
|
|
183
193
|
creating: "creating";
|
|
184
194
|
updating: "updating";
|
|
@@ -209,6 +219,8 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
209
219
|
agent: "agent";
|
|
210
220
|
template: "template";
|
|
211
221
|
deployment: "deployment";
|
|
222
|
+
identity: "identity";
|
|
223
|
+
channel: "channel";
|
|
212
224
|
}>;
|
|
213
225
|
name: z.ZodString;
|
|
214
226
|
provider: z.ZodString;
|
|
@@ -224,6 +236,8 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
224
236
|
agent: "agent";
|
|
225
237
|
template: "template";
|
|
226
238
|
deployment: "deployment";
|
|
239
|
+
identity: "identity";
|
|
240
|
+
channel: "channel";
|
|
227
241
|
}>;
|
|
228
242
|
name: z.ZodString;
|
|
229
243
|
provider: z.ZodString;
|
|
@@ -245,6 +259,8 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
245
259
|
agent: "agent";
|
|
246
260
|
template: "template";
|
|
247
261
|
deployment: "deployment";
|
|
262
|
+
identity: "identity";
|
|
263
|
+
channel: "channel";
|
|
248
264
|
}>;
|
|
249
265
|
name: z.ZodString;
|
|
250
266
|
provider: z.ZodString;
|
|
@@ -274,6 +290,8 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
274
290
|
agent: "agent";
|
|
275
291
|
template: "template";
|
|
276
292
|
deployment: "deployment";
|
|
293
|
+
identity: "identity";
|
|
294
|
+
channel: "channel";
|
|
277
295
|
}>;
|
|
278
296
|
name: z.ZodString;
|
|
279
297
|
provider: z.ZodString;
|
|
@@ -303,8 +321,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
303
321
|
}, z.core.$strip>;
|
|
304
322
|
readiness: z.ZodObject<{
|
|
305
323
|
status: z.ZodEnum<{
|
|
306
|
-
ready: "ready";
|
|
307
324
|
error: "error";
|
|
325
|
+
ready: "ready";
|
|
308
326
|
missing: "missing";
|
|
309
327
|
creating: "creating";
|
|
310
328
|
updating: "updating";
|
|
@@ -335,6 +353,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
335
353
|
agent: "agent";
|
|
336
354
|
template: "template";
|
|
337
355
|
deployment: "deployment";
|
|
356
|
+
identity: "identity";
|
|
357
|
+
channel: "channel";
|
|
338
358
|
}>;
|
|
339
359
|
name: z.ZodString;
|
|
340
360
|
provider: z.ZodString;
|
|
@@ -350,6 +370,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
350
370
|
agent: "agent";
|
|
351
371
|
template: "template";
|
|
352
372
|
deployment: "deployment";
|
|
373
|
+
identity: "identity";
|
|
374
|
+
channel: "channel";
|
|
353
375
|
}>;
|
|
354
376
|
name: z.ZodString;
|
|
355
377
|
provider: z.ZodString;
|
|
@@ -371,6 +393,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
371
393
|
agent: "agent";
|
|
372
394
|
template: "template";
|
|
373
395
|
deployment: "deployment";
|
|
396
|
+
identity: "identity";
|
|
397
|
+
channel: "channel";
|
|
374
398
|
}>;
|
|
375
399
|
name: z.ZodString;
|
|
376
400
|
provider: z.ZodString;
|
|
@@ -400,6 +424,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
400
424
|
agent: "agent";
|
|
401
425
|
template: "template";
|
|
402
426
|
deployment: "deployment";
|
|
427
|
+
identity: "identity";
|
|
428
|
+
channel: "channel";
|
|
403
429
|
}>;
|
|
404
430
|
name: z.ZodString;
|
|
405
431
|
provider: z.ZodString;
|
|
@@ -506,9 +532,9 @@ declare const SessionEventTypeSchema: z.ZodEnum<{
|
|
|
506
532
|
}>;
|
|
507
533
|
type SessionEventType = z.infer<typeof SessionEventTypeSchema>;
|
|
508
534
|
declare const AgentSyncStatusSchema: z.ZodEnum<{
|
|
509
|
-
failed: "failed";
|
|
510
535
|
completed: "completed";
|
|
511
536
|
blocked: "blocked";
|
|
537
|
+
failed: "failed";
|
|
512
538
|
}>;
|
|
513
539
|
type AgentSyncStatus = z.infer<typeof AgentSyncStatusSchema>;
|
|
514
540
|
declare const AgentSyncResultSchema: z.ZodObject<{
|
|
@@ -529,6 +555,8 @@ declare const AgentSyncResultSchema: z.ZodObject<{
|
|
|
529
555
|
agent: "agent";
|
|
530
556
|
template: "template";
|
|
531
557
|
deployment: "deployment";
|
|
558
|
+
identity: "identity";
|
|
559
|
+
channel: "channel";
|
|
532
560
|
}>;
|
|
533
561
|
name: z.ZodString;
|
|
534
562
|
provider: z.ZodString;
|
|
@@ -558,14 +586,16 @@ declare const AgentSyncResultSchema: z.ZodObject<{
|
|
|
558
586
|
agent: "agent";
|
|
559
587
|
template: "template";
|
|
560
588
|
deployment: "deployment";
|
|
589
|
+
identity: "identity";
|
|
590
|
+
channel: "channel";
|
|
561
591
|
}>;
|
|
562
592
|
name: z.ZodString;
|
|
563
593
|
provider: z.ZodString;
|
|
564
594
|
}, z.core.$strip>>;
|
|
565
595
|
}, z.core.$strip>;
|
|
566
596
|
status: z.ZodEnum<{
|
|
567
|
-
failed: "failed";
|
|
568
597
|
success: "success";
|
|
598
|
+
failed: "failed";
|
|
569
599
|
skipped: "skipped";
|
|
570
600
|
}>;
|
|
571
601
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -575,9 +605,9 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
575
605
|
agentId: z.ZodString;
|
|
576
606
|
provider: z.ZodOptional<z.ZodString>;
|
|
577
607
|
status: z.ZodEnum<{
|
|
578
|
-
failed: "failed";
|
|
579
608
|
completed: "completed";
|
|
580
609
|
blocked: "blocked";
|
|
610
|
+
failed: "failed";
|
|
581
611
|
}>;
|
|
582
612
|
actions: z.ZodArray<z.ZodObject<{
|
|
583
613
|
action: z.ZodEnum<{
|
|
@@ -596,6 +626,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
596
626
|
agent: "agent";
|
|
597
627
|
template: "template";
|
|
598
628
|
deployment: "deployment";
|
|
629
|
+
identity: "identity";
|
|
630
|
+
channel: "channel";
|
|
599
631
|
}>;
|
|
600
632
|
name: z.ZodString;
|
|
601
633
|
provider: z.ZodString;
|
|
@@ -625,6 +657,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
625
657
|
agent: "agent";
|
|
626
658
|
template: "template";
|
|
627
659
|
deployment: "deployment";
|
|
660
|
+
identity: "identity";
|
|
661
|
+
channel: "channel";
|
|
628
662
|
}>;
|
|
629
663
|
name: z.ZodString;
|
|
630
664
|
provider: z.ZodString;
|
|
@@ -648,6 +682,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
648
682
|
agent: "agent";
|
|
649
683
|
template: "template";
|
|
650
684
|
deployment: "deployment";
|
|
685
|
+
identity: "identity";
|
|
686
|
+
channel: "channel";
|
|
651
687
|
}>;
|
|
652
688
|
name: z.ZodString;
|
|
653
689
|
provider: z.ZodString;
|
|
@@ -670,6 +706,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
670
706
|
agent: "agent";
|
|
671
707
|
template: "template";
|
|
672
708
|
deployment: "deployment";
|
|
709
|
+
identity: "identity";
|
|
710
|
+
channel: "channel";
|
|
673
711
|
}>;
|
|
674
712
|
name: z.ZodString;
|
|
675
713
|
provider: z.ZodString;
|
|
@@ -699,6 +737,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
699
737
|
agent: "agent";
|
|
700
738
|
template: "template";
|
|
701
739
|
deployment: "deployment";
|
|
740
|
+
identity: "identity";
|
|
741
|
+
channel: "channel";
|
|
702
742
|
}>;
|
|
703
743
|
name: z.ZodString;
|
|
704
744
|
provider: z.ZodString;
|
|
@@ -722,6 +762,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
722
762
|
agent: "agent";
|
|
723
763
|
template: "template";
|
|
724
764
|
deployment: "deployment";
|
|
765
|
+
identity: "identity";
|
|
766
|
+
channel: "channel";
|
|
725
767
|
}>;
|
|
726
768
|
name: z.ZodString;
|
|
727
769
|
provider: z.ZodString;
|
|
@@ -751,14 +793,16 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
751
793
|
agent: "agent";
|
|
752
794
|
template: "template";
|
|
753
795
|
deployment: "deployment";
|
|
796
|
+
identity: "identity";
|
|
797
|
+
channel: "channel";
|
|
754
798
|
}>;
|
|
755
799
|
name: z.ZodString;
|
|
756
800
|
provider: z.ZodString;
|
|
757
801
|
}, z.core.$strip>>;
|
|
758
802
|
}, z.core.$strip>;
|
|
759
803
|
status: z.ZodEnum<{
|
|
760
|
-
failed: "failed";
|
|
761
804
|
success: "success";
|
|
805
|
+
failed: "failed";
|
|
762
806
|
skipped: "skipped";
|
|
763
807
|
}>;
|
|
764
808
|
error: z.ZodOptional<z.ZodString>;
|
package/dist/session-events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as ProviderSessionEvent, an as SessionEvent } from './session-event-
|
|
1
|
+
import { P as ProviderSessionEvent, an as SessionEvent } from './session-event-CxLg_XqS.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
|
|
4
4
|
declare function sanitizeSessionEvents(events: ProviderSessionEvent[], options?: {
|