@spotpatch/shared 1.10.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.
Files changed (39) hide show
  1. package/dist/{chunk-RK46Y7LD.js → chunk-5CHYMRNS.js} +3 -2
  2. package/dist/chunk-5CHYMRNS.js.map +1 -0
  3. package/dist/{chunk-ZCG3DLSW.js → chunk-JGOIBOFI.js} +8 -2
  4. package/dist/chunk-JGOIBOFI.js.map +1 -0
  5. package/dist/{chunk-MOGITGPP.js → chunk-JU5HIWX7.js} +1 -1
  6. package/dist/chunk-JU5HIWX7.js.map +1 -0
  7. package/dist/{data-flow-runtime-BMm3F-eV.d.cts → data-flow-runtime-BelOgo8s.d.ts} +2 -1
  8. package/dist/{data-flow-runtime-Dp-xznQW.d.ts → data-flow-runtime-oq9m21IP.d.cts} +2 -1
  9. package/dist/data-flow-runtime.cjs +9 -2
  10. package/dist/data-flow-runtime.cjs.map +1 -1
  11. package/dist/data-flow-runtime.d.cts +2 -2
  12. package/dist/data-flow-runtime.d.ts +2 -2
  13. package/dist/data-flow-runtime.js +2 -2
  14. package/dist/{endpoints-BT-Bl1WS.d.cts → endpoints-GedF44M2.d.cts} +6 -0
  15. package/dist/{endpoints-BT-Bl1WS.d.ts → endpoints-GedF44M2.d.ts} +6 -0
  16. package/dist/external-agent-control-BMoSq_xI.d.cts +547 -0
  17. package/dist/external-agent-control-BMoSq_xI.d.ts +547 -0
  18. package/dist/external-agent-node.cjs.map +1 -1
  19. package/dist/external-agent-node.d.cts +19 -19
  20. package/dist/external-agent-node.d.ts +19 -19
  21. package/dist/external-agent-node.js +1 -1
  22. package/dist/external-handoff-browser.cjs +162 -1
  23. package/dist/external-handoff-browser.cjs.map +1 -1
  24. package/dist/external-handoff-browser.d.cts +29 -3
  25. package/dist/external-handoff-browser.d.ts +29 -3
  26. package/dist/external-handoff-browser.js +141 -1
  27. package/dist/external-handoff-browser.js.map +1 -1
  28. package/dist/index.cjs +483 -184
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.cts +62 -60
  31. package/dist/index.d.ts +62 -60
  32. package/dist/index.js +329 -67
  33. package/dist/index.js.map +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-MOGITGPP.js.map +0 -1
  36. package/dist/chunk-RK46Y7LD.js.map +0 -1
  37. package/dist/chunk-ZCG3DLSW.js.map +0 -1
  38. package/dist/{external-handoff-CWoooqhp.d.cts → external-handoff-BNUyMfNb.d.cts} +19 -19
  39. package/dist/{external-handoff-CWoooqhp.d.ts → external-handoff-BNUyMfNb.d.ts} +19 -19
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- import { C as ContextBudget, y as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './external-handoff-CWoooqhp.js';
2
- export { A as ActiveAdapterSummary, z as CodeContext, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, E as EXTERNAL_HANDOFF_LIMITS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, B as ElementContext, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS, F as MAX_ANNOTATION_TARGETS, G as MAX_TARGET_INSTRUCTION_CHARACTERS, H as MatchedStyleRule, P as PageContext, R as ReactContext, I as SPOTPATCH_LOCALES, J as SourceConfidence, K as SourceOrigin, L as SourceRef, x as SpotPatchLocale, N as SpotPatchLocalePreference, O as SpotTargetContext, Q as StyleContext, T as activeAdapterSummarySchema, U as dispatchSummarySchema, V as externalHandoffCapabilityRequestSchema, W as externalHandoffCapabilitySchema, X as externalHandoffPublishDeliverySchema, Y as externalHandoffPublishRequestSchema, Z as externalHandoffPublishResultSchema, _ as externalHandoffReportableDispatchPhaseSchema, $ as externalHandoffResolveDeliveryRequestSchema, a0 as externalHandoffSnapshotSchema, a1 as externalHandoffStatusRequestSchema, a2 as externalHandoffStatusResultSchema, a3 as externalHandoffSummarySchema } from './external-handoff-CWoooqhp.js';
3
- import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-Dp-xznQW.js';
4
- export { A as AnalysisBaseline, b as AssociationKind, c as ComponentIdentity, D as DATA_FLOW_ASSOCIATION_KINDS, d as DATA_FLOW_DIAGNOSTIC_CODES, e as DATA_FLOW_EXECUTION_STATES, f as DATA_FLOW_FRESHNESS_STATES, g as DATA_FLOW_PROOF_STATES, h as DATA_FLOW_SCHEMA_VERSION, i as DATA_FLOW_URL_QUERY_KEY_LIMIT, j as DEFAULT_DATA_FLOW_LIMITS, k as DEFAULT_RUNTIME_DATA_FLOW_LIMITS, l as DataDependency, m as DataFlowCapability, n as DataFlowCapabilityReason, o as DataFlowDiagnostic, p as DataFlowDiagnosticCode, q as DataFlowLimits, r as DataParameter, s as DataResponseDescriptor, E as EvidenceRef, t as EvidenceSourceRef, u as ExecutionState, F as FreshnessState, N as NetworkObservation, v as ProofState, w as RequestOrigin, x as RuntimeDataFlowLimits, S as SanitizedObservedUrl, y as componentDataFlowReportSchema, z as dataDependencySchema, B as networkObservationSchema, G as pageDataFlowReportSchema, H as runtimeDataFlowConfigSchema } from './data-flow-runtime-Dp-xznQW.js';
1
+ import { C as ContextBudget, y as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './external-handoff-BNUyMfNb.js';
2
+ export { A as ActiveAdapterSummary, z as CodeContext, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, E as EXTERNAL_HANDOFF_LIMITS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, B as ElementContext, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS, F as MAX_ANNOTATION_TARGETS, G as MAX_TARGET_INSTRUCTION_CHARACTERS, H as MatchedStyleRule, P as PageContext, R as ReactContext, I as SPOTPATCH_LOCALES, J as SourceConfidence, K as SourceOrigin, L as SourceRef, x as SpotPatchLocale, N as SpotPatchLocalePreference, O as SpotTargetContext, Q as StyleContext, T as activeAdapterSummarySchema, U as dispatchSummarySchema, V as externalHandoffCapabilityRequestSchema, W as externalHandoffCapabilitySchema, X as externalHandoffPublishDeliverySchema, Y as externalHandoffPublishRequestSchema, Z as externalHandoffPublishResultSchema, _ as externalHandoffReportableDispatchPhaseSchema, $ as externalHandoffResolveDeliveryRequestSchema, a0 as externalHandoffSnapshotSchema, a1 as externalHandoffStatusRequestSchema, a2 as externalHandoffStatusResultSchema, a3 as externalHandoffSummarySchema } from './external-handoff-BNUyMfNb.js';
3
+ import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-BelOgo8s.js';
4
+ export { A as AnalysisBaseline, b as AssociationKind, c as ComponentIdentity, D as DATA_FLOW_ASSOCIATION_KINDS, d as DATA_FLOW_DIAGNOSTIC_CODES, e as DATA_FLOW_EXECUTION_STATES, f as DATA_FLOW_FRESHNESS_STATES, g as DATA_FLOW_PROOF_STATES, h as DATA_FLOW_SCHEMA_VERSION, i as DATA_FLOW_URL_QUERY_KEY_LIMIT, j as DEFAULT_DATA_FLOW_LIMITS, k as DEFAULT_RUNTIME_DATA_FLOW_LIMITS, l as DataDependency, m as DataFlowCapability, n as DataFlowCapabilityReason, o as DataFlowDiagnostic, p as DataFlowDiagnosticCode, q as DataFlowLimits, r as DataParameter, s as DataResponseDescriptor, E as EvidenceRef, t as EvidenceSourceRef, u as ExecutionState, F as FreshnessState, N as NetworkObservation, v as ProofState, w as RequestOrigin, x as RuntimeDataFlowLimits, S as SanitizedObservedUrl, y as componentDataFlowReportSchema, z as dataDependencySchema, B as networkObservationSchema, G as pageDataFlowReportSchema, H as runtimeDataFlowConfigSchema } from './data-flow-runtime-BelOgo8s.js';
5
5
  import { z } from 'zod';
6
- import { b as SPOTPATCH_API_BASE } from './endpoints-BT-Bl1WS.js';
7
- export { A as AgentJobAction, S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER, g as getAgentJobEndpoint } from './endpoints-BT-Bl1WS.js';
6
+ import { b as SPOTPATCH_API_BASE } from './endpoints-GedF44M2.js';
7
+ export { A as AgentJobAction, S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER, g as getAgentJobEndpoint } from './endpoints-GedF44M2.js';
8
+ export { k as EXTERNAL_AGENT_ACTIONS, l as EXTERNAL_AGENT_AUTH_READINESS, m as EXTERNAL_AGENT_CONNECTION_STATES, n as EXTERNAL_AGENT_CONTROL_LIMITS, o as EXTERNAL_AGENT_CONTROL_SCHEMA_VERSION, p as EXTERNAL_AGENT_DELIVERY_STATUSES, q as EXTERNAL_AGENT_ERROR_CODES, r as EXTERNAL_AGENT_ERROR_RECOVERABILITY, s as EXTERNAL_AGENT_ERROR_STAGES, t as EXTERNAL_AGENT_EXECUTION_STATUSES, u as EXTERNAL_AGENT_GRANT_STATES, v as EXTERNAL_AGENT_MANAGED_ADAPTER_KINDS, w as EXTERNAL_AGENT_MANAGED_PHASES, x as EXTERNAL_AGENT_MANAGED_PROFILE, y as EXTERNAL_AGENT_MODES, z as EXTERNAL_AGENT_VALIDATION_OUTCOMES, E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest, A as externalAgentControlCancelRequestSchema, B as externalAgentControlConnectRequestSchema, C as externalAgentControlDisconnectRequestSchema, D as externalAgentControlStatusRequestSchema, F as externalAgentControlStatusSchema, G as externalAgentErrorSchema, H as externalAgentEventSchema, I as externalAgentEventsRequestSchema, J as externalAgentManagedResultSchema, K as externalAgentResultRequestSchema, L as managedCheckSummarySchema, M as managedFileSummarySchema, N as managedTaskStatusSchema, O as managedTimingSummarySchema } from './external-agent-control-BMoSq_xI.js';
8
9
 
9
10
  declare const ERROR_CODES: {
10
11
  readonly INVALID_REQUEST: "INVALID_REQUEST";
@@ -274,6 +275,7 @@ interface AgentCheckResult {
274
275
  readonly label: string;
275
276
  readonly status: AgentCheckStatus;
276
277
  readonly durationMs: number;
278
+ readonly exitCode?: number;
277
279
  readonly output: string;
278
280
  }
279
281
  interface AgentJobSnapshot {
@@ -397,16 +399,16 @@ declare const spotTargetContextRequestSchema: z.ZodObject<{
397
399
  line: z.ZodOptional<z.ZodNumber>;
398
400
  column: z.ZodOptional<z.ZodNumber>;
399
401
  origin: z.ZodEnum<{
402
+ none: "none";
400
403
  "jsx-host": "jsx-host";
401
404
  "react-fiber": "react-fiber";
402
405
  "dom-ancestor": "dom-ancestor";
403
- none: "none";
404
406
  }>;
405
407
  confidence: z.ZodEnum<{
408
+ unknown: "unknown";
406
409
  exact: "exact";
407
410
  probable: "probable";
408
411
  approximate: "approximate";
409
- unknown: "unknown";
410
412
  }>;
411
413
  }, z.core.$strict>;
412
414
  react: z.ZodObject<{
@@ -422,16 +424,16 @@ declare const spotTargetContextRequestSchema: z.ZodObject<{
422
424
  line: z.ZodOptional<z.ZodNumber>;
423
425
  column: z.ZodOptional<z.ZodNumber>;
424
426
  origin: z.ZodEnum<{
427
+ none: "none";
425
428
  "jsx-host": "jsx-host";
426
429
  "react-fiber": "react-fiber";
427
430
  "dom-ancestor": "dom-ancestor";
428
- none: "none";
429
431
  }>;
430
432
  confidence: z.ZodEnum<{
433
+ unknown: "unknown";
431
434
  exact: "exact";
432
435
  probable: "probable";
433
436
  approximate: "approximate";
434
- unknown: "unknown";
435
437
  }>;
436
438
  }, z.core.$strict>>;
437
439
  }, z.core.$strict>;
@@ -507,16 +509,16 @@ declare const spotAnnotationRequestSchema: z.ZodObject<{
507
509
  line: z.ZodOptional<z.ZodNumber>;
508
510
  column: z.ZodOptional<z.ZodNumber>;
509
511
  origin: z.ZodEnum<{
512
+ none: "none";
510
513
  "jsx-host": "jsx-host";
511
514
  "react-fiber": "react-fiber";
512
515
  "dom-ancestor": "dom-ancestor";
513
- none: "none";
514
516
  }>;
515
517
  confidence: z.ZodEnum<{
518
+ unknown: "unknown";
516
519
  exact: "exact";
517
520
  probable: "probable";
518
521
  approximate: "approximate";
519
- unknown: "unknown";
520
522
  }>;
521
523
  }, z.core.$strict>;
522
524
  react: z.ZodObject<{
@@ -532,16 +534,16 @@ declare const spotAnnotationRequestSchema: z.ZodObject<{
532
534
  line: z.ZodOptional<z.ZodNumber>;
533
535
  column: z.ZodOptional<z.ZodNumber>;
534
536
  origin: z.ZodEnum<{
537
+ none: "none";
535
538
  "jsx-host": "jsx-host";
536
539
  "react-fiber": "react-fiber";
537
540
  "dom-ancestor": "dom-ancestor";
538
- none: "none";
539
541
  }>;
540
542
  confidence: z.ZodEnum<{
543
+ unknown: "unknown";
541
544
  exact: "exact";
542
545
  probable: "probable";
543
546
  approximate: "approximate";
544
- unknown: "unknown";
545
547
  }>;
546
548
  }, z.core.$strict>>;
547
549
  }, z.core.$strict>;
@@ -625,16 +627,16 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
625
627
  line: z.ZodOptional<z.ZodNumber>;
626
628
  column: z.ZodOptional<z.ZodNumber>;
627
629
  origin: z.ZodEnum<{
630
+ none: "none";
628
631
  "jsx-host": "jsx-host";
629
632
  "react-fiber": "react-fiber";
630
633
  "dom-ancestor": "dom-ancestor";
631
- none: "none";
632
634
  }>;
633
635
  confidence: z.ZodEnum<{
636
+ unknown: "unknown";
634
637
  exact: "exact";
635
638
  probable: "probable";
636
639
  approximate: "approximate";
637
- unknown: "unknown";
638
640
  }>;
639
641
  }, z.core.$strict>;
640
642
  react: z.ZodObject<{
@@ -650,16 +652,16 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
650
652
  line: z.ZodOptional<z.ZodNumber>;
651
653
  column: z.ZodOptional<z.ZodNumber>;
652
654
  origin: z.ZodEnum<{
655
+ none: "none";
653
656
  "jsx-host": "jsx-host";
654
657
  "react-fiber": "react-fiber";
655
658
  "dom-ancestor": "dom-ancestor";
656
- none: "none";
657
659
  }>;
658
660
  confidence: z.ZodEnum<{
661
+ unknown: "unknown";
659
662
  exact: "exact";
660
663
  probable: "probable";
661
664
  approximate: "approximate";
662
- unknown: "unknown";
663
665
  }>;
664
666
  }, z.core.$strict>>;
665
667
  }, z.core.$strict>;
@@ -793,10 +795,10 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
793
795
  }>;
794
796
  state: z.ZodEnum<{
795
797
  unknown: "unknown";
798
+ unavailable: "unavailable";
796
799
  probing: "probing";
797
800
  "agent-ready": "agent-ready";
798
801
  "prompt-only": "prompt-only";
799
- unavailable: "unavailable";
800
802
  }>;
801
803
  authenticated: z.ZodBoolean;
802
804
  modelAvailable: z.ZodBoolean;
@@ -947,8 +949,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
947
949
  checkId: z.ZodString;
948
950
  label: z.ZodString;
949
951
  status: z.ZodEnum<{
950
- cancelled: "cancelled";
951
952
  failed: "failed";
953
+ cancelled: "cancelled";
952
954
  passed: "passed";
953
955
  "timed-out": "timed-out";
954
956
  }>;
@@ -962,15 +964,15 @@ declare const agentJobSnapshotSchema: z.ZodObject<{
962
964
  preparing: "preparing";
963
965
  running: "running";
964
966
  validating: "validating";
965
- "awaiting-review": "awaiting-review";
966
967
  applying: "applying";
967
- applied: "applied";
968
968
  completed: "completed";
969
- cancelling: "cancelling";
969
+ failed: "failed";
970
970
  cancelled: "cancelled";
971
+ "awaiting-review": "awaiting-review";
972
+ applied: "applied";
973
+ cancelling: "cancelling";
971
974
  reverting: "reverting";
972
975
  reverted: "reverted";
973
- failed: "failed";
974
976
  }>;
975
977
  providerProfileId: z.ZodString;
976
978
  providerLabel: z.ZodString;
@@ -1057,8 +1059,8 @@ declare const agentJobResultSchema: z.ZodObject<{
1057
1059
  checkId: z.ZodString;
1058
1060
  label: z.ZodString;
1059
1061
  status: z.ZodEnum<{
1060
- cancelled: "cancelled";
1061
1062
  failed: "failed";
1063
+ cancelled: "cancelled";
1062
1064
  passed: "passed";
1063
1065
  "timed-out": "timed-out";
1064
1066
  }>;
@@ -1074,15 +1076,15 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1074
1076
  preparing: "preparing";
1075
1077
  running: "running";
1076
1078
  validating: "validating";
1077
- "awaiting-review": "awaiting-review";
1078
1079
  applying: "applying";
1079
- applied: "applied";
1080
1080
  completed: "completed";
1081
- cancelling: "cancelling";
1081
+ failed: "failed";
1082
1082
  cancelled: "cancelled";
1083
+ "awaiting-review": "awaiting-review";
1084
+ applied: "applied";
1085
+ cancelling: "cancelling";
1083
1086
  reverting: "reverting";
1084
1087
  reverted: "reverted";
1085
- failed: "failed";
1086
1088
  }>;
1087
1089
  providerProfileId: z.ZodString;
1088
1090
  providerLabel: z.ZodString;
@@ -1169,8 +1171,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1169
1171
  checkId: z.ZodString;
1170
1172
  label: z.ZodString;
1171
1173
  status: z.ZodEnum<{
1172
- cancelled: "cancelled";
1173
1174
  failed: "failed";
1175
+ cancelled: "cancelled";
1174
1176
  passed: "passed";
1175
1177
  "timed-out": "timed-out";
1176
1178
  }>;
@@ -1188,15 +1190,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1188
1190
  preparing: "preparing";
1189
1191
  running: "running";
1190
1192
  validating: "validating";
1191
- "awaiting-review": "awaiting-review";
1192
1193
  applying: "applying";
1193
- applied: "applied";
1194
1194
  completed: "completed";
1195
- cancelling: "cancelling";
1195
+ failed: "failed";
1196
1196
  cancelled: "cancelled";
1197
+ "awaiting-review": "awaiting-review";
1198
+ applied: "applied";
1199
+ cancelling: "cancelling";
1197
1200
  reverting: "reverting";
1198
1201
  reverted: "reverted";
1199
- failed: "failed";
1200
1202
  }>;
1201
1203
  timestamp: z.ZodISODateTime;
1202
1204
  type: z.ZodLiteral<"snapshot">;
@@ -1208,15 +1210,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1208
1210
  preparing: "preparing";
1209
1211
  running: "running";
1210
1212
  validating: "validating";
1211
- "awaiting-review": "awaiting-review";
1212
1213
  applying: "applying";
1213
- applied: "applied";
1214
1214
  completed: "completed";
1215
- cancelling: "cancelling";
1215
+ failed: "failed";
1216
1216
  cancelled: "cancelled";
1217
+ "awaiting-review": "awaiting-review";
1218
+ applied: "applied";
1219
+ cancelling: "cancelling";
1217
1220
  reverting: "reverting";
1218
1221
  reverted: "reverted";
1219
- failed: "failed";
1220
1222
  }>;
1221
1223
  providerProfileId: z.ZodString;
1222
1224
  providerLabel: z.ZodString;
@@ -1295,15 +1297,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1295
1297
  preparing: "preparing";
1296
1298
  running: "running";
1297
1299
  validating: "validating";
1298
- "awaiting-review": "awaiting-review";
1299
1300
  applying: "applying";
1300
- applied: "applied";
1301
1301
  completed: "completed";
1302
- cancelling: "cancelling";
1302
+ failed: "failed";
1303
1303
  cancelled: "cancelled";
1304
+ "awaiting-review": "awaiting-review";
1305
+ applied: "applied";
1306
+ cancelling: "cancelling";
1304
1307
  reverting: "reverting";
1305
1308
  reverted: "reverted";
1306
- failed: "failed";
1307
1309
  }>;
1308
1310
  timestamp: z.ZodISODateTime;
1309
1311
  type: z.ZodLiteral<"phase">;
@@ -1319,15 +1321,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1319
1321
  preparing: "preparing";
1320
1322
  running: "running";
1321
1323
  validating: "validating";
1322
- "awaiting-review": "awaiting-review";
1323
1324
  applying: "applying";
1324
- applied: "applied";
1325
1325
  completed: "completed";
1326
- cancelling: "cancelling";
1326
+ failed: "failed";
1327
1327
  cancelled: "cancelled";
1328
+ "awaiting-review": "awaiting-review";
1329
+ applied: "applied";
1330
+ cancelling: "cancelling";
1328
1331
  reverting: "reverting";
1329
1332
  reverted: "reverted";
1330
- failed: "failed";
1331
1333
  }>;
1332
1334
  timestamp: z.ZodISODateTime;
1333
1335
  type: z.ZodLiteral<"tool">;
@@ -1336,8 +1338,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1336
1338
  toolCallId: z.ZodString;
1337
1339
  toolName: z.ZodString;
1338
1340
  state: z.ZodEnum<{
1339
- failed: "failed";
1340
1341
  started: "started";
1342
+ failed: "failed";
1341
1343
  succeeded: "succeeded";
1342
1344
  }>;
1343
1345
  relativePath: z.ZodOptional<z.ZodString>;
@@ -1352,15 +1354,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1352
1354
  preparing: "preparing";
1353
1355
  running: "running";
1354
1356
  validating: "validating";
1355
- "awaiting-review": "awaiting-review";
1356
1357
  applying: "applying";
1357
- applied: "applied";
1358
1358
  completed: "completed";
1359
- cancelling: "cancelling";
1359
+ failed: "failed";
1360
1360
  cancelled: "cancelled";
1361
+ "awaiting-review": "awaiting-review";
1362
+ applied: "applied";
1363
+ cancelling: "cancelling";
1361
1364
  reverting: "reverting";
1362
1365
  reverted: "reverted";
1363
- failed: "failed";
1364
1366
  }>;
1365
1367
  timestamp: z.ZodISODateTime;
1366
1368
  type: z.ZodLiteral<"check">;
@@ -1369,8 +1371,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1369
1371
  checkId: z.ZodString;
1370
1372
  label: z.ZodString;
1371
1373
  status: z.ZodEnum<{
1372
- cancelled: "cancelled";
1373
1374
  failed: "failed";
1375
+ cancelled: "cancelled";
1374
1376
  passed: "passed";
1375
1377
  "timed-out": "timed-out";
1376
1378
  }>;
@@ -1387,15 +1389,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1387
1389
  preparing: "preparing";
1388
1390
  running: "running";
1389
1391
  validating: "validating";
1390
- "awaiting-review": "awaiting-review";
1391
1392
  applying: "applying";
1392
- applied: "applied";
1393
1393
  completed: "completed";
1394
- cancelling: "cancelling";
1394
+ failed: "failed";
1395
1395
  cancelled: "cancelled";
1396
+ "awaiting-review": "awaiting-review";
1397
+ applied: "applied";
1398
+ cancelling: "cancelling";
1396
1399
  reverting: "reverting";
1397
1400
  reverted: "reverted";
1398
- failed: "failed";
1399
1401
  }>;
1400
1402
  timestamp: z.ZodISODateTime;
1401
1403
  type: z.ZodLiteral<"result-ready">;
@@ -1411,15 +1413,15 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1411
1413
  preparing: "preparing";
1412
1414
  running: "running";
1413
1415
  validating: "validating";
1414
- "awaiting-review": "awaiting-review";
1415
1416
  applying: "applying";
1416
- applied: "applied";
1417
1417
  completed: "completed";
1418
- cancelling: "cancelling";
1418
+ failed: "failed";
1419
1419
  cancelled: "cancelled";
1420
+ "awaiting-review": "awaiting-review";
1421
+ applied: "applied";
1422
+ cancelling: "cancelling";
1420
1423
  reverting: "reverting";
1421
1424
  reverted: "reverted";
1422
- failed: "failed";
1423
1425
  }>;
1424
1426
  timestamp: z.ZodISODateTime;
1425
1427
  type: z.ZodLiteral<"error">;