@automate.ax/api-contract 0.81.0 → 0.83.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/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { automationExecutionStatusSchema, automationOutputSchema, } from "./automation.js";
2
2
  export { EXECUTION_DATASET_VERSION, executionDatasetManifestSchema, executionDatasetResourceSchema, executionDatasetScopeSchema, type ExecutionDatasetManifest, type ExecutionDatasetResource, type ExecutionDatasetScope, executionDataContract, } from "./execution-data.js";
3
3
  export { AUTOMATION_SDK_VERSION, deploymentOutputSchema, deploymentStatusSchema, } from "./deployment.js";
4
+ export { AUTOMATION_RUNTIME_PROTOCOL_VERSION } from "./runtime-protocol.js";
4
5
  export { AUTOMATION_ERROR_CAUSE_DEPTH, automationErrorSchema, type AutomationErrorValue, } from "./errors.js";
5
6
  export { integrationAccountOutputSchema, integrationAccountRevocationImpactOutputSchema, integrationAccountRevocationOutputSchema, integrationServiceOutputSchema, } from "./account.js";
6
7
  export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, AUTOMATION_TRACE_MAX_NAME_LENGTH, AUTOMATION_TRACE_MAX_SPANS, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, hashSignalCoordinatorConfiguration, runtimeContract, type GenerationInput, type GenerationResult, type RuntimeGenerationInput, type RuntimeCoordinationOffer, } from "./runtime.js";
@@ -650,6 +651,14 @@ export declare const publicContract: {
650
651
  readonly message: "A deployment is already in progress.";
651
652
  readonly status: 409;
652
653
  };
654
+ UNSUPPORTED_RUNTIME_PROTOCOL: {
655
+ readonly data: import("zod").ZodObject<{
656
+ receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
657
+ supportedVersion: import("zod").ZodLiteral<1>;
658
+ }, import("zod/v4/core").$strip>;
659
+ readonly message: "The automation bundle uses an unsupported runtime protocol.";
660
+ readonly status: 400;
661
+ };
653
662
  }>, Record<never, never>>;
654
663
  };
655
664
  executionData: {
@@ -667,6 +676,7 @@ export declare const publicContract: {
667
676
  actions: "actions";
668
677
  events: "events";
669
678
  outputs: "outputs";
679
+ "automation-invocations": "automation-invocations";
670
680
  contexts: "contexts";
671
681
  "context-parents": "context-parents";
672
682
  "event-links": "event-links";
@@ -679,7 +689,7 @@ export declare const publicContract: {
679
689
  }>;
680
690
  url: import("zod").ZodURL;
681
691
  }, import("zod/v4/core").$strip>>;
682
- schemaVersion: import("zod").ZodLiteral<4>;
692
+ schemaVersion: import("zod").ZodLiteral<6>;
683
693
  scope: import("zod").ZodObject<{
684
694
  organizationId: import("zod").ZodNullable<import("zod").ZodString>;
685
695
  projectId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -723,6 +733,7 @@ export declare const publicContract: {
723
733
  periodEnd: import("zod").ZodNullable<import("zod").ZodDate>;
724
734
  cancelAtPeriodEnd: import("zod").ZodBoolean;
725
735
  }, import("zod/v4/core").$strip>>;
736
+ executionRetentionDays: import("zod").ZodNumber;
726
737
  plan: import("zod").ZodEnum<{
727
738
  free: "free";
728
739
  pro: "pro";
@@ -731,6 +742,7 @@ export declare const publicContract: {
731
742
  limits: import("zod").ZodObject<{
732
743
  aiSpendUsd: import("zod").ZodNumber;
733
744
  emailSends: import("zod").ZodNumber;
745
+ executionRetentionDays: import("zod").ZodNumber;
734
746
  projects: import("zod").ZodNumber;
735
747
  seats: import("zod").ZodNumber;
736
748
  }, import("zod/v4/core").$strip>;
@@ -817,6 +829,7 @@ export declare const publicContract: {
817
829
  periodEnd: import("zod").ZodNullable<import("zod").ZodDate>;
818
830
  cancelAtPeriodEnd: import("zod").ZodBoolean;
819
831
  }, import("zod/v4/core").$strip>>;
832
+ executionRetentionDays: import("zod").ZodNumber;
820
833
  plan: import("zod").ZodEnum<{
821
834
  free: "free";
822
835
  pro: "pro";
@@ -825,6 +838,7 @@ export declare const publicContract: {
825
838
  limits: import("zod").ZodObject<{
826
839
  aiSpendUsd: import("zod").ZodNumber;
827
840
  emailSends: import("zod").ZodNumber;
841
+ executionRetentionDays: import("zod").ZodNumber;
828
842
  projects: import("zod").ZodNumber;
829
843
  seats: import("zod").ZodNumber;
830
844
  }, import("zod/v4/core").$strip>;
@@ -843,8 +857,9 @@ export declare const publicContract: {
843
857
  memberIdOrEmail: import("zod").ZodString;
844
858
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
845
859
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
860
+ executionRetentionDays: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
846
861
  organizationId: import("zod").ZodString;
847
- name: import("zod").ZodString;
862
+ name: import("zod").ZodOptional<import("zod").ZodString>;
848
863
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
849
864
  };
850
865
  project: {
@@ -1206,6 +1221,7 @@ export declare const firstPartyContract: {
1206
1221
  }>;
1207
1222
  projectId: import("zod").ZodString;
1208
1223
  rebindAccounts: import("zod").ZodDefault<import("zod").ZodBoolean>;
1224
+ runtimeProtocolVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
1209
1225
  git: import("zod").ZodOptional<import("zod").ZodObject<{
1210
1226
  commitSha: import("zod").ZodString;
1211
1227
  dirty: import("zod").ZodBoolean;
@@ -1231,6 +1247,14 @@ export declare const firstPartyContract: {
1231
1247
  readonly message: "A deployment is already in progress.";
1232
1248
  readonly status: 409;
1233
1249
  };
1250
+ UNSUPPORTED_RUNTIME_PROTOCOL: {
1251
+ readonly data: import("zod").ZodObject<{
1252
+ receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
1253
+ supportedVersion: import("zod").ZodLiteral<1>;
1254
+ }, import("zod/v4/core").$strip>;
1255
+ readonly message: "The automation bundle uses an unsupported runtime protocol.";
1256
+ readonly status: 400;
1257
+ };
1234
1258
  }>, Record<never, never>>;
1235
1259
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1236
1260
  deploymentId: import("zod").ZodString;
@@ -1399,6 +1423,14 @@ export declare const firstPartyContract: {
1399
1423
  readonly message: "A deployment is already in progress.";
1400
1424
  readonly status: 409;
1401
1425
  };
1426
+ UNSUPPORTED_RUNTIME_PROTOCOL: {
1427
+ readonly data: import("zod").ZodObject<{
1428
+ receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
1429
+ supportedVersion: import("zod").ZodLiteral<1>;
1430
+ }, import("zod/v4/core").$strip>;
1431
+ readonly message: "The automation bundle uses an unsupported runtime protocol.";
1432
+ readonly status: 400;
1433
+ };
1402
1434
  }>, Record<never, never>>;
1403
1435
  };
1404
1436
  org: {
@@ -1456,6 +1488,7 @@ export declare const firstPartyContract: {
1456
1488
  periodEnd: import("zod").ZodNullable<import("zod").ZodDate>;
1457
1489
  cancelAtPeriodEnd: import("zod").ZodBoolean;
1458
1490
  }, import("zod/v4/core").$strip>>;
1491
+ executionRetentionDays: import("zod").ZodNumber;
1459
1492
  plan: import("zod").ZodEnum<{
1460
1493
  free: "free";
1461
1494
  pro: "pro";
@@ -1464,6 +1497,7 @@ export declare const firstPartyContract: {
1464
1497
  limits: import("zod").ZodObject<{
1465
1498
  aiSpendUsd: import("zod").ZodNumber;
1466
1499
  emailSends: import("zod").ZodNumber;
1500
+ executionRetentionDays: import("zod").ZodNumber;
1467
1501
  projects: import("zod").ZodNumber;
1468
1502
  seats: import("zod").ZodNumber;
1469
1503
  }, import("zod/v4/core").$strip>;
@@ -1550,6 +1584,7 @@ export declare const firstPartyContract: {
1550
1584
  periodEnd: import("zod").ZodNullable<import("zod").ZodDate>;
1551
1585
  cancelAtPeriodEnd: import("zod").ZodBoolean;
1552
1586
  }, import("zod/v4/core").$strip>>;
1587
+ executionRetentionDays: import("zod").ZodNumber;
1553
1588
  plan: import("zod").ZodEnum<{
1554
1589
  free: "free";
1555
1590
  pro: "pro";
@@ -1558,6 +1593,7 @@ export declare const firstPartyContract: {
1558
1593
  limits: import("zod").ZodObject<{
1559
1594
  aiSpendUsd: import("zod").ZodNumber;
1560
1595
  emailSends: import("zod").ZodNumber;
1596
+ executionRetentionDays: import("zod").ZodNumber;
1561
1597
  projects: import("zod").ZodNumber;
1562
1598
  seats: import("zod").ZodNumber;
1563
1599
  }, import("zod/v4/core").$strip>;
@@ -1576,8 +1612,9 @@ export declare const firstPartyContract: {
1576
1612
  memberIdOrEmail: import("zod").ZodString;
1577
1613
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1578
1614
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1615
+ executionRetentionDays: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
1579
1616
  organizationId: import("zod").ZodString;
1580
- name: import("zod").ZodString;
1617
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1581
1618
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
1582
1619
  };
1583
1620
  project: {
@@ -1992,6 +2029,7 @@ export declare const firstPartyContract: {
1992
2029
  actions: "actions";
1993
2030
  events: "events";
1994
2031
  outputs: "outputs";
2032
+ "automation-invocations": "automation-invocations";
1995
2033
  contexts: "contexts";
1996
2034
  "context-parents": "context-parents";
1997
2035
  "event-links": "event-links";
@@ -2004,7 +2042,7 @@ export declare const firstPartyContract: {
2004
2042
  }>;
2005
2043
  url: import("zod").ZodURL;
2006
2044
  }, import("zod/v4/core").$strip>>;
2007
- schemaVersion: import("zod").ZodLiteral<4>;
2045
+ schemaVersion: import("zod").ZodLiteral<6>;
2008
2046
  scope: import("zod").ZodObject<{
2009
2047
  organizationId: import("zod").ZodNullable<import("zod").ZodString>;
2010
2048
  projectId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -2185,6 +2223,13 @@ export declare const contract: {
2185
2223
  subscription: import("zod").ZodLiteral<"projects/opkitty/subscriptions/automate-ax-google-forms-push">;
2186
2224
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2187
2225
  googleCalendarPush: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodVoid, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2226
+ convexEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2227
+ emittedAt: import("zod").ZodISODateTime;
2228
+ endpointKey: import("zod").ZodString;
2229
+ id: import("zod").ZodString;
2230
+ name: import("zod").ZodString;
2231
+ payload: import("zod").ZodJSONSchema;
2232
+ }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2188
2233
  brevoEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2189
2234
  event: import("zod").ZodString;
2190
2235
  id: import("zod").ZodNumber;
@@ -2210,6 +2255,25 @@ export declare const contract: {
2210
2255
  commit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2211
2256
  actionInvocations: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
2212
2257
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2258
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2259
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2260
+ id: import("zod").ZodString;
2261
+ source: import("zod").ZodEnum<{
2262
+ action: "action";
2263
+ event: "event";
2264
+ signal: "signal";
2265
+ }>;
2266
+ type: import("zod").ZodLiteral<"source">;
2267
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2268
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2269
+ property: import("zod").ZodString;
2270
+ type: import("zod").ZodLiteral<"property">;
2271
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2272
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2273
+ type: import("zod").ZodLiteral<"transform">;
2274
+ }, import("zod/v4/core").$strip>], "type">>;
2275
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2276
+ }, import("zod/v4/core").$strip>>;
2213
2277
  description: import("zod").ZodNullable<import("zod").ZodString>;
2214
2278
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2215
2279
  inputHash: import("zod").ZodString;
@@ -2220,6 +2284,25 @@ export declare const contract: {
2220
2284
  status: import("zod").ZodLiteral<"pending">;
2221
2285
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2222
2286
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2287
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2288
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2289
+ id: import("zod").ZodString;
2290
+ source: import("zod").ZodEnum<{
2291
+ action: "action";
2292
+ event: "event";
2293
+ signal: "signal";
2294
+ }>;
2295
+ type: import("zod").ZodLiteral<"source">;
2296
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2297
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2298
+ property: import("zod").ZodString;
2299
+ type: import("zod").ZodLiteral<"property">;
2300
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2301
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2302
+ type: import("zod").ZodLiteral<"transform">;
2303
+ }, import("zod/v4/core").$strip>], "type">>;
2304
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2305
+ }, import("zod/v4/core").$strip>>;
2223
2306
  description: import("zod").ZodNullable<import("zod").ZodString>;
2224
2307
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2225
2308
  inputHash: import("zod").ZodString;
@@ -2231,6 +2314,25 @@ export declare const contract: {
2231
2314
  status: import("zod").ZodLiteral<"skipped">;
2232
2315
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2233
2316
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2317
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2318
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2319
+ id: import("zod").ZodString;
2320
+ source: import("zod").ZodEnum<{
2321
+ action: "action";
2322
+ event: "event";
2323
+ signal: "signal";
2324
+ }>;
2325
+ type: import("zod").ZodLiteral<"source">;
2326
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2327
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2328
+ property: import("zod").ZodString;
2329
+ type: import("zod").ZodLiteral<"property">;
2330
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2331
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2332
+ type: import("zod").ZodLiteral<"transform">;
2333
+ }, import("zod/v4/core").$strip>], "type">>;
2334
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2335
+ }, import("zod/v4/core").$strip>>;
2234
2336
  description: import("zod").ZodNullable<import("zod").ZodString>;
2235
2337
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2236
2338
  inputHash: import("zod").ZodString;
@@ -2248,6 +2350,25 @@ export declare const contract: {
2248
2350
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2249
2351
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2250
2352
  slot: import("zod").ZodNumber;
2353
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2354
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2355
+ id: import("zod").ZodString;
2356
+ source: import("zod").ZodEnum<{
2357
+ action: "action";
2358
+ event: "event";
2359
+ signal: "signal";
2360
+ }>;
2361
+ type: import("zod").ZodLiteral<"source">;
2362
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2363
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2364
+ property: import("zod").ZodString;
2365
+ type: import("zod").ZodLiteral<"property">;
2366
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2367
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2368
+ type: import("zod").ZodLiteral<"transform">;
2369
+ }, import("zod/v4/core").$strip>], "type">>;
2370
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2371
+ }, import("zod/v4/core").$strip>>;
2251
2372
  count: import("zod").ZodNumber;
2252
2373
  key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
2253
2374
  outcomeSeq: import("zod").ZodNumber;
@@ -2264,6 +2385,25 @@ export declare const contract: {
2264
2385
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2265
2386
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2266
2387
  slot: import("zod").ZodNumber;
2388
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2389
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2390
+ id: import("zod").ZodString;
2391
+ source: import("zod").ZodEnum<{
2392
+ action: "action";
2393
+ event: "event";
2394
+ signal: "signal";
2395
+ }>;
2396
+ type: import("zod").ZodLiteral<"source">;
2397
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2398
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2399
+ property: import("zod").ZodString;
2400
+ type: import("zod").ZodLiteral<"property">;
2401
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2402
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2403
+ type: import("zod").ZodLiteral<"transform">;
2404
+ }, import("zod/v4/core").$strip>], "type">>;
2405
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2406
+ }, import("zod/v4/core").$strip>>;
2267
2407
  key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
2268
2408
  ordered: import("zod").ZodBoolean;
2269
2409
  outcomeSeq: import("zod").ZodNumber;
@@ -2277,6 +2417,25 @@ export declare const contract: {
2277
2417
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2278
2418
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2279
2419
  slot: import("zod").ZodNumber;
2420
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2421
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2422
+ id: import("zod").ZodString;
2423
+ source: import("zod").ZodEnum<{
2424
+ action: "action";
2425
+ event: "event";
2426
+ signal: "signal";
2427
+ }>;
2428
+ type: import("zod").ZodLiteral<"source">;
2429
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2430
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2431
+ property: import("zod").ZodString;
2432
+ type: import("zod").ZodLiteral<"property">;
2433
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2434
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2435
+ type: import("zod").ZodLiteral<"transform">;
2436
+ }, import("zod/v4/core").$strip>], "type">>;
2437
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2438
+ }, import("zod/v4/core").$strip>>;
2280
2439
  count: import("zod").ZodNumber;
2281
2440
  outcomeSeq: import("zod").ZodNumber;
2282
2441
  policy: import("zod").ZodLiteral<"fanout">;
@@ -2286,6 +2445,25 @@ export declare const contract: {
2286
2445
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2287
2446
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2288
2447
  slot: import("zod").ZodNumber;
2448
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2449
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2450
+ id: import("zod").ZodString;
2451
+ source: import("zod").ZodEnum<{
2452
+ action: "action";
2453
+ event: "event";
2454
+ signal: "signal";
2455
+ }>;
2456
+ type: import("zod").ZodLiteral<"source">;
2457
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2458
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2459
+ property: import("zod").ZodString;
2460
+ type: import("zod").ZodLiteral<"property">;
2461
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2462
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2463
+ type: import("zod").ZodLiteral<"transform">;
2464
+ }, import("zod/v4/core").$strip>], "type">>;
2465
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2466
+ }, import("zod/v4/core").$strip>>;
2289
2467
  key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
2290
2468
  maxBurstDuration: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
2291
2469
  minGap: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
@@ -2314,6 +2492,25 @@ export declare const contract: {
2314
2492
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2315
2493
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2316
2494
  slot: import("zod").ZodNumber;
2495
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2496
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2497
+ id: import("zod").ZodString;
2498
+ source: import("zod").ZodEnum<{
2499
+ action: "action";
2500
+ event: "event";
2501
+ signal: "signal";
2502
+ }>;
2503
+ type: import("zod").ZodLiteral<"source">;
2504
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2505
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2506
+ property: import("zod").ZodString;
2507
+ type: import("zod").ZodLiteral<"property">;
2508
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2509
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2510
+ type: import("zod").ZodLiteral<"transform">;
2511
+ }, import("zod/v4/core").$strip>], "type">>;
2512
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2513
+ }, import("zod/v4/core").$strip>>;
2317
2514
  cohortActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2318
2515
  cohortEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2319
2516
  cohortOrigins: import("zod").ZodArray<import("zod").ZodString>;
@@ -2330,6 +2527,25 @@ export declare const contract: {
2330
2527
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2331
2528
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2332
2529
  slot: import("zod").ZodNumber;
2530
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2531
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2532
+ id: import("zod").ZodString;
2533
+ source: import("zod").ZodEnum<{
2534
+ action: "action";
2535
+ event: "event";
2536
+ signal: "signal";
2537
+ }>;
2538
+ type: import("zod").ZodLiteral<"source">;
2539
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2540
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2541
+ property: import("zod").ZodString;
2542
+ type: import("zod").ZodLiteral<"property">;
2543
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2544
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2545
+ type: import("zod").ZodLiteral<"transform">;
2546
+ }, import("zod/v4/core").$strip>], "type">>;
2547
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2548
+ }, import("zod/v4/core").$strip>>;
2333
2549
  cohortActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2334
2550
  cohortEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2335
2551
  cohortOrigins: import("zod").ZodArray<import("zod").ZodString>;
@@ -2347,6 +2563,25 @@ export declare const contract: {
2347
2563
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2348
2564
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2349
2565
  slot: import("zod").ZodNumber;
2566
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2567
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2568
+ id: import("zod").ZodString;
2569
+ source: import("zod").ZodEnum<{
2570
+ action: "action";
2571
+ event: "event";
2572
+ signal: "signal";
2573
+ }>;
2574
+ type: import("zod").ZodLiteral<"source">;
2575
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2576
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2577
+ property: import("zod").ZodString;
2578
+ type: import("zod").ZodLiteral<"property">;
2579
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2580
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2581
+ type: import("zod").ZodLiteral<"transform">;
2582
+ }, import("zod/v4/core").$strip>], "type">>;
2583
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2584
+ }, import("zod/v4/core").$strip>>;
2350
2585
  cohortActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2351
2586
  cohortEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2352
2587
  cohortOrigins: import("zod").ZodArray<import("zod").ZodString>;
@@ -2365,6 +2600,25 @@ export declare const contract: {
2365
2600
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2366
2601
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2367
2602
  slot: import("zod").ZodNumber;
2603
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2604
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2605
+ id: import("zod").ZodString;
2606
+ source: import("zod").ZodEnum<{
2607
+ action: "action";
2608
+ event: "event";
2609
+ signal: "signal";
2610
+ }>;
2611
+ type: import("zod").ZodLiteral<"source">;
2612
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2613
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2614
+ property: import("zod").ZodString;
2615
+ type: import("zod").ZodLiteral<"property">;
2616
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2617
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2618
+ type: import("zod").ZodLiteral<"transform">;
2619
+ }, import("zod/v4/core").$strip>], "type">>;
2620
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2621
+ }, import("zod/v4/core").$strip>>;
2368
2622
  outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
2369
2623
  status: import("zod").ZodLiteral<"closed">;
2370
2624
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -2373,6 +2627,25 @@ export declare const contract: {
2373
2627
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2374
2628
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2375
2629
  slot: import("zod").ZodNumber;
2630
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2631
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2632
+ id: import("zod").ZodString;
2633
+ source: import("zod").ZodEnum<{
2634
+ action: "action";
2635
+ event: "event";
2636
+ signal: "signal";
2637
+ }>;
2638
+ type: import("zod").ZodLiteral<"source">;
2639
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2640
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2641
+ property: import("zod").ZodString;
2642
+ type: import("zod").ZodLiteral<"property">;
2643
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2644
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2645
+ type: import("zod").ZodLiteral<"transform">;
2646
+ }, import("zod/v4/core").$strip>], "type">>;
2647
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2648
+ }, import("zod/v4/core").$strip>>;
2376
2649
  failure: import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
2377
2650
  status: import("zod").ZodLiteral<"failed">;
2378
2651
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -2381,6 +2654,25 @@ export declare const contract: {
2381
2654
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2382
2655
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2383
2656
  slot: import("zod").ZodNumber;
2657
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2658
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2659
+ id: import("zod").ZodString;
2660
+ source: import("zod").ZodEnum<{
2661
+ action: "action";
2662
+ event: "event";
2663
+ signal: "signal";
2664
+ }>;
2665
+ type: import("zod").ZodLiteral<"source">;
2666
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2667
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2668
+ property: import("zod").ZodString;
2669
+ type: import("zod").ZodLiteral<"property">;
2670
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2671
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2672
+ type: import("zod").ZodLiteral<"transform">;
2673
+ }, import("zod/v4/core").$strip>], "type">>;
2674
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2675
+ }, import("zod/v4/core").$strip>>;
2384
2676
  outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
2385
2677
  status: import("zod").ZodLiteral<"open">;
2386
2678
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -2389,6 +2681,25 @@ export declare const contract: {
2389
2681
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2390
2682
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2391
2683
  slot: import("zod").ZodNumber;
2684
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2685
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2686
+ id: import("zod").ZodString;
2687
+ source: import("zod").ZodEnum<{
2688
+ action: "action";
2689
+ event: "event";
2690
+ signal: "signal";
2691
+ }>;
2692
+ type: import("zod").ZodLiteral<"source">;
2693
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2694
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2695
+ property: import("zod").ZodString;
2696
+ type: import("zod").ZodLiteral<"property">;
2697
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2698
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2699
+ type: import("zod").ZodLiteral<"transform">;
2700
+ }, import("zod/v4/core").$strip>], "type">>;
2701
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2702
+ }, import("zod/v4/core").$strip>>;
2392
2703
  outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
2393
2704
  selectedIndex: import("zod").ZodNumber;
2394
2705
  status: import("zod").ZodLiteral<"succeeded">;
@@ -2548,6 +2859,25 @@ export declare const contract: {
2548
2859
  context: import("zod").ZodObject<{
2549
2860
  actions: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
2550
2861
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2862
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2863
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2864
+ id: import("zod").ZodString;
2865
+ source: import("zod").ZodEnum<{
2866
+ action: "action";
2867
+ event: "event";
2868
+ signal: "signal";
2869
+ }>;
2870
+ type: import("zod").ZodLiteral<"source">;
2871
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2872
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2873
+ property: import("zod").ZodString;
2874
+ type: import("zod").ZodLiteral<"property">;
2875
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2876
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2877
+ type: import("zod").ZodLiteral<"transform">;
2878
+ }, import("zod/v4/core").$strip>], "type">>;
2879
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2880
+ }, import("zod/v4/core").$strip>>;
2551
2881
  description: import("zod").ZodNullable<import("zod").ZodString>;
2552
2882
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2553
2883
  inputHash: import("zod").ZodString;
@@ -2560,6 +2890,25 @@ export declare const contract: {
2560
2890
  status: import("zod").ZodLiteral<"pending">;
2561
2891
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2562
2892
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2893
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2894
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2895
+ id: import("zod").ZodString;
2896
+ source: import("zod").ZodEnum<{
2897
+ action: "action";
2898
+ event: "event";
2899
+ signal: "signal";
2900
+ }>;
2901
+ type: import("zod").ZodLiteral<"source">;
2902
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2903
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2904
+ property: import("zod").ZodString;
2905
+ type: import("zod").ZodLiteral<"property">;
2906
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2907
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2908
+ type: import("zod").ZodLiteral<"transform">;
2909
+ }, import("zod/v4/core").$strip>], "type">>;
2910
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2911
+ }, import("zod/v4/core").$strip>>;
2563
2912
  description: import("zod").ZodNullable<import("zod").ZodString>;
2564
2913
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2565
2914
  inputHash: import("zod").ZodString;
@@ -2574,6 +2923,25 @@ export declare const contract: {
2574
2923
  status: import("zod").ZodLiteral<"failed">;
2575
2924
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2576
2925
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2926
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2927
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2928
+ id: import("zod").ZodString;
2929
+ source: import("zod").ZodEnum<{
2930
+ action: "action";
2931
+ event: "event";
2932
+ signal: "signal";
2933
+ }>;
2934
+ type: import("zod").ZodLiteral<"source">;
2935
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2936
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2937
+ property: import("zod").ZodString;
2938
+ type: import("zod").ZodLiteral<"property">;
2939
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2940
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2941
+ type: import("zod").ZodLiteral<"transform">;
2942
+ }, import("zod/v4/core").$strip>], "type">>;
2943
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2944
+ }, import("zod/v4/core").$strip>>;
2577
2945
  description: import("zod").ZodNullable<import("zod").ZodString>;
2578
2946
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2579
2947
  inputHash: import("zod").ZodString;
@@ -2588,6 +2956,25 @@ export declare const contract: {
2588
2956
  status: import("zod").ZodLiteral<"skipped">;
2589
2957
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2590
2958
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2959
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2960
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2961
+ id: import("zod").ZodString;
2962
+ source: import("zod").ZodEnum<{
2963
+ action: "action";
2964
+ event: "event";
2965
+ signal: "signal";
2966
+ }>;
2967
+ type: import("zod").ZodLiteral<"source">;
2968
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2969
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2970
+ property: import("zod").ZodString;
2971
+ type: import("zod").ZodLiteral<"property">;
2972
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2973
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
2974
+ type: import("zod").ZodLiteral<"transform">;
2975
+ }, import("zod/v4/core").$strip>], "type">>;
2976
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
2977
+ }, import("zod/v4/core").$strip>>;
2591
2978
  description: import("zod").ZodNullable<import("zod").ZodString>;
2592
2979
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2593
2980
  inputHash: import("zod").ZodString;
@@ -2603,6 +2990,25 @@ export declare const contract: {
2603
2990
  status: import("zod").ZodLiteral<"skipped">;
2604
2991
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2605
2992
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2993
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
2994
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2995
+ id: import("zod").ZodString;
2996
+ source: import("zod").ZodEnum<{
2997
+ action: "action";
2998
+ event: "event";
2999
+ signal: "signal";
3000
+ }>;
3001
+ type: import("zod").ZodLiteral<"source">;
3002
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3003
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3004
+ property: import("zod").ZodString;
3005
+ type: import("zod").ZodLiteral<"property">;
3006
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3007
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3008
+ type: import("zod").ZodLiteral<"transform">;
3009
+ }, import("zod/v4/core").$strip>], "type">>;
3010
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3011
+ }, import("zod/v4/core").$strip>>;
2606
3012
  description: import("zod").ZodNullable<import("zod").ZodString>;
2607
3013
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2608
3014
  inputHash: import("zod").ZodString;
@@ -2635,6 +3041,25 @@ export declare const contract: {
2635
3041
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2636
3042
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2637
3043
  slot: import("zod").ZodNumber;
3044
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
3045
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3046
+ id: import("zod").ZodString;
3047
+ source: import("zod").ZodEnum<{
3048
+ action: "action";
3049
+ event: "event";
3050
+ signal: "signal";
3051
+ }>;
3052
+ type: import("zod").ZodLiteral<"source">;
3053
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3054
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3055
+ property: import("zod").ZodString;
3056
+ type: import("zod").ZodLiteral<"property">;
3057
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3058
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3059
+ type: import("zod").ZodLiteral<"transform">;
3060
+ }, import("zod/v4/core").$strip>], "type">>;
3061
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3062
+ }, import("zod/v4/core").$strip>>;
2638
3063
  coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
2639
3064
  contextId: import("zod").ZodString;
2640
3065
  outcomeSeq: import("zod").ZodNumber;
@@ -2646,6 +3071,25 @@ export declare const contract: {
2646
3071
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2647
3072
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2648
3073
  slot: import("zod").ZodNumber;
3074
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
3075
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3076
+ id: import("zod").ZodString;
3077
+ source: import("zod").ZodEnum<{
3078
+ action: "action";
3079
+ event: "event";
3080
+ signal: "signal";
3081
+ }>;
3082
+ type: import("zod").ZodLiteral<"source">;
3083
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3084
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3085
+ property: import("zod").ZodString;
3086
+ type: import("zod").ZodLiteral<"property">;
3087
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3088
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3089
+ type: import("zod").ZodLiteral<"transform">;
3090
+ }, import("zod/v4/core").$strip>], "type">>;
3091
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3092
+ }, import("zod/v4/core").$strip>>;
2649
3093
  coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
2650
3094
  contextId: import("zod").ZodString;
2651
3095
  outcomeSeq: import("zod").ZodNumber;
@@ -2657,6 +3101,25 @@ export declare const contract: {
2657
3101
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2658
3102
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2659
3103
  slot: import("zod").ZodNumber;
3104
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
3105
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3106
+ id: import("zod").ZodString;
3107
+ source: import("zod").ZodEnum<{
3108
+ action: "action";
3109
+ event: "event";
3110
+ signal: "signal";
3111
+ }>;
3112
+ type: import("zod").ZodLiteral<"source">;
3113
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3114
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3115
+ property: import("zod").ZodString;
3116
+ type: import("zod").ZodLiteral<"property">;
3117
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3118
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3119
+ type: import("zod").ZodLiteral<"transform">;
3120
+ }, import("zod/v4/core").$strip>], "type">>;
3121
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3122
+ }, import("zod/v4/core").$strip>>;
2660
3123
  coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
2661
3124
  contextId: import("zod").ZodString;
2662
3125
  outcomeSeq: import("zod").ZodNumber;
@@ -2669,6 +3132,25 @@ export declare const contract: {
2669
3132
  scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
2670
3133
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2671
3134
  slot: import("zod").ZodNumber;
3135
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
3136
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3137
+ id: import("zod").ZodString;
3138
+ source: import("zod").ZodEnum<{
3139
+ action: "action";
3140
+ event: "event";
3141
+ signal: "signal";
3142
+ }>;
3143
+ type: import("zod").ZodLiteral<"source">;
3144
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3145
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3146
+ property: import("zod").ZodString;
3147
+ type: import("zod").ZodLiteral<"property">;
3148
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3149
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3150
+ type: import("zod").ZodLiteral<"transform">;
3151
+ }, import("zod/v4/core").$strip>], "type">>;
3152
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3153
+ }, import("zod/v4/core").$strip>>;
2672
3154
  coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
2673
3155
  contextId: import("zod").ZodString;
2674
3156
  outcomeSeq: import("zod").ZodNumber;
@@ -2721,6 +3203,25 @@ export declare const contract: {
2721
3203
  coordinationSelections: import("zod").ZodArray<import("zod").ZodObject<{
2722
3204
  items: import("zod").ZodArray<import("zod").ZodObject<{
2723
3205
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
3206
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
3207
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3208
+ id: import("zod").ZodString;
3209
+ source: import("zod").ZodEnum<{
3210
+ action: "action";
3211
+ event: "event";
3212
+ signal: "signal";
3213
+ }>;
3214
+ type: import("zod").ZodLiteral<"source">;
3215
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3216
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3217
+ property: import("zod").ZodString;
3218
+ type: import("zod").ZodLiteral<"property">;
3219
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3220
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3221
+ type: import("zod").ZodLiteral<"transform">;
3222
+ }, import("zod/v4/core").$strip>], "type">>;
3223
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3224
+ }, import("zod/v4/core").$strip>>;
2724
3225
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2725
3226
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2726
3227
  contextId: import("zod").ZodString;
@@ -2841,6 +3342,25 @@ export declare const contract: {
2841
3342
  coordinationSelections: import("zod").ZodArray<import("zod").ZodObject<{
2842
3343
  items: import("zod").ZodArray<import("zod").ZodObject<{
2843
3344
  actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
3345
+ derivation: import("zod").ZodNullable<import("zod").ZodObject<{
3346
+ nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3347
+ id: import("zod").ZodString;
3348
+ source: import("zod").ZodEnum<{
3349
+ action: "action";
3350
+ event: "event";
3351
+ signal: "signal";
3352
+ }>;
3353
+ type: import("zod").ZodLiteral<"source">;
3354
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3355
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3356
+ property: import("zod").ZodString;
3357
+ type: import("zod").ZodLiteral<"property">;
3358
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
3359
+ inputs: import("zod").ZodArray<import("zod").ZodNumber>;
3360
+ type: import("zod").ZodLiteral<"transform">;
3361
+ }, import("zod/v4/core").$strip>], "type">>;
3362
+ roots: import("zod").ZodArray<import("zod").ZodNumber>;
3363
+ }, import("zod/v4/core").$strip>>;
2844
3364
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2845
3365
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
2846
3366
  contextId: import("zod").ZodString;
@@ -3154,6 +3674,7 @@ export declare const contract: {
3154
3674
  }>;
3155
3675
  projectId: import("zod").ZodString;
3156
3676
  rebindAccounts: import("zod").ZodDefault<import("zod").ZodBoolean>;
3677
+ runtimeProtocolVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
3157
3678
  git: import("zod").ZodOptional<import("zod").ZodObject<{
3158
3679
  commitSha: import("zod").ZodString;
3159
3680
  dirty: import("zod").ZodBoolean;
@@ -3179,6 +3700,14 @@ export declare const contract: {
3179
3700
  readonly message: "A deployment is already in progress.";
3180
3701
  readonly status: 409;
3181
3702
  };
3703
+ UNSUPPORTED_RUNTIME_PROTOCOL: {
3704
+ readonly data: import("zod").ZodObject<{
3705
+ receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
3706
+ supportedVersion: import("zod").ZodLiteral<1>;
3707
+ }, import("zod/v4/core").$strip>;
3708
+ readonly message: "The automation bundle uses an unsupported runtime protocol.";
3709
+ readonly status: 400;
3710
+ };
3182
3711
  }>, Record<never, never>>;
3183
3712
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3184
3713
  deploymentId: import("zod").ZodString;
@@ -3347,6 +3876,14 @@ export declare const contract: {
3347
3876
  readonly message: "A deployment is already in progress.";
3348
3877
  readonly status: 409;
3349
3878
  };
3879
+ UNSUPPORTED_RUNTIME_PROTOCOL: {
3880
+ readonly data: import("zod").ZodObject<{
3881
+ receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
3882
+ supportedVersion: import("zod").ZodLiteral<1>;
3883
+ }, import("zod/v4/core").$strip>;
3884
+ readonly message: "The automation bundle uses an unsupported runtime protocol.";
3885
+ readonly status: 400;
3886
+ };
3350
3887
  }>, Record<never, never>>;
3351
3888
  };
3352
3889
  org: {
@@ -3404,6 +3941,7 @@ export declare const contract: {
3404
3941
  periodEnd: import("zod").ZodNullable<import("zod").ZodDate>;
3405
3942
  cancelAtPeriodEnd: import("zod").ZodBoolean;
3406
3943
  }, import("zod/v4/core").$strip>>;
3944
+ executionRetentionDays: import("zod").ZodNumber;
3407
3945
  plan: import("zod").ZodEnum<{
3408
3946
  free: "free";
3409
3947
  pro: "pro";
@@ -3412,6 +3950,7 @@ export declare const contract: {
3412
3950
  limits: import("zod").ZodObject<{
3413
3951
  aiSpendUsd: import("zod").ZodNumber;
3414
3952
  emailSends: import("zod").ZodNumber;
3953
+ executionRetentionDays: import("zod").ZodNumber;
3415
3954
  projects: import("zod").ZodNumber;
3416
3955
  seats: import("zod").ZodNumber;
3417
3956
  }, import("zod/v4/core").$strip>;
@@ -3498,6 +4037,7 @@ export declare const contract: {
3498
4037
  periodEnd: import("zod").ZodNullable<import("zod").ZodDate>;
3499
4038
  cancelAtPeriodEnd: import("zod").ZodBoolean;
3500
4039
  }, import("zod/v4/core").$strip>>;
4040
+ executionRetentionDays: import("zod").ZodNumber;
3501
4041
  plan: import("zod").ZodEnum<{
3502
4042
  free: "free";
3503
4043
  pro: "pro";
@@ -3506,6 +4046,7 @@ export declare const contract: {
3506
4046
  limits: import("zod").ZodObject<{
3507
4047
  aiSpendUsd: import("zod").ZodNumber;
3508
4048
  emailSends: import("zod").ZodNumber;
4049
+ executionRetentionDays: import("zod").ZodNumber;
3509
4050
  projects: import("zod").ZodNumber;
3510
4051
  seats: import("zod").ZodNumber;
3511
4052
  }, import("zod/v4/core").$strip>;
@@ -3524,8 +4065,9 @@ export declare const contract: {
3524
4065
  memberIdOrEmail: import("zod").ZodString;
3525
4066
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3526
4067
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
4068
+ executionRetentionDays: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
3527
4069
  organizationId: import("zod").ZodString;
3528
- name: import("zod").ZodString;
4070
+ name: import("zod").ZodOptional<import("zod").ZodString>;
3529
4071
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3530
4072
  };
3531
4073
  project: {
@@ -3940,6 +4482,7 @@ export declare const contract: {
3940
4482
  actions: "actions";
3941
4483
  events: "events";
3942
4484
  outputs: "outputs";
4485
+ "automation-invocations": "automation-invocations";
3943
4486
  contexts: "contexts";
3944
4487
  "context-parents": "context-parents";
3945
4488
  "event-links": "event-links";
@@ -3952,7 +4495,7 @@ export declare const contract: {
3952
4495
  }>;
3953
4496
  url: import("zod").ZodURL;
3954
4497
  }, import("zod/v4/core").$strip>>;
3955
- schemaVersion: import("zod").ZodLiteral<4>;
4498
+ schemaVersion: import("zod").ZodLiteral<6>;
3956
4499
  scope: import("zod").ZodObject<{
3957
4500
  organizationId: import("zod").ZodNullable<import("zod").ZodString>;
3958
4501
  projectId: import("zod").ZodNullable<import("zod").ZodString>;