@odingard/guardian-sdk 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +252 -17
  2. package/dist/contracts.js +9865 -0
  3. package/dist/index.js +12976 -1787
  4. package/dist/public-catalog.v1.json +6915 -0
  5. package/dist-dts/catalog.d.ts +14 -0
  6. package/dist-dts/client.d.ts +51 -1
  7. package/dist-dts/contracts/action-pack.d.ts +464 -0
  8. package/dist-dts/contracts/action-registry.d.ts +91 -1
  9. package/dist-dts/contracts/action.d.ts +1408 -17
  10. package/dist-dts/contracts/agent-state.d.ts +386 -0
  11. package/dist-dts/contracts/approval.d.ts +224 -5
  12. package/dist-dts/contracts/assurance.d.ts +60 -0
  13. package/dist-dts/contracts/authority-graph.d.ts +294 -0
  14. package/dist-dts/contracts/authority-state.d.ts +17 -2
  15. package/dist-dts/contracts/authority.d.ts +31 -5
  16. package/dist-dts/contracts/billing.d.ts +32 -0
  17. package/dist-dts/contracts/calendar.d.ts +6 -6
  18. package/dist-dts/contracts/denial.d.ts +648 -0
  19. package/dist-dts/contracts/evidence.d.ts +73 -16
  20. package/dist-dts/contracts/execution.d.ts +449 -55
  21. package/dist-dts/contracts/identifiers.d.ts +16 -0
  22. package/dist-dts/contracts/index.d.ts +22 -0
  23. package/dist-dts/contracts/intent.d.ts +335 -0
  24. package/dist-dts/contracts/lineage.d.ts +218 -0
  25. package/dist-dts/contracts/local.d.ts +101 -0
  26. package/dist-dts/contracts/multi-principal.d.ts +292 -0
  27. package/dist-dts/contracts/multiparty.d.ts +169 -0
  28. package/dist-dts/contracts/obligation.d.ts +196 -0
  29. package/dist-dts/contracts/plan.d.ts +67 -0
  30. package/dist-dts/contracts/policy-simulation.d.ts +681 -0
  31. package/dist-dts/contracts/prerequisite.d.ts +147 -0
  32. package/dist-dts/contracts/protected-data.d.ts +67 -0
  33. package/dist-dts/contracts/receipt.d.ts +3126 -0
  34. package/dist-dts/contracts/resource-claims.d.ts +146 -0
  35. package/dist-dts/contracts/runtime.d.ts +111 -0
  36. package/dist-dts/contracts/safety-envelope.d.ts +287 -0
  37. package/dist-dts/contracts/sequence.d.ts +132 -0
  38. package/dist-dts/contracts/sources.d.ts +191 -0
  39. package/dist-dts/contracts/tools.d.ts +50 -5
  40. package/dist-dts/contracts/transaction.d.ts +360 -0
  41. package/dist-dts/contracts-entry.d.ts +1 -0
  42. package/dist-dts/embedded.d.ts +58 -0
  43. package/dist-dts/evidence/evidence.d.ts +25 -0
  44. package/dist-dts/evidence/receipt.d.ts +61 -0
  45. package/dist-dts/index.d.ts +5 -1
  46. package/dist-dts/lifecycle.d.ts +25 -0
  47. package/dist-dts/proposal.d.ts +16 -0
  48. package/dist-dts/receipts.d.ts +37 -0
  49. package/package.json +12 -6
  50. package/dist-dts/__tests__/client.test.d.ts +0 -1
@@ -1,15 +1,19 @@
1
1
  import { z } from "zod";
2
2
  export declare const ProviderSchema: z.ZodEnum<{
3
- file: "file";
3
+ api: "api";
4
4
  tool: "tool";
5
+ local: "local";
6
+ guardian: "guardian";
5
7
  gmail: "gmail";
6
- graph: "graph";
7
- api: "api";
8
8
  gcalendar: "gcalendar";
9
- "payment-sandbox": "payment-sandbox";
9
+ file: "file";
10
10
  protected_data: "protected_data";
11
+ graph: "graph";
12
+ clawlink: "clawlink";
13
+ "payment-sandbox": "payment-sandbox";
11
14
  }>;
12
15
  export declare const ConnectionProfileSchema: z.ZodEnum<{
16
+ "guardian-agent-v1": "guardian-agent-v1";
13
17
  "gmail-split-compose-metadata": "gmail-split-compose-metadata";
14
18
  "gmail-compose-readonly": "gmail-compose-readonly";
15
19
  "graph-readwrite-send": "graph-readwrite-send";
@@ -19,31 +23,33 @@ export declare const ConnectionProfileSchema: z.ZodEnum<{
19
23
  "payment-sandbox-charge": "payment-sandbox-charge";
20
24
  "file-local-store": "file-local-store";
21
25
  "protected-data-store": "protected-data-store";
26
+ "local-agent-runtime": "local-agent-runtime";
27
+ "clawlink-executions": "clawlink-executions";
22
28
  }>;
23
29
  export declare const VerificationLevelSchema: z.ZodEnum<{
24
30
  "pre-commit-content+post-commit-envelope": "pre-commit-content+post-commit-envelope";
25
31
  "post-commit-content": "post-commit-content";
26
32
  }>;
27
33
  export declare const LeasePurposeSchema: z.ZodEnum<{
34
+ readback: "readback";
35
+ observe: "observe";
28
36
  account: "account";
29
37
  prepare: "prepare";
30
- readback: "readback";
31
38
  commit: "commit";
32
- observe: "observe";
33
39
  cleanup: "cleanup";
34
40
  }>;
35
41
  export declare const ExecutionStateSchema: z.ZodEnum<{
36
42
  unknown: "unknown";
43
+ verified: "verified";
44
+ mismatch: "mismatch";
45
+ "commit-rejected": "commit-rejected";
46
+ aborted: "aborted";
37
47
  reserved: "reserved";
38
48
  redeemed: "redeemed";
39
49
  preparing: "preparing";
40
50
  prepared: "prepared";
41
51
  committing: "committing";
42
52
  unresolved: "unresolved";
43
- verified: "verified";
44
- mismatch: "mismatch";
45
- "commit-rejected": "commit-rejected";
46
- aborted: "aborted";
47
53
  }>;
48
54
  export declare const ExecutionFailureCodeSchema: z.ZodEnum<{
49
55
  SENDER_ACCOUNT_MISMATCH: "SENDER_ACCOUNT_MISMATCH";
@@ -103,6 +109,12 @@ export declare const ProviderObjectRefSchema: z.ZodDiscriminatedUnion<[z.ZodObje
103
109
  }, z.core.$strict>, z.ZodObject<{
104
110
  kind: z.ZodLiteral<"protected_data-op">;
105
111
  operationDigest: z.ZodString;
112
+ }, z.core.$strict>, z.ZodObject<{
113
+ kind: z.ZodLiteral<"guardian-call">;
114
+ callDigest: z.ZodString;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ kind: z.ZodLiteral<"clawlink-execution">;
117
+ requestDigest: z.ZodString;
106
118
  }, z.core.$strict>], "kind">;
107
119
  export declare const ProviderSentRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
108
120
  kind: z.ZodLiteral<"gmail-message">;
@@ -122,8 +134,8 @@ export declare const ProviderSentRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject
122
134
  }, z.core.$strict>, z.ZodObject<{
123
135
  kind: z.ZodLiteral<"tool-response">;
124
136
  operation: z.ZodEnum<{
125
- install: "install";
126
137
  enable: "enable";
138
+ install: "install";
127
139
  invoke: "invoke";
128
140
  }>;
129
141
  toolName: z.ZodString;
@@ -151,10 +163,10 @@ export declare const ProviderSentRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject
151
163
  }, z.core.$strict>, z.ZodObject<{
152
164
  kind: z.ZodLiteral<"file-effect">;
153
165
  operation: z.ZodEnum<{
154
- read: "read";
155
- write: "write";
156
166
  share: "share";
157
167
  delete: "delete";
168
+ read: "read";
169
+ write: "write";
158
170
  }>;
159
171
  path: z.ZodString;
160
172
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -164,8 +176,8 @@ export declare const ProviderSentRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject
164
176
  }, z.core.$strict>, z.ZodObject<{
165
177
  kind: z.ZodLiteral<"protected_data-effect">;
166
178
  operation: z.ZodEnum<{
167
- use: "use";
168
179
  view: "view";
180
+ use: "use";
169
181
  disclose: "disclose";
170
182
  persist: "persist";
171
183
  }>;
@@ -173,6 +185,19 @@ export declare const ProviderSentRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject
173
185
  valueDigest: z.ZodString;
174
186
  counterparty: z.ZodNullable<z.ZodString>;
175
187
  maskedPreview: z.ZodNullable<z.ZodString>;
188
+ }, z.core.$strict>, z.ZodObject<{
189
+ kind: z.ZodLiteral<"guardian-effect">;
190
+ operation: z.ZodString;
191
+ subject: z.ZodNullable<z.ZodString>;
192
+ status: z.ZodString;
193
+ resultDigest: z.ZodString;
194
+ detail: z.ZodString;
195
+ }, z.core.$strict>, z.ZodObject<{
196
+ kind: z.ZodLiteral<"clawlink-execution">;
197
+ executionId: z.ZodString;
198
+ executionStatus: z.ZodLiteral<"succeeded">;
199
+ resultDigest: z.ZodString;
200
+ detail: z.ZodString;
176
201
  }, z.core.$strict>], "kind">;
177
202
  export declare const VerifiedOutcomeSchema: z.ZodObject<{
178
203
  kind: z.ZodLiteral<"verified">;
@@ -194,8 +219,8 @@ export declare const VerifiedOutcomeSchema: z.ZodObject<{
194
219
  }, z.core.$strict>, z.ZodObject<{
195
220
  kind: z.ZodLiteral<"tool-response">;
196
221
  operation: z.ZodEnum<{
197
- install: "install";
198
222
  enable: "enable";
223
+ install: "install";
199
224
  invoke: "invoke";
200
225
  }>;
201
226
  toolName: z.ZodString;
@@ -223,10 +248,10 @@ export declare const VerifiedOutcomeSchema: z.ZodObject<{
223
248
  }, z.core.$strict>, z.ZodObject<{
224
249
  kind: z.ZodLiteral<"file-effect">;
225
250
  operation: z.ZodEnum<{
226
- read: "read";
227
- write: "write";
228
251
  share: "share";
229
252
  delete: "delete";
253
+ read: "read";
254
+ write: "write";
230
255
  }>;
231
256
  path: z.ZodString;
232
257
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -236,8 +261,8 @@ export declare const VerifiedOutcomeSchema: z.ZodObject<{
236
261
  }, z.core.$strict>, z.ZodObject<{
237
262
  kind: z.ZodLiteral<"protected_data-effect">;
238
263
  operation: z.ZodEnum<{
239
- use: "use";
240
264
  view: "view";
265
+ use: "use";
241
266
  disclose: "disclose";
242
267
  persist: "persist";
243
268
  }>;
@@ -245,6 +270,19 @@ export declare const VerifiedOutcomeSchema: z.ZodObject<{
245
270
  valueDigest: z.ZodString;
246
271
  counterparty: z.ZodNullable<z.ZodString>;
247
272
  maskedPreview: z.ZodNullable<z.ZodString>;
273
+ }, z.core.$strict>, z.ZodObject<{
274
+ kind: z.ZodLiteral<"guardian-effect">;
275
+ operation: z.ZodString;
276
+ subject: z.ZodNullable<z.ZodString>;
277
+ status: z.ZodString;
278
+ resultDigest: z.ZodString;
279
+ detail: z.ZodString;
280
+ }, z.core.$strict>, z.ZodObject<{
281
+ kind: z.ZodLiteral<"clawlink-execution">;
282
+ executionId: z.ZodString;
283
+ executionStatus: z.ZodLiteral<"succeeded">;
284
+ resultDigest: z.ZodString;
285
+ detail: z.ZodString;
248
286
  }, z.core.$strict>], "kind">;
249
287
  observedDigest: z.ZodString;
250
288
  effectDigest: z.ZodString;
@@ -335,8 +373,8 @@ export declare const OutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
335
373
  }, z.core.$strict>, z.ZodObject<{
336
374
  kind: z.ZodLiteral<"tool-response">;
337
375
  operation: z.ZodEnum<{
338
- install: "install";
339
376
  enable: "enable";
377
+ install: "install";
340
378
  invoke: "invoke";
341
379
  }>;
342
380
  toolName: z.ZodString;
@@ -364,10 +402,10 @@ export declare const OutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
364
402
  }, z.core.$strict>, z.ZodObject<{
365
403
  kind: z.ZodLiteral<"file-effect">;
366
404
  operation: z.ZodEnum<{
367
- read: "read";
368
- write: "write";
369
405
  share: "share";
370
406
  delete: "delete";
407
+ read: "read";
408
+ write: "write";
371
409
  }>;
372
410
  path: z.ZodString;
373
411
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -377,8 +415,8 @@ export declare const OutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
377
415
  }, z.core.$strict>, z.ZodObject<{
378
416
  kind: z.ZodLiteral<"protected_data-effect">;
379
417
  operation: z.ZodEnum<{
380
- use: "use";
381
418
  view: "view";
419
+ use: "use";
382
420
  disclose: "disclose";
383
421
  persist: "persist";
384
422
  }>;
@@ -386,6 +424,19 @@ export declare const OutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
386
424
  valueDigest: z.ZodString;
387
425
  counterparty: z.ZodNullable<z.ZodString>;
388
426
  maskedPreview: z.ZodNullable<z.ZodString>;
427
+ }, z.core.$strict>, z.ZodObject<{
428
+ kind: z.ZodLiteral<"guardian-effect">;
429
+ operation: z.ZodString;
430
+ subject: z.ZodNullable<z.ZodString>;
431
+ status: z.ZodString;
432
+ resultDigest: z.ZodString;
433
+ detail: z.ZodString;
434
+ }, z.core.$strict>, z.ZodObject<{
435
+ kind: z.ZodLiteral<"clawlink-execution">;
436
+ executionId: z.ZodString;
437
+ executionStatus: z.ZodLiteral<"succeeded">;
438
+ resultDigest: z.ZodString;
439
+ detail: z.ZodString;
389
440
  }, z.core.$strict>], "kind">;
390
441
  observedDigest: z.ZodString;
391
442
  effectDigest: z.ZodString;
@@ -471,8 +522,8 @@ export declare const PendingOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
471
522
  }, z.core.$strict>, z.ZodObject<{
472
523
  kind: z.ZodLiteral<"tool-response">;
473
524
  operation: z.ZodEnum<{
474
- install: "install";
475
525
  enable: "enable";
526
+ install: "install";
476
527
  invoke: "invoke";
477
528
  }>;
478
529
  toolName: z.ZodString;
@@ -500,10 +551,10 @@ export declare const PendingOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
500
551
  }, z.core.$strict>, z.ZodObject<{
501
552
  kind: z.ZodLiteral<"file-effect">;
502
553
  operation: z.ZodEnum<{
503
- read: "read";
504
- write: "write";
505
554
  share: "share";
506
555
  delete: "delete";
556
+ read: "read";
557
+ write: "write";
507
558
  }>;
508
559
  path: z.ZodString;
509
560
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -513,8 +564,8 @@ export declare const PendingOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
513
564
  }, z.core.$strict>, z.ZodObject<{
514
565
  kind: z.ZodLiteral<"protected_data-effect">;
515
566
  operation: z.ZodEnum<{
516
- use: "use";
517
567
  view: "view";
568
+ use: "use";
518
569
  disclose: "disclose";
519
570
  persist: "persist";
520
571
  }>;
@@ -522,6 +573,19 @@ export declare const PendingOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
522
573
  valueDigest: z.ZodString;
523
574
  counterparty: z.ZodNullable<z.ZodString>;
524
575
  maskedPreview: z.ZodNullable<z.ZodString>;
576
+ }, z.core.$strict>, z.ZodObject<{
577
+ kind: z.ZodLiteral<"guardian-effect">;
578
+ operation: z.ZodString;
579
+ subject: z.ZodNullable<z.ZodString>;
580
+ status: z.ZodString;
581
+ resultDigest: z.ZodString;
582
+ detail: z.ZodString;
583
+ }, z.core.$strict>, z.ZodObject<{
584
+ kind: z.ZodLiteral<"clawlink-execution">;
585
+ executionId: z.ZodString;
586
+ executionStatus: z.ZodLiteral<"succeeded">;
587
+ resultDigest: z.ZodString;
588
+ detail: z.ZodString;
525
589
  }, z.core.$strict>], "kind">;
526
590
  observedDigest: z.ZodString;
527
591
  effectDigest: z.ZodString;
@@ -600,16 +664,20 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
600
664
  adapterId: z.core.$ZodBranded<z.ZodString, "AdapterId", "out">;
601
665
  connectionId: z.core.$ZodBranded<z.ZodString, "ConnectionId", "out">;
602
666
  provider: z.ZodEnum<{
603
- file: "file";
667
+ api: "api";
604
668
  tool: "tool";
669
+ local: "local";
670
+ guardian: "guardian";
605
671
  gmail: "gmail";
606
- graph: "graph";
607
- api: "api";
608
672
  gcalendar: "gcalendar";
609
- "payment-sandbox": "payment-sandbox";
673
+ file: "file";
610
674
  protected_data: "protected_data";
675
+ graph: "graph";
676
+ clawlink: "clawlink";
677
+ "payment-sandbox": "payment-sandbox";
611
678
  }>;
612
679
  profile: z.ZodEnum<{
680
+ "guardian-agent-v1": "guardian-agent-v1";
613
681
  "gmail-split-compose-metadata": "gmail-split-compose-metadata";
614
682
  "gmail-compose-readonly": "gmail-compose-readonly";
615
683
  "graph-readwrite-send": "graph-readwrite-send";
@@ -619,22 +687,24 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
619
687
  "payment-sandbox-charge": "payment-sandbox-charge";
620
688
  "file-local-store": "file-local-store";
621
689
  "protected-data-store": "protected-data-store";
690
+ "local-agent-runtime": "local-agent-runtime";
691
+ "clawlink-executions": "clawlink-executions";
622
692
  }>;
623
693
  effectKey: z.ZodString;
624
694
  expectedProjectionDigest: z.ZodString;
625
695
  expectedEnvelopeDigest: z.ZodString;
626
696
  state: z.ZodEnum<{
627
697
  unknown: "unknown";
698
+ verified: "verified";
699
+ mismatch: "mismatch";
700
+ "commit-rejected": "commit-rejected";
701
+ aborted: "aborted";
628
702
  reserved: "reserved";
629
703
  redeemed: "redeemed";
630
704
  preparing: "preparing";
631
705
  prepared: "prepared";
632
706
  committing: "committing";
633
707
  unresolved: "unresolved";
634
- verified: "verified";
635
- mismatch: "mismatch";
636
- "commit-rejected": "commit-rejected";
637
- aborted: "aborted";
638
708
  }>;
639
709
  version: z.ZodNumber;
640
710
  reservedAtEpochMs: z.ZodNumber;
@@ -672,6 +742,12 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
672
742
  }, z.core.$strict>, z.ZodObject<{
673
743
  kind: z.ZodLiteral<"protected_data-op">;
674
744
  operationDigest: z.ZodString;
745
+ }, z.core.$strict>, z.ZodObject<{
746
+ kind: z.ZodLiteral<"guardian-call">;
747
+ callDigest: z.ZodString;
748
+ }, z.core.$strict>, z.ZodObject<{
749
+ kind: z.ZodLiteral<"clawlink-execution">;
750
+ requestDigest: z.ZodString;
675
751
  }, z.core.$strict>], "kind">>;
676
752
  sentRef: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
677
753
  kind: z.ZodLiteral<"gmail-message">;
@@ -691,8 +767,8 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
691
767
  }, z.core.$strict>, z.ZodObject<{
692
768
  kind: z.ZodLiteral<"tool-response">;
693
769
  operation: z.ZodEnum<{
694
- install: "install";
695
770
  enable: "enable";
771
+ install: "install";
696
772
  invoke: "invoke";
697
773
  }>;
698
774
  toolName: z.ZodString;
@@ -720,10 +796,10 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
720
796
  }, z.core.$strict>, z.ZodObject<{
721
797
  kind: z.ZodLiteral<"file-effect">;
722
798
  operation: z.ZodEnum<{
723
- read: "read";
724
- write: "write";
725
799
  share: "share";
726
800
  delete: "delete";
801
+ read: "read";
802
+ write: "write";
727
803
  }>;
728
804
  path: z.ZodString;
729
805
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -733,8 +809,8 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
733
809
  }, z.core.$strict>, z.ZodObject<{
734
810
  kind: z.ZodLiteral<"protected_data-effect">;
735
811
  operation: z.ZodEnum<{
736
- use: "use";
737
812
  view: "view";
813
+ use: "use";
738
814
  disclose: "disclose";
739
815
  persist: "persist";
740
816
  }>;
@@ -742,6 +818,19 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
742
818
  valueDigest: z.ZodString;
743
819
  counterparty: z.ZodNullable<z.ZodString>;
744
820
  maskedPreview: z.ZodNullable<z.ZodString>;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ kind: z.ZodLiteral<"guardian-effect">;
823
+ operation: z.ZodString;
824
+ subject: z.ZodNullable<z.ZodString>;
825
+ status: z.ZodString;
826
+ resultDigest: z.ZodString;
827
+ detail: z.ZodString;
828
+ }, z.core.$strict>, z.ZodObject<{
829
+ kind: z.ZodLiteral<"clawlink-execution">;
830
+ executionId: z.ZodString;
831
+ executionStatus: z.ZodLiteral<"succeeded">;
832
+ resultDigest: z.ZodString;
833
+ detail: z.ZodString;
745
834
  }, z.core.$strict>], "kind">>;
746
835
  orphanDraftPossible: z.ZodBoolean;
747
836
  pendingOutcome: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -764,8 +853,8 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
764
853
  }, z.core.$strict>, z.ZodObject<{
765
854
  kind: z.ZodLiteral<"tool-response">;
766
855
  operation: z.ZodEnum<{
767
- install: "install";
768
856
  enable: "enable";
857
+ install: "install";
769
858
  invoke: "invoke";
770
859
  }>;
771
860
  toolName: z.ZodString;
@@ -793,10 +882,10 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
793
882
  }, z.core.$strict>, z.ZodObject<{
794
883
  kind: z.ZodLiteral<"file-effect">;
795
884
  operation: z.ZodEnum<{
796
- read: "read";
797
- write: "write";
798
885
  share: "share";
799
886
  delete: "delete";
887
+ read: "read";
888
+ write: "write";
800
889
  }>;
801
890
  path: z.ZodString;
802
891
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -806,8 +895,8 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
806
895
  }, z.core.$strict>, z.ZodObject<{
807
896
  kind: z.ZodLiteral<"protected_data-effect">;
808
897
  operation: z.ZodEnum<{
809
- use: "use";
810
898
  view: "view";
899
+ use: "use";
811
900
  disclose: "disclose";
812
901
  persist: "persist";
813
902
  }>;
@@ -815,6 +904,19 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
815
904
  valueDigest: z.ZodString;
816
905
  counterparty: z.ZodNullable<z.ZodString>;
817
906
  maskedPreview: z.ZodNullable<z.ZodString>;
907
+ }, z.core.$strict>, z.ZodObject<{
908
+ kind: z.ZodLiteral<"guardian-effect">;
909
+ operation: z.ZodString;
910
+ subject: z.ZodNullable<z.ZodString>;
911
+ status: z.ZodString;
912
+ resultDigest: z.ZodString;
913
+ detail: z.ZodString;
914
+ }, z.core.$strict>, z.ZodObject<{
915
+ kind: z.ZodLiteral<"clawlink-execution">;
916
+ executionId: z.ZodString;
917
+ executionStatus: z.ZodLiteral<"succeeded">;
918
+ resultDigest: z.ZodString;
919
+ detail: z.ZodString;
818
920
  }, z.core.$strict>], "kind">;
819
921
  observedDigest: z.ZodString;
820
922
  effectDigest: z.ZodString;
@@ -900,8 +1002,8 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
900
1002
  }, z.core.$strict>, z.ZodObject<{
901
1003
  kind: z.ZodLiteral<"tool-response">;
902
1004
  operation: z.ZodEnum<{
903
- install: "install";
904
1005
  enable: "enable";
1006
+ install: "install";
905
1007
  invoke: "invoke";
906
1008
  }>;
907
1009
  toolName: z.ZodString;
@@ -929,10 +1031,10 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
929
1031
  }, z.core.$strict>, z.ZodObject<{
930
1032
  kind: z.ZodLiteral<"file-effect">;
931
1033
  operation: z.ZodEnum<{
932
- read: "read";
933
- write: "write";
934
1034
  share: "share";
935
1035
  delete: "delete";
1036
+ read: "read";
1037
+ write: "write";
936
1038
  }>;
937
1039
  path: z.ZodString;
938
1040
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -942,8 +1044,8 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
942
1044
  }, z.core.$strict>, z.ZodObject<{
943
1045
  kind: z.ZodLiteral<"protected_data-effect">;
944
1046
  operation: z.ZodEnum<{
945
- use: "use";
946
1047
  view: "view";
1048
+ use: "use";
947
1049
  disclose: "disclose";
948
1050
  persist: "persist";
949
1051
  }>;
@@ -951,6 +1053,19 @@ export declare const ExecutionRecordSchema: z.ZodObject<{
951
1053
  valueDigest: z.ZodString;
952
1054
  counterparty: z.ZodNullable<z.ZodString>;
953
1055
  maskedPreview: z.ZodNullable<z.ZodString>;
1056
+ }, z.core.$strict>, z.ZodObject<{
1057
+ kind: z.ZodLiteral<"guardian-effect">;
1058
+ operation: z.ZodString;
1059
+ subject: z.ZodNullable<z.ZodString>;
1060
+ status: z.ZodString;
1061
+ resultDigest: z.ZodString;
1062
+ detail: z.ZodString;
1063
+ }, z.core.$strict>, z.ZodObject<{
1064
+ kind: z.ZodLiteral<"clawlink-execution">;
1065
+ executionId: z.ZodString;
1066
+ executionStatus: z.ZodLiteral<"succeeded">;
1067
+ resultDigest: z.ZodString;
1068
+ detail: z.ZodString;
954
1069
  }, z.core.$strict>], "kind">;
955
1070
  observedDigest: z.ZodString;
956
1071
  effectDigest: z.ZodString;
@@ -1033,16 +1148,20 @@ export declare const ExecutionGrantSchema: z.ZodObject<{
1033
1148
  version: z.ZodNumber;
1034
1149
  connectionId: z.core.$ZodBranded<z.ZodString, "ConnectionId", "out">;
1035
1150
  provider: z.ZodEnum<{
1036
- file: "file";
1151
+ api: "api";
1037
1152
  tool: "tool";
1153
+ local: "local";
1154
+ guardian: "guardian";
1038
1155
  gmail: "gmail";
1039
- graph: "graph";
1040
- api: "api";
1041
1156
  gcalendar: "gcalendar";
1042
- "payment-sandbox": "payment-sandbox";
1157
+ file: "file";
1043
1158
  protected_data: "protected_data";
1159
+ graph: "graph";
1160
+ clawlink: "clawlink";
1161
+ "payment-sandbox": "payment-sandbox";
1044
1162
  }>;
1045
1163
  profile: z.ZodEnum<{
1164
+ "guardian-agent-v1": "guardian-agent-v1";
1046
1165
  "gmail-split-compose-metadata": "gmail-split-compose-metadata";
1047
1166
  "gmail-compose-readonly": "gmail-compose-readonly";
1048
1167
  "graph-readwrite-send": "graph-readwrite-send";
@@ -1052,6 +1171,8 @@ export declare const ExecutionGrantSchema: z.ZodObject<{
1052
1171
  "payment-sandbox-charge": "payment-sandbox-charge";
1053
1172
  "file-local-store": "file-local-store";
1054
1173
  "protected-data-store": "protected-data-store";
1174
+ "local-agent-runtime": "local-agent-runtime";
1175
+ "clawlink-executions": "clawlink-executions";
1055
1176
  }>;
1056
1177
  action: z.ZodObject<{
1057
1178
  schemaVersion: z.ZodLiteral<1>;
@@ -1063,15 +1184,268 @@ export declare const ExecutionGrantSchema: z.ZodObject<{
1063
1184
  action: z.core.$ZodBranded<z.ZodString, "ActionType", "out">;
1064
1185
  resource: z.core.$ZodBranded<z.ZodString, "ResourceRef", "out">;
1065
1186
  interface: z.ZodEnum<{
1066
- internal: "internal";
1067
1187
  mcp: "mcp";
1068
1188
  rest: "rest";
1189
+ internal: "internal";
1069
1190
  }>;
1070
1191
  valueCents: z.ZodOptional<z.ZodNumber>;
1071
1192
  merchantId: z.ZodOptional<z.ZodString>;
1072
1193
  merchantCategory: z.ZodOptional<z.ZodString>;
1073
1194
  recurring: z.ZodOptional<z.ZodBoolean>;
1074
1195
  taskId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "TaskId", "out">>;
1196
+ intentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "IntentId", "out">>;
1197
+ planId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "PlanId", "out">>;
1198
+ obligations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1199
+ type: z.ZodEnum<{
1200
+ log: "log";
1201
+ retain_receipt: "retain_receipt";
1202
+ notify: "notify";
1203
+ delay: "delay";
1204
+ cooling_period: "cooling_period";
1205
+ delete_after_use: "delete_after_use";
1206
+ redact: "redact";
1207
+ encrypt: "encrypt";
1208
+ tokenize: "tokenize";
1209
+ minimize: "minimize";
1210
+ verify_counterparty: "verify_counterparty";
1211
+ verify_resource: "verify_resource";
1212
+ verify_effect: "verify_effect";
1213
+ attest_runtime: "attest_runtime";
1214
+ require_consent: "require_consent";
1215
+ require_location: "require_location";
1216
+ require_device: "require_device";
1217
+ require_network: "require_network";
1218
+ require_contract: "require_contract";
1219
+ step_up: "step_up";
1220
+ second_approver: "second_approver";
1221
+ quorum: "quorum";
1222
+ authenticate: "authenticate";
1223
+ }>;
1224
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
1225
+ }, z.core.$strict>>>;
1226
+ obligationStates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1227
+ obligationType: z.ZodEnum<{
1228
+ log: "log";
1229
+ retain_receipt: "retain_receipt";
1230
+ notify: "notify";
1231
+ delay: "delay";
1232
+ cooling_period: "cooling_period";
1233
+ delete_after_use: "delete_after_use";
1234
+ redact: "redact";
1235
+ encrypt: "encrypt";
1236
+ tokenize: "tokenize";
1237
+ minimize: "minimize";
1238
+ verify_counterparty: "verify_counterparty";
1239
+ verify_resource: "verify_resource";
1240
+ verify_effect: "verify_effect";
1241
+ attest_runtime: "attest_runtime";
1242
+ require_consent: "require_consent";
1243
+ require_location: "require_location";
1244
+ require_device: "require_device";
1245
+ require_network: "require_network";
1246
+ require_contract: "require_contract";
1247
+ step_up: "step_up";
1248
+ second_approver: "second_approver";
1249
+ quorum: "quorum";
1250
+ authenticate: "authenticate";
1251
+ }>;
1252
+ state: z.ZodEnum<{
1253
+ satisfied: "satisfied";
1254
+ pending: "pending";
1255
+ failed: "failed";
1256
+ not_applicable: "not_applicable";
1257
+ }>;
1258
+ rule: z.ZodEnum<{
1259
+ OBLIGATION_SATISFIED: "OBLIGATION_SATISFIED";
1260
+ PENDING_POST_ACTION: "PENDING_POST_ACTION";
1261
+ PENDING_TIME: "PENDING_TIME";
1262
+ PENDING_HUMAN: "PENDING_HUMAN";
1263
+ OBLIGATION_PARAMS_INVALID: "OBLIGATION_PARAMS_INVALID";
1264
+ COUNTERPARTY_UNVERIFIED: "COUNTERPARTY_UNVERIFIED";
1265
+ RESOURCE_NOT_COVERED: "RESOURCE_NOT_COVERED";
1266
+ OBLIGATION_VERIFIER_UNAVAILABLE: "OBLIGATION_VERIFIER_UNAVAILABLE";
1267
+ }>;
1268
+ detail: z.ZodOptional<z.ZodString>;
1269
+ dueEpochMs: z.ZodOptional<z.ZodNumber>;
1270
+ }, z.core.$strict>>>;
1271
+ prerequisiteResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
1272
+ id: z.ZodString;
1273
+ prerequisiteType: z.ZodString;
1274
+ state: z.ZodEnum<{
1275
+ satisfied: "satisfied";
1276
+ pending: "pending";
1277
+ failed: "failed";
1278
+ not_applicable: "not_applicable";
1279
+ }>;
1280
+ rule: z.ZodEnum<{
1281
+ BUDGET_EXCEEDED: "BUDGET_EXCEEDED";
1282
+ PENDING_HUMAN: "PENDING_HUMAN";
1283
+ PREREQUISITE_SATISFIED: "PREREQUISITE_SATISFIED";
1284
+ MERCHANT_UNVERIFIED: "MERCHANT_UNVERIFIED";
1285
+ BUDGET_NOT_DECLARED: "BUDGET_NOT_DECLARED";
1286
+ CAPABILITY_NOT_COVERED: "CAPABILITY_NOT_COVERED";
1287
+ ADDRESS_NOT_AUTHORIZED: "ADDRESS_NOT_AUTHORIZED";
1288
+ PREREQUISITE_PARAMS_INVALID: "PREREQUISITE_PARAMS_INVALID";
1289
+ PREREQUISITE_VERIFIER_UNAVAILABLE: "PREREQUISITE_VERIFIER_UNAVAILABLE";
1290
+ }>;
1291
+ detail: z.ZodOptional<z.ZodString>;
1292
+ }, z.core.$strict>>>;
1293
+ parentActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RequestId", "out">>;
1294
+ sourceEffectId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AttemptId", "out">>;
1295
+ sequenceMatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
1296
+ ruleId: z.ZodString;
1297
+ effect: z.ZodEnum<{
1298
+ deny: "deny";
1299
+ require_approval: "require_approval";
1300
+ }>;
1301
+ matchedActionRefs: z.ZodArray<z.ZodString>;
1302
+ }, z.core.$strict>>>;
1303
+ lineageMatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
1304
+ dataObjectId: z.core.$ZodBranded<z.ZodString, "DataObjectId", "out">;
1305
+ effectiveClassification: z.ZodEnum<{
1306
+ financial: "financial";
1307
+ internal: "internal";
1308
+ public: "public";
1309
+ pii: "pii";
1310
+ phi: "phi";
1311
+ credential: "credential";
1312
+ confidential: "confidential";
1313
+ }>;
1314
+ effect: z.ZodEnum<{
1315
+ allowed: "allowed";
1316
+ deny: "deny";
1317
+ require_approval: "require_approval";
1318
+ }>;
1319
+ expired: z.ZodBoolean;
1320
+ }, z.core.$strict>>>;
1321
+ runtimeTrustLevel: z.ZodOptional<z.ZodEnum<{
1322
+ T0_UNKNOWN: "T0_UNKNOWN";
1323
+ T1_IDENTIFIED: "T1_IDENTIFIED";
1324
+ T2_VERIFIED: "T2_VERIFIED";
1325
+ T3_ATTESTED: "T3_ATTESTED";
1326
+ T4_HARDWARE_BACKED: "T4_HARDWARE_BACKED";
1327
+ }>>;
1328
+ enforcementAssurance: z.ZodOptional<z.ZodEnum<{
1329
+ G2_CREDENTIAL_MEDIATED: "G2_CREDENTIAL_MEDIATED";
1330
+ G1_POLICY_MEDIATED: "G1_POLICY_MEDIATED";
1331
+ G3_RUNTIME_CONTAINED: "G3_RUNTIME_CONTAINED";
1332
+ G0_OBSERVED: "G0_OBSERVED";
1333
+ G4_COUNTERPARTY_INTERLOCKED: "G4_COUNTERPARTY_INTERLOCKED";
1334
+ }>>;
1335
+ approvalStructures: z.ZodOptional<z.ZodArray<z.ZodObject<{
1336
+ schema: z.ZodLiteral<"guardian.multiparty.v1">;
1337
+ structureId: z.ZodString;
1338
+ members: z.ZodArray<z.ZodObject<{
1339
+ memberId: z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">;
1340
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1341
+ }, z.core.$strict>>;
1342
+ requirement: z.ZodDiscriminatedUnion<[z.ZodObject<{
1343
+ kind: z.ZodLiteral<"single">;
1344
+ memberId: z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">;
1345
+ }, z.core.$strict>, z.ZodObject<{
1346
+ kind: z.ZodLiteral<"nOfM">;
1347
+ n: z.ZodNumber;
1348
+ members: z.ZodArray<z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">>;
1349
+ }, z.core.$strict>, z.ZodObject<{
1350
+ kind: z.ZodLiteral<"unanimous">;
1351
+ members: z.ZodArray<z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">>;
1352
+ }, z.core.$strict>, z.ZodObject<{
1353
+ kind: z.ZodLiteral<"roleQuorum">;
1354
+ role: z.ZodString;
1355
+ n: z.ZodNumber;
1356
+ m: z.ZodNumber;
1357
+ }, z.core.$strict>], "kind">;
1358
+ specificRequired: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">>>;
1359
+ veto: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">>>;
1360
+ separationOfDuties: z.ZodOptional<z.ZodObject<{
1361
+ mutuallyExclusive: z.ZodArray<z.ZodArray<z.ZodString>>;
1362
+ }, z.core.$strict>>;
1363
+ temporaryApprovers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
+ memberId: z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">;
1365
+ expiresAtEpochMs: z.ZodNumber;
1366
+ }, z.core.$strict>>>;
1367
+ delegatedApprovers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1368
+ memberId: z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">;
1369
+ delegatedBy: z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">;
1370
+ }, z.core.$strict>>>;
1371
+ emergencyApprovers: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "PrincipalId", "out">>>;
1372
+ coolingPeriod: z.ZodOptional<z.ZodObject<{
1373
+ seconds: z.ZodNumber;
1374
+ }, z.core.$strict>>;
1375
+ }, z.core.$strict>>>;
1376
+ appliedAuthoritySources: z.ZodOptional<z.ZodObject<{
1377
+ applied: z.ZodArray<z.ZodString>;
1378
+ constraints: z.ZodObject<{
1379
+ allowedActions: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "ActionType", "out">>>;
1380
+ deniedActions: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "ActionType", "out">>>;
1381
+ allowedResources: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "ResourceRef", "out">>>;
1382
+ allowedInterfaces: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1383
+ mcp: "mcp";
1384
+ rest: "rest";
1385
+ internal: "internal";
1386
+ }>>>;
1387
+ maxValueCents: z.ZodOptional<z.ZodNumber>;
1388
+ maxUses: z.ZodOptional<z.ZodNumber>;
1389
+ minRuntimeLevel: z.ZodOptional<z.ZodEnum<{
1390
+ T0_UNKNOWN: "T0_UNKNOWN";
1391
+ T1_IDENTIFIED: "T1_IDENTIFIED";
1392
+ T2_VERIFIED: "T2_VERIFIED";
1393
+ T3_ATTESTED: "T3_ATTESTED";
1394
+ T4_HARDWARE_BACKED: "T4_HARDWARE_BACKED";
1395
+ }>>;
1396
+ minAssuranceLevel: z.ZodOptional<z.ZodEnum<{
1397
+ G2_CREDENTIAL_MEDIATED: "G2_CREDENTIAL_MEDIATED";
1398
+ G1_POLICY_MEDIATED: "G1_POLICY_MEDIATED";
1399
+ G3_RUNTIME_CONTAINED: "G3_RUNTIME_CONTAINED";
1400
+ G0_OBSERVED: "G0_OBSERVED";
1401
+ G4_COUNTERPARTY_INTERLOCKED: "G4_COUNTERPARTY_INTERLOCKED";
1402
+ }>>;
1403
+ requiredApprovals: z.ZodOptional<z.ZodNumber>;
1404
+ }, z.core.$strict>;
1405
+ }, z.core.$strict>>;
1406
+ transaction: z.ZodOptional<z.ZodObject<{
1407
+ schema: z.ZodLiteral<"guardian.transaction.v1">;
1408
+ stages: z.ZodArray<z.ZodEnum<{
1409
+ PROPOSE: "PROPOSE";
1410
+ PREPARE: "PREPARE";
1411
+ AUTHORIZE: "AUTHORIZE";
1412
+ LOCK: "LOCK";
1413
+ COMMIT: "COMMIT";
1414
+ VERIFY: "VERIFY";
1415
+ SETTLE: "SETTLE";
1416
+ }>>;
1417
+ deadlineMs: z.ZodOptional<z.ZodNumber>;
1418
+ }, z.core.$strict>>;
1419
+ compensates: z.ZodOptional<z.ZodObject<{
1420
+ transactionId: z.core.$ZodBranded<z.ZodString, "TransactionId", "out">;
1421
+ }, z.core.$strict>>;
1422
+ physicalFacts: z.ZodOptional<z.ZodObject<{
1423
+ zone: z.ZodOptional<z.ZodString>;
1424
+ speed: z.ZodOptional<z.ZodNumber>;
1425
+ force: z.ZodOptional<z.ZodNumber>;
1426
+ payload: z.ZodOptional<z.ZodNumber>;
1427
+ atEpochMs: z.ZodOptional<z.ZodNumber>;
1428
+ humanDistance: z.ZodOptional<z.ZodNumber>;
1429
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1430
+ supervised: z.ZodOptional<z.ZodBoolean>;
1431
+ }, z.core.$strict>>;
1432
+ safetyEnvelopeOutcome: z.ZodOptional<z.ZodObject<{
1433
+ envelopeDigest: z.ZodString;
1434
+ satisfied: z.ZodBoolean;
1435
+ violations: z.ZodArray<z.ZodEnum<{
1436
+ OUT_OF_ZONE: "OUT_OF_ZONE";
1437
+ FORBIDDEN_ZONE: "FORBIDDEN_ZONE";
1438
+ OVER_SPEED: "OVER_SPEED";
1439
+ OVER_FORCE: "OVER_FORCE";
1440
+ OVER_PAYLOAD: "OVER_PAYLOAD";
1441
+ OUTSIDE_TIME_WINDOW: "OUTSIDE_TIME_WINDOW";
1442
+ PROXIMITY_VIOLATION: "PROXIMITY_VIOLATION";
1443
+ ENVIRONMENT_VIOLATION: "ENVIRONMENT_VIOLATION";
1444
+ SUPERVISION_REQUIRED: "SUPERVISION_REQUIRED";
1445
+ }>>;
1446
+ emergencyStopped: z.ZodBoolean;
1447
+ failSafeApplied: z.ZodBoolean;
1448
+ }, z.core.$strict>>;
1075
1449
  uses: z.ZodNumber;
1076
1450
  materialParameters: z.ZodPipe<z.ZodUnknown, z.ZodTransform<Readonly<Record<string, import("./canonical-json.js").CanonicalJsonValue>>, unknown>>;
1077
1451
  initiatingContext: z.ZodEnum<{
@@ -1135,6 +1509,12 @@ export declare const ExecutionStageCommandSchema: z.ZodDiscriminatedUnion<[z.Zod
1135
1509
  }, z.core.$strict>, z.ZodObject<{
1136
1510
  kind: z.ZodLiteral<"protected_data-op">;
1137
1511
  operationDigest: z.ZodString;
1512
+ }, z.core.$strict>, z.ZodObject<{
1513
+ kind: z.ZodLiteral<"guardian-call">;
1514
+ callDigest: z.ZodString;
1515
+ }, z.core.$strict>, z.ZodObject<{
1516
+ kind: z.ZodLiteral<"clawlink-execution">;
1517
+ requestDigest: z.ZodString;
1138
1518
  }, z.core.$strict>], "kind">;
1139
1519
  preparedProjectionDigest: z.ZodString;
1140
1520
  }, z.core.$strict>, z.ZodObject<{
@@ -1167,8 +1547,8 @@ export declare const ExecutionStageCommandSchema: z.ZodDiscriminatedUnion<[z.Zod
1167
1547
  }, z.core.$strict>, z.ZodObject<{
1168
1548
  kind: z.ZodLiteral<"tool-response">;
1169
1549
  operation: z.ZodEnum<{
1170
- install: "install";
1171
1550
  enable: "enable";
1551
+ install: "install";
1172
1552
  invoke: "invoke";
1173
1553
  }>;
1174
1554
  toolName: z.ZodString;
@@ -1196,10 +1576,10 @@ export declare const ExecutionStageCommandSchema: z.ZodDiscriminatedUnion<[z.Zod
1196
1576
  }, z.core.$strict>, z.ZodObject<{
1197
1577
  kind: z.ZodLiteral<"file-effect">;
1198
1578
  operation: z.ZodEnum<{
1199
- read: "read";
1200
- write: "write";
1201
1579
  share: "share";
1202
1580
  delete: "delete";
1581
+ read: "read";
1582
+ write: "write";
1203
1583
  }>;
1204
1584
  path: z.ZodString;
1205
1585
  contentDigest: z.ZodNullable<z.ZodString>;
@@ -1209,8 +1589,8 @@ export declare const ExecutionStageCommandSchema: z.ZodDiscriminatedUnion<[z.Zod
1209
1589
  }, z.core.$strict>, z.ZodObject<{
1210
1590
  kind: z.ZodLiteral<"protected_data-effect">;
1211
1591
  operation: z.ZodEnum<{
1212
- use: "use";
1213
1592
  view: "view";
1593
+ use: "use";
1214
1594
  disclose: "disclose";
1215
1595
  persist: "persist";
1216
1596
  }>;
@@ -1218,6 +1598,19 @@ export declare const ExecutionStageCommandSchema: z.ZodDiscriminatedUnion<[z.Zod
1218
1598
  valueDigest: z.ZodString;
1219
1599
  counterparty: z.ZodNullable<z.ZodString>;
1220
1600
  maskedPreview: z.ZodNullable<z.ZodString>;
1601
+ }, z.core.$strict>, z.ZodObject<{
1602
+ kind: z.ZodLiteral<"guardian-effect">;
1603
+ operation: z.ZodString;
1604
+ subject: z.ZodNullable<z.ZodString>;
1605
+ status: z.ZodString;
1606
+ resultDigest: z.ZodString;
1607
+ detail: z.ZodString;
1608
+ }, z.core.$strict>, z.ZodObject<{
1609
+ kind: z.ZodLiteral<"clawlink-execution">;
1610
+ executionId: z.ZodString;
1611
+ executionStatus: z.ZodLiteral<"succeeded">;
1612
+ resultDigest: z.ZodString;
1613
+ detail: z.ZodString;
1221
1614
  }, z.core.$strict>], "kind">;
1222
1615
  observedDigest: z.ZodString;
1223
1616
  observedAtEpochMs: z.ZodNumber;
@@ -1286,6 +1679,7 @@ export declare const AgentExecutionReceiptSchema: z.ZodObject<{
1286
1679
  kind: z.ZodEnum<{
1287
1680
  "file-content": "file-content";
1288
1681
  "protected-value": "protected-value";
1682
+ "agent-secret": "agent-secret";
1289
1683
  }>;
1290
1684
  fieldRef: z.ZodNullable<z.ZodString>;
1291
1685
  path: z.ZodNullable<z.ZodString>;