@melra/protocol 0.3.0-alpha.10 → 0.3.0-alpha.12

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,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const PROTOCOL_VERSION = "2025-11-25";
3
- export declare const PRODUCT_VERSION = "0.3.0-alpha.10";
3
+ export declare const PRODUCT_VERSION = "0.3.0-alpha.12";
4
4
  export declare const FileOperationSchema: z.ZodObject<{
5
5
  kind: z.ZodLiteral<"file">;
6
6
  action: z.ZodEnum<{
@@ -202,6 +202,30 @@ export declare const ComputerOperationSchema: z.ZodObject<{
202
202
  }, z.core.$strict>>;
203
203
  timeoutMs: z.ZodDefault<z.ZodNumber>;
204
204
  }, z.core.$strict>;
205
+ export declare const HttpOperationSchema: z.ZodObject<{
206
+ kind: z.ZodLiteral<"http">;
207
+ action: z.ZodLiteral<"request">;
208
+ method: z.ZodDefault<z.ZodEnum<{
209
+ DELETE: "DELETE";
210
+ GET: "GET";
211
+ HEAD: "HEAD";
212
+ POST: "POST";
213
+ PUT: "PUT";
214
+ PATCH: "PATCH";
215
+ }>>;
216
+ url: z.ZodString;
217
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
218
+ content: z.ZodOptional<z.ZodString>;
219
+ idempotencyKey: z.ZodOptional<z.ZodString>;
220
+ spend: z.ZodOptional<z.ZodObject<{
221
+ provider: z.ZodString;
222
+ account: z.ZodOptional<z.ZodString>;
223
+ amount: z.ZodNumber;
224
+ currency: z.ZodString;
225
+ }, z.core.$strict>>;
226
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
227
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
228
+ }, z.core.$strict>;
205
229
  export declare const SystemOperationSchema: z.ZodObject<{
206
230
  kind: z.ZodLiteral<"system">;
207
231
  action: z.ZodLiteral<"info">;
@@ -387,6 +411,29 @@ export declare const OperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
387
411
  name: z.ZodOptional<z.ZodString>;
388
412
  }, z.core.$strict>>;
389
413
  timeoutMs: z.ZodDefault<z.ZodNumber>;
414
+ }, z.core.$strict>, z.ZodObject<{
415
+ kind: z.ZodLiteral<"http">;
416
+ action: z.ZodLiteral<"request">;
417
+ method: z.ZodDefault<z.ZodEnum<{
418
+ DELETE: "DELETE";
419
+ GET: "GET";
420
+ HEAD: "HEAD";
421
+ POST: "POST";
422
+ PUT: "PUT";
423
+ PATCH: "PATCH";
424
+ }>>;
425
+ url: z.ZodString;
426
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
427
+ content: z.ZodOptional<z.ZodString>;
428
+ idempotencyKey: z.ZodOptional<z.ZodString>;
429
+ spend: z.ZodOptional<z.ZodObject<{
430
+ provider: z.ZodString;
431
+ account: z.ZodOptional<z.ZodString>;
432
+ amount: z.ZodNumber;
433
+ currency: z.ZodString;
434
+ }, z.core.$strict>>;
435
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
436
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
390
437
  }, z.core.$strict>, z.ZodObject<{
391
438
  kind: z.ZodLiteral<"system">;
392
439
  action: z.ZodLiteral<"info">;
@@ -397,6 +444,7 @@ export type BrowserTarget = z.infer<typeof BrowserTargetSchema>;
397
444
  export type BrowserOperation = z.infer<typeof BrowserOperationSchema>;
398
445
  export type MemoryOperation = z.infer<typeof MemoryOperationSchema>;
399
446
  export type ComputerOperation = z.infer<typeof ComputerOperationSchema>;
447
+ export type HttpOperation = z.infer<typeof HttpOperationSchema>;
400
448
  export type SystemOperation = z.infer<typeof SystemOperationSchema>;
401
449
  export type Operation = z.infer<typeof OperationSchema>;
402
450
  export declare const EvidencePredicateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -426,6 +474,20 @@ export declare const EvidencePredicateSchema: z.ZodDiscriminatedUnion<[z.ZodObje
426
474
  }, z.core.$strict>, z.ZodObject<{
427
475
  type: z.ZodLiteral<"page_contains">;
428
476
  text: z.ZodString;
477
+ }, z.core.$strict>, z.ZodObject<{
478
+ type: z.ZodLiteral<"http_resource_matches">;
479
+ url: z.ZodString;
480
+ method: z.ZodDefault<z.ZodEnum<{
481
+ GET: "GET";
482
+ HEAD: "HEAD";
483
+ }>>;
484
+ path: z.ZodString;
485
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
486
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
487
+ }, z.core.$strict>, z.ZodObject<{
488
+ type: z.ZodLiteral<"custom">;
489
+ verifier: z.ZodString;
490
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
429
491
  }, z.core.$strict>], "type">;
430
492
  export type EvidencePredicate = z.infer<typeof EvidencePredicateSchema>;
431
493
  export declare const PrincipalKindSchema: z.ZodEnum<{
@@ -692,6 +754,29 @@ export declare const TaskRequestSchema: z.ZodObject<{
692
754
  name: z.ZodOptional<z.ZodString>;
693
755
  }, z.core.$strict>>;
694
756
  timeoutMs: z.ZodDefault<z.ZodNumber>;
757
+ }, z.core.$strict>, z.ZodObject<{
758
+ kind: z.ZodLiteral<"http">;
759
+ action: z.ZodLiteral<"request">;
760
+ method: z.ZodDefault<z.ZodEnum<{
761
+ DELETE: "DELETE";
762
+ GET: "GET";
763
+ HEAD: "HEAD";
764
+ POST: "POST";
765
+ PUT: "PUT";
766
+ PATCH: "PATCH";
767
+ }>>;
768
+ url: z.ZodString;
769
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
770
+ content: z.ZodOptional<z.ZodString>;
771
+ idempotencyKey: z.ZodOptional<z.ZodString>;
772
+ spend: z.ZodOptional<z.ZodObject<{
773
+ provider: z.ZodString;
774
+ account: z.ZodOptional<z.ZodString>;
775
+ amount: z.ZodNumber;
776
+ currency: z.ZodString;
777
+ }, z.core.$strict>>;
778
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
779
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
695
780
  }, z.core.$strict>, z.ZodObject<{
696
781
  kind: z.ZodLiteral<"system">;
697
782
  action: z.ZodLiteral<"info">;
@@ -734,6 +819,62 @@ export declare const TaskRequestSchema: z.ZodObject<{
734
819
  }, z.core.$strict>, z.ZodObject<{
735
820
  type: z.ZodLiteral<"page_contains">;
736
821
  text: z.ZodString;
822
+ }, z.core.$strict>, z.ZodObject<{
823
+ type: z.ZodLiteral<"http_resource_matches">;
824
+ url: z.ZodString;
825
+ method: z.ZodDefault<z.ZodEnum<{
826
+ GET: "GET";
827
+ HEAD: "HEAD";
828
+ }>>;
829
+ path: z.ZodString;
830
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
831
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
832
+ }, z.core.$strict>, z.ZodObject<{
833
+ type: z.ZodLiteral<"custom">;
834
+ verifier: z.ZodString;
835
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
836
+ }, z.core.$strict>], "type">>>;
837
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
838
+ type: z.ZodLiteral<"result_equals">;
839
+ path: z.ZodString;
840
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
841
+ }, z.core.$strict>, z.ZodObject<{
842
+ type: z.ZodLiteral<"result_contains">;
843
+ path: z.ZodString;
844
+ value: z.ZodString;
845
+ }, z.core.$strict>, z.ZodObject<{
846
+ type: z.ZodLiteral<"file_exists">;
847
+ path: z.ZodString;
848
+ }, z.core.$strict>, z.ZodObject<{
849
+ type: z.ZodLiteral<"file_absent">;
850
+ path: z.ZodString;
851
+ }, z.core.$strict>, z.ZodObject<{
852
+ type: z.ZodLiteral<"file_hash">;
853
+ path: z.ZodString;
854
+ sha256: z.ZodString;
855
+ }, z.core.$strict>, z.ZodObject<{
856
+ type: z.ZodLiteral<"exit_code">;
857
+ value: z.ZodNumber;
858
+ }, z.core.$strict>, z.ZodObject<{
859
+ type: z.ZodLiteral<"url_matches">;
860
+ pattern: z.ZodString;
861
+ }, z.core.$strict>, z.ZodObject<{
862
+ type: z.ZodLiteral<"page_contains">;
863
+ text: z.ZodString;
864
+ }, z.core.$strict>, z.ZodObject<{
865
+ type: z.ZodLiteral<"http_resource_matches">;
866
+ url: z.ZodString;
867
+ method: z.ZodDefault<z.ZodEnum<{
868
+ GET: "GET";
869
+ HEAD: "HEAD";
870
+ }>>;
871
+ path: z.ZodString;
872
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
873
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
874
+ }, z.core.$strict>, z.ZodObject<{
875
+ type: z.ZodLiteral<"custom">;
876
+ verifier: z.ZodString;
877
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
737
878
  }, z.core.$strict>], "type">>>;
738
879
  identity: z.ZodOptional<z.ZodObject<{
739
880
  principal: z.ZodObject<{
@@ -855,8 +996,128 @@ export declare const CapabilityGrantSchema: z.ZodObject<{
855
996
  principal: z.ZodDefault<z.ZodString>;
856
997
  validUntil: z.ZodOptional<z.ZodString>;
857
998
  policyVersion: z.ZodOptional<z.ZodString>;
999
+ maxOperations: z.ZodOptional<z.ZodNumber>;
1000
+ provider: z.ZodOptional<z.ZodObject<{
1001
+ name: z.ZodString;
1002
+ account: z.ZodOptional<z.ZodString>;
1003
+ amountMax: z.ZodOptional<z.ZodNumber>;
1004
+ dailyMax: z.ZodOptional<z.ZodNumber>;
1005
+ }, z.core.$strict>>;
858
1006
  }, z.core.$strict>;
859
1007
  export type CapabilityGrant = z.infer<typeof CapabilityGrantSchema>;
1008
+ /**
1009
+ * One secret the kernel holds so the agent does not have to.
1010
+ *
1011
+ * The whole point is the asymmetry between the two lists. `hosts` says where
1012
+ * the secret may travel; `capability` says what may be done while holding it.
1013
+ * A request to a host outside `hosts` is sent *without* the credential, because
1014
+ * a secret that follows the caller wherever it points is not scoped to
1015
+ * anything. A request to a host inside `hosts` that the capability does not
1016
+ * cover is *refused* — that is the caller reaching past the authority it was
1017
+ * delegated, and it is the difference between possessing a credential and
1018
+ * possessing authority.
1019
+ */
1020
+ export declare const CredentialDefinitionSchema: z.ZodObject<{
1021
+ source: z.ZodUnion<readonly [z.ZodObject<{
1022
+ env: z.ZodString;
1023
+ }, z.core.$strict>, z.ZodObject<{
1024
+ file: z.ZodString;
1025
+ }, z.core.$strict>]>;
1026
+ inject: z.ZodObject<{
1027
+ header: z.ZodString;
1028
+ scheme: z.ZodOptional<z.ZodString>;
1029
+ }, z.core.$strict>;
1030
+ hosts: z.ZodArray<z.ZodString>;
1031
+ capability: z.ZodString;
1032
+ }, z.core.$strict>;
1033
+ export type CredentialDefinition = z.infer<typeof CredentialDefinitionSchema>;
1034
+ export declare const CredentialsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1035
+ source: z.ZodUnion<readonly [z.ZodObject<{
1036
+ env: z.ZodString;
1037
+ }, z.core.$strict>, z.ZodObject<{
1038
+ file: z.ZodString;
1039
+ }, z.core.$strict>]>;
1040
+ inject: z.ZodObject<{
1041
+ header: z.ZodString;
1042
+ scheme: z.ZodOptional<z.ZodString>;
1043
+ }, z.core.$strict>;
1044
+ hosts: z.ZodArray<z.ZodString>;
1045
+ capability: z.ZodString;
1046
+ }, z.core.$strict>>;
1047
+ /**
1048
+ * What MELRA promises about how many times an effect can run.
1049
+ *
1050
+ * Stating it is the point. The rule that mutations are never retried already
1051
+ * governed execution, but it lived inside the controller, so a caller setting
1052
+ * `budget.maxRetries: 3` on a write had no way to learn that the number would
1053
+ * be ignored. Derived from the classified effect, never taken from the caller —
1054
+ * a caller that could declare its own `POST` `provider-idempotent` would have
1055
+ * bought itself a retry it is not entitled to.
1056
+ */
1057
+ export type ExecutionGuarantee =
1058
+ /** No state change, so there is nothing to guarantee. Freely retried. */
1059
+ "read-only"
1060
+ /** Executed zero or one times. Never retried. */
1061
+ | "at-most-once"
1062
+ /** May run more than once; the caller must tolerate a repeat. */
1063
+ | "at-least-once"
1064
+ /** Retry-safe because the provider dedupes on a key MELRA sends. */
1065
+ | "provider-idempotent"
1066
+ /** Outcome may be unknown after a crash; a reconciliation pass decides. */
1067
+ | "reconciliation-required"
1068
+ /** Undone by a declared compensating effect. */
1069
+ | "compensatable";
1070
+ /**
1071
+ * How the kernel is deployed. Not a property of a request — a property of the
1072
+ * process, recorded on every effect that process runs.
1073
+ *
1074
+ * `developer` is the default and the reason MELRA can be tried in thirty
1075
+ * seconds: it governs the effects it is asked for, and says plainly that a
1076
+ * harness holding a native terminal as well makes it optional. `enforced` is the
1077
+ * operator asserting the alternative has been removed. MELRA cannot check that
1078
+ * assertion from inside the process, so it does the part it can: it closes every
1079
+ * door of its own that would contradict the claim.
1080
+ */
1081
+ export type DeploymentMode = "developer" | "enforced";
1082
+ /**
1083
+ * Only the exact word counts. A stray `MELRA_MODE=Enforced` left in a shell
1084
+ * profile is a typo, and quietly reading it as developer mode would hand back
1085
+ * the bypasses the operator thought they had turned off.
1086
+ */
1087
+ export declare function deploymentMode(value: string | undefined): DeploymentMode;
1088
+ /**
1089
+ * `at-least-once`, `provider-idempotent` and `compensatable` still need an
1090
+ * adapter that can offer them, so nothing derives those three yet.
1091
+ * `reconciliation-required` is real: a caller that declared `reconciliation`
1092
+ * predicates has given MELRA a way to settle an outcome it could not observe,
1093
+ * and that is a different promise from `at-most-once`, which says the effect
1094
+ * ran zero or one times but not which.
1095
+ */
1096
+ export declare function executionGuaranteeFor(effect: Effect,
1097
+ /** Whether the request declared a way to settle an unknown outcome. */
1098
+ reconcilable?: boolean): ExecutionGuarantee;
1099
+ /**
1100
+ * Prefix on an adapter error that does *not* claim the effect failed to happen.
1101
+ *
1102
+ * The distinction is the whole of it. A request that never left the machine —
1103
+ * DNS failure, connection refused — definitely did nothing, and `failed` is the
1104
+ * truth. A request that was written to the socket and went unanswered is a
1105
+ * different fact: the far end may have done the work and lost the reply.
1106
+ * Reporting the second as `failed` is the one lie a kernel that owns effects
1107
+ * cannot afford to tell, so an adapter that can tell the two apart marks it and
1108
+ * the executor parks the task for reconciliation instead of asserting either
1109
+ * outcome.
1110
+ */
1111
+ export declare const OUTCOME_UNKNOWN_PREFIX = "effect_outcome_unknown:";
1112
+ /** Wraps a reason as an error whose outcome MELRA cannot determine. */
1113
+ export declare function outcomeUnknown(reason: string): Error;
1114
+ export declare function isOutcomeUnknown(message: string): boolean;
1115
+ /**
1116
+ * Whether more than one attempt is permitted. The executor asks the guarantee
1117
+ * rather than re-deriving the rule from the effect, so the promise on the
1118
+ * contract and the behaviour in the loop cannot drift apart.
1119
+ */
1120
+ export declare function allowsRetry(guarantee: ExecutionGuarantee): boolean;
860
1121
  /**
861
1122
  * One bounded effect, named as a single object.
862
1123
  *
@@ -875,6 +1136,8 @@ export interface EffectContract {
875
1136
  risk: Risk;
876
1137
  target: string;
877
1138
  traits: CapabilityTrait[];
1139
+ /** How many times this effect can run. See `ExecutionGuarantee`. */
1140
+ executionGuarantee: ExecutionGuarantee;
878
1141
  /** Effects this request refuses for itself, honoured even in unhinged mode. */
879
1142
  forbiddenEffects: Effect[];
880
1143
  /** What must hold afterwards for the effect to count as a success. */
@@ -1075,6 +1338,29 @@ export declare const OperationNodeSchema: z.ZodObject<{
1075
1338
  name: z.ZodOptional<z.ZodString>;
1076
1339
  }, z.core.$strict>>;
1077
1340
  timeoutMs: z.ZodDefault<z.ZodNumber>;
1341
+ }, z.core.$strict>, z.ZodObject<{
1342
+ kind: z.ZodLiteral<"http">;
1343
+ action: z.ZodLiteral<"request">;
1344
+ method: z.ZodDefault<z.ZodEnum<{
1345
+ DELETE: "DELETE";
1346
+ GET: "GET";
1347
+ HEAD: "HEAD";
1348
+ POST: "POST";
1349
+ PUT: "PUT";
1350
+ PATCH: "PATCH";
1351
+ }>>;
1352
+ url: z.ZodString;
1353
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1354
+ content: z.ZodOptional<z.ZodString>;
1355
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1356
+ spend: z.ZodOptional<z.ZodObject<{
1357
+ provider: z.ZodString;
1358
+ account: z.ZodOptional<z.ZodString>;
1359
+ amount: z.ZodNumber;
1360
+ currency: z.ZodString;
1361
+ }, z.core.$strict>>;
1362
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
1363
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1078
1364
  }, z.core.$strict>, z.ZodObject<{
1079
1365
  kind: z.ZodLiteral<"system">;
1080
1366
  action: z.ZodLiteral<"info">;
@@ -1117,6 +1403,62 @@ export declare const OperationNodeSchema: z.ZodObject<{
1117
1403
  }, z.core.$strict>, z.ZodObject<{
1118
1404
  type: z.ZodLiteral<"page_contains">;
1119
1405
  text: z.ZodString;
1406
+ }, z.core.$strict>, z.ZodObject<{
1407
+ type: z.ZodLiteral<"http_resource_matches">;
1408
+ url: z.ZodString;
1409
+ method: z.ZodDefault<z.ZodEnum<{
1410
+ GET: "GET";
1411
+ HEAD: "HEAD";
1412
+ }>>;
1413
+ path: z.ZodString;
1414
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1415
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1416
+ }, z.core.$strict>, z.ZodObject<{
1417
+ type: z.ZodLiteral<"custom">;
1418
+ verifier: z.ZodString;
1419
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1420
+ }, z.core.$strict>], "type">>>;
1421
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1422
+ type: z.ZodLiteral<"result_equals">;
1423
+ path: z.ZodString;
1424
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1425
+ }, z.core.$strict>, z.ZodObject<{
1426
+ type: z.ZodLiteral<"result_contains">;
1427
+ path: z.ZodString;
1428
+ value: z.ZodString;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ type: z.ZodLiteral<"file_exists">;
1431
+ path: z.ZodString;
1432
+ }, z.core.$strict>, z.ZodObject<{
1433
+ type: z.ZodLiteral<"file_absent">;
1434
+ path: z.ZodString;
1435
+ }, z.core.$strict>, z.ZodObject<{
1436
+ type: z.ZodLiteral<"file_hash">;
1437
+ path: z.ZodString;
1438
+ sha256: z.ZodString;
1439
+ }, z.core.$strict>, z.ZodObject<{
1440
+ type: z.ZodLiteral<"exit_code">;
1441
+ value: z.ZodNumber;
1442
+ }, z.core.$strict>, z.ZodObject<{
1443
+ type: z.ZodLiteral<"url_matches">;
1444
+ pattern: z.ZodString;
1445
+ }, z.core.$strict>, z.ZodObject<{
1446
+ type: z.ZodLiteral<"page_contains">;
1447
+ text: z.ZodString;
1448
+ }, z.core.$strict>, z.ZodObject<{
1449
+ type: z.ZodLiteral<"http_resource_matches">;
1450
+ url: z.ZodString;
1451
+ method: z.ZodDefault<z.ZodEnum<{
1452
+ GET: "GET";
1453
+ HEAD: "HEAD";
1454
+ }>>;
1455
+ path: z.ZodString;
1456
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1457
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1458
+ }, z.core.$strict>, z.ZodObject<{
1459
+ type: z.ZodLiteral<"custom">;
1460
+ verifier: z.ZodString;
1461
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1120
1462
  }, z.core.$strict>], "type">>>;
1121
1463
  identity: z.ZodOptional<z.ZodObject<{
1122
1464
  principal: z.ZodObject<{
@@ -1184,6 +1526,20 @@ export declare const ConditionNodeSchema: z.ZodObject<{
1184
1526
  }, z.core.$strict>, z.ZodObject<{
1185
1527
  type: z.ZodLiteral<"page_contains">;
1186
1528
  text: z.ZodString;
1529
+ }, z.core.$strict>, z.ZodObject<{
1530
+ type: z.ZodLiteral<"http_resource_matches">;
1531
+ url: z.ZodString;
1532
+ method: z.ZodDefault<z.ZodEnum<{
1533
+ GET: "GET";
1534
+ HEAD: "HEAD";
1535
+ }>>;
1536
+ path: z.ZodString;
1537
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1538
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1539
+ }, z.core.$strict>, z.ZodObject<{
1540
+ type: z.ZodLiteral<"custom">;
1541
+ verifier: z.ZodString;
1542
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1187
1543
  }, z.core.$strict>], "type">;
1188
1544
  whenTrue: z.ZodDefault<z.ZodArray<z.ZodObject<{
1189
1545
  goal: z.ZodString;
@@ -1368,6 +1724,29 @@ export declare const ConditionNodeSchema: z.ZodObject<{
1368
1724
  name: z.ZodOptional<z.ZodString>;
1369
1725
  }, z.core.$strict>>;
1370
1726
  timeoutMs: z.ZodDefault<z.ZodNumber>;
1727
+ }, z.core.$strict>, z.ZodObject<{
1728
+ kind: z.ZodLiteral<"http">;
1729
+ action: z.ZodLiteral<"request">;
1730
+ method: z.ZodDefault<z.ZodEnum<{
1731
+ DELETE: "DELETE";
1732
+ GET: "GET";
1733
+ HEAD: "HEAD";
1734
+ POST: "POST";
1735
+ PUT: "PUT";
1736
+ PATCH: "PATCH";
1737
+ }>>;
1738
+ url: z.ZodString;
1739
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1740
+ content: z.ZodOptional<z.ZodString>;
1741
+ idempotencyKey: z.ZodOptional<z.ZodString>;
1742
+ spend: z.ZodOptional<z.ZodObject<{
1743
+ provider: z.ZodString;
1744
+ account: z.ZodOptional<z.ZodString>;
1745
+ amount: z.ZodNumber;
1746
+ currency: z.ZodString;
1747
+ }, z.core.$strict>>;
1748
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
1749
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1371
1750
  }, z.core.$strict>, z.ZodObject<{
1372
1751
  kind: z.ZodLiteral<"system">;
1373
1752
  action: z.ZodLiteral<"info">;
@@ -1410,6 +1789,62 @@ export declare const ConditionNodeSchema: z.ZodObject<{
1410
1789
  }, z.core.$strict>, z.ZodObject<{
1411
1790
  type: z.ZodLiteral<"page_contains">;
1412
1791
  text: z.ZodString;
1792
+ }, z.core.$strict>, z.ZodObject<{
1793
+ type: z.ZodLiteral<"http_resource_matches">;
1794
+ url: z.ZodString;
1795
+ method: z.ZodDefault<z.ZodEnum<{
1796
+ GET: "GET";
1797
+ HEAD: "HEAD";
1798
+ }>>;
1799
+ path: z.ZodString;
1800
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1801
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1802
+ }, z.core.$strict>, z.ZodObject<{
1803
+ type: z.ZodLiteral<"custom">;
1804
+ verifier: z.ZodString;
1805
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1806
+ }, z.core.$strict>], "type">>>;
1807
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1808
+ type: z.ZodLiteral<"result_equals">;
1809
+ path: z.ZodString;
1810
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1811
+ }, z.core.$strict>, z.ZodObject<{
1812
+ type: z.ZodLiteral<"result_contains">;
1813
+ path: z.ZodString;
1814
+ value: z.ZodString;
1815
+ }, z.core.$strict>, z.ZodObject<{
1816
+ type: z.ZodLiteral<"file_exists">;
1817
+ path: z.ZodString;
1818
+ }, z.core.$strict>, z.ZodObject<{
1819
+ type: z.ZodLiteral<"file_absent">;
1820
+ path: z.ZodString;
1821
+ }, z.core.$strict>, z.ZodObject<{
1822
+ type: z.ZodLiteral<"file_hash">;
1823
+ path: z.ZodString;
1824
+ sha256: z.ZodString;
1825
+ }, z.core.$strict>, z.ZodObject<{
1826
+ type: z.ZodLiteral<"exit_code">;
1827
+ value: z.ZodNumber;
1828
+ }, z.core.$strict>, z.ZodObject<{
1829
+ type: z.ZodLiteral<"url_matches">;
1830
+ pattern: z.ZodString;
1831
+ }, z.core.$strict>, z.ZodObject<{
1832
+ type: z.ZodLiteral<"page_contains">;
1833
+ text: z.ZodString;
1834
+ }, z.core.$strict>, z.ZodObject<{
1835
+ type: z.ZodLiteral<"http_resource_matches">;
1836
+ url: z.ZodString;
1837
+ method: z.ZodDefault<z.ZodEnum<{
1838
+ GET: "GET";
1839
+ HEAD: "HEAD";
1840
+ }>>;
1841
+ path: z.ZodString;
1842
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1843
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1844
+ }, z.core.$strict>, z.ZodObject<{
1845
+ type: z.ZodLiteral<"custom">;
1846
+ verifier: z.ZodString;
1847
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1413
1848
  }, z.core.$strict>], "type">>>;
1414
1849
  identity: z.ZodOptional<z.ZodObject<{
1415
1850
  principal: z.ZodObject<{
@@ -1621,6 +2056,29 @@ export declare const ConditionNodeSchema: z.ZodObject<{
1621
2056
  name: z.ZodOptional<z.ZodString>;
1622
2057
  }, z.core.$strict>>;
1623
2058
  timeoutMs: z.ZodDefault<z.ZodNumber>;
2059
+ }, z.core.$strict>, z.ZodObject<{
2060
+ kind: z.ZodLiteral<"http">;
2061
+ action: z.ZodLiteral<"request">;
2062
+ method: z.ZodDefault<z.ZodEnum<{
2063
+ DELETE: "DELETE";
2064
+ GET: "GET";
2065
+ HEAD: "HEAD";
2066
+ POST: "POST";
2067
+ PUT: "PUT";
2068
+ PATCH: "PATCH";
2069
+ }>>;
2070
+ url: z.ZodString;
2071
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2072
+ content: z.ZodOptional<z.ZodString>;
2073
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2074
+ spend: z.ZodOptional<z.ZodObject<{
2075
+ provider: z.ZodString;
2076
+ account: z.ZodOptional<z.ZodString>;
2077
+ amount: z.ZodNumber;
2078
+ currency: z.ZodString;
2079
+ }, z.core.$strict>>;
2080
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
2081
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1624
2082
  }, z.core.$strict>, z.ZodObject<{
1625
2083
  kind: z.ZodLiteral<"system">;
1626
2084
  action: z.ZodLiteral<"info">;
@@ -1663,6 +2121,62 @@ export declare const ConditionNodeSchema: z.ZodObject<{
1663
2121
  }, z.core.$strict>, z.ZodObject<{
1664
2122
  type: z.ZodLiteral<"page_contains">;
1665
2123
  text: z.ZodString;
2124
+ }, z.core.$strict>, z.ZodObject<{
2125
+ type: z.ZodLiteral<"http_resource_matches">;
2126
+ url: z.ZodString;
2127
+ method: z.ZodDefault<z.ZodEnum<{
2128
+ GET: "GET";
2129
+ HEAD: "HEAD";
2130
+ }>>;
2131
+ path: z.ZodString;
2132
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2133
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2134
+ }, z.core.$strict>, z.ZodObject<{
2135
+ type: z.ZodLiteral<"custom">;
2136
+ verifier: z.ZodString;
2137
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2138
+ }, z.core.$strict>], "type">>>;
2139
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2140
+ type: z.ZodLiteral<"result_equals">;
2141
+ path: z.ZodString;
2142
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2143
+ }, z.core.$strict>, z.ZodObject<{
2144
+ type: z.ZodLiteral<"result_contains">;
2145
+ path: z.ZodString;
2146
+ value: z.ZodString;
2147
+ }, z.core.$strict>, z.ZodObject<{
2148
+ type: z.ZodLiteral<"file_exists">;
2149
+ path: z.ZodString;
2150
+ }, z.core.$strict>, z.ZodObject<{
2151
+ type: z.ZodLiteral<"file_absent">;
2152
+ path: z.ZodString;
2153
+ }, z.core.$strict>, z.ZodObject<{
2154
+ type: z.ZodLiteral<"file_hash">;
2155
+ path: z.ZodString;
2156
+ sha256: z.ZodString;
2157
+ }, z.core.$strict>, z.ZodObject<{
2158
+ type: z.ZodLiteral<"exit_code">;
2159
+ value: z.ZodNumber;
2160
+ }, z.core.$strict>, z.ZodObject<{
2161
+ type: z.ZodLiteral<"url_matches">;
2162
+ pattern: z.ZodString;
2163
+ }, z.core.$strict>, z.ZodObject<{
2164
+ type: z.ZodLiteral<"page_contains">;
2165
+ text: z.ZodString;
2166
+ }, z.core.$strict>, z.ZodObject<{
2167
+ type: z.ZodLiteral<"http_resource_matches">;
2168
+ url: z.ZodString;
2169
+ method: z.ZodDefault<z.ZodEnum<{
2170
+ GET: "GET";
2171
+ HEAD: "HEAD";
2172
+ }>>;
2173
+ path: z.ZodString;
2174
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2175
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2176
+ }, z.core.$strict>, z.ZodObject<{
2177
+ type: z.ZodLiteral<"custom">;
2178
+ verifier: z.ZodString;
2179
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1666
2180
  }, z.core.$strict>], "type">>>;
1667
2181
  identity: z.ZodOptional<z.ZodObject<{
1668
2182
  principal: z.ZodObject<{
@@ -1879,6 +2393,29 @@ export declare const ParallelNodeSchema: z.ZodObject<{
1879
2393
  name: z.ZodOptional<z.ZodString>;
1880
2394
  }, z.core.$strict>>;
1881
2395
  timeoutMs: z.ZodDefault<z.ZodNumber>;
2396
+ }, z.core.$strict>, z.ZodObject<{
2397
+ kind: z.ZodLiteral<"http">;
2398
+ action: z.ZodLiteral<"request">;
2399
+ method: z.ZodDefault<z.ZodEnum<{
2400
+ DELETE: "DELETE";
2401
+ GET: "GET";
2402
+ HEAD: "HEAD";
2403
+ POST: "POST";
2404
+ PUT: "PUT";
2405
+ PATCH: "PATCH";
2406
+ }>>;
2407
+ url: z.ZodString;
2408
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2409
+ content: z.ZodOptional<z.ZodString>;
2410
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2411
+ spend: z.ZodOptional<z.ZodObject<{
2412
+ provider: z.ZodString;
2413
+ account: z.ZodOptional<z.ZodString>;
2414
+ amount: z.ZodNumber;
2415
+ currency: z.ZodString;
2416
+ }, z.core.$strict>>;
2417
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
2418
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
1882
2419
  }, z.core.$strict>, z.ZodObject<{
1883
2420
  kind: z.ZodLiteral<"system">;
1884
2421
  action: z.ZodLiteral<"info">;
@@ -1921,20 +2458,76 @@ export declare const ParallelNodeSchema: z.ZodObject<{
1921
2458
  }, z.core.$strict>, z.ZodObject<{
1922
2459
  type: z.ZodLiteral<"page_contains">;
1923
2460
  text: z.ZodString;
2461
+ }, z.core.$strict>, z.ZodObject<{
2462
+ type: z.ZodLiteral<"http_resource_matches">;
2463
+ url: z.ZodString;
2464
+ method: z.ZodDefault<z.ZodEnum<{
2465
+ GET: "GET";
2466
+ HEAD: "HEAD";
2467
+ }>>;
2468
+ path: z.ZodString;
2469
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2470
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2471
+ }, z.core.$strict>, z.ZodObject<{
2472
+ type: z.ZodLiteral<"custom">;
2473
+ verifier: z.ZodString;
2474
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1924
2475
  }, z.core.$strict>], "type">>>;
1925
- identity: z.ZodOptional<z.ZodObject<{
1926
- principal: z.ZodObject<{
1927
- kind: z.ZodEnum<{
1928
- session: "session";
1929
- organization: "organization";
1930
- human: "human";
1931
- harness: "harness";
1932
- agent: "agent";
1933
- subagent: "subagent";
1934
- service: "service";
1935
- }>;
1936
- id: z.ZodString;
1937
- }, z.core.$strict>;
2476
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2477
+ type: z.ZodLiteral<"result_equals">;
2478
+ path: z.ZodString;
2479
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2480
+ }, z.core.$strict>, z.ZodObject<{
2481
+ type: z.ZodLiteral<"result_contains">;
2482
+ path: z.ZodString;
2483
+ value: z.ZodString;
2484
+ }, z.core.$strict>, z.ZodObject<{
2485
+ type: z.ZodLiteral<"file_exists">;
2486
+ path: z.ZodString;
2487
+ }, z.core.$strict>, z.ZodObject<{
2488
+ type: z.ZodLiteral<"file_absent">;
2489
+ path: z.ZodString;
2490
+ }, z.core.$strict>, z.ZodObject<{
2491
+ type: z.ZodLiteral<"file_hash">;
2492
+ path: z.ZodString;
2493
+ sha256: z.ZodString;
2494
+ }, z.core.$strict>, z.ZodObject<{
2495
+ type: z.ZodLiteral<"exit_code">;
2496
+ value: z.ZodNumber;
2497
+ }, z.core.$strict>, z.ZodObject<{
2498
+ type: z.ZodLiteral<"url_matches">;
2499
+ pattern: z.ZodString;
2500
+ }, z.core.$strict>, z.ZodObject<{
2501
+ type: z.ZodLiteral<"page_contains">;
2502
+ text: z.ZodString;
2503
+ }, z.core.$strict>, z.ZodObject<{
2504
+ type: z.ZodLiteral<"http_resource_matches">;
2505
+ url: z.ZodString;
2506
+ method: z.ZodDefault<z.ZodEnum<{
2507
+ GET: "GET";
2508
+ HEAD: "HEAD";
2509
+ }>>;
2510
+ path: z.ZodString;
2511
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2512
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2513
+ }, z.core.$strict>, z.ZodObject<{
2514
+ type: z.ZodLiteral<"custom">;
2515
+ verifier: z.ZodString;
2516
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2517
+ }, z.core.$strict>], "type">>>;
2518
+ identity: z.ZodOptional<z.ZodObject<{
2519
+ principal: z.ZodObject<{
2520
+ kind: z.ZodEnum<{
2521
+ session: "session";
2522
+ organization: "organization";
2523
+ human: "human";
2524
+ harness: "harness";
2525
+ agent: "agent";
2526
+ subagent: "subagent";
2527
+ service: "service";
2528
+ }>;
2529
+ id: z.ZodString;
2530
+ }, z.core.$strict>;
1938
2531
  onBehalfOf: z.ZodDefault<z.ZodArray<z.ZodObject<{
1939
2532
  kind: z.ZodEnum<{
1940
2533
  session: "session";
@@ -2137,6 +2730,29 @@ export declare const BoundedLoopNodeSchema: z.ZodObject<{
2137
2730
  name: z.ZodOptional<z.ZodString>;
2138
2731
  }, z.core.$strict>>;
2139
2732
  timeoutMs: z.ZodDefault<z.ZodNumber>;
2733
+ }, z.core.$strict>, z.ZodObject<{
2734
+ kind: z.ZodLiteral<"http">;
2735
+ action: z.ZodLiteral<"request">;
2736
+ method: z.ZodDefault<z.ZodEnum<{
2737
+ DELETE: "DELETE";
2738
+ GET: "GET";
2739
+ HEAD: "HEAD";
2740
+ POST: "POST";
2741
+ PUT: "PUT";
2742
+ PATCH: "PATCH";
2743
+ }>>;
2744
+ url: z.ZodString;
2745
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2746
+ content: z.ZodOptional<z.ZodString>;
2747
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2748
+ spend: z.ZodOptional<z.ZodObject<{
2749
+ provider: z.ZodString;
2750
+ account: z.ZodOptional<z.ZodString>;
2751
+ amount: z.ZodNumber;
2752
+ currency: z.ZodString;
2753
+ }, z.core.$strict>>;
2754
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
2755
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2140
2756
  }, z.core.$strict>, z.ZodObject<{
2141
2757
  kind: z.ZodLiteral<"system">;
2142
2758
  action: z.ZodLiteral<"info">;
@@ -2179,6 +2795,62 @@ export declare const BoundedLoopNodeSchema: z.ZodObject<{
2179
2795
  }, z.core.$strict>, z.ZodObject<{
2180
2796
  type: z.ZodLiteral<"page_contains">;
2181
2797
  text: z.ZodString;
2798
+ }, z.core.$strict>, z.ZodObject<{
2799
+ type: z.ZodLiteral<"http_resource_matches">;
2800
+ url: z.ZodString;
2801
+ method: z.ZodDefault<z.ZodEnum<{
2802
+ GET: "GET";
2803
+ HEAD: "HEAD";
2804
+ }>>;
2805
+ path: z.ZodString;
2806
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2807
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2808
+ }, z.core.$strict>, z.ZodObject<{
2809
+ type: z.ZodLiteral<"custom">;
2810
+ verifier: z.ZodString;
2811
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2812
+ }, z.core.$strict>], "type">>>;
2813
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2814
+ type: z.ZodLiteral<"result_equals">;
2815
+ path: z.ZodString;
2816
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2817
+ }, z.core.$strict>, z.ZodObject<{
2818
+ type: z.ZodLiteral<"result_contains">;
2819
+ path: z.ZodString;
2820
+ value: z.ZodString;
2821
+ }, z.core.$strict>, z.ZodObject<{
2822
+ type: z.ZodLiteral<"file_exists">;
2823
+ path: z.ZodString;
2824
+ }, z.core.$strict>, z.ZodObject<{
2825
+ type: z.ZodLiteral<"file_absent">;
2826
+ path: z.ZodString;
2827
+ }, z.core.$strict>, z.ZodObject<{
2828
+ type: z.ZodLiteral<"file_hash">;
2829
+ path: z.ZodString;
2830
+ sha256: z.ZodString;
2831
+ }, z.core.$strict>, z.ZodObject<{
2832
+ type: z.ZodLiteral<"exit_code">;
2833
+ value: z.ZodNumber;
2834
+ }, z.core.$strict>, z.ZodObject<{
2835
+ type: z.ZodLiteral<"url_matches">;
2836
+ pattern: z.ZodString;
2837
+ }, z.core.$strict>, z.ZodObject<{
2838
+ type: z.ZodLiteral<"page_contains">;
2839
+ text: z.ZodString;
2840
+ }, z.core.$strict>, z.ZodObject<{
2841
+ type: z.ZodLiteral<"http_resource_matches">;
2842
+ url: z.ZodString;
2843
+ method: z.ZodDefault<z.ZodEnum<{
2844
+ GET: "GET";
2845
+ HEAD: "HEAD";
2846
+ }>>;
2847
+ path: z.ZodString;
2848
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2849
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2850
+ }, z.core.$strict>, z.ZodObject<{
2851
+ type: z.ZodLiteral<"custom">;
2852
+ verifier: z.ZodString;
2853
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2182
2854
  }, z.core.$strict>], "type">>>;
2183
2855
  identity: z.ZodOptional<z.ZodObject<{
2184
2856
  principal: z.ZodObject<{
@@ -2235,6 +2907,20 @@ export declare const BoundedLoopNodeSchema: z.ZodObject<{
2235
2907
  }, z.core.$strict>, z.ZodObject<{
2236
2908
  type: z.ZodLiteral<"page_contains">;
2237
2909
  text: z.ZodString;
2910
+ }, z.core.$strict>, z.ZodObject<{
2911
+ type: z.ZodLiteral<"http_resource_matches">;
2912
+ url: z.ZodString;
2913
+ method: z.ZodDefault<z.ZodEnum<{
2914
+ GET: "GET";
2915
+ HEAD: "HEAD";
2916
+ }>>;
2917
+ path: z.ZodString;
2918
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2919
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2920
+ }, z.core.$strict>, z.ZodObject<{
2921
+ type: z.ZodLiteral<"custom">;
2922
+ verifier: z.ZodString;
2923
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2238
2924
  }, z.core.$strict>], "type">>;
2239
2925
  }, z.core.$strict>;
2240
2926
  export declare const CheckpointNodeSchema: z.ZodObject<{
@@ -2430,6 +3116,29 @@ export declare const CompensationNodeSchema: z.ZodObject<{
2430
3116
  name: z.ZodOptional<z.ZodString>;
2431
3117
  }, z.core.$strict>>;
2432
3118
  timeoutMs: z.ZodDefault<z.ZodNumber>;
3119
+ }, z.core.$strict>, z.ZodObject<{
3120
+ kind: z.ZodLiteral<"http">;
3121
+ action: z.ZodLiteral<"request">;
3122
+ method: z.ZodDefault<z.ZodEnum<{
3123
+ DELETE: "DELETE";
3124
+ GET: "GET";
3125
+ HEAD: "HEAD";
3126
+ POST: "POST";
3127
+ PUT: "PUT";
3128
+ PATCH: "PATCH";
3129
+ }>>;
3130
+ url: z.ZodString;
3131
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3132
+ content: z.ZodOptional<z.ZodString>;
3133
+ idempotencyKey: z.ZodOptional<z.ZodString>;
3134
+ spend: z.ZodOptional<z.ZodObject<{
3135
+ provider: z.ZodString;
3136
+ account: z.ZodOptional<z.ZodString>;
3137
+ amount: z.ZodNumber;
3138
+ currency: z.ZodString;
3139
+ }, z.core.$strict>>;
3140
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
3141
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2433
3142
  }, z.core.$strict>, z.ZodObject<{
2434
3143
  kind: z.ZodLiteral<"system">;
2435
3144
  action: z.ZodLiteral<"info">;
@@ -2472,6 +3181,62 @@ export declare const CompensationNodeSchema: z.ZodObject<{
2472
3181
  }, z.core.$strict>, z.ZodObject<{
2473
3182
  type: z.ZodLiteral<"page_contains">;
2474
3183
  text: z.ZodString;
3184
+ }, z.core.$strict>, z.ZodObject<{
3185
+ type: z.ZodLiteral<"http_resource_matches">;
3186
+ url: z.ZodString;
3187
+ method: z.ZodDefault<z.ZodEnum<{
3188
+ GET: "GET";
3189
+ HEAD: "HEAD";
3190
+ }>>;
3191
+ path: z.ZodString;
3192
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3193
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3194
+ }, z.core.$strict>, z.ZodObject<{
3195
+ type: z.ZodLiteral<"custom">;
3196
+ verifier: z.ZodString;
3197
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3198
+ }, z.core.$strict>], "type">>>;
3199
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3200
+ type: z.ZodLiteral<"result_equals">;
3201
+ path: z.ZodString;
3202
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3203
+ }, z.core.$strict>, z.ZodObject<{
3204
+ type: z.ZodLiteral<"result_contains">;
3205
+ path: z.ZodString;
3206
+ value: z.ZodString;
3207
+ }, z.core.$strict>, z.ZodObject<{
3208
+ type: z.ZodLiteral<"file_exists">;
3209
+ path: z.ZodString;
3210
+ }, z.core.$strict>, z.ZodObject<{
3211
+ type: z.ZodLiteral<"file_absent">;
3212
+ path: z.ZodString;
3213
+ }, z.core.$strict>, z.ZodObject<{
3214
+ type: z.ZodLiteral<"file_hash">;
3215
+ path: z.ZodString;
3216
+ sha256: z.ZodString;
3217
+ }, z.core.$strict>, z.ZodObject<{
3218
+ type: z.ZodLiteral<"exit_code">;
3219
+ value: z.ZodNumber;
3220
+ }, z.core.$strict>, z.ZodObject<{
3221
+ type: z.ZodLiteral<"url_matches">;
3222
+ pattern: z.ZodString;
3223
+ }, z.core.$strict>, z.ZodObject<{
3224
+ type: z.ZodLiteral<"page_contains">;
3225
+ text: z.ZodString;
3226
+ }, z.core.$strict>, z.ZodObject<{
3227
+ type: z.ZodLiteral<"http_resource_matches">;
3228
+ url: z.ZodString;
3229
+ method: z.ZodDefault<z.ZodEnum<{
3230
+ GET: "GET";
3231
+ HEAD: "HEAD";
3232
+ }>>;
3233
+ path: z.ZodString;
3234
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3235
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3236
+ }, z.core.$strict>, z.ZodObject<{
3237
+ type: z.ZodLiteral<"custom">;
3238
+ verifier: z.ZodString;
3239
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2475
3240
  }, z.core.$strict>], "type">>>;
2476
3241
  identity: z.ZodOptional<z.ZodObject<{
2477
3242
  principal: z.ZodObject<{
@@ -2542,6 +3307,20 @@ export declare const DelegationNodeSchema: z.ZodObject<{
2542
3307
  }, z.core.$strict>, z.ZodObject<{
2543
3308
  type: z.ZodLiteral<"page_contains">;
2544
3309
  text: z.ZodString;
3310
+ }, z.core.$strict>, z.ZodObject<{
3311
+ type: z.ZodLiteral<"http_resource_matches">;
3312
+ url: z.ZodString;
3313
+ method: z.ZodDefault<z.ZodEnum<{
3314
+ GET: "GET";
3315
+ HEAD: "HEAD";
3316
+ }>>;
3317
+ path: z.ZodString;
3318
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3319
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3320
+ }, z.core.$strict>, z.ZodObject<{
3321
+ type: z.ZodLiteral<"custom">;
3322
+ verifier: z.ZodString;
3323
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2545
3324
  }, z.core.$strict>], "type">>>;
2546
3325
  }, z.core.$strict>;
2547
3326
  export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2731,6 +3510,29 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2731
3510
  name: z.ZodOptional<z.ZodString>;
2732
3511
  }, z.core.$strict>>;
2733
3512
  timeoutMs: z.ZodDefault<z.ZodNumber>;
3513
+ }, z.core.$strict>, z.ZodObject<{
3514
+ kind: z.ZodLiteral<"http">;
3515
+ action: z.ZodLiteral<"request">;
3516
+ method: z.ZodDefault<z.ZodEnum<{
3517
+ DELETE: "DELETE";
3518
+ GET: "GET";
3519
+ HEAD: "HEAD";
3520
+ POST: "POST";
3521
+ PUT: "PUT";
3522
+ PATCH: "PATCH";
3523
+ }>>;
3524
+ url: z.ZodString;
3525
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3526
+ content: z.ZodOptional<z.ZodString>;
3527
+ idempotencyKey: z.ZodOptional<z.ZodString>;
3528
+ spend: z.ZodOptional<z.ZodObject<{
3529
+ provider: z.ZodString;
3530
+ account: z.ZodOptional<z.ZodString>;
3531
+ amount: z.ZodNumber;
3532
+ currency: z.ZodString;
3533
+ }, z.core.$strict>>;
3534
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
3535
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
2734
3536
  }, z.core.$strict>, z.ZodObject<{
2735
3537
  kind: z.ZodLiteral<"system">;
2736
3538
  action: z.ZodLiteral<"info">;
@@ -2773,6 +3575,62 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2773
3575
  }, z.core.$strict>, z.ZodObject<{
2774
3576
  type: z.ZodLiteral<"page_contains">;
2775
3577
  text: z.ZodString;
3578
+ }, z.core.$strict>, z.ZodObject<{
3579
+ type: z.ZodLiteral<"http_resource_matches">;
3580
+ url: z.ZodString;
3581
+ method: z.ZodDefault<z.ZodEnum<{
3582
+ GET: "GET";
3583
+ HEAD: "HEAD";
3584
+ }>>;
3585
+ path: z.ZodString;
3586
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3587
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3588
+ }, z.core.$strict>, z.ZodObject<{
3589
+ type: z.ZodLiteral<"custom">;
3590
+ verifier: z.ZodString;
3591
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3592
+ }, z.core.$strict>], "type">>>;
3593
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3594
+ type: z.ZodLiteral<"result_equals">;
3595
+ path: z.ZodString;
3596
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3597
+ }, z.core.$strict>, z.ZodObject<{
3598
+ type: z.ZodLiteral<"result_contains">;
3599
+ path: z.ZodString;
3600
+ value: z.ZodString;
3601
+ }, z.core.$strict>, z.ZodObject<{
3602
+ type: z.ZodLiteral<"file_exists">;
3603
+ path: z.ZodString;
3604
+ }, z.core.$strict>, z.ZodObject<{
3605
+ type: z.ZodLiteral<"file_absent">;
3606
+ path: z.ZodString;
3607
+ }, z.core.$strict>, z.ZodObject<{
3608
+ type: z.ZodLiteral<"file_hash">;
3609
+ path: z.ZodString;
3610
+ sha256: z.ZodString;
3611
+ }, z.core.$strict>, z.ZodObject<{
3612
+ type: z.ZodLiteral<"exit_code">;
3613
+ value: z.ZodNumber;
3614
+ }, z.core.$strict>, z.ZodObject<{
3615
+ type: z.ZodLiteral<"url_matches">;
3616
+ pattern: z.ZodString;
3617
+ }, z.core.$strict>, z.ZodObject<{
3618
+ type: z.ZodLiteral<"page_contains">;
3619
+ text: z.ZodString;
3620
+ }, z.core.$strict>, z.ZodObject<{
3621
+ type: z.ZodLiteral<"http_resource_matches">;
3622
+ url: z.ZodString;
3623
+ method: z.ZodDefault<z.ZodEnum<{
3624
+ GET: "GET";
3625
+ HEAD: "HEAD";
3626
+ }>>;
3627
+ path: z.ZodString;
3628
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3629
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3630
+ }, z.core.$strict>, z.ZodObject<{
3631
+ type: z.ZodLiteral<"custom">;
3632
+ verifier: z.ZodString;
3633
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2776
3634
  }, z.core.$strict>], "type">>>;
2777
3635
  identity: z.ZodOptional<z.ZodObject<{
2778
3636
  principal: z.ZodObject<{
@@ -2838,6 +3696,20 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2838
3696
  }, z.core.$strict>, z.ZodObject<{
2839
3697
  type: z.ZodLiteral<"page_contains">;
2840
3698
  text: z.ZodString;
3699
+ }, z.core.$strict>, z.ZodObject<{
3700
+ type: z.ZodLiteral<"http_resource_matches">;
3701
+ url: z.ZodString;
3702
+ method: z.ZodDefault<z.ZodEnum<{
3703
+ GET: "GET";
3704
+ HEAD: "HEAD";
3705
+ }>>;
3706
+ path: z.ZodString;
3707
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3708
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3709
+ }, z.core.$strict>, z.ZodObject<{
3710
+ type: z.ZodLiteral<"custom">;
3711
+ verifier: z.ZodString;
3712
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
2841
3713
  }, z.core.$strict>], "type">;
2842
3714
  whenTrue: z.ZodDefault<z.ZodArray<z.ZodObject<{
2843
3715
  goal: z.ZodString;
@@ -3022,6 +3894,29 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3022
3894
  name: z.ZodOptional<z.ZodString>;
3023
3895
  }, z.core.$strict>>;
3024
3896
  timeoutMs: z.ZodDefault<z.ZodNumber>;
3897
+ }, z.core.$strict>, z.ZodObject<{
3898
+ kind: z.ZodLiteral<"http">;
3899
+ action: z.ZodLiteral<"request">;
3900
+ method: z.ZodDefault<z.ZodEnum<{
3901
+ DELETE: "DELETE";
3902
+ GET: "GET";
3903
+ HEAD: "HEAD";
3904
+ POST: "POST";
3905
+ PUT: "PUT";
3906
+ PATCH: "PATCH";
3907
+ }>>;
3908
+ url: z.ZodString;
3909
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3910
+ content: z.ZodOptional<z.ZodString>;
3911
+ idempotencyKey: z.ZodOptional<z.ZodString>;
3912
+ spend: z.ZodOptional<z.ZodObject<{
3913
+ provider: z.ZodString;
3914
+ account: z.ZodOptional<z.ZodString>;
3915
+ amount: z.ZodNumber;
3916
+ currency: z.ZodString;
3917
+ }, z.core.$strict>>;
3918
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
3919
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3025
3920
  }, z.core.$strict>, z.ZodObject<{
3026
3921
  kind: z.ZodLiteral<"system">;
3027
3922
  action: z.ZodLiteral<"info">;
@@ -3064,6 +3959,62 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3064
3959
  }, z.core.$strict>, z.ZodObject<{
3065
3960
  type: z.ZodLiteral<"page_contains">;
3066
3961
  text: z.ZodString;
3962
+ }, z.core.$strict>, z.ZodObject<{
3963
+ type: z.ZodLiteral<"http_resource_matches">;
3964
+ url: z.ZodString;
3965
+ method: z.ZodDefault<z.ZodEnum<{
3966
+ GET: "GET";
3967
+ HEAD: "HEAD";
3968
+ }>>;
3969
+ path: z.ZodString;
3970
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3971
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3972
+ }, z.core.$strict>, z.ZodObject<{
3973
+ type: z.ZodLiteral<"custom">;
3974
+ verifier: z.ZodString;
3975
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3976
+ }, z.core.$strict>], "type">>>;
3977
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3978
+ type: z.ZodLiteral<"result_equals">;
3979
+ path: z.ZodString;
3980
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3981
+ }, z.core.$strict>, z.ZodObject<{
3982
+ type: z.ZodLiteral<"result_contains">;
3983
+ path: z.ZodString;
3984
+ value: z.ZodString;
3985
+ }, z.core.$strict>, z.ZodObject<{
3986
+ type: z.ZodLiteral<"file_exists">;
3987
+ path: z.ZodString;
3988
+ }, z.core.$strict>, z.ZodObject<{
3989
+ type: z.ZodLiteral<"file_absent">;
3990
+ path: z.ZodString;
3991
+ }, z.core.$strict>, z.ZodObject<{
3992
+ type: z.ZodLiteral<"file_hash">;
3993
+ path: z.ZodString;
3994
+ sha256: z.ZodString;
3995
+ }, z.core.$strict>, z.ZodObject<{
3996
+ type: z.ZodLiteral<"exit_code">;
3997
+ value: z.ZodNumber;
3998
+ }, z.core.$strict>, z.ZodObject<{
3999
+ type: z.ZodLiteral<"url_matches">;
4000
+ pattern: z.ZodString;
4001
+ }, z.core.$strict>, z.ZodObject<{
4002
+ type: z.ZodLiteral<"page_contains">;
4003
+ text: z.ZodString;
4004
+ }, z.core.$strict>, z.ZodObject<{
4005
+ type: z.ZodLiteral<"http_resource_matches">;
4006
+ url: z.ZodString;
4007
+ method: z.ZodDefault<z.ZodEnum<{
4008
+ GET: "GET";
4009
+ HEAD: "HEAD";
4010
+ }>>;
4011
+ path: z.ZodString;
4012
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4013
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4014
+ }, z.core.$strict>, z.ZodObject<{
4015
+ type: z.ZodLiteral<"custom">;
4016
+ verifier: z.ZodString;
4017
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3067
4018
  }, z.core.$strict>], "type">>>;
3068
4019
  identity: z.ZodOptional<z.ZodObject<{
3069
4020
  principal: z.ZodObject<{
@@ -3275,6 +4226,29 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3275
4226
  name: z.ZodOptional<z.ZodString>;
3276
4227
  }, z.core.$strict>>;
3277
4228
  timeoutMs: z.ZodDefault<z.ZodNumber>;
4229
+ }, z.core.$strict>, z.ZodObject<{
4230
+ kind: z.ZodLiteral<"http">;
4231
+ action: z.ZodLiteral<"request">;
4232
+ method: z.ZodDefault<z.ZodEnum<{
4233
+ DELETE: "DELETE";
4234
+ GET: "GET";
4235
+ HEAD: "HEAD";
4236
+ POST: "POST";
4237
+ PUT: "PUT";
4238
+ PATCH: "PATCH";
4239
+ }>>;
4240
+ url: z.ZodString;
4241
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4242
+ content: z.ZodOptional<z.ZodString>;
4243
+ idempotencyKey: z.ZodOptional<z.ZodString>;
4244
+ spend: z.ZodOptional<z.ZodObject<{
4245
+ provider: z.ZodString;
4246
+ account: z.ZodOptional<z.ZodString>;
4247
+ amount: z.ZodNumber;
4248
+ currency: z.ZodString;
4249
+ }, z.core.$strict>>;
4250
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
4251
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3278
4252
  }, z.core.$strict>, z.ZodObject<{
3279
4253
  kind: z.ZodLiteral<"system">;
3280
4254
  action: z.ZodLiteral<"info">;
@@ -3317,6 +4291,62 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3317
4291
  }, z.core.$strict>, z.ZodObject<{
3318
4292
  type: z.ZodLiteral<"page_contains">;
3319
4293
  text: z.ZodString;
4294
+ }, z.core.$strict>, z.ZodObject<{
4295
+ type: z.ZodLiteral<"http_resource_matches">;
4296
+ url: z.ZodString;
4297
+ method: z.ZodDefault<z.ZodEnum<{
4298
+ GET: "GET";
4299
+ HEAD: "HEAD";
4300
+ }>>;
4301
+ path: z.ZodString;
4302
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4303
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4304
+ }, z.core.$strict>, z.ZodObject<{
4305
+ type: z.ZodLiteral<"custom">;
4306
+ verifier: z.ZodString;
4307
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4308
+ }, z.core.$strict>], "type">>>;
4309
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4310
+ type: z.ZodLiteral<"result_equals">;
4311
+ path: z.ZodString;
4312
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4313
+ }, z.core.$strict>, z.ZodObject<{
4314
+ type: z.ZodLiteral<"result_contains">;
4315
+ path: z.ZodString;
4316
+ value: z.ZodString;
4317
+ }, z.core.$strict>, z.ZodObject<{
4318
+ type: z.ZodLiteral<"file_exists">;
4319
+ path: z.ZodString;
4320
+ }, z.core.$strict>, z.ZodObject<{
4321
+ type: z.ZodLiteral<"file_absent">;
4322
+ path: z.ZodString;
4323
+ }, z.core.$strict>, z.ZodObject<{
4324
+ type: z.ZodLiteral<"file_hash">;
4325
+ path: z.ZodString;
4326
+ sha256: z.ZodString;
4327
+ }, z.core.$strict>, z.ZodObject<{
4328
+ type: z.ZodLiteral<"exit_code">;
4329
+ value: z.ZodNumber;
4330
+ }, z.core.$strict>, z.ZodObject<{
4331
+ type: z.ZodLiteral<"url_matches">;
4332
+ pattern: z.ZodString;
4333
+ }, z.core.$strict>, z.ZodObject<{
4334
+ type: z.ZodLiteral<"page_contains">;
4335
+ text: z.ZodString;
4336
+ }, z.core.$strict>, z.ZodObject<{
4337
+ type: z.ZodLiteral<"http_resource_matches">;
4338
+ url: z.ZodString;
4339
+ method: z.ZodDefault<z.ZodEnum<{
4340
+ GET: "GET";
4341
+ HEAD: "HEAD";
4342
+ }>>;
4343
+ path: z.ZodString;
4344
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4345
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4346
+ }, z.core.$strict>, z.ZodObject<{
4347
+ type: z.ZodLiteral<"custom">;
4348
+ verifier: z.ZodString;
4349
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3320
4350
  }, z.core.$strict>], "type">>>;
3321
4351
  identity: z.ZodOptional<z.ZodObject<{
3322
4352
  principal: z.ZodObject<{
@@ -3532,6 +4562,29 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3532
4562
  name: z.ZodOptional<z.ZodString>;
3533
4563
  }, z.core.$strict>>;
3534
4564
  timeoutMs: z.ZodDefault<z.ZodNumber>;
4565
+ }, z.core.$strict>, z.ZodObject<{
4566
+ kind: z.ZodLiteral<"http">;
4567
+ action: z.ZodLiteral<"request">;
4568
+ method: z.ZodDefault<z.ZodEnum<{
4569
+ DELETE: "DELETE";
4570
+ GET: "GET";
4571
+ HEAD: "HEAD";
4572
+ POST: "POST";
4573
+ PUT: "PUT";
4574
+ PATCH: "PATCH";
4575
+ }>>;
4576
+ url: z.ZodString;
4577
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4578
+ content: z.ZodOptional<z.ZodString>;
4579
+ idempotencyKey: z.ZodOptional<z.ZodString>;
4580
+ spend: z.ZodOptional<z.ZodObject<{
4581
+ provider: z.ZodString;
4582
+ account: z.ZodOptional<z.ZodString>;
4583
+ amount: z.ZodNumber;
4584
+ currency: z.ZodString;
4585
+ }, z.core.$strict>>;
4586
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
4587
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3535
4588
  }, z.core.$strict>, z.ZodObject<{
3536
4589
  kind: z.ZodLiteral<"system">;
3537
4590
  action: z.ZodLiteral<"info">;
@@ -3574,6 +4627,62 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3574
4627
  }, z.core.$strict>, z.ZodObject<{
3575
4628
  type: z.ZodLiteral<"page_contains">;
3576
4629
  text: z.ZodString;
4630
+ }, z.core.$strict>, z.ZodObject<{
4631
+ type: z.ZodLiteral<"http_resource_matches">;
4632
+ url: z.ZodString;
4633
+ method: z.ZodDefault<z.ZodEnum<{
4634
+ GET: "GET";
4635
+ HEAD: "HEAD";
4636
+ }>>;
4637
+ path: z.ZodString;
4638
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4639
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4640
+ }, z.core.$strict>, z.ZodObject<{
4641
+ type: z.ZodLiteral<"custom">;
4642
+ verifier: z.ZodString;
4643
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4644
+ }, z.core.$strict>], "type">>>;
4645
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4646
+ type: z.ZodLiteral<"result_equals">;
4647
+ path: z.ZodString;
4648
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4649
+ }, z.core.$strict>, z.ZodObject<{
4650
+ type: z.ZodLiteral<"result_contains">;
4651
+ path: z.ZodString;
4652
+ value: z.ZodString;
4653
+ }, z.core.$strict>, z.ZodObject<{
4654
+ type: z.ZodLiteral<"file_exists">;
4655
+ path: z.ZodString;
4656
+ }, z.core.$strict>, z.ZodObject<{
4657
+ type: z.ZodLiteral<"file_absent">;
4658
+ path: z.ZodString;
4659
+ }, z.core.$strict>, z.ZodObject<{
4660
+ type: z.ZodLiteral<"file_hash">;
4661
+ path: z.ZodString;
4662
+ sha256: z.ZodString;
4663
+ }, z.core.$strict>, z.ZodObject<{
4664
+ type: z.ZodLiteral<"exit_code">;
4665
+ value: z.ZodNumber;
4666
+ }, z.core.$strict>, z.ZodObject<{
4667
+ type: z.ZodLiteral<"url_matches">;
4668
+ pattern: z.ZodString;
4669
+ }, z.core.$strict>, z.ZodObject<{
4670
+ type: z.ZodLiteral<"page_contains">;
4671
+ text: z.ZodString;
4672
+ }, z.core.$strict>, z.ZodObject<{
4673
+ type: z.ZodLiteral<"http_resource_matches">;
4674
+ url: z.ZodString;
4675
+ method: z.ZodDefault<z.ZodEnum<{
4676
+ GET: "GET";
4677
+ HEAD: "HEAD";
4678
+ }>>;
4679
+ path: z.ZodString;
4680
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4681
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4682
+ }, z.core.$strict>, z.ZodObject<{
4683
+ type: z.ZodLiteral<"custom">;
4684
+ verifier: z.ZodString;
4685
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3577
4686
  }, z.core.$strict>], "type">>>;
3578
4687
  identity: z.ZodOptional<z.ZodObject<{
3579
4688
  principal: z.ZodObject<{
@@ -3789,6 +4898,29 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3789
4898
  name: z.ZodOptional<z.ZodString>;
3790
4899
  }, z.core.$strict>>;
3791
4900
  timeoutMs: z.ZodDefault<z.ZodNumber>;
4901
+ }, z.core.$strict>, z.ZodObject<{
4902
+ kind: z.ZodLiteral<"http">;
4903
+ action: z.ZodLiteral<"request">;
4904
+ method: z.ZodDefault<z.ZodEnum<{
4905
+ DELETE: "DELETE";
4906
+ GET: "GET";
4907
+ HEAD: "HEAD";
4908
+ POST: "POST";
4909
+ PUT: "PUT";
4910
+ PATCH: "PATCH";
4911
+ }>>;
4912
+ url: z.ZodString;
4913
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4914
+ content: z.ZodOptional<z.ZodString>;
4915
+ idempotencyKey: z.ZodOptional<z.ZodString>;
4916
+ spend: z.ZodOptional<z.ZodObject<{
4917
+ provider: z.ZodString;
4918
+ account: z.ZodOptional<z.ZodString>;
4919
+ amount: z.ZodNumber;
4920
+ currency: z.ZodString;
4921
+ }, z.core.$strict>>;
4922
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
4923
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
3792
4924
  }, z.core.$strict>, z.ZodObject<{
3793
4925
  kind: z.ZodLiteral<"system">;
3794
4926
  action: z.ZodLiteral<"info">;
@@ -3831,6 +4963,62 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3831
4963
  }, z.core.$strict>, z.ZodObject<{
3832
4964
  type: z.ZodLiteral<"page_contains">;
3833
4965
  text: z.ZodString;
4966
+ }, z.core.$strict>, z.ZodObject<{
4967
+ type: z.ZodLiteral<"http_resource_matches">;
4968
+ url: z.ZodString;
4969
+ method: z.ZodDefault<z.ZodEnum<{
4970
+ GET: "GET";
4971
+ HEAD: "HEAD";
4972
+ }>>;
4973
+ path: z.ZodString;
4974
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4975
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4976
+ }, z.core.$strict>, z.ZodObject<{
4977
+ type: z.ZodLiteral<"custom">;
4978
+ verifier: z.ZodString;
4979
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4980
+ }, z.core.$strict>], "type">>>;
4981
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4982
+ type: z.ZodLiteral<"result_equals">;
4983
+ path: z.ZodString;
4984
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4985
+ }, z.core.$strict>, z.ZodObject<{
4986
+ type: z.ZodLiteral<"result_contains">;
4987
+ path: z.ZodString;
4988
+ value: z.ZodString;
4989
+ }, z.core.$strict>, z.ZodObject<{
4990
+ type: z.ZodLiteral<"file_exists">;
4991
+ path: z.ZodString;
4992
+ }, z.core.$strict>, z.ZodObject<{
4993
+ type: z.ZodLiteral<"file_absent">;
4994
+ path: z.ZodString;
4995
+ }, z.core.$strict>, z.ZodObject<{
4996
+ type: z.ZodLiteral<"file_hash">;
4997
+ path: z.ZodString;
4998
+ sha256: z.ZodString;
4999
+ }, z.core.$strict>, z.ZodObject<{
5000
+ type: z.ZodLiteral<"exit_code">;
5001
+ value: z.ZodNumber;
5002
+ }, z.core.$strict>, z.ZodObject<{
5003
+ type: z.ZodLiteral<"url_matches">;
5004
+ pattern: z.ZodString;
5005
+ }, z.core.$strict>, z.ZodObject<{
5006
+ type: z.ZodLiteral<"page_contains">;
5007
+ text: z.ZodString;
5008
+ }, z.core.$strict>, z.ZodObject<{
5009
+ type: z.ZodLiteral<"http_resource_matches">;
5010
+ url: z.ZodString;
5011
+ method: z.ZodDefault<z.ZodEnum<{
5012
+ GET: "GET";
5013
+ HEAD: "HEAD";
5014
+ }>>;
5015
+ path: z.ZodString;
5016
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5017
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5018
+ }, z.core.$strict>, z.ZodObject<{
5019
+ type: z.ZodLiteral<"custom">;
5020
+ verifier: z.ZodString;
5021
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3834
5022
  }, z.core.$strict>], "type">>>;
3835
5023
  identity: z.ZodOptional<z.ZodObject<{
3836
5024
  principal: z.ZodObject<{
@@ -3887,6 +5075,20 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3887
5075
  }, z.core.$strict>, z.ZodObject<{
3888
5076
  type: z.ZodLiteral<"page_contains">;
3889
5077
  text: z.ZodString;
5078
+ }, z.core.$strict>, z.ZodObject<{
5079
+ type: z.ZodLiteral<"http_resource_matches">;
5080
+ url: z.ZodString;
5081
+ method: z.ZodDefault<z.ZodEnum<{
5082
+ GET: "GET";
5083
+ HEAD: "HEAD";
5084
+ }>>;
5085
+ path: z.ZodString;
5086
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5087
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5088
+ }, z.core.$strict>, z.ZodObject<{
5089
+ type: z.ZodLiteral<"custom">;
5090
+ verifier: z.ZodString;
5091
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
3890
5092
  }, z.core.$strict>], "type">>;
3891
5093
  }, z.core.$strict>, z.ZodObject<{
3892
5094
  id: z.ZodString;
@@ -4080,6 +5282,29 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4080
5282
  name: z.ZodOptional<z.ZodString>;
4081
5283
  }, z.core.$strict>>;
4082
5284
  timeoutMs: z.ZodDefault<z.ZodNumber>;
5285
+ }, z.core.$strict>, z.ZodObject<{
5286
+ kind: z.ZodLiteral<"http">;
5287
+ action: z.ZodLiteral<"request">;
5288
+ method: z.ZodDefault<z.ZodEnum<{
5289
+ DELETE: "DELETE";
5290
+ GET: "GET";
5291
+ HEAD: "HEAD";
5292
+ POST: "POST";
5293
+ PUT: "PUT";
5294
+ PATCH: "PATCH";
5295
+ }>>;
5296
+ url: z.ZodString;
5297
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5298
+ content: z.ZodOptional<z.ZodString>;
5299
+ idempotencyKey: z.ZodOptional<z.ZodString>;
5300
+ spend: z.ZodOptional<z.ZodObject<{
5301
+ provider: z.ZodString;
5302
+ account: z.ZodOptional<z.ZodString>;
5303
+ amount: z.ZodNumber;
5304
+ currency: z.ZodString;
5305
+ }, z.core.$strict>>;
5306
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
5307
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4083
5308
  }, z.core.$strict>, z.ZodObject<{
4084
5309
  kind: z.ZodLiteral<"system">;
4085
5310
  action: z.ZodLiteral<"info">;
@@ -4122,6 +5347,62 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4122
5347
  }, z.core.$strict>, z.ZodObject<{
4123
5348
  type: z.ZodLiteral<"page_contains">;
4124
5349
  text: z.ZodString;
5350
+ }, z.core.$strict>, z.ZodObject<{
5351
+ type: z.ZodLiteral<"http_resource_matches">;
5352
+ url: z.ZodString;
5353
+ method: z.ZodDefault<z.ZodEnum<{
5354
+ GET: "GET";
5355
+ HEAD: "HEAD";
5356
+ }>>;
5357
+ path: z.ZodString;
5358
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5359
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5360
+ }, z.core.$strict>, z.ZodObject<{
5361
+ type: z.ZodLiteral<"custom">;
5362
+ verifier: z.ZodString;
5363
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5364
+ }, z.core.$strict>], "type">>>;
5365
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5366
+ type: z.ZodLiteral<"result_equals">;
5367
+ path: z.ZodString;
5368
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5369
+ }, z.core.$strict>, z.ZodObject<{
5370
+ type: z.ZodLiteral<"result_contains">;
5371
+ path: z.ZodString;
5372
+ value: z.ZodString;
5373
+ }, z.core.$strict>, z.ZodObject<{
5374
+ type: z.ZodLiteral<"file_exists">;
5375
+ path: z.ZodString;
5376
+ }, z.core.$strict>, z.ZodObject<{
5377
+ type: z.ZodLiteral<"file_absent">;
5378
+ path: z.ZodString;
5379
+ }, z.core.$strict>, z.ZodObject<{
5380
+ type: z.ZodLiteral<"file_hash">;
5381
+ path: z.ZodString;
5382
+ sha256: z.ZodString;
5383
+ }, z.core.$strict>, z.ZodObject<{
5384
+ type: z.ZodLiteral<"exit_code">;
5385
+ value: z.ZodNumber;
5386
+ }, z.core.$strict>, z.ZodObject<{
5387
+ type: z.ZodLiteral<"url_matches">;
5388
+ pattern: z.ZodString;
5389
+ }, z.core.$strict>, z.ZodObject<{
5390
+ type: z.ZodLiteral<"page_contains">;
5391
+ text: z.ZodString;
5392
+ }, z.core.$strict>, z.ZodObject<{
5393
+ type: z.ZodLiteral<"http_resource_matches">;
5394
+ url: z.ZodString;
5395
+ method: z.ZodDefault<z.ZodEnum<{
5396
+ GET: "GET";
5397
+ HEAD: "HEAD";
5398
+ }>>;
5399
+ path: z.ZodString;
5400
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5401
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5402
+ }, z.core.$strict>, z.ZodObject<{
5403
+ type: z.ZodLiteral<"custom">;
5404
+ verifier: z.ZodString;
5405
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4125
5406
  }, z.core.$strict>], "type">>>;
4126
5407
  identity: z.ZodOptional<z.ZodObject<{
4127
5408
  principal: z.ZodObject<{
@@ -4190,6 +5471,20 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4190
5471
  }, z.core.$strict>, z.ZodObject<{
4191
5472
  type: z.ZodLiteral<"page_contains">;
4192
5473
  text: z.ZodString;
5474
+ }, z.core.$strict>, z.ZodObject<{
5475
+ type: z.ZodLiteral<"http_resource_matches">;
5476
+ url: z.ZodString;
5477
+ method: z.ZodDefault<z.ZodEnum<{
5478
+ GET: "GET";
5479
+ HEAD: "HEAD";
5480
+ }>>;
5481
+ path: z.ZodString;
5482
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5483
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5484
+ }, z.core.$strict>, z.ZodObject<{
5485
+ type: z.ZodLiteral<"custom">;
5486
+ verifier: z.ZodString;
5487
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4193
5488
  }, z.core.$strict>], "type">>>;
4194
5489
  }, z.core.$strict>], "type">;
4195
5490
  export declare const WorkflowInputSchema: z.ZodObject<{
@@ -4390,6 +5685,29 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4390
5685
  name: z.ZodOptional<z.ZodString>;
4391
5686
  }, z.core.$strict>>;
4392
5687
  timeoutMs: z.ZodDefault<z.ZodNumber>;
5688
+ }, z.core.$strict>, z.ZodObject<{
5689
+ kind: z.ZodLiteral<"http">;
5690
+ action: z.ZodLiteral<"request">;
5691
+ method: z.ZodDefault<z.ZodEnum<{
5692
+ DELETE: "DELETE";
5693
+ GET: "GET";
5694
+ HEAD: "HEAD";
5695
+ POST: "POST";
5696
+ PUT: "PUT";
5697
+ PATCH: "PATCH";
5698
+ }>>;
5699
+ url: z.ZodString;
5700
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5701
+ content: z.ZodOptional<z.ZodString>;
5702
+ idempotencyKey: z.ZodOptional<z.ZodString>;
5703
+ spend: z.ZodOptional<z.ZodObject<{
5704
+ provider: z.ZodString;
5705
+ account: z.ZodOptional<z.ZodString>;
5706
+ amount: z.ZodNumber;
5707
+ currency: z.ZodString;
5708
+ }, z.core.$strict>>;
5709
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
5710
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4393
5711
  }, z.core.$strict>, z.ZodObject<{
4394
5712
  kind: z.ZodLiteral<"system">;
4395
5713
  action: z.ZodLiteral<"info">;
@@ -4432,6 +5750,62 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4432
5750
  }, z.core.$strict>, z.ZodObject<{
4433
5751
  type: z.ZodLiteral<"page_contains">;
4434
5752
  text: z.ZodString;
5753
+ }, z.core.$strict>, z.ZodObject<{
5754
+ type: z.ZodLiteral<"http_resource_matches">;
5755
+ url: z.ZodString;
5756
+ method: z.ZodDefault<z.ZodEnum<{
5757
+ GET: "GET";
5758
+ HEAD: "HEAD";
5759
+ }>>;
5760
+ path: z.ZodString;
5761
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5762
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5763
+ }, z.core.$strict>, z.ZodObject<{
5764
+ type: z.ZodLiteral<"custom">;
5765
+ verifier: z.ZodString;
5766
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5767
+ }, z.core.$strict>], "type">>>;
5768
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5769
+ type: z.ZodLiteral<"result_equals">;
5770
+ path: z.ZodString;
5771
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5772
+ }, z.core.$strict>, z.ZodObject<{
5773
+ type: z.ZodLiteral<"result_contains">;
5774
+ path: z.ZodString;
5775
+ value: z.ZodString;
5776
+ }, z.core.$strict>, z.ZodObject<{
5777
+ type: z.ZodLiteral<"file_exists">;
5778
+ path: z.ZodString;
5779
+ }, z.core.$strict>, z.ZodObject<{
5780
+ type: z.ZodLiteral<"file_absent">;
5781
+ path: z.ZodString;
5782
+ }, z.core.$strict>, z.ZodObject<{
5783
+ type: z.ZodLiteral<"file_hash">;
5784
+ path: z.ZodString;
5785
+ sha256: z.ZodString;
5786
+ }, z.core.$strict>, z.ZodObject<{
5787
+ type: z.ZodLiteral<"exit_code">;
5788
+ value: z.ZodNumber;
5789
+ }, z.core.$strict>, z.ZodObject<{
5790
+ type: z.ZodLiteral<"url_matches">;
5791
+ pattern: z.ZodString;
5792
+ }, z.core.$strict>, z.ZodObject<{
5793
+ type: z.ZodLiteral<"page_contains">;
5794
+ text: z.ZodString;
5795
+ }, z.core.$strict>, z.ZodObject<{
5796
+ type: z.ZodLiteral<"http_resource_matches">;
5797
+ url: z.ZodString;
5798
+ method: z.ZodDefault<z.ZodEnum<{
5799
+ GET: "GET";
5800
+ HEAD: "HEAD";
5801
+ }>>;
5802
+ path: z.ZodString;
5803
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5804
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5805
+ }, z.core.$strict>, z.ZodObject<{
5806
+ type: z.ZodLiteral<"custom">;
5807
+ verifier: z.ZodString;
5808
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4435
5809
  }, z.core.$strict>], "type">>>;
4436
5810
  identity: z.ZodOptional<z.ZodObject<{
4437
5811
  principal: z.ZodObject<{
@@ -4497,6 +5871,20 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4497
5871
  }, z.core.$strict>, z.ZodObject<{
4498
5872
  type: z.ZodLiteral<"page_contains">;
4499
5873
  text: z.ZodString;
5874
+ }, z.core.$strict>, z.ZodObject<{
5875
+ type: z.ZodLiteral<"http_resource_matches">;
5876
+ url: z.ZodString;
5877
+ method: z.ZodDefault<z.ZodEnum<{
5878
+ GET: "GET";
5879
+ HEAD: "HEAD";
5880
+ }>>;
5881
+ path: z.ZodString;
5882
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5883
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5884
+ }, z.core.$strict>, z.ZodObject<{
5885
+ type: z.ZodLiteral<"custom">;
5886
+ verifier: z.ZodString;
5887
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4500
5888
  }, z.core.$strict>], "type">;
4501
5889
  whenTrue: z.ZodDefault<z.ZodArray<z.ZodObject<{
4502
5890
  goal: z.ZodString;
@@ -4681,6 +6069,29 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4681
6069
  name: z.ZodOptional<z.ZodString>;
4682
6070
  }, z.core.$strict>>;
4683
6071
  timeoutMs: z.ZodDefault<z.ZodNumber>;
6072
+ }, z.core.$strict>, z.ZodObject<{
6073
+ kind: z.ZodLiteral<"http">;
6074
+ action: z.ZodLiteral<"request">;
6075
+ method: z.ZodDefault<z.ZodEnum<{
6076
+ DELETE: "DELETE";
6077
+ GET: "GET";
6078
+ HEAD: "HEAD";
6079
+ POST: "POST";
6080
+ PUT: "PUT";
6081
+ PATCH: "PATCH";
6082
+ }>>;
6083
+ url: z.ZodString;
6084
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6085
+ content: z.ZodOptional<z.ZodString>;
6086
+ idempotencyKey: z.ZodOptional<z.ZodString>;
6087
+ spend: z.ZodOptional<z.ZodObject<{
6088
+ provider: z.ZodString;
6089
+ account: z.ZodOptional<z.ZodString>;
6090
+ amount: z.ZodNumber;
6091
+ currency: z.ZodString;
6092
+ }, z.core.$strict>>;
6093
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
6094
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
4684
6095
  }, z.core.$strict>, z.ZodObject<{
4685
6096
  kind: z.ZodLiteral<"system">;
4686
6097
  action: z.ZodLiteral<"info">;
@@ -4723,6 +6134,62 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4723
6134
  }, z.core.$strict>, z.ZodObject<{
4724
6135
  type: z.ZodLiteral<"page_contains">;
4725
6136
  text: z.ZodString;
6137
+ }, z.core.$strict>, z.ZodObject<{
6138
+ type: z.ZodLiteral<"http_resource_matches">;
6139
+ url: z.ZodString;
6140
+ method: z.ZodDefault<z.ZodEnum<{
6141
+ GET: "GET";
6142
+ HEAD: "HEAD";
6143
+ }>>;
6144
+ path: z.ZodString;
6145
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6146
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6147
+ }, z.core.$strict>, z.ZodObject<{
6148
+ type: z.ZodLiteral<"custom">;
6149
+ verifier: z.ZodString;
6150
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6151
+ }, z.core.$strict>], "type">>>;
6152
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6153
+ type: z.ZodLiteral<"result_equals">;
6154
+ path: z.ZodString;
6155
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6156
+ }, z.core.$strict>, z.ZodObject<{
6157
+ type: z.ZodLiteral<"result_contains">;
6158
+ path: z.ZodString;
6159
+ value: z.ZodString;
6160
+ }, z.core.$strict>, z.ZodObject<{
6161
+ type: z.ZodLiteral<"file_exists">;
6162
+ path: z.ZodString;
6163
+ }, z.core.$strict>, z.ZodObject<{
6164
+ type: z.ZodLiteral<"file_absent">;
6165
+ path: z.ZodString;
6166
+ }, z.core.$strict>, z.ZodObject<{
6167
+ type: z.ZodLiteral<"file_hash">;
6168
+ path: z.ZodString;
6169
+ sha256: z.ZodString;
6170
+ }, z.core.$strict>, z.ZodObject<{
6171
+ type: z.ZodLiteral<"exit_code">;
6172
+ value: z.ZodNumber;
6173
+ }, z.core.$strict>, z.ZodObject<{
6174
+ type: z.ZodLiteral<"url_matches">;
6175
+ pattern: z.ZodString;
6176
+ }, z.core.$strict>, z.ZodObject<{
6177
+ type: z.ZodLiteral<"page_contains">;
6178
+ text: z.ZodString;
6179
+ }, z.core.$strict>, z.ZodObject<{
6180
+ type: z.ZodLiteral<"http_resource_matches">;
6181
+ url: z.ZodString;
6182
+ method: z.ZodDefault<z.ZodEnum<{
6183
+ GET: "GET";
6184
+ HEAD: "HEAD";
6185
+ }>>;
6186
+ path: z.ZodString;
6187
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6188
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6189
+ }, z.core.$strict>, z.ZodObject<{
6190
+ type: z.ZodLiteral<"custom">;
6191
+ verifier: z.ZodString;
6192
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4726
6193
  }, z.core.$strict>], "type">>>;
4727
6194
  identity: z.ZodOptional<z.ZodObject<{
4728
6195
  principal: z.ZodObject<{
@@ -4928,28 +6395,93 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4928
6395
  PAGEDOWN: "PAGEDOWN";
4929
6396
  DELETE: "DELETE";
4930
6397
  }>>;
4931
- deltaY: z.ZodOptional<z.ZodNumber>;
4932
- target: z.ZodOptional<z.ZodObject<{
4933
- role: z.ZodOptional<z.ZodString>;
4934
- name: z.ZodOptional<z.ZodString>;
4935
- }, z.core.$strict>>;
6398
+ deltaY: z.ZodOptional<z.ZodNumber>;
6399
+ target: z.ZodOptional<z.ZodObject<{
6400
+ role: z.ZodOptional<z.ZodString>;
6401
+ name: z.ZodOptional<z.ZodString>;
6402
+ }, z.core.$strict>>;
6403
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6404
+ }, z.core.$strict>, z.ZodObject<{
6405
+ kind: z.ZodLiteral<"http">;
6406
+ action: z.ZodLiteral<"request">;
6407
+ method: z.ZodDefault<z.ZodEnum<{
6408
+ DELETE: "DELETE";
6409
+ GET: "GET";
6410
+ HEAD: "HEAD";
6411
+ POST: "POST";
6412
+ PUT: "PUT";
6413
+ PATCH: "PATCH";
6414
+ }>>;
6415
+ url: z.ZodString;
6416
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6417
+ content: z.ZodOptional<z.ZodString>;
6418
+ idempotencyKey: z.ZodOptional<z.ZodString>;
6419
+ spend: z.ZodOptional<z.ZodObject<{
6420
+ provider: z.ZodString;
6421
+ account: z.ZodOptional<z.ZodString>;
6422
+ amount: z.ZodNumber;
6423
+ currency: z.ZodString;
6424
+ }, z.core.$strict>>;
6425
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
6426
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6427
+ }, z.core.$strict>, z.ZodObject<{
6428
+ kind: z.ZodLiteral<"system">;
6429
+ action: z.ZodLiteral<"info">;
6430
+ }, z.core.$strict>], "kind">;
6431
+ constraints: z.ZodDefault<z.ZodArray<z.ZodString>>;
6432
+ forbiddenEffects: z.ZodDefault<z.ZodArray<z.ZodEnum<{
6433
+ read: "read";
6434
+ mutate: "mutate";
6435
+ destructive: "destructive";
6436
+ }>>>;
6437
+ budget: z.ZodDefault<z.ZodObject<{
6438
+ maxSteps: z.ZodDefault<z.ZodNumber>;
6439
+ maxDurationMs: z.ZodDefault<z.ZodNumber>;
6440
+ maxRetries: z.ZodDefault<z.ZodNumber>;
6441
+ }, z.core.$strict>>;
6442
+ requiredEvidence: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6443
+ type: z.ZodLiteral<"result_equals">;
6444
+ path: z.ZodString;
6445
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6446
+ }, z.core.$strict>, z.ZodObject<{
6447
+ type: z.ZodLiteral<"result_contains">;
6448
+ path: z.ZodString;
6449
+ value: z.ZodString;
6450
+ }, z.core.$strict>, z.ZodObject<{
6451
+ type: z.ZodLiteral<"file_exists">;
6452
+ path: z.ZodString;
6453
+ }, z.core.$strict>, z.ZodObject<{
6454
+ type: z.ZodLiteral<"file_absent">;
6455
+ path: z.ZodString;
6456
+ }, z.core.$strict>, z.ZodObject<{
6457
+ type: z.ZodLiteral<"file_hash">;
6458
+ path: z.ZodString;
6459
+ sha256: z.ZodString;
6460
+ }, z.core.$strict>, z.ZodObject<{
6461
+ type: z.ZodLiteral<"exit_code">;
6462
+ value: z.ZodNumber;
6463
+ }, z.core.$strict>, z.ZodObject<{
6464
+ type: z.ZodLiteral<"url_matches">;
6465
+ pattern: z.ZodString;
6466
+ }, z.core.$strict>, z.ZodObject<{
6467
+ type: z.ZodLiteral<"page_contains">;
6468
+ text: z.ZodString;
6469
+ }, z.core.$strict>, z.ZodObject<{
6470
+ type: z.ZodLiteral<"http_resource_matches">;
6471
+ url: z.ZodString;
6472
+ method: z.ZodDefault<z.ZodEnum<{
6473
+ GET: "GET";
6474
+ HEAD: "HEAD";
6475
+ }>>;
6476
+ path: z.ZodString;
6477
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4936
6478
  timeoutMs: z.ZodDefault<z.ZodNumber>;
4937
6479
  }, z.core.$strict>, z.ZodObject<{
4938
- kind: z.ZodLiteral<"system">;
4939
- action: z.ZodLiteral<"info">;
4940
- }, z.core.$strict>], "kind">;
4941
- constraints: z.ZodDefault<z.ZodArray<z.ZodString>>;
4942
- forbiddenEffects: z.ZodDefault<z.ZodArray<z.ZodEnum<{
4943
- read: "read";
4944
- mutate: "mutate";
4945
- destructive: "destructive";
4946
- }>>>;
4947
- budget: z.ZodDefault<z.ZodObject<{
4948
- maxSteps: z.ZodDefault<z.ZodNumber>;
4949
- maxDurationMs: z.ZodDefault<z.ZodNumber>;
4950
- maxRetries: z.ZodDefault<z.ZodNumber>;
4951
- }, z.core.$strict>>;
4952
- requiredEvidence: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6480
+ type: z.ZodLiteral<"custom">;
6481
+ verifier: z.ZodString;
6482
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6483
+ }, z.core.$strict>], "type">>>;
6484
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4953
6485
  type: z.ZodLiteral<"result_equals">;
4954
6486
  path: z.ZodString;
4955
6487
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
@@ -4976,6 +6508,20 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
4976
6508
  }, z.core.$strict>, z.ZodObject<{
4977
6509
  type: z.ZodLiteral<"page_contains">;
4978
6510
  text: z.ZodString;
6511
+ }, z.core.$strict>, z.ZodObject<{
6512
+ type: z.ZodLiteral<"http_resource_matches">;
6513
+ url: z.ZodString;
6514
+ method: z.ZodDefault<z.ZodEnum<{
6515
+ GET: "GET";
6516
+ HEAD: "HEAD";
6517
+ }>>;
6518
+ path: z.ZodString;
6519
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6520
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6521
+ }, z.core.$strict>, z.ZodObject<{
6522
+ type: z.ZodLiteral<"custom">;
6523
+ verifier: z.ZodString;
6524
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4979
6525
  }, z.core.$strict>], "type">>>;
4980
6526
  identity: z.ZodOptional<z.ZodObject<{
4981
6527
  principal: z.ZodObject<{
@@ -5191,6 +6737,29 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5191
6737
  name: z.ZodOptional<z.ZodString>;
5192
6738
  }, z.core.$strict>>;
5193
6739
  timeoutMs: z.ZodDefault<z.ZodNumber>;
6740
+ }, z.core.$strict>, z.ZodObject<{
6741
+ kind: z.ZodLiteral<"http">;
6742
+ action: z.ZodLiteral<"request">;
6743
+ method: z.ZodDefault<z.ZodEnum<{
6744
+ DELETE: "DELETE";
6745
+ GET: "GET";
6746
+ HEAD: "HEAD";
6747
+ POST: "POST";
6748
+ PUT: "PUT";
6749
+ PATCH: "PATCH";
6750
+ }>>;
6751
+ url: z.ZodString;
6752
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6753
+ content: z.ZodOptional<z.ZodString>;
6754
+ idempotencyKey: z.ZodOptional<z.ZodString>;
6755
+ spend: z.ZodOptional<z.ZodObject<{
6756
+ provider: z.ZodString;
6757
+ account: z.ZodOptional<z.ZodString>;
6758
+ amount: z.ZodNumber;
6759
+ currency: z.ZodString;
6760
+ }, z.core.$strict>>;
6761
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
6762
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5194
6763
  }, z.core.$strict>, z.ZodObject<{
5195
6764
  kind: z.ZodLiteral<"system">;
5196
6765
  action: z.ZodLiteral<"info">;
@@ -5233,6 +6802,62 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5233
6802
  }, z.core.$strict>, z.ZodObject<{
5234
6803
  type: z.ZodLiteral<"page_contains">;
5235
6804
  text: z.ZodString;
6805
+ }, z.core.$strict>, z.ZodObject<{
6806
+ type: z.ZodLiteral<"http_resource_matches">;
6807
+ url: z.ZodString;
6808
+ method: z.ZodDefault<z.ZodEnum<{
6809
+ GET: "GET";
6810
+ HEAD: "HEAD";
6811
+ }>>;
6812
+ path: z.ZodString;
6813
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6814
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6815
+ }, z.core.$strict>, z.ZodObject<{
6816
+ type: z.ZodLiteral<"custom">;
6817
+ verifier: z.ZodString;
6818
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6819
+ }, z.core.$strict>], "type">>>;
6820
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6821
+ type: z.ZodLiteral<"result_equals">;
6822
+ path: z.ZodString;
6823
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6824
+ }, z.core.$strict>, z.ZodObject<{
6825
+ type: z.ZodLiteral<"result_contains">;
6826
+ path: z.ZodString;
6827
+ value: z.ZodString;
6828
+ }, z.core.$strict>, z.ZodObject<{
6829
+ type: z.ZodLiteral<"file_exists">;
6830
+ path: z.ZodString;
6831
+ }, z.core.$strict>, z.ZodObject<{
6832
+ type: z.ZodLiteral<"file_absent">;
6833
+ path: z.ZodString;
6834
+ }, z.core.$strict>, z.ZodObject<{
6835
+ type: z.ZodLiteral<"file_hash">;
6836
+ path: z.ZodString;
6837
+ sha256: z.ZodString;
6838
+ }, z.core.$strict>, z.ZodObject<{
6839
+ type: z.ZodLiteral<"exit_code">;
6840
+ value: z.ZodNumber;
6841
+ }, z.core.$strict>, z.ZodObject<{
6842
+ type: z.ZodLiteral<"url_matches">;
6843
+ pattern: z.ZodString;
6844
+ }, z.core.$strict>, z.ZodObject<{
6845
+ type: z.ZodLiteral<"page_contains">;
6846
+ text: z.ZodString;
6847
+ }, z.core.$strict>, z.ZodObject<{
6848
+ type: z.ZodLiteral<"http_resource_matches">;
6849
+ url: z.ZodString;
6850
+ method: z.ZodDefault<z.ZodEnum<{
6851
+ GET: "GET";
6852
+ HEAD: "HEAD";
6853
+ }>>;
6854
+ path: z.ZodString;
6855
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6856
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6857
+ }, z.core.$strict>, z.ZodObject<{
6858
+ type: z.ZodLiteral<"custom">;
6859
+ verifier: z.ZodString;
6860
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5236
6861
  }, z.core.$strict>], "type">>>;
5237
6862
  identity: z.ZodOptional<z.ZodObject<{
5238
6863
  principal: z.ZodObject<{
@@ -5448,6 +7073,29 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5448
7073
  name: z.ZodOptional<z.ZodString>;
5449
7074
  }, z.core.$strict>>;
5450
7075
  timeoutMs: z.ZodDefault<z.ZodNumber>;
7076
+ }, z.core.$strict>, z.ZodObject<{
7077
+ kind: z.ZodLiteral<"http">;
7078
+ action: z.ZodLiteral<"request">;
7079
+ method: z.ZodDefault<z.ZodEnum<{
7080
+ DELETE: "DELETE";
7081
+ GET: "GET";
7082
+ HEAD: "HEAD";
7083
+ POST: "POST";
7084
+ PUT: "PUT";
7085
+ PATCH: "PATCH";
7086
+ }>>;
7087
+ url: z.ZodString;
7088
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7089
+ content: z.ZodOptional<z.ZodString>;
7090
+ idempotencyKey: z.ZodOptional<z.ZodString>;
7091
+ spend: z.ZodOptional<z.ZodObject<{
7092
+ provider: z.ZodString;
7093
+ account: z.ZodOptional<z.ZodString>;
7094
+ amount: z.ZodNumber;
7095
+ currency: z.ZodString;
7096
+ }, z.core.$strict>>;
7097
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
7098
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5451
7099
  }, z.core.$strict>, z.ZodObject<{
5452
7100
  kind: z.ZodLiteral<"system">;
5453
7101
  action: z.ZodLiteral<"info">;
@@ -5490,6 +7138,62 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5490
7138
  }, z.core.$strict>, z.ZodObject<{
5491
7139
  type: z.ZodLiteral<"page_contains">;
5492
7140
  text: z.ZodString;
7141
+ }, z.core.$strict>, z.ZodObject<{
7142
+ type: z.ZodLiteral<"http_resource_matches">;
7143
+ url: z.ZodString;
7144
+ method: z.ZodDefault<z.ZodEnum<{
7145
+ GET: "GET";
7146
+ HEAD: "HEAD";
7147
+ }>>;
7148
+ path: z.ZodString;
7149
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7150
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7151
+ }, z.core.$strict>, z.ZodObject<{
7152
+ type: z.ZodLiteral<"custom">;
7153
+ verifier: z.ZodString;
7154
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7155
+ }, z.core.$strict>], "type">>>;
7156
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7157
+ type: z.ZodLiteral<"result_equals">;
7158
+ path: z.ZodString;
7159
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7160
+ }, z.core.$strict>, z.ZodObject<{
7161
+ type: z.ZodLiteral<"result_contains">;
7162
+ path: z.ZodString;
7163
+ value: z.ZodString;
7164
+ }, z.core.$strict>, z.ZodObject<{
7165
+ type: z.ZodLiteral<"file_exists">;
7166
+ path: z.ZodString;
7167
+ }, z.core.$strict>, z.ZodObject<{
7168
+ type: z.ZodLiteral<"file_absent">;
7169
+ path: z.ZodString;
7170
+ }, z.core.$strict>, z.ZodObject<{
7171
+ type: z.ZodLiteral<"file_hash">;
7172
+ path: z.ZodString;
7173
+ sha256: z.ZodString;
7174
+ }, z.core.$strict>, z.ZodObject<{
7175
+ type: z.ZodLiteral<"exit_code">;
7176
+ value: z.ZodNumber;
7177
+ }, z.core.$strict>, z.ZodObject<{
7178
+ type: z.ZodLiteral<"url_matches">;
7179
+ pattern: z.ZodString;
7180
+ }, z.core.$strict>, z.ZodObject<{
7181
+ type: z.ZodLiteral<"page_contains">;
7182
+ text: z.ZodString;
7183
+ }, z.core.$strict>, z.ZodObject<{
7184
+ type: z.ZodLiteral<"http_resource_matches">;
7185
+ url: z.ZodString;
7186
+ method: z.ZodDefault<z.ZodEnum<{
7187
+ GET: "GET";
7188
+ HEAD: "HEAD";
7189
+ }>>;
7190
+ path: z.ZodString;
7191
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7192
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7193
+ }, z.core.$strict>, z.ZodObject<{
7194
+ type: z.ZodLiteral<"custom">;
7195
+ verifier: z.ZodString;
7196
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5493
7197
  }, z.core.$strict>], "type">>>;
5494
7198
  identity: z.ZodOptional<z.ZodObject<{
5495
7199
  principal: z.ZodObject<{
@@ -5546,6 +7250,20 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5546
7250
  }, z.core.$strict>, z.ZodObject<{
5547
7251
  type: z.ZodLiteral<"page_contains">;
5548
7252
  text: z.ZodString;
7253
+ }, z.core.$strict>, z.ZodObject<{
7254
+ type: z.ZodLiteral<"http_resource_matches">;
7255
+ url: z.ZodString;
7256
+ method: z.ZodDefault<z.ZodEnum<{
7257
+ GET: "GET";
7258
+ HEAD: "HEAD";
7259
+ }>>;
7260
+ path: z.ZodString;
7261
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7262
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7263
+ }, z.core.$strict>, z.ZodObject<{
7264
+ type: z.ZodLiteral<"custom">;
7265
+ verifier: z.ZodString;
7266
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5549
7267
  }, z.core.$strict>], "type">>;
5550
7268
  }, z.core.$strict>, z.ZodObject<{
5551
7269
  id: z.ZodString;
@@ -5739,6 +7457,29 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5739
7457
  name: z.ZodOptional<z.ZodString>;
5740
7458
  }, z.core.$strict>>;
5741
7459
  timeoutMs: z.ZodDefault<z.ZodNumber>;
7460
+ }, z.core.$strict>, z.ZodObject<{
7461
+ kind: z.ZodLiteral<"http">;
7462
+ action: z.ZodLiteral<"request">;
7463
+ method: z.ZodDefault<z.ZodEnum<{
7464
+ DELETE: "DELETE";
7465
+ GET: "GET";
7466
+ HEAD: "HEAD";
7467
+ POST: "POST";
7468
+ PUT: "PUT";
7469
+ PATCH: "PATCH";
7470
+ }>>;
7471
+ url: z.ZodString;
7472
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7473
+ content: z.ZodOptional<z.ZodString>;
7474
+ idempotencyKey: z.ZodOptional<z.ZodString>;
7475
+ spend: z.ZodOptional<z.ZodObject<{
7476
+ provider: z.ZodString;
7477
+ account: z.ZodOptional<z.ZodString>;
7478
+ amount: z.ZodNumber;
7479
+ currency: z.ZodString;
7480
+ }, z.core.$strict>>;
7481
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
7482
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
5742
7483
  }, z.core.$strict>, z.ZodObject<{
5743
7484
  kind: z.ZodLiteral<"system">;
5744
7485
  action: z.ZodLiteral<"info">;
@@ -5781,6 +7522,62 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5781
7522
  }, z.core.$strict>, z.ZodObject<{
5782
7523
  type: z.ZodLiteral<"page_contains">;
5783
7524
  text: z.ZodString;
7525
+ }, z.core.$strict>, z.ZodObject<{
7526
+ type: z.ZodLiteral<"http_resource_matches">;
7527
+ url: z.ZodString;
7528
+ method: z.ZodDefault<z.ZodEnum<{
7529
+ GET: "GET";
7530
+ HEAD: "HEAD";
7531
+ }>>;
7532
+ path: z.ZodString;
7533
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7534
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7535
+ }, z.core.$strict>, z.ZodObject<{
7536
+ type: z.ZodLiteral<"custom">;
7537
+ verifier: z.ZodString;
7538
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7539
+ }, z.core.$strict>], "type">>>;
7540
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7541
+ type: z.ZodLiteral<"result_equals">;
7542
+ path: z.ZodString;
7543
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7544
+ }, z.core.$strict>, z.ZodObject<{
7545
+ type: z.ZodLiteral<"result_contains">;
7546
+ path: z.ZodString;
7547
+ value: z.ZodString;
7548
+ }, z.core.$strict>, z.ZodObject<{
7549
+ type: z.ZodLiteral<"file_exists">;
7550
+ path: z.ZodString;
7551
+ }, z.core.$strict>, z.ZodObject<{
7552
+ type: z.ZodLiteral<"file_absent">;
7553
+ path: z.ZodString;
7554
+ }, z.core.$strict>, z.ZodObject<{
7555
+ type: z.ZodLiteral<"file_hash">;
7556
+ path: z.ZodString;
7557
+ sha256: z.ZodString;
7558
+ }, z.core.$strict>, z.ZodObject<{
7559
+ type: z.ZodLiteral<"exit_code">;
7560
+ value: z.ZodNumber;
7561
+ }, z.core.$strict>, z.ZodObject<{
7562
+ type: z.ZodLiteral<"url_matches">;
7563
+ pattern: z.ZodString;
7564
+ }, z.core.$strict>, z.ZodObject<{
7565
+ type: z.ZodLiteral<"page_contains">;
7566
+ text: z.ZodString;
7567
+ }, z.core.$strict>, z.ZodObject<{
7568
+ type: z.ZodLiteral<"http_resource_matches">;
7569
+ url: z.ZodString;
7570
+ method: z.ZodDefault<z.ZodEnum<{
7571
+ GET: "GET";
7572
+ HEAD: "HEAD";
7573
+ }>>;
7574
+ path: z.ZodString;
7575
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7576
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7577
+ }, z.core.$strict>, z.ZodObject<{
7578
+ type: z.ZodLiteral<"custom">;
7579
+ verifier: z.ZodString;
7580
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5784
7581
  }, z.core.$strict>], "type">>>;
5785
7582
  identity: z.ZodOptional<z.ZodObject<{
5786
7583
  principal: z.ZodObject<{
@@ -5849,6 +7646,20 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
5849
7646
  }, z.core.$strict>, z.ZodObject<{
5850
7647
  type: z.ZodLiteral<"page_contains">;
5851
7648
  text: z.ZodString;
7649
+ }, z.core.$strict>, z.ZodObject<{
7650
+ type: z.ZodLiteral<"http_resource_matches">;
7651
+ url: z.ZodString;
7652
+ method: z.ZodDefault<z.ZodEnum<{
7653
+ GET: "GET";
7654
+ HEAD: "HEAD";
7655
+ }>>;
7656
+ path: z.ZodString;
7657
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7658
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7659
+ }, z.core.$strict>, z.ZodObject<{
7660
+ type: z.ZodLiteral<"custom">;
7661
+ verifier: z.ZodString;
7662
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5852
7663
  }, z.core.$strict>], "type">>>;
5853
7664
  }, z.core.$strict>], "type">>;
5854
7665
  budget: z.ZodOptional<z.ZodObject<{
@@ -6302,6 +8113,29 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6302
8113
  name: z.ZodOptional<z.ZodString>;
6303
8114
  }, z.core.$strict>>;
6304
8115
  timeoutMs: z.ZodDefault<z.ZodNumber>;
8116
+ }, z.core.$strict>, z.ZodObject<{
8117
+ kind: z.ZodLiteral<"http">;
8118
+ action: z.ZodLiteral<"request">;
8119
+ method: z.ZodDefault<z.ZodEnum<{
8120
+ DELETE: "DELETE";
8121
+ GET: "GET";
8122
+ HEAD: "HEAD";
8123
+ POST: "POST";
8124
+ PUT: "PUT";
8125
+ PATCH: "PATCH";
8126
+ }>>;
8127
+ url: z.ZodString;
8128
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8129
+ content: z.ZodOptional<z.ZodString>;
8130
+ idempotencyKey: z.ZodOptional<z.ZodString>;
8131
+ spend: z.ZodOptional<z.ZodObject<{
8132
+ provider: z.ZodString;
8133
+ account: z.ZodOptional<z.ZodString>;
8134
+ amount: z.ZodNumber;
8135
+ currency: z.ZodString;
8136
+ }, z.core.$strict>>;
8137
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
8138
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6305
8139
  }, z.core.$strict>, z.ZodObject<{
6306
8140
  kind: z.ZodLiteral<"system">;
6307
8141
  action: z.ZodLiteral<"info">;
@@ -6344,6 +8178,62 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6344
8178
  }, z.core.$strict>, z.ZodObject<{
6345
8179
  type: z.ZodLiteral<"page_contains">;
6346
8180
  text: z.ZodString;
8181
+ }, z.core.$strict>, z.ZodObject<{
8182
+ type: z.ZodLiteral<"http_resource_matches">;
8183
+ url: z.ZodString;
8184
+ method: z.ZodDefault<z.ZodEnum<{
8185
+ GET: "GET";
8186
+ HEAD: "HEAD";
8187
+ }>>;
8188
+ path: z.ZodString;
8189
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8190
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8191
+ }, z.core.$strict>, z.ZodObject<{
8192
+ type: z.ZodLiteral<"custom">;
8193
+ verifier: z.ZodString;
8194
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
8195
+ }, z.core.$strict>], "type">>>;
8196
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8197
+ type: z.ZodLiteral<"result_equals">;
8198
+ path: z.ZodString;
8199
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8200
+ }, z.core.$strict>, z.ZodObject<{
8201
+ type: z.ZodLiteral<"result_contains">;
8202
+ path: z.ZodString;
8203
+ value: z.ZodString;
8204
+ }, z.core.$strict>, z.ZodObject<{
8205
+ type: z.ZodLiteral<"file_exists">;
8206
+ path: z.ZodString;
8207
+ }, z.core.$strict>, z.ZodObject<{
8208
+ type: z.ZodLiteral<"file_absent">;
8209
+ path: z.ZodString;
8210
+ }, z.core.$strict>, z.ZodObject<{
8211
+ type: z.ZodLiteral<"file_hash">;
8212
+ path: z.ZodString;
8213
+ sha256: z.ZodString;
8214
+ }, z.core.$strict>, z.ZodObject<{
8215
+ type: z.ZodLiteral<"exit_code">;
8216
+ value: z.ZodNumber;
8217
+ }, z.core.$strict>, z.ZodObject<{
8218
+ type: z.ZodLiteral<"url_matches">;
8219
+ pattern: z.ZodString;
8220
+ }, z.core.$strict>, z.ZodObject<{
8221
+ type: z.ZodLiteral<"page_contains">;
8222
+ text: z.ZodString;
8223
+ }, z.core.$strict>, z.ZodObject<{
8224
+ type: z.ZodLiteral<"http_resource_matches">;
8225
+ url: z.ZodString;
8226
+ method: z.ZodDefault<z.ZodEnum<{
8227
+ GET: "GET";
8228
+ HEAD: "HEAD";
8229
+ }>>;
8230
+ path: z.ZodString;
8231
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8232
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8233
+ }, z.core.$strict>, z.ZodObject<{
8234
+ type: z.ZodLiteral<"custom">;
8235
+ verifier: z.ZodString;
8236
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6347
8237
  }, z.core.$strict>], "type">>>;
6348
8238
  identity: z.ZodOptional<z.ZodObject<{
6349
8239
  principal: z.ZodObject<{
@@ -6409,6 +8299,20 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6409
8299
  }, z.core.$strict>, z.ZodObject<{
6410
8300
  type: z.ZodLiteral<"page_contains">;
6411
8301
  text: z.ZodString;
8302
+ }, z.core.$strict>, z.ZodObject<{
8303
+ type: z.ZodLiteral<"http_resource_matches">;
8304
+ url: z.ZodString;
8305
+ method: z.ZodDefault<z.ZodEnum<{
8306
+ GET: "GET";
8307
+ HEAD: "HEAD";
8308
+ }>>;
8309
+ path: z.ZodString;
8310
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8311
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8312
+ }, z.core.$strict>, z.ZodObject<{
8313
+ type: z.ZodLiteral<"custom">;
8314
+ verifier: z.ZodString;
8315
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6412
8316
  }, z.core.$strict>], "type">;
6413
8317
  whenTrue: z.ZodDefault<z.ZodArray<z.ZodObject<{
6414
8318
  goal: z.ZodString;
@@ -6593,6 +8497,29 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6593
8497
  name: z.ZodOptional<z.ZodString>;
6594
8498
  }, z.core.$strict>>;
6595
8499
  timeoutMs: z.ZodDefault<z.ZodNumber>;
8500
+ }, z.core.$strict>, z.ZodObject<{
8501
+ kind: z.ZodLiteral<"http">;
8502
+ action: z.ZodLiteral<"request">;
8503
+ method: z.ZodDefault<z.ZodEnum<{
8504
+ DELETE: "DELETE";
8505
+ GET: "GET";
8506
+ HEAD: "HEAD";
8507
+ POST: "POST";
8508
+ PUT: "PUT";
8509
+ PATCH: "PATCH";
8510
+ }>>;
8511
+ url: z.ZodString;
8512
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8513
+ content: z.ZodOptional<z.ZodString>;
8514
+ idempotencyKey: z.ZodOptional<z.ZodString>;
8515
+ spend: z.ZodOptional<z.ZodObject<{
8516
+ provider: z.ZodString;
8517
+ account: z.ZodOptional<z.ZodString>;
8518
+ amount: z.ZodNumber;
8519
+ currency: z.ZodString;
8520
+ }, z.core.$strict>>;
8521
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
8522
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6596
8523
  }, z.core.$strict>, z.ZodObject<{
6597
8524
  kind: z.ZodLiteral<"system">;
6598
8525
  action: z.ZodLiteral<"info">;
@@ -6635,6 +8562,62 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6635
8562
  }, z.core.$strict>, z.ZodObject<{
6636
8563
  type: z.ZodLiteral<"page_contains">;
6637
8564
  text: z.ZodString;
8565
+ }, z.core.$strict>, z.ZodObject<{
8566
+ type: z.ZodLiteral<"http_resource_matches">;
8567
+ url: z.ZodString;
8568
+ method: z.ZodDefault<z.ZodEnum<{
8569
+ GET: "GET";
8570
+ HEAD: "HEAD";
8571
+ }>>;
8572
+ path: z.ZodString;
8573
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8574
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8575
+ }, z.core.$strict>, z.ZodObject<{
8576
+ type: z.ZodLiteral<"custom">;
8577
+ verifier: z.ZodString;
8578
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
8579
+ }, z.core.$strict>], "type">>>;
8580
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8581
+ type: z.ZodLiteral<"result_equals">;
8582
+ path: z.ZodString;
8583
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8584
+ }, z.core.$strict>, z.ZodObject<{
8585
+ type: z.ZodLiteral<"result_contains">;
8586
+ path: z.ZodString;
8587
+ value: z.ZodString;
8588
+ }, z.core.$strict>, z.ZodObject<{
8589
+ type: z.ZodLiteral<"file_exists">;
8590
+ path: z.ZodString;
8591
+ }, z.core.$strict>, z.ZodObject<{
8592
+ type: z.ZodLiteral<"file_absent">;
8593
+ path: z.ZodString;
8594
+ }, z.core.$strict>, z.ZodObject<{
8595
+ type: z.ZodLiteral<"file_hash">;
8596
+ path: z.ZodString;
8597
+ sha256: z.ZodString;
8598
+ }, z.core.$strict>, z.ZodObject<{
8599
+ type: z.ZodLiteral<"exit_code">;
8600
+ value: z.ZodNumber;
8601
+ }, z.core.$strict>, z.ZodObject<{
8602
+ type: z.ZodLiteral<"url_matches">;
8603
+ pattern: z.ZodString;
8604
+ }, z.core.$strict>, z.ZodObject<{
8605
+ type: z.ZodLiteral<"page_contains">;
8606
+ text: z.ZodString;
8607
+ }, z.core.$strict>, z.ZodObject<{
8608
+ type: z.ZodLiteral<"http_resource_matches">;
8609
+ url: z.ZodString;
8610
+ method: z.ZodDefault<z.ZodEnum<{
8611
+ GET: "GET";
8612
+ HEAD: "HEAD";
8613
+ }>>;
8614
+ path: z.ZodString;
8615
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8616
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8617
+ }, z.core.$strict>, z.ZodObject<{
8618
+ type: z.ZodLiteral<"custom">;
8619
+ verifier: z.ZodString;
8620
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6638
8621
  }, z.core.$strict>], "type">>>;
6639
8622
  identity: z.ZodOptional<z.ZodObject<{
6640
8623
  principal: z.ZodObject<{
@@ -6846,6 +8829,29 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6846
8829
  name: z.ZodOptional<z.ZodString>;
6847
8830
  }, z.core.$strict>>;
6848
8831
  timeoutMs: z.ZodDefault<z.ZodNumber>;
8832
+ }, z.core.$strict>, z.ZodObject<{
8833
+ kind: z.ZodLiteral<"http">;
8834
+ action: z.ZodLiteral<"request">;
8835
+ method: z.ZodDefault<z.ZodEnum<{
8836
+ DELETE: "DELETE";
8837
+ GET: "GET";
8838
+ HEAD: "HEAD";
8839
+ POST: "POST";
8840
+ PUT: "PUT";
8841
+ PATCH: "PATCH";
8842
+ }>>;
8843
+ url: z.ZodString;
8844
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8845
+ content: z.ZodOptional<z.ZodString>;
8846
+ idempotencyKey: z.ZodOptional<z.ZodString>;
8847
+ spend: z.ZodOptional<z.ZodObject<{
8848
+ provider: z.ZodString;
8849
+ account: z.ZodOptional<z.ZodString>;
8850
+ amount: z.ZodNumber;
8851
+ currency: z.ZodString;
8852
+ }, z.core.$strict>>;
8853
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
8854
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
6849
8855
  }, z.core.$strict>, z.ZodObject<{
6850
8856
  kind: z.ZodLiteral<"system">;
6851
8857
  action: z.ZodLiteral<"info">;
@@ -6888,6 +8894,62 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
6888
8894
  }, z.core.$strict>, z.ZodObject<{
6889
8895
  type: z.ZodLiteral<"page_contains">;
6890
8896
  text: z.ZodString;
8897
+ }, z.core.$strict>, z.ZodObject<{
8898
+ type: z.ZodLiteral<"http_resource_matches">;
8899
+ url: z.ZodString;
8900
+ method: z.ZodDefault<z.ZodEnum<{
8901
+ GET: "GET";
8902
+ HEAD: "HEAD";
8903
+ }>>;
8904
+ path: z.ZodString;
8905
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8906
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8907
+ }, z.core.$strict>, z.ZodObject<{
8908
+ type: z.ZodLiteral<"custom">;
8909
+ verifier: z.ZodString;
8910
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
8911
+ }, z.core.$strict>], "type">>>;
8912
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8913
+ type: z.ZodLiteral<"result_equals">;
8914
+ path: z.ZodString;
8915
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8916
+ }, z.core.$strict>, z.ZodObject<{
8917
+ type: z.ZodLiteral<"result_contains">;
8918
+ path: z.ZodString;
8919
+ value: z.ZodString;
8920
+ }, z.core.$strict>, z.ZodObject<{
8921
+ type: z.ZodLiteral<"file_exists">;
8922
+ path: z.ZodString;
8923
+ }, z.core.$strict>, z.ZodObject<{
8924
+ type: z.ZodLiteral<"file_absent">;
8925
+ path: z.ZodString;
8926
+ }, z.core.$strict>, z.ZodObject<{
8927
+ type: z.ZodLiteral<"file_hash">;
8928
+ path: z.ZodString;
8929
+ sha256: z.ZodString;
8930
+ }, z.core.$strict>, z.ZodObject<{
8931
+ type: z.ZodLiteral<"exit_code">;
8932
+ value: z.ZodNumber;
8933
+ }, z.core.$strict>, z.ZodObject<{
8934
+ type: z.ZodLiteral<"url_matches">;
8935
+ pattern: z.ZodString;
8936
+ }, z.core.$strict>, z.ZodObject<{
8937
+ type: z.ZodLiteral<"page_contains">;
8938
+ text: z.ZodString;
8939
+ }, z.core.$strict>, z.ZodObject<{
8940
+ type: z.ZodLiteral<"http_resource_matches">;
8941
+ url: z.ZodString;
8942
+ method: z.ZodDefault<z.ZodEnum<{
8943
+ GET: "GET";
8944
+ HEAD: "HEAD";
8945
+ }>>;
8946
+ path: z.ZodString;
8947
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8948
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8949
+ }, z.core.$strict>, z.ZodObject<{
8950
+ type: z.ZodLiteral<"custom">;
8951
+ verifier: z.ZodString;
8952
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6891
8953
  }, z.core.$strict>], "type">>>;
6892
8954
  identity: z.ZodOptional<z.ZodObject<{
6893
8955
  principal: z.ZodObject<{
@@ -7103,6 +9165,29 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7103
9165
  name: z.ZodOptional<z.ZodString>;
7104
9166
  }, z.core.$strict>>;
7105
9167
  timeoutMs: z.ZodDefault<z.ZodNumber>;
9168
+ }, z.core.$strict>, z.ZodObject<{
9169
+ kind: z.ZodLiteral<"http">;
9170
+ action: z.ZodLiteral<"request">;
9171
+ method: z.ZodDefault<z.ZodEnum<{
9172
+ DELETE: "DELETE";
9173
+ GET: "GET";
9174
+ HEAD: "HEAD";
9175
+ POST: "POST";
9176
+ PUT: "PUT";
9177
+ PATCH: "PATCH";
9178
+ }>>;
9179
+ url: z.ZodString;
9180
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9181
+ content: z.ZodOptional<z.ZodString>;
9182
+ idempotencyKey: z.ZodOptional<z.ZodString>;
9183
+ spend: z.ZodOptional<z.ZodObject<{
9184
+ provider: z.ZodString;
9185
+ account: z.ZodOptional<z.ZodString>;
9186
+ amount: z.ZodNumber;
9187
+ currency: z.ZodString;
9188
+ }, z.core.$strict>>;
9189
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
9190
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7106
9191
  }, z.core.$strict>, z.ZodObject<{
7107
9192
  kind: z.ZodLiteral<"system">;
7108
9193
  action: z.ZodLiteral<"info">;
@@ -7145,6 +9230,62 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7145
9230
  }, z.core.$strict>, z.ZodObject<{
7146
9231
  type: z.ZodLiteral<"page_contains">;
7147
9232
  text: z.ZodString;
9233
+ }, z.core.$strict>, z.ZodObject<{
9234
+ type: z.ZodLiteral<"http_resource_matches">;
9235
+ url: z.ZodString;
9236
+ method: z.ZodDefault<z.ZodEnum<{
9237
+ GET: "GET";
9238
+ HEAD: "HEAD";
9239
+ }>>;
9240
+ path: z.ZodString;
9241
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9242
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
9243
+ }, z.core.$strict>, z.ZodObject<{
9244
+ type: z.ZodLiteral<"custom">;
9245
+ verifier: z.ZodString;
9246
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
9247
+ }, z.core.$strict>], "type">>>;
9248
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9249
+ type: z.ZodLiteral<"result_equals">;
9250
+ path: z.ZodString;
9251
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9252
+ }, z.core.$strict>, z.ZodObject<{
9253
+ type: z.ZodLiteral<"result_contains">;
9254
+ path: z.ZodString;
9255
+ value: z.ZodString;
9256
+ }, z.core.$strict>, z.ZodObject<{
9257
+ type: z.ZodLiteral<"file_exists">;
9258
+ path: z.ZodString;
9259
+ }, z.core.$strict>, z.ZodObject<{
9260
+ type: z.ZodLiteral<"file_absent">;
9261
+ path: z.ZodString;
9262
+ }, z.core.$strict>, z.ZodObject<{
9263
+ type: z.ZodLiteral<"file_hash">;
9264
+ path: z.ZodString;
9265
+ sha256: z.ZodString;
9266
+ }, z.core.$strict>, z.ZodObject<{
9267
+ type: z.ZodLiteral<"exit_code">;
9268
+ value: z.ZodNumber;
9269
+ }, z.core.$strict>, z.ZodObject<{
9270
+ type: z.ZodLiteral<"url_matches">;
9271
+ pattern: z.ZodString;
9272
+ }, z.core.$strict>, z.ZodObject<{
9273
+ type: z.ZodLiteral<"page_contains">;
9274
+ text: z.ZodString;
9275
+ }, z.core.$strict>, z.ZodObject<{
9276
+ type: z.ZodLiteral<"http_resource_matches">;
9277
+ url: z.ZodString;
9278
+ method: z.ZodDefault<z.ZodEnum<{
9279
+ GET: "GET";
9280
+ HEAD: "HEAD";
9281
+ }>>;
9282
+ path: z.ZodString;
9283
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9284
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
9285
+ }, z.core.$strict>, z.ZodObject<{
9286
+ type: z.ZodLiteral<"custom">;
9287
+ verifier: z.ZodString;
9288
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7148
9289
  }, z.core.$strict>], "type">>>;
7149
9290
  identity: z.ZodOptional<z.ZodObject<{
7150
9291
  principal: z.ZodObject<{
@@ -7360,6 +9501,29 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7360
9501
  name: z.ZodOptional<z.ZodString>;
7361
9502
  }, z.core.$strict>>;
7362
9503
  timeoutMs: z.ZodDefault<z.ZodNumber>;
9504
+ }, z.core.$strict>, z.ZodObject<{
9505
+ kind: z.ZodLiteral<"http">;
9506
+ action: z.ZodLiteral<"request">;
9507
+ method: z.ZodDefault<z.ZodEnum<{
9508
+ DELETE: "DELETE";
9509
+ GET: "GET";
9510
+ HEAD: "HEAD";
9511
+ POST: "POST";
9512
+ PUT: "PUT";
9513
+ PATCH: "PATCH";
9514
+ }>>;
9515
+ url: z.ZodString;
9516
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9517
+ content: z.ZodOptional<z.ZodString>;
9518
+ idempotencyKey: z.ZodOptional<z.ZodString>;
9519
+ spend: z.ZodOptional<z.ZodObject<{
9520
+ provider: z.ZodString;
9521
+ account: z.ZodOptional<z.ZodString>;
9522
+ amount: z.ZodNumber;
9523
+ currency: z.ZodString;
9524
+ }, z.core.$strict>>;
9525
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
9526
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7363
9527
  }, z.core.$strict>, z.ZodObject<{
7364
9528
  kind: z.ZodLiteral<"system">;
7365
9529
  action: z.ZodLiteral<"info">;
@@ -7402,6 +9566,62 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7402
9566
  }, z.core.$strict>, z.ZodObject<{
7403
9567
  type: z.ZodLiteral<"page_contains">;
7404
9568
  text: z.ZodString;
9569
+ }, z.core.$strict>, z.ZodObject<{
9570
+ type: z.ZodLiteral<"http_resource_matches">;
9571
+ url: z.ZodString;
9572
+ method: z.ZodDefault<z.ZodEnum<{
9573
+ GET: "GET";
9574
+ HEAD: "HEAD";
9575
+ }>>;
9576
+ path: z.ZodString;
9577
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9578
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
9579
+ }, z.core.$strict>, z.ZodObject<{
9580
+ type: z.ZodLiteral<"custom">;
9581
+ verifier: z.ZodString;
9582
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
9583
+ }, z.core.$strict>], "type">>>;
9584
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9585
+ type: z.ZodLiteral<"result_equals">;
9586
+ path: z.ZodString;
9587
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9588
+ }, z.core.$strict>, z.ZodObject<{
9589
+ type: z.ZodLiteral<"result_contains">;
9590
+ path: z.ZodString;
9591
+ value: z.ZodString;
9592
+ }, z.core.$strict>, z.ZodObject<{
9593
+ type: z.ZodLiteral<"file_exists">;
9594
+ path: z.ZodString;
9595
+ }, z.core.$strict>, z.ZodObject<{
9596
+ type: z.ZodLiteral<"file_absent">;
9597
+ path: z.ZodString;
9598
+ }, z.core.$strict>, z.ZodObject<{
9599
+ type: z.ZodLiteral<"file_hash">;
9600
+ path: z.ZodString;
9601
+ sha256: z.ZodString;
9602
+ }, z.core.$strict>, z.ZodObject<{
9603
+ type: z.ZodLiteral<"exit_code">;
9604
+ value: z.ZodNumber;
9605
+ }, z.core.$strict>, z.ZodObject<{
9606
+ type: z.ZodLiteral<"url_matches">;
9607
+ pattern: z.ZodString;
9608
+ }, z.core.$strict>, z.ZodObject<{
9609
+ type: z.ZodLiteral<"page_contains">;
9610
+ text: z.ZodString;
9611
+ }, z.core.$strict>, z.ZodObject<{
9612
+ type: z.ZodLiteral<"http_resource_matches">;
9613
+ url: z.ZodString;
9614
+ method: z.ZodDefault<z.ZodEnum<{
9615
+ GET: "GET";
9616
+ HEAD: "HEAD";
9617
+ }>>;
9618
+ path: z.ZodString;
9619
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9620
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
9621
+ }, z.core.$strict>, z.ZodObject<{
9622
+ type: z.ZodLiteral<"custom">;
9623
+ verifier: z.ZodString;
9624
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7405
9625
  }, z.core.$strict>], "type">>>;
7406
9626
  identity: z.ZodOptional<z.ZodObject<{
7407
9627
  principal: z.ZodObject<{
@@ -7458,6 +9678,20 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7458
9678
  }, z.core.$strict>, z.ZodObject<{
7459
9679
  type: z.ZodLiteral<"page_contains">;
7460
9680
  text: z.ZodString;
9681
+ }, z.core.$strict>, z.ZodObject<{
9682
+ type: z.ZodLiteral<"http_resource_matches">;
9683
+ url: z.ZodString;
9684
+ method: z.ZodDefault<z.ZodEnum<{
9685
+ GET: "GET";
9686
+ HEAD: "HEAD";
9687
+ }>>;
9688
+ path: z.ZodString;
9689
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9690
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
9691
+ }, z.core.$strict>, z.ZodObject<{
9692
+ type: z.ZodLiteral<"custom">;
9693
+ verifier: z.ZodString;
9694
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7461
9695
  }, z.core.$strict>], "type">>;
7462
9696
  }, z.core.$strict>, z.ZodObject<{
7463
9697
  id: z.ZodString;
@@ -7651,6 +9885,29 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7651
9885
  name: z.ZodOptional<z.ZodString>;
7652
9886
  }, z.core.$strict>>;
7653
9887
  timeoutMs: z.ZodDefault<z.ZodNumber>;
9888
+ }, z.core.$strict>, z.ZodObject<{
9889
+ kind: z.ZodLiteral<"http">;
9890
+ action: z.ZodLiteral<"request">;
9891
+ method: z.ZodDefault<z.ZodEnum<{
9892
+ DELETE: "DELETE";
9893
+ GET: "GET";
9894
+ HEAD: "HEAD";
9895
+ POST: "POST";
9896
+ PUT: "PUT";
9897
+ PATCH: "PATCH";
9898
+ }>>;
9899
+ url: z.ZodString;
9900
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9901
+ content: z.ZodOptional<z.ZodString>;
9902
+ idempotencyKey: z.ZodOptional<z.ZodString>;
9903
+ spend: z.ZodOptional<z.ZodObject<{
9904
+ provider: z.ZodString;
9905
+ account: z.ZodOptional<z.ZodString>;
9906
+ amount: z.ZodNumber;
9907
+ currency: z.ZodString;
9908
+ }, z.core.$strict>>;
9909
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
9910
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
7654
9911
  }, z.core.$strict>, z.ZodObject<{
7655
9912
  kind: z.ZodLiteral<"system">;
7656
9913
  action: z.ZodLiteral<"info">;
@@ -7693,6 +9950,62 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7693
9950
  }, z.core.$strict>, z.ZodObject<{
7694
9951
  type: z.ZodLiteral<"page_contains">;
7695
9952
  text: z.ZodString;
9953
+ }, z.core.$strict>, z.ZodObject<{
9954
+ type: z.ZodLiteral<"http_resource_matches">;
9955
+ url: z.ZodString;
9956
+ method: z.ZodDefault<z.ZodEnum<{
9957
+ GET: "GET";
9958
+ HEAD: "HEAD";
9959
+ }>>;
9960
+ path: z.ZodString;
9961
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9962
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
9963
+ }, z.core.$strict>, z.ZodObject<{
9964
+ type: z.ZodLiteral<"custom">;
9965
+ verifier: z.ZodString;
9966
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
9967
+ }, z.core.$strict>], "type">>>;
9968
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9969
+ type: z.ZodLiteral<"result_equals">;
9970
+ path: z.ZodString;
9971
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9972
+ }, z.core.$strict>, z.ZodObject<{
9973
+ type: z.ZodLiteral<"result_contains">;
9974
+ path: z.ZodString;
9975
+ value: z.ZodString;
9976
+ }, z.core.$strict>, z.ZodObject<{
9977
+ type: z.ZodLiteral<"file_exists">;
9978
+ path: z.ZodString;
9979
+ }, z.core.$strict>, z.ZodObject<{
9980
+ type: z.ZodLiteral<"file_absent">;
9981
+ path: z.ZodString;
9982
+ }, z.core.$strict>, z.ZodObject<{
9983
+ type: z.ZodLiteral<"file_hash">;
9984
+ path: z.ZodString;
9985
+ sha256: z.ZodString;
9986
+ }, z.core.$strict>, z.ZodObject<{
9987
+ type: z.ZodLiteral<"exit_code">;
9988
+ value: z.ZodNumber;
9989
+ }, z.core.$strict>, z.ZodObject<{
9990
+ type: z.ZodLiteral<"url_matches">;
9991
+ pattern: z.ZodString;
9992
+ }, z.core.$strict>, z.ZodObject<{
9993
+ type: z.ZodLiteral<"page_contains">;
9994
+ text: z.ZodString;
9995
+ }, z.core.$strict>, z.ZodObject<{
9996
+ type: z.ZodLiteral<"http_resource_matches">;
9997
+ url: z.ZodString;
9998
+ method: z.ZodDefault<z.ZodEnum<{
9999
+ GET: "GET";
10000
+ HEAD: "HEAD";
10001
+ }>>;
10002
+ path: z.ZodString;
10003
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
10004
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
10005
+ }, z.core.$strict>, z.ZodObject<{
10006
+ type: z.ZodLiteral<"custom">;
10007
+ verifier: z.ZodString;
10008
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7696
10009
  }, z.core.$strict>], "type">>>;
7697
10010
  identity: z.ZodOptional<z.ZodObject<{
7698
10011
  principal: z.ZodObject<{
@@ -7761,6 +10074,20 @@ export declare const WorkflowPlanInputSchema: z.ZodObject<{
7761
10074
  }, z.core.$strict>, z.ZodObject<{
7762
10075
  type: z.ZodLiteral<"page_contains">;
7763
10076
  text: z.ZodString;
10077
+ }, z.core.$strict>, z.ZodObject<{
10078
+ type: z.ZodLiteral<"http_resource_matches">;
10079
+ url: z.ZodString;
10080
+ method: z.ZodDefault<z.ZodEnum<{
10081
+ GET: "GET";
10082
+ HEAD: "HEAD";
10083
+ }>>;
10084
+ path: z.ZodString;
10085
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
10086
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
10087
+ }, z.core.$strict>, z.ZodObject<{
10088
+ type: z.ZodLiteral<"custom">;
10089
+ verifier: z.ZodString;
10090
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
7764
10091
  }, z.core.$strict>], "type">>>;
7765
10092
  }, z.core.$strict>], "type">>;
7766
10093
  budget: z.ZodOptional<z.ZodObject<{
@@ -8043,6 +10370,29 @@ export declare const MelraPlanInputSchema: z.ZodObject<{
8043
10370
  name: z.ZodOptional<z.ZodString>;
8044
10371
  }, z.core.$strict>>;
8045
10372
  timeoutMs: z.ZodDefault<z.ZodNumber>;
10373
+ }, z.core.$strict>, z.ZodObject<{
10374
+ kind: z.ZodLiteral<"http">;
10375
+ action: z.ZodLiteral<"request">;
10376
+ method: z.ZodDefault<z.ZodEnum<{
10377
+ DELETE: "DELETE";
10378
+ GET: "GET";
10379
+ HEAD: "HEAD";
10380
+ POST: "POST";
10381
+ PUT: "PUT";
10382
+ PATCH: "PATCH";
10383
+ }>>;
10384
+ url: z.ZodString;
10385
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10386
+ content: z.ZodOptional<z.ZodString>;
10387
+ idempotencyKey: z.ZodOptional<z.ZodString>;
10388
+ spend: z.ZodOptional<z.ZodObject<{
10389
+ provider: z.ZodString;
10390
+ account: z.ZodOptional<z.ZodString>;
10391
+ amount: z.ZodNumber;
10392
+ currency: z.ZodString;
10393
+ }, z.core.$strict>>;
10394
+ maxResponseBytes: z.ZodDefault<z.ZodNumber>;
10395
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
8046
10396
  }, z.core.$strict>, z.ZodObject<{
8047
10397
  kind: z.ZodLiteral<"system">;
8048
10398
  action: z.ZodLiteral<"info">;
@@ -8085,6 +10435,62 @@ export declare const MelraPlanInputSchema: z.ZodObject<{
8085
10435
  }, z.core.$strict>, z.ZodObject<{
8086
10436
  type: z.ZodLiteral<"page_contains">;
8087
10437
  text: z.ZodString;
10438
+ }, z.core.$strict>, z.ZodObject<{
10439
+ type: z.ZodLiteral<"http_resource_matches">;
10440
+ url: z.ZodString;
10441
+ method: z.ZodDefault<z.ZodEnum<{
10442
+ GET: "GET";
10443
+ HEAD: "HEAD";
10444
+ }>>;
10445
+ path: z.ZodString;
10446
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
10447
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
10448
+ }, z.core.$strict>, z.ZodObject<{
10449
+ type: z.ZodLiteral<"custom">;
10450
+ verifier: z.ZodString;
10451
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
10452
+ }, z.core.$strict>], "type">>>;
10453
+ reconciliation: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10454
+ type: z.ZodLiteral<"result_equals">;
10455
+ path: z.ZodString;
10456
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
10457
+ }, z.core.$strict>, z.ZodObject<{
10458
+ type: z.ZodLiteral<"result_contains">;
10459
+ path: z.ZodString;
10460
+ value: z.ZodString;
10461
+ }, z.core.$strict>, z.ZodObject<{
10462
+ type: z.ZodLiteral<"file_exists">;
10463
+ path: z.ZodString;
10464
+ }, z.core.$strict>, z.ZodObject<{
10465
+ type: z.ZodLiteral<"file_absent">;
10466
+ path: z.ZodString;
10467
+ }, z.core.$strict>, z.ZodObject<{
10468
+ type: z.ZodLiteral<"file_hash">;
10469
+ path: z.ZodString;
10470
+ sha256: z.ZodString;
10471
+ }, z.core.$strict>, z.ZodObject<{
10472
+ type: z.ZodLiteral<"exit_code">;
10473
+ value: z.ZodNumber;
10474
+ }, z.core.$strict>, z.ZodObject<{
10475
+ type: z.ZodLiteral<"url_matches">;
10476
+ pattern: z.ZodString;
10477
+ }, z.core.$strict>, z.ZodObject<{
10478
+ type: z.ZodLiteral<"page_contains">;
10479
+ text: z.ZodString;
10480
+ }, z.core.$strict>, z.ZodObject<{
10481
+ type: z.ZodLiteral<"http_resource_matches">;
10482
+ url: z.ZodString;
10483
+ method: z.ZodDefault<z.ZodEnum<{
10484
+ GET: "GET";
10485
+ HEAD: "HEAD";
10486
+ }>>;
10487
+ path: z.ZodString;
10488
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
10489
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
10490
+ }, z.core.$strict>, z.ZodObject<{
10491
+ type: z.ZodLiteral<"custom">;
10492
+ verifier: z.ZodString;
10493
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
8088
10494
  }, z.core.$strict>], "type">>>;
8089
10495
  identity: z.ZodOptional<z.ZodObject<{
8090
10496
  principal: z.ZodObject<{