@engramx/idl 0.16.0-rc.14 → 0.16.0-rc.16

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.
@@ -87,14 +87,14 @@ export const idlFactory = ({ IDL }) => {
87
87
  Unavailable: IDL.Text,
88
88
  Conflict: IDL.Text,
89
89
  });
90
- const Result_72 = IDL.Variant({ Ok: AgentRecord, Err: Error });
90
+ const Result_80 = IDL.Variant({ Ok: AgentRecord, Err: Error });
91
91
  const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
92
92
  const HttpRequestResult = IDL.Record({
93
93
  status: IDL.Nat,
94
94
  body: IDL.Vec(IDL.Nat8),
95
95
  headers: IDL.Vec(HttpHeader),
96
96
  });
97
- const Result_71 = IDL.Variant({
97
+ const Result_79 = IDL.Variant({
98
98
  Ok: IDL.Record({ activatesAtNs: IDL.Int }),
99
99
  Err: Error,
100
100
  });
@@ -107,7 +107,7 @@ export const idlFactory = ({ IDL }) => {
107
107
  cooloffEndsAtNs: IDL.Int,
108
108
  typeId: IDL.Vec(IDL.Nat8),
109
109
  });
110
- const Result_70 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
110
+ const Result_78 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
111
111
  const GuardianPermissions = IDL.Record({
112
112
  canFreezePayments: IDL.Bool,
113
113
  canRevokeAgents: IDL.Bool,
@@ -115,6 +115,7 @@ export const idlFactory = ({ IDL }) => {
115
115
  canPauseWrites: IDL.Bool,
116
116
  });
117
117
  const Result_1 = IDL.Variant({ Ok: IDL.Null, Err: Error });
118
+ const Result_12 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
118
119
  const MemorySource = IDL.Variant({
119
120
  sessionTranscript: IDL.Null,
120
121
  human: IDL.Null,
@@ -145,15 +146,14 @@ export const idlFactory = ({ IDL }) => {
145
146
  historyBytesDelta: IDL.Int,
146
147
  opCount: IDL.Nat,
147
148
  });
148
- const Result_69 = IDL.Variant({ Ok: CondenseResult, Err: Error });
149
+ const Result_77 = IDL.Variant({ Ok: CondenseResult, Err: Error });
149
150
  const BackupType = IDL.Variant({
150
151
  PartialSnapshot: IDL.Null,
151
152
  IncrementalDiff: IDL.Null,
152
153
  FullSnapshot: IDL.Null,
153
154
  });
154
- const Result_45 = IDL.Variant({ Ok: IDL.Text, Err: Error });
155
- const Result_61 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
156
- const Result_12 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
155
+ const Result_51 = IDL.Variant({ Ok: IDL.Text, Err: Error });
156
+ const Result_67 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
157
157
  const MemoryRangeExport = IDL.Record({
158
158
  seq: IDL.Nat,
159
159
  toSeq: IDL.Nat,
@@ -163,7 +163,7 @@ export const idlFactory = ({ IDL }) => {
163
163
  fromSeq: IDL.Nat,
164
164
  authorFilter: IDL.Opt(IDL.Principal),
165
165
  });
166
- const Result_68 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
166
+ const Result_76 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
167
167
  const AlertConfig = IDL.Record({
168
168
  url: IDL.Opt(IDL.Text),
169
169
  money: IDL.Bool,
@@ -180,8 +180,8 @@ export const idlFactory = ({ IDL }) => {
180
180
  disabled: IDL.Bool,
181
181
  config: AlertConfig,
182
182
  });
183
- const Result_59 = IDL.Variant({ Ok: AlertStatus, Err: Error });
184
- const Result_55 = IDL.Variant({
183
+ const Result_65 = IDL.Variant({ Ok: AlertStatus, Err: Error });
184
+ const Result_61 = IDL.Variant({
185
185
  Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
186
186
  Err: Error,
187
187
  });
@@ -193,12 +193,12 @@ export const idlFactory = ({ IDL }) => {
193
193
  produced: IDL.Nat,
194
194
  firstPaymentDay: IDL.Opt(IDL.Nat),
195
195
  });
196
- const Page_21 = IDL.Record({
196
+ const Page_25 = IDL.Record({
197
197
  total: IDL.Nat,
198
198
  withheld: IDL.Nat,
199
199
  items: IDL.Vec(OwnerRow),
200
200
  });
201
- const Result_66 = IDL.Variant({ Ok: Page_21, Err: Error });
201
+ const Result_74 = IDL.Variant({ Ok: Page_25, Err: Error });
202
202
  const Role = IDL.Variant({
203
203
  Anonymous: IDL.Null,
204
204
  Viewer: IDL.Null,
@@ -237,7 +237,7 @@ export const idlFactory = ({ IDL }) => {
237
237
  earliest: IDL.Nat,
238
238
  capped: IDL.Bool,
239
239
  });
240
- const Result_65 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
240
+ const Result_73 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
241
241
  const AnchorPushStatus = IDL.Record({
242
242
  anchorTickAtNs: IDL.Opt(IDL.Int),
243
243
  okAtNs: IDL.Opt(IDL.Int),
@@ -273,7 +273,26 @@ export const idlFactory = ({ IDL }) => {
273
273
  chunkCount: IDL.Nat,
274
274
  parentBackupId: IDL.Opt(IDL.Text),
275
275
  });
276
- const Result_64 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
276
+ const Result_72 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
277
+ const BackupRetention = IDL.Record({
278
+ maxBackups: IDL.Nat,
279
+ isDefault: IDL.Bool,
280
+ dbType: IDL.Text,
281
+ });
282
+ const Result_71 = IDL.Variant({ Ok: BackupRetention, Err: Error });
283
+ const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
284
+ const BrakePull = IDL.Record({
285
+ by: IDL.Principal,
286
+ atNs: IDL.Int,
287
+ role: BrakeRole,
288
+ reason: IDL.Opt(IDL.Text),
289
+ });
290
+ const BrakeState = IDL.Record({
291
+ on: IDL.Bool,
292
+ pull: IDL.Opt(BrakePull),
293
+ });
294
+ const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
295
+ const Result_70 = IDL.Variant({ Ok: Brakes, Err: Error });
277
296
  const CertifiedAuditHead = IDL.Record({
278
297
  total: IDL.Nat,
279
298
  certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -285,14 +304,14 @@ export const idlFactory = ({ IDL }) => {
285
304
  root: IDL.Principal,
286
305
  remaining: IDL.Nat,
287
306
  });
288
- const Result_63 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
307
+ const Result_69 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
289
308
  const ChildOpening = IDL.Record({
290
309
  attachCycles: IDL.Nat,
291
310
  balance: IDL.Nat,
292
311
  allowances: IDL.Vec(ChildAllowanceRow),
293
312
  floorCycles: IDL.Nat,
294
313
  });
295
- const Result_62 = IDL.Variant({ Ok: ChildOpening, Err: Error });
314
+ const Result_68 = IDL.Variant({ Ok: ChildOpening, Err: Error });
296
315
  const ServiceEntry = IDL.Record({
297
316
  endpoint: IDL.Text,
298
317
  name: IDL.Text,
@@ -310,7 +329,7 @@ export const idlFactory = ({ IDL }) => {
310
329
  pay: IDL.Text,
311
330
  engramRegistration: IDL.Text,
312
331
  });
313
- const Result_60 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
332
+ const Result_66 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
314
333
  const GenesisNote = IDL.Record({
315
334
  predecessorSize: IDL.Opt(IDL.Nat),
316
335
  predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -354,7 +373,7 @@ export const idlFactory = ({ IDL }) => {
354
373
  versions: IDL.Vec(MemoryVersionSummary),
355
374
  evictedCount: IDL.Nat,
356
375
  });
357
- const Result_58 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
376
+ const Result_64 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
358
377
  const MemoryMaintainStatus = IDL.Record({
359
378
  attachOk: IDL.Bool,
360
379
  attachDetail: IDL.Text,
@@ -382,7 +401,7 @@ export const idlFactory = ({ IDL }) => {
382
401
  entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
383
402
  guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
384
403
  });
385
- const Result_57 = IDL.Variant({
404
+ const Result_63 = IDL.Variant({
386
405
  Ok: MemoryRetentionPolicy,
387
406
  Err: Error,
388
407
  });
@@ -407,19 +426,19 @@ export const idlFactory = ({ IDL }) => {
407
426
  cyclesBalance: IDL.Nat,
408
427
  unknownSessionRefusals: IDL.Nat,
409
428
  });
410
- const Result_56 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
429
+ const Result_62 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
411
430
  const SigningFloorStatus = IDL.Record({
412
431
  floor: IDL.Nat,
413
432
  signaturesAboveFloor: IDL.Nat,
414
433
  balance: IDL.Nat,
415
434
  perSignature: IDL.Nat,
416
435
  });
417
- const Result_54 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
436
+ const Result_60 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
418
437
  const SpendCeiling = IDL.Record({
419
438
  spentToday: IDL.Nat,
420
439
  maxPerDay: IDL.Opt(IDL.Nat),
421
440
  });
422
- const Result_53 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
441
+ const Result_59 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
423
442
  const SpendingPolicy = IDL.Record({
424
443
  maxSessionDeposit: IDL.Opt(IDL.Nat),
425
444
  blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
@@ -431,7 +450,7 @@ export const idlFactory = ({ IDL }) => {
431
450
  allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
432
451
  maxConcurrentSessions: IDL.Opt(IDL.Nat),
433
452
  });
434
- const Result_52 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
453
+ const Result_58 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
435
454
  const StorageReport = IDL.Record({
436
455
  sessionFilesSize: IDL.Nat,
437
456
  totalFiles: IDL.Nat,
@@ -446,7 +465,7 @@ export const idlFactory = ({ IDL }) => {
446
465
  versionHistoryCount: IDL.Nat,
447
466
  sessionFilesCount: IDL.Nat,
448
467
  });
449
- const Result_51 = IDL.Variant({ Ok: StorageReport, Err: Error });
468
+ const Result_57 = IDL.Variant({ Ok: StorageReport, Err: Error });
450
469
  const TimerHealth = IDL.Record({
451
470
  jobExpiryFastMode: IDL.Bool,
452
471
  jobExpiryArmed: IDL.Bool,
@@ -459,14 +478,14 @@ export const idlFactory = ({ IDL }) => {
459
478
  ckusdtE6s: IDL.Nat,
460
479
  cycles: IDL.Nat,
461
480
  });
462
- const Result_50 = IDL.Variant({ Ok: WalletBalances, Err: Error });
481
+ const Result_56 = IDL.Variant({ Ok: WalletBalances, Err: Error });
463
482
  const WorldIdConfig = IDL.Record({
464
483
  action: IDL.Text,
465
484
  appId: IDL.Text,
466
485
  rpId: IDL.Text,
467
486
  configured: IDL.Bool,
468
487
  });
469
- const Result_49 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
488
+ const Result_55 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
470
489
  const WorldIdRpContext = IDL.Record({
471
490
  signature: IDL.Text,
472
491
  expiresAt: IDL.Nat,
@@ -474,8 +493,8 @@ export const idlFactory = ({ IDL }) => {
474
493
  rpId: IDL.Text,
475
494
  nonce: IDL.Text,
476
495
  });
477
- const Result_48 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
478
- const Result_47 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
496
+ const Result_54 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
497
+ const Result_53 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
479
498
  const HttpRequest = IDL.Record({
480
499
  url: IDL.Text,
481
500
  method: IDL.Text,
@@ -488,25 +507,41 @@ export const idlFactory = ({ IDL }) => {
488
507
  upgrade: IDL.Opt(IDL.Bool),
489
508
  status_code: IDL.Nat16,
490
509
  });
491
- const Result_46 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
510
+ const Result_52 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
492
511
  const ActivitySnapshot = IDL.Record({
493
512
  atNs: IDL.Int,
494
513
  memoryReads: IDL.Nat,
495
514
  memoryWrites: IDL.Nat,
496
515
  });
497
- const Page_20 = IDL.Record({
516
+ const Page_24 = IDL.Record({
498
517
  total: IDL.Nat,
499
518
  withheld: IDL.Nat,
500
519
  items: IDL.Vec(ActivitySnapshot),
501
520
  });
502
- const Result_44 = IDL.Variant({ Ok: Page_20, Err: Error });
503
- const Page_19 = IDL.Record({
521
+ const Result_50 = IDL.Variant({ Ok: Page_24, Err: Error });
522
+ const AgentSpendRow = IDL.Record({
523
+ agent: IDL.Principal,
524
+ spentToday: IDL.Opt(IDL.Nat),
525
+ root: IDL.Principal,
526
+ maxPerDay: IDL.Opt(IDL.Nat),
527
+ });
528
+ const Page_23 = IDL.Record({
529
+ total: IDL.Nat,
530
+ withheld: IDL.Nat,
531
+ items: IDL.Vec(AgentSpendRow),
532
+ });
533
+ const AgentSpendToday = IDL.Record({
534
+ dayStartNs: IDL.Int,
535
+ agents: Page_23,
536
+ });
537
+ const Result_49 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
538
+ const Page_22 = IDL.Record({
504
539
  total: IDL.Nat,
505
540
  withheld: IDL.Nat,
506
541
  items: IDL.Vec(AgentRecord),
507
542
  });
508
- const Result_43 = IDL.Variant({ Ok: Page_19, Err: Error });
509
- const Page_18 = IDL.Record({
543
+ const Result_48 = IDL.Variant({ Ok: Page_22, Err: Error });
544
+ const Page_21 = IDL.Record({
510
545
  total: IDL.Nat,
511
546
  withheld: IDL.Nat,
512
547
  items: IDL.Vec(
@@ -517,7 +552,7 @@ export const idlFactory = ({ IDL }) => {
517
552
  }),
518
553
  ),
519
554
  });
520
- const Result_42 = IDL.Variant({ Ok: Page_18, Err: Error });
555
+ const Result_47 = IDL.Variant({ Ok: Page_21, Err: Error });
521
556
  const ApprovalStatus = IDL.Variant({
522
557
  Used: IDL.Null,
523
558
  Approved: IDL.Null,
@@ -541,12 +576,12 @@ export const idlFactory = ({ IDL }) => {
541
576
  caller: IDL.Principal,
542
577
  amount: IDL.Nat,
543
578
  });
544
- const Page_6 = IDL.Record({
579
+ const Page_8 = IDL.Record({
545
580
  total: IDL.Nat,
546
581
  withheld: IDL.Nat,
547
582
  items: IDL.Vec(ApprovalRequest),
548
583
  });
549
- const Result_29 = IDL.Variant({ Ok: Page_6, Err: Error });
584
+ const Result_33 = IDL.Variant({ Ok: Page_8, Err: Error });
550
585
  const SealedEntry = IDL.Record({
551
586
  id: IDL.Nat,
552
587
  entryHash: IDL.Vec(IDL.Nat8),
@@ -559,13 +594,13 @@ export const idlFactory = ({ IDL }) => {
559
594
  items: IDL.Vec(AuditEntry),
560
595
  hashFirstFrom: IDL.Nat,
561
596
  });
562
- const Result_41 = IDL.Variant({ Ok: RecordPage, Err: Error });
563
- const Page_17 = IDL.Record({
597
+ const Result_46 = IDL.Variant({ Ok: RecordPage, Err: Error });
598
+ const Page_20 = IDL.Record({
564
599
  total: IDL.Nat,
565
600
  withheld: IDL.Nat,
566
601
  items: IDL.Vec(BackupMetadata),
567
602
  });
568
- const Result_40 = IDL.Variant({ Ok: Page_17, Err: Error });
603
+ const Result_45 = IDL.Variant({ Ok: Page_20, Err: Error });
569
604
  const BearerTokenStatus = IDL.Variant({
570
605
  Active: IDL.Null,
571
606
  Revoked: IDL.Null,
@@ -582,12 +617,12 @@ export const idlFactory = ({ IDL }) => {
582
617
  tokenHash: IDL.Text,
583
618
  issuedBy: IDL.Principal,
584
619
  });
585
- const Page_16 = IDL.Record({
620
+ const Page_19 = IDL.Record({
586
621
  total: IDL.Nat,
587
622
  withheld: IDL.Nat,
588
623
  items: IDL.Vec(BearerToken),
589
624
  });
590
- const Result_39 = IDL.Variant({ Ok: Page_16, Err: Error });
625
+ const Result_44 = IDL.Variant({ Ok: Page_19, Err: Error });
591
626
  const CondenseCheckpointRow = IDL.Record({
592
627
  by: IDL.Principal,
593
628
  seq: IDL.Nat,
@@ -598,45 +633,45 @@ export const idlFactory = ({ IDL }) => {
598
633
  headAtBoundary: IDL.Vec(IDL.Nat8),
599
634
  opCount: IDL.Nat,
600
635
  });
601
- const Page_15 = IDL.Record({
636
+ const Page_18 = IDL.Record({
602
637
  total: IDL.Nat,
603
638
  withheld: IDL.Nat,
604
639
  items: IDL.Vec(CondenseCheckpointRow),
605
640
  });
606
641
  const CheckpointPage = IDL.Record({
607
642
  firstAvailableSeq: IDL.Nat,
608
- page: Page_15,
643
+ page: Page_18,
609
644
  scannedThroughSeq: IDL.Nat,
610
645
  });
611
- const Result_38 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
646
+ const Result_43 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
612
647
  const CycleSnapshot = IDL.Record({
613
648
  seq: IDL.Nat,
614
649
  source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
615
650
  atNs: IDL.Int,
616
651
  cycles: IDL.Nat,
617
652
  });
618
- const Page_14 = IDL.Record({
653
+ const Page_17 = IDL.Record({
619
654
  total: IDL.Nat,
620
655
  withheld: IDL.Nat,
621
656
  items: IDL.Vec(CycleSnapshot),
622
657
  });
623
- const Result_37 = IDL.Variant({ Ok: Page_14, Err: Error });
624
- const Page_13 = IDL.Record({
658
+ const Result_42 = IDL.Variant({ Ok: Page_17, Err: Error });
659
+ const Page_16 = IDL.Record({
625
660
  total: IDL.Nat,
626
661
  withheld: IDL.Nat,
627
662
  items: IDL.Vec(IDL.Text),
628
663
  });
629
- const Result_36 = IDL.Variant({ Ok: Page_13, Err: Error });
664
+ const Result_41 = IDL.Variant({ Ok: Page_16, Err: Error });
630
665
  const Eip712Destination = IDL.Record({
631
666
  activeFromNs: IDL.Int,
632
667
  value: IDL.Text,
633
668
  });
634
- const Page_12 = IDL.Record({
669
+ const Page_15 = IDL.Record({
635
670
  total: IDL.Nat,
636
671
  withheld: IDL.Nat,
637
672
  items: IDL.Vec(Eip712Destination),
638
673
  });
639
- const Result_35 = IDL.Variant({ Ok: Page_12, Err: Error });
674
+ const Result_40 = IDL.Variant({ Ok: Page_15, Err: Error });
640
675
  const AuthorityClass = IDL.Variant({
641
676
  standingAuthority: IDL.Null,
642
677
  valueBearing: IDL.Null,
@@ -661,18 +696,33 @@ export const idlFactory = ({ IDL }) => {
661
696
  domainVersion: IDL.Text,
662
697
  ackIrrevocable: IDL.Bool,
663
698
  });
664
- const Page_11 = IDL.Record({
699
+ const Page_14 = IDL.Record({
665
700
  total: IDL.Nat,
666
701
  withheld: IDL.Nat,
667
702
  items: IDL.Vec(Eip712TypeView),
668
703
  });
669
- const Result_34 = IDL.Variant({ Ok: Page_11, Err: Error });
670
- const Page_10 = IDL.Record({
704
+ const Result_39 = IDL.Variant({ Ok: Page_14, Err: Error });
705
+ const GuardianDispute = IDL.Record({
706
+ about: IDL.Nat,
707
+ atNs: IDL.Int,
708
+ path: IDL.Opt(IDL.Text),
709
+ auditId: IDL.Nat,
710
+ version: IDL.Opt(IDL.Nat),
711
+ guardian: IDL.Principal,
712
+ reason: IDL.Text,
713
+ });
714
+ const Page_13 = IDL.Record({
715
+ total: IDL.Nat,
716
+ withheld: IDL.Nat,
717
+ items: IDL.Vec(GuardianDispute),
718
+ });
719
+ const Result_38 = IDL.Variant({ Ok: Page_13, Err: Error });
720
+ const Page_12 = IDL.Record({
671
721
  total: IDL.Nat,
672
722
  withheld: IDL.Nat,
673
723
  items: IDL.Vec(GuardianRecord),
674
724
  });
675
- const Result_33 = IDL.Variant({ Ok: Page_10, Err: Error });
725
+ const Result_37 = IDL.Variant({ Ok: Page_12, Err: Error });
676
726
  const ExportReceiptRow = IDL.Record({
677
727
  by: IDL.Principal,
678
728
  seq: IDL.Nat,
@@ -682,29 +732,29 @@ export const idlFactory = ({ IDL }) => {
682
732
  fromSeq: IDL.Nat,
683
733
  authorFilter: IDL.Opt(IDL.Principal),
684
734
  });
685
- const Page_9 = IDL.Record({
735
+ const Page_11 = IDL.Record({
686
736
  total: IDL.Nat,
687
737
  withheld: IDL.Nat,
688
738
  items: IDL.Vec(ExportReceiptRow),
689
739
  });
690
740
  const ReceiptPage = IDL.Record({
691
741
  firstAvailableSeq: IDL.Nat,
692
- page: Page_9,
742
+ page: Page_11,
693
743
  scannedThroughSeq: IDL.Nat,
694
744
  });
695
- const Result_32 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
696
- const Page_8 = IDL.Record({
745
+ const Result_36 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
746
+ const MemoryFileRow = IDL.Record({
747
+ path: IDL.Text,
748
+ version: IDL.Nat,
749
+ lastModifiedBy: IDL.Opt(IDL.Principal),
750
+ lastModifiedAtNs: IDL.Int,
751
+ });
752
+ const Page_10 = IDL.Record({
697
753
  total: IDL.Nat,
698
754
  withheld: IDL.Nat,
699
- items: IDL.Vec(
700
- IDL.Record({
701
- path: IDL.Text,
702
- version: IDL.Nat,
703
- lastModifiedAtNs: IDL.Int,
704
- }),
705
- ),
755
+ items: IDL.Vec(MemoryFileRow),
706
756
  });
707
- const Result_31 = IDL.Variant({ Ok: Page_8, Err: Error });
757
+ const Result_35 = IDL.Variant({ Ok: Page_10, Err: Error });
708
758
  const MemoryLogChunkRef = IDL.Record({
709
759
  hash: IDL.Vec(IDL.Nat8),
710
760
  size: IDL.Nat,
@@ -773,7 +823,7 @@ export const idlFactory = ({ IDL }) => {
773
823
  size: IDL.Nat,
774
824
  version: IDL.Nat,
775
825
  });
776
- const Page_7 = IDL.Record({
826
+ const Page_9 = IDL.Record({
777
827
  total: IDL.Nat,
778
828
  withheld: IDL.Nat,
779
829
  items: IDL.Vec(MemoryLogEvent),
@@ -781,9 +831,9 @@ export const idlFactory = ({ IDL }) => {
781
831
  const LogPage = IDL.Record({
782
832
  firstAvailableSeq: IDL.Nat,
783
833
  head: IDL.Vec(IDL.Nat8),
784
- page: Page_7,
834
+ page: Page_9,
785
835
  });
786
- const Result_30 = IDL.Variant({ Ok: LogPage, Err: Error });
836
+ const Result_34 = IDL.Variant({ Ok: LogPage, Err: Error });
787
837
  const EngramSessionStatus = IDL.Variant({
788
838
  closed: IDL.Null,
789
839
  expired: IDL.Null,
@@ -802,24 +852,24 @@ export const idlFactory = ({ IDL }) => {
802
852
  remaining: IDL.Nat,
803
853
  payer: IDL.Principal,
804
854
  });
805
- const Page_5 = IDL.Record({
855
+ const Page_7 = IDL.Record({
806
856
  total: IDL.Nat,
807
857
  withheld: IDL.Nat,
808
858
  items: IDL.Vec(EngramSessionState),
809
859
  });
810
- const Result_28 = IDL.Variant({ Ok: Page_5, Err: Error });
860
+ const Result_32 = IDL.Variant({ Ok: Page_7, Err: Error });
811
861
  const OwnershipTransfer = IDL.Record({
812
862
  to: IDL.Principal,
813
863
  atNs: IDL.Int,
814
864
  from: IDL.Opt(IDL.Principal),
815
865
  authorizedBy: IDL.Principal,
816
866
  });
817
- const Page_4 = IDL.Record({
867
+ const Page_6 = IDL.Record({
818
868
  total: IDL.Nat,
819
869
  withheld: IDL.Nat,
820
870
  items: IDL.Vec(OwnershipTransfer),
821
871
  });
822
- const Result_27 = IDL.Variant({ Ok: Page_4, Err: Error });
872
+ const Result_31 = IDL.Variant({ Ok: Page_6, Err: Error });
823
873
  const MarketplacePaymentSignatures = IDL.Record({
824
874
  marketplace: IDL.Principal,
825
875
  sharedSignedToday: IDL.Nat,
@@ -830,7 +880,7 @@ export const idlFactory = ({ IDL }) => {
830
880
  signedToday: IDL.Nat,
831
881
  root: IDL.Principal,
832
882
  });
833
- const Page_3 = IDL.Record({
883
+ const Page_5 = IDL.Record({
834
884
  total: IDL.Nat,
835
885
  withheld: IDL.Nat,
836
886
  items: IDL.Vec(AgentPaymentSignatures),
@@ -838,10 +888,10 @@ export const idlFactory = ({ IDL }) => {
838
888
  const PaymentSignatureCounts = IDL.Record({
839
889
  day: IDL.Int,
840
890
  marketplace: IDL.Opt(MarketplacePaymentSignatures),
841
- agents: Page_3,
891
+ agents: Page_5,
842
892
  limit: IDL.Nat,
843
893
  });
844
- const Result_26 = IDL.Variant({
894
+ const Result_30 = IDL.Variant({
845
895
  Ok: PaymentSignatureCounts,
846
896
  Err: Error,
847
897
  });
@@ -855,18 +905,30 @@ export const idlFactory = ({ IDL }) => {
855
905
  invite: IDL.Text,
856
906
  purgedAtNs: IDL.Int,
857
907
  });
858
- const Page_2 = IDL.Record({
908
+ const Page_4 = IDL.Record({
859
909
  total: IDL.Nat,
860
910
  withheld: IDL.Nat,
861
911
  items: IDL.Vec(PurgedAgent),
862
912
  });
863
- const Result_25 = IDL.Variant({ Ok: Page_2, Err: Error });
864
- const Page_1 = IDL.Record({
913
+ const Result_29 = IDL.Variant({ Ok: Page_4, Err: Error });
914
+ const Page_3 = IDL.Record({
865
915
  total: IDL.Nat,
866
916
  withheld: IDL.Nat,
867
917
  items: IDL.Vec(AuditEntry),
868
918
  });
869
- const Result_24 = IDL.Variant({ Ok: Page_1, Err: Error });
919
+ const Result_28 = IDL.Variant({ Ok: Page_3, Err: Error });
920
+ const RecordNote = IDL.Record({
921
+ about: IDL.Nat,
922
+ atNs: IDL.Int,
923
+ note: IDL.Text,
924
+ auditId: IDL.Nat,
925
+ });
926
+ const Page_2 = IDL.Record({
927
+ total: IDL.Nat,
928
+ withheld: IDL.Nat,
929
+ items: IDL.Vec(RecordNote),
930
+ });
931
+ const Result_27 = IDL.Variant({ Ok: Page_2, Err: Error });
870
932
  const Repudiation = IDL.Record({
871
933
  atNs: IDL.Int,
872
934
  path: IDL.Text,
@@ -874,13 +936,39 @@ export const idlFactory = ({ IDL }) => {
874
936
  version: IDL.Nat,
875
937
  reason: IDL.Text,
876
938
  });
877
- const Page = IDL.Record({
939
+ const Page_1 = IDL.Record({
878
940
  total: IDL.Nat,
879
941
  withheld: IDL.Nat,
880
942
  items: IDL.Vec(Repudiation),
881
943
  });
882
- const Result_23 = IDL.Variant({ Ok: Page, Err: Error });
883
- const Result_22 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
944
+ const Result_26 = IDL.Variant({ Ok: Page_1, Err: Error });
945
+ const SignIn = IDL.Record({
946
+ token: BearerToken,
947
+ clientName: IDL.Opt(IDL.Text),
948
+ });
949
+ const Page = IDL.Record({
950
+ total: IDL.Nat,
951
+ withheld: IDL.Nat,
952
+ items: IDL.Vec(SignIn),
953
+ });
954
+ const Result_25 = IDL.Variant({ Ok: Page, Err: Error });
955
+ const PaymentLimits = IDL.Record({
956
+ maxSessionDeposit: IDL.Opt(IDL.Nat),
957
+ maxPerDay: IDL.Opt(IDL.Nat),
958
+ maxSessionDuration: IDL.Opt(IDL.Int),
959
+ sessionIdleTimeout: IDL.Opt(IDL.Int),
960
+ rateLimitPerMinute: IDL.Opt(IDL.Nat),
961
+ maxPerTransaction: IDL.Opt(IDL.Nat),
962
+ maxConcurrentSessions: IDL.Opt(IDL.Nat),
963
+ });
964
+ const AgentGrant = IDL.Record({
965
+ key: IDL.Principal,
966
+ permissions: AgentPermissions,
967
+ name: IDL.Text,
968
+ paymentLimits: PaymentLimits,
969
+ });
970
+ const Result_24 = IDL.Variant({ Ok: AgentGrant, Err: Error });
971
+ const Result_23 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
884
972
  const SessionConfig = IDL.Record({
885
973
  autoClose: IDL.Bool,
886
974
  idleTimeout: IDL.Opt(IDL.Int),
@@ -907,7 +995,7 @@ export const idlFactory = ({ IDL }) => {
907
995
  nonce: IDL.Vec(IDL.Nat8),
908
996
  authorization: IDL.Opt(Eip3009Authorization),
909
997
  });
910
- const Result_21 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
998
+ const Result_22 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
911
999
  const TokenAmount = IDL.Variant({
912
1000
  Icp: IDL.Nat,
913
1001
  Ckusdc: IDL.Nat,
@@ -932,7 +1020,7 @@ export const idlFactory = ({ IDL }) => {
932
1020
  agent: AgentRecord,
933
1021
  trackRecord: TrackRecordNotice,
934
1022
  });
935
- const Result_20 = IDL.Variant({ Ok: Pairing, Err: Error });
1023
+ const Result_21 = IDL.Variant({ Ok: Pairing, Err: Error });
936
1024
  const CondensePreview = IDL.Record({
937
1025
  scannedFromSeq: IDL.Nat,
938
1026
  scanTruncated: IDL.Bool,
@@ -946,7 +1034,7 @@ export const idlFactory = ({ IDL }) => {
946
1034
  coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
947
1035
  proposedToSeq: IDL.Nat,
948
1036
  });
949
- const Result_19 = IDL.Variant({ Ok: CondensePreview, Err: Error });
1037
+ const Result_20 = IDL.Variant({ Ok: CondensePreview, Err: Error });
950
1038
  const SessionIntent = IDL.Record({
951
1039
  token: IDL.Text,
952
1040
  costPerCall: IDL.Opt(IDL.Nat),
@@ -957,6 +1045,23 @@ export const idlFactory = ({ IDL }) => {
957
1045
  expiryNs: IDL.Int,
958
1046
  suggestedDeposit: IDL.Nat,
959
1047
  });
1048
+ const RetentionPreviewRule = IDL.Record({
1049
+ files: IDL.Nat,
1050
+ notBeforeNs: IDL.Opt(IDL.Int),
1051
+ prefix: IDL.Text,
1052
+ bytes: IDL.Nat,
1053
+ copies: IDL.Nat,
1054
+ });
1055
+ const RetentionPreview = IDL.Record({
1056
+ files: IDL.Nat,
1057
+ complete: IDL.Bool,
1058
+ planned: IDL.Nat,
1059
+ bytes: IDL.Nat,
1060
+ copies: IDL.Nat,
1061
+ storedFiles: IDL.Nat,
1062
+ rules: IDL.Vec(RetentionPreviewRule),
1063
+ });
1064
+ const Result_19 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
960
1065
  const MemoryFile = IDL.Record({
961
1066
  content: IDL.Vec(IDL.Nat8),
962
1067
  path: IDL.Text,
@@ -1112,7 +1217,7 @@ export const idlFactory = ({ IDL }) => {
1112
1217
  const Result_2 = IDL.Variant({ Ok: ControlHandover, Err: Error });
1113
1218
  const Engram = IDL.Service({
1114
1219
  about: IDL.Func([], [About], ['query']),
1115
- acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_72], []),
1220
+ acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_80], []),
1116
1221
  actionAlertTransform: IDL.Func(
1117
1222
  [
1118
1223
  IDL.Record({
@@ -1123,7 +1228,7 @@ export const idlFactory = ({ IDL }) => {
1123
1228
  [HttpRequestResult],
1124
1229
  ['query'],
1125
1230
  ),
1126
- addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_71], []),
1231
+ addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_79], []),
1127
1232
  addEip712Type: IDL.Func(
1128
1233
  [
1129
1234
  IDL.Record({
@@ -1145,82 +1250,87 @@ export const idlFactory = ({ IDL }) => {
1145
1250
  ackIrrevocable: IDL.Bool,
1146
1251
  }),
1147
1252
  ],
1148
- [Result_70],
1253
+ [Result_78],
1149
1254
  [],
1150
1255
  ),
1151
1256
  addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_1], []),
1257
+ addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_12], []),
1152
1258
  appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
1153
- applyCondense: IDL.Func([IDL.Nat], [Result_69], []),
1259
+ applyCondense: IDL.Func([IDL.Nat], [Result_77], []),
1154
1260
  approveGuardian: IDL.Func([IDL.Principal], [Result_1], []),
1155
1261
  approveRequest: IDL.Func([IDL.Text], [Result_1], []),
1156
1262
  backupAbort: IDL.Func([IDL.Text], [Result_1], []),
1157
1263
  backupFinalize: IDL.Func([IDL.Text], [Result_1], []),
1158
1264
  backupInit: IDL.Func(
1159
1265
  [IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
1160
- [Result_45],
1266
+ [Result_51],
1161
1267
  [],
1162
1268
  ),
1163
- backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_61], ['query']),
1269
+ backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_67], ['query']),
1164
1270
  backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_1], []),
1165
1271
  cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_1], []),
1166
1272
  closeSession: IDL.Func([IDL.Text], [Result_1], []),
1167
1273
  convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_12], []),
1168
- createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_45], []),
1169
- createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_45], []),
1274
+ createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_51], []),
1275
+ createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_51], []),
1170
1276
  deleteBackup: IDL.Func([IDL.Text], [Result_1], []),
1171
1277
  deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
1172
1278
  denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
1173
- exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_68], []),
1279
+ disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_12], []),
1280
+ exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_76], []),
1174
1281
  freezePayments: IDL.Func([], [Result_1], []),
1175
- getActionAlertStatus: IDL.Func([], [Result_59], ['query']),
1176
- getAgentRevisablePaths: IDL.Func([], [Result_55], ['query']),
1177
- getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_66], ['query']),
1178
- getAgentWriteReview: IDL.Func([], [Result_65], ['query']),
1282
+ freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_1], []),
1283
+ getActionAlertStatus: IDL.Func([], [Result_65], ['query']),
1284
+ getAgentRevisablePaths: IDL.Func([], [Result_61], ['query']),
1285
+ getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_74], ['query']),
1286
+ getAgentWriteReview: IDL.Func([], [Result_73], ['query']),
1179
1287
  getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
1180
1288
  getAuditHead: IDL.Func([], [AuditHead], ['query']),
1181
- getBackupMetadata: IDL.Func([IDL.Text], [Result_64], ['query']),
1289
+ getBackupMetadata: IDL.Func([IDL.Text], [Result_72], ['query']),
1290
+ getBackupRetention: IDL.Func([IDL.Text], [Result_71], ['query']),
1182
1291
  getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1292
+ getBrakes: IDL.Func([], [Result_70], ['query']),
1183
1293
  getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
1184
- getChildAllowance: IDL.Func([IDL.Principal], [Result_63], ['query']),
1185
- getChildOpening: IDL.Func([], [Result_62], ['query']),
1186
- getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_61], []),
1294
+ getChildAllowance: IDL.Func([IDL.Principal], [Result_69], ['query']),
1295
+ getChildOpening: IDL.Func([], [Result_68], ['query']),
1296
+ getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_67], []),
1187
1297
  getEngramCard: IDL.Func([], [AgentCard], ['query']),
1188
- getEvmAddress: IDL.Func([], [Result_60], []),
1298
+ getEvmAddress: IDL.Func([], [Result_66], []),
1189
1299
  getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
1190
- getEvmSignerAddress: IDL.Func([], [Result_45], []),
1300
+ getEvmSignerAddress: IDL.Func([], [Result_51], []),
1191
1301
  getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
1192
- getGuardianAlertStatus: IDL.Func([], [Result_59], ['query']),
1302
+ getGuardianAlertStatus: IDL.Func([], [Result_65], ['query']),
1193
1303
  getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1194
1304
  getMemoryHistory: IDL.Func(
1195
1305
  [IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
1196
- [Result_58],
1306
+ [Result_64],
1197
1307
  ['query'],
1198
1308
  ),
1199
1309
  getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
1200
1310
  getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
1201
1311
  getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
1202
- getMemoryRetentionPolicy: IDL.Func([], [Result_57], ['query']),
1312
+ getMemoryRetentionPolicy: IDL.Func([], [Result_63], ['query']),
1203
1313
  getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1204
1314
  getMyGuardianStatus: IDL.Func([], [Result_15], ['query']),
1205
- getOwnerConsole: IDL.Func([], [Result_56], ['query']),
1206
- getProtectedPaths: IDL.Func([], [Result_55], ['query']),
1315
+ getOwnerConsole: IDL.Func([], [Result_62], ['query']),
1316
+ getProtectedPaths: IDL.Func([], [Result_61], ['query']),
1207
1317
  getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
1208
- getSigningFloor: IDL.Func([], [Result_54], ['query']),
1318
+ getSigningFloor: IDL.Func([], [Result_60], ['query']),
1209
1319
  getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1210
- getSpendCeiling: IDL.Func([], [Result_53], ['query']),
1211
- getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_52], ['query']),
1212
- getStorageStats: IDL.Func([], [Result_51], ['query']),
1320
+ getSpendCeiling: IDL.Func([], [Result_59], ['query']),
1321
+ getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_58], ['query']),
1322
+ getStorageStats: IDL.Func([], [Result_57], ['query']),
1213
1323
  getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
1214
1324
  getTopUpLimits: IDL.Func(
1215
1325
  [],
1216
1326
  [IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
1217
1327
  ['query'],
1218
1328
  ),
1219
- getWalletBalances: IDL.Func([], [Result_50], []),
1220
- getWorldIdConfig: IDL.Func([], [Result_49], ['query']),
1221
- getWorldIdRpContext: IDL.Func([], [Result_48], []),
1222
- getWorldIdRpSignerAddress: IDL.Func([], [Result_45], []),
1223
- getWorldIdVerification: IDL.Func([], [Result_47], ['query']),
1329
+ getWalletBalances: IDL.Func([], [Result_56], []),
1330
+ getWorldIdConfig: IDL.Func([], [Result_55], ['query']),
1331
+ getWorldIdRpContext: IDL.Func([], [Result_54], []),
1332
+ getWorldIdRpSignerAddress: IDL.Func([], [Result_51], []),
1333
+ getWorldIdVerification: IDL.Func([], [Result_53], ['query']),
1224
1334
  guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_1], []),
1225
1335
  http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
1226
1336
  http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
@@ -1251,44 +1361,55 @@ export const idlFactory = ({ IDL }) => {
1251
1361
  ],
1252
1362
  ['query'],
1253
1363
  ),
1254
- isEvmAddressCached: IDL.Func([], [Result_46], ['query']),
1255
- issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_45], []),
1256
- listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
1257
- listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1258
- listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1364
+ isEvmAddressCached: IDL.Func([], [Result_52], ['query']),
1365
+ issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_51], []),
1366
+ listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
1367
+ listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
1368
+ listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
1369
+ listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
1259
1370
  listApprovalRequests: IDL.Func(
1260
1371
  [IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
1261
- [Result_29],
1372
+ [Result_33],
1262
1373
  ['query'],
1263
1374
  ),
1264
- listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1265
- listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
1266
- listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
1267
- listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
1268
- listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
1269
- listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
1270
- listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_35], ['query']),
1271
- listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
1272
- listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
1273
- listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
1274
- listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
1275
- listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_30], ['query']),
1276
- listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_29], ['query']),
1277
- listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_28], ['query']),
1278
- listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_27], ['query']),
1279
- listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_26], ['query']),
1280
- listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_25], ['query']),
1281
- listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_24], ['query']),
1282
- listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_23], ['query']),
1375
+ listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_46], ['query']),
1376
+ listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
1377
+ listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
1378
+ listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1379
+ listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1380
+ listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1381
+ listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_40], ['query']),
1382
+ listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
1383
+ listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
1384
+ listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
1385
+ listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
1386
+ listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
1387
+ listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_34], ['query']),
1388
+ listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
1389
+ listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
1390
+ listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
1391
+ listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_30], ['query']),
1392
+ listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_29], ['query']),
1393
+ listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_28], ['query']),
1394
+ listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_27], ['query']),
1395
+ listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_26], ['query']),
1396
+ listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [Result_25], ['query']),
1283
1397
  markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_12], []),
1398
+ myGrant: IDL.Func([], [Result_24], ['query']),
1284
1399
  nominateAgentKey: IDL.Func([IDL.Principal], [Result_1], []),
1285
- openChildEngram: IDL.Func([], [Result_22], []),
1286
- openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_21], []),
1400
+ openChildEngram: IDL.Func([], [Result_23], []),
1401
+ openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_22], []),
1287
1402
  ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_12], []),
1288
- pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_20], []),
1403
+ pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_21], []),
1289
1404
  pauseWrites: IDL.Func([], [Result_1], []),
1290
- previewCondense: IDL.Func([IDL.Nat], [Result_19], ['query']),
1405
+ pauseWritesWithReason: IDL.Func([IDL.Text], [Result_1], []),
1406
+ previewCondense: IDL.Func([IDL.Nat], [Result_20], ['query']),
1291
1407
  previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
1408
+ previewRetention: IDL.Func(
1409
+ [IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
1410
+ [Result_19],
1411
+ ['query'],
1412
+ ),
1292
1413
  readMemory: IDL.Func([IDL.Text], [Result_10], ['query']),
1293
1414
  readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_18], ['query']),
1294
1415
  readMemoryBytes: IDL.Func(
@@ -1302,6 +1423,7 @@ export const idlFactory = ({ IDL }) => {
1302
1423
  removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_1], []),
1303
1424
  removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_1], []),
1304
1425
  removeGuardian: IDL.Func([IDL.Principal], [Result_1], []),
1426
+ renameAgent: IDL.Func([IDL.Principal, IDL.Text], [Result_1], []),
1305
1427
  repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_12], []),
1306
1428
  resetEngram: IDL.Func([], [Result_14], []),
1307
1429
  resignAgent: IDL.Func([], [Result_1], []),
@@ -1378,6 +1500,7 @@ export const idlFactory = ({ IDL }) => {
1378
1500
  [Result_3],
1379
1501
  [],
1380
1502
  ),
1503
+ stepDownAsGuardian: IDL.Func([], [Result_1], []),
1381
1504
  sysForceCloseSession: IDL.Func([IDL.Text], [Result_1], []),
1382
1505
  sysGetAgentSeatWeeks: IDL.Func([], [Result_7], []),
1383
1506
  sysGetRailHealth: IDL.Func([], [Result_6], ['query']),