@engramx/idl 0.16.0-rc.23 → 0.16.0-rc.25

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_90 = 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_88 = 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,
@@ -126,7 +126,7 @@ export const idlFactory = ({ IDL }) => {
126
126
  cyclesAdded: IDL.Nat,
127
127
  finishedBeforeRemovalSeen: IDL.Bool,
128
128
  });
129
- const Result_86 = IDL.Variant({ Ok: Conversion, Err: Error });
129
+ const Result_90 = IDL.Variant({ Ok: Conversion, Err: Error });
130
130
  const MemorySource = IDL.Variant({
131
131
  sessionTranscript: IDL.Null,
132
132
  human: IDL.Null,
@@ -146,6 +146,11 @@ export const idlFactory = ({ IDL }) => {
146
146
  recordId: IDL.Nat,
147
147
  });
148
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 });
149
154
  const CondenseResult = IDL.Record({
150
155
  seq: IDL.Nat,
151
156
  toSeq: IDL.Nat,
@@ -157,14 +162,14 @@ export const idlFactory = ({ IDL }) => {
157
162
  historyBytesDelta: IDL.Int,
158
163
  opCount: IDL.Nat,
159
164
  });
160
- const Result_85 = IDL.Variant({ Ok: CondenseResult, Err: Error });
165
+ const Result_89 = IDL.Variant({ Ok: CondenseResult, Err: Error });
161
166
  const BackupType = IDL.Variant({
162
167
  PartialSnapshot: IDL.Null,
163
168
  IncrementalDiff: IDL.Null,
164
169
  FullSnapshot: IDL.Null,
165
170
  });
166
- const Result_55 = IDL.Variant({ Ok: IDL.Text, Err: Error });
167
- 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 });
168
173
  const MemoryRangeExport = IDL.Record({
169
174
  seq: IDL.Nat,
170
175
  toSeq: IDL.Nat,
@@ -174,7 +179,7 @@ export const idlFactory = ({ IDL }) => {
174
179
  fromSeq: IDL.Nat,
175
180
  authorFilter: IDL.Opt(IDL.Principal),
176
181
  });
177
- const Result_84 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
182
+ const Result_88 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
178
183
  const AlertConfig = IDL.Record({
179
184
  url: IDL.Opt(IDL.Text),
180
185
  money: IDL.Bool,
@@ -191,14 +196,14 @@ export const idlFactory = ({ IDL }) => {
191
196
  disabled: IDL.Bool,
192
197
  config: AlertConfig,
193
198
  });
194
- const Result_73 = IDL.Variant({ Ok: AlertStatus, Err: Error });
199
+ const Result_77 = IDL.Variant({ Ok: AlertStatus, Err: Error });
195
200
  const AgentConvertRule = IDL.Record({
196
201
  spacingSeconds: IDL.Nat,
197
202
  minPerCallE6: IDL.Nat,
198
203
  maxPerCallE6: IDL.Nat,
199
204
  belowDays: IDL.Nat,
200
205
  });
201
- const Result_66 = IDL.Variant({
206
+ const Result_69 = IDL.Variant({
202
207
  Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
203
208
  Err: Error,
204
209
  });
@@ -210,12 +215,12 @@ export const idlFactory = ({ IDL }) => {
210
215
  produced: IDL.Nat,
211
216
  firstPaymentDay: IDL.Opt(IDL.Nat),
212
217
  });
213
- const Page_26 = IDL.Record({
218
+ const Page_27 = IDL.Record({
214
219
  total: IDL.Nat,
215
220
  withheld: IDL.Nat,
216
221
  items: IDL.Vec(OwnerRow),
217
222
  });
218
- const Result_82 = IDL.Variant({ Ok: Page_26, Err: Error });
223
+ const Result_86 = IDL.Variant({ Ok: Page_27, Err: Error });
219
224
  const Role = IDL.Variant({
220
225
  Anonymous: IDL.Null,
221
226
  Viewer: IDL.Null,
@@ -254,7 +259,7 @@ export const idlFactory = ({ IDL }) => {
254
259
  earliest: IDL.Nat,
255
260
  capped: IDL.Bool,
256
261
  });
257
- const Result_81 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
262
+ const Result_85 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
258
263
  const AnchorPushStatus = IDL.Record({
259
264
  anchorTickAtNs: IDL.Opt(IDL.Int),
260
265
  okAtNs: IDL.Opt(IDL.Int),
@@ -295,13 +300,13 @@ export const idlFactory = ({ IDL }) => {
295
300
  chunkCount: IDL.Nat,
296
301
  parentBackupId: IDL.Opt(IDL.Text),
297
302
  });
298
- const Result_80 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
303
+ const Result_84 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
299
304
  const BackupRetention = IDL.Record({
300
305
  maxBackups: IDL.Nat,
301
306
  isDefault: IDL.Bool,
302
307
  dbType: IDL.Text,
303
308
  });
304
- const Result_79 = IDL.Variant({ Ok: BackupRetention, Err: Error });
309
+ const Result_83 = IDL.Variant({ Ok: BackupRetention, Err: Error });
305
310
  const BirthRecord = IDL.Record({
306
311
  bornAtNs: IDL.Int,
307
312
  parentFingerprint: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -311,7 +316,7 @@ export const idlFactory = ({ IDL }) => {
311
316
  number: IDL.Nat,
312
317
  parent: IDL.Opt(IDL.Principal),
313
318
  });
314
- const Result_78 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
319
+ const Result_82 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
315
320
  const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
316
321
  const BrakePull = IDL.Record({
317
322
  by: IDL.Principal,
@@ -324,7 +329,7 @@ export const idlFactory = ({ IDL }) => {
324
329
  pull: IDL.Opt(BrakePull),
325
330
  });
326
331
  const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
327
- const Result_77 = IDL.Variant({ Ok: Brakes, Err: Error });
332
+ const Result_81 = IDL.Variant({ Ok: Brakes, Err: Error });
328
333
  const CertifiedAuditHead = IDL.Record({
329
334
  total: IDL.Nat,
330
335
  certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -336,14 +341,14 @@ export const idlFactory = ({ IDL }) => {
336
341
  root: IDL.Principal,
337
342
  remaining: IDL.Nat,
338
343
  });
339
- const Result_76 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
344
+ const Result_80 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
340
345
  const ChildOpening = IDL.Record({
341
346
  attachCycles: IDL.Nat,
342
347
  balance: IDL.Nat,
343
348
  allowances: IDL.Vec(ChildAllowanceRow),
344
349
  floorCycles: IDL.Nat,
345
350
  });
346
- const Result_75 = IDL.Variant({ Ok: ChildOpening, Err: Error });
351
+ const Result_79 = IDL.Variant({ Ok: ChildOpening, Err: Error });
347
352
  const ServiceEntry = IDL.Record({
348
353
  endpoint: IDL.Text,
349
354
  name: IDL.Text,
@@ -361,7 +366,7 @@ export const idlFactory = ({ IDL }) => {
361
366
  pay: IDL.Text,
362
367
  engramRegistration: IDL.Text,
363
368
  });
364
- const Result_74 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
369
+ const Result_78 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
365
370
  const GenesisNote = IDL.Record({
366
371
  predecessorSize: IDL.Opt(IDL.Nat),
367
372
  predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -376,7 +381,7 @@ export const idlFactory = ({ IDL }) => {
376
381
  sealedFor: IDL.Opt(IDL.Principal),
377
382
  sealedAtNs: IDL.Opt(IDL.Int),
378
383
  });
379
- const Result_71 = IDL.Variant({ Ok: KeyBackupStatus, Err: Error });
384
+ const Result_75 = IDL.Variant({ Ok: KeyBackupStatus, Err: Error });
380
385
  const MemoryEviction = IDL.Record({
381
386
  evictSeq: IDL.Nat,
382
387
  fromVersion: IDL.Nat,
@@ -413,7 +418,7 @@ export const idlFactory = ({ IDL }) => {
413
418
  versions: IDL.Vec(MemoryVersionSummary),
414
419
  evictedCount: IDL.Nat,
415
420
  });
416
- const Result_70 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
421
+ const Result_74 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
417
422
  const MemoryMaintainStatus = IDL.Record({
418
423
  attachOk: IDL.Bool,
419
424
  attachDetail: IDL.Text,
@@ -441,7 +446,7 @@ export const idlFactory = ({ IDL }) => {
441
446
  entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
442
447
  guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
443
448
  });
444
- const Result_69 = IDL.Variant({
449
+ const Result_73 = IDL.Variant({
445
450
  Ok: MemoryRetentionPolicy,
446
451
  Err: Error,
447
452
  });
@@ -456,7 +461,7 @@ export const idlFactory = ({ IDL }) => {
456
461
  name: IDL.Text,
457
462
  addedAtNs: IDL.Int,
458
463
  });
459
- const Result_18 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
464
+ const Result_19 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
460
465
  const OwnerConsole = IDL.Record({
461
466
  pendingApprovalCount: IDL.Nat,
462
467
  memoryKeyEpoch: IDL.Nat,
@@ -466,7 +471,7 @@ export const idlFactory = ({ IDL }) => {
466
471
  cyclesBalance: IDL.Nat,
467
472
  unknownSessionRefusals: IDL.Nat,
468
473
  });
469
- const Result_68 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
474
+ const Result_72 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
470
475
  const OwnerSignInView = IDL.Record({
471
476
  askedAtNs: IDL.Opt(IDL.Int),
472
477
  openedFrom: IDL.Opt(IDL.Principal),
@@ -476,7 +481,22 @@ export const idlFactory = ({ IDL }) => {
476
481
  callerIsAsked: IDL.Bool,
477
482
  ownerSignIn: IDL.Opt(IDL.Principal),
478
483
  });
479
- 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 });
480
500
  const RecipientHistory = IDL.Record({
481
501
  historyFull: IDL.Bool,
482
502
  firstPaidAtNs: IDL.Opt(IDL.Int),
@@ -487,19 +507,19 @@ export const idlFactory = ({ IDL }) => {
487
507
  largestPaidE6: IDL.Nat,
488
508
  listedSeller: IDL.Bool,
489
509
  });
490
- const Result_65 = IDL.Variant({ Ok: RecipientHistory, Err: Error });
510
+ const Result_68 = IDL.Variant({ Ok: RecipientHistory, Err: Error });
491
511
  const SigningFloorStatus = IDL.Record({
492
512
  floor: IDL.Nat,
493
513
  signaturesAboveFloor: IDL.Nat,
494
514
  balance: IDL.Nat,
495
515
  perSignature: IDL.Nat,
496
516
  });
497
- const Result_64 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
517
+ const Result_67 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
498
518
  const SpendCeiling = IDL.Record({
499
519
  spentToday: IDL.Nat,
500
520
  maxPerDay: IDL.Opt(IDL.Nat),
501
521
  });
502
- const Result_63 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
522
+ const Result_66 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
503
523
  const SpendingPolicy = IDL.Record({
504
524
  maxSessionDeposit: IDL.Opt(IDL.Nat),
505
525
  blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
@@ -511,7 +531,7 @@ export const idlFactory = ({ IDL }) => {
511
531
  allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
512
532
  maxConcurrentSessions: IDL.Opt(IDL.Nat),
513
533
  });
514
- const Result_62 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
534
+ const Result_65 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
515
535
  const StorageReport = IDL.Record({
516
536
  sessionFilesSize: IDL.Nat,
517
537
  totalFiles: IDL.Nat,
@@ -526,7 +546,7 @@ export const idlFactory = ({ IDL }) => {
526
546
  versionHistoryCount: IDL.Nat,
527
547
  sessionFilesCount: IDL.Nat,
528
548
  });
529
- const Result_61 = IDL.Variant({ Ok: StorageReport, Err: Error });
549
+ const Result_64 = IDL.Variant({ Ok: StorageReport, Err: Error });
530
550
  const Ic402Maintenance = IDL.Record({
531
551
  revokedGrantsRemoved: IDL.Nat,
532
552
  dailySpendRemoved: IDL.Nat,
@@ -551,14 +571,14 @@ export const idlFactory = ({ IDL }) => {
551
571
  ckusdtE6s: IDL.Nat,
552
572
  cycles: IDL.Nat,
553
573
  });
554
- const Result_60 = IDL.Variant({ Ok: WalletBalances, Err: Error });
574
+ const Result_63 = IDL.Variant({ Ok: WalletBalances, Err: Error });
555
575
  const WorldIdConfig = IDL.Record({
556
576
  action: IDL.Text,
557
577
  appId: IDL.Text,
558
578
  rpId: IDL.Text,
559
579
  configured: IDL.Bool,
560
580
  });
561
- const Result_59 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
581
+ const Result_62 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
562
582
  const WorldIdRpContext = IDL.Record({
563
583
  signature: IDL.Text,
564
584
  expiresAt: IDL.Nat,
@@ -566,8 +586,8 @@ export const idlFactory = ({ IDL }) => {
566
586
  rpId: IDL.Text,
567
587
  nonce: IDL.Text,
568
588
  });
569
- const Result_58 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
570
- 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 });
571
591
  const HttpRequest = IDL.Record({
572
592
  url: IDL.Text,
573
593
  method: IDL.Text,
@@ -580,18 +600,49 @@ export const idlFactory = ({ IDL }) => {
580
600
  upgrade: IDL.Opt(IDL.Bool),
581
601
  status_code: IDL.Nat16,
582
602
  });
583
- const Result_56 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
603
+ const Result_59 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
584
604
  const ActivitySnapshot = IDL.Record({
585
605
  atNs: IDL.Int,
586
606
  memoryReads: IDL.Nat,
587
607
  memoryWrites: IDL.Nat,
588
608
  });
589
- const Page_25 = IDL.Record({
609
+ const Page_26 = IDL.Record({
590
610
  total: IDL.Nat,
591
611
  withheld: IDL.Nat,
592
612
  items: IDL.Vec(ActivitySnapshot),
593
613
  });
594
- 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 });
595
646
  const AgentSpendRow = IDL.Record({
596
647
  agent: IDL.Principal,
597
648
  spentToday: IDL.Opt(IDL.Nat),
@@ -607,13 +658,13 @@ export const idlFactory = ({ IDL }) => {
607
658
  dayStartNs: IDL.Int,
608
659
  agents: Page_24,
609
660
  });
610
- const Result_53 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
661
+ const Result_55 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
611
662
  const Page_23 = IDL.Record({
612
663
  total: IDL.Nat,
613
664
  withheld: IDL.Nat,
614
665
  items: IDL.Vec(AgentRecord),
615
666
  });
616
- const Result_52 = IDL.Variant({ Ok: Page_23, Err: Error });
667
+ const Result_54 = IDL.Variant({ Ok: Page_23, Err: Error });
617
668
  const Page_22 = IDL.Record({
618
669
  total: IDL.Nat,
619
670
  withheld: IDL.Nat,
@@ -625,7 +676,7 @@ export const idlFactory = ({ IDL }) => {
625
676
  }),
626
677
  ),
627
678
  });
628
- const Result_51 = IDL.Variant({ Ok: Page_22, Err: Error });
679
+ const Result_53 = IDL.Variant({ Ok: Page_22, Err: Error });
629
680
  const ApprovalStatus = IDL.Variant({
630
681
  Used: IDL.Null,
631
682
  Approved: IDL.Null,
@@ -654,7 +705,7 @@ export const idlFactory = ({ IDL }) => {
654
705
  withheld: IDL.Nat,
655
706
  items: IDL.Vec(ApprovalRequest),
656
707
  });
657
- const Result_37 = IDL.Variant({ Ok: Page_9, Err: Error });
708
+ const Result_39 = IDL.Variant({ Ok: Page_9, Err: Error });
658
709
  const SealedEntry = IDL.Record({
659
710
  id: IDL.Nat,
660
711
  entryHash: IDL.Vec(IDL.Nat8),
@@ -667,35 +718,19 @@ export const idlFactory = ({ IDL }) => {
667
718
  items: IDL.Vec(AuditEntry),
668
719
  hashFirstFrom: IDL.Nat,
669
720
  });
670
- const Result_50 = IDL.Variant({ Ok: RecordPage, Err: Error });
721
+ const Result_52 = IDL.Variant({ Ok: RecordPage, Err: Error });
671
722
  const Page_21 = IDL.Record({
672
723
  total: IDL.Nat,
673
724
  withheld: IDL.Nat,
674
725
  items: IDL.Vec(BackupMetadata),
675
726
  });
676
- const Result_49 = IDL.Variant({ Ok: Page_21, Err: Error });
677
- const BearerTokenStatus = IDL.Variant({
678
- Active: IDL.Null,
679
- Revoked: IDL.Null,
680
- Expired: IDL.Null,
681
- });
682
- const BearerToken = IDL.Record({
683
- expiresAtNs: IDL.Int,
684
- status: BearerTokenStatus,
685
- lastUsedNs: IDL.Int,
686
- permissions: AgentPermissions,
687
- tokenId: IDL.Text,
688
- clientLabel: IDL.Text,
689
- issuedAtNs: IDL.Int,
690
- tokenHash: IDL.Text,
691
- issuedBy: IDL.Principal,
692
- });
727
+ const Result_51 = IDL.Variant({ Ok: Page_21, Err: Error });
693
728
  const Page_20 = IDL.Record({
694
729
  total: IDL.Nat,
695
730
  withheld: IDL.Nat,
696
731
  items: IDL.Vec(BearerToken),
697
732
  });
698
- const Result_48 = IDL.Variant({ Ok: Page_20, Err: Error });
733
+ const Result_50 = IDL.Variant({ Ok: Page_20, Err: Error });
699
734
  const CondenseCheckpointRow = IDL.Record({
700
735
  by: IDL.Principal,
701
736
  seq: IDL.Nat,
@@ -716,7 +751,7 @@ export const idlFactory = ({ IDL }) => {
716
751
  page: Page_19,
717
752
  scannedThroughSeq: IDL.Nat,
718
753
  });
719
- const Result_47 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
754
+ const Result_49 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
720
755
  const CycleSnapshot = IDL.Record({
721
756
  seq: IDL.Nat,
722
757
  source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
@@ -728,13 +763,13 @@ export const idlFactory = ({ IDL }) => {
728
763
  withheld: IDL.Nat,
729
764
  items: IDL.Vec(CycleSnapshot),
730
765
  });
731
- const Result_46 = IDL.Variant({ Ok: Page_18, Err: Error });
766
+ const Result_48 = IDL.Variant({ Ok: Page_18, Err: Error });
732
767
  const Page_17 = IDL.Record({
733
768
  total: IDL.Nat,
734
769
  withheld: IDL.Nat,
735
770
  items: IDL.Vec(IDL.Text),
736
771
  });
737
- const Result_45 = IDL.Variant({ Ok: Page_17, Err: Error });
772
+ const Result_47 = IDL.Variant({ Ok: Page_17, Err: Error });
738
773
  const Eip712Destination = IDL.Record({
739
774
  activeFromNs: IDL.Int,
740
775
  value: IDL.Text,
@@ -744,7 +779,7 @@ export const idlFactory = ({ IDL }) => {
744
779
  withheld: IDL.Nat,
745
780
  items: IDL.Vec(Eip712Destination),
746
781
  });
747
- const Result_44 = IDL.Variant({ Ok: Page_16, Err: Error });
782
+ const Result_46 = IDL.Variant({ Ok: Page_16, Err: Error });
748
783
  const AuthorityClass = IDL.Variant({
749
784
  standingAuthority: IDL.Null,
750
785
  valueBearing: IDL.Null,
@@ -774,7 +809,7 @@ export const idlFactory = ({ IDL }) => {
774
809
  withheld: IDL.Nat,
775
810
  items: IDL.Vec(Eip712TypeView),
776
811
  });
777
- const Result_43 = IDL.Variant({ Ok: Page_15, Err: Error });
812
+ const Result_45 = IDL.Variant({ Ok: Page_15, Err: Error });
778
813
  const GuardianDispute = IDL.Record({
779
814
  about: IDL.Nat,
780
815
  atNs: IDL.Int,
@@ -789,13 +824,13 @@ export const idlFactory = ({ IDL }) => {
789
824
  withheld: IDL.Nat,
790
825
  items: IDL.Vec(GuardianDispute),
791
826
  });
792
- const Result_42 = IDL.Variant({ Ok: Page_14, Err: Error });
827
+ const Result_44 = IDL.Variant({ Ok: Page_14, Err: Error });
793
828
  const Page_13 = IDL.Record({
794
829
  total: IDL.Nat,
795
830
  withheld: IDL.Nat,
796
831
  items: IDL.Vec(GuardianRecord),
797
832
  });
798
- const Result_41 = IDL.Variant({ Ok: Page_13, Err: Error });
833
+ const Result_43 = IDL.Variant({ Ok: Page_13, Err: Error });
799
834
  const ExportReceiptRow = IDL.Record({
800
835
  by: IDL.Principal,
801
836
  seq: IDL.Nat,
@@ -815,7 +850,7 @@ export const idlFactory = ({ IDL }) => {
815
850
  page: Page_12,
816
851
  scannedThroughSeq: IDL.Nat,
817
852
  });
818
- const Result_40 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
853
+ const Result_42 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
819
854
  const MemoryFileRow = IDL.Record({
820
855
  path: IDL.Text,
821
856
  version: IDL.Nat,
@@ -827,7 +862,7 @@ export const idlFactory = ({ IDL }) => {
827
862
  withheld: IDL.Nat,
828
863
  items: IDL.Vec(MemoryFileRow),
829
864
  });
830
- const Result_39 = IDL.Variant({ Ok: Page_11, Err: Error });
865
+ const Result_41 = IDL.Variant({ Ok: Page_11, Err: Error });
831
866
  const MemoryLogChunkRef = IDL.Record({
832
867
  hash: IDL.Vec(IDL.Nat8),
833
868
  size: IDL.Nat,
@@ -906,7 +941,7 @@ export const idlFactory = ({ IDL }) => {
906
941
  head: IDL.Vec(IDL.Nat8),
907
942
  page: Page_10,
908
943
  });
909
- const Result_38 = IDL.Variant({ Ok: LogPage, Err: Error });
944
+ const Result_40 = IDL.Variant({ Ok: LogPage, Err: Error });
910
945
  const EngramSessionStatus = IDL.Variant({
911
946
  closed: IDL.Null,
912
947
  expired: IDL.Null,
@@ -930,7 +965,7 @@ export const idlFactory = ({ IDL }) => {
930
965
  withheld: IDL.Nat,
931
966
  items: IDL.Vec(EngramSessionState),
932
967
  });
933
- const Result_36 = IDL.Variant({ Ok: Page_8, Err: Error });
968
+ const Result_38 = IDL.Variant({ Ok: Page_8, Err: Error });
934
969
  const OwnershipTransfer = IDL.Record({
935
970
  to: IDL.Principal,
936
971
  atNs: IDL.Int,
@@ -942,7 +977,7 @@ export const idlFactory = ({ IDL }) => {
942
977
  withheld: IDL.Nat,
943
978
  items: IDL.Vec(OwnershipTransfer),
944
979
  });
945
- const Result_35 = IDL.Variant({ Ok: Page_7, Err: Error });
980
+ const Result_37 = IDL.Variant({ Ok: Page_7, Err: Error });
946
981
  const MarketplacePaymentSignatures = IDL.Record({
947
982
  marketplace: IDL.Principal,
948
983
  sharedSignedToday: IDL.Nat,
@@ -964,7 +999,7 @@ export const idlFactory = ({ IDL }) => {
964
999
  agents: Page_6,
965
1000
  limit: IDL.Nat,
966
1001
  });
967
- const Result_34 = IDL.Variant({
1002
+ const Result_36 = IDL.Variant({
968
1003
  Ok: PaymentSignatureCounts,
969
1004
  Err: Error,
970
1005
  });
@@ -983,13 +1018,13 @@ export const idlFactory = ({ IDL }) => {
983
1018
  withheld: IDL.Nat,
984
1019
  items: IDL.Vec(PurgedAgent),
985
1020
  });
986
- const Result_33 = IDL.Variant({ Ok: Page_5, Err: Error });
1021
+ const Result_35 = IDL.Variant({ Ok: Page_5, Err: Error });
987
1022
  const Page_4 = IDL.Record({
988
1023
  total: IDL.Nat,
989
1024
  withheld: IDL.Nat,
990
1025
  items: IDL.Vec(AuditEntry),
991
1026
  });
992
- const Result_32 = IDL.Variant({ Ok: Page_4, Err: Error });
1027
+ const Result_34 = IDL.Variant({ Ok: Page_4, Err: Error });
993
1028
  const RecordNote = IDL.Record({
994
1029
  about: IDL.Nat,
995
1030
  atNs: IDL.Int,
@@ -1001,7 +1036,7 @@ export const idlFactory = ({ IDL }) => {
1001
1036
  withheld: IDL.Nat,
1002
1037
  items: IDL.Vec(RecordNote),
1003
1038
  });
1004
- const Result_31 = IDL.Variant({ Ok: Page_3, Err: Error });
1039
+ const Result_33 = IDL.Variant({ Ok: Page_3, Err: Error });
1005
1040
  const Repudiation = IDL.Record({
1006
1041
  atNs: IDL.Int,
1007
1042
  path: IDL.Text,
@@ -1014,7 +1049,7 @@ export const idlFactory = ({ IDL }) => {
1014
1049
  withheld: IDL.Nat,
1015
1050
  items: IDL.Vec(Repudiation),
1016
1051
  });
1017
- const Result_30 = IDL.Variant({ Ok: Page_2, Err: Error });
1052
+ const Result_32 = IDL.Variant({ Ok: Page_2, Err: Error });
1018
1053
  const SellerView = IDL.Record({
1019
1054
  spentTodayE6: IDL.Nat,
1020
1055
  isPayout: IDL.Bool,
@@ -1032,17 +1067,13 @@ export const idlFactory = ({ IDL }) => {
1032
1067
  withheld: IDL.Nat,
1033
1068
  items: IDL.Vec(SellerView),
1034
1069
  });
1035
- const Result_29 = IDL.Variant({ Ok: Page_1, Err: Error });
1036
- const SignIn = IDL.Record({
1037
- token: BearerToken,
1038
- clientName: IDL.Opt(IDL.Text),
1039
- });
1070
+ const Result_31 = IDL.Variant({ Ok: Page_1, Err: Error });
1040
1071
  const Page = IDL.Record({
1041
1072
  total: IDL.Nat,
1042
1073
  withheld: IDL.Nat,
1043
1074
  items: IDL.Vec(SignIn),
1044
1075
  });
1045
- const Result_28 = IDL.Variant({ Ok: Page, Err: Error });
1076
+ const Result_30 = IDL.Variant({ Ok: Page, Err: Error });
1046
1077
  const PaymentsStop = IDL.Variant({
1047
1078
  paymentsBrake: IDL.Null,
1048
1079
  dailySignatureLimit: IDL.Null,
@@ -1070,8 +1101,8 @@ export const idlFactory = ({ IDL }) => {
1070
1101
  paymentsNow: IDL.Opt(PaymentsNow),
1071
1102
  paymentLimits: PaymentLimits,
1072
1103
  });
1073
- const Result_27 = IDL.Variant({ Ok: AgentGrant, Err: Error });
1074
- 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 });
1075
1106
  const SessionConfig = IDL.Record({
1076
1107
  autoClose: IDL.Bool,
1077
1108
  idleTimeout: IDL.Opt(IDL.Int),
@@ -1098,7 +1129,7 @@ export const idlFactory = ({ IDL }) => {
1098
1129
  nonce: IDL.Vec(IDL.Nat8),
1099
1130
  authorization: IDL.Opt(Eip3009Authorization),
1100
1131
  });
1101
- const Result_25 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
1132
+ const Result_27 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
1102
1133
  const TokenAmount = IDL.Variant({
1103
1134
  Icp: IDL.Nat,
1104
1135
  Ckusdc: IDL.Nat,
@@ -1123,7 +1154,29 @@ export const idlFactory = ({ IDL }) => {
1123
1154
  agent: AgentRecord,
1124
1155
  trackRecord: TrackRecordNotice,
1125
1156
  });
1126
- 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 });
1127
1180
  const CondensePreview = IDL.Record({
1128
1181
  scannedFromSeq: IDL.Nat,
1129
1182
  scanTruncated: IDL.Bool,
@@ -1137,7 +1190,7 @@ export const idlFactory = ({ IDL }) => {
1137
1190
  coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
1138
1191
  proposedToSeq: IDL.Nat,
1139
1192
  });
1140
- const Result_23 = IDL.Variant({ Ok: CondensePreview, Err: Error });
1193
+ const Result_24 = IDL.Variant({ Ok: CondensePreview, Err: Error });
1141
1194
  const SessionIntent = IDL.Record({
1142
1195
  token: IDL.Text,
1143
1196
  costPerCall: IDL.Opt(IDL.Nat),
@@ -1164,20 +1217,12 @@ export const idlFactory = ({ IDL }) => {
1164
1217
  storedFiles: IDL.Nat,
1165
1218
  rules: IDL.Vec(RetentionPreviewRule),
1166
1219
  });
1167
- const Result_22 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
1168
- const MemoryFile = IDL.Record({
1169
- content: IDL.Vec(IDL.Nat8),
1170
- path: IDL.Text,
1171
- version: IDL.Nat,
1172
- lastModifiedBy: IDL.Principal,
1173
- lastModifiedAtNs: IDL.Int,
1174
- });
1175
- const Result_13 = IDL.Variant({ Ok: MemoryFile, Err: Error });
1220
+ const Result_23 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
1176
1221
  const BatchReadItem = IDL.Record({
1177
1222
  result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
1178
1223
  path: IDL.Text,
1179
1224
  });
1180
- const Result_21 = IDL.Variant({
1225
+ const Result_22 = IDL.Variant({
1181
1226
  Ok: IDL.Vec(BatchReadItem),
1182
1227
  Err: Error,
1183
1228
  });
@@ -1186,19 +1231,19 @@ export const idlFactory = ({ IDL }) => {
1186
1231
  fileSize: IDL.Nat,
1187
1232
  bytes: IDL.Vec(IDL.Nat8),
1188
1233
  });
1189
- const Result_20 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
1234
+ const Result_21 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
1190
1235
  const EngramEscrowRecovery = IDL.Record({
1191
1236
  amountE6: IDL.Nat,
1192
1237
  blockIndex: IDL.Nat,
1193
1238
  });
1194
- const Result_19 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
1239
+ const Result_20 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
1195
1240
  const ResetReport = IDL.Record({
1196
1241
  agentsRemoved: IDL.Nat,
1197
1242
  agentsPurged: IDL.Nat,
1198
1243
  guardiansRemoved: IDL.Nat,
1199
1244
  filesCleared: IDL.Nat,
1200
1245
  });
1201
- const Result_17 = IDL.Variant({ Ok: ResetReport, Err: Error });
1246
+ const Result_18 = IDL.Variant({ Ok: ResetReport, Err: Error });
1202
1247
  const UnrecordableEngagement = IDL.Record({
1203
1248
  principal: IDL.Principal,
1204
1249
  root: IDL.Principal,
@@ -1218,7 +1263,20 @@ export const idlFactory = ({ IDL }) => {
1218
1263
  }),
1219
1264
  ),
1220
1265
  });
1221
- 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
+ });
1222
1280
  const Voucher = IDL.Record({
1223
1281
  signature: IDL.Vec(IDL.Nat8),
1224
1282
  sessionId: IDL.Text,
@@ -1341,7 +1399,7 @@ export const idlFactory = ({ IDL }) => {
1341
1399
  const Result_1 = IDL.Variant({ Ok: TimersWake, Err: Error });
1342
1400
  const Engram = IDL.Service({
1343
1401
  about: IDL.Func([], [About], ['query']),
1344
- acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_90], []),
1402
+ acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_94], []),
1345
1403
  acceptSignIn: IDL.Func([], [Result_2], []),
1346
1404
  actionAlertTransform: IDL.Func(
1347
1405
  [
@@ -1375,15 +1433,16 @@ export const idlFactory = ({ IDL }) => {
1375
1433
  ackIrrevocable: IDL.Bool,
1376
1434
  }),
1377
1435
  ],
1378
- [Result_88],
1436
+ [Result_92],
1379
1437
  [],
1380
1438
  ),
1381
1439
  addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_2], []),
1382
1440
  addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
1383
1441
  addSeller: IDL.Func([IDL.Text, IDL.Nat, IDL.Bool], [Result_11], []),
1384
- agentConvertBalance: IDL.Func([IDL.Text, IDL.Opt(IDL.Nat)], [Result_86], []),
1442
+ agentConvertBalance: IDL.Func([IDL.Text, IDL.Opt(IDL.Nat)], [Result_90], []),
1385
1443
  appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
1386
- 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], []),
1387
1446
  approveGuardian: IDL.Func([IDL.Principal], [Result_2], []),
1388
1447
  approveRequest: IDL.Func([IDL.Text], [Result_2], []),
1389
1448
  askSignInAgain: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
@@ -1391,83 +1450,85 @@ export const idlFactory = ({ IDL }) => {
1391
1450
  backupFinalize: IDL.Func([IDL.Text], [Result_2], []),
1392
1451
  backupInit: IDL.Func(
1393
1452
  [IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
1394
- [Result_55],
1453
+ [Result_58],
1395
1454
  [],
1396
1455
  ),
1397
- backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_72], ['query']),
1456
+ backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_76], ['query']),
1398
1457
  backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_2], []),
1399
1458
  cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_2], []),
1400
1459
  closeSession: IDL.Func([IDL.Text], [Result_2], []),
1401
1460
  convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_15], []),
1402
- createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_55], []),
1403
- 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], []),
1404
1463
  declineSignIn: IDL.Func([], [Result_2], []),
1405
1464
  deleteBackup: IDL.Func([IDL.Text], [Result_2], []),
1406
1465
  deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
1407
1466
  denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
1408
1467
  disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
1409
- 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], []),
1410
1469
  freezePayments: IDL.Func([], [Result_2], []),
1411
1470
  freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_2], []),
1412
- getActionAlertStatus: IDL.Func([], [Result_73], ['query']),
1471
+ getActionAlertStatus: IDL.Func([], [Result_77], ['query']),
1413
1472
  getAgentConvertRule: IDL.Func([], [AgentConvertRule], ['query']),
1414
- getAgentRevisablePaths: IDL.Func([], [Result_66], ['query']),
1415
- getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_82], ['query']),
1416
- getAgentWriteReview: IDL.Func([], [Result_81], ['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']),
1417
1476
  getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
1418
1477
  getAuditHead: IDL.Func([], [AuditHead], ['query']),
1419
- getBackupMetadata: IDL.Func([IDL.Text], [Result_80], ['query']),
1420
- 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']),
1421
1480
  getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1422
- getBirthChain: IDL.Func([], [Result_78], ['query']),
1423
- getBrakes: IDL.Func([], [Result_77], ['query']),
1481
+ getBirthChain: IDL.Func([], [Result_82], ['query']),
1482
+ getBrakes: IDL.Func([], [Result_81], ['query']),
1424
1483
  getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
1425
- getChildAllowance: IDL.Func([IDL.Principal], [Result_76], ['query']),
1426
- getChildOpening: IDL.Func([], [Result_75], ['query']),
1427
- getEncryptedKeyBackupKey: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_72], []),
1428
- 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], []),
1429
1488
  getEngramCard: IDL.Func([], [AgentCard], ['query']),
1430
- getEvmAddress: IDL.Func([], [Result_74], []),
1489
+ getEvmAddress: IDL.Func([], [Result_78], []),
1431
1490
  getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
1432
- getEvmSignerAddress: IDL.Func([], [Result_55], []),
1491
+ getEvmSignerAddress: IDL.Func([], [Result_58], []),
1433
1492
  getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
1434
- getGuardianAlertStatus: IDL.Func([], [Result_73], ['query']),
1435
- getKeyBackupCiphertext: IDL.Func([], [Result_72], ['query']),
1436
- 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']),
1437
1496
  getKeyBackupVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
1438
1497
  getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1439
1498
  getMemoryHistory: IDL.Func(
1440
1499
  [IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
1441
- [Result_70],
1500
+ [Result_74],
1442
1501
  ['query'],
1443
1502
  ),
1444
1503
  getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
1445
1504
  getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
1446
1505
  getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
1447
- getMemoryRetentionPolicy: IDL.Func([], [Result_69], ['query']),
1506
+ getMemoryRetentionPolicy: IDL.Func([], [Result_73], ['query']),
1448
1507
  getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1449
- getMyGuardianStatus: IDL.Func([], [Result_18], ['query']),
1450
- getOwnerConsole: IDL.Func([], [Result_68], ['query']),
1451
- getOwnerSignIn: IDL.Func([], [Result_67], ['query']),
1452
- getProtectedPaths: IDL.Func([], [Result_66], ['query']),
1453
- 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']),
1454
1514
  getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
1455
- getSigningFloor: IDL.Func([], [Result_64], ['query']),
1515
+ getSigningFloor: IDL.Func([], [Result_67], ['query']),
1456
1516
  getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1457
- getSpendCeiling: IDL.Func([], [Result_63], ['query']),
1458
- getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_62], ['query']),
1459
- 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']),
1460
1520
  getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
1461
1521
  getTopUpLimits: IDL.Func(
1462
1522
  [],
1463
1523
  [IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
1464
1524
  ['query'],
1465
1525
  ),
1466
- getWalletBalances: IDL.Func([], [Result_60], []),
1467
- getWorldIdConfig: IDL.Func([], [Result_59], ['query']),
1468
- getWorldIdRpContext: IDL.Func([], [Result_58], []),
1469
- getWorldIdRpSignerAddress: IDL.Func([], [Result_55], []),
1470
- 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']),
1471
1532
  guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
1472
1533
  http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
1473
1534
  http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
@@ -1498,65 +1559,67 @@ export const idlFactory = ({ IDL }) => {
1498
1559
  ],
1499
1560
  ['query'],
1500
1561
  ),
1501
- isEvmAddressCached: IDL.Func([], [Result_56], ['query']),
1502
- issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_55], []),
1503
- listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_54], ['query']),
1504
- listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_53], ['query']),
1505
- listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_52], ['query']),
1506
- 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']),
1507
1569
  listApprovalRequests: IDL.Func(
1508
1570
  [IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
1509
- [Result_37],
1571
+ [Result_39],
1510
1572
  ['query'],
1511
1573
  ),
1512
- listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
1513
- listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
1514
- listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
1515
- listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
1516
- listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_46], ['query']),
1517
- listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
1518
- listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_44], ['query']),
1519
- listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1520
- listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1521
- listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1522
- listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
1523
- listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
1524
- listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_38], ['query']),
1525
- listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
1526
- listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
1527
- listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
1528
- listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
1529
- listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
1530
- listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_32], ['query']),
1531
- listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
1532
- listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_30], ['query']),
1533
- listSellers: IDL.Func([IDL.Nat, IDL.Nat], [Result_29], ['query']),
1534
- 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']),
1535
1597
  markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_15], []),
1536
- myGrant: IDL.Func([], [Result_27], ['query']),
1598
+ myGrant: IDL.Func([], [Result_29], ['query']),
1537
1599
  nominateAgentKey: IDL.Func([IDL.Principal], [Result_2], []),
1538
- openChild: IDL.Func([IDL.Record({ signIn: IDL.Opt(IDL.Principal) })], [Result_26], []),
1539
- 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], []),
1540
1602
  ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_15], []),
1541
- 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], []),
1542
1604
  pauseWrites: IDL.Func([], [Result_2], []),
1543
1605
  pauseWritesWithReason: IDL.Func([IDL.Text], [Result_2], []),
1544
- 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']),
1545
1608
  previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
1546
1609
  previewRetention: IDL.Func(
1547
1610
  [IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
1548
- [Result_22],
1611
+ [Result_23],
1549
1612
  ['query'],
1550
1613
  ),
1551
1614
  readMemory: IDL.Func([IDL.Text], [Result_13], ['query']),
1552
- readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_21], ['query']),
1615
+ readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_22], ['query']),
1553
1616
  readMemoryBytes: IDL.Func(
1554
1617
  [IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
1555
- [Result_20],
1618
+ [Result_21],
1556
1619
  ['query'],
1557
1620
  ),
1558
- recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_19], []),
1559
- 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], []),
1560
1623
  removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_2], []),
1561
1624
  removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_2], []),
1562
1625
  removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
@@ -1564,10 +1627,10 @@ export const idlFactory = ({ IDL }) => {
1564
1627
  removeSeller: IDL.Func([IDL.Text], [Result_2], []),
1565
1628
  renameAgent: IDL.Func([IDL.Principal, IDL.Text], [Result_2], []),
1566
1629
  repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_15], []),
1567
- resetEngram: IDL.Func([], [Result_17], []),
1630
+ resetEngram: IDL.Func([], [Result_18], []),
1568
1631
  resignAgent: IDL.Func([], [Result_2], []),
1569
1632
  resumeWrites: IDL.Func([], [Result_2], []),
1570
- resyncAgentEdges: IDL.Func([], [Result_16], []),
1633
+ resyncAgentEdges: IDL.Func([], [Result_17], []),
1571
1634
  returnToManaged: IDL.Func([], [Result_2], []),
1572
1635
  reviseMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1573
1636
  revokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
@@ -1577,6 +1640,7 @@ export const idlFactory = ({ IDL }) => {
1577
1640
  revokeBearerToken: IDL.Func([IDL.Text], [Result_2], []),
1578
1641
  rollbackMemory: IDL.Func([IDL.Text, IDL.Nat], [Result], []),
1579
1642
  rotateAgentKeyHash: IDL.Func([IDL.Text], [Result_2], []),
1643
+ saveMemoryEntry: IDL.Func([MemoryEntry], [Result_16], []),
1580
1644
  sendToParent: IDL.Func([TokenAmount], [Result_15], []),
1581
1645
  sessionAppendMemory: IDL.Func([Voucher, IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1582
1646
  sessionReadContext: IDL.Func([IDL.Text], [Result_14], []),
@@ -1686,6 +1750,7 @@ export const idlFactory = ({ IDL }) => {
1686
1750
  ),
1687
1751
  sysSetBillerId: IDL.Func([IDL.Principal], [Result_2], []),
1688
1752
  sysSetBirthChain: IDL.Func([IDL.Vec(BirthRecord)], [Result_2], []),
1753
+ sysSetConsentOrigin: IDL.Func([IDL.Text], [Result_2], []),
1689
1754
  sysSetMarketId: IDL.Func([IDL.Principal], [Result_2], []),
1690
1755
  sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_2], []),
1691
1756
  sysSignEip712: IDL.Func(