@spotpatch/shared 1.11.0 → 1.12.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.
@@ -47,23 +47,23 @@ declare const externalAgentErrorSchema: z.ZodObject<{
47
47
  MANAGED_CLEANUP_INCOMPLETE: "MANAGED_CLEANUP_INCOMPLETE";
48
48
  }>;
49
49
  stage: z.ZodEnum<{
50
- snapshot: "snapshot";
51
- binary: "binary";
52
50
  integration: "integration";
51
+ binary: "binary";
53
52
  handshake: "handshake";
54
53
  auth: "auth";
55
54
  model: "model";
56
55
  protocol: "protocol";
56
+ snapshot: "snapshot";
57
57
  audit: "audit";
58
58
  validation: "validation";
59
59
  apply: "apply";
60
60
  cleanup: "cleanup";
61
61
  }>;
62
62
  recoverability: z.ZodEnum<{
63
- none: "none";
64
63
  retry: "retry";
65
64
  "user-action": "user-action";
66
65
  reconfigure: "reconfigure";
66
+ none: "none";
67
67
  }>;
68
68
  action: z.ZodEnum<{
69
69
  retry: "retry";
@@ -87,8 +87,8 @@ declare const managedCheckSummarySchema: z.ZodObject<{
87
87
  id: z.ZodString;
88
88
  outcome: z.ZodEnum<{
89
89
  failed: "failed";
90
- unavailable: "unavailable";
91
90
  passed: "passed";
91
+ unavailable: "unavailable";
92
92
  }>;
93
93
  durationMs: z.ZodNumber;
94
94
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -104,9 +104,9 @@ declare const managedTimingSummarySchema: z.ZodObject<{
104
104
  declare const managedTaskStatusSchema: z.ZodObject<{
105
105
  revision: z.ZodNumber;
106
106
  deliveryStatus: z.ZodEnum<{
107
- dispatching: "dispatching";
108
107
  unknown: "unknown";
109
108
  queued: "queued";
109
+ dispatching: "dispatching";
110
110
  accepted: "accepted";
111
111
  }>;
112
112
  executionStatus: z.ZodEnum<{
@@ -118,22 +118,22 @@ declare const managedTaskStatusSchema: z.ZodObject<{
118
118
  interrupted: "interrupted";
119
119
  }>;
120
120
  managedPhase: z.ZodEnum<{
121
- completed: "completed";
122
- failed: "failed";
123
121
  preparing: "preparing";
124
122
  running: "running";
123
+ auditing: "auditing";
125
124
  validating: "validating";
126
125
  applying: "applying";
127
- cancelled: "cancelled";
128
- auditing: "auditing";
126
+ completed: "completed";
129
127
  "review-required": "review-required";
128
+ failed: "failed";
129
+ cancelled: "cancelled";
130
130
  "cleanup-warning": "cleanup-warning";
131
131
  }>;
132
132
  validationOutcome: z.ZodOptional<z.ZodEnum<{
133
133
  failed: "failed";
134
- unavailable: "unavailable";
135
134
  passed: "passed";
136
135
  "not-configured": "not-configured";
136
+ unavailable: "unavailable";
137
137
  }>>;
138
138
  files: z.ZodArray<z.ZodObject<{
139
139
  path: z.ZodString;
@@ -144,8 +144,8 @@ declare const managedTaskStatusSchema: z.ZodObject<{
144
144
  id: z.ZodString;
145
145
  outcome: z.ZodEnum<{
146
146
  failed: "failed";
147
- unavailable: "unavailable";
148
147
  passed: "passed";
148
+ unavailable: "unavailable";
149
149
  }>;
150
150
  durationMs: z.ZodNumber;
151
151
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -173,26 +173,26 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
173
173
  }>;
174
174
  maturity: z.ZodLiteral<"experimental">;
175
175
  availability: z.ZodEnum<{
176
- available: "available";
177
176
  unavailable: "unavailable";
177
+ available: "available";
178
178
  }>;
179
179
  }, z.core.$strict>;
180
180
  connectionState: z.ZodEnum<{
181
- error: "error";
182
- ready: "ready";
183
- busy: "busy";
184
181
  disconnected: "disconnected";
185
182
  diagnosing: "diagnosing";
186
183
  "awaiting-consent": "awaiting-consent";
187
184
  connecting: "connecting";
185
+ ready: "ready";
186
+ busy: "busy";
188
187
  degraded: "degraded";
188
+ error: "error";
189
189
  disconnecting: "disconnecting";
190
190
  }>;
191
191
  authReadiness: z.ZodEnum<{
192
- unknown: "unknown";
193
192
  authenticated: "authenticated";
194
193
  "auth-not-required": "auth-not-required";
195
194
  "signed-out": "signed-out";
195
+ unknown: "unknown";
196
196
  }>;
197
197
  grantState: z.ZodEnum<{
198
198
  missing: "missing";
@@ -204,9 +204,9 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
204
204
  task: z.ZodOptional<z.ZodObject<{
205
205
  revision: z.ZodNumber;
206
206
  deliveryStatus: z.ZodEnum<{
207
- dispatching: "dispatching";
208
207
  unknown: "unknown";
209
208
  queued: "queued";
209
+ dispatching: "dispatching";
210
210
  accepted: "accepted";
211
211
  }>;
212
212
  executionStatus: z.ZodEnum<{
@@ -218,22 +218,22 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
218
218
  interrupted: "interrupted";
219
219
  }>;
220
220
  managedPhase: z.ZodEnum<{
221
- completed: "completed";
222
- failed: "failed";
223
221
  preparing: "preparing";
224
222
  running: "running";
223
+ auditing: "auditing";
225
224
  validating: "validating";
226
225
  applying: "applying";
227
- cancelled: "cancelled";
228
- auditing: "auditing";
226
+ completed: "completed";
229
227
  "review-required": "review-required";
228
+ failed: "failed";
229
+ cancelled: "cancelled";
230
230
  "cleanup-warning": "cleanup-warning";
231
231
  }>;
232
232
  validationOutcome: z.ZodOptional<z.ZodEnum<{
233
233
  failed: "failed";
234
- unavailable: "unavailable";
235
234
  passed: "passed";
236
235
  "not-configured": "not-configured";
236
+ unavailable: "unavailable";
237
237
  }>>;
238
238
  files: z.ZodArray<z.ZodObject<{
239
239
  path: z.ZodString;
@@ -244,8 +244,8 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
244
244
  id: z.ZodString;
245
245
  outcome: z.ZodEnum<{
246
246
  failed: "failed";
247
- unavailable: "unavailable";
248
247
  passed: "passed";
248
+ unavailable: "unavailable";
249
249
  }>;
250
250
  durationMs: z.ZodNumber;
251
251
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -282,23 +282,23 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
282
282
  MANAGED_CLEANUP_INCOMPLETE: "MANAGED_CLEANUP_INCOMPLETE";
283
283
  }>;
284
284
  stage: z.ZodEnum<{
285
- snapshot: "snapshot";
286
- binary: "binary";
287
285
  integration: "integration";
286
+ binary: "binary";
288
287
  handshake: "handshake";
289
288
  auth: "auth";
290
289
  model: "model";
291
290
  protocol: "protocol";
291
+ snapshot: "snapshot";
292
292
  audit: "audit";
293
293
  validation: "validation";
294
294
  apply: "apply";
295
295
  cleanup: "cleanup";
296
296
  }>;
297
297
  recoverability: z.ZodEnum<{
298
- none: "none";
299
298
  retry: "retry";
300
299
  "user-action": "user-action";
301
300
  reconfigure: "reconfigure";
301
+ none: "none";
302
302
  }>;
303
303
  action: z.ZodEnum<{
304
304
  retry: "retry";
@@ -348,26 +348,26 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
348
348
  }>;
349
349
  maturity: z.ZodLiteral<"experimental">;
350
350
  availability: z.ZodEnum<{
351
- available: "available";
352
351
  unavailable: "unavailable";
352
+ available: "available";
353
353
  }>;
354
354
  }, z.core.$strict>;
355
355
  connectionState: z.ZodEnum<{
356
- error: "error";
357
- ready: "ready";
358
- busy: "busy";
359
356
  disconnected: "disconnected";
360
357
  diagnosing: "diagnosing";
361
358
  "awaiting-consent": "awaiting-consent";
362
359
  connecting: "connecting";
360
+ ready: "ready";
361
+ busy: "busy";
363
362
  degraded: "degraded";
363
+ error: "error";
364
364
  disconnecting: "disconnecting";
365
365
  }>;
366
366
  authReadiness: z.ZodEnum<{
367
- unknown: "unknown";
368
367
  authenticated: "authenticated";
369
368
  "auth-not-required": "auth-not-required";
370
369
  "signed-out": "signed-out";
370
+ unknown: "unknown";
371
371
  }>;
372
372
  grantState: z.ZodEnum<{
373
373
  missing: "missing";
@@ -379,9 +379,9 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
379
379
  task: z.ZodOptional<z.ZodObject<{
380
380
  revision: z.ZodNumber;
381
381
  deliveryStatus: z.ZodEnum<{
382
- dispatching: "dispatching";
383
382
  unknown: "unknown";
384
383
  queued: "queued";
384
+ dispatching: "dispatching";
385
385
  accepted: "accepted";
386
386
  }>;
387
387
  executionStatus: z.ZodEnum<{
@@ -393,22 +393,22 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
393
393
  interrupted: "interrupted";
394
394
  }>;
395
395
  managedPhase: z.ZodEnum<{
396
- completed: "completed";
397
- failed: "failed";
398
396
  preparing: "preparing";
399
397
  running: "running";
398
+ auditing: "auditing";
400
399
  validating: "validating";
401
400
  applying: "applying";
402
- cancelled: "cancelled";
403
- auditing: "auditing";
401
+ completed: "completed";
404
402
  "review-required": "review-required";
403
+ failed: "failed";
404
+ cancelled: "cancelled";
405
405
  "cleanup-warning": "cleanup-warning";
406
406
  }>;
407
407
  validationOutcome: z.ZodOptional<z.ZodEnum<{
408
408
  failed: "failed";
409
- unavailable: "unavailable";
410
409
  passed: "passed";
411
410
  "not-configured": "not-configured";
411
+ unavailable: "unavailable";
412
412
  }>>;
413
413
  files: z.ZodArray<z.ZodObject<{
414
414
  path: z.ZodString;
@@ -419,8 +419,8 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
419
419
  id: z.ZodString;
420
420
  outcome: z.ZodEnum<{
421
421
  failed: "failed";
422
- unavailable: "unavailable";
423
422
  passed: "passed";
423
+ unavailable: "unavailable";
424
424
  }>;
425
425
  durationMs: z.ZodNumber;
426
426
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -457,23 +457,23 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
457
457
  MANAGED_CLEANUP_INCOMPLETE: "MANAGED_CLEANUP_INCOMPLETE";
458
458
  }>;
459
459
  stage: z.ZodEnum<{
460
- snapshot: "snapshot";
461
- binary: "binary";
462
460
  integration: "integration";
461
+ binary: "binary";
463
462
  handshake: "handshake";
464
463
  auth: "auth";
465
464
  model: "model";
466
465
  protocol: "protocol";
466
+ snapshot: "snapshot";
467
467
  audit: "audit";
468
468
  validation: "validation";
469
469
  apply: "apply";
470
470
  cleanup: "cleanup";
471
471
  }>;
472
472
  recoverability: z.ZodEnum<{
473
- none: "none";
474
473
  retry: "retry";
475
474
  "user-action": "user-action";
476
475
  reconfigure: "reconfigure";
476
+ none: "none";
477
477
  }>;
478
478
  action: z.ZodEnum<{
479
479
  retry: "retry";
@@ -510,8 +510,8 @@ declare const externalAgentManagedResultSchema: z.ZodObject<{
510
510
  id: z.ZodString;
511
511
  outcome: z.ZodEnum<{
512
512
  failed: "failed";
513
- unavailable: "unavailable";
514
513
  passed: "passed";
514
+ unavailable: "unavailable";
515
515
  }>;
516
516
  durationMs: z.ZodNumber;
517
517
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -526,9 +526,9 @@ declare const externalAgentManagedResultSchema: z.ZodObject<{
526
526
  }, z.core.$strict>;
527
527
  validationOutcome: z.ZodEnum<{
528
528
  failed: "failed";
529
- unavailable: "unavailable";
530
529
  passed: "passed";
531
530
  "not-configured": "not-configured";
531
+ unavailable: "unavailable";
532
532
  }>;
533
533
  expiresAt: z.ZodISODateTime;
534
534
  }, z.core.$strict>;
@@ -47,23 +47,23 @@ declare const externalAgentErrorSchema: z.ZodObject<{
47
47
  MANAGED_CLEANUP_INCOMPLETE: "MANAGED_CLEANUP_INCOMPLETE";
48
48
  }>;
49
49
  stage: z.ZodEnum<{
50
- snapshot: "snapshot";
51
- binary: "binary";
52
50
  integration: "integration";
51
+ binary: "binary";
53
52
  handshake: "handshake";
54
53
  auth: "auth";
55
54
  model: "model";
56
55
  protocol: "protocol";
56
+ snapshot: "snapshot";
57
57
  audit: "audit";
58
58
  validation: "validation";
59
59
  apply: "apply";
60
60
  cleanup: "cleanup";
61
61
  }>;
62
62
  recoverability: z.ZodEnum<{
63
- none: "none";
64
63
  retry: "retry";
65
64
  "user-action": "user-action";
66
65
  reconfigure: "reconfigure";
66
+ none: "none";
67
67
  }>;
68
68
  action: z.ZodEnum<{
69
69
  retry: "retry";
@@ -87,8 +87,8 @@ declare const managedCheckSummarySchema: z.ZodObject<{
87
87
  id: z.ZodString;
88
88
  outcome: z.ZodEnum<{
89
89
  failed: "failed";
90
- unavailable: "unavailable";
91
90
  passed: "passed";
91
+ unavailable: "unavailable";
92
92
  }>;
93
93
  durationMs: z.ZodNumber;
94
94
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -104,9 +104,9 @@ declare const managedTimingSummarySchema: z.ZodObject<{
104
104
  declare const managedTaskStatusSchema: z.ZodObject<{
105
105
  revision: z.ZodNumber;
106
106
  deliveryStatus: z.ZodEnum<{
107
- dispatching: "dispatching";
108
107
  unknown: "unknown";
109
108
  queued: "queued";
109
+ dispatching: "dispatching";
110
110
  accepted: "accepted";
111
111
  }>;
112
112
  executionStatus: z.ZodEnum<{
@@ -118,22 +118,22 @@ declare const managedTaskStatusSchema: z.ZodObject<{
118
118
  interrupted: "interrupted";
119
119
  }>;
120
120
  managedPhase: z.ZodEnum<{
121
- completed: "completed";
122
- failed: "failed";
123
121
  preparing: "preparing";
124
122
  running: "running";
123
+ auditing: "auditing";
125
124
  validating: "validating";
126
125
  applying: "applying";
127
- cancelled: "cancelled";
128
- auditing: "auditing";
126
+ completed: "completed";
129
127
  "review-required": "review-required";
128
+ failed: "failed";
129
+ cancelled: "cancelled";
130
130
  "cleanup-warning": "cleanup-warning";
131
131
  }>;
132
132
  validationOutcome: z.ZodOptional<z.ZodEnum<{
133
133
  failed: "failed";
134
- unavailable: "unavailable";
135
134
  passed: "passed";
136
135
  "not-configured": "not-configured";
136
+ unavailable: "unavailable";
137
137
  }>>;
138
138
  files: z.ZodArray<z.ZodObject<{
139
139
  path: z.ZodString;
@@ -144,8 +144,8 @@ declare const managedTaskStatusSchema: z.ZodObject<{
144
144
  id: z.ZodString;
145
145
  outcome: z.ZodEnum<{
146
146
  failed: "failed";
147
- unavailable: "unavailable";
148
147
  passed: "passed";
148
+ unavailable: "unavailable";
149
149
  }>;
150
150
  durationMs: z.ZodNumber;
151
151
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -173,26 +173,26 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
173
173
  }>;
174
174
  maturity: z.ZodLiteral<"experimental">;
175
175
  availability: z.ZodEnum<{
176
- available: "available";
177
176
  unavailable: "unavailable";
177
+ available: "available";
178
178
  }>;
179
179
  }, z.core.$strict>;
180
180
  connectionState: z.ZodEnum<{
181
- error: "error";
182
- ready: "ready";
183
- busy: "busy";
184
181
  disconnected: "disconnected";
185
182
  diagnosing: "diagnosing";
186
183
  "awaiting-consent": "awaiting-consent";
187
184
  connecting: "connecting";
185
+ ready: "ready";
186
+ busy: "busy";
188
187
  degraded: "degraded";
188
+ error: "error";
189
189
  disconnecting: "disconnecting";
190
190
  }>;
191
191
  authReadiness: z.ZodEnum<{
192
- unknown: "unknown";
193
192
  authenticated: "authenticated";
194
193
  "auth-not-required": "auth-not-required";
195
194
  "signed-out": "signed-out";
195
+ unknown: "unknown";
196
196
  }>;
197
197
  grantState: z.ZodEnum<{
198
198
  missing: "missing";
@@ -204,9 +204,9 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
204
204
  task: z.ZodOptional<z.ZodObject<{
205
205
  revision: z.ZodNumber;
206
206
  deliveryStatus: z.ZodEnum<{
207
- dispatching: "dispatching";
208
207
  unknown: "unknown";
209
208
  queued: "queued";
209
+ dispatching: "dispatching";
210
210
  accepted: "accepted";
211
211
  }>;
212
212
  executionStatus: z.ZodEnum<{
@@ -218,22 +218,22 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
218
218
  interrupted: "interrupted";
219
219
  }>;
220
220
  managedPhase: z.ZodEnum<{
221
- completed: "completed";
222
- failed: "failed";
223
221
  preparing: "preparing";
224
222
  running: "running";
223
+ auditing: "auditing";
225
224
  validating: "validating";
226
225
  applying: "applying";
227
- cancelled: "cancelled";
228
- auditing: "auditing";
226
+ completed: "completed";
229
227
  "review-required": "review-required";
228
+ failed: "failed";
229
+ cancelled: "cancelled";
230
230
  "cleanup-warning": "cleanup-warning";
231
231
  }>;
232
232
  validationOutcome: z.ZodOptional<z.ZodEnum<{
233
233
  failed: "failed";
234
- unavailable: "unavailable";
235
234
  passed: "passed";
236
235
  "not-configured": "not-configured";
236
+ unavailable: "unavailable";
237
237
  }>>;
238
238
  files: z.ZodArray<z.ZodObject<{
239
239
  path: z.ZodString;
@@ -244,8 +244,8 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
244
244
  id: z.ZodString;
245
245
  outcome: z.ZodEnum<{
246
246
  failed: "failed";
247
- unavailable: "unavailable";
248
247
  passed: "passed";
248
+ unavailable: "unavailable";
249
249
  }>;
250
250
  durationMs: z.ZodNumber;
251
251
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -282,23 +282,23 @@ declare const externalAgentControlStatusSchema: z.ZodObject<{
282
282
  MANAGED_CLEANUP_INCOMPLETE: "MANAGED_CLEANUP_INCOMPLETE";
283
283
  }>;
284
284
  stage: z.ZodEnum<{
285
- snapshot: "snapshot";
286
- binary: "binary";
287
285
  integration: "integration";
286
+ binary: "binary";
288
287
  handshake: "handshake";
289
288
  auth: "auth";
290
289
  model: "model";
291
290
  protocol: "protocol";
291
+ snapshot: "snapshot";
292
292
  audit: "audit";
293
293
  validation: "validation";
294
294
  apply: "apply";
295
295
  cleanup: "cleanup";
296
296
  }>;
297
297
  recoverability: z.ZodEnum<{
298
- none: "none";
299
298
  retry: "retry";
300
299
  "user-action": "user-action";
301
300
  reconfigure: "reconfigure";
301
+ none: "none";
302
302
  }>;
303
303
  action: z.ZodEnum<{
304
304
  retry: "retry";
@@ -348,26 +348,26 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
348
348
  }>;
349
349
  maturity: z.ZodLiteral<"experimental">;
350
350
  availability: z.ZodEnum<{
351
- available: "available";
352
351
  unavailable: "unavailable";
352
+ available: "available";
353
353
  }>;
354
354
  }, z.core.$strict>;
355
355
  connectionState: z.ZodEnum<{
356
- error: "error";
357
- ready: "ready";
358
- busy: "busy";
359
356
  disconnected: "disconnected";
360
357
  diagnosing: "diagnosing";
361
358
  "awaiting-consent": "awaiting-consent";
362
359
  connecting: "connecting";
360
+ ready: "ready";
361
+ busy: "busy";
363
362
  degraded: "degraded";
363
+ error: "error";
364
364
  disconnecting: "disconnecting";
365
365
  }>;
366
366
  authReadiness: z.ZodEnum<{
367
- unknown: "unknown";
368
367
  authenticated: "authenticated";
369
368
  "auth-not-required": "auth-not-required";
370
369
  "signed-out": "signed-out";
370
+ unknown: "unknown";
371
371
  }>;
372
372
  grantState: z.ZodEnum<{
373
373
  missing: "missing";
@@ -379,9 +379,9 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
379
379
  task: z.ZodOptional<z.ZodObject<{
380
380
  revision: z.ZodNumber;
381
381
  deliveryStatus: z.ZodEnum<{
382
- dispatching: "dispatching";
383
382
  unknown: "unknown";
384
383
  queued: "queued";
384
+ dispatching: "dispatching";
385
385
  accepted: "accepted";
386
386
  }>;
387
387
  executionStatus: z.ZodEnum<{
@@ -393,22 +393,22 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
393
393
  interrupted: "interrupted";
394
394
  }>;
395
395
  managedPhase: z.ZodEnum<{
396
- completed: "completed";
397
- failed: "failed";
398
396
  preparing: "preparing";
399
397
  running: "running";
398
+ auditing: "auditing";
400
399
  validating: "validating";
401
400
  applying: "applying";
402
- cancelled: "cancelled";
403
- auditing: "auditing";
401
+ completed: "completed";
404
402
  "review-required": "review-required";
403
+ failed: "failed";
404
+ cancelled: "cancelled";
405
405
  "cleanup-warning": "cleanup-warning";
406
406
  }>;
407
407
  validationOutcome: z.ZodOptional<z.ZodEnum<{
408
408
  failed: "failed";
409
- unavailable: "unavailable";
410
409
  passed: "passed";
411
410
  "not-configured": "not-configured";
411
+ unavailable: "unavailable";
412
412
  }>>;
413
413
  files: z.ZodArray<z.ZodObject<{
414
414
  path: z.ZodString;
@@ -419,8 +419,8 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
419
419
  id: z.ZodString;
420
420
  outcome: z.ZodEnum<{
421
421
  failed: "failed";
422
- unavailable: "unavailable";
423
422
  passed: "passed";
423
+ unavailable: "unavailable";
424
424
  }>;
425
425
  durationMs: z.ZodNumber;
426
426
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -457,23 +457,23 @@ declare const externalAgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
457
457
  MANAGED_CLEANUP_INCOMPLETE: "MANAGED_CLEANUP_INCOMPLETE";
458
458
  }>;
459
459
  stage: z.ZodEnum<{
460
- snapshot: "snapshot";
461
- binary: "binary";
462
460
  integration: "integration";
461
+ binary: "binary";
463
462
  handshake: "handshake";
464
463
  auth: "auth";
465
464
  model: "model";
466
465
  protocol: "protocol";
466
+ snapshot: "snapshot";
467
467
  audit: "audit";
468
468
  validation: "validation";
469
469
  apply: "apply";
470
470
  cleanup: "cleanup";
471
471
  }>;
472
472
  recoverability: z.ZodEnum<{
473
- none: "none";
474
473
  retry: "retry";
475
474
  "user-action": "user-action";
476
475
  reconfigure: "reconfigure";
476
+ none: "none";
477
477
  }>;
478
478
  action: z.ZodEnum<{
479
479
  retry: "retry";
@@ -510,8 +510,8 @@ declare const externalAgentManagedResultSchema: z.ZodObject<{
510
510
  id: z.ZodString;
511
511
  outcome: z.ZodEnum<{
512
512
  failed: "failed";
513
- unavailable: "unavailable";
514
513
  passed: "passed";
514
+ unavailable: "unavailable";
515
515
  }>;
516
516
  durationMs: z.ZodNumber;
517
517
  exitCode: z.ZodOptional<z.ZodNumber>;
@@ -526,9 +526,9 @@ declare const externalAgentManagedResultSchema: z.ZodObject<{
526
526
  }, z.core.$strict>;
527
527
  validationOutcome: z.ZodEnum<{
528
528
  failed: "failed";
529
- unavailable: "unavailable";
530
529
  passed: "passed";
531
530
  "not-configured": "not-configured";
531
+ unavailable: "unavailable";
532
532
  }>;
533
533
  expiresAt: z.ZodISODateTime;
534
534
  }, z.core.$strict>;