@openagentpack/sdk 0.1.0 → 0.2.0-beta.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.
- package/dist/{chunk-7ECSYAQA.js → chunk-CHGDM6TX.js} +0 -12
- package/dist/{chunk-TUW6XLDT.js → chunk-OUHQYIG4.js} +1 -1
- package/dist/file-lifecycle.js +2 -2
- package/dist/index.d.ts +78 -8
- package/dist/index.js +966 -128
- package/dist/scan-lifecycle.d.ts +2 -11
- package/dist/scan-lifecycle.js +1 -5
- package/dist/{session-event-C2ED1o1m.d.ts → session-event-CObCawiI.d.ts} +81 -11
- package/dist/session-events.d.ts +1 -1
- package/package.json +1 -1
package/dist/scan-lifecycle.d.ts
CHANGED
|
@@ -13,14 +13,6 @@ interface ScanBackoff {
|
|
|
13
13
|
}
|
|
14
14
|
declare const SKILL_SCAN_BACKOFF: ScanBackoff;
|
|
15
15
|
declare const FILE_SCAN_BACKOFF: ScanBackoff;
|
|
16
|
-
declare const SKILL_STATUS_CODE: {
|
|
17
|
-
readonly checking: 0;
|
|
18
|
-
readonly active: 1;
|
|
19
|
-
readonly rejected: 2;
|
|
20
|
-
readonly deleted: 100;
|
|
21
|
-
};
|
|
22
|
-
/** Numeric console skill status → neutral SkillScanStatus (unknown codes read as still-checking). */
|
|
23
|
-
declare function skillStatusFromCode(code: number | undefined): SkillScanStatus;
|
|
24
16
|
declare function skillStatusFromString(raw: unknown): SkillScanStatus;
|
|
25
17
|
declare function classifyFileScan(status: string | undefined): ScanPhase;
|
|
26
18
|
declare function classifySkillScan(status: string | undefined): ScanPhase;
|
|
@@ -40,9 +32,8 @@ interface PollUntilOptions<T> {
|
|
|
40
32
|
}
|
|
41
33
|
/**
|
|
42
34
|
* Generic content-scan poll loop: poll → resolve on "ready", throw onFailed on "failed", throw
|
|
43
|
-
* onTimeout once the deadline passes, otherwise sleep and retry.
|
|
44
|
-
* copies (SDK file/skill waits, server warm loops, Mode B waitForActive).
|
|
35
|
+
* onTimeout once the deadline passes, otherwise sleep and retry.
|
|
45
36
|
*/
|
|
46
37
|
declare function pollUntil<T>(opts: PollUntilOptions<T>): Promise<T>;
|
|
47
38
|
|
|
48
|
-
export { FILE_SCAN_BACKOFF, type PollUntilOptions, SCAN_FILE_TIMEOUT_MS, SCAN_POLL_INTERVAL_MS, SCAN_SKILL_TIMEOUT_MS, SKILL_SCAN_BACKOFF,
|
|
39
|
+
export { FILE_SCAN_BACKOFF, type PollUntilOptions, SCAN_FILE_TIMEOUT_MS, SCAN_POLL_INTERVAL_MS, SCAN_SKILL_TIMEOUT_MS, SKILL_SCAN_BACKOFF, type ScanBackoff, type ScanPhase, type SkillScanStatus, classifyFileScan, classifySkillScan, pollUntil, skillStatusFromString };
|
package/dist/scan-lifecycle.js
CHANGED
|
@@ -4,23 +4,19 @@ import {
|
|
|
4
4
|
SCAN_POLL_INTERVAL_MS,
|
|
5
5
|
SCAN_SKILL_TIMEOUT_MS,
|
|
6
6
|
SKILL_SCAN_BACKOFF,
|
|
7
|
-
SKILL_STATUS_CODE,
|
|
8
7
|
classifyFileScan,
|
|
9
8
|
classifySkillScan,
|
|
10
9
|
pollUntil,
|
|
11
|
-
skillStatusFromCode,
|
|
12
10
|
skillStatusFromString
|
|
13
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CHGDM6TX.js";
|
|
14
12
|
export {
|
|
15
13
|
FILE_SCAN_BACKOFF,
|
|
16
14
|
SCAN_FILE_TIMEOUT_MS,
|
|
17
15
|
SCAN_POLL_INTERVAL_MS,
|
|
18
16
|
SCAN_SKILL_TIMEOUT_MS,
|
|
19
17
|
SKILL_SCAN_BACKOFF,
|
|
20
|
-
SKILL_STATUS_CODE,
|
|
21
18
|
classifyFileScan,
|
|
22
19
|
classifySkillScan,
|
|
23
20
|
pollUntil,
|
|
24
|
-
skillStatusFromCode,
|
|
25
21
|
skillStatusFromString
|
|
26
22
|
};
|
|
@@ -7,6 +7,7 @@ declare const ResourceTypeSchema: z.ZodEnum<{
|
|
|
7
7
|
vault: "vault";
|
|
8
8
|
skill: "skill";
|
|
9
9
|
agent: "agent";
|
|
10
|
+
template: "template";
|
|
10
11
|
deployment: "deployment";
|
|
11
12
|
}>;
|
|
12
13
|
type ResourceType = z.infer<typeof ResourceTypeSchema>;
|
|
@@ -18,6 +19,7 @@ declare const ResourceAddressSchema: z.ZodObject<{
|
|
|
18
19
|
vault: "vault";
|
|
19
20
|
skill: "skill";
|
|
20
21
|
agent: "agent";
|
|
22
|
+
template: "template";
|
|
21
23
|
deployment: "deployment";
|
|
22
24
|
}>;
|
|
23
25
|
name: z.ZodString;
|
|
@@ -46,6 +48,7 @@ declare const DiagnosticSchema: z.ZodObject<{
|
|
|
46
48
|
vault: "vault";
|
|
47
49
|
skill: "skill";
|
|
48
50
|
agent: "agent";
|
|
51
|
+
template: "template";
|
|
49
52
|
deployment: "deployment";
|
|
50
53
|
}>;
|
|
51
54
|
name: z.ZodString;
|
|
@@ -67,6 +70,12 @@ declare const DriftKindSchema: z.ZodEnum<{
|
|
|
67
70
|
both: "both";
|
|
68
71
|
}>;
|
|
69
72
|
type DriftKind = z.infer<typeof DriftKindSchema>;
|
|
73
|
+
declare const PlanReadinessImpactSchema: z.ZodEnum<{
|
|
74
|
+
none: "none";
|
|
75
|
+
non_blocking: "non_blocking";
|
|
76
|
+
blocking: "blocking";
|
|
77
|
+
}>;
|
|
78
|
+
type PlanReadinessImpact = z.infer<typeof PlanReadinessImpactSchema>;
|
|
70
79
|
declare const PlannedActionSchema: z.ZodObject<{
|
|
71
80
|
action: z.ZodEnum<{
|
|
72
81
|
create: "create";
|
|
@@ -82,6 +91,7 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
82
91
|
vault: "vault";
|
|
83
92
|
skill: "skill";
|
|
84
93
|
agent: "agent";
|
|
94
|
+
template: "template";
|
|
85
95
|
deployment: "deployment";
|
|
86
96
|
}>;
|
|
87
97
|
name: z.ZodString;
|
|
@@ -94,6 +104,12 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
94
104
|
remote: "remote";
|
|
95
105
|
both: "both";
|
|
96
106
|
}>>;
|
|
107
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
none: "none";
|
|
109
|
+
non_blocking: "non_blocking";
|
|
110
|
+
blocking: "blocking";
|
|
111
|
+
}>>;
|
|
112
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
113
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
114
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
99
115
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -104,6 +120,7 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
104
120
|
vault: "vault";
|
|
105
121
|
skill: "skill";
|
|
106
122
|
agent: "agent";
|
|
123
|
+
template: "template";
|
|
107
124
|
deployment: "deployment";
|
|
108
125
|
}>;
|
|
109
126
|
name: z.ZodString;
|
|
@@ -112,8 +129,8 @@ declare const PlannedActionSchema: z.ZodObject<{
|
|
|
112
129
|
}, z.core.$strip>;
|
|
113
130
|
type PlannedAction = z.infer<typeof PlannedActionSchema>;
|
|
114
131
|
declare const AgentReadinessStatusSchema: z.ZodEnum<{
|
|
115
|
-
error: "error";
|
|
116
132
|
ready: "ready";
|
|
133
|
+
error: "error";
|
|
117
134
|
missing: "missing";
|
|
118
135
|
creating: "creating";
|
|
119
136
|
updating: "updating";
|
|
@@ -123,8 +140,8 @@ declare const AgentReadinessStatusSchema: z.ZodEnum<{
|
|
|
123
140
|
}>;
|
|
124
141
|
type AgentReadinessStatus = z.infer<typeof AgentReadinessStatusSchema>;
|
|
125
142
|
declare const AgentDriftSeveritySchema: z.ZodEnum<{
|
|
126
|
-
blocking: "blocking";
|
|
127
143
|
non_blocking: "non_blocking";
|
|
144
|
+
blocking: "blocking";
|
|
128
145
|
}>;
|
|
129
146
|
type AgentDriftSeverity = z.infer<typeof AgentDriftSeveritySchema>;
|
|
130
147
|
declare const AgentSkillRefSchema: z.ZodObject<{
|
|
@@ -160,8 +177,8 @@ declare const AgentDefinitionSchema: z.ZodObject<{
|
|
|
160
177
|
type AgentDefinition = z.infer<typeof AgentDefinitionSchema>;
|
|
161
178
|
declare const AgentReadinessSchema: z.ZodObject<{
|
|
162
179
|
status: z.ZodEnum<{
|
|
163
|
-
error: "error";
|
|
164
180
|
ready: "ready";
|
|
181
|
+
error: "error";
|
|
165
182
|
missing: "missing";
|
|
166
183
|
creating: "creating";
|
|
167
184
|
updating: "updating";
|
|
@@ -171,8 +188,8 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
171
188
|
}>;
|
|
172
189
|
agentId: z.ZodString;
|
|
173
190
|
driftSeverity: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
blocking: "blocking";
|
|
175
191
|
non_blocking: "non_blocking";
|
|
192
|
+
blocking: "blocking";
|
|
176
193
|
}>>;
|
|
177
194
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
178
195
|
severity: z.ZodEnum<{
|
|
@@ -190,6 +207,7 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
190
207
|
vault: "vault";
|
|
191
208
|
skill: "skill";
|
|
192
209
|
agent: "agent";
|
|
210
|
+
template: "template";
|
|
193
211
|
deployment: "deployment";
|
|
194
212
|
}>;
|
|
195
213
|
name: z.ZodString;
|
|
@@ -204,6 +222,7 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
204
222
|
vault: "vault";
|
|
205
223
|
skill: "skill";
|
|
206
224
|
agent: "agent";
|
|
225
|
+
template: "template";
|
|
207
226
|
deployment: "deployment";
|
|
208
227
|
}>;
|
|
209
228
|
name: z.ZodString;
|
|
@@ -224,6 +243,7 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
224
243
|
vault: "vault";
|
|
225
244
|
skill: "skill";
|
|
226
245
|
agent: "agent";
|
|
246
|
+
template: "template";
|
|
227
247
|
deployment: "deployment";
|
|
228
248
|
}>;
|
|
229
249
|
name: z.ZodString;
|
|
@@ -236,6 +256,12 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
236
256
|
remote: "remote";
|
|
237
257
|
both: "both";
|
|
238
258
|
}>>;
|
|
259
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
260
|
+
none: "none";
|
|
261
|
+
non_blocking: "non_blocking";
|
|
262
|
+
blocking: "blocking";
|
|
263
|
+
}>>;
|
|
264
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
239
265
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
240
266
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
241
267
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -246,6 +272,7 @@ declare const AgentReadinessSchema: z.ZodObject<{
|
|
|
246
272
|
vault: "vault";
|
|
247
273
|
skill: "skill";
|
|
248
274
|
agent: "agent";
|
|
275
|
+
template: "template";
|
|
249
276
|
deployment: "deployment";
|
|
250
277
|
}>;
|
|
251
278
|
name: z.ZodString;
|
|
@@ -276,8 +303,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
276
303
|
}, z.core.$strip>;
|
|
277
304
|
readiness: z.ZodObject<{
|
|
278
305
|
status: z.ZodEnum<{
|
|
279
|
-
error: "error";
|
|
280
306
|
ready: "ready";
|
|
307
|
+
error: "error";
|
|
281
308
|
missing: "missing";
|
|
282
309
|
creating: "creating";
|
|
283
310
|
updating: "updating";
|
|
@@ -287,8 +314,8 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
287
314
|
}>;
|
|
288
315
|
agentId: z.ZodString;
|
|
289
316
|
driftSeverity: z.ZodOptional<z.ZodEnum<{
|
|
290
|
-
blocking: "blocking";
|
|
291
317
|
non_blocking: "non_blocking";
|
|
318
|
+
blocking: "blocking";
|
|
292
319
|
}>>;
|
|
293
320
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
294
321
|
severity: z.ZodEnum<{
|
|
@@ -306,6 +333,7 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
306
333
|
vault: "vault";
|
|
307
334
|
skill: "skill";
|
|
308
335
|
agent: "agent";
|
|
336
|
+
template: "template";
|
|
309
337
|
deployment: "deployment";
|
|
310
338
|
}>;
|
|
311
339
|
name: z.ZodString;
|
|
@@ -320,6 +348,7 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
320
348
|
vault: "vault";
|
|
321
349
|
skill: "skill";
|
|
322
350
|
agent: "agent";
|
|
351
|
+
template: "template";
|
|
323
352
|
deployment: "deployment";
|
|
324
353
|
}>;
|
|
325
354
|
name: z.ZodString;
|
|
@@ -340,6 +369,7 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
340
369
|
vault: "vault";
|
|
341
370
|
skill: "skill";
|
|
342
371
|
agent: "agent";
|
|
372
|
+
template: "template";
|
|
343
373
|
deployment: "deployment";
|
|
344
374
|
}>;
|
|
345
375
|
name: z.ZodString;
|
|
@@ -352,6 +382,12 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
352
382
|
remote: "remote";
|
|
353
383
|
both: "both";
|
|
354
384
|
}>>;
|
|
385
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
none: "none";
|
|
387
|
+
non_blocking: "non_blocking";
|
|
388
|
+
blocking: "blocking";
|
|
389
|
+
}>>;
|
|
390
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
355
391
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
356
392
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
357
393
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -362,6 +398,7 @@ declare const AgentWithReadinessSchema: z.ZodObject<{
|
|
|
362
398
|
vault: "vault";
|
|
363
399
|
skill: "skill";
|
|
364
400
|
agent: "agent";
|
|
401
|
+
template: "template";
|
|
365
402
|
deployment: "deployment";
|
|
366
403
|
}>;
|
|
367
404
|
name: z.ZodString;
|
|
@@ -469,9 +506,9 @@ declare const SessionEventTypeSchema: z.ZodEnum<{
|
|
|
469
506
|
}>;
|
|
470
507
|
type SessionEventType = z.infer<typeof SessionEventTypeSchema>;
|
|
471
508
|
declare const AgentSyncStatusSchema: z.ZodEnum<{
|
|
509
|
+
failed: "failed";
|
|
472
510
|
completed: "completed";
|
|
473
511
|
blocked: "blocked";
|
|
474
|
-
failed: "failed";
|
|
475
512
|
}>;
|
|
476
513
|
type AgentSyncStatus = z.infer<typeof AgentSyncStatusSchema>;
|
|
477
514
|
declare const AgentSyncResultSchema: z.ZodObject<{
|
|
@@ -490,6 +527,7 @@ declare const AgentSyncResultSchema: z.ZodObject<{
|
|
|
490
527
|
vault: "vault";
|
|
491
528
|
skill: "skill";
|
|
492
529
|
agent: "agent";
|
|
530
|
+
template: "template";
|
|
493
531
|
deployment: "deployment";
|
|
494
532
|
}>;
|
|
495
533
|
name: z.ZodString;
|
|
@@ -502,6 +540,12 @@ declare const AgentSyncResultSchema: z.ZodObject<{
|
|
|
502
540
|
remote: "remote";
|
|
503
541
|
both: "both";
|
|
504
542
|
}>>;
|
|
543
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
none: "none";
|
|
545
|
+
non_blocking: "non_blocking";
|
|
546
|
+
blocking: "blocking";
|
|
547
|
+
}>>;
|
|
548
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
505
549
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
506
550
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
507
551
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -512,6 +556,7 @@ declare const AgentSyncResultSchema: z.ZodObject<{
|
|
|
512
556
|
vault: "vault";
|
|
513
557
|
skill: "skill";
|
|
514
558
|
agent: "agent";
|
|
559
|
+
template: "template";
|
|
515
560
|
deployment: "deployment";
|
|
516
561
|
}>;
|
|
517
562
|
name: z.ZodString;
|
|
@@ -519,8 +564,8 @@ declare const AgentSyncResultSchema: z.ZodObject<{
|
|
|
519
564
|
}, z.core.$strip>>;
|
|
520
565
|
}, z.core.$strip>;
|
|
521
566
|
status: z.ZodEnum<{
|
|
522
|
-
success: "success";
|
|
523
567
|
failed: "failed";
|
|
568
|
+
success: "success";
|
|
524
569
|
skipped: "skipped";
|
|
525
570
|
}>;
|
|
526
571
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -530,9 +575,9 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
530
575
|
agentId: z.ZodString;
|
|
531
576
|
provider: z.ZodOptional<z.ZodString>;
|
|
532
577
|
status: z.ZodEnum<{
|
|
578
|
+
failed: "failed";
|
|
533
579
|
completed: "completed";
|
|
534
580
|
blocked: "blocked";
|
|
535
|
-
failed: "failed";
|
|
536
581
|
}>;
|
|
537
582
|
actions: z.ZodArray<z.ZodObject<{
|
|
538
583
|
action: z.ZodEnum<{
|
|
@@ -549,6 +594,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
549
594
|
vault: "vault";
|
|
550
595
|
skill: "skill";
|
|
551
596
|
agent: "agent";
|
|
597
|
+
template: "template";
|
|
552
598
|
deployment: "deployment";
|
|
553
599
|
}>;
|
|
554
600
|
name: z.ZodString;
|
|
@@ -561,6 +607,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
561
607
|
remote: "remote";
|
|
562
608
|
both: "both";
|
|
563
609
|
}>>;
|
|
610
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
611
|
+
none: "none";
|
|
612
|
+
non_blocking: "non_blocking";
|
|
613
|
+
blocking: "blocking";
|
|
614
|
+
}>>;
|
|
615
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
564
616
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
565
617
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
566
618
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -571,6 +623,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
571
623
|
vault: "vault";
|
|
572
624
|
skill: "skill";
|
|
573
625
|
agent: "agent";
|
|
626
|
+
template: "template";
|
|
574
627
|
deployment: "deployment";
|
|
575
628
|
}>;
|
|
576
629
|
name: z.ZodString;
|
|
@@ -593,6 +646,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
593
646
|
vault: "vault";
|
|
594
647
|
skill: "skill";
|
|
595
648
|
agent: "agent";
|
|
649
|
+
template: "template";
|
|
596
650
|
deployment: "deployment";
|
|
597
651
|
}>;
|
|
598
652
|
name: z.ZodString;
|
|
@@ -614,6 +668,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
614
668
|
vault: "vault";
|
|
615
669
|
skill: "skill";
|
|
616
670
|
agent: "agent";
|
|
671
|
+
template: "template";
|
|
617
672
|
deployment: "deployment";
|
|
618
673
|
}>;
|
|
619
674
|
name: z.ZodString;
|
|
@@ -626,6 +681,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
626
681
|
remote: "remote";
|
|
627
682
|
both: "both";
|
|
628
683
|
}>>;
|
|
684
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
685
|
+
none: "none";
|
|
686
|
+
non_blocking: "non_blocking";
|
|
687
|
+
blocking: "blocking";
|
|
688
|
+
}>>;
|
|
689
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
629
690
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
630
691
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
631
692
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -636,6 +697,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
636
697
|
vault: "vault";
|
|
637
698
|
skill: "skill";
|
|
638
699
|
agent: "agent";
|
|
700
|
+
template: "template";
|
|
639
701
|
deployment: "deployment";
|
|
640
702
|
}>;
|
|
641
703
|
name: z.ZodString;
|
|
@@ -658,6 +720,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
658
720
|
vault: "vault";
|
|
659
721
|
skill: "skill";
|
|
660
722
|
agent: "agent";
|
|
723
|
+
template: "template";
|
|
661
724
|
deployment: "deployment";
|
|
662
725
|
}>;
|
|
663
726
|
name: z.ZodString;
|
|
@@ -670,6 +733,12 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
670
733
|
remote: "remote";
|
|
671
734
|
both: "both";
|
|
672
735
|
}>>;
|
|
736
|
+
readinessImpact: z.ZodOptional<z.ZodEnum<{
|
|
737
|
+
none: "none";
|
|
738
|
+
non_blocking: "non_blocking";
|
|
739
|
+
blocking: "blocking";
|
|
740
|
+
}>>;
|
|
741
|
+
changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
673
742
|
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
674
743
|
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
675
744
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
@@ -680,6 +749,7 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
680
749
|
vault: "vault";
|
|
681
750
|
skill: "skill";
|
|
682
751
|
agent: "agent";
|
|
752
|
+
template: "template";
|
|
683
753
|
deployment: "deployment";
|
|
684
754
|
}>;
|
|
685
755
|
name: z.ZodString;
|
|
@@ -687,8 +757,8 @@ declare const AgentSyncRunSchema: z.ZodObject<{
|
|
|
687
757
|
}, z.core.$strip>>;
|
|
688
758
|
}, z.core.$strip>;
|
|
689
759
|
status: z.ZodEnum<{
|
|
690
|
-
success: "success";
|
|
691
760
|
failed: "failed";
|
|
761
|
+
success: "success";
|
|
692
762
|
skipped: "skipped";
|
|
693
763
|
}>;
|
|
694
764
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -895,4 +965,4 @@ interface ProviderSessionEventList {
|
|
|
895
965
|
next_page?: string;
|
|
896
966
|
}
|
|
897
967
|
|
|
898
|
-
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,
|
|
968
|
+
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 };
|
package/dist/session-events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as ProviderSessionEvent,
|
|
1
|
+
import { P as ProviderSessionEvent, an as SessionEvent } from './session-event-CObCawiI.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
|
|
4
4
|
declare function sanitizeSessionEvents(events: ProviderSessionEvent[], options?: {
|