@engramx/idl 0.16.0-rc.22 → 0.16.0-rc.24

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.
@@ -90,7 +90,7 @@ export const idlFactory = ({ IDL }) => {
90
90
  Unavailable: IDL.Text,
91
91
  Conflict: IDL.Text,
92
92
  });
93
- const Result_89 = IDL.Variant({ Ok: AgentRecord, Err: Error });
93
+ const Result_94 = IDL.Variant({ Ok: AgentRecord, Err: Error });
94
94
  const Result_2 = IDL.Variant({ Ok: IDL.Null, Err: Error });
95
95
  const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
96
96
  const HttpRequestResult = IDL.Record({
@@ -111,7 +111,7 @@ export const idlFactory = ({ IDL }) => {
111
111
  cooloffEndsAtNs: IDL.Int,
112
112
  typeId: IDL.Vec(IDL.Nat8),
113
113
  });
114
- const Result_87 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
114
+ const Result_92 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
115
115
  const GuardianPermissions = IDL.Record({
116
116
  canFreezePayments: IDL.Bool,
117
117
  canRevokeAgents: IDL.Bool,
@@ -119,6 +119,14 @@ export const idlFactory = ({ IDL }) => {
119
119
  canPauseWrites: IDL.Bool,
120
120
  });
121
121
  const Result_15 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
122
+ const Conversion = IDL.Record({
123
+ token: IDL.Text,
124
+ daysLeftBefore: IDL.Opt(IDL.Nat),
125
+ amountE6: IDL.Nat,
126
+ cyclesAdded: IDL.Nat,
127
+ finishedBeforeRemovalSeen: IDL.Bool,
128
+ });
129
+ const Result_90 = IDL.Variant({ Ok: Conversion, Err: Error });
122
130
  const MemorySource = IDL.Variant({
123
131
  sessionTranscript: IDL.Null,
124
132
  human: IDL.Null,
@@ -138,6 +146,11 @@ export const idlFactory = ({ IDL }) => {
138
146
  recordId: IDL.Nat,
139
147
  });
140
148
  const Result = IDL.Variant({ Ok: WriteReceipt, Err: Error });
149
+ const TextAppendReceipt = IDL.Record({
150
+ receipt: WriteReceipt,
151
+ sent: IDL.Vec(IDL.Nat8),
152
+ });
153
+ const Result_16 = IDL.Variant({ Ok: TextAppendReceipt, Err: Error });
141
154
  const CondenseResult = IDL.Record({
142
155
  seq: IDL.Nat,
143
156
  toSeq: IDL.Nat,
@@ -149,14 +162,14 @@ export const idlFactory = ({ IDL }) => {
149
162
  historyBytesDelta: IDL.Int,
150
163
  opCount: IDL.Nat,
151
164
  });
152
- const Result_85 = IDL.Variant({ Ok: CondenseResult, Err: Error });
165
+ const Result_89 = IDL.Variant({ Ok: CondenseResult, Err: Error });
153
166
  const BackupType = IDL.Variant({
154
167
  PartialSnapshot: IDL.Null,
155
168
  IncrementalDiff: IDL.Null,
156
169
  FullSnapshot: IDL.Null,
157
170
  });
158
- const Result_55 = IDL.Variant({ Ok: IDL.Text, Err: Error });
159
- const Result_72 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
171
+ const Result_58 = IDL.Variant({ Ok: IDL.Text, Err: Error });
172
+ const Result_76 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
160
173
  const MemoryRangeExport = IDL.Record({
161
174
  seq: IDL.Nat,
162
175
  toSeq: IDL.Nat,
@@ -166,7 +179,7 @@ export const idlFactory = ({ IDL }) => {
166
179
  fromSeq: IDL.Nat,
167
180
  authorFilter: IDL.Opt(IDL.Principal),
168
181
  });
169
- const Result_84 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
182
+ const Result_88 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
170
183
  const AlertConfig = IDL.Record({
171
184
  url: IDL.Opt(IDL.Text),
172
185
  money: IDL.Bool,
@@ -183,8 +196,14 @@ export const idlFactory = ({ IDL }) => {
183
196
  disabled: IDL.Bool,
184
197
  config: AlertConfig,
185
198
  });
186
- const Result_73 = IDL.Variant({ Ok: AlertStatus, Err: Error });
187
- const Result_66 = IDL.Variant({
199
+ const Result_77 = IDL.Variant({ Ok: AlertStatus, Err: Error });
200
+ const AgentConvertRule = IDL.Record({
201
+ spacingSeconds: IDL.Nat,
202
+ minPerCallE6: IDL.Nat,
203
+ maxPerCallE6: IDL.Nat,
204
+ belowDays: IDL.Nat,
205
+ });
206
+ const Result_69 = IDL.Variant({
188
207
  Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
189
208
  Err: Error,
190
209
  });
@@ -196,12 +215,12 @@ export const idlFactory = ({ IDL }) => {
196
215
  produced: IDL.Nat,
197
216
  firstPaymentDay: IDL.Opt(IDL.Nat),
198
217
  });
199
- const Page_26 = IDL.Record({
218
+ const Page_27 = IDL.Record({
200
219
  total: IDL.Nat,
201
220
  withheld: IDL.Nat,
202
221
  items: IDL.Vec(OwnerRow),
203
222
  });
204
- const Result_82 = IDL.Variant({ Ok: Page_26, Err: Error });
223
+ const Result_86 = IDL.Variant({ Ok: Page_27, Err: Error });
205
224
  const Role = IDL.Variant({
206
225
  Anonymous: IDL.Null,
207
226
  Viewer: IDL.Null,
@@ -240,7 +259,7 @@ export const idlFactory = ({ IDL }) => {
240
259
  earliest: IDL.Nat,
241
260
  capped: IDL.Bool,
242
261
  });
243
- const Result_81 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
262
+ const Result_85 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
244
263
  const AnchorPushStatus = IDL.Record({
245
264
  anchorTickAtNs: IDL.Opt(IDL.Int),
246
265
  okAtNs: IDL.Opt(IDL.Int),
@@ -281,13 +300,13 @@ export const idlFactory = ({ IDL }) => {
281
300
  chunkCount: IDL.Nat,
282
301
  parentBackupId: IDL.Opt(IDL.Text),
283
302
  });
284
- const Result_80 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
303
+ const Result_84 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
285
304
  const BackupRetention = IDL.Record({
286
305
  maxBackups: IDL.Nat,
287
306
  isDefault: IDL.Bool,
288
307
  dbType: IDL.Text,
289
308
  });
290
- const Result_79 = IDL.Variant({ Ok: BackupRetention, Err: Error });
309
+ const Result_83 = IDL.Variant({ Ok: BackupRetention, Err: Error });
291
310
  const BirthRecord = IDL.Record({
292
311
  bornAtNs: IDL.Int,
293
312
  parentFingerprint: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -297,7 +316,7 @@ export const idlFactory = ({ IDL }) => {
297
316
  number: IDL.Nat,
298
317
  parent: IDL.Opt(IDL.Principal),
299
318
  });
300
- const Result_78 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
319
+ const Result_82 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
301
320
  const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
302
321
  const BrakePull = IDL.Record({
303
322
  by: IDL.Principal,
@@ -310,7 +329,7 @@ export const idlFactory = ({ IDL }) => {
310
329
  pull: IDL.Opt(BrakePull),
311
330
  });
312
331
  const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
313
- const Result_77 = IDL.Variant({ Ok: Brakes, Err: Error });
332
+ const Result_81 = IDL.Variant({ Ok: Brakes, Err: Error });
314
333
  const CertifiedAuditHead = IDL.Record({
315
334
  total: IDL.Nat,
316
335
  certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -322,14 +341,14 @@ export const idlFactory = ({ IDL }) => {
322
341
  root: IDL.Principal,
323
342
  remaining: IDL.Nat,
324
343
  });
325
- const Result_76 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
344
+ const Result_80 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
326
345
  const ChildOpening = IDL.Record({
327
346
  attachCycles: IDL.Nat,
328
347
  balance: IDL.Nat,
329
348
  allowances: IDL.Vec(ChildAllowanceRow),
330
349
  floorCycles: IDL.Nat,
331
350
  });
332
- const Result_75 = IDL.Variant({ Ok: ChildOpening, Err: Error });
351
+ const Result_79 = IDL.Variant({ Ok: ChildOpening, Err: Error });
333
352
  const ServiceEntry = IDL.Record({
334
353
  endpoint: IDL.Text,
335
354
  name: IDL.Text,
@@ -347,7 +366,7 @@ export const idlFactory = ({ IDL }) => {
347
366
  pay: IDL.Text,
348
367
  engramRegistration: IDL.Text,
349
368
  });
350
- const Result_74 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
369
+ const Result_78 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
351
370
  const GenesisNote = IDL.Record({
352
371
  predecessorSize: IDL.Opt(IDL.Nat),
353
372
  predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -362,7 +381,7 @@ export const idlFactory = ({ IDL }) => {
362
381
  sealedFor: IDL.Opt(IDL.Principal),
363
382
  sealedAtNs: IDL.Opt(IDL.Int),
364
383
  });
365
- const Result_71 = IDL.Variant({ Ok: KeyBackupStatus, Err: Error });
384
+ const Result_75 = IDL.Variant({ Ok: KeyBackupStatus, Err: Error });
366
385
  const MemoryEviction = IDL.Record({
367
386
  evictSeq: IDL.Nat,
368
387
  fromVersion: IDL.Nat,
@@ -399,7 +418,7 @@ export const idlFactory = ({ IDL }) => {
399
418
  versions: IDL.Vec(MemoryVersionSummary),
400
419
  evictedCount: IDL.Nat,
401
420
  });
402
- const Result_70 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
421
+ const Result_74 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
403
422
  const MemoryMaintainStatus = IDL.Record({
404
423
  attachOk: IDL.Bool,
405
424
  attachDetail: IDL.Text,
@@ -427,7 +446,7 @@ export const idlFactory = ({ IDL }) => {
427
446
  entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
428
447
  guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
429
448
  });
430
- const Result_69 = IDL.Variant({
449
+ const Result_73 = IDL.Variant({
431
450
  Ok: MemoryRetentionPolicy,
432
451
  Err: Error,
433
452
  });
@@ -442,7 +461,7 @@ export const idlFactory = ({ IDL }) => {
442
461
  name: IDL.Text,
443
462
  addedAtNs: IDL.Int,
444
463
  });
445
- const Result_18 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
464
+ const Result_19 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
446
465
  const OwnerConsole = IDL.Record({
447
466
  pendingApprovalCount: IDL.Nat,
448
467
  memoryKeyEpoch: IDL.Nat,
@@ -452,7 +471,7 @@ export const idlFactory = ({ IDL }) => {
452
471
  cyclesBalance: IDL.Nat,
453
472
  unknownSessionRefusals: IDL.Nat,
454
473
  });
455
- const Result_68 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
474
+ const Result_72 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
456
475
  const OwnerSignInView = IDL.Record({
457
476
  askedAtNs: IDL.Opt(IDL.Int),
458
477
  openedFrom: IDL.Opt(IDL.Principal),
@@ -462,7 +481,22 @@ export const idlFactory = ({ IDL }) => {
462
481
  callerIsAsked: IDL.Bool,
463
482
  ownerSignIn: IDL.Opt(IDL.Principal),
464
483
  });
465
- const Result_67 = IDL.Variant({ Ok: OwnerSignInView, Err: Error });
484
+ const Result_71 = IDL.Variant({ Ok: OwnerSignInView, Err: Error });
485
+ const MemoryFile = IDL.Record({
486
+ content: IDL.Vec(IDL.Nat8),
487
+ path: IDL.Text,
488
+ version: IDL.Nat,
489
+ lastModifiedBy: IDL.Principal,
490
+ lastModifiedAtNs: IDL.Int,
491
+ });
492
+ const Result_13 = IDL.Variant({ Ok: MemoryFile, Err: Error });
493
+ const ProfileRead = IDL.Record({
494
+ soul: Result_13,
495
+ user: Result_13,
496
+ lessons: Result_13,
497
+ preferences: Result_13,
498
+ });
499
+ const Result_70 = IDL.Variant({ Ok: ProfileRead, Err: Error });
466
500
  const RecipientHistory = IDL.Record({
467
501
  historyFull: IDL.Bool,
468
502
  firstPaidAtNs: IDL.Opt(IDL.Int),
@@ -473,19 +507,19 @@ export const idlFactory = ({ IDL }) => {
473
507
  largestPaidE6: IDL.Nat,
474
508
  listedSeller: IDL.Bool,
475
509
  });
476
- const Result_65 = IDL.Variant({ Ok: RecipientHistory, Err: Error });
510
+ const Result_68 = IDL.Variant({ Ok: RecipientHistory, Err: Error });
477
511
  const SigningFloorStatus = IDL.Record({
478
512
  floor: IDL.Nat,
479
513
  signaturesAboveFloor: IDL.Nat,
480
514
  balance: IDL.Nat,
481
515
  perSignature: IDL.Nat,
482
516
  });
483
- const Result_64 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
517
+ const Result_67 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
484
518
  const SpendCeiling = IDL.Record({
485
519
  spentToday: IDL.Nat,
486
520
  maxPerDay: IDL.Opt(IDL.Nat),
487
521
  });
488
- const Result_63 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
522
+ const Result_66 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
489
523
  const SpendingPolicy = IDL.Record({
490
524
  maxSessionDeposit: IDL.Opt(IDL.Nat),
491
525
  blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
@@ -497,7 +531,7 @@ export const idlFactory = ({ IDL }) => {
497
531
  allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
498
532
  maxConcurrentSessions: IDL.Opt(IDL.Nat),
499
533
  });
500
- const Result_62 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
534
+ const Result_65 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
501
535
  const StorageReport = IDL.Record({
502
536
  sessionFilesSize: IDL.Nat,
503
537
  totalFiles: IDL.Nat,
@@ -512,7 +546,7 @@ export const idlFactory = ({ IDL }) => {
512
546
  versionHistoryCount: IDL.Nat,
513
547
  sessionFilesCount: IDL.Nat,
514
548
  });
515
- const Result_61 = IDL.Variant({ Ok: StorageReport, Err: Error });
549
+ const Result_64 = IDL.Variant({ Ok: StorageReport, Err: Error });
516
550
  const Ic402Maintenance = IDL.Record({
517
551
  revokedGrantsRemoved: IDL.Nat,
518
552
  dailySpendRemoved: IDL.Nat,
@@ -537,14 +571,14 @@ export const idlFactory = ({ IDL }) => {
537
571
  ckusdtE6s: IDL.Nat,
538
572
  cycles: IDL.Nat,
539
573
  });
540
- const Result_60 = IDL.Variant({ Ok: WalletBalances, Err: Error });
574
+ const Result_63 = IDL.Variant({ Ok: WalletBalances, Err: Error });
541
575
  const WorldIdConfig = IDL.Record({
542
576
  action: IDL.Text,
543
577
  appId: IDL.Text,
544
578
  rpId: IDL.Text,
545
579
  configured: IDL.Bool,
546
580
  });
547
- const Result_59 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
581
+ const Result_62 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
548
582
  const WorldIdRpContext = IDL.Record({
549
583
  signature: IDL.Text,
550
584
  expiresAt: IDL.Nat,
@@ -552,8 +586,8 @@ export const idlFactory = ({ IDL }) => {
552
586
  rpId: IDL.Text,
553
587
  nonce: IDL.Text,
554
588
  });
555
- const Result_58 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
556
- const Result_57 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
589
+ const Result_61 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
590
+ const Result_60 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
557
591
  const HttpRequest = IDL.Record({
558
592
  url: IDL.Text,
559
593
  method: IDL.Text,
@@ -566,18 +600,49 @@ export const idlFactory = ({ IDL }) => {
566
600
  upgrade: IDL.Opt(IDL.Bool),
567
601
  status_code: IDL.Nat16,
568
602
  });
569
- const Result_56 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
603
+ const Result_59 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
570
604
  const ActivitySnapshot = IDL.Record({
571
605
  atNs: IDL.Int,
572
606
  memoryReads: IDL.Nat,
573
607
  memoryWrites: IDL.Nat,
574
608
  });
575
- const Page_25 = IDL.Record({
609
+ const Page_26 = IDL.Record({
576
610
  total: IDL.Nat,
577
611
  withheld: IDL.Nat,
578
612
  items: IDL.Vec(ActivitySnapshot),
579
613
  });
580
- const Result_54 = IDL.Variant({ Ok: Page_25, Err: Error });
614
+ const Result_57 = IDL.Variant({ Ok: Page_26, Err: Error });
615
+ const BearerTokenStatus = IDL.Variant({
616
+ Active: IDL.Null,
617
+ Revoked: IDL.Null,
618
+ Expired: IDL.Null,
619
+ });
620
+ const BearerToken = IDL.Record({
621
+ expiresAtNs: IDL.Int,
622
+ status: BearerTokenStatus,
623
+ lastUsedNs: IDL.Int,
624
+ permissions: AgentPermissions,
625
+ tokenId: IDL.Text,
626
+ clientLabel: IDL.Text,
627
+ issuedAtNs: IDL.Int,
628
+ tokenHash: IDL.Text,
629
+ issuedBy: IDL.Principal,
630
+ });
631
+ const SignIn = IDL.Record({
632
+ token: BearerToken,
633
+ clientName: IDL.Opt(IDL.Text),
634
+ });
635
+ const Entry__1 = IDL.Record({
636
+ active: IDL.Bool,
637
+ inactiveReason: IDL.Opt(IDL.Text),
638
+ grant: IDL.Variant({ connected: SignIn, paired: AgentRecord }),
639
+ });
640
+ const Page_25 = IDL.Record({
641
+ total: IDL.Nat,
642
+ withheld: IDL.Nat,
643
+ items: IDL.Vec(Entry__1),
644
+ });
645
+ const Result_56 = IDL.Variant({ Ok: Page_25, Err: Error });
581
646
  const AgentSpendRow = IDL.Record({
582
647
  agent: IDL.Principal,
583
648
  spentToday: IDL.Opt(IDL.Nat),
@@ -593,13 +658,13 @@ export const idlFactory = ({ IDL }) => {
593
658
  dayStartNs: IDL.Int,
594
659
  agents: Page_24,
595
660
  });
596
- const Result_53 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
661
+ const Result_55 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
597
662
  const Page_23 = IDL.Record({
598
663
  total: IDL.Nat,
599
664
  withheld: IDL.Nat,
600
665
  items: IDL.Vec(AgentRecord),
601
666
  });
602
- const Result_52 = IDL.Variant({ Ok: Page_23, Err: Error });
667
+ const Result_54 = IDL.Variant({ Ok: Page_23, Err: Error });
603
668
  const Page_22 = IDL.Record({
604
669
  total: IDL.Nat,
605
670
  withheld: IDL.Nat,
@@ -611,7 +676,7 @@ export const idlFactory = ({ IDL }) => {
611
676
  }),
612
677
  ),
613
678
  });
614
- const Result_51 = IDL.Variant({ Ok: Page_22, Err: Error });
679
+ const Result_53 = IDL.Variant({ Ok: Page_22, Err: Error });
615
680
  const ApprovalStatus = IDL.Variant({
616
681
  Used: IDL.Null,
617
682
  Approved: IDL.Null,
@@ -640,7 +705,7 @@ export const idlFactory = ({ IDL }) => {
640
705
  withheld: IDL.Nat,
641
706
  items: IDL.Vec(ApprovalRequest),
642
707
  });
643
- const Result_37 = IDL.Variant({ Ok: Page_9, Err: Error });
708
+ const Result_39 = IDL.Variant({ Ok: Page_9, Err: Error });
644
709
  const SealedEntry = IDL.Record({
645
710
  id: IDL.Nat,
646
711
  entryHash: IDL.Vec(IDL.Nat8),
@@ -653,35 +718,19 @@ export const idlFactory = ({ IDL }) => {
653
718
  items: IDL.Vec(AuditEntry),
654
719
  hashFirstFrom: IDL.Nat,
655
720
  });
656
- const Result_50 = IDL.Variant({ Ok: RecordPage, Err: Error });
721
+ const Result_52 = IDL.Variant({ Ok: RecordPage, Err: Error });
657
722
  const Page_21 = IDL.Record({
658
723
  total: IDL.Nat,
659
724
  withheld: IDL.Nat,
660
725
  items: IDL.Vec(BackupMetadata),
661
726
  });
662
- const Result_49 = IDL.Variant({ Ok: Page_21, Err: Error });
663
- const BearerTokenStatus = IDL.Variant({
664
- Active: IDL.Null,
665
- Revoked: IDL.Null,
666
- Expired: IDL.Null,
667
- });
668
- const BearerToken = IDL.Record({
669
- expiresAtNs: IDL.Int,
670
- status: BearerTokenStatus,
671
- lastUsedNs: IDL.Int,
672
- permissions: AgentPermissions,
673
- tokenId: IDL.Text,
674
- clientLabel: IDL.Text,
675
- issuedAtNs: IDL.Int,
676
- tokenHash: IDL.Text,
677
- issuedBy: IDL.Principal,
678
- });
727
+ const Result_51 = IDL.Variant({ Ok: Page_21, Err: Error });
679
728
  const Page_20 = IDL.Record({
680
729
  total: IDL.Nat,
681
730
  withheld: IDL.Nat,
682
731
  items: IDL.Vec(BearerToken),
683
732
  });
684
- const Result_48 = IDL.Variant({ Ok: Page_20, Err: Error });
733
+ const Result_50 = IDL.Variant({ Ok: Page_20, Err: Error });
685
734
  const CondenseCheckpointRow = IDL.Record({
686
735
  by: IDL.Principal,
687
736
  seq: IDL.Nat,
@@ -702,7 +751,7 @@ export const idlFactory = ({ IDL }) => {
702
751
  page: Page_19,
703
752
  scannedThroughSeq: IDL.Nat,
704
753
  });
705
- const Result_47 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
754
+ const Result_49 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
706
755
  const CycleSnapshot = IDL.Record({
707
756
  seq: IDL.Nat,
708
757
  source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
@@ -714,13 +763,13 @@ export const idlFactory = ({ IDL }) => {
714
763
  withheld: IDL.Nat,
715
764
  items: IDL.Vec(CycleSnapshot),
716
765
  });
717
- const Result_46 = IDL.Variant({ Ok: Page_18, Err: Error });
766
+ const Result_48 = IDL.Variant({ Ok: Page_18, Err: Error });
718
767
  const Page_17 = IDL.Record({
719
768
  total: IDL.Nat,
720
769
  withheld: IDL.Nat,
721
770
  items: IDL.Vec(IDL.Text),
722
771
  });
723
- const Result_45 = IDL.Variant({ Ok: Page_17, Err: Error });
772
+ const Result_47 = IDL.Variant({ Ok: Page_17, Err: Error });
724
773
  const Eip712Destination = IDL.Record({
725
774
  activeFromNs: IDL.Int,
726
775
  value: IDL.Text,
@@ -730,7 +779,7 @@ export const idlFactory = ({ IDL }) => {
730
779
  withheld: IDL.Nat,
731
780
  items: IDL.Vec(Eip712Destination),
732
781
  });
733
- const Result_44 = IDL.Variant({ Ok: Page_16, Err: Error });
782
+ const Result_46 = IDL.Variant({ Ok: Page_16, Err: Error });
734
783
  const AuthorityClass = IDL.Variant({
735
784
  standingAuthority: IDL.Null,
736
785
  valueBearing: IDL.Null,
@@ -760,7 +809,7 @@ export const idlFactory = ({ IDL }) => {
760
809
  withheld: IDL.Nat,
761
810
  items: IDL.Vec(Eip712TypeView),
762
811
  });
763
- const Result_43 = IDL.Variant({ Ok: Page_15, Err: Error });
812
+ const Result_45 = IDL.Variant({ Ok: Page_15, Err: Error });
764
813
  const GuardianDispute = IDL.Record({
765
814
  about: IDL.Nat,
766
815
  atNs: IDL.Int,
@@ -775,13 +824,13 @@ export const idlFactory = ({ IDL }) => {
775
824
  withheld: IDL.Nat,
776
825
  items: IDL.Vec(GuardianDispute),
777
826
  });
778
- const Result_42 = IDL.Variant({ Ok: Page_14, Err: Error });
827
+ const Result_44 = IDL.Variant({ Ok: Page_14, Err: Error });
779
828
  const Page_13 = IDL.Record({
780
829
  total: IDL.Nat,
781
830
  withheld: IDL.Nat,
782
831
  items: IDL.Vec(GuardianRecord),
783
832
  });
784
- const Result_41 = IDL.Variant({ Ok: Page_13, Err: Error });
833
+ const Result_43 = IDL.Variant({ Ok: Page_13, Err: Error });
785
834
  const ExportReceiptRow = IDL.Record({
786
835
  by: IDL.Principal,
787
836
  seq: IDL.Nat,
@@ -801,7 +850,7 @@ export const idlFactory = ({ IDL }) => {
801
850
  page: Page_12,
802
851
  scannedThroughSeq: IDL.Nat,
803
852
  });
804
- const Result_40 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
853
+ const Result_42 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
805
854
  const MemoryFileRow = IDL.Record({
806
855
  path: IDL.Text,
807
856
  version: IDL.Nat,
@@ -813,7 +862,7 @@ export const idlFactory = ({ IDL }) => {
813
862
  withheld: IDL.Nat,
814
863
  items: IDL.Vec(MemoryFileRow),
815
864
  });
816
- const Result_39 = IDL.Variant({ Ok: Page_11, Err: Error });
865
+ const Result_41 = IDL.Variant({ Ok: Page_11, Err: Error });
817
866
  const MemoryLogChunkRef = IDL.Record({
818
867
  hash: IDL.Vec(IDL.Nat8),
819
868
  size: IDL.Nat,
@@ -892,7 +941,7 @@ export const idlFactory = ({ IDL }) => {
892
941
  head: IDL.Vec(IDL.Nat8),
893
942
  page: Page_10,
894
943
  });
895
- const Result_38 = IDL.Variant({ Ok: LogPage, Err: Error });
944
+ const Result_40 = IDL.Variant({ Ok: LogPage, Err: Error });
896
945
  const EngramSessionStatus = IDL.Variant({
897
946
  closed: IDL.Null,
898
947
  expired: IDL.Null,
@@ -916,7 +965,7 @@ export const idlFactory = ({ IDL }) => {
916
965
  withheld: IDL.Nat,
917
966
  items: IDL.Vec(EngramSessionState),
918
967
  });
919
- const Result_36 = IDL.Variant({ Ok: Page_8, Err: Error });
968
+ const Result_38 = IDL.Variant({ Ok: Page_8, Err: Error });
920
969
  const OwnershipTransfer = IDL.Record({
921
970
  to: IDL.Principal,
922
971
  atNs: IDL.Int,
@@ -928,7 +977,7 @@ export const idlFactory = ({ IDL }) => {
928
977
  withheld: IDL.Nat,
929
978
  items: IDL.Vec(OwnershipTransfer),
930
979
  });
931
- const Result_35 = IDL.Variant({ Ok: Page_7, Err: Error });
980
+ const Result_37 = IDL.Variant({ Ok: Page_7, Err: Error });
932
981
  const MarketplacePaymentSignatures = IDL.Record({
933
982
  marketplace: IDL.Principal,
934
983
  sharedSignedToday: IDL.Nat,
@@ -950,7 +999,7 @@ export const idlFactory = ({ IDL }) => {
950
999
  agents: Page_6,
951
1000
  limit: IDL.Nat,
952
1001
  });
953
- const Result_34 = IDL.Variant({
1002
+ const Result_36 = IDL.Variant({
954
1003
  Ok: PaymentSignatureCounts,
955
1004
  Err: Error,
956
1005
  });
@@ -969,13 +1018,13 @@ export const idlFactory = ({ IDL }) => {
969
1018
  withheld: IDL.Nat,
970
1019
  items: IDL.Vec(PurgedAgent),
971
1020
  });
972
- const Result_33 = IDL.Variant({ Ok: Page_5, Err: Error });
1021
+ const Result_35 = IDL.Variant({ Ok: Page_5, Err: Error });
973
1022
  const Page_4 = IDL.Record({
974
1023
  total: IDL.Nat,
975
1024
  withheld: IDL.Nat,
976
1025
  items: IDL.Vec(AuditEntry),
977
1026
  });
978
- const Result_32 = IDL.Variant({ Ok: Page_4, Err: Error });
1027
+ const Result_34 = IDL.Variant({ Ok: Page_4, Err: Error });
979
1028
  const RecordNote = IDL.Record({
980
1029
  about: IDL.Nat,
981
1030
  atNs: IDL.Int,
@@ -987,7 +1036,7 @@ export const idlFactory = ({ IDL }) => {
987
1036
  withheld: IDL.Nat,
988
1037
  items: IDL.Vec(RecordNote),
989
1038
  });
990
- const Result_31 = IDL.Variant({ Ok: Page_3, Err: Error });
1039
+ const Result_33 = IDL.Variant({ Ok: Page_3, Err: Error });
991
1040
  const Repudiation = IDL.Record({
992
1041
  atNs: IDL.Int,
993
1042
  path: IDL.Text,
@@ -1000,7 +1049,7 @@ export const idlFactory = ({ IDL }) => {
1000
1049
  withheld: IDL.Nat,
1001
1050
  items: IDL.Vec(Repudiation),
1002
1051
  });
1003
- const Result_30 = IDL.Variant({ Ok: Page_2, Err: Error });
1052
+ const Result_32 = IDL.Variant({ Ok: Page_2, Err: Error });
1004
1053
  const SellerView = IDL.Record({
1005
1054
  spentTodayE6: IDL.Nat,
1006
1055
  isPayout: IDL.Bool,
@@ -1018,17 +1067,13 @@ export const idlFactory = ({ IDL }) => {
1018
1067
  withheld: IDL.Nat,
1019
1068
  items: IDL.Vec(SellerView),
1020
1069
  });
1021
- const Result_29 = IDL.Variant({ Ok: Page_1, Err: Error });
1022
- const SignIn = IDL.Record({
1023
- token: BearerToken,
1024
- clientName: IDL.Opt(IDL.Text),
1025
- });
1070
+ const Result_31 = IDL.Variant({ Ok: Page_1, Err: Error });
1026
1071
  const Page = IDL.Record({
1027
1072
  total: IDL.Nat,
1028
1073
  withheld: IDL.Nat,
1029
1074
  items: IDL.Vec(SignIn),
1030
1075
  });
1031
- const Result_28 = IDL.Variant({ Ok: Page, Err: Error });
1076
+ const Result_30 = IDL.Variant({ Ok: Page, Err: Error });
1032
1077
  const PaymentsStop = IDL.Variant({
1033
1078
  paymentsBrake: IDL.Null,
1034
1079
  dailySignatureLimit: IDL.Null,
@@ -1056,8 +1101,8 @@ export const idlFactory = ({ IDL }) => {
1056
1101
  paymentsNow: IDL.Opt(PaymentsNow),
1057
1102
  paymentLimits: PaymentLimits,
1058
1103
  });
1059
- const Result_27 = IDL.Variant({ Ok: AgentGrant, Err: Error });
1060
- const Result_26 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
1104
+ const Result_29 = IDL.Variant({ Ok: AgentGrant, Err: Error });
1105
+ const Result_28 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
1061
1106
  const SessionConfig = IDL.Record({
1062
1107
  autoClose: IDL.Bool,
1063
1108
  idleTimeout: IDL.Opt(IDL.Int),
@@ -1084,7 +1129,7 @@ export const idlFactory = ({ IDL }) => {
1084
1129
  nonce: IDL.Vec(IDL.Nat8),
1085
1130
  authorization: IDL.Opt(Eip3009Authorization),
1086
1131
  });
1087
- const Result_25 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
1132
+ const Result_27 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
1088
1133
  const TokenAmount = IDL.Variant({
1089
1134
  Icp: IDL.Nat,
1090
1135
  Ckusdc: IDL.Nat,
@@ -1109,7 +1154,29 @@ export const idlFactory = ({ IDL }) => {
1109
1154
  agent: AgentRecord,
1110
1155
  trackRecord: TrackRecordNotice,
1111
1156
  });
1112
- const Result_24 = IDL.Variant({ Ok: Pairing, Err: Error });
1157
+ const Result_26 = IDL.Variant({ Ok: Pairing, Err: Error });
1158
+ const End = IDL.Variant({ at: IDL.Int, all: IDL.Null });
1159
+ const Request = IDL.Variant({
1160
+ metadata: IDL.Opt(IDL.Text),
1161
+ read: IDL.Record({
1162
+ end: End,
1163
+ excludePlatform: IDL.Opt(IDL.Text),
1164
+ platform: IDL.Opt(IDL.Text),
1165
+ }),
1166
+ });
1167
+ const Entry = IDL.Record({
1168
+ date: IDL.Text,
1169
+ path: IDL.Text,
1170
+ platform: IDL.Text,
1171
+ lastModifiedAtNs: IDL.Int,
1172
+ });
1173
+ const CanonicalRead = IDL.Record({ entry: Entry, readPath: IDL.Text });
1174
+ const Plan = IDL.Variant({
1175
+ metadata: IDL.Vec(Entry),
1176
+ individualCanonical: IDL.Vec(CanonicalRead),
1177
+ batchOriginal: IDL.Vec(Entry),
1178
+ });
1179
+ const Result_25 = IDL.Variant({ Ok: Plan, Err: Error });
1113
1180
  const CondensePreview = IDL.Record({
1114
1181
  scannedFromSeq: IDL.Nat,
1115
1182
  scanTruncated: IDL.Bool,
@@ -1123,7 +1190,7 @@ export const idlFactory = ({ IDL }) => {
1123
1190
  coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
1124
1191
  proposedToSeq: IDL.Nat,
1125
1192
  });
1126
- const Result_23 = IDL.Variant({ Ok: CondensePreview, Err: Error });
1193
+ const Result_24 = IDL.Variant({ Ok: CondensePreview, Err: Error });
1127
1194
  const SessionIntent = IDL.Record({
1128
1195
  token: IDL.Text,
1129
1196
  costPerCall: IDL.Opt(IDL.Nat),
@@ -1150,20 +1217,12 @@ export const idlFactory = ({ IDL }) => {
1150
1217
  storedFiles: IDL.Nat,
1151
1218
  rules: IDL.Vec(RetentionPreviewRule),
1152
1219
  });
1153
- const Result_22 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
1154
- const MemoryFile = IDL.Record({
1155
- content: IDL.Vec(IDL.Nat8),
1156
- path: IDL.Text,
1157
- version: IDL.Nat,
1158
- lastModifiedBy: IDL.Principal,
1159
- lastModifiedAtNs: IDL.Int,
1160
- });
1161
- const Result_13 = IDL.Variant({ Ok: MemoryFile, Err: Error });
1220
+ const Result_23 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
1162
1221
  const BatchReadItem = IDL.Record({
1163
1222
  result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
1164
1223
  path: IDL.Text,
1165
1224
  });
1166
- const Result_21 = IDL.Variant({
1225
+ const Result_22 = IDL.Variant({
1167
1226
  Ok: IDL.Vec(BatchReadItem),
1168
1227
  Err: Error,
1169
1228
  });
@@ -1172,19 +1231,19 @@ export const idlFactory = ({ IDL }) => {
1172
1231
  fileSize: IDL.Nat,
1173
1232
  bytes: IDL.Vec(IDL.Nat8),
1174
1233
  });
1175
- const Result_20 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
1234
+ const Result_21 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
1176
1235
  const EngramEscrowRecovery = IDL.Record({
1177
1236
  amountE6: IDL.Nat,
1178
1237
  blockIndex: IDL.Nat,
1179
1238
  });
1180
- const Result_19 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
1239
+ const Result_20 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
1181
1240
  const ResetReport = IDL.Record({
1182
1241
  agentsRemoved: IDL.Nat,
1183
1242
  agentsPurged: IDL.Nat,
1184
1243
  guardiansRemoved: IDL.Nat,
1185
1244
  filesCleared: IDL.Nat,
1186
1245
  });
1187
- const Result_17 = IDL.Variant({ Ok: ResetReport, Err: Error });
1246
+ const Result_18 = IDL.Variant({ Ok: ResetReport, Err: Error });
1188
1247
  const UnrecordableEngagement = IDL.Record({
1189
1248
  principal: IDL.Principal,
1190
1249
  root: IDL.Principal,
@@ -1204,7 +1263,20 @@ export const idlFactory = ({ IDL }) => {
1204
1263
  }),
1205
1264
  ),
1206
1265
  });
1207
- const Result_16 = IDL.Variant({ Ok: ResyncReport, Err: Error });
1266
+ const Result_17 = IDL.Variant({ Ok: ResyncReport, Err: Error });
1267
+ const MemoryEntry = IDL.Variant({
1268
+ decision: IDL.Record({ decision: IDL.Text, rationale: IDL.Text }),
1269
+ preference: IDL.Text,
1270
+ insight: IDL.Record({
1271
+ topic: IDL.Opt(IDL.Text),
1272
+ content: IDL.Text,
1273
+ }),
1274
+ sessionSummary: IDL.Record({
1275
+ date: IDL.Opt(IDL.Text),
1276
+ platform: IDL.Text,
1277
+ summary: IDL.Text,
1278
+ }),
1279
+ });
1208
1280
  const Voucher = IDL.Record({
1209
1281
  signature: IDL.Vec(IDL.Nat8),
1210
1282
  sessionId: IDL.Text,
@@ -1301,6 +1373,18 @@ export const idlFactory = ({ IDL }) => {
1301
1373
  byCaller: IDL.Vec(CallerSignatureCount),
1302
1374
  });
1303
1375
  const Result_7 = IDL.Variant({ Ok: SignatureCounts, Err: Error });
1376
+ const SaleNotice = IDL.Record({
1377
+ token: IDL.Text,
1378
+ txRef: IDL.Opt(IDL.Text),
1379
+ listingId: IDL.Text,
1380
+ kind: IDL.Variant({ service: IDL.Null, content: IDL.Null }),
1381
+ jobId: IDL.Opt(IDL.Text),
1382
+ network: IDL.Text,
1383
+ amountE6: IDL.Nat,
1384
+ receiptId: IDL.Text,
1385
+ buyer: IDL.Text,
1386
+ settledAtNs: IDL.Int,
1387
+ });
1304
1388
  const Result_6 = IDL.Variant({
1305
1389
  Ok: IDL.Record({ returned: IDL.Nat }),
1306
1390
  Err: Error,
@@ -1315,7 +1399,7 @@ export const idlFactory = ({ IDL }) => {
1315
1399
  const Result_1 = IDL.Variant({ Ok: TimersWake, Err: Error });
1316
1400
  const Engram = IDL.Service({
1317
1401
  about: IDL.Func([], [About], ['query']),
1318
- acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_89], []),
1402
+ acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_94], []),
1319
1403
  acceptSignIn: IDL.Func([], [Result_2], []),
1320
1404
  actionAlertTransform: IDL.Func(
1321
1405
  [
@@ -1349,14 +1433,16 @@ export const idlFactory = ({ IDL }) => {
1349
1433
  ackIrrevocable: IDL.Bool,
1350
1434
  }),
1351
1435
  ],
1352
- [Result_87],
1436
+ [Result_92],
1353
1437
  [],
1354
1438
  ),
1355
1439
  addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_2], []),
1356
1440
  addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
1357
1441
  addSeller: IDL.Func([IDL.Text, IDL.Nat, IDL.Bool], [Result_11], []),
1442
+ agentConvertBalance: IDL.Func([IDL.Text, IDL.Opt(IDL.Nat)], [Result_90], []),
1358
1443
  appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
1359
- applyCondense: IDL.Func([IDL.Nat], [Result_85], []),
1444
+ appendMemoryText: IDL.Func([IDL.Text, IDL.Text, IDL.Opt(MemorySource)], [Result_16], []),
1445
+ applyCondense: IDL.Func([IDL.Nat], [Result_89], []),
1360
1446
  approveGuardian: IDL.Func([IDL.Principal], [Result_2], []),
1361
1447
  approveRequest: IDL.Func([IDL.Text], [Result_2], []),
1362
1448
  askSignInAgain: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
@@ -1364,82 +1450,85 @@ export const idlFactory = ({ IDL }) => {
1364
1450
  backupFinalize: IDL.Func([IDL.Text], [Result_2], []),
1365
1451
  backupInit: IDL.Func(
1366
1452
  [IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
1367
- [Result_55],
1453
+ [Result_58],
1368
1454
  [],
1369
1455
  ),
1370
- backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_72], ['query']),
1456
+ backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_76], ['query']),
1371
1457
  backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_2], []),
1372
1458
  cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_2], []),
1373
1459
  closeSession: IDL.Func([IDL.Text], [Result_2], []),
1374
1460
  convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_15], []),
1375
- createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_55], []),
1376
- createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_55], []),
1461
+ createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_58], []),
1462
+ createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_58], []),
1377
1463
  declineSignIn: IDL.Func([], [Result_2], []),
1378
1464
  deleteBackup: IDL.Func([IDL.Text], [Result_2], []),
1379
1465
  deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
1380
1466
  denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
1381
1467
  disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
1382
- exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_84], []),
1468
+ exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_88], []),
1383
1469
  freezePayments: IDL.Func([], [Result_2], []),
1384
1470
  freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_2], []),
1385
- getActionAlertStatus: IDL.Func([], [Result_73], ['query']),
1386
- getAgentRevisablePaths: IDL.Func([], [Result_66], ['query']),
1387
- getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_82], ['query']),
1388
- getAgentWriteReview: IDL.Func([], [Result_81], ['query']),
1471
+ getActionAlertStatus: IDL.Func([], [Result_77], ['query']),
1472
+ getAgentConvertRule: IDL.Func([], [AgentConvertRule], ['query']),
1473
+ getAgentRevisablePaths: IDL.Func([], [Result_69], ['query']),
1474
+ getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_86], ['query']),
1475
+ getAgentWriteReview: IDL.Func([], [Result_85], ['query']),
1389
1476
  getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
1390
1477
  getAuditHead: IDL.Func([], [AuditHead], ['query']),
1391
- getBackupMetadata: IDL.Func([IDL.Text], [Result_80], ['query']),
1392
- getBackupRetention: IDL.Func([IDL.Text], [Result_79], ['query']),
1478
+ getBackupMetadata: IDL.Func([IDL.Text], [Result_84], ['query']),
1479
+ getBackupRetention: IDL.Func([IDL.Text], [Result_83], ['query']),
1393
1480
  getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1394
- getBirthChain: IDL.Func([], [Result_78], ['query']),
1395
- getBrakes: IDL.Func([], [Result_77], ['query']),
1481
+ getBirthChain: IDL.Func([], [Result_82], ['query']),
1482
+ getBrakes: IDL.Func([], [Result_81], ['query']),
1396
1483
  getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
1397
- getChildAllowance: IDL.Func([IDL.Principal], [Result_76], ['query']),
1398
- getChildOpening: IDL.Func([], [Result_75], ['query']),
1399
- getEncryptedKeyBackupKey: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_72], []),
1400
- getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_72], []),
1484
+ getChildAllowance: IDL.Func([IDL.Principal], [Result_80], ['query']),
1485
+ getChildOpening: IDL.Func([], [Result_79], ['query']),
1486
+ getEncryptedKeyBackupKey: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_76], []),
1487
+ getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_76], []),
1401
1488
  getEngramCard: IDL.Func([], [AgentCard], ['query']),
1402
- getEvmAddress: IDL.Func([], [Result_74], []),
1489
+ getEvmAddress: IDL.Func([], [Result_78], []),
1403
1490
  getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
1404
- getEvmSignerAddress: IDL.Func([], [Result_55], []),
1491
+ getEvmSignerAddress: IDL.Func([], [Result_58], []),
1405
1492
  getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
1406
- getGuardianAlertStatus: IDL.Func([], [Result_73], ['query']),
1407
- getKeyBackupCiphertext: IDL.Func([], [Result_72], ['query']),
1408
- getKeyBackupStatus: IDL.Func([], [Result_71], ['query']),
1493
+ getGuardianAlertStatus: IDL.Func([], [Result_77], ['query']),
1494
+ getKeyBackupCiphertext: IDL.Func([], [Result_76], ['query']),
1495
+ getKeyBackupStatus: IDL.Func([], [Result_75], ['query']),
1409
1496
  getKeyBackupVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
1410
1497
  getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1411
1498
  getMemoryHistory: IDL.Func(
1412
1499
  [IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
1413
- [Result_70],
1500
+ [Result_74],
1414
1501
  ['query'],
1415
1502
  ),
1416
1503
  getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
1417
1504
  getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
1418
1505
  getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
1419
- getMemoryRetentionPolicy: IDL.Func([], [Result_69], ['query']),
1506
+ getMemoryRetentionPolicy: IDL.Func([], [Result_73], ['query']),
1420
1507
  getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1421
- getMyGuardianStatus: IDL.Func([], [Result_18], ['query']),
1422
- getOwnerConsole: IDL.Func([], [Result_68], ['query']),
1423
- getOwnerSignIn: IDL.Func([], [Result_67], ['query']),
1424
- getProtectedPaths: IDL.Func([], [Result_66], ['query']),
1425
- getRecipientHistory: IDL.Func([IDL.Text], [Result_65], ['query']),
1508
+ getMyGuardianStatus: IDL.Func([], [Result_19], ['query']),
1509
+ getOwnerConsole: IDL.Func([], [Result_72], ['query']),
1510
+ getOwnerSignIn: IDL.Func([], [Result_71], ['query']),
1511
+ getProfile: IDL.Func([], [Result_70], ['query']),
1512
+ getProtectedPaths: IDL.Func([], [Result_69], ['query']),
1513
+ getRecipientHistory: IDL.Func([IDL.Text], [Result_68], ['query']),
1426
1514
  getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
1427
- getSigningFloor: IDL.Func([], [Result_64], ['query']),
1515
+ getSigningFloor: IDL.Func([], [Result_67], ['query']),
1428
1516
  getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1429
- getSpendCeiling: IDL.Func([], [Result_63], ['query']),
1430
- getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_62], ['query']),
1431
- getStorageStats: IDL.Func([], [Result_61], ['query']),
1517
+ getSpendCeiling: IDL.Func([], [Result_66], ['query']),
1518
+ getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_65], ['query']),
1519
+ getStorageStats: IDL.Func([], [Result_64], ['query']),
1432
1520
  getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
1433
1521
  getTopUpLimits: IDL.Func(
1434
1522
  [],
1435
1523
  [IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
1436
1524
  ['query'],
1437
1525
  ),
1438
- getWalletBalances: IDL.Func([], [Result_60], []),
1439
- getWorldIdConfig: IDL.Func([], [Result_59], ['query']),
1440
- getWorldIdRpContext: IDL.Func([], [Result_58], []),
1441
- getWorldIdRpSignerAddress: IDL.Func([], [Result_55], []),
1442
- getWorldIdVerification: IDL.Func([], [Result_57], ['query']),
1526
+ getWalletBalances: IDL.Func([], [Result_63], []),
1527
+ getWalletCycles: IDL.Func([], [Result_15], []),
1528
+ getWorldIdConfig: IDL.Func([], [Result_62], ['query']),
1529
+ getWorldIdRpContext: IDL.Func([], [Result_61], []),
1530
+ getWorldIdRpSignerAddress: IDL.Func([], [Result_58], []),
1531
+ getWorldIdVerification: IDL.Func([], [Result_60], ['query']),
1443
1532
  guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
1444
1533
  http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
1445
1534
  http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
@@ -1470,65 +1559,67 @@ export const idlFactory = ({ IDL }) => {
1470
1559
  ],
1471
1560
  ['query'],
1472
1561
  ),
1473
- isEvmAddressCached: IDL.Func([], [Result_56], ['query']),
1474
- issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_55], []),
1475
- listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_54], ['query']),
1476
- listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_53], ['query']),
1477
- listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_52], ['query']),
1478
- listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_51], ['query']),
1562
+ isEvmAddressCached: IDL.Func([], [Result_59], ['query']),
1563
+ issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_58], []),
1564
+ listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_57], ['query']),
1565
+ listAgentRoster: IDL.Func([IDL.Nat, IDL.Nat], [Result_56], ['query']),
1566
+ listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_55], ['query']),
1567
+ listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_54], ['query']),
1568
+ listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_53], ['query']),
1479
1569
  listApprovalRequests: IDL.Func(
1480
1570
  [IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
1481
- [Result_37],
1571
+ [Result_39],
1482
1572
  ['query'],
1483
1573
  ),
1484
- listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
1485
- listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
1486
- listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
1487
- listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
1488
- listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_46], ['query']),
1489
- listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
1490
- listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_44], ['query']),
1491
- listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1492
- listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1493
- listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1494
- listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
1495
- listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
1496
- listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_38], ['query']),
1497
- listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
1498
- listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
1499
- listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
1500
- listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
1501
- listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
1502
- listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_32], ['query']),
1503
- listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
1504
- listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_30], ['query']),
1505
- listSellers: IDL.Func([IDL.Nat, IDL.Nat], [Result_29], ['query']),
1506
- listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [Result_28], ['query']),
1574
+ listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_52], ['query']),
1575
+ listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_51], ['query']),
1576
+ listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
1577
+ listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
1578
+ listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
1579
+ listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
1580
+ listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_46], ['query']),
1581
+ listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
1582
+ listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
1583
+ listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1584
+ listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1585
+ listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1586
+ listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_40], ['query']),
1587
+ listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
1588
+ listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
1589
+ listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
1590
+ listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
1591
+ listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
1592
+ listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_34], ['query']),
1593
+ listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
1594
+ listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
1595
+ listSellers: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
1596
+ listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [Result_30], ['query']),
1507
1597
  markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_15], []),
1508
- myGrant: IDL.Func([], [Result_27], ['query']),
1598
+ myGrant: IDL.Func([], [Result_29], ['query']),
1509
1599
  nominateAgentKey: IDL.Func([IDL.Principal], [Result_2], []),
1510
- openChild: IDL.Func([IDL.Record({ signIn: IDL.Opt(IDL.Principal) })], [Result_26], []),
1511
- openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_25], []),
1600
+ openChild: IDL.Func([IDL.Record({ signIn: IDL.Opt(IDL.Principal) })], [Result_28], []),
1601
+ openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_27], []),
1512
1602
  ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_15], []),
1513
- pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_24], []),
1603
+ pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_26], []),
1514
1604
  pauseWrites: IDL.Func([], [Result_2], []),
1515
1605
  pauseWritesWithReason: IDL.Func([IDL.Text], [Result_2], []),
1516
- previewCondense: IDL.Func([IDL.Nat], [Result_23], ['query']),
1606
+ planSessionRead: IDL.Func([Request], [Result_25], ['query']),
1607
+ previewCondense: IDL.Func([IDL.Nat], [Result_24], ['query']),
1517
1608
  previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
1518
1609
  previewRetention: IDL.Func(
1519
1610
  [IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
1520
- [Result_22],
1611
+ [Result_23],
1521
1612
  ['query'],
1522
1613
  ),
1523
1614
  readMemory: IDL.Func([IDL.Text], [Result_13], ['query']),
1524
- readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_21], ['query']),
1615
+ readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_22], ['query']),
1525
1616
  readMemoryBytes: IDL.Func(
1526
1617
  [IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
1527
- [Result_20],
1618
+ [Result_21],
1528
1619
  ['query'],
1529
1620
  ),
1530
- recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_19], []),
1531
- registerGuardian: IDL.Func([IDL.Text], [Result_18], []),
1621
+ recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_20], []),
1622
+ registerGuardian: IDL.Func([IDL.Text], [Result_19], []),
1532
1623
  removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_2], []),
1533
1624
  removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_2], []),
1534
1625
  removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
@@ -1536,10 +1627,10 @@ export const idlFactory = ({ IDL }) => {
1536
1627
  removeSeller: IDL.Func([IDL.Text], [Result_2], []),
1537
1628
  renameAgent: IDL.Func([IDL.Principal, IDL.Text], [Result_2], []),
1538
1629
  repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_15], []),
1539
- resetEngram: IDL.Func([], [Result_17], []),
1630
+ resetEngram: IDL.Func([], [Result_18], []),
1540
1631
  resignAgent: IDL.Func([], [Result_2], []),
1541
1632
  resumeWrites: IDL.Func([], [Result_2], []),
1542
- resyncAgentEdges: IDL.Func([], [Result_16], []),
1633
+ resyncAgentEdges: IDL.Func([], [Result_17], []),
1543
1634
  returnToManaged: IDL.Func([], [Result_2], []),
1544
1635
  reviseMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1545
1636
  revokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
@@ -1549,6 +1640,7 @@ export const idlFactory = ({ IDL }) => {
1549
1640
  revokeBearerToken: IDL.Func([IDL.Text], [Result_2], []),
1550
1641
  rollbackMemory: IDL.Func([IDL.Text, IDL.Nat], [Result], []),
1551
1642
  rotateAgentKeyHash: IDL.Func([IDL.Text], [Result_2], []),
1643
+ saveMemoryEntry: IDL.Func([MemoryEntry], [Result_16], []),
1552
1644
  sendToParent: IDL.Func([TokenAmount], [Result_15], []),
1553
1645
  sessionAppendMemory: IDL.Func([Voucher, IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1554
1646
  sessionReadContext: IDL.Func([IDL.Text], [Result_14], []),
@@ -1644,6 +1736,7 @@ export const idlFactory = ({ IDL }) => {
1644
1736
  [Result_2],
1645
1737
  [],
1646
1738
  ),
1739
+ sysRecordSale: IDL.Func([SaleNotice], [Result_2], []),
1647
1740
  sysReturnUpgradeAdvance: IDL.Func(
1648
1741
  [
1649
1742
  IDL.Record({
@@ -1657,6 +1750,7 @@ export const idlFactory = ({ IDL }) => {
1657
1750
  ),
1658
1751
  sysSetBillerId: IDL.Func([IDL.Principal], [Result_2], []),
1659
1752
  sysSetBirthChain: IDL.Func([IDL.Vec(BirthRecord)], [Result_2], []),
1753
+ sysSetConsentOrigin: IDL.Func([IDL.Text], [Result_2], []),
1660
1754
  sysSetMarketId: IDL.Func([IDL.Principal], [Result_2], []),
1661
1755
  sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_2], []),
1662
1756
  sysSignEip712: IDL.Func(
@@ -1702,6 +1796,7 @@ export const init = ({ IDL }) => {
1702
1796
  IDL.Opt(
1703
1797
  IDL.Record({
1704
1798
  owner: IDL.Opt(IDL.Principal),
1799
+ recoveredAtNs: IDL.Opt(IDL.Int),
1705
1800
  registry: IDL.Opt(IDL.Principal),
1706
1801
  ownerSignIn: IDL.Opt(IDL.Principal),
1707
1802
  parent: IDL.Opt(IDL.Principal),