@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.
@@ -267,6 +267,10 @@ export interface CallerSignatureCount {
267
267
  root: [] | [Principal];
268
268
  caller: Principal;
269
269
  }
270
+ export interface CanonicalRead {
271
+ entry: Entry;
272
+ readPath: string;
273
+ }
270
274
  export interface CertifiedAuditHead {
271
275
  total: bigint;
272
276
  certificate: [] | [Uint8Array | number[]];
@@ -392,6 +396,7 @@ export type Eip712Value =
392
396
  | { address: string }
393
397
  | { fixedBytes: Uint8Array | number[] }
394
398
  | { bytes: Uint8Array | number[] };
399
+ export type End = { at: bigint } | { all: null };
395
400
  export interface Engram {
396
401
  /**
397
402
  * / ⟨0.16.0⟩ `about()` — the ONE public projection, replacing `status()` and absorbing `metrics()`.
@@ -426,7 +431,7 @@ export interface Engram {
426
431
  * / test/key-replacement.test.mo runs it; this body names no roster gate, because the caller holds
427
432
  * / no role here until the move.
428
433
  */
429
- acceptAgentKeyNomination: ActorMethod<[Principal], Result_90>;
434
+ acceptAgentKeyNomination: ActorMethod<[Principal], Result_94>;
430
435
  /**
431
436
  * / The person the owner asked again ACCEPTS: they become this engram's sign-in, and the sealed copy
432
437
  * / that came with the ask becomes the engram's (sealed for them). Until this call they have no power
@@ -510,7 +515,7 @@ export interface Engram {
510
515
  ackIrrevocable: boolean;
511
516
  },
512
517
  ],
513
- Result_88
518
+ Result_92
514
519
  >;
515
520
  /**
516
521
  * / ⟨0.16.0, L1⟩ THE ROLE-CONFLICT ARM, and why three refusals here are not the same refusal.
@@ -570,7 +575,7 @@ export interface Engram {
570
575
  * / cannot stop that call — it finishes, and the reply (`finishedBeforeRemovalSeen`) and the record row say
571
576
  * / so. One inter-canister call, bounded by one cap.
572
577
  */
573
- agentConvertBalance: ActorMethod<[string, [] | [bigint]], Result_86>;
578
+ agentConvertBalance: ActorMethod<[string, [] | [bigint]], Result_90>;
574
579
  /**
575
580
  * / Returns the write RECEIPT, not just the version.
576
581
  * /
@@ -588,6 +593,16 @@ export interface Engram {
588
593
  * / subset rule, so it can only ride an interface break; this release is one.
589
594
  */
590
595
  appendMemory: ActorMethod<[string, Uint8Array | number[], [] | [MemorySource]], Result>;
596
+ /**
597
+ * / Append plaintext with a newline when the live file already has content. The separator and
598
+ * / write are decided in one message, without requiring permission to read the existing file.
599
+ * / Returns the write receipt and exact appended bytes so the writer can rebuild its evidence.
600
+ * / Refuses encrypted memory; key-holding clients send their framed bytes through appendMemory.
601
+ * / Same append permission, path rules, rate limit and writes-pause as appendMemory. No await.
602
+ * / Callers: EngramClient.appendMemory for plaintext memory, and through it the local MCP server's
603
+ * / append tool; the hosted MCP append calls the same private operation.
604
+ */
605
+ appendMemoryText: ActorMethod<[string, string, [] | [MemorySource]], Result_16>;
591
606
  /**
592
607
  * / Replace the retained log prefix through `toSeq` with a single checkpoint.
593
608
  * /
@@ -605,7 +620,7 @@ export interface Engram {
605
620
  * / is exactly what a guardian pause exists to hold. No action alert is raised: the operation is
606
621
  * / owner-initiated, owner-only, and already chained into the audit log.
607
622
  */
608
- applyCondense: ActorMethod<[bigint], Result_85>;
623
+ applyCondense: ActorMethod<[bigint], Result_89>;
609
624
  /**
610
625
  * / Owner-only: activate a guardian who has registered against an invite.
611
626
  * /
@@ -697,7 +712,7 @@ export interface Engram {
697
712
  * /
698
713
  * / The write half also refuses while writes are PAUSED.
699
714
  */
700
- backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]], Result_55>;
715
+ backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]], Result_58>;
701
716
  /**
702
717
  * / Read one chunk of a finalized backup, by index.
703
718
  * /
@@ -705,7 +720,7 @@ export interface Engram {
705
720
  * / `canAppendMemory`. Holding one says nothing about the other, deliberately: taking a backup and
706
721
  * / carrying it away are different authorities.
707
722
  */
708
- backupPullChunk: ActorMethod<[string, bigint], Result_72>;
723
+ backupPullChunk: ActorMethod<[string, bigint], Result_76>;
709
724
  backupPushChunk: ActorMethod<[string, bigint, Uint8Array | number[]], Result_2>;
710
725
  /**
711
726
  * / The OWNER cancels an agent's pending key nomination; the agent keeps its current key. Refused
@@ -787,7 +802,7 @@ export interface Engram {
787
802
  * / ⟨2026-10-29, review F7⟩ A name the owner gives meets the rule `renameAgent` applies: a line break
788
803
  * / or another control character is `#Invalid` (`People.nameRefusal`), as a rename to it would be.
789
804
  */
790
- createAgentInvite: ActorMethod<[string, AgentPermissions], Result_55>;
805
+ createAgentInvite: ActorMethod<[string, AgentPermissions], Result_58>;
791
806
  /**
792
807
  * / Owner-only: mint an invite for a GUARDIAN — an independent check on agents, not a
793
808
  * / co-owner and not a recovery agent.
@@ -811,7 +826,7 @@ export interface Engram {
811
826
  * / So an invite that fails to redeem for that reason is not a bad code. The rule exists because
812
827
  * / a check must be independent of the thing it checks.
813
828
  */
814
- createGuardianInvite: ActorMethod<[string, GuardianPermissions], Result_55>;
829
+ createGuardianInvite: ActorMethod<[string, GuardianPermissions], Result_58>;
815
830
  /**
816
831
  * / The sign-in GIVES ITSELF UP, or the person the owner asked again says no. ⟨the owner's ruling "1
817
832
  * / yes, but the child can ask again" — the child build's Challenge C3.1: whoever the kit names cannot
@@ -894,7 +909,7 @@ export interface Engram {
894
909
  * / situation rather than a safety measure. It IS gated on requireMemoryAttached: a store that
895
910
  * / failed its integrity check must not attest anything it cannot vouch for.
896
911
  */
897
- exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]], Result_84>;
912
+ exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]], Result_88>;
898
913
  /**
899
914
  * / ⟨0.16.0, L2.2 — renamed from `guardianFreezePayments`⟩ The prefix LIED about who may call it.
900
915
  * / The gate is `requireOwnerOrGuardian`, and an owner freezing their own payments is the ordinary
@@ -948,7 +963,7 @@ export interface Engram {
948
963
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
949
964
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
950
965
  */
951
- getActionAlertStatus: ActorMethod<[], Result_73>;
966
+ getActionAlertStatus: ActorMethod<[], Result_77>;
952
967
  /**
953
968
  * / The agent-conversion rule's numbers.
954
969
  * / PUBLIC: the class of `getTopUpLimits` — a policy, nobody's data. ⟨2026-11-04, the market-route
@@ -966,7 +981,7 @@ export interface Engram {
966
981
  * / Refusal reason preserved from the trap: a grant is a power, and its absence and its
967
982
  * / concealment are different facts.
968
983
  */
969
- getAgentRevisablePaths: ActorMethod<[], Result_66>;
984
+ getAgentRevisablePaths: ActorMethod<[], Result_69>;
970
985
  /**
971
986
  * / OWNER-ONLY: every engagement's seat weeks on this engram, with the agent's root — the day it
972
987
  * / paired, the days of its first and last payment signature, a 64-week map whose bit 0 is the week
@@ -981,7 +996,7 @@ export interface Engram {
981
996
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
982
997
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
983
998
  */
984
- getAgentSeatWeeks: ActorMethod<[bigint, bigint], Result_82>;
999
+ getAgentSeatWeeks: ActorMethod<[bigint, bigint], Result_86>;
985
1000
  /**
986
1001
  * / Owner: everything written into this engram by someone other than the owner since the last
987
1002
  * / markAgentWritesReviewed() — agent appends/revisions AND paid-session appends (see
@@ -994,7 +1009,7 @@ export interface Engram {
994
1009
  * / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
995
1010
  * / engram is unchanged.
996
1011
  */
997
- getAgentWriteReview: ActorMethod<[], Result_81>;
1012
+ getAgentWriteReview: ActorMethod<[], Result_85>;
998
1013
  /**
999
1014
  * / Why anchoring is or is not advancing. PUBLIC: ungated on purpose — detecting a stalled
1000
1015
  * / engram is the point, a gated read would fail-to-empty and hand a third party fabricated zeros,
@@ -1017,7 +1032,7 @@ export interface Engram {
1017
1032
  * / was signed rather than asserted.
1018
1033
  */
1019
1034
  getAuditHead: ActorMethod<[], AuditHead>;
1020
- getBackupMetadata: ActorMethod<[string], Result_80>;
1035
+ getBackupMetadata: ActorMethod<[string], Result_84>;
1021
1036
  /**
1022
1037
  * / ⟨2026-10-21, the owner's round-11 answer m: a backup-retention getter⟩ How many backups of
1023
1038
  * / `dbType` each creator keeps, and whether that is the default — the read `setBackupRetention`
@@ -1030,7 +1045,7 @@ export interface Engram {
1030
1045
  * / the anonymous caller. A kind the setter would refuse is `#Invalid` here too
1031
1046
  * / (`Backup.getRetention`). Records nothing (a query).
1032
1047
  */
1033
- getBackupRetention: ActorMethod<[string], Result_79>;
1048
+ getBackupRetention: ActorMethod<[string], Result_83>;
1034
1049
  /**
1035
1050
  * / The cashier this engram recognises as its rent biller — `null` until the registry pushes one.
1036
1051
  * /
@@ -1051,7 +1066,7 @@ export interface Engram {
1051
1066
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1052
1067
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1053
1068
  */
1054
- getBirthChain: ActorMethod<[], Result_78>;
1069
+ getBirthChain: ActorMethod<[], Result_82>;
1055
1070
  /**
1056
1071
  * / ⟨2026-10-21, the owner's round-11 answer d⟩ Each brake: on or off, and while on, who pulled it
1057
1072
  * / LAST (their key and whether as owner or guardian), since when, and the reason they gave — the
@@ -1062,7 +1077,7 @@ export interface Engram {
1062
1077
  * / is null for a brake that is off, and for one carried on across the upgrade that added this
1063
1078
  * / read (who pulled it was not recorded then) — never a guessed pull.
1064
1079
  */
1065
- getBrakes: ActorMethod<[], Result_77>;
1080
+ getBrakes: ActorMethod<[], Result_81>;
1066
1081
  /**
1067
1082
  * / ⟨0.16.0, L9/L10 — census row⟩ `Wire.CertifiedAuditHead`, not an anonymous record. The
1068
1083
  * / registry, market and cashier already served the shared type; the engram — the canister that
@@ -1089,7 +1104,7 @@ export interface Engram {
1089
1104
  * / recorded nothing while reading as if it did. The refusal is loud in the reply instead. WHAT
1090
1105
  * / WOULD MAKE THIS WRONG: a reason to record who asked — then this becomes an update that says so.
1091
1106
  */
1092
- getChildAllowance: ActorMethod<[Principal], Result_76>;
1107
+ getChildAllowance: ActorMethod<[Principal], Result_80>;
1093
1108
  /**
1094
1109
  * / Owner-only, Billing-class: what opening an engram costs this engram, the balance below which an
1095
1110
  * / agent's request is refused, the balance now, and every agent's allowance. The console's cost
@@ -1097,7 +1112,7 @@ export interface Engram {
1097
1112
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1098
1113
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1099
1114
  */
1100
- getChildOpening: ActorMethod<[], Result_75>;
1115
+ getChildOpening: ActorMethod<[], Result_79>;
1101
1116
  /**
1102
1117
  * / Derive the key that opens the sealed copy, encrypted under the caller's transport public key —
1103
1118
  * / for the SIGN-IN alone (the combinator's `#ownerSignIn`; the key file is refused by name: only the
@@ -1117,7 +1132,7 @@ export interface Engram {
1117
1132
  * / Named callers: an owner console signed in as the sign-in (the browser's recovery), and the owner
1118
1133
  * / kit's `--recover-key` signed by a key-file sign-in.
1119
1134
  */
1120
- getEncryptedKeyBackupKey: ActorMethod<[Uint8Array | number[]], Result_72>;
1135
+ getEncryptedKeyBackupKey: ActorMethod<[Uint8Array | number[]], Result_76>;
1121
1136
  /**
1122
1137
  * / Derive the shared memory-encryption key, encrypted under the caller's transport
1123
1138
  * / public key. Gated to owner + read-agents (the same principals allowed to read
@@ -1143,7 +1158,7 @@ export interface Engram {
1143
1158
  * / cost. Stated here because L7 requires the reason be readable from the interface rather than
1144
1159
  * / inferred by opening the body — which is exactly what had to happen to write this line.
1145
1160
  */
1146
- getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]], Result_72>;
1161
+ getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]], Result_76>;
1147
1162
  /**
1148
1163
  * / ⟨0.16.0, owner ruling 2026-08-20 — option (a)⟩ `x402Support` REPORTS THE RAIL, not a constant.
1149
1164
  * /
@@ -1242,7 +1257,7 @@ export interface Engram {
1242
1257
  * / `#Err`, never a record carrying an empty string (ic402's `getEvmAddress` answers `""` on a
1243
1258
  * / failed derivation — that is fail-to-empty on a money surface, and it stops here).
1244
1259
  */
1245
- getEvmAddress: ActorMethod<[], Result_74>;
1260
+ getEvmAddress: ActorMethod<[], Result_78>;
1246
1261
  /**
1247
1262
  * / The owner's OWN EVM address, if they registered one — distinct from `getEvmAddress`, which is
1248
1263
  * / the address this canister derives for itself.
@@ -1264,7 +1279,7 @@ export interface Engram {
1264
1279
  * / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
1265
1280
  * / engram is unchanged.
1266
1281
  */
1267
- getEvmSignerAddress: ActorMethod<[], Result_55>;
1282
+ getEvmSignerAddress: ActorMethod<[], Result_58>;
1268
1283
  /**
1269
1284
  * / PUBLIC: where this chain begins, for the stranger deciding whether to trust it.
1270
1285
  * /
@@ -1277,7 +1292,7 @@ export interface Engram {
1277
1292
  /**
1278
1293
  * / A guardian's own channel status (their URL is their secret — each guardian sees only theirs).
1279
1294
  */
1280
- getGuardianAlertStatus: ActorMethod<[], Result_73>;
1295
+ getGuardianAlertStatus: ActorMethod<[], Result_77>;
1281
1296
  /**
1282
1297
  * / The sealed copy itself — opaque bytes only the sign-in can open. Readable by the sign-in (it
1283
1298
  * / opens them with the key `getEncryptedKeyBackupKey` derives for it) and by the key file, which
@@ -1289,7 +1304,7 @@ export interface Engram {
1289
1304
  * / Named callers: the owner kit (`--recover-key`, and its check after sealing), and an owner console
1290
1305
  * / signed in as the sign-in (the browser's recovery).
1291
1306
  */
1292
- getKeyBackupCiphertext: ActorMethod<[], Result_72>;
1307
+ getKeyBackupCiphertext: ActorMethod<[], Result_76>;
1293
1308
  /**
1294
1309
  * / Whether this engram holds a sealed copy of its owner's key, for whom, since when, whether it is
1295
1310
  * / sealed for the sign-in seated now, and whether a copy waits with an ask (`Types.KeyBackupStatus`).
@@ -1300,7 +1315,7 @@ export interface Engram {
1300
1315
  * / Named callers: the owner kit after it opens an engram (it prints whether the copy is stored), and
1301
1316
  * / an owner console showing an engram opened through another (whether recovery can work).
1302
1317
  */
1303
- getKeyBackupStatus: ActorMethod<[], Result_71>;
1318
+ getKeyBackupStatus: ActorMethod<[], Result_75>;
1304
1319
  /**
1305
1320
  * / BLS verification key under which the owner kit seals the backup (`IbeCiphertext.encrypt` to the
1306
1321
  * / sign-in's principal) and the opener verifies the derived key. Served on-canister so the kit never
@@ -1349,7 +1364,7 @@ export interface Engram {
1349
1364
  * / never renumbered: the next page starts at the last version returned plus one. Defaults
1350
1365
  * / return the whole history of any file a pre-FD engram could have held.
1351
1366
  */
1352
- getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]], Result_70>;
1367
+ getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]], Result_74>;
1353
1368
  /**
1354
1369
  * / PUBLIC: the epoch alone, and deliberately nothing else (rotation study D4). A `rotatedAt[]`
1355
1370
  * / history would be a public, fleet-enumerable feed of when each owner terminated a trust
@@ -1398,7 +1413,7 @@ export interface Engram {
1398
1413
  * / forever" — a claim about what this engram will DESTROY — and an empty guard list reads as
1399
1414
  * / "nothing is held back".
1400
1415
  */
1401
- getMemoryRetentionPolicy: ActorMethod<[], Result_69>;
1416
+ getMemoryRetentionPolicy: ActorMethod<[], Result_73>;
1402
1417
  /**
1403
1418
  * / The metrics reader this engram answers — `null` until the spawning registry names one.
1404
1419
  * /
@@ -1415,7 +1430,7 @@ export interface Engram {
1415
1430
  * / a fact about the caller, told to the caller. There is nothing to leak by omission — which is
1416
1431
  * / the test the #NotFound arm sets.
1417
1432
  */
1418
- getMyGuardianStatus: ActorMethod<[], Result_18>;
1433
+ getMyGuardianStatus: ActorMethod<[], Result_19>;
1419
1434
  /**
1420
1435
  * / ⟨0.16.0, NEW⟩ The gated half of the status() split.
1421
1436
  * /
@@ -1427,7 +1442,7 @@ export interface Engram {
1427
1442
  * / client (rule 4) and bought a masked answer nobody had asked for — the census could not even
1428
1443
  * / find a consumer that read the masked `0`. Behind a gate there is nobody to mask it from.
1429
1444
  */
1430
- getOwnerConsole: ActorMethod<[], Result_68>;
1445
+ getOwnerConsole: ActorMethod<[], Result_72>;
1431
1446
  /**
1432
1447
  * / The engram's sign-in, as `Types.OwnerSignInView` describes it: whether this engram was opened
1433
1448
  * / through another, who its sign-in is, whether the caller is it, and any decline or waiting ask.
@@ -1438,7 +1453,14 @@ export interface Engram {
1438
1453
  * / Named callers: an owner console showing an engram opened through another (who signs in, and a
1439
1454
  * / waiting ask with Accept and Decline), and the owner kit after it opens one.
1440
1455
  */
1441
- getOwnerSignIn: ActorMethod<[], Result_67>;
1456
+ getOwnerSignIn: ActorMethod<[], Result_71>;
1457
+ /**
1458
+ * / Read the four profile fields in one bounded batch. Raw per-field results preserve SDK
1459
+ * / decryption and first-failure ordering; only an explicit NotFound means an unset field.
1460
+ * / Query reads retain existing permission and owner visibility, without changing read counts.
1461
+ * / Callers: EngramClient.getProfile (ProfileManager.getProfile, the local MCP profile tool).
1462
+ */
1463
+ getProfile: ActorMethod<[], Result_70>;
1442
1464
  /**
1443
1465
  * / Owner + agents only (agents need it to avoid writing protected paths).
1444
1466
  * /
@@ -1452,7 +1474,7 @@ export interface Engram {
1452
1474
  * / writing one — so a fabricated empty here does not merely misinform, it invites the write the
1453
1475
  * / list exists to prevent.
1454
1476
  */
1455
- getProtectedPaths: ActorMethod<[], Result_66>;
1477
+ getProtectedPaths: ActorMethod<[], Result_69>;
1456
1478
  /**
1457
1479
  * / What an approval card shows beside a payment to `payTo` (`Types.RecipientHistory`): whether an x402
1458
1480
  * / signature from this engram has paid it before and since when, whether it is a listed seller and
@@ -1465,7 +1487,7 @@ export interface Engram {
1465
1487
  * / ⟨2026-11-03, the pre-gate fixes⟩ And when it was LAST paid (`lastPaidAtNs`; null when never).
1466
1488
  * / Named callers: an owner console's approval card for a payment request.
1467
1489
  */
1468
- getRecipientHistory: ActorMethod<[string], Result_65>;
1490
+ getRecipientHistory: ActorMethod<[string], Result_68>;
1469
1491
  /**
1470
1492
  * / Whether the metrics reader's read is answered — `true` from birth.
1471
1493
  * /
@@ -1483,7 +1505,7 @@ export interface Engram {
1483
1505
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1484
1506
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1485
1507
  */
1486
- getSigningFloor: ActorMethod<[], Result_64>;
1508
+ getSigningFloor: ActorMethod<[], Result_67>;
1487
1509
  /**
1488
1510
  * / The registry that spawned this engram, if it recorded one.
1489
1511
  * /
@@ -1510,7 +1532,7 @@ export interface Engram {
1510
1532
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1511
1533
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1512
1534
  */
1513
- getSpendCeiling: ActorMethod<[], Result_63>;
1535
+ getSpendCeiling: ActorMethod<[], Result_66>;
1514
1536
  /**
1515
1537
  * / Read the caps in force for a caller.
1516
1538
  * /
@@ -1529,8 +1551,8 @@ export interface Engram {
1529
1551
  * / refusal itself is now the combinator's (`#Refused getSpendPolicy: …`, `requireOwner`'s words), and
1530
1552
  * / an engram with no owner yet is refused the same way rather than answered `#Conflict`.
1531
1553
  */
1532
- getSpendPolicy: ActorMethod<[[] | [Principal]], Result_62>;
1533
- getStorageStats: ActorMethod<[], Result_61>;
1554
+ getSpendPolicy: ActorMethod<[[] | [Principal]], Result_65>;
1555
+ getStorageStats: ActorMethod<[], Result_64>;
1534
1556
  /**
1535
1557
  * / Timer arm-state. PUBLIC and deliberately so: these timers are self-arming to save cycles,
1536
1558
  * / and an optimisation nobody can verify is an optimisation nobody should trust. Cheap to read,
@@ -1615,14 +1637,25 @@ export interface Engram {
1615
1637
  * / UPDATE, marked per L7: it awaits three ICRC-1 ledgers". It was marked in prose and invisible
1616
1638
  * / to any gate; the glyph is what `scripts/check-update-for-read.mjs` matches.
1617
1639
  */
1618
- getWalletBalances: ActorMethod<[], Result_60>;
1640
+ getWalletBalances: ActorMethod<[], Result_63>;
1641
+ /**
1642
+ * / Cycles-only getter used by EngramClient.walletBalance and its stdio MCP/OpenClaw callers.
1643
+ * / The earlier walletBalance/walletBalances one-letter pair remains retired: this name states
1644
+ * / the unit, while getWalletBalances retains the distinct full token-wallet operation.
1645
+ * / A token-ledger outage cannot prevent this local fuel read; it uses the same operation as
1646
+ * / remote engram_wallet_balance and never sends an outgoing call.
1647
+ * / ⟨L7⟩ UPDATE despite having no await: preserve the existing wallet facade's per-agent quota
1648
+ * / charge and lastSeenNs update, including when wallet permission is subsequently refused.
1649
+ * / A query would discard those writes and silently loosen the agent's existing rate limit.
1650
+ */
1651
+ getWalletCycles: ActorMethod<[], Result_15>;
1619
1652
  /**
1620
1653
  * / Refusal reason preserved, and it is the clearest case of why a masked read is worse than no
1621
1654
  * / read: three empty strings with `configured = false` is a VALID-LOOKING answer meaning "this
1622
1655
  * / engram has no World ID configuration" — handed to a caller who merely lacks a grant. The
1623
1656
  * / fabrication is indistinguishable from the truth by construction.
1624
1657
  */
1625
- getWorldIdConfig: ActorMethod<[], Result_59>;
1658
+ getWorldIdConfig: ActorMethod<[], Result_62>;
1626
1659
  /**
1627
1660
  * / ⟨L7⟩ UPDATE, NOT QUERY: this awaits THREE system calls — `raw_rand()` for the nonce,
1628
1661
  * / `Call.signWithEcdsa` for the signature, and `worldIdRpPublicKey()` for the derived key. A
@@ -1633,7 +1666,7 @@ export interface Engram {
1633
1666
  * / the World Developer Portal. Short-lived (300s TTL, idkit-server's default) and single-purpose —
1634
1667
  * / it authorizes opening one verification request, nothing else.
1635
1668
  */
1636
- getWorldIdRpContext: ActorMethod<[], Result_58>;
1669
+ getWorldIdRpContext: ActorMethod<[], Result_61>;
1637
1670
  /**
1638
1671
  * / Owner-only: the EVM address derived from the engram's dedicated World ID RP signing key (the
1639
1672
  * / "worldid-rp" tECDSA path). Register THIS address as the rp_id's signer in the World Developer
@@ -1648,7 +1681,7 @@ export interface Engram {
1648
1681
  * / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
1649
1682
  * / engram is unchanged.
1650
1683
  */
1651
- getWorldIdRpSignerAddress: ActorMethod<[], Result_55>;
1684
+ getWorldIdRpSignerAddress: ActorMethod<[], Result_58>;
1652
1685
  /**
1653
1686
  * / The verified IDKitResult, verbatim, as World's /api/v4/verify accepted it — the re-checkable
1654
1687
  * / artifact behind verifiedHuman. Role-gated because it carries the NULLIFIER.
@@ -1669,7 +1702,7 @@ export interface Engram {
1669
1702
  * / canister does not serve. The tombstones below and at `about()` are historical and correct as
1670
1703
  * / written; this one was present tense, which is the difference that matters.⟩
1671
1704
  */
1672
- getWorldIdVerification: ActorMethod<[], Result_57>;
1705
+ getWorldIdVerification: ActorMethod<[], Result_60>;
1673
1706
  /**
1674
1707
  * / ⟨0.16.0, L1⟩ THE EMERGENCY FAMILY. Every refusal below is `#Refused` or `#NotFound`, and the
1675
1708
  * / absence of a `#Conflict` here is the point: these are the calls someone makes while something
@@ -1756,7 +1789,7 @@ export interface Engram {
1756
1789
  * / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
1757
1790
  * / engram is unchanged.
1758
1791
  */
1759
- isEvmAddressCached: ActorMethod<[], Result_56>;
1792
+ isEvmAddressCached: ActorMethod<[], Result_59>;
1760
1793
  /**
1761
1794
  * / Issue an OAuth authorization code. Called by an OAuth client's sign-in bridge
1762
1795
  * / (an `/auth/connector`-style route) after II authentication. The client then
@@ -1765,7 +1798,7 @@ export interface Engram {
1765
1798
  * /
1766
1799
  * / Owner-only: only the engram owner can authorize a Connector install.
1767
1800
  */
1768
- issueAuthCode: ActorMethod<[string, string, string, [] | [string]], Result_55>;
1801
+ issueAuthCode: ActorMethod<[string, string, string, [] | [string]], Result_58>;
1769
1802
  /**
1770
1803
  * / ⟨0.16.0⟩ `getCycleSnapshotSource` DELETED — folded into `CycleSnapshot.source`, one label per
1771
1804
  * / ROW. A single label for a whole ring misattributes every row recorded under the other source,
@@ -1781,7 +1814,17 @@ export interface Engram {
1781
1814
  * / DORMANT engram and corrupts retention math — a fabricated empty here does not just misinform a
1782
1815
  * / reader, it feeds a wrong number into a decision about destroying data.
1783
1816
  */
1784
- listActivitySnapshots: ActorMethod<[bigint, bigint], Result_54>;
1817
+ listActivitySnapshots: ActorMethod<[bigint, bigint], Result_57>;
1818
+ /**
1819
+ * / The owner or a seated owner sign-in reads paired and connected grants in one typed roster.
1820
+ * / Existing lists keep their signatures and records. Rows retain each list's relative order:
1821
+ * / paired first, then sign-ins. `active` means grant status/expiry/issuer standing only, not
1822
+ * / permission to execute every operation or spend through a freeze. No credential is rewritten.
1823
+ * / This new method carries the tagged shape rather than widening a shipped response variant.
1824
+ * / Callers: an owner console's agent list (paired agents and sign-ins on one page, with the
1825
+ * / admission count), read by the owner or a seated sign-in.
1826
+ */
1827
+ listAgentRoster: ActorMethod<[bigint, bigint], Result_56>;
1785
1828
  /**
1786
1829
  * / ⟨2026-10-21, round 11 item l — the owner's answer "round 11: a, b, c, d, e, f, g, h, i, j, k, l,
1787
1830
  * / m."⟩ OWNER-ONLY: what each agent has spent today, beside the daily limit in force for it, so the
@@ -1802,7 +1845,7 @@ export interface Engram {
1802
1845
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1803
1846
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1804
1847
  */
1805
- listAgentSpendToday: ActorMethod<[bigint, bigint], Result_53>;
1848
+ listAgentSpendToday: ActorMethod<[bigint, bigint], Result_55>;
1806
1849
  /**
1807
1850
  * / ⟨0.16.0⟩ THE PAGE EXEMPLAR. Trap → `#Refused`, bare array → `Result<Page<T>>` (L1 + L3).
1808
1851
  * /
@@ -1821,7 +1864,7 @@ export interface Engram {
1821
1864
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1822
1865
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1823
1866
  */
1824
- listAgents: ActorMethod<[bigint, bigint], Result_52>;
1867
+ listAgents: ActorMethod<[bigint, bigint], Result_54>;
1825
1868
  /**
1826
1869
  * / The GUARDIAN-audience projection of the agent roster — three fields, not the full record.
1827
1870
  * /
@@ -1835,7 +1878,7 @@ export interface Engram {
1835
1878
  * / guardian consults BEFORE REVOKING ONE. A fabricated empty here does not merely misinform —
1836
1879
  * / it tells someone acting under emergency powers that there is nothing to act on.
1837
1880
  */
1838
- listAgentsForGuardian: ActorMethod<[bigint, bigint], Result_51>;
1881
+ listAgentsForGuardian: ActorMethod<[bigint, bigint], Result_53>;
1839
1882
  /**
1840
1883
  * / Owner-only: rows carry caller, amount, operation and free-text rationale. The SDK omits it.
1841
1884
  * /
@@ -1849,7 +1892,7 @@ export interface Engram {
1849
1892
  * /
1850
1893
  * / Refusal reason preserved: `[]` reads as "nothing is awaiting the owner's decision".
1851
1894
  */
1852
- listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint], Result_37>;
1895
+ listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint], Result_39>;
1853
1896
  /**
1854
1897
  * / ⟨0.16.0⟩ `total` IS THE HEAD COUNTER, and on this method that is the entire point.
1855
1898
  * /
@@ -1885,7 +1928,7 @@ export interface Engram {
1885
1928
  * / at read time; nothing new is stored. WHAT WOULD MAKE THIS WRONG: a sealed row carrying any part
1886
1929
  * / of a body, or a stranger reaching `items` (test/record-view.test.mo pins both).
1887
1930
  */
1888
- listAuditEntries: ActorMethod<[bigint, bigint], Result_50>;
1931
+ listAuditEntries: ActorMethod<[bigint, bigint], Result_52>;
1889
1932
  /**
1890
1933
  * / ⟨0.16.0, L1 + L3 — census-ruled⟩ THE TWO-MECHANISM EXCEPTION DISSOLVES.
1891
1934
  * /
@@ -1911,7 +1954,7 @@ export interface Engram {
1911
1954
  * / keeps its optional filter and applies it to the page, so no caller loses the ability to ask
1912
1955
  * / "backups of this database" — it stops being a thing the canister has to page around.
1913
1956
  */
1914
- listBackups: ActorMethod<[bigint, bigint], Result_49>;
1957
+ listBackups: ActorMethod<[bigint, bigint], Result_51>;
1915
1958
  /**
1916
1959
  * / List all bearer tokens — Active, Revoked, and Expired. Owner uses this in
1917
1960
  * / the dashboard to show installed Connectors (claude.ai, Claude Desktop, etc.).
@@ -1925,7 +1968,7 @@ export interface Engram {
1925
1968
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
1926
1969
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
1927
1970
  */
1928
- listBearerTokens: ActorMethod<[bigint, bigint], Result_48>;
1971
+ listBearerTokens: ActorMethod<[bigint, bigint], Result_50>;
1929
1972
  /**
1930
1973
  * / The condense checkpoints in the retained log at or above `startSeq`, oldest first.
1931
1974
  * /
@@ -1937,7 +1980,7 @@ export interface Engram {
1937
1980
  * / Owner-only like every other archive surface, and for the same structural reason: these rows
1938
1981
  * / carry the chain positions and roots of entries whose paths were inside the hash preimage.
1939
1982
  */
1940
- listCondenseCheckpoints: ActorMethod<[bigint, bigint], Result_47>;
1983
+ listCondenseCheckpoints: ActorMethod<[bigint, bigint], Result_49>;
1941
1984
  /**
1942
1985
  * / ⟨0.16.0⟩ `metrics()` DELETED — absorbed by `about()`.
1943
1986
  * /
@@ -1946,13 +1989,13 @@ export interface Engram {
1946
1989
  * / both and know which one owned each field. Every field here survives on `about()`, day-flooring
1947
1990
  * / included.
1948
1991
  */
1949
- listCycleSnapshots: ActorMethod<[bigint, bigint], Result_46>;
1992
+ listCycleSnapshots: ActorMethod<[bigint, bigint], Result_48>;
1950
1993
  /**
1951
1994
  * / Same `withheld` treatment as listMemoryFiles — the tombstone listing filtered reserved paths
1952
1995
  * / for non-owners just as silently, and a caller could not tell a filtered tombstone list from a
1953
1996
  * / complete one. Counted before slicing, so policy-hidden rows never blur into paging.
1954
1997
  */
1955
- listDeletedMemoryFiles: ActorMethod<[bigint, bigint], Result_45>;
1998
+ listDeletedMemoryFiles: ActorMethod<[bigint, bigint], Result_47>;
1956
1999
  /**
1957
2000
  * / Stays on the engram under B1 (hybrid): withdrawal custody does not leave.
1958
2001
  * /
@@ -1968,7 +2011,7 @@ export interface Engram {
1968
2011
  * / The item's field is `value`, not `address`: a list may hold a venue value that is no address.
1969
2012
  * / Readable by the owner, an active agent or an active guardian, as the old list was.
1970
2013
  */
1971
- listEip712Destinations: ActorMethod<[Uint8Array | number[], bigint, bigint], Result_44>;
2014
+ listEip712Destinations: ActorMethod<[Uint8Array | number[], bigint, bigint], Result_46>;
1972
2015
  /**
1973
2016
  * / The registered shapes — E3: encodeTypeString is the display artifact, verbatim.
1974
2017
  * / Stays on the engram under B1 (hybrid): EIP-712 signing is custody, and custody does not leave.
@@ -1981,7 +2024,7 @@ export interface Engram {
1981
2024
  * / from `eip712FieldRules` — they are part of what the type authorises, so a reader of the list must
1982
2025
  * / not have to make a second call to learn them. The row type is `Eip712TypeView`.
1983
2026
  */
1984
- listEip712Types: ActorMethod<[bigint, bigint], Result_43>;
2027
+ listEip712Types: ActorMethod<[bigint, bigint], Result_45>;
1985
2028
  /**
1986
2029
  * / ⟨2026-10-21, round 11 c⟩ Guardians' disputes, oldest first. Same visibility as
1987
2030
  * / `listRepudiations` and `listRecordNotes`: the owner and ACTIVE guardians read the rows; an
@@ -1989,7 +2032,7 @@ export interface Engram {
1989
2032
  * / guardian's entry, not the agent's); a stranger, a pending guardian and the anonymous caller are
1990
2033
  * / refused.
1991
2034
  */
1992
- listGuardianDisputes: ActorMethod<[bigint, bigint], Result_42>;
2035
+ listGuardianDisputes: ActorMethod<[bigint, bigint], Result_44>;
1993
2036
  /**
1994
2037
  * / Accessible by owner and guardians.
1995
2038
  * /
@@ -1998,7 +2041,7 @@ export interface Engram {
1998
2041
  * / pause writes" — a claim about who can STOP it. A caller who cannot tell that from "you may not
1999
2042
  * / see the roster" has been told the engram is unguarded when it may be fully guarded.
2000
2043
  */
2001
- listGuardians: ActorMethod<[bigint, bigint], Result_41>;
2044
+ listGuardians: ActorMethod<[bigint, bigint], Result_43>;
2002
2045
  /**
2003
2046
  * / The export receipts in the retained log at or above `startSeq`, oldest first.
2004
2047
  * /
@@ -2016,7 +2059,7 @@ export interface Engram {
2016
2059
  * / Read `MemoryRouter.ReceiptPage` before reading `page.total` as a receipt count. It is not one;
2017
2060
  * / it is the chain's length, and the declaration says why.
2018
2061
  */
2019
- listMemoryExportReceipts: ActorMethod<[bigint, bigint], Result_40>;
2062
+ listMemoryExportReceipts: ActorMethod<[bigint, bigint], Result_42>;
2020
2063
  /**
2021
2064
  * / ⟨0.16.0⟩ THE `withheld` EXEMPLAR — L1 names this exact method as the defect it fixes.
2022
2065
  * /
@@ -2043,7 +2086,7 @@ export interface Engram {
2043
2086
  * / row served, never one per file stored. A WIDENED REPLY: a reader that decodes the row by
2044
2087
  * / position rather than by field name breaks — none in this repository does.
2045
2088
  */
2046
- listMemoryFiles: ActorMethod<[bigint, bigint], Result_39>;
2089
+ listMemoryFiles: ActorMethod<[bigint, bigint], Result_41>;
2047
2090
  /**
2048
2091
  * / One page of the memory log, seq-ordered, optionally narrowed to one author.
2049
2092
  * /
@@ -2070,7 +2113,7 @@ export interface Engram {
2070
2113
  * / with the disclosures that make the page verifiable — the hidden-bound defect the census itself
2071
2114
  * / names on previewCondense's row.
2072
2115
  */
2073
- listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]], Result_38>;
2116
+ listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]], Result_40>;
2074
2117
  /**
2075
2118
  * / The caller's OWN spend-approval requests. ⟨0.16.0, L1 + L3 — fixed 2026-08-18⟩
2076
2119
  * /
@@ -2089,7 +2132,7 @@ export interface Engram {
2089
2132
  * / (The unbounded MAP is filed separately — pruning an approval record destroys evidence of what
2090
2133
  * / was asked, which is a retention ruling rather than a shape fix.)
2091
2134
  */
2092
- listMyApprovalRequests: ActorMethod<[bigint, bigint], Result_37>;
2135
+ listMyApprovalRequests: ActorMethod<[bigint, bigint], Result_39>;
2093
2136
  /**
2094
2137
  * / The payer's own sessions, live ones first. PAYER-SCOPED: a caller sees only their own, which
2095
2138
  * / is why this needs no role — a session id is not a secret from the person who paid for it.
@@ -2100,7 +2143,7 @@ export interface Engram {
2100
2143
  * / client would break on — the market paged its own pending withdrawals before its cut for the
2101
2144
  * / same reason. The order is the order sessions were opened.
2102
2145
  */
2103
- listMySessions: ActorMethod<[bigint, bigint], Result_36>;
2146
+ listMySessions: ActorMethod<[bigint, bigint], Result_38>;
2104
2147
  /**
2105
2148
  * /
2106
2149
  * / ⟨0.16.0, L3⟩ Paged and enveloped like every other `list*`, and the envelope here is uniformity
@@ -2115,7 +2158,7 @@ export interface Engram {
2115
2158
  * / IT recorded, so this chain is what a caller composes with when currency matters — which it
2116
2159
  * / cannot do if it needs a role here.
2117
2160
  */
2118
- listOwnershipTransfers: ActorMethod<[bigint, bigint], Result_35>;
2161
+ listOwnershipTransfers: ActorMethod<[bigint, bigint], Result_37>;
2119
2162
  /**
2120
2163
  * / ⟨2026-09-29, the platform's question from the build review⟩ OWNER-ONLY: how many payment
2121
2164
  * / signatures each agent has obtained today, and the daily limit (200, `PaymentSignCap`). The
@@ -2135,7 +2178,7 @@ export interface Engram {
2135
2178
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
2136
2179
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
2137
2180
  */
2138
- listPaymentSignatureCounts: ActorMethod<[bigint, bigint], Result_34>;
2181
+ listPaymentSignatureCounts: ActorMethod<[bigint, bigint], Result_36>;
2139
2182
  /**
2140
2183
  * / Agent records removed by a reset. Each row is a NAMED record with the fields `principal`,
2141
2184
  * / `name`, `registeredAt` and `purgedAt` — read them BY NAME, never by position.
@@ -2179,7 +2222,7 @@ export interface Engram {
2179
2222
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
2180
2223
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
2181
2224
  */
2182
- listPurgedAgents: ActorMethod<[bigint, bigint], Result_33>;
2225
+ listPurgedAgents: ActorMethod<[bigint, bigint], Result_35>;
2183
2226
  /**
2184
2227
  * / ⟨0.16.0⟩ ONE ACCESSOR, folding `readReadLog` and `getDenialLog` — and the fold only became
2185
2228
  * / safe because of a change made earlier in this same leg.
@@ -2242,7 +2285,7 @@ export interface Engram {
2242
2285
  * / on the chained record — the same `RecordView` filter, and `withheld` counts what it removed
2243
2286
  * / together with what `successFilter` removed. WHAT WOULD MAKE THIS WRONG: see `listAuditEntries`.
2244
2287
  */
2245
- listReadLog: ActorMethod<[[] | [boolean], bigint, bigint], Result_32>;
2288
+ listReadLog: ActorMethod<[[] | [boolean], bigint, bigint], Result_34>;
2246
2289
  /**
2247
2290
  * / ⟨2026-10-21, round 11 b⟩ The owner's notes, oldest first. Same visibility as
2248
2291
  * / `listRepudiations`, for the same reason: the owner and ACTIVE guardians read the rows; an agent
@@ -2250,7 +2293,7 @@ export interface Engram {
2250
2293
  * / gets an empty page whose `withheld` counts the notes in its window — never "there are none". A
2251
2294
  * / stranger, a pending guardian and the anonymous caller are refused.
2252
2295
  */
2253
- listRecordNotes: ActorMethod<[bigint, bigint], Result_31>;
2296
+ listRecordNotes: ActorMethod<[bigint, bigint], Result_33>;
2254
2297
  /**
2255
2298
  * / Same visibility as listAuditEntries: the owner, this engram's agents, and ACTIVE guardians
2256
2299
  * / see disputes. An unauthorized read REFUSES — it does not return an empty list, because an
@@ -2267,7 +2310,7 @@ export interface Engram {
2267
2310
  * / WOULD MAKE THIS WRONG: a ruling that an agent may see the disputes of its own writes; this would
2268
2311
  * / then have to look up each disputed version's writer, which it does not do today.
2269
2312
  */
2270
- listRepudiations: ActorMethod<[bigint, bigint], Result_30>;
2313
+ listRepudiations: ActorMethod<[bigint, bigint], Result_32>;
2271
2314
  /**
2272
2315
  * / The seller list, a page at a time, as `Types.SellerView` (a raise whose wait is over shown applied;
2273
2316
  * / `liveNow` — false for every row while an engram opened through another has no sign-in seated; what
@@ -2276,7 +2319,7 @@ export interface Engram {
2276
2319
  * / which would read as "no sellers". A QUERY: the refusal is in the reply, not the denial log.
2277
2320
  * / Named callers: an owner console's seller list.
2278
2321
  */
2279
- listSellers: ActorMethod<[bigint, bigint], Result_29>;
2322
+ listSellers: ActorMethod<[bigint, bigint], Result_31>;
2280
2323
  /**
2281
2324
  * / ⟨2026-10-21, the owner's round-11 answer f⟩ OWNER-ONLY: the sign-ins, each with the name its app
2282
2325
  * / registered. The same tokens, in the same order and paged the same way, as `listBearerTokens`,
@@ -2289,7 +2332,7 @@ export interface Engram {
2289
2332
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
2290
2333
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
2291
2334
  */
2292
- listSignIns: ActorMethod<[bigint, bigint], Result_28>;
2335
+ listSignIns: ActorMethod<[bigint, bigint], Result_30>;
2293
2336
  /**
2294
2337
  * / Owner: advance the review cursor — "I have seen everything up to and including uptoAuditId"
2295
2338
  * / (null = everything at the current head). Bounded so the attestation can never cover entries
@@ -2321,7 +2364,7 @@ export interface Engram {
2321
2364
  * / ⟨2026-10-29, review F2⟩ And which whole-key refusal stops every payment now, if one does
2322
2365
  * / (`paymentsStoppedBy`: the brake, the signing floor, the daily count of payment signatures).
2323
2366
  */
2324
- myGrant: ActorMethod<[], Result_27>;
2367
+ myGrant: ActorMethod<[], Result_29>;
2325
2368
  /**
2326
2369
  * / The AGENT's current key nominates the key that will replace it. Nothing moves yet: the new
2327
2370
  * / key must accept, by its own call, within 24 hours (`acceptAgentKeyNomination`). One pending
@@ -2381,8 +2424,8 @@ export interface Engram {
2381
2424
  * / (IC0536) with nothing spent; it can never open an engram without a sign-in by accident.
2382
2425
  * / Named caller: the owner kit's `open-engram` command, signed by the agent's session key.
2383
2426
  */
2384
- openChild: ActorMethod<[{ signIn: [] | [Principal] }], Result_26>;
2385
- openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_25>;
2427
+ openChild: ActorMethod<[{ signIn: [] | [Principal] }], Result_28>;
2428
+ openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_27>;
2386
2429
  /**
2387
2430
  * / Withdraw tokens to the owner's principal. This is the ONLY way to
2388
2431
  * / move tokens out of the engram to an external address, and the
@@ -2447,7 +2490,7 @@ export interface Engram {
2447
2490
  * / engagement on the agent's track record, and what to do. Before, the reply was `#Ok` with the
2448
2491
  * / record alone even when the registry had refused the start, so the agent was never told.
2449
2492
  */
2450
- pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }], Result_24>;
2493
+ pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }], Result_26>;
2451
2494
  /**
2452
2495
  * / ⟨0.16.0, L2.2 — renamed from `guardianPauseWrites`⟩ Same correction as freezePayments above:
2453
2496
  * / owner-or-guardian, and `resumeWrites` never carried the prefix either.
@@ -2458,6 +2501,14 @@ export interface Engram {
2458
2501
  * / `freezePaymentsWithReason` holds, with `canPauseWrites` as the guardian's grant.
2459
2502
  */
2460
2503
  pauseWritesWithReason: ActorMethod<[string], Result_2>;
2504
+ /**
2505
+ * / Plan the same visible session page, filtering, order and slice used by session helpers.
2506
+ * / The SDK executes the returned individual/cache or batch reads with its own decryption key;
2507
+ * / this query does not combine their budgets or impose the hosted MCP limit on SDK callers.
2508
+ * / Callers: EngramClient.listSessions and readSessions (SessionManager's readers, the local MCP
2509
+ * / session tool).
2510
+ */
2511
+ planSessionRead: ActorMethod<[Request], Result_25>;
2461
2512
  /**
2462
2513
  * / What condensing through `toSeq` would do, and whether it is unlocked. COMMITS NOTHING — it is
2463
2514
  * / a query, so it structurally cannot; a preview that wrote would be its own trap.
@@ -2478,7 +2529,7 @@ export interface Engram {
2478
2529
  * / `unlocked` is the export-receipt gate ONLY. It is not a promise the condense will land: the
2479
2530
  * / history-budget delta is checked at commit time and can still refuse a short prefix.
2480
2531
  */
2481
- previewCondense: ActorMethod<[bigint], Result_23>;
2532
+ previewCondense: ActorMethod<[bigint], Result_24>;
2482
2533
  /**
2483
2534
  * / A quote for a session this caller has not opened and is not committed to — the intent a
2484
2535
  * / buyer signs against. Pure dry run, no state, no funds.
@@ -2529,7 +2580,7 @@ export interface Engram {
2529
2580
  * / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
2530
2581
  * / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
2531
2582
  */
2532
- previewRetention: ActorMethod<[Array<[string, RetentionClassSpec]>], Result_22>;
2583
+ previewRetention: ActorMethod<[Array<[string, RetentionClassSpec]>], Result_23>;
2533
2584
  /**
2534
2585
  * / Read one memory file at its current version.
2535
2586
  * /
@@ -2564,7 +2615,7 @@ export interface Engram {
2564
2615
  * / path, each with its own Result — a refused RESERVED path sits beside a readable one, which is
2565
2616
  * / a genuine per-path fact.
2566
2617
  */
2567
- readMemoryBatch: ActorMethod<[Array<string>], Result_21>;
2618
+ readMemoryBatch: ActorMethod<[Array<string>], Result_22>;
2568
2619
  /**
2569
2620
  * / ⟨0.16.0⟩ `getMemoryRetentionGuards` DELETED — folded into `getMemoryRetentionPolicy` above.
2570
2621
  * / It was the second L2.1 array-returning `get*`, and separating it from the policy it modifies
@@ -2576,7 +2627,7 @@ export interface Engram {
2576
2627
  * / see it cannot know whether it has the whole range, which is how silent truncation gets
2577
2628
  * / reintroduced. Loop while `more` is true, advancing by the bytes actually returned.
2578
2629
  */
2579
- readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]], Result_20>;
2630
+ readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]], Result_21>;
2580
2631
  /**
2581
2632
  * / The escrow exit for a session whose settle cannot pay.
2582
2633
  * /
@@ -2641,7 +2692,7 @@ export interface Engram {
2641
2692
  * / the amount can be read back — a session closed in the same moment as the recovery and cleaned up
2642
2693
  * / during its transfer — it answers `#Other` naming the block, never a guessed amount.
2643
2694
  */
2644
- recoverEscrow: ActorMethod<[string, bigint], Result_19>;
2695
+ recoverEscrow: ActorMethod<[string, bigint], Result_20>;
2645
2696
  /**
2646
2697
  * / ⟨0.16.0, L1⟩ A REDEMPTION PATH, where the arm choice is a disclosure decision.
2647
2698
  * /
@@ -2657,7 +2708,7 @@ export interface Engram {
2657
2708
  * / owner's invite gave them and that they cannot act until approved; before, that took a second
2658
2709
  * / read they had no reason to know to make.
2659
2710
  */
2660
- registerGuardian: ActorMethod<[string], Result_18>;
2711
+ registerGuardian: ActorMethod<[string], Result_19>;
2661
2712
  /**
2662
2713
  * / Remove a per-caller override so that caller reverts to — and keeps TRACKING — the global caps.
2663
2714
  * /
@@ -2757,7 +2808,7 @@ export interface Engram {
2757
2808
  * / long-lived enough for the rent model to apply, the reset entry is not guaranteed to still be
2758
2809
  * / there. `agentPurgeLog` is the evidence that does not age out — which is why it exists.
2759
2810
  */
2760
- resetEngram: ActorMethod<[], Result_17>;
2811
+ resetEngram: ActorMethod<[], Result_18>;
2761
2812
  /**
2762
2813
  * / ⟨2026-09-28, owner decision: an agent can resign from an engram, and the resignation is
2763
2814
  * / recorded⟩ The AGENT ends its own engagement with this engram.
@@ -2809,7 +2860,7 @@ export interface Engram {
2809
2860
  * / each such engagement under `cannotBeRecorded` (key, root, invite, and how and when it ended),
2810
2861
  * / apart from `notRecorded`, so the owner sees them rather than silence.
2811
2862
  */
2812
- resyncAgentEdges: ActorMethod<[], Result_16>;
2863
+ resyncAgentEdges: ActorMethod<[], Result_17>;
2813
2864
  /**
2814
2865
  * / Return to managed custody: the engram adds the registry back as a controller ALONGSIDE the
2815
2866
  * / owner — it does not remove the owner. The inverse of `claimSovereignty`, and the reason
@@ -2929,6 +2980,20 @@ export interface Engram {
2929
2980
  * / agent reading `#Refused` would go looking for a permission that was never missing.
2930
2981
  */
2931
2982
  rotateAgentKeyHash: ActorMethod<[string], Result_2>;
2983
+ /**
2984
+ * / Append one formatted memory entry: a dated preference, a lesson or domain insight (topic
2985
+ * / nonempty; topic names follow the shared memory schema), a decision with its rationale, or an
2986
+ * / untrimmed session summary. Dates are this canister's UTC date; a session summary may supply its
2987
+ * / own `YYYY-MM-DD` date (shape-checked, not calendar-checked). Same append permission, path rules,
2988
+ * / writes-pause and encrypted-memory refusal as appendMemoryText; returns the write receipt and the
2989
+ * / exact bytes sent. Callers: the npm library's ProfileManager saves and SessionManager.writeSummary
2990
+ * / (each through EngramClient), and through them the local MCP server's profile and session tools.
2991
+ * / ⟨2026-11-08, the owner: "merging the four methods to one i would agree with"⟩ Was four methods
2992
+ * / (savePreference, saveInsight, saveDecision, writeSessionSummary), added 2026-11-06 and never
2993
+ * / released; one door keeps three fewer methods that every client must support for as long as
2994
+ * / they are served.
2995
+ */
2996
+ saveMemoryEntry: ActorMethod<[MemoryEntry], Result_16>;
2932
2997
  /**
2933
2998
  * / Send money from this engram's wallet to the engram it was opened through — "up", and only up:
2934
2999
  * / the destination is always the parent engram's own default account, never an address the caller
@@ -3166,6 +3231,10 @@ export interface Engram {
3166
3231
  * / "tightened" from "loosened" precisely would mean comparing two cap lattices, so armGuards
3167
3232
  * / (RetentionPolicy.mo) guards any change it sees. That is the conservative reading, and its
3168
3233
  * / only cost is a delay on keeping MORE, which destroys nothing.
3234
+ * / ⟨CORRECTED 2026-11-07⟩ That delay applies to EVICTION only (`resolveRetentionForEviction`),
3235
+ * / not to the class used for revision. `reviseMemory` reads `retentionClassOf` →
3236
+ * / `RetentionPolicy.resolve` without a guard: a newly written `#vault` forbids agent revision
3237
+ * / immediately, including during the 14-day eviction guard. The owner's revision is unchanged.
3169
3238
  */
3170
3239
  setMemoryRetentionPolicy: ActorMethod<[Array<[string, RetentionClassSpec]>], Result_2>;
3171
3240
  /**
@@ -3751,6 +3820,25 @@ export interface Engram {
3751
3820
  * / certify and the client's `verifyBirthChain` to check.
3752
3821
  */
3753
3822
  sysSetBirthChain: ActorMethod<[Array<BirthRecord>], Result_2>;
3823
+ /**
3824
+ * / Name the origin of the page where this engram's owner approves a connector sign-in.
3825
+ * / ⟨2026-11-08, the owner's ruling "all as recommended", item 1⟩
3826
+ * /
3827
+ * / CALLER: the registry that spawned this engram, from its birth push (`pushToNewborn`), and nobody
3828
+ * / else — the same authority as `sysSetMetricsReaderId`, through the named gate
3829
+ * / `AccessControl.requireRegistryNamingConsent`. ⚠ THE REGISTRY'S CLIENT DECLARATION IS HAND-WRITTEN
3830
+ * / (`sysSetConsentOrigin : (Text) -> async Wire.Result<()>`): a different NAME here leaves every
3831
+ * / newborn on the default origin, silently (the push is best-effort and its reject is caught), and a
3832
+ * / different REPLY type traps inside the registry's callback. test/lineage-wiring.test.ts compares the
3833
+ * / two.
3834
+ * /
3835
+ * / `GET /oauth/authorize` then answers 302 to `<origin>/auth/connector?canister=<id>&<the client's
3836
+ * / query>`; never told, it keeps the default origin it always had. An origin `ConsentOrigin.check`
3837
+ * / refuses (not https, a path, a query, a fragment, a user part, uppercase, too long) is `#Invalid`
3838
+ * / and nothing changes. SET ONCE: the same origin again answers `#Ok` and changes nothing; another is
3839
+ * / refused `#Conflict`. Never cleared. Recorded in the chained record (`oauth.sysSetConsentOrigin`).
3840
+ */
3841
+ sysSetConsentOrigin: ActorMethod<[string], Result_2>;
3754
3842
  /**
3755
3843
  * / Point this engram at the commerce satellite allowed to ask it for signatures. ⟨0.16.0, B1⟩
3756
3844
  * /
@@ -3974,6 +4062,17 @@ export interface EnrolmentProof {
3974
4062
  rootPubkey: Uint8Array | number[];
3975
4063
  inviteCode: string;
3976
4064
  }
4065
+ export interface Entry {
4066
+ date: string;
4067
+ path: string;
4068
+ platform: string;
4069
+ lastModifiedAtNs: bigint;
4070
+ }
4071
+ export interface Entry__1 {
4072
+ active: boolean;
4073
+ inactiveReason: [] | [string];
4074
+ grant: { connected: SignIn } | { paired: AgentRecord };
4075
+ }
3977
4076
  export type Error =
3978
4077
  | { Invalid: string }
3979
4078
  | { NotFound: string }
@@ -4088,6 +4187,19 @@ export interface MemoryByteChunk {
4088
4187
  fileSize: bigint;
4089
4188
  bytes: Uint8Array | number[];
4090
4189
  }
4190
+ export type MemoryEntry =
4191
+ | {
4192
+ decision: { decision: string; rationale: string };
4193
+ }
4194
+ | { preference: string }
4195
+ | { insight: { topic: [] | [string]; content: string } }
4196
+ | {
4197
+ sessionSummary: {
4198
+ date: [] | [string];
4199
+ platform: string;
4200
+ summary: string;
4201
+ };
4202
+ };
4091
4203
  export interface MemoryEviction {
4092
4204
  evictSeq: bigint;
4093
4205
  fromVersion: bigint;
@@ -4362,9 +4474,14 @@ export interface Page_24 {
4362
4474
  export interface Page_25 {
4363
4475
  total: bigint;
4364
4476
  withheld: bigint;
4365
- items: Array<ActivitySnapshot>;
4477
+ items: Array<Entry__1>;
4366
4478
  }
4367
4479
  export interface Page_26 {
4480
+ total: bigint;
4481
+ withheld: bigint;
4482
+ items: Array<ActivitySnapshot>;
4483
+ }
4484
+ export interface Page_27 {
4368
4485
  total: bigint;
4369
4486
  withheld: bigint;
4370
4487
  items: Array<OwnerRow>;
@@ -4439,6 +4556,16 @@ export interface PaymentsNow {
4439
4556
  }
4440
4557
  export type PaymentsStop =
4441
4558
  { paymentsBrake: null } | { dailySignatureLimit: null } | { signingFloor: null };
4559
+ export type Plan =
4560
+ | { metadata: Array<Entry> }
4561
+ | { individualCanonical: Array<CanonicalRead> }
4562
+ | { batchOriginal: Array<Entry> };
4563
+ export interface ProfileRead {
4564
+ soul: Result_13;
4565
+ user: Result_13;
4566
+ lessons: Result_13;
4567
+ preferences: Result_13;
4568
+ }
4442
4569
  export interface PurgedAgent {
4443
4570
  principal: Principal;
4444
4571
  pairedAtNs: bigint;
@@ -4498,6 +4625,15 @@ export interface Repudiation {
4498
4625
  version: bigint;
4499
4626
  reason: string;
4500
4627
  }
4628
+ export type Request =
4629
+ | { metadata: [] | [string] }
4630
+ | {
4631
+ read: {
4632
+ end: End;
4633
+ excludePlatform: [] | [string];
4634
+ platform: [] | [string];
4635
+ };
4636
+ };
4501
4637
  export interface ResetReport {
4502
4638
  agentsRemoved: bigint;
4503
4639
  agentsPurged: bigint;
@@ -4512,86 +4648,90 @@ export type Result_12 = { Ok: BackupRetentionReport } | { Err: Error };
4512
4648
  export type Result_13 = { Ok: MemoryFile } | { Err: Error };
4513
4649
  export type Result_14 = { Ok: SessionContext } | { Err: Error };
4514
4650
  export type Result_15 = { Ok: bigint } | { Err: Error };
4515
- export type Result_16 = { Ok: ResyncReport } | { Err: Error };
4516
- export type Result_17 = { Ok: ResetReport } | { Err: Error };
4517
- export type Result_18 = { Ok: GuardianRecord } | { Err: Error };
4518
- export type Result_19 = { Ok: EngramEscrowRecovery } | { Err: Error };
4651
+ export type Result_16 = { Ok: TextAppendReceipt } | { Err: Error };
4652
+ export type Result_17 = { Ok: ResyncReport } | { Err: Error };
4653
+ export type Result_18 = { Ok: ResetReport } | { Err: Error };
4654
+ export type Result_19 = { Ok: GuardianRecord } | { Err: Error };
4519
4655
  export type Result_2 = { Ok: null } | { Err: Error };
4520
- export type Result_20 = { Ok: MemoryByteChunk } | { Err: Error };
4521
- export type Result_21 = { Ok: Array<BatchReadItem> } | { Err: Error };
4522
- export type Result_22 = { Ok: RetentionPreview } | { Err: Error };
4523
- export type Result_23 = { Ok: CondensePreview } | { Err: Error };
4524
- export type Result_24 = { Ok: Pairing } | { Err: Error };
4525
- export type Result_25 = { Ok: EngramSessionState } | { Err: Error };
4526
- export type Result_26 = { Ok: Principal } | { Err: Error };
4527
- export type Result_27 = { Ok: AgentGrant } | { Err: Error };
4528
- export type Result_28 = { Ok: Page } | { Err: Error };
4529
- export type Result_29 = { Ok: Page_1 } | { Err: Error };
4656
+ export type Result_20 = { Ok: EngramEscrowRecovery } | { Err: Error };
4657
+ export type Result_21 = { Ok: MemoryByteChunk } | { Err: Error };
4658
+ export type Result_22 = { Ok: Array<BatchReadItem> } | { Err: Error };
4659
+ export type Result_23 = { Ok: RetentionPreview } | { Err: Error };
4660
+ export type Result_24 = { Ok: CondensePreview } | { Err: Error };
4661
+ export type Result_25 = { Ok: Plan } | { Err: Error };
4662
+ export type Result_26 = { Ok: Pairing } | { Err: Error };
4663
+ export type Result_27 = { Ok: EngramSessionState } | { Err: Error };
4664
+ export type Result_28 = { Ok: Principal } | { Err: Error };
4665
+ export type Result_29 = { Ok: AgentGrant } | { Err: Error };
4530
4666
  export type Result_3 = { Ok: ControlHandover } | { Err: Error };
4531
- export type Result_30 = { Ok: Page_2 } | { Err: Error };
4532
- export type Result_31 = { Ok: Page_3 } | { Err: Error };
4533
- export type Result_32 = { Ok: Page_4 } | { Err: Error };
4534
- export type Result_33 = { Ok: Page_5 } | { Err: Error };
4535
- export type Result_34 = { Ok: PaymentSignatureCounts } | { Err: Error };
4536
- export type Result_35 = { Ok: Page_7 } | { Err: Error };
4537
- export type Result_36 = { Ok: Page_8 } | { Err: Error };
4538
- export type Result_37 = { Ok: Page_9 } | { Err: Error };
4539
- export type Result_38 = { Ok: LogPage } | { Err: Error };
4540
- export type Result_39 = { Ok: Page_11 } | { Err: Error };
4667
+ export type Result_30 = { Ok: Page } | { Err: Error };
4668
+ export type Result_31 = { Ok: Page_1 } | { Err: Error };
4669
+ export type Result_32 = { Ok: Page_2 } | { Err: Error };
4670
+ export type Result_33 = { Ok: Page_3 } | { Err: Error };
4671
+ export type Result_34 = { Ok: Page_4 } | { Err: Error };
4672
+ export type Result_35 = { Ok: Page_5 } | { Err: Error };
4673
+ export type Result_36 = { Ok: PaymentSignatureCounts } | { Err: Error };
4674
+ export type Result_37 = { Ok: Page_7 } | { Err: Error };
4675
+ export type Result_38 = { Ok: Page_8 } | { Err: Error };
4676
+ export type Result_39 = { Ok: Page_9 } | { Err: Error };
4541
4677
  export type Result_4 = { Ok: X402SignOutcome } | { Err: Error };
4542
- export type Result_40 = { Ok: ReceiptPage } | { Err: Error };
4543
- export type Result_41 = { Ok: Page_13 } | { Err: Error };
4544
- export type Result_42 = { Ok: Page_14 } | { Err: Error };
4545
- export type Result_43 = { Ok: Page_15 } | { Err: Error };
4546
- export type Result_44 = { Ok: Page_16 } | { Err: Error };
4547
- export type Result_45 = { Ok: Page_17 } | { Err: Error };
4548
- export type Result_46 = { Ok: Page_18 } | { Err: Error };
4549
- export type Result_47 = { Ok: CheckpointPage } | { Err: Error };
4550
- export type Result_48 = { Ok: Page_20 } | { Err: Error };
4551
- export type Result_49 = { Ok: Page_21 } | { Err: Error };
4678
+ export type Result_40 = { Ok: LogPage } | { Err: Error };
4679
+ export type Result_41 = { Ok: Page_11 } | { Err: Error };
4680
+ export type Result_42 = { Ok: ReceiptPage } | { Err: Error };
4681
+ export type Result_43 = { Ok: Page_13 } | { Err: Error };
4682
+ export type Result_44 = { Ok: Page_14 } | { Err: Error };
4683
+ export type Result_45 = { Ok: Page_15 } | { Err: Error };
4684
+ export type Result_46 = { Ok: Page_16 } | { Err: Error };
4685
+ export type Result_47 = { Ok: Page_17 } | { Err: Error };
4686
+ export type Result_48 = { Ok: Page_18 } | { Err: Error };
4687
+ export type Result_49 = { Ok: CheckpointPage } | { Err: Error };
4552
4688
  export type Result_5 = { Ok: Eip712SignatureOut } | { Err: Error };
4553
- export type Result_50 = { Ok: RecordPage } | { Err: Error };
4554
- export type Result_51 = { Ok: Page_22 } | { Err: Error };
4555
- export type Result_52 = { Ok: Page_23 } | { Err: Error };
4556
- export type Result_53 = { Ok: AgentSpendToday } | { Err: Error };
4557
- export type Result_54 = { Ok: Page_25 } | { Err: Error };
4558
- export type Result_55 = { Ok: string } | { Err: Error };
4559
- export type Result_56 = { Ok: boolean } | { Err: Error };
4560
- export type Result_57 = { Ok: [] | [string] } | { Err: Error };
4561
- export type Result_58 = { Ok: WorldIdRpContext } | { Err: Error };
4562
- export type Result_59 = { Ok: WorldIdConfig } | { Err: Error };
4689
+ export type Result_50 = { Ok: Page_20 } | { Err: Error };
4690
+ export type Result_51 = { Ok: Page_21 } | { Err: Error };
4691
+ export type Result_52 = { Ok: RecordPage } | { Err: Error };
4692
+ export type Result_53 = { Ok: Page_22 } | { Err: Error };
4693
+ export type Result_54 = { Ok: Page_23 } | { Err: Error };
4694
+ export type Result_55 = { Ok: AgentSpendToday } | { Err: Error };
4695
+ export type Result_56 = { Ok: Page_25 } | { Err: Error };
4696
+ export type Result_57 = { Ok: Page_26 } | { Err: Error };
4697
+ export type Result_58 = { Ok: string } | { Err: Error };
4698
+ export type Result_59 = { Ok: boolean } | { Err: Error };
4563
4699
  export type Result_6 = { Ok: { returned: bigint } } | { Err: Error };
4564
- export type Result_60 = { Ok: WalletBalances } | { Err: Error };
4565
- export type Result_61 = { Ok: StorageReport } | { Err: Error };
4566
- export type Result_62 = { Ok: SpendingPolicy } | { Err: Error };
4567
- export type Result_63 = { Ok: SpendCeiling } | { Err: Error };
4568
- export type Result_64 = { Ok: SigningFloorStatus } | { Err: Error };
4569
- export type Result_65 = { Ok: RecipientHistory } | { Err: Error };
4570
- export type Result_66 = { Ok: { paths: Array<string> } } | { Err: Error };
4571
- export type Result_67 = { Ok: OwnerSignInView } | { Err: Error };
4572
- export type Result_68 = { Ok: OwnerConsole } | { Err: Error };
4573
- export type Result_69 = { Ok: MemoryRetentionPolicy } | { Err: Error };
4700
+ export type Result_60 = { Ok: [] | [string] } | { Err: Error };
4701
+ export type Result_61 = { Ok: WorldIdRpContext } | { Err: Error };
4702
+ export type Result_62 = { Ok: WorldIdConfig } | { Err: Error };
4703
+ export type Result_63 = { Ok: WalletBalances } | { Err: Error };
4704
+ export type Result_64 = { Ok: StorageReport } | { Err: Error };
4705
+ export type Result_65 = { Ok: SpendingPolicy } | { Err: Error };
4706
+ export type Result_66 = { Ok: SpendCeiling } | { Err: Error };
4707
+ export type Result_67 = { Ok: SigningFloorStatus } | { Err: Error };
4708
+ export type Result_68 = { Ok: RecipientHistory } | { Err: Error };
4709
+ export type Result_69 = { Ok: { paths: Array<string> } } | { Err: Error };
4574
4710
  export type Result_7 = { Ok: SignatureCounts } | { Err: Error };
4575
- export type Result_70 = { Ok: MemoryHistory } | { Err: Error };
4576
- export type Result_71 = { Ok: KeyBackupStatus } | { Err: Error };
4577
- export type Result_72 = { Ok: Uint8Array | number[] } | { Err: Error };
4578
- export type Result_73 = { Ok: AlertStatus } | { Err: Error };
4579
- export type Result_74 = { Ok: EvmAddresses } | { Err: Error };
4580
- export type Result_75 = { Ok: ChildOpening } | { Err: Error };
4581
- export type Result_76 = { Ok: ChildAllowanceRow } | { Err: Error };
4582
- export type Result_77 = { Ok: Brakes } | { Err: Error };
4583
- export type Result_78 = { Ok: Array<BirthRecord> } | { Err: Error };
4584
- export type Result_79 = { Ok: BackupRetention } | { Err: Error };
4711
+ export type Result_70 = { Ok: ProfileRead } | { Err: Error };
4712
+ export type Result_71 = { Ok: OwnerSignInView } | { Err: Error };
4713
+ export type Result_72 = { Ok: OwnerConsole } | { Err: Error };
4714
+ export type Result_73 = { Ok: MemoryRetentionPolicy } | { Err: Error };
4715
+ export type Result_74 = { Ok: MemoryHistory } | { Err: Error };
4716
+ export type Result_75 = { Ok: KeyBackupStatus } | { Err: Error };
4717
+ export type Result_76 = { Ok: Uint8Array | number[] } | { Err: Error };
4718
+ export type Result_77 = { Ok: AlertStatus } | { Err: Error };
4719
+ export type Result_78 = { Ok: EvmAddresses } | { Err: Error };
4720
+ export type Result_79 = { Ok: ChildOpening } | { Err: Error };
4585
4721
  export type Result_8 = { Ok: RailHealth } | { Err: Error };
4586
- export type Result_80 = { Ok: BackupMetadata } | { Err: Error };
4587
- export type Result_81 = { Ok: AgentWriteReview } | { Err: Error };
4588
- export type Result_82 = { Ok: Page_26 } | { Err: Error };
4589
- export type Result_84 = { Ok: MemoryRangeExport } | { Err: Error };
4590
- export type Result_85 = { Ok: CondenseResult } | { Err: Error };
4591
- export type Result_86 = { Ok: Conversion } | { Err: Error };
4592
- export type Result_88 = { Ok: Eip712Registration } | { Err: Error };
4722
+ export type Result_80 = { Ok: ChildAllowanceRow } | { Err: Error };
4723
+ export type Result_81 = { Ok: Brakes } | { Err: Error };
4724
+ export type Result_82 = { Ok: Array<BirthRecord> } | { Err: Error };
4725
+ export type Result_83 = { Ok: BackupRetention } | { Err: Error };
4726
+ export type Result_84 = { Ok: BackupMetadata } | { Err: Error };
4727
+ export type Result_85 = { Ok: AgentWriteReview } | { Err: Error };
4728
+ export type Result_86 = { Ok: Page_27 } | { Err: Error };
4729
+ export type Result_88 = { Ok: MemoryRangeExport } | { Err: Error };
4730
+ export type Result_89 = { Ok: CondenseResult } | { Err: Error };
4593
4731
  export type Result_9 = { Ok: Array<Seat> } | { Err: Error };
4594
- export type Result_90 = { Ok: AgentRecord } | { Err: Error };
4732
+ export type Result_90 = { Ok: Conversion } | { Err: Error };
4733
+ export type Result_92 = { Ok: Eip712Registration } | { Err: Error };
4734
+ export type Result_94 = { Ok: AgentRecord } | { Err: Error };
4595
4735
  export interface ResyncReport {
4596
4736
  startsAcknowledged: bigint;
4597
4737
  cannotBeRecorded: Array<UnrecordableEngagement>;
@@ -4766,6 +4906,10 @@ export interface StorageReport {
4766
4906
  versionHistoryCount: bigint;
4767
4907
  sessionFilesCount: bigint;
4768
4908
  }
4909
+ export interface TextAppendReceipt {
4910
+ receipt: WriteReceipt;
4911
+ sent: Uint8Array | number[];
4912
+ }
4769
4913
  export interface TimerHealth {
4770
4914
  jobExpiryFastMode: boolean;
4771
4915
  jobExpiryArmed: boolean;