@spotpatch/shared 1.10.0 → 1.11.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 (36) hide show
  1. package/dist/{chunk-ZCG3DLSW.js → chunk-JGOIBOFI.js} +8 -2
  2. package/dist/chunk-JGOIBOFI.js.map +1 -0
  3. package/dist/{chunk-MOGITGPP.js → chunk-JU5HIWX7.js} +1 -1
  4. package/dist/chunk-JU5HIWX7.js.map +1 -0
  5. package/dist/{data-flow-runtime-BMm3F-eV.d.cts → data-flow-runtime-BiouPr1G.d.cts} +1 -1
  6. package/dist/{data-flow-runtime-Dp-xznQW.d.ts → data-flow-runtime-oKZOBYAB.d.ts} +1 -1
  7. package/dist/data-flow-runtime.cjs +7 -1
  8. package/dist/data-flow-runtime.cjs.map +1 -1
  9. package/dist/data-flow-runtime.d.cts +2 -2
  10. package/dist/data-flow-runtime.d.ts +2 -2
  11. package/dist/data-flow-runtime.js +1 -1
  12. package/dist/{endpoints-BT-Bl1WS.d.cts → endpoints-GedF44M2.d.cts} +6 -0
  13. package/dist/{endpoints-BT-Bl1WS.d.ts → endpoints-GedF44M2.d.ts} +6 -0
  14. package/dist/external-agent-control-BB-oicmw.d.cts +547 -0
  15. package/dist/external-agent-control-BB-oicmw.d.ts +547 -0
  16. package/dist/external-agent-node.cjs.map +1 -1
  17. package/dist/external-agent-node.d.cts +20 -20
  18. package/dist/external-agent-node.d.ts +20 -20
  19. package/dist/external-agent-node.js +1 -1
  20. package/dist/external-handoff-browser.cjs +162 -1
  21. package/dist/external-handoff-browser.cjs.map +1 -1
  22. package/dist/external-handoff-browser.d.cts +29 -3
  23. package/dist/external-handoff-browser.d.ts +29 -3
  24. package/dist/external-handoff-browser.js +141 -1
  25. package/dist/external-handoff-browser.js.map +1 -1
  26. package/dist/index.cjs +481 -183
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +31 -29
  29. package/dist/index.d.ts +31 -29
  30. package/dist/index.js +328 -66
  31. package/dist/index.js.map +1 -1
  32. package/package.json +1 -1
  33. package/dist/chunk-MOGITGPP.js.map +0 -1
  34. package/dist/chunk-ZCG3DLSW.js.map +0 -1
  35. package/dist/{external-handoff-CWoooqhp.d.cts → external-handoff--lT9XQEw.d.cts} +22 -22
  36. package/dist/{external-handoff-CWoooqhp.d.ts → external-handoff--lT9XQEw.d.ts} +22 -22
package/dist/index.d.cts CHANGED
@@ -1,10 +1,11 @@
1
- import { C as ContextBudget, y as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './external-handoff-CWoooqhp.cjs';
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.cjs';
3
- import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-BMm3F-eV.cjs';
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-BMm3F-eV.cjs';
1
+ import { C as ContextBudget, y as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './external-handoff--lT9XQEw.cjs';
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--lT9XQEw.cjs';
3
+ import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-BiouPr1G.cjs';
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-BiouPr1G.cjs';
5
5
  import { z } from 'zod';
6
- import { b as SPOTPATCH_API_BASE } from './endpoints-BT-Bl1WS.cjs';
7
- export { A as AgentJobAction, S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER, g as getAgentJobEndpoint } from './endpoints-BT-Bl1WS.cjs';
6
+ import { b as SPOTPATCH_API_BASE } from './endpoints-GedF44M2.cjs';
7
+ export { A as AgentJobAction, S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER, g as getAgentJobEndpoint } from './endpoints-GedF44M2.cjs';
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-BB-oicmw.cjs';
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 {
@@ -864,8 +866,8 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
864
866
  declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
865
867
  state: z.ZodEnum<{
866
868
  ready: "ready";
867
- "consent-required": "consent-required";
868
869
  blocked: "blocked";
870
+ "consent-required": "consent-required";
869
871
  }>;
870
872
  checkedAt: z.ZodISODateTime;
871
873
  changes: z.ZodObject<{
@@ -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
  }>;
@@ -958,6 +960,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
958
960
  declare const agentJobSnapshotSchema: z.ZodObject<{
959
961
  jobId: z.ZodString;
960
962
  status: z.ZodEnum<{
963
+ completed: "completed";
964
+ failed: "failed";
961
965
  queued: "queued";
962
966
  preparing: "preparing";
963
967
  running: "running";
@@ -965,12 +969,10 @@ declare const agentJobSnapshotSchema: z.ZodObject<{
965
969
  "awaiting-review": "awaiting-review";
966
970
  applying: "applying";
967
971
  applied: "applied";
968
- completed: "completed";
969
972
  cancelling: "cancelling";
970
973
  cancelled: "cancelled";
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
  }>;
@@ -1070,6 +1072,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1070
1072
  snapshot: z.ZodObject<{
1071
1073
  jobId: z.ZodString;
1072
1074
  status: z.ZodEnum<{
1075
+ completed: "completed";
1076
+ failed: "failed";
1073
1077
  queued: "queued";
1074
1078
  preparing: "preparing";
1075
1079
  running: "running";
@@ -1077,12 +1081,10 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1077
1081
  "awaiting-review": "awaiting-review";
1078
1082
  applying: "applying";
1079
1083
  applied: "applied";
1080
- completed: "completed";
1081
1084
  cancelling: "cancelling";
1082
1085
  cancelled: "cancelled";
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
  }>;
@@ -1184,6 +1186,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1184
1186
  sequence: z.ZodNumber;
1185
1187
  jobId: z.ZodString;
1186
1188
  status: z.ZodEnum<{
1189
+ completed: "completed";
1190
+ failed: "failed";
1187
1191
  queued: "queued";
1188
1192
  preparing: "preparing";
1189
1193
  running: "running";
@@ -1191,12 +1195,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1191
1195
  "awaiting-review": "awaiting-review";
1192
1196
  applying: "applying";
1193
1197
  applied: "applied";
1194
- completed: "completed";
1195
1198
  cancelling: "cancelling";
1196
1199
  cancelled: "cancelled";
1197
1200
  reverting: "reverting";
1198
1201
  reverted: "reverted";
1199
- failed: "failed";
1200
1202
  }>;
1201
1203
  timestamp: z.ZodISODateTime;
1202
1204
  type: z.ZodLiteral<"snapshot">;
@@ -1204,6 +1206,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1204
1206
  snapshot: z.ZodObject<{
1205
1207
  jobId: z.ZodString;
1206
1208
  status: z.ZodEnum<{
1209
+ completed: "completed";
1210
+ failed: "failed";
1207
1211
  queued: "queued";
1208
1212
  preparing: "preparing";
1209
1213
  running: "running";
@@ -1211,12 +1215,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1211
1215
  "awaiting-review": "awaiting-review";
1212
1216
  applying: "applying";
1213
1217
  applied: "applied";
1214
- completed: "completed";
1215
1218
  cancelling: "cancelling";
1216
1219
  cancelled: "cancelled";
1217
1220
  reverting: "reverting";
1218
1221
  reverted: "reverted";
1219
- failed: "failed";
1220
1222
  }>;
1221
1223
  providerProfileId: z.ZodString;
1222
1224
  providerLabel: z.ZodString;
@@ -1291,6 +1293,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1291
1293
  sequence: z.ZodNumber;
1292
1294
  jobId: z.ZodString;
1293
1295
  status: z.ZodEnum<{
1296
+ completed: "completed";
1297
+ failed: "failed";
1294
1298
  queued: "queued";
1295
1299
  preparing: "preparing";
1296
1300
  running: "running";
@@ -1298,12 +1302,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1298
1302
  "awaiting-review": "awaiting-review";
1299
1303
  applying: "applying";
1300
1304
  applied: "applied";
1301
- completed: "completed";
1302
1305
  cancelling: "cancelling";
1303
1306
  cancelled: "cancelled";
1304
1307
  reverting: "reverting";
1305
1308
  reverted: "reverted";
1306
- failed: "failed";
1307
1309
  }>;
1308
1310
  timestamp: z.ZodISODateTime;
1309
1311
  type: z.ZodLiteral<"phase">;
@@ -1315,6 +1317,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1315
1317
  sequence: z.ZodNumber;
1316
1318
  jobId: z.ZodString;
1317
1319
  status: z.ZodEnum<{
1320
+ completed: "completed";
1321
+ failed: "failed";
1318
1322
  queued: "queued";
1319
1323
  preparing: "preparing";
1320
1324
  running: "running";
@@ -1322,12 +1326,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1322
1326
  "awaiting-review": "awaiting-review";
1323
1327
  applying: "applying";
1324
1328
  applied: "applied";
1325
- completed: "completed";
1326
1329
  cancelling: "cancelling";
1327
1330
  cancelled: "cancelled";
1328
1331
  reverting: "reverting";
1329
1332
  reverted: "reverted";
1330
- failed: "failed";
1331
1333
  }>;
1332
1334
  timestamp: z.ZodISODateTime;
1333
1335
  type: z.ZodLiteral<"tool">;
@@ -1348,6 +1350,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1348
1350
  sequence: z.ZodNumber;
1349
1351
  jobId: z.ZodString;
1350
1352
  status: z.ZodEnum<{
1353
+ completed: "completed";
1354
+ failed: "failed";
1351
1355
  queued: "queued";
1352
1356
  preparing: "preparing";
1353
1357
  running: "running";
@@ -1355,12 +1359,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1355
1359
  "awaiting-review": "awaiting-review";
1356
1360
  applying: "applying";
1357
1361
  applied: "applied";
1358
- completed: "completed";
1359
1362
  cancelling: "cancelling";
1360
1363
  cancelled: "cancelled";
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
  }>;
@@ -1383,6 +1385,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1383
1385
  sequence: z.ZodNumber;
1384
1386
  jobId: z.ZodString;
1385
1387
  status: z.ZodEnum<{
1388
+ completed: "completed";
1389
+ failed: "failed";
1386
1390
  queued: "queued";
1387
1391
  preparing: "preparing";
1388
1392
  running: "running";
@@ -1390,12 +1394,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1390
1394
  "awaiting-review": "awaiting-review";
1391
1395
  applying: "applying";
1392
1396
  applied: "applied";
1393
- completed: "completed";
1394
1397
  cancelling: "cancelling";
1395
1398
  cancelled: "cancelled";
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">;
@@ -1407,6 +1409,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1407
1409
  sequence: z.ZodNumber;
1408
1410
  jobId: z.ZodString;
1409
1411
  status: z.ZodEnum<{
1412
+ completed: "completed";
1413
+ failed: "failed";
1410
1414
  queued: "queued";
1411
1415
  preparing: "preparing";
1412
1416
  running: "running";
@@ -1414,12 +1418,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1414
1418
  "awaiting-review": "awaiting-review";
1415
1419
  applying: "applying";
1416
1420
  applied: "applied";
1417
- completed: "completed";
1418
1421
  cancelling: "cancelling";
1419
1422
  cancelled: "cancelled";
1420
1423
  reverting: "reverting";
1421
1424
  reverted: "reverted";
1422
- failed: "failed";
1423
1425
  }>;
1424
1426
  timestamp: z.ZodISODateTime;
1425
1427
  type: z.ZodLiteral<"error">;
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--lT9XQEw.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--lT9XQEw.js';
3
+ import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-oKZOBYAB.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-oKZOBYAB.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-BB-oicmw.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 {
@@ -864,8 +866,8 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
864
866
  declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
865
867
  state: z.ZodEnum<{
866
868
  ready: "ready";
867
- "consent-required": "consent-required";
868
869
  blocked: "blocked";
870
+ "consent-required": "consent-required";
869
871
  }>;
870
872
  checkedAt: z.ZodISODateTime;
871
873
  changes: z.ZodObject<{
@@ -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
  }>;
@@ -958,6 +960,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
958
960
  declare const agentJobSnapshotSchema: z.ZodObject<{
959
961
  jobId: z.ZodString;
960
962
  status: z.ZodEnum<{
963
+ completed: "completed";
964
+ failed: "failed";
961
965
  queued: "queued";
962
966
  preparing: "preparing";
963
967
  running: "running";
@@ -965,12 +969,10 @@ declare const agentJobSnapshotSchema: z.ZodObject<{
965
969
  "awaiting-review": "awaiting-review";
966
970
  applying: "applying";
967
971
  applied: "applied";
968
- completed: "completed";
969
972
  cancelling: "cancelling";
970
973
  cancelled: "cancelled";
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
  }>;
@@ -1070,6 +1072,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1070
1072
  snapshot: z.ZodObject<{
1071
1073
  jobId: z.ZodString;
1072
1074
  status: z.ZodEnum<{
1075
+ completed: "completed";
1076
+ failed: "failed";
1073
1077
  queued: "queued";
1074
1078
  preparing: "preparing";
1075
1079
  running: "running";
@@ -1077,12 +1081,10 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1077
1081
  "awaiting-review": "awaiting-review";
1078
1082
  applying: "applying";
1079
1083
  applied: "applied";
1080
- completed: "completed";
1081
1084
  cancelling: "cancelling";
1082
1085
  cancelled: "cancelled";
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
  }>;
@@ -1184,6 +1186,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1184
1186
  sequence: z.ZodNumber;
1185
1187
  jobId: z.ZodString;
1186
1188
  status: z.ZodEnum<{
1189
+ completed: "completed";
1190
+ failed: "failed";
1187
1191
  queued: "queued";
1188
1192
  preparing: "preparing";
1189
1193
  running: "running";
@@ -1191,12 +1195,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1191
1195
  "awaiting-review": "awaiting-review";
1192
1196
  applying: "applying";
1193
1197
  applied: "applied";
1194
- completed: "completed";
1195
1198
  cancelling: "cancelling";
1196
1199
  cancelled: "cancelled";
1197
1200
  reverting: "reverting";
1198
1201
  reverted: "reverted";
1199
- failed: "failed";
1200
1202
  }>;
1201
1203
  timestamp: z.ZodISODateTime;
1202
1204
  type: z.ZodLiteral<"snapshot">;
@@ -1204,6 +1206,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1204
1206
  snapshot: z.ZodObject<{
1205
1207
  jobId: z.ZodString;
1206
1208
  status: z.ZodEnum<{
1209
+ completed: "completed";
1210
+ failed: "failed";
1207
1211
  queued: "queued";
1208
1212
  preparing: "preparing";
1209
1213
  running: "running";
@@ -1211,12 +1215,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1211
1215
  "awaiting-review": "awaiting-review";
1212
1216
  applying: "applying";
1213
1217
  applied: "applied";
1214
- completed: "completed";
1215
1218
  cancelling: "cancelling";
1216
1219
  cancelled: "cancelled";
1217
1220
  reverting: "reverting";
1218
1221
  reverted: "reverted";
1219
- failed: "failed";
1220
1222
  }>;
1221
1223
  providerProfileId: z.ZodString;
1222
1224
  providerLabel: z.ZodString;
@@ -1291,6 +1293,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1291
1293
  sequence: z.ZodNumber;
1292
1294
  jobId: z.ZodString;
1293
1295
  status: z.ZodEnum<{
1296
+ completed: "completed";
1297
+ failed: "failed";
1294
1298
  queued: "queued";
1295
1299
  preparing: "preparing";
1296
1300
  running: "running";
@@ -1298,12 +1302,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1298
1302
  "awaiting-review": "awaiting-review";
1299
1303
  applying: "applying";
1300
1304
  applied: "applied";
1301
- completed: "completed";
1302
1305
  cancelling: "cancelling";
1303
1306
  cancelled: "cancelled";
1304
1307
  reverting: "reverting";
1305
1308
  reverted: "reverted";
1306
- failed: "failed";
1307
1309
  }>;
1308
1310
  timestamp: z.ZodISODateTime;
1309
1311
  type: z.ZodLiteral<"phase">;
@@ -1315,6 +1317,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1315
1317
  sequence: z.ZodNumber;
1316
1318
  jobId: z.ZodString;
1317
1319
  status: z.ZodEnum<{
1320
+ completed: "completed";
1321
+ failed: "failed";
1318
1322
  queued: "queued";
1319
1323
  preparing: "preparing";
1320
1324
  running: "running";
@@ -1322,12 +1326,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1322
1326
  "awaiting-review": "awaiting-review";
1323
1327
  applying: "applying";
1324
1328
  applied: "applied";
1325
- completed: "completed";
1326
1329
  cancelling: "cancelling";
1327
1330
  cancelled: "cancelled";
1328
1331
  reverting: "reverting";
1329
1332
  reverted: "reverted";
1330
- failed: "failed";
1331
1333
  }>;
1332
1334
  timestamp: z.ZodISODateTime;
1333
1335
  type: z.ZodLiteral<"tool">;
@@ -1348,6 +1350,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1348
1350
  sequence: z.ZodNumber;
1349
1351
  jobId: z.ZodString;
1350
1352
  status: z.ZodEnum<{
1353
+ completed: "completed";
1354
+ failed: "failed";
1351
1355
  queued: "queued";
1352
1356
  preparing: "preparing";
1353
1357
  running: "running";
@@ -1355,12 +1359,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1355
1359
  "awaiting-review": "awaiting-review";
1356
1360
  applying: "applying";
1357
1361
  applied: "applied";
1358
- completed: "completed";
1359
1362
  cancelling: "cancelling";
1360
1363
  cancelled: "cancelled";
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
  }>;
@@ -1383,6 +1385,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1383
1385
  sequence: z.ZodNumber;
1384
1386
  jobId: z.ZodString;
1385
1387
  status: z.ZodEnum<{
1388
+ completed: "completed";
1389
+ failed: "failed";
1386
1390
  queued: "queued";
1387
1391
  preparing: "preparing";
1388
1392
  running: "running";
@@ -1390,12 +1394,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1390
1394
  "awaiting-review": "awaiting-review";
1391
1395
  applying: "applying";
1392
1396
  applied: "applied";
1393
- completed: "completed";
1394
1397
  cancelling: "cancelling";
1395
1398
  cancelled: "cancelled";
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">;
@@ -1407,6 +1409,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1407
1409
  sequence: z.ZodNumber;
1408
1410
  jobId: z.ZodString;
1409
1411
  status: z.ZodEnum<{
1412
+ completed: "completed";
1413
+ failed: "failed";
1410
1414
  queued: "queued";
1411
1415
  preparing: "preparing";
1412
1416
  running: "running";
@@ -1414,12 +1418,10 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1414
1418
  "awaiting-review": "awaiting-review";
1415
1419
  applying: "applying";
1416
1420
  applied: "applied";
1417
- completed: "completed";
1418
1421
  cancelling: "cancelling";
1419
1422
  cancelled: "cancelled";
1420
1423
  reverting: "reverting";
1421
1424
  reverted: "reverted";
1422
- failed: "failed";
1423
1425
  }>;
1424
1426
  timestamp: z.ZodISODateTime;
1425
1427
  type: z.ZodLiteral<"error">;