@heynixie/contract 0.74.0 → 0.76.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.
@@ -91,6 +91,11 @@ export declare const contract: {
91
91
  }, z.core.$strip>>;
92
92
  }, z.core.$strip>>;
93
93
  recordedAt: z.ZodDate;
94
+ removal: z.ZodOptional<z.ZodObject<{
95
+ kind: z.ZodString;
96
+ sequence: z.ZodInt;
97
+ callSequence: z.ZodOptional<z.ZodInt>;
98
+ }, z.core.$strip>>;
94
99
  sequence: z.ZodInt;
95
100
  stop: z.ZodOptional<z.ZodObject<{
96
101
  cancelledActions: z.ZodArray<z.ZodObject<{
@@ -221,6 +226,11 @@ export declare const contract: {
221
226
  }, z.core.$strip>>;
222
227
  }, z.core.$strip>>;
223
228
  recordedAt: z.ZodDate;
229
+ removal: z.ZodOptional<z.ZodObject<{
230
+ kind: z.ZodString;
231
+ sequence: z.ZodInt;
232
+ callSequence: z.ZodOptional<z.ZodInt>;
233
+ }, z.core.$strip>>;
224
234
  sequence: z.ZodInt;
225
235
  stop: z.ZodOptional<z.ZodObject<{
226
236
  cancelledActions: z.ZodArray<z.ZodObject<{
@@ -431,6 +441,11 @@ export declare const contract: {
431
441
  started: z.ZodInt;
432
442
  }, z.core.$strip>;
433
443
  brief: z.ZodString;
444
+ closedBy: z.ZodOptional<z.ZodEnum<{
445
+ disposable: "disposable";
446
+ nixie: "nixie";
447
+ owner: "owner";
448
+ }>>;
434
449
  controls: z.ZodArray<z.ZodEnum<{
435
450
  close: "close";
436
451
  interrupt: "interrupt";
@@ -439,11 +454,13 @@ export declare const contract: {
439
454
  resume: "resume";
440
455
  stop: "stop";
441
456
  }>>;
457
+ disposable: z.ZodNullable<z.ZodBoolean>;
442
458
  isPauseRequested: z.ZodBoolean;
443
459
  isPausedByNixie: z.ZodBoolean;
444
460
  isTakingMessages: z.ZodBoolean;
445
461
  lastActivityAt: z.ZodDate;
446
462
  name: z.ZodString;
463
+ runner: z.ZodString;
447
464
  state: z.ZodEnum<{
448
465
  closed: "closed";
449
466
  done: "done";
@@ -472,6 +489,11 @@ export declare const contract: {
472
489
  started: z.ZodInt;
473
490
  }, z.core.$strip>;
474
491
  brief: z.ZodString;
492
+ closedBy: z.ZodOptional<z.ZodEnum<{
493
+ disposable: "disposable";
494
+ nixie: "nixie";
495
+ owner: "owner";
496
+ }>>;
475
497
  controls: z.ZodArray<z.ZodEnum<{
476
498
  close: "close";
477
499
  interrupt: "interrupt";
@@ -480,11 +502,13 @@ export declare const contract: {
480
502
  resume: "resume";
481
503
  stop: "stop";
482
504
  }>>;
505
+ disposable: z.ZodNullable<z.ZodBoolean>;
483
506
  isPauseRequested: z.ZodBoolean;
484
507
  isPausedByNixie: z.ZodBoolean;
485
508
  isTakingMessages: z.ZodBoolean;
486
509
  lastActivityAt: z.ZodDate;
487
510
  name: z.ZodString;
511
+ runner: z.ZodString;
488
512
  state: z.ZodEnum<{
489
513
  closed: "closed";
490
514
  done: "done";
@@ -579,6 +603,10 @@ export declare const contract: {
579
603
  }>;
580
604
  }, z.core.$strip>;
581
605
  };
606
+ RUNNER_LACKS_CONTROL: {
607
+ message: string;
608
+ status: number;
609
+ };
582
610
  }>, Record<never, never>>;
583
611
  resume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
584
612
  clientActionID: z.ZodUUID;
@@ -629,6 +657,10 @@ export declare const contract: {
629
657
  }>;
630
658
  }, z.core.$strip>;
631
659
  };
660
+ RUNNER_LACKS_CONTROL: {
661
+ message: string;
662
+ status: number;
663
+ };
632
664
  }>, Record<never, never>>;
633
665
  stop: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
634
666
  clientActionID: z.ZodUUID;
@@ -679,6 +711,10 @@ export declare const contract: {
679
711
  }>;
680
712
  }, z.core.$strip>;
681
713
  };
714
+ RUNNER_LACKS_CONTROL: {
715
+ message: string;
716
+ status: number;
717
+ };
682
718
  }>, Record<never, never>>;
683
719
  restart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
684
720
  clientActionID: z.ZodUUID;
@@ -729,6 +765,10 @@ export declare const contract: {
729
765
  }>;
730
766
  }, z.core.$strip>;
731
767
  };
768
+ RUNNER_LACKS_CONTROL: {
769
+ message: string;
770
+ status: number;
771
+ };
732
772
  }>, Record<never, never>>;
733
773
  close: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
734
774
  clientActionID: z.ZodUUID;
@@ -779,6 +819,10 @@ export declare const contract: {
779
819
  }>;
780
820
  }, z.core.$strip>;
781
821
  };
822
+ RUNNER_LACKS_CONTROL: {
823
+ message: string;
824
+ status: number;
825
+ };
782
826
  }>, {
783
827
  CONVERSATION_NEVER_CLOSES: {
784
828
  message: string;
@@ -834,6 +878,54 @@ export declare const contract: {
834
878
  }>;
835
879
  }, z.core.$strip>;
836
880
  };
881
+ RUNNER_LACKS_CONTROL: {
882
+ message: string;
883
+ status: number;
884
+ };
885
+ }>, Record<never, never>>;
886
+ setDisposable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
887
+ clientActionID: z.ZodUUID;
888
+ disposable: z.ZodBoolean;
889
+ taskID: z.ZodString;
890
+ }, z.core.$strip>, z.ZodObject<{
891
+ changedAt: z.ZodDate;
892
+ disposable: z.ZodBoolean;
893
+ taskID: z.ZodString;
894
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
895
+ UNAUTHORIZED: {
896
+ message: string;
897
+ status: number;
898
+ };
899
+ }>, {
900
+ CLIENT_ACTION_ID_REUSED: {
901
+ message: string;
902
+ status: number;
903
+ };
904
+ }>, {
905
+ TASK_NOT_FOUND: {
906
+ message: string;
907
+ status: number;
908
+ };
909
+ TASK_HAS_NO_MARK: {
910
+ message: string;
911
+ status: number;
912
+ };
913
+ TASK_STATE_REFUSED: {
914
+ message: string;
915
+ status: number;
916
+ data: z.ZodObject<{
917
+ state: z.ZodEnum<{
918
+ closed: "closed";
919
+ done: "done";
920
+ failed: "failed";
921
+ paused: "paused";
922
+ ready: "ready";
923
+ running: "running";
924
+ stopped: "stopped";
925
+ waiting: "waiting";
926
+ }>;
927
+ }, z.core.$strip>;
928
+ };
837
929
  }>, Record<never, never>>;
838
930
  };
839
931
  memory: {
@@ -2366,6 +2458,7 @@ export declare const contract: {
2366
2458
  data: z.ZodObject<{
2367
2459
  reason: z.ZodEnum<{
2368
2460
  empty: "empty";
2461
+ mandate: "mandate";
2369
2462
  widens: "widens";
2370
2463
  }>;
2371
2464
  }, z.core.$strip>;
@@ -2407,11 +2500,133 @@ export declare const contract: {
2407
2500
  data: z.ZodObject<{
2408
2501
  reason: z.ZodEnum<{
2409
2502
  empty: "empty";
2503
+ mandate: "mandate";
2410
2504
  widens: "widens";
2411
2505
  }>;
2412
2506
  }, z.core.$strip>;
2413
2507
  };
2414
2508
  }>, Record<never, never>>;
2509
+ editProposedRule: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2510
+ proposalID: z.ZodString;
2511
+ actionHash: z.ZodString;
2512
+ rule: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2513
+ clientActionID: z.ZodUUID;
2514
+ }, z.core.$strip>, z.ZodObject<{
2515
+ proposalID: z.ZodString;
2516
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2517
+ UNAUTHORIZED: {
2518
+ message: string;
2519
+ status: number;
2520
+ };
2521
+ }>, {
2522
+ CLIENT_ACTION_ID_REUSED: {
2523
+ message: string;
2524
+ status: number;
2525
+ };
2526
+ }>, {
2527
+ INVALID: {
2528
+ message: string;
2529
+ status: number;
2530
+ data: z.ZodObject<{
2531
+ faults: z.ZodArray<z.ZodString>;
2532
+ }, z.core.$strip>;
2533
+ };
2534
+ NOT_FOUND: {
2535
+ message: string;
2536
+ status: number;
2537
+ };
2538
+ CONFLICT: {
2539
+ message: string;
2540
+ status: number;
2541
+ data: z.ZodObject<{
2542
+ current: z.ZodObject<{
2543
+ actionHash: z.ZodString;
2544
+ }, z.core.$strip>;
2545
+ }, z.core.$strip>;
2546
+ };
2547
+ CLOSED: {
2548
+ message: string;
2549
+ status: number;
2550
+ data: z.ZodObject<{
2551
+ state: z.ZodEnum<{
2552
+ approved: "approved";
2553
+ declined: "declined";
2554
+ lapsed: "lapsed";
2555
+ withdrawn: "withdrawn";
2556
+ }>;
2557
+ }, z.core.$strip>;
2558
+ };
2559
+ }>, Record<never, never>>;
2560
+ proposeMandate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2561
+ title: z.ZodString;
2562
+ rules: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2563
+ expires: z.ZodOptional<z.ZodString>;
2564
+ clientActionID: z.ZodUUID;
2565
+ }, z.core.$strip>, z.ZodObject<{
2566
+ proposalID: z.ZodString;
2567
+ mandateID: z.ZodString;
2568
+ expires: z.ZodDate;
2569
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2570
+ UNAUTHORIZED: {
2571
+ message: string;
2572
+ status: number;
2573
+ };
2574
+ }>, {
2575
+ CLIENT_ACTION_ID_REUSED: {
2576
+ message: string;
2577
+ status: number;
2578
+ };
2579
+ }>, {
2580
+ INVALID: {
2581
+ message: string;
2582
+ status: number;
2583
+ data: z.ZodObject<{
2584
+ faults: z.ZodArray<z.ZodString>;
2585
+ }, z.core.$strip>;
2586
+ };
2587
+ }>, Record<never, never>>;
2588
+ listMandates: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
2589
+ mandates: z.ZodArray<z.ZodObject<{
2590
+ mandateID: z.ZodString;
2591
+ title: z.ZodNullable<z.ZodString>;
2592
+ rules: z.ZodArray<z.ZodObject<{
2593
+ ruleID: z.ZodString;
2594
+ sentence: z.ZodString;
2595
+ }, z.core.$strip>>;
2596
+ startedAt: z.ZodDate;
2597
+ expires: z.ZodDate;
2598
+ }, z.core.$strip>>;
2599
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2600
+ UNAUTHORIZED: {
2601
+ message: string;
2602
+ status: number;
2603
+ };
2604
+ }>, Record<never, never>>;
2605
+ endMandate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2606
+ mandateID: z.ZodString;
2607
+ clientActionID: z.ZodUUID;
2608
+ }, z.core.$strip>, z.ZodObject<{
2609
+ mandateID: z.ZodString;
2610
+ state: z.ZodEnum<{
2611
+ ended: "ended";
2612
+ expired: "expired";
2613
+ }>;
2614
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2615
+ UNAUTHORIZED: {
2616
+ message: string;
2617
+ status: number;
2618
+ };
2619
+ }>, {
2620
+ CLIENT_ACTION_ID_REUSED: {
2621
+ message: string;
2622
+ status: number;
2623
+ };
2624
+ }>, {
2625
+ NOT_FOUND: {
2626
+ message: string;
2627
+ status: number;
2628
+ };
2629
+ }>, Record<never, never>>;
2415
2630
  };
2416
2631
  approvals: {
2417
2632
  listItems: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
@@ -2466,6 +2681,7 @@ export declare const contract: {
2466
2681
  fields: z.ZodRecord<z.ZodString, z.ZodString>;
2467
2682
  ruleSentence: z.ZodNullable<z.ZodString>;
2468
2683
  approveLabel: z.ZodString;
2684
+ rule: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2469
2685
  memory: z.ZodOptional<z.ZodObject<{
2470
2686
  actionHash: z.ZodString;
2471
2687
  createdAt: z.ZodDate;
@@ -2495,6 +2711,12 @@ export declare const contract: {
2495
2711
  fact: "fact";
2496
2712
  self: "self";
2497
2713
  }>;
2714
+ labels: z.ZodNullable<z.ZodObject<{
2715
+ gist: z.ZodString;
2716
+ isLabelOnly: z.ZodBoolean;
2717
+ topic: z.ZodString;
2718
+ triggers: z.ZodArray<z.ZodString>;
2719
+ }, z.core.$strip>>;
2498
2720
  lapseAt: z.ZodDate;
2499
2721
  newSubject: z.ZodNullable<z.ZodEnum<{
2500
2722
  owner: "owner";
@@ -2522,6 +2744,7 @@ export declare const contract: {
2522
2744
  forgotten_evidence: "forgotten_evidence";
2523
2745
  from_photo: "from_photo";
2524
2746
  invisible_character: "invisible_character";
2747
+ labels: "labels";
2525
2748
  no_quote: "no_quote";
2526
2749
  other: "other";
2527
2750
  pinned: "pinned";
@@ -2573,6 +2796,54 @@ export declare const contract: {
2573
2796
  defer: "defer";
2574
2797
  }>>;
2575
2798
  }, z.core.$strip>>;
2799
+ unknownOutcomes: z.ZodArray<z.ZodObject<{
2800
+ group: z.ZodLiteral<"unknown_outcome">;
2801
+ action: z.ZodObject<{
2802
+ actionID: z.ZodString;
2803
+ tool: z.ZodString;
2804
+ sentence: z.ZodString;
2805
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
2806
+ riskClass: z.ZodEnum<{
2807
+ always_ask: "always_ask";
2808
+ lifting: "lifting";
2809
+ routine: "routine";
2810
+ }>;
2811
+ reason: z.ZodEnum<{
2812
+ inconclusive: "inconclusive";
2813
+ key_expired: "key_expired";
2814
+ no_reconcile: "no_reconcile";
2815
+ not_found_ask: "not_found_ask";
2816
+ unknown_streak: "unknown_streak";
2817
+ }>;
2818
+ becameUnknownAt: z.ZodDate;
2819
+ attempts: z.ZodArray<z.ZodObject<{
2820
+ attempt: z.ZodInt;
2821
+ at: z.ZodDate;
2822
+ }, z.core.$strip>>;
2823
+ checks: z.ZodArray<z.ZodObject<{
2824
+ answer: z.ZodEnum<{
2825
+ found: "found";
2826
+ inconclusive: "inconclusive";
2827
+ not_found: "not_found";
2828
+ }>;
2829
+ at: z.ZodDate;
2830
+ }, z.core.$strip>>;
2831
+ }, z.core.$strip>;
2832
+ task: z.ZodNullable<z.ZodObject<{
2833
+ id: z.ZodString;
2834
+ name: z.ZodString;
2835
+ }, z.core.$strip>>;
2836
+ choices: z.ZodArray<z.ZodEnum<{
2837
+ drop: "drop";
2838
+ happened: "happened";
2839
+ retry: "retry";
2840
+ }>>;
2841
+ passkeyChoices: z.ZodArray<z.ZodEnum<{
2842
+ drop: "drop";
2843
+ happened: "happened";
2844
+ retry: "retry";
2845
+ }>>;
2846
+ }, z.core.$strip>>;
2576
2847
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2577
2848
  UNAUTHORIZED: {
2578
2849
  message: string;
@@ -2621,6 +2892,7 @@ export declare const contract: {
2621
2892
  fields: z.ZodRecord<z.ZodString, z.ZodString>;
2622
2893
  ruleSentence: z.ZodNullable<z.ZodString>;
2623
2894
  approveLabel: z.ZodString;
2895
+ rule: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2624
2896
  memory: z.ZodOptional<z.ZodObject<{
2625
2897
  actionHash: z.ZodString;
2626
2898
  createdAt: z.ZodDate;
@@ -2650,6 +2922,12 @@ export declare const contract: {
2650
2922
  fact: "fact";
2651
2923
  self: "self";
2652
2924
  }>;
2925
+ labels: z.ZodNullable<z.ZodObject<{
2926
+ gist: z.ZodString;
2927
+ isLabelOnly: z.ZodBoolean;
2928
+ topic: z.ZodString;
2929
+ triggers: z.ZodArray<z.ZodString>;
2930
+ }, z.core.$strip>>;
2653
2931
  lapseAt: z.ZodDate;
2654
2932
  newSubject: z.ZodNullable<z.ZodEnum<{
2655
2933
  owner: "owner";
@@ -2677,6 +2955,7 @@ export declare const contract: {
2677
2955
  forgotten_evidence: "forgotten_evidence";
2678
2956
  from_photo: "from_photo";
2679
2957
  invisible_character: "invisible_character";
2958
+ labels: "labels";
2680
2959
  no_quote: "no_quote";
2681
2960
  other: "other";
2682
2961
  pinned: "pinned";
@@ -2860,6 +3139,79 @@ export declare const contract: {
2860
3139
  status: number;
2861
3140
  };
2862
3141
  }>, Record<never, never>>;
3142
+ answerUnknownOutcome: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3143
+ actionID: z.ZodString;
3144
+ choice: z.ZodEnum<{
3145
+ drop: "drop";
3146
+ happened: "happened";
3147
+ retry: "retry";
3148
+ }>;
3149
+ clientActionID: z.ZodUUID;
3150
+ passkey: z.ZodOptional<z.ZodObject<{
3151
+ id: z.ZodString;
3152
+ rawId: z.ZodString;
3153
+ response: z.ZodObject<{
3154
+ clientDataJSON: z.ZodString;
3155
+ authenticatorData: z.ZodString;
3156
+ signature: z.ZodString;
3157
+ userHandle: z.ZodOptional<z.ZodString>;
3158
+ }, z.core.$strip>;
3159
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
3160
+ "cross-platform": "cross-platform";
3161
+ platform: "platform";
3162
+ }>>;
3163
+ clientExtensionResults: z.ZodObject<{}, z.core.$strip>;
3164
+ type: z.ZodLiteral<"public-key">;
3165
+ }, z.core.$strip>>;
3166
+ }, z.core.$strip>, z.ZodObject<{
3167
+ actionID: z.ZodString;
3168
+ choice: z.ZodEnum<{
3169
+ drop: "drop";
3170
+ happened: "happened";
3171
+ retry: "retry";
3172
+ }>;
3173
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
3174
+ UNAUTHORIZED: {
3175
+ message: string;
3176
+ status: number;
3177
+ };
3178
+ }>, {
3179
+ CLIENT_ACTION_ID_REUSED: {
3180
+ message: string;
3181
+ status: number;
3182
+ };
3183
+ }>, {
3184
+ NO_PASSKEY: {
3185
+ message: string;
3186
+ status: number;
3187
+ };
3188
+ PASSKEY_FAILED: {
3189
+ message: string;
3190
+ status: number;
3191
+ data: z.ZodObject<{
3192
+ reason: z.ZodEnum<{
3193
+ binding: "binding";
3194
+ counter: "counter";
3195
+ no_user_verification: "no_user_verification";
3196
+ origin: "origin";
3197
+ signature: "signature";
3198
+ unknown_challenge: "unknown_challenge";
3199
+ unknown_passkey: "unknown_passkey";
3200
+ }>;
3201
+ }, z.core.$strip>;
3202
+ };
3203
+ NOT_ALLOWED: {
3204
+ message: string;
3205
+ status: number;
3206
+ data: z.ZodObject<{
3207
+ reason: z.ZodString;
3208
+ }, z.core.$strip>;
3209
+ };
3210
+ PASSKEY_REQUIRED: {
3211
+ message: string;
3212
+ status: number;
3213
+ };
3214
+ }>, Record<never, never>>;
2863
3215
  answerProposals: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2864
3216
  answers: z.ZodArray<z.ZodObject<{
2865
3217
  proposalID: z.ZodString;
@@ -2952,6 +3304,10 @@ export declare const contract: {
2952
3304
  defer: "defer";
2953
3305
  }>;
2954
3306
  ruleHash: z.ZodOptional<z.ZodString>;
3307
+ }, z.core.$strip>, z.ZodObject<{
3308
+ kind: z.ZodLiteral<"unknown_outcome">;
3309
+ actionID: z.ZodString;
3310
+ choice: z.ZodLiteral<"retry">;
2955
3311
  }, z.core.$strip>, z.ZodObject<{
2956
3312
  kind: z.ZodLiteral<"register">;
2957
3313
  }, z.core.$strip>, z.ZodObject<{
@@ -3279,6 +3635,11 @@ export declare const contract: {
3279
3635
  }[];
3280
3636
  } | undefined;
3281
3637
  recordedAt: Date;
3638
+ removal?: {
3639
+ kind: string;
3640
+ sequence: number;
3641
+ callSequence?: number | undefined;
3642
+ } | undefined;
3282
3643
  sequence: number;
3283
3644
  stop?: {
3284
3645
  cancelledActions: {
@@ -3390,6 +3751,11 @@ export declare const contract: {
3390
3751
  }[];
3391
3752
  } | undefined;
3392
3753
  recordedAt: Date;
3754
+ removal?: {
3755
+ kind: string;
3756
+ sequence: number;
3757
+ callSequence?: number | undefined;
3758
+ } | undefined;
3393
3759
  sequence: number;
3394
3760
  stop?: {
3395
3761
  cancelledActions: {
@@ -3512,6 +3878,11 @@ export declare const contract: {
3512
3878
  }[];
3513
3879
  } | undefined;
3514
3880
  recordedAt: Date;
3881
+ removal?: {
3882
+ kind: string;
3883
+ sequence: number;
3884
+ callSequence?: number | undefined;
3885
+ } | undefined;
3515
3886
  sequence: number;
3516
3887
  stop?: {
3517
3888
  cancelledActions: {
@@ -3623,6 +3994,11 @@ export declare const contract: {
3623
3994
  }[];
3624
3995
  } | undefined;
3625
3996
  recordedAt: Date;
3997
+ removal?: {
3998
+ kind: string;
3999
+ sequence: number;
4000
+ callSequence?: number | undefined;
4001
+ } | undefined;
3626
4002
  sequence: number;
3627
4003
  stop?: {
3628
4004
  cancelledActions: {
@@ -1 +1 @@
1
- export declare const forgettableKinds: readonly ['action.outcome', 'action.queued', 'action.retry_scheduled', 'model.compaction_failed', 'model.reply', 'model.session_summarized', 'owner_message', 'passkey.registered', 'policy.action_answered', 'policy.action_proposed', 'policy.contact_marked_known', 'prompts.override_rejected', 'proposals.deferred', 'session.enrolled', 'session.labelled', 'session_kept', 'skills.write_rejected', 'task.created', 'task.run_ended', 'task.run_report_requested', 'task.step_errored', 'task_message', 'tool_called', 'tool_result'];
1
+ export declare const forgettableKinds: readonly ['action.outcome', 'action.queued', 'action.reconcile_checked', 'action.retry_scheduled', 'model.compaction_failed', 'model.reply', 'model.session_summarized', 'owner_message', 'passkey.registered', 'policy.action_answered', 'policy.action_proposed', 'policy.contact_marked_known', 'prompts.override_rejected', 'proposals.deferred', 'session.enrolled', 'session.labelled', 'rules.mandate_proposed', 'rules.rule_proposed', 'session_kept', 'skills.write_rejected', 'task.created', 'task.run_ended', 'task.run_report_requested', 'task.step_errored', 'task_message', 'tool_called', 'tool_result'];
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ export declare const forgottenItemsSchema: z.ZodObject<{
3
+ itemIDs: z.ZodArray<z.ZodString>;
4
+ backup: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ state: z.ZodLiteral<"off">;
6
+ }, z.core.$strip>, z.ZodObject<{
7
+ state: z.ZodLiteral<"pending">;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ state: z.ZodLiteral<"failed">;
10
+ failure: z.ZodString;
11
+ }, z.core.$strip>, z.ZodObject<{
12
+ state: z.ZodLiteral<"complete">;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ state: z.ZodLiteral<"unknown">;
15
+ }, z.core.$strip>], "state">;
16
+ }, z.core.$strip>;