@engramx/idl 0.17.0-rc.2 → 0.17.0-rc.4
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.
- package/dist/engram.did +392 -192
- package/dist/engram.idl.d.ts +357 -191
- package/dist/engram.idl.js +306 -194
- package/dist/market.did +30 -0
- package/dist/market.idl.d.ts +35 -0
- package/dist/market.idl.js +9 -0
- package/dist/registry.did +53 -0
- package/dist/registry.idl.d.ts +53 -0
- package/dist/registry.idl.js +27 -0
- package/package.json +1 -1
package/dist/engram.idl.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export interface AgentRecord {
|
|
|
106
106
|
keyRotatedAtNs: bigint;
|
|
107
107
|
keyHeldFrom: LogPosition;
|
|
108
108
|
}
|
|
109
|
+
export type AgentScope = { only: Principal } | { anyAgent: null };
|
|
109
110
|
export interface AgentSpendRow {
|
|
110
111
|
agent: Principal;
|
|
111
112
|
spentToday: [] | [bigint];
|
|
@@ -114,7 +115,7 @@ export interface AgentSpendRow {
|
|
|
114
115
|
}
|
|
115
116
|
export interface AgentSpendToday {
|
|
116
117
|
dayStartNs: bigint;
|
|
117
|
-
agents:
|
|
118
|
+
agents: Page_26;
|
|
118
119
|
}
|
|
119
120
|
export type AgentStatus = { Active: null } | { Resigned: null } | { Revoked: null };
|
|
120
121
|
export interface AgentWriteReview {
|
|
@@ -165,6 +166,7 @@ export interface AnchorPushStatus {
|
|
|
165
166
|
timersPausedAtNs: [] | [bigint];
|
|
166
167
|
nextAnchorAttemptAtNs: [] | [bigint];
|
|
167
168
|
}
|
|
169
|
+
export type Approval = { each: null } | { none: null } | { overTtlSecs: bigint };
|
|
168
170
|
export interface ApprovalRequest {
|
|
169
171
|
id: string;
|
|
170
172
|
expiresAtNs: bigint;
|
|
@@ -265,6 +267,11 @@ export interface Brakes {
|
|
|
265
267
|
payments: BrakeState;
|
|
266
268
|
writes: BrakeState;
|
|
267
269
|
}
|
|
270
|
+
export interface CaKey {
|
|
271
|
+
publicKey: Uint8Array | number[];
|
|
272
|
+
line: string;
|
|
273
|
+
fingerprint: string;
|
|
274
|
+
}
|
|
268
275
|
export interface CallerSignatureCount {
|
|
269
276
|
count: bigint;
|
|
270
277
|
role: Role;
|
|
@@ -284,7 +291,7 @@ export interface CertifiedAuditHead {
|
|
|
284
291
|
}
|
|
285
292
|
export interface CheckpointPage {
|
|
286
293
|
firstAvailableSeq: bigint;
|
|
287
|
-
page:
|
|
294
|
+
page: Page_21;
|
|
288
295
|
scannedThroughSeq: bigint;
|
|
289
296
|
}
|
|
290
297
|
export interface ChildAllowanceRow {
|
|
@@ -445,7 +452,7 @@ export interface Engram {
|
|
|
445
452
|
* / test/key-replacement.test.mo runs it; this body names no roster gate, because the caller holds
|
|
446
453
|
* / no role here until the move.
|
|
447
454
|
*/
|
|
448
|
-
acceptAgentKeyNomination: ActorMethod<[Principal],
|
|
455
|
+
acceptAgentKeyNomination: ActorMethod<[Principal], Result_100>;
|
|
449
456
|
/**
|
|
450
457
|
* / THE PRINCIPAL AN OFFER NAMES TAKES THE ENGRAM, as themselves. This is the only call that hands
|
|
451
458
|
* / an owned engram to someone else, and on acceptance what the former owner granted is ended, not
|
|
@@ -518,7 +525,7 @@ export interface Engram {
|
|
|
518
525
|
* / custody chain; whatever the registry refuses (its own words, with a sentence saying the caller
|
|
519
526
|
* / did not become the owner).
|
|
520
527
|
*/
|
|
521
|
-
acceptOwnership: ActorMethod<[],
|
|
528
|
+
acceptOwnership: ActorMethod<[], Result_99>;
|
|
522
529
|
/**
|
|
523
530
|
* / The person the owner asked again ACCEPTS: they become this engram's sign-in, and the sealed copy
|
|
524
531
|
* / that came with the ask becomes the engram's (sealed for them). Until this call they have no power
|
|
@@ -598,7 +605,7 @@ export interface Engram {
|
|
|
598
605
|
ackIrrevocable: boolean;
|
|
599
606
|
},
|
|
600
607
|
],
|
|
601
|
-
|
|
608
|
+
Result_97
|
|
602
609
|
>;
|
|
603
610
|
/**
|
|
604
611
|
* / THE ROLE-CONFLICT ARM (refusals are values, never traps), and why three refusals here are not
|
|
@@ -634,6 +641,16 @@ export interface Engram {
|
|
|
634
641
|
* / opened through another), and the owner kit.
|
|
635
642
|
*/
|
|
636
643
|
addSeller: ActorMethod<[string, bigint, boolean], Result_11>;
|
|
644
|
+
/**
|
|
645
|
+
* / OWNER ONLY (the seated sign-in, in an engram opened through another). Adds a rule. It counts 24 hours
|
|
646
|
+
* / after it is added (`activatesAtNs`), so a rule a stolen session adds can be seen and ended before it gives
|
|
647
|
+
* / anything. Refused while payments are frozen: a freeze stops every new authority, and lifting it restarts
|
|
648
|
+
* / the wait of a rule still waiting. The same shape twice is refused, ended or not: a rule is its shape, so
|
|
649
|
+
* / adding one back means changing something, such as its name.
|
|
650
|
+
* / Caller: the owner, with a direct call today (`icp canister call <engram> addSshRule`); the client CLI's
|
|
651
|
+
* / `ssh rule add` when it ships.
|
|
652
|
+
*/
|
|
653
|
+
addSshRule: ActorMethod<[RuleSpec], Result_95>;
|
|
637
654
|
/**
|
|
638
655
|
* / AN AGENT CONVERTS THE ENGRAM'S BALANCE INTO COMPUTE, under the runway rule (`AgentConvert.mo`
|
|
639
656
|
* / holds the rule and says why each number).
|
|
@@ -659,7 +676,7 @@ export interface Engram {
|
|
|
659
676
|
* / finishes, and the reply (`finishedBeforeRemovalSeen`) and the record row say so. One inter-canister
|
|
660
677
|
* / call, bounded by one cap.
|
|
661
678
|
*/
|
|
662
|
-
agentConvertBalance: ActorMethod<[string, [] | [bigint]],
|
|
679
|
+
agentConvertBalance: ActorMethod<[string, [] | [bigint]], Result_94>;
|
|
663
680
|
/**
|
|
664
681
|
* / Returns the write RECEIPT, not just the version.
|
|
665
682
|
* /
|
|
@@ -703,7 +720,7 @@ export interface Engram {
|
|
|
703
720
|
* / is exactly what a guardian pause exists to hold. No action alert is raised: the operation is
|
|
704
721
|
* / owner-initiated, owner-only, and already chained into the audit log.
|
|
705
722
|
*/
|
|
706
|
-
applyCondense: ActorMethod<[bigint],
|
|
723
|
+
applyCondense: ActorMethod<[bigint], Result_93>;
|
|
707
724
|
/**
|
|
708
725
|
* / Owner-only: activate a guardian who has registered against an invite.
|
|
709
726
|
* /
|
|
@@ -796,7 +813,7 @@ export interface Engram {
|
|
|
796
813
|
* /
|
|
797
814
|
* / The write half also refuses while writes are PAUSED.
|
|
798
815
|
*/
|
|
799
|
-
backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]],
|
|
816
|
+
backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]], Result_61>;
|
|
800
817
|
/**
|
|
801
818
|
* / Read one chunk of a finalized backup, by index.
|
|
802
819
|
* /
|
|
@@ -804,7 +821,7 @@ export interface Engram {
|
|
|
804
821
|
* / `canAppendMemory`. Holding one says nothing about the other, deliberately: taking a backup and
|
|
805
822
|
* / carrying it away are different authorities.
|
|
806
823
|
*/
|
|
807
|
-
backupPullChunk: ActorMethod<[string, bigint],
|
|
824
|
+
backupPullChunk: ActorMethod<[string, bigint], Result_80>;
|
|
808
825
|
backupPushChunk: ActorMethod<[string, bigint, Uint8Array | number[]], Result_2>;
|
|
809
826
|
/**
|
|
810
827
|
* / The OWNER cancels an agent's pending key nomination; the agent keeps its current key. Refused
|
|
@@ -887,7 +904,7 @@ export interface Engram {
|
|
|
887
904
|
* / A name the owner gives meets the rule `renameAgent` applies: a line break or another control
|
|
888
905
|
* / character is `#Invalid` (`People.nameRefusal`), as a rename to it would be.
|
|
889
906
|
*/
|
|
890
|
-
createAgentInvite: ActorMethod<[string, AgentPermissions],
|
|
907
|
+
createAgentInvite: ActorMethod<[string, AgentPermissions], Result_61>;
|
|
891
908
|
/**
|
|
892
909
|
* / Owner-only: mint an invite for a GUARDIAN — an independent check on agents, not a
|
|
893
910
|
* / co-owner and not a recovery agent.
|
|
@@ -911,7 +928,7 @@ export interface Engram {
|
|
|
911
928
|
* / So an invite that fails to redeem for that reason is not a bad code. The rule exists because
|
|
912
929
|
* / a check must be independent of the thing it checks.
|
|
913
930
|
*/
|
|
914
|
-
createGuardianInvite: ActorMethod<[string, GuardianPermissions],
|
|
931
|
+
createGuardianInvite: ActorMethod<[string, GuardianPermissions], Result_61>;
|
|
915
932
|
/**
|
|
916
933
|
* / The sign-in GIVES ITSELF UP, or the person the owner asked again says no. They may say no, and
|
|
917
934
|
* / the owner may ask again: whoever the kit names could otherwise not refuse a seat they never
|
|
@@ -979,6 +996,14 @@ export interface Engram {
|
|
|
979
996
|
* / One dispute per guardian per write (`#Conflict`, the first stands).
|
|
980
997
|
*/
|
|
981
998
|
disputeAgentWrite: ActorMethod<[bigint, string], Result_15>;
|
|
999
|
+
/**
|
|
1000
|
+
* / OWNER ONLY (as `addSshRule`). Ends a rule now: no certificate is given under it from this moment; those
|
|
1001
|
+
* / already given run to their own end unless their key is cancelled. ALLOWED WHILE FROZEN: ending takes
|
|
1002
|
+
* / authority away. The row stays, with the time it ended. A rule already ended is refused by name, never a
|
|
1003
|
+
* / silent success, and keeps its first end time.
|
|
1004
|
+
* / Caller: the owner, with a direct call today; the client CLI's `ssh rule end` when it ships.
|
|
1005
|
+
*/
|
|
1006
|
+
endSshRule: ActorMethod<[Uint8Array | number[]], Result_2>;
|
|
982
1007
|
/**
|
|
983
1008
|
* / Record that log entries [fromSeq, toSeq] were served, and return the root that proves it.
|
|
984
1009
|
* /
|
|
@@ -993,7 +1018,7 @@ export interface Engram {
|
|
|
993
1018
|
* / situation rather than a safety measure. It IS gated on requireMemoryAttached: a store that
|
|
994
1019
|
* / failed its integrity check must not attest anything it cannot vouch for.
|
|
995
1020
|
*/
|
|
996
|
-
exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]],
|
|
1021
|
+
exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]], Result_92>;
|
|
997
1022
|
/**
|
|
998
1023
|
* / The payments brake, for the owner or an active guardian (`requireOwnerOrGuardian`). It was
|
|
999
1024
|
* / `guardianFreezePayments` before 0.16.0, and the prefix LIED about who may call it: an owner
|
|
@@ -1045,7 +1070,7 @@ export interface Engram {
|
|
|
1045
1070
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1046
1071
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1047
1072
|
*/
|
|
1048
|
-
getActionAlertStatus: ActorMethod<[],
|
|
1073
|
+
getActionAlertStatus: ActorMethod<[], Result_81>;
|
|
1049
1074
|
/**
|
|
1050
1075
|
* / The agent-conversion rule's numbers.
|
|
1051
1076
|
* / PUBLIC: the class of `getTopUpLimits` — a policy, nobody's data.
|
|
@@ -1061,7 +1086,7 @@ export interface Engram {
|
|
|
1061
1086
|
* / Refusal reason preserved from the trap: a grant is a power, and its absence and its
|
|
1062
1087
|
* / concealment are different facts.
|
|
1063
1088
|
*/
|
|
1064
|
-
getAgentRevisablePaths: ActorMethod<[],
|
|
1089
|
+
getAgentRevisablePaths: ActorMethod<[], Result_72>;
|
|
1065
1090
|
/**
|
|
1066
1091
|
* / OWNER-ONLY: every engagement's seat weeks on this engram, with the agent's root — the day it
|
|
1067
1092
|
* / paired, the days of its first and last payment signature, a 64-week map whose bit 0 is the week
|
|
@@ -1076,7 +1101,7 @@ export interface Engram {
|
|
|
1076
1101
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1077
1102
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1078
1103
|
*/
|
|
1079
|
-
getAgentSeatWeeks: ActorMethod<[bigint, bigint],
|
|
1104
|
+
getAgentSeatWeeks: ActorMethod<[bigint, bigint], Result_90>;
|
|
1080
1105
|
/**
|
|
1081
1106
|
* / Owner: everything written into this engram by someone other than the owner since the last
|
|
1082
1107
|
* / markAgentWritesReviewed() — agent appends/revisions AND paid-session appends (see
|
|
@@ -1088,7 +1113,7 @@ export interface Engram {
|
|
|
1088
1113
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1089
1114
|
* / (`AccessControl.requireOwnerOrSignIn`); on a first engram only the owner reads it.
|
|
1090
1115
|
*/
|
|
1091
|
-
getAgentWriteReview: ActorMethod<[],
|
|
1116
|
+
getAgentWriteReview: ActorMethod<[], Result_89>;
|
|
1092
1117
|
/**
|
|
1093
1118
|
* / Why anchoring is or is not advancing. PUBLIC: ungated on purpose — detecting a stalled
|
|
1094
1119
|
* / engram is the point, a gated read would fail-to-empty and hand a third party fabricated zeros,
|
|
@@ -1110,7 +1135,7 @@ export interface Engram {
|
|
|
1110
1135
|
* / to verify it was signed rather than asserted.
|
|
1111
1136
|
*/
|
|
1112
1137
|
getAuditHead: ActorMethod<[], AuditHead>;
|
|
1113
|
-
getBackupMetadata: ActorMethod<[string],
|
|
1138
|
+
getBackupMetadata: ActorMethod<[string], Result_88>;
|
|
1114
1139
|
/**
|
|
1115
1140
|
* / How many backups of `dbType` each creator keeps, and whether that is the default. Without it the
|
|
1116
1141
|
* / setting showed only on the device that last set it.
|
|
@@ -1122,7 +1147,7 @@ export interface Engram {
|
|
|
1122
1147
|
* / the anonymous caller. A kind the setter would refuse is `#Invalid` here too
|
|
1123
1148
|
* / (`Backup.getRetention`). Records nothing (a query).
|
|
1124
1149
|
*/
|
|
1125
|
-
getBackupRetention: ActorMethod<[string],
|
|
1150
|
+
getBackupRetention: ActorMethod<[string], Result_87>;
|
|
1126
1151
|
/**
|
|
1127
1152
|
* / The canister this engram recognises as its rent biller — `null` until the registry pushes one.
|
|
1128
1153
|
* /
|
|
@@ -1143,7 +1168,7 @@ export interface Engram {
|
|
|
1143
1168
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1144
1169
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1145
1170
|
*/
|
|
1146
|
-
getBirthChain: ActorMethod<[],
|
|
1171
|
+
getBirthChain: ActorMethod<[], Result_86>;
|
|
1147
1172
|
/**
|
|
1148
1173
|
* / Each brake: on or off, and while on, who pulled it LAST (their key and whether as owner or
|
|
1149
1174
|
* / guardian), since when, and the reason they gave — the same person and time as the newest brake
|
|
@@ -1153,7 +1178,7 @@ export interface Engram {
|
|
|
1153
1178
|
* / and needs no more). `pull` is null for a brake that is off, and for one carried on across the
|
|
1154
1179
|
* / upgrade that added this read (who pulled it was not recorded then) — never a guessed pull.
|
|
1155
1180
|
*/
|
|
1156
|
-
getBrakes: ActorMethod<[],
|
|
1181
|
+
getBrakes: ActorMethod<[], Result_85>;
|
|
1157
1182
|
/**
|
|
1158
1183
|
* / `Wire.CertifiedAuditHead` (since 0.16.0), not an anonymous record. The registry, market and
|
|
1159
1184
|
* / biller already served the shared type; the engram — the canister that IS the evidence product —
|
|
@@ -1180,7 +1205,7 @@ export interface Engram {
|
|
|
1180
1205
|
* / did. The refusal is loud in the reply instead. WHAT WOULD MAKE THIS WRONG: a reason to record who
|
|
1181
1206
|
* / asked — then this becomes an update that says so.
|
|
1182
1207
|
*/
|
|
1183
|
-
getChildAllowance: ActorMethod<[Principal],
|
|
1208
|
+
getChildAllowance: ActorMethod<[Principal], Result_84>;
|
|
1184
1209
|
/**
|
|
1185
1210
|
* / Owner-only, Billing-class: what opening an engram costs this engram, the balance below which an
|
|
1186
1211
|
* / agent's request is refused, the balance now, and every agent's allowance. An app's cost sentence
|
|
@@ -1188,7 +1213,7 @@ export interface Engram {
|
|
|
1188
1213
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1189
1214
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1190
1215
|
*/
|
|
1191
|
-
getChildOpening: ActorMethod<[],
|
|
1216
|
+
getChildOpening: ActorMethod<[], Result_83>;
|
|
1192
1217
|
/**
|
|
1193
1218
|
* / Derive the key that opens the sealed copy, encrypted under the caller's transport public key —
|
|
1194
1219
|
* / for the SIGN-IN alone (the combinator's `#ownerSignIn`; the key file is refused by name: only the
|
|
@@ -1206,7 +1231,7 @@ export interface Engram {
|
|
|
1206
1231
|
* / Named callers: an owner's app signed in as the sign-in (the browser's recovery), and the owner
|
|
1207
1232
|
* / kit's `--recover-key` signed by a key-file sign-in.
|
|
1208
1233
|
*/
|
|
1209
|
-
getEncryptedKeyBackupKey: ActorMethod<[Uint8Array | number[]],
|
|
1234
|
+
getEncryptedKeyBackupKey: ActorMethod<[Uint8Array | number[]], Result_80>;
|
|
1210
1235
|
/**
|
|
1211
1236
|
* / Derive the shared memory-encryption key, encrypted under the caller's transport
|
|
1212
1237
|
* / public key. Gated to owner + read-agents (the same principals allowed to read
|
|
@@ -1232,7 +1257,7 @@ export interface Engram {
|
|
|
1232
1257
|
* / cost. Stated here because an update used as a read must say why in its interface, rather than
|
|
1233
1258
|
* / leave the reader to open the body.
|
|
1234
1259
|
*/
|
|
1235
|
-
getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]],
|
|
1260
|
+
getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]], Result_80>;
|
|
1236
1261
|
/**
|
|
1237
1262
|
* / `x402Support` REPORTS THE RAIL, not a constant (since 0.16.0).
|
|
1238
1263
|
* /
|
|
@@ -1302,7 +1327,7 @@ export interface Engram {
|
|
|
1302
1327
|
* / `#Err`, never a record carrying an empty string (ic402's `getEvmAddress` answers `""` on a
|
|
1303
1328
|
* / failed derivation — that is fail-to-empty on a money surface, and it stops here).
|
|
1304
1329
|
*/
|
|
1305
|
-
getEvmAddress: ActorMethod<[],
|
|
1330
|
+
getEvmAddress: ActorMethod<[], Result_82>;
|
|
1306
1331
|
/**
|
|
1307
1332
|
* / The owner's OWN EVM address, if they registered one — distinct from `getEvmAddress`, which is
|
|
1308
1333
|
* / the address this canister derives for itself.
|
|
@@ -1323,7 +1348,7 @@ export interface Engram {
|
|
|
1323
1348
|
* / Also callable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1324
1349
|
* / (`AccessControl.requireOwnerOrSignIn`); on a first engram only the owner.
|
|
1325
1350
|
*/
|
|
1326
|
-
getEvmSignerAddress: ActorMethod<[],
|
|
1351
|
+
getEvmSignerAddress: ActorMethod<[], Result_61>;
|
|
1327
1352
|
/**
|
|
1328
1353
|
* / PUBLIC: where this chain begins, for the stranger deciding whether to trust it.
|
|
1329
1354
|
* /
|
|
@@ -1336,7 +1361,7 @@ export interface Engram {
|
|
|
1336
1361
|
/**
|
|
1337
1362
|
* / A guardian's own channel status (their URL is their secret — each guardian sees only theirs).
|
|
1338
1363
|
*/
|
|
1339
|
-
getGuardianAlertStatus: ActorMethod<[],
|
|
1364
|
+
getGuardianAlertStatus: ActorMethod<[], Result_81>;
|
|
1340
1365
|
/**
|
|
1341
1366
|
* / The sealed copy itself — opaque bytes only the sign-in can open. Readable by the sign-in (it
|
|
1342
1367
|
* / opens them with the key `getEncryptedKeyBackupKey` derives for it) and by the key file, which
|
|
@@ -1348,7 +1373,7 @@ export interface Engram {
|
|
|
1348
1373
|
* / Named callers: the owner kit (`--recover-key`, and its check after sealing), and an owner console
|
|
1349
1374
|
* / signed in as the sign-in (the browser's recovery).
|
|
1350
1375
|
*/
|
|
1351
|
-
getKeyBackupCiphertext: ActorMethod<[],
|
|
1376
|
+
getKeyBackupCiphertext: ActorMethod<[], Result_80>;
|
|
1352
1377
|
/**
|
|
1353
1378
|
* / Whether this engram holds a sealed copy of its owner's key, for whom, since when, whether it is
|
|
1354
1379
|
* / sealed for the sign-in seated now, and whether a copy waits with an ask (`Types.KeyBackupStatus`).
|
|
@@ -1359,7 +1384,7 @@ export interface Engram {
|
|
|
1359
1384
|
* / Named callers: the owner kit after it opens an engram (it prints whether the copy is stored), and
|
|
1360
1385
|
* / an owner console showing an engram opened through another (whether recovery can work).
|
|
1361
1386
|
*/
|
|
1362
|
-
getKeyBackupStatus: ActorMethod<[],
|
|
1387
|
+
getKeyBackupStatus: ActorMethod<[], Result_79>;
|
|
1363
1388
|
/**
|
|
1364
1389
|
* / BLS verification key under which the owner kit seals the backup (`IbeCiphertext.encrypt` to the
|
|
1365
1390
|
* / sign-in's principal) and the opener verifies the derived key. Served on-canister so the kit never
|
|
@@ -1408,7 +1433,7 @@ export interface Engram {
|
|
|
1408
1433
|
* / never renumbered: the next page starts at the last version returned plus one. Defaults
|
|
1409
1434
|
* / return the whole history of any file a pre-FD engram could have held.
|
|
1410
1435
|
*/
|
|
1411
|
-
getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]],
|
|
1436
|
+
getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]], Result_78>;
|
|
1412
1437
|
/**
|
|
1413
1438
|
* / PUBLIC: the epoch alone, and deliberately nothing else (a public rotation history would tell everyone, the party just cut off included, when an owner ended a trust relationship). A `rotatedAt[]`
|
|
1414
1439
|
* / history would be a public, fleet-enumerable feed of when each owner terminated a trust
|
|
@@ -1451,7 +1476,7 @@ export interface Engram {
|
|
|
1451
1476
|
* / forever" — a claim about what this engram will DESTROY — and an empty guard list reads as
|
|
1452
1477
|
* / "nothing is held back".
|
|
1453
1478
|
*/
|
|
1454
|
-
getMemoryRetentionPolicy: ActorMethod<[],
|
|
1479
|
+
getMemoryRetentionPolicy: ActorMethod<[], Result_77>;
|
|
1455
1480
|
/**
|
|
1456
1481
|
* / The metrics reader this engram answers — `null` until the spawning registry names one.
|
|
1457
1482
|
* /
|
|
@@ -1468,7 +1493,7 @@ export interface Engram {
|
|
|
1468
1493
|
* / a fact about the caller, told to the caller. There is nothing to leak by omission — which is
|
|
1469
1494
|
* / the test the #NotFound arm sets.
|
|
1470
1495
|
*/
|
|
1471
|
-
getMyGuardianStatus: ActorMethod<[],
|
|
1496
|
+
getMyGuardianStatus: ActorMethod<[], Result_20>;
|
|
1472
1497
|
/**
|
|
1473
1498
|
* / The gated half of the old `status()` (split in 0.16.0; `about()` is the public half).
|
|
1474
1499
|
* /
|
|
@@ -1479,7 +1504,7 @@ export interface Engram {
|
|
|
1479
1504
|
* / every published client and bought a masked answer nobody had asked for (no consumer read the
|
|
1480
1505
|
* / masked `0`). Behind a gate there is nobody to mask it from.
|
|
1481
1506
|
*/
|
|
1482
|
-
getOwnerConsole: ActorMethod<[],
|
|
1507
|
+
getOwnerConsole: ActorMethod<[], Result_76>;
|
|
1483
1508
|
/**
|
|
1484
1509
|
* / The engram's sign-in, as `Types.OwnerSignInView` describes it: whether this engram was opened
|
|
1485
1510
|
* / through another, who its sign-in is, whether the caller is it, and any decline or waiting ask.
|
|
@@ -1490,20 +1515,20 @@ export interface Engram {
|
|
|
1490
1515
|
* / Named callers: an owner console showing an engram opened through another (who signs in, and a
|
|
1491
1516
|
* / waiting ask with Accept and Decline), and the owner kit after it opens one.
|
|
1492
1517
|
*/
|
|
1493
|
-
getOwnerSignIn: ActorMethod<[],
|
|
1518
|
+
getOwnerSignIn: ActorMethod<[], Result_75>;
|
|
1494
1519
|
/**
|
|
1495
1520
|
* / The open offer, to the two parties to it: the owner and the principal it names. `null` when
|
|
1496
1521
|
* / none is open or it has expired. Anyone else is refused: an offer names a principal who has not
|
|
1497
1522
|
* / agreed to anything yet, so it is not public the way the custody chain is.
|
|
1498
1523
|
*/
|
|
1499
|
-
getOwnershipOffer: ActorMethod<[],
|
|
1524
|
+
getOwnershipOffer: ActorMethod<[], Result_74>;
|
|
1500
1525
|
/**
|
|
1501
1526
|
* / Read the four profile fields in one bounded batch. Raw per-field results preserve SDK
|
|
1502
1527
|
* / decryption and first-failure ordering; only an explicit NotFound means an unset field.
|
|
1503
1528
|
* / Query reads retain existing permission and owner visibility, without changing read counts.
|
|
1504
1529
|
* / Callers: EngramClient.getProfile (ProfileManager.getProfile, the local MCP profile tool).
|
|
1505
1530
|
*/
|
|
1506
|
-
getProfile: ActorMethod<[],
|
|
1531
|
+
getProfile: ActorMethod<[], Result_73>;
|
|
1507
1532
|
/**
|
|
1508
1533
|
* / Owner + agents only (agents need it to avoid writing protected paths).
|
|
1509
1534
|
* /
|
|
@@ -1517,7 +1542,7 @@ export interface Engram {
|
|
|
1517
1542
|
* / writing one — so a fabricated empty here does not merely misinform, it invites the write the
|
|
1518
1543
|
* / list exists to prevent.
|
|
1519
1544
|
*/
|
|
1520
|
-
getProtectedPaths: ActorMethod<[],
|
|
1545
|
+
getProtectedPaths: ActorMethod<[], Result_72>;
|
|
1521
1546
|
/**
|
|
1522
1547
|
* / What an approval card shows beside a payment to `payTo` (`Types.RecipientHistory`): whether an x402
|
|
1523
1548
|
* / signature from this engram has paid it before and since when, whether it is a listed seller and
|
|
@@ -1530,7 +1555,7 @@ export interface Engram {
|
|
|
1530
1555
|
* / longest ago when full.
|
|
1531
1556
|
* / Named callers: an owner's app, on its approval card for a payment request.
|
|
1532
1557
|
*/
|
|
1533
|
-
getRecipientHistory: ActorMethod<[string],
|
|
1558
|
+
getRecipientHistory: ActorMethod<[string], Result_71>;
|
|
1534
1559
|
/**
|
|
1535
1560
|
* / Whether the metrics reader's read is answered — `true` from birth.
|
|
1536
1561
|
* /
|
|
@@ -1548,7 +1573,7 @@ export interface Engram {
|
|
|
1548
1573
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1549
1574
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1550
1575
|
*/
|
|
1551
|
-
getSigningFloor: ActorMethod<[],
|
|
1576
|
+
getSigningFloor: ActorMethod<[], Result_70>;
|
|
1552
1577
|
/**
|
|
1553
1578
|
* / The registry that spawned this engram, if it recorded one.
|
|
1554
1579
|
* /
|
|
@@ -1573,7 +1598,7 @@ export interface Engram {
|
|
|
1573
1598
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1574
1599
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1575
1600
|
*/
|
|
1576
|
-
getSpendCeiling: ActorMethod<[],
|
|
1601
|
+
getSpendCeiling: ActorMethod<[], Result_69>;
|
|
1577
1602
|
/**
|
|
1578
1603
|
* / Read the caps in force for a caller.
|
|
1579
1604
|
* /
|
|
@@ -1590,8 +1615,19 @@ export interface Engram {
|
|
|
1590
1615
|
* / spending caps are the owner's custody configuration, and a default-looking answer would
|
|
1591
1616
|
* / understate the real limits to anyone probing them.
|
|
1592
1617
|
*/
|
|
1593
|
-
getSpendPolicy: ActorMethod<[[] | [Principal]],
|
|
1594
|
-
|
|
1618
|
+
getSpendPolicy: ActorMethod<[[] | [Principal]], Result_68>;
|
|
1619
|
+
/**
|
|
1620
|
+
* / ANYONE. The engram's SSH certificate key: the raw 32 bytes, the line a server's trust file takes
|
|
1621
|
+
* / (`SshPolicy.caLine`), and its fingerprint as `ssh-keygen -l` prints it. The same line is served at
|
|
1622
|
+
* / `GET /.well-known/engramx-mandate-ca`.
|
|
1623
|
+
* /
|
|
1624
|
+
* / PUBLIC: a public key lets nobody sign, and a server's administrator needs it before any agent asks.
|
|
1625
|
+
* / UPDATE, NOT QUERY: the first read after an upgrade asks the network for the key, which a query cannot await.
|
|
1626
|
+
* / Callers: anyone, a server's administrator above all; the same line is served at the web address, which
|
|
1627
|
+
* / `curl` reads. The client CLI's `ssh ca` when it ships.
|
|
1628
|
+
*/
|
|
1629
|
+
getSshCaKey: ActorMethod<[], Result_67>;
|
|
1630
|
+
getStorageStats: ActorMethod<[], Result_66>;
|
|
1595
1631
|
/**
|
|
1596
1632
|
* / Timer arm-state. PUBLIC and deliberately so: these timers are self-arming to save cycles,
|
|
1597
1633
|
* / and an optimisation nobody can verify is an optimisation nobody should trust. Cheap to read,
|
|
@@ -1660,7 +1696,7 @@ export interface Engram {
|
|
|
1660
1696
|
* / request was fine, and retry is the correct response. That is the one arm in the whole set that
|
|
1661
1697
|
* / means "try again", and it is the reason `Error` is a closed variant rather than a sentence.
|
|
1662
1698
|
*/
|
|
1663
|
-
getWalletBalances: ActorMethod<[],
|
|
1699
|
+
getWalletBalances: ActorMethod<[], Result_65>;
|
|
1664
1700
|
/**
|
|
1665
1701
|
* / Cycles-only getter used by EngramClient.walletBalance and its stdio MCP/OpenClaw callers.
|
|
1666
1702
|
* / The earlier walletBalance/walletBalances one-letter pair remains retired: this name states
|
|
@@ -1678,7 +1714,7 @@ export interface Engram {
|
|
|
1678
1714
|
* / engram has no World ID configuration" — handed to a caller who merely lacks a grant. The
|
|
1679
1715
|
* / fabrication is indistinguishable from the truth by construction.
|
|
1680
1716
|
*/
|
|
1681
|
-
getWorldIdConfig: ActorMethod<[],
|
|
1717
|
+
getWorldIdConfig: ActorMethod<[], Result_64>;
|
|
1682
1718
|
/**
|
|
1683
1719
|
* / UPDATE, NOT QUERY: this awaits THREE system calls — `raw_rand()` for the nonce,
|
|
1684
1720
|
* / `Call.signWithEcdsa` for the signature, and `worldIdRpPublicKey()` for the derived key. A
|
|
@@ -1689,7 +1725,7 @@ export interface Engram {
|
|
|
1689
1725
|
* / the World Developer Portal. Short-lived (300s TTL, idkit-server's default) and single-purpose —
|
|
1690
1726
|
* / it authorizes opening one verification request, nothing else.
|
|
1691
1727
|
*/
|
|
1692
|
-
getWorldIdRpContext: ActorMethod<[],
|
|
1728
|
+
getWorldIdRpContext: ActorMethod<[], Result_63>;
|
|
1693
1729
|
/**
|
|
1694
1730
|
* / Owner-only: the EVM address derived from the engram's dedicated World ID RP signing key (the
|
|
1695
1731
|
* / "worldid-rp" tECDSA path). Register THIS address as the rp_id's signer in the World Developer
|
|
@@ -1703,7 +1739,7 @@ export interface Engram {
|
|
|
1703
1739
|
* / Also callable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1704
1740
|
* / (`AccessControl.requireOwnerOrSignIn`); on a first engram only the owner.
|
|
1705
1741
|
*/
|
|
1706
|
-
getWorldIdRpSignerAddress: ActorMethod<[],
|
|
1742
|
+
getWorldIdRpSignerAddress: ActorMethod<[], Result_61>;
|
|
1707
1743
|
/**
|
|
1708
1744
|
* / The verified IDKitResult, verbatim, as World's /api/v4/verify accepted it — the re-checkable
|
|
1709
1745
|
* / artifact behind verifiedHuman. OWNER ONLY, because it carries the NULLIFIER: the owner's
|
|
@@ -1719,7 +1755,7 @@ export interface Engram {
|
|
|
1719
1755
|
* / The public, anonymous answer to "is a human behind this engram" is `about().verifiedHuman`,
|
|
1720
1756
|
* / which is a boolean and leaks nothing.
|
|
1721
1757
|
*/
|
|
1722
|
-
getWorldIdVerification: ActorMethod<[],
|
|
1758
|
+
getWorldIdVerification: ActorMethod<[], Result_62>;
|
|
1723
1759
|
/**
|
|
1724
1760
|
* / THE EMERGENCY FAMILY (refusals are values, never traps). Every refusal below is `#Refused` or
|
|
1725
1761
|
* / `#NotFound`, and the absence of a `#Conflict` here is the point: these are the calls someone
|
|
@@ -1782,7 +1818,7 @@ export interface Engram {
|
|
|
1782
1818
|
* /
|
|
1783
1819
|
* / Owner-only: only the engram owner can authorize a Connector install.
|
|
1784
1820
|
*/
|
|
1785
|
-
issueAuthCode: ActorMethod<[string, string, string, [] | [string]],
|
|
1821
|
+
issueAuthCode: ActorMethod<[string, string, string, [] | [string]], Result_61>;
|
|
1786
1822
|
/**
|
|
1787
1823
|
* / Hourly (timestamp, totalMemoryReads, totalMemoryWrites) snapshots, ~30 days.
|
|
1788
1824
|
* / Same guard as `listCycleSnapshots` (any role). Diff consecutive rows for a per-engram activity
|
|
@@ -1794,7 +1830,7 @@ export interface Engram {
|
|
|
1794
1830
|
* / DORMANT engram and corrupts retention math — a fabricated empty here does not just misinform a
|
|
1795
1831
|
* / reader, it feeds a wrong number into a decision about destroying data.
|
|
1796
1832
|
*/
|
|
1797
|
-
listActivitySnapshots: ActorMethod<[bigint, bigint],
|
|
1833
|
+
listActivitySnapshots: ActorMethod<[bigint, bigint], Result_60>;
|
|
1798
1834
|
/**
|
|
1799
1835
|
* / The owner or a seated owner sign-in reads paired and connected grants in one typed roster.
|
|
1800
1836
|
* / Existing lists keep their signatures and records. Rows retain each list's relative order:
|
|
@@ -1804,7 +1840,7 @@ export interface Engram {
|
|
|
1804
1840
|
* / Callers: an owner console's agent list (paired agents and sign-ins on one page, with the
|
|
1805
1841
|
* / admission count), read by the owner or a seated sign-in.
|
|
1806
1842
|
*/
|
|
1807
|
-
listAgentRoster: ActorMethod<[bigint, bigint],
|
|
1843
|
+
listAgentRoster: ActorMethod<[bigint, bigint], Result_59>;
|
|
1808
1844
|
/**
|
|
1809
1845
|
* / OWNER-ONLY: what each agent has spent today, beside the daily limit in force for it, so an app's
|
|
1810
1846
|
* / agent rows can say "$0.50 of $5.00 today". Read from the state the payment path already keeps —
|
|
@@ -1824,7 +1860,7 @@ export interface Engram {
|
|
|
1824
1860
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1825
1861
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1826
1862
|
*/
|
|
1827
|
-
listAgentSpendToday: ActorMethod<[bigint, bigint],
|
|
1863
|
+
listAgentSpendToday: ActorMethod<[bigint, bigint], Result_58>;
|
|
1828
1864
|
/**
|
|
1829
1865
|
* / THE PAGE EXEMPLAR (since 0.16.0). A trap became `#Refused`, and a bare array became
|
|
1830
1866
|
* / `Result<Page<T>>`: refusals are values, and a list answers the one page shape.
|
|
@@ -1844,7 +1880,7 @@ export interface Engram {
|
|
|
1844
1880
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1845
1881
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1846
1882
|
*/
|
|
1847
|
-
listAgents: ActorMethod<[bigint, bigint],
|
|
1883
|
+
listAgents: ActorMethod<[bigint, bigint], Result_57>;
|
|
1848
1884
|
/**
|
|
1849
1885
|
* / The GUARDIAN-audience projection of the agent roster — three fields, not the full record.
|
|
1850
1886
|
* /
|
|
@@ -1858,7 +1894,7 @@ export interface Engram {
|
|
|
1858
1894
|
* / guardian consults BEFORE REVOKING ONE. A fabricated empty here does not merely misinform —
|
|
1859
1895
|
* / it tells someone acting under emergency powers that there is nothing to act on.
|
|
1860
1896
|
*/
|
|
1861
|
-
listAgentsForGuardian: ActorMethod<[bigint, bigint],
|
|
1897
|
+
listAgentsForGuardian: ActorMethod<[bigint, bigint], Result_56>;
|
|
1862
1898
|
/**
|
|
1863
1899
|
* / Owner-only: rows carry caller, amount, operation and free-text rationale. The SDK omits it.
|
|
1864
1900
|
* /
|
|
@@ -1872,7 +1908,7 @@ export interface Engram {
|
|
|
1872
1908
|
* /
|
|
1873
1909
|
* / Refusal reason preserved: `[]` reads as "nothing is awaiting the owner's decision".
|
|
1874
1910
|
*/
|
|
1875
|
-
listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint],
|
|
1911
|
+
listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint], Result_42>;
|
|
1876
1912
|
/**
|
|
1877
1913
|
* / `total` IS THE HEAD COUNTER, and on this method that is the entire point.
|
|
1878
1914
|
* /
|
|
@@ -1899,7 +1935,7 @@ export interface Engram {
|
|
|
1899
1935
|
* / must see the whole record without being the owner or a guardian — the public certified head is
|
|
1900
1936
|
* / the answer for integrity, and nothing else is.
|
|
1901
1937
|
*/
|
|
1902
|
-
listAuditEntries: ActorMethod<[bigint, bigint],
|
|
1938
|
+
listAuditEntries: ActorMethod<[bigint, bigint], Result_55>;
|
|
1903
1939
|
/**
|
|
1904
1940
|
* / ONE SHAPE FOR EVERY CALLER (since 0.16.0: refusals are values, and a list answers the one page
|
|
1905
1941
|
* / shape).
|
|
@@ -1922,7 +1958,7 @@ export interface Engram {
|
|
|
1922
1958
|
* / its optional filter and applies it to the page, so no caller loses the ability to ask "backups
|
|
1923
1959
|
* / of this database" — it stops being a thing the canister has to page around.
|
|
1924
1960
|
*/
|
|
1925
|
-
listBackups: ActorMethod<[bigint, bigint],
|
|
1961
|
+
listBackups: ActorMethod<[bigint, bigint], Result_54>;
|
|
1926
1962
|
/**
|
|
1927
1963
|
* / List all bearer tokens — Active, Revoked, and Expired. An owner's app uses this to show the
|
|
1928
1964
|
* / installed connectors (claude.ai, Claude Desktop, etc.).
|
|
@@ -1936,7 +1972,7 @@ export interface Engram {
|
|
|
1936
1972
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
1937
1973
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
1938
1974
|
*/
|
|
1939
|
-
listBearerTokens: ActorMethod<[bigint, bigint],
|
|
1975
|
+
listBearerTokens: ActorMethod<[bigint, bigint], Result_53>;
|
|
1940
1976
|
/**
|
|
1941
1977
|
* / The condense checkpoints in the retained log at or above `startSeq`, oldest first.
|
|
1942
1978
|
* /
|
|
@@ -1948,14 +1984,14 @@ export interface Engram {
|
|
|
1948
1984
|
* / Owner-only like every other archive surface, and for the same structural reason: these rows
|
|
1949
1985
|
* / carry the chain positions and roots of entries whose paths were inside the hash preimage.
|
|
1950
1986
|
*/
|
|
1951
|
-
listCondenseCheckpoints: ActorMethod<[bigint, bigint],
|
|
1952
|
-
listCycleSnapshots: ActorMethod<[bigint, bigint],
|
|
1987
|
+
listCondenseCheckpoints: ActorMethod<[bigint, bigint], Result_52>;
|
|
1988
|
+
listCycleSnapshots: ActorMethod<[bigint, bigint], Result_51>;
|
|
1953
1989
|
/**
|
|
1954
1990
|
* / Same `withheld` treatment as listMemoryFiles — the tombstone listing filtered reserved paths
|
|
1955
1991
|
* / for non-owners just as silently, and a caller could not tell a filtered tombstone list from a
|
|
1956
1992
|
* / complete one. Counted before slicing, so policy-hidden rows never blur into paging.
|
|
1957
1993
|
*/
|
|
1958
|
-
listDeletedMemoryFiles: ActorMethod<[bigint, bigint],
|
|
1994
|
+
listDeletedMemoryFiles: ActorMethod<[bigint, bigint], Result_50>;
|
|
1959
1995
|
/**
|
|
1960
1996
|
* / On the engram, not the market (commerce is the market's, signing is here): withdrawal custody
|
|
1961
1997
|
* / does not leave.
|
|
@@ -1972,7 +2008,7 @@ export interface Engram {
|
|
|
1972
2008
|
* / `value`, not `address`: a list may hold a venue value that is no address. Readable by the owner,
|
|
1973
2009
|
* / an active agent or an active guardian.
|
|
1974
2010
|
*/
|
|
1975
|
-
listEip712Destinations: ActorMethod<[Uint8Array | number[], bigint, bigint],
|
|
2011
|
+
listEip712Destinations: ActorMethod<[Uint8Array | number[], bigint, bigint], Result_49>;
|
|
1976
2012
|
/**
|
|
1977
2013
|
* / The registered shapes — encodeTypeString is the display artifact, verbatim.
|
|
1978
2014
|
* / On the engram, not the market (commerce is the market's, signing is here): EIP-712 signing is
|
|
@@ -1986,14 +2022,14 @@ export interface Engram {
|
|
|
1986
2022
|
* / are part of what the type authorises, so a reader of the list must not have to make a second
|
|
1987
2023
|
* / call to learn them. The row type is `Eip712TypeView`.
|
|
1988
2024
|
*/
|
|
1989
|
-
listEip712Types: ActorMethod<[bigint, bigint],
|
|
2025
|
+
listEip712Types: ActorMethod<[bigint, bigint], Result_48>;
|
|
1990
2026
|
/**
|
|
1991
2027
|
* / Guardians' disputes, oldest first. Same visibility as `listRepudiations` and `listRecordNotes`:
|
|
1992
2028
|
* / the owner and ACTIVE guardians read the rows; an agent gets an empty page whose `withheld` counts
|
|
1993
2029
|
* / them (an agent reads only the entries it caused, and a dispute is the guardian's entry, not the
|
|
1994
2030
|
* / agent's); a stranger, a pending guardian and the anonymous caller are refused.
|
|
1995
2031
|
*/
|
|
1996
|
-
listGuardianDisputes: ActorMethod<[bigint, bigint],
|
|
2032
|
+
listGuardianDisputes: ActorMethod<[bigint, bigint], Result_47>;
|
|
1997
2033
|
/**
|
|
1998
2034
|
* / Accessible by owner and guardians.
|
|
1999
2035
|
* /
|
|
@@ -2002,7 +2038,7 @@ export interface Engram {
|
|
|
2002
2038
|
* / pause writes" — a claim about who can STOP it. A caller who cannot tell that from "you may not
|
|
2003
2039
|
* / see the roster" has been told the engram is unguarded when it may be fully guarded.
|
|
2004
2040
|
*/
|
|
2005
|
-
listGuardians: ActorMethod<[bigint, bigint],
|
|
2041
|
+
listGuardians: ActorMethod<[bigint, bigint], Result_46>;
|
|
2006
2042
|
/**
|
|
2007
2043
|
* / The export receipts in the retained log at or above `startSeq`, oldest first.
|
|
2008
2044
|
* /
|
|
@@ -2020,7 +2056,7 @@ export interface Engram {
|
|
|
2020
2056
|
* / Read `MemoryRouter.ReceiptPage` before reading `page.total` as a receipt count. It is not one;
|
|
2021
2057
|
* / it is the chain's length, and the declaration says why.
|
|
2022
2058
|
*/
|
|
2023
|
-
listMemoryExportReceipts: ActorMethod<[bigint, bigint],
|
|
2059
|
+
listMemoryExportReceipts: ActorMethod<[bigint, bigint], Result_45>;
|
|
2024
2060
|
/**
|
|
2025
2061
|
* / THE `withheld` EXEMPLAR (since 0.16.0): this method is the defect the field was added to fix.
|
|
2026
2062
|
* /
|
|
@@ -2046,7 +2082,7 @@ export interface Engram {
|
|
|
2046
2082
|
* / cost is one lookup per row served, never one per file stored. A WIDENED REPLY: a reader that
|
|
2047
2083
|
* / decodes the row by position rather than by field name breaks — none in this repository does.
|
|
2048
2084
|
*/
|
|
2049
|
-
listMemoryFiles: ActorMethod<[bigint, bigint],
|
|
2085
|
+
listMemoryFiles: ActorMethod<[bigint, bigint], Result_44>;
|
|
2050
2086
|
/**
|
|
2051
2087
|
* / One page of the memory log, seq-ordered, optionally narrowed to one author.
|
|
2052
2088
|
* /
|
|
@@ -2070,7 +2106,7 @@ export interface Engram {
|
|
|
2070
2106
|
* /
|
|
2071
2107
|
* / The count argument is `limit`, as on every other list.
|
|
2072
2108
|
*/
|
|
2073
|
-
listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]],
|
|
2109
|
+
listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]], Result_43>;
|
|
2074
2110
|
/**
|
|
2075
2111
|
* / The caller's OWN spend-approval requests. Refusals are values and the reply is the one page
|
|
2076
2112
|
* / shape (since 0.16.0), which closed two defects:
|
|
@@ -2088,7 +2124,7 @@ export interface Engram {
|
|
|
2088
2124
|
* / (The MAP itself stays unbounded: pruning an approval record destroys evidence of what was
|
|
2089
2125
|
* / asked, which is a retention question rather than a shape fix, and it is still open.)
|
|
2090
2126
|
*/
|
|
2091
|
-
listMyApprovalRequests: ActorMethod<[bigint, bigint],
|
|
2127
|
+
listMyApprovalRequests: ActorMethod<[bigint, bigint], Result_42>;
|
|
2092
2128
|
/**
|
|
2093
2129
|
* / The payer's own sessions, live ones first. PAYER-SCOPED: a caller sees only their own, which
|
|
2094
2130
|
* / is why this needs no role — a session id is not a secret from the person who paid for it.
|
|
@@ -2098,7 +2134,7 @@ export interface Engram {
|
|
|
2098
2134
|
* / added after release is an argument-list change every client would break on. The order is the
|
|
2099
2135
|
* / order sessions were opened.
|
|
2100
2136
|
*/
|
|
2101
|
-
listMySessions: ActorMethod<[bigint, bigint],
|
|
2137
|
+
listMySessions: ActorMethod<[bigint, bigint], Result_41>;
|
|
2102
2138
|
/**
|
|
2103
2139
|
* / Paged and enveloped like every other `list*` (the one page shape), and the envelope here is
|
|
2104
2140
|
* / uniformity rather than gating: this method cannot refuse anybody, so `#Err` is unreachable on it.
|
|
@@ -2112,7 +2148,7 @@ export interface Engram {
|
|
|
2112
2148
|
* / IT recorded, so this chain is what a caller composes with when currency matters — which it
|
|
2113
2149
|
* / cannot do if it needs a role here.
|
|
2114
2150
|
*/
|
|
2115
|
-
listOwnershipTransfers: ActorMethod<[bigint, bigint],
|
|
2151
|
+
listOwnershipTransfers: ActorMethod<[bigint, bigint], Result_40>;
|
|
2116
2152
|
/**
|
|
2117
2153
|
* / OWNER-ONLY: how many payment signatures each agent has obtained today, and the daily limit (200,
|
|
2118
2154
|
* / `PaymentSignCap`). Served because an app that states the rule has no number to show without it,
|
|
@@ -2128,7 +2164,7 @@ export interface Engram {
|
|
|
2128
2164
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
2129
2165
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
2130
2166
|
*/
|
|
2131
|
-
listPaymentSignatureCounts: ActorMethod<[bigint, bigint],
|
|
2167
|
+
listPaymentSignatureCounts: ActorMethod<[bigint, bigint], Result_39>;
|
|
2132
2168
|
/**
|
|
2133
2169
|
* / Agent records removed by a reset (or by an accepted change of owner, `acceptOwnership`). Each row
|
|
2134
2170
|
* / is a NAMED record — `principal`, `name`, `pairedAt` and `purgedAt`, and also the agent's `root`,
|
|
@@ -2160,7 +2196,7 @@ export interface Engram {
|
|
|
2160
2196
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
2161
2197
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
2162
2198
|
*/
|
|
2163
|
-
listPurgedAgents: ActorMethod<[bigint, bigint],
|
|
2199
|
+
listPurgedAgents: ActorMethod<[bigint, bigint], Result_38>;
|
|
2164
2200
|
/**
|
|
2165
2201
|
* / ONE ACCESSOR over the read log (since 0.16.0, folding `readReadLog` and `getDenialLog`): every
|
|
2166
2202
|
* / row, or only successes, or only refusals and failures (`successFilter`).
|
|
@@ -2206,7 +2242,7 @@ export interface Engram {
|
|
|
2206
2242
|
* / webhook auto-disables, expiry sweeps and MCP rate limits. Do not narrow this to a name it does
|
|
2207
2243
|
* / not carry.
|
|
2208
2244
|
*/
|
|
2209
|
-
listReadLog: ActorMethod<[[] | [boolean], bigint, bigint],
|
|
2245
|
+
listReadLog: ActorMethod<[[] | [boolean], bigint, bigint], Result_37>;
|
|
2210
2246
|
/**
|
|
2211
2247
|
* / The owner's notes, oldest first. Same visibility as `listRepudiations`, for the same reason: the
|
|
2212
2248
|
* / owner and ACTIVE guardians read the rows; an agent reads only the entries it caused, and every
|
|
@@ -2214,7 +2250,7 @@ export interface Engram {
|
|
|
2214
2250
|
* / window — never "there are none". A stranger, a pending guardian and the anonymous caller are
|
|
2215
2251
|
* / refused.
|
|
2216
2252
|
*/
|
|
2217
|
-
listRecordNotes: ActorMethod<[bigint, bigint],
|
|
2253
|
+
listRecordNotes: ActorMethod<[bigint, bigint], Result_36>;
|
|
2218
2254
|
/**
|
|
2219
2255
|
* / The owner and ACTIVE guardians see the disputes. An agent gets an empty page whose `withheld`
|
|
2220
2256
|
* / counts the rows in its window — which says disputes exist without showing them, never "none have
|
|
@@ -2229,7 +2265,7 @@ export interface Engram {
|
|
|
2229
2265
|
* /
|
|
2230
2266
|
* / RENAMED from `getRepudiations` (a `get*` returns one value, a `list*` a page).
|
|
2231
2267
|
*/
|
|
2232
|
-
listRepudiations: ActorMethod<[bigint, bigint],
|
|
2268
|
+
listRepudiations: ActorMethod<[bigint, bigint], Result_35>;
|
|
2233
2269
|
/**
|
|
2234
2270
|
* / The seller list, a page at a time, as `Types.SellerView` (a raise whose wait is over shown applied;
|
|
2235
2271
|
* / `liveNow` — false for every row while an engram opened through another has no sign-in seated; what
|
|
@@ -2238,7 +2274,7 @@ export interface Engram {
|
|
|
2238
2274
|
* / which would read as "no sellers". A QUERY: the refusal is in the reply, not the denial log.
|
|
2239
2275
|
* / Named callers: an owner console's seller list.
|
|
2240
2276
|
*/
|
|
2241
|
-
listSellers: ActorMethod<[bigint, bigint],
|
|
2277
|
+
listSellers: ActorMethod<[bigint, bigint], Result_34>;
|
|
2242
2278
|
/**
|
|
2243
2279
|
* / OWNER-ONLY: the sign-ins, each with the name its app registered. The same tokens, in the same
|
|
2244
2280
|
* / order and paged the same way, as `listBearerTokens`, each beside `clientName` — the RFC 7591
|
|
@@ -2251,7 +2287,22 @@ export interface Engram {
|
|
|
2251
2287
|
* / Also readable by the seated sign-in of an engram opened through another, acting as the owner
|
|
2252
2288
|
* / (`#ownerOrSignIn`); on a first engram only the owner reads it.
|
|
2253
2289
|
*/
|
|
2254
|
-
listSignIns: ActorMethod<[bigint, bigint],
|
|
2290
|
+
listSignIns: ActorMethod<[bigint, bigint], Result_33>;
|
|
2291
|
+
/**
|
|
2292
|
+
* / The agent keys this engram has given certificates to, one row for each key under each rule, in the order
|
|
2293
|
+
* / given: the owner and a guardian see every row; an agent sees the rows of the keys given to it (its lasting
|
|
2294
|
+
* / identity, so every key it holds), and `withheld` counts the rows it is not shown. Anyone else is refused.
|
|
2295
|
+
* / Callers: the owner, a guardian and an agent, with a direct call today; the client CLI's `ssh status` when it
|
|
2296
|
+
* / ships.
|
|
2297
|
+
*/
|
|
2298
|
+
listSshKeys: ActorMethod<[bigint, bigint], Result_32>;
|
|
2299
|
+
/**
|
|
2300
|
+
* / The owner's SSH rules, ended ones included (each says when it ended and when it counts from), in the order
|
|
2301
|
+
* / added. For the owner, an active agent (which needs a rule's id to ask under it) or an active guardian.
|
|
2302
|
+
* / Callers: the owner and an agent (which needs a rule's id to ask under it), with a direct call today; the
|
|
2303
|
+
* / client CLI's `ssh rule list` and the local tool server's `engram_list_ssh_rules` when they ship.
|
|
2304
|
+
*/
|
|
2305
|
+
listSshRules: ActorMethod<[bigint, bigint], Result_31>;
|
|
2255
2306
|
/**
|
|
2256
2307
|
* / Owner: advance the review cursor — "I have seen everything up to and including uptoAuditId"
|
|
2257
2308
|
* / (null = everything at the current head). Bounded so the attestation can never cover entries
|
|
@@ -2283,7 +2334,7 @@ export interface Engram {
|
|
|
2283
2334
|
* / stops every payment now, if one does (`paymentsStoppedBy`: the brake, the signing floor, the daily
|
|
2284
2335
|
* / count of payment signatures).
|
|
2285
2336
|
*/
|
|
2286
|
-
myGrant: ActorMethod<[],
|
|
2337
|
+
myGrant: ActorMethod<[], Result_30>;
|
|
2287
2338
|
/**
|
|
2288
2339
|
* / The AGENT's current key nominates the key that will replace it. Nothing moves yet: the new
|
|
2289
2340
|
* / key must accept, by its own call, within 24 hours (`acceptAgentKeyNomination`). One pending
|
|
@@ -2334,8 +2385,8 @@ export interface Engram {
|
|
|
2334
2385
|
* / rejected (IC0536) with nothing spent; it can never open an engram without a sign-in by accident.
|
|
2335
2386
|
* / Named caller: the owner kit's `open-engram` command, signed by the agent's session key.
|
|
2336
2387
|
*/
|
|
2337
|
-
openChild: ActorMethod<[{ signIn: [] | [Principal] }],
|
|
2338
|
-
openSession: ActorMethod<[SessionConfig, PaymentSignature],
|
|
2388
|
+
openChild: ActorMethod<[{ signIn: [] | [Principal] }], Result_29>;
|
|
2389
|
+
openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_28>;
|
|
2339
2390
|
/**
|
|
2340
2391
|
* / Withdraw tokens to the owner's principal. This is the ONLY way to
|
|
2341
2392
|
* / move tokens out of the engram to an external address, and the
|
|
@@ -2383,7 +2434,7 @@ export interface Engram {
|
|
|
2383
2434
|
* / do. A bare `#Ok` with the record alone would leave the agent untold when the registry had
|
|
2384
2435
|
* / refused the start.
|
|
2385
2436
|
*/
|
|
2386
|
-
pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }],
|
|
2437
|
+
pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }], Result_27>;
|
|
2387
2438
|
/**
|
|
2388
2439
|
* / The writes brake. It was `guardianPauseWrites` before 0.16.0; the prefix went for the reason
|
|
2389
2440
|
* / `freezePayments` gives: owner-or-guardian, and `resumeWrites` never carried the prefix either.
|
|
@@ -2401,7 +2452,7 @@ export interface Engram {
|
|
|
2401
2452
|
* / Callers: EngramClient.listSessions and readSessions (SessionManager's readers, the local MCP
|
|
2402
2453
|
* / session tool).
|
|
2403
2454
|
*/
|
|
2404
|
-
planSessionRead: ActorMethod<[
|
|
2455
|
+
planSessionRead: ActorMethod<[Request__1], Result_26>;
|
|
2405
2456
|
/**
|
|
2406
2457
|
* / What condensing through `toSeq` would do, and whether it is unlocked. COMMITS NOTHING — it is
|
|
2407
2458
|
* / a query, so it structurally cannot; a preview that wrote would be its own trap.
|
|
@@ -2422,7 +2473,7 @@ export interface Engram {
|
|
|
2422
2473
|
* / `unlocked` is the export-receipt gate ONLY. It is not a promise the condense will land: the
|
|
2423
2474
|
* / history-budget delta is checked at commit time and can still refuse a short prefix.
|
|
2424
2475
|
*/
|
|
2425
|
-
previewCondense: ActorMethod<[bigint],
|
|
2476
|
+
previewCondense: ActorMethod<[bigint], Result_25>;
|
|
2426
2477
|
/**
|
|
2427
2478
|
* / A quote for a session this caller has not opened and is not committed to — the intent a
|
|
2428
2479
|
* / buyer signs against. Pure dry run, no state, no funds.
|
|
@@ -2467,7 +2518,7 @@ export interface Engram {
|
|
|
2467
2518
|
* / Also callable by the seated sign-in of an engram opened through another, acting as the owner
|
|
2468
2519
|
* / (`#ownerOrSignIn`); on a first engram only the owner.
|
|
2469
2520
|
*/
|
|
2470
|
-
previewRetention: ActorMethod<[Array<[string, RetentionClassSpec]>],
|
|
2521
|
+
previewRetention: ActorMethod<[Array<[string, RetentionClassSpec]>], Result_24>;
|
|
2471
2522
|
/**
|
|
2472
2523
|
* / Read one memory file at its current version.
|
|
2473
2524
|
* /
|
|
@@ -2502,7 +2553,7 @@ export interface Engram {
|
|
|
2502
2553
|
* / path, each with its own Result — a refused RESERVED path sits beside a readable one, which is
|
|
2503
2554
|
* / a genuine per-path fact.
|
|
2504
2555
|
*/
|
|
2505
|
-
readMemoryBatch: ActorMethod<[Array<string>],
|
|
2556
|
+
readMemoryBatch: ActorMethod<[Array<string>], Result_23>;
|
|
2506
2557
|
/**
|
|
2507
2558
|
* / One page of a file's content — the paged read the whole-file surfaces point at.
|
|
2508
2559
|
* /
|
|
@@ -2511,7 +2562,7 @@ export interface Engram {
|
|
|
2511
2562
|
* / see it cannot know whether it has the whole range, which is how silent truncation gets
|
|
2512
2563
|
* / reintroduced. Loop while `more` is true, advancing by the bytes actually returned.
|
|
2513
2564
|
*/
|
|
2514
|
-
readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]],
|
|
2565
|
+
readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]], Result_22>;
|
|
2515
2566
|
/**
|
|
2516
2567
|
* / The escrow exit for a session whose refund could not be paid.
|
|
2517
2568
|
* /
|
|
@@ -2560,7 +2611,7 @@ export interface Engram {
|
|
|
2560
2611
|
* / the library to carry them. (The payments-frozen refusal in the body is this engram's own, and
|
|
2561
2612
|
* / is state.)
|
|
2562
2613
|
*/
|
|
2563
|
-
recoverEscrow: ActorMethod<[string, bigint],
|
|
2614
|
+
recoverEscrow: ActorMethod<[string, bigint], Result_21>;
|
|
2564
2615
|
/**
|
|
2565
2616
|
* / A REDEMPTION PATH (refusals are values, never traps), where the arm choice is a disclosure
|
|
2566
2617
|
* / decision.
|
|
@@ -2577,7 +2628,7 @@ export interface Engram {
|
|
|
2577
2628
|
* / gave them and that they cannot act until approved; otherwise that would take a second read they
|
|
2578
2629
|
* / had no reason to know to make.
|
|
2579
2630
|
*/
|
|
2580
|
-
registerGuardian: ActorMethod<[string],
|
|
2631
|
+
registerGuardian: ActorMethod<[string], Result_20>;
|
|
2581
2632
|
/**
|
|
2582
2633
|
* / Remove a per-caller override so that caller reverts to — and keeps TRACKING — the global caps.
|
|
2583
2634
|
* /
|
|
@@ -2643,6 +2694,22 @@ export interface Engram {
|
|
|
2643
2694
|
* / `memory.repudiate` entry and lists the (path, version) so readers can see the dispute.
|
|
2644
2695
|
*/
|
|
2645
2696
|
repudiateMemoryWrite: ActorMethod<[string, bigint, string], Result_15>;
|
|
2697
|
+
/**
|
|
2698
|
+
* / AN AGENT OR THE OWNER. Ask for an SSH user certificate for `req.subjectKey` (the agent's SSH public-key
|
|
2699
|
+
* / blob) under the owner's rule `req.ruleId`, with these user names and this lifetime. Answers inside `Ok`
|
|
2700
|
+
* / either `#Issued` (the certificate, its line for the key's `-cert.pub` file, its serial and window) or
|
|
2701
|
+
* / `#ApprovalPending` (the request filed for the owner's answer, by `req.answerBySecs` or 24 hours; ask
|
|
2702
|
+
* / again with its id once approved). A lifetime above the rule's longest is refused, never shortened.
|
|
2703
|
+
* / Refusals, in the engram's five kinds, each say what happened and that nothing was signed:
|
|
2704
|
+
* / `#Refused` (not the owner or an active agent; the rule names another agent), `#Invalid` (an input; a
|
|
2705
|
+
* / user name or lifetime outside the rule; the approval does not cover this request), `#NotFound` (no such
|
|
2706
|
+
* / rule), `#Conflict` (frozen; below the signing floor; a count reached; the rule does not count yet or has
|
|
2707
|
+
* / ended; no reason where approval is needed; too many waiting), `#Unavailable` (the network's signer
|
|
2708
|
+
* / failed: everything reserved was handed back, and it is safe to ask again).
|
|
2709
|
+
* / Caller: an agent (or the owner), with a direct call today; the client CLI's `ssh request` and the local
|
|
2710
|
+
* / tool server's `engram_request_ssh_certificate` when they ship.
|
|
2711
|
+
*/
|
|
2712
|
+
requestSshCertificate: ActorMethod<[Request], Result_19>;
|
|
2646
2713
|
/**
|
|
2647
2714
|
* / ⚠ OWNER-ONLY BULK RESET. Destructive, and wider than its name suggests.
|
|
2648
2715
|
* /
|
|
@@ -2808,11 +2875,25 @@ export interface Engram {
|
|
|
2808
2875
|
* / so voiding it and minting a fresh one is the ordinary path.
|
|
2809
2876
|
*/
|
|
2810
2877
|
revokeAllInvites: ActorMethod<[], Result_15>;
|
|
2878
|
+
/**
|
|
2879
|
+
* / OWNER ONLY. Cancel every agent key this engram has certified and not yet cancelled; answers how many keys
|
|
2880
|
+
* / this cancelled (0 when there were none, which is a true answer: nothing was left to cancel).
|
|
2881
|
+
* / Caller: the owner, with a direct call today; the client CLI's `ssh revoke-all` when it ships.
|
|
2882
|
+
*/
|
|
2883
|
+
revokeAllSshKeys: ActorMethod<[], Result_15>;
|
|
2811
2884
|
/**
|
|
2812
2885
|
* / Revoke a bearer token by its public tokenId. Idempotent.
|
|
2813
2886
|
* / Subsequent /mcp requests using this token will be rejected.
|
|
2814
2887
|
*/
|
|
2815
2888
|
revokeBearerToken: ActorMethod<[string], Result_2>;
|
|
2889
|
+
/**
|
|
2890
|
+
* / OWNER ONLY (the seated sign-in, in an engram opened through another). Cancel the agent key whose id is
|
|
2891
|
+
* / `keyId` (the SHA-256 digest `listSshKeys` shows, whose base64 is the fingerprint), under every rule it was
|
|
2892
|
+
* / given a certificate under. Refused: `#Invalid` for an id that is not 32 bytes, `#NotFound` for a key this
|
|
2893
|
+
* / engram never certified, `#Conflict` for a key already cancelled.
|
|
2894
|
+
* / Caller: the owner, with a direct call today; the client CLI's `ssh revoke` when it ships.
|
|
2895
|
+
*/
|
|
2896
|
+
revokeSshKey: ActorMethod<[Uint8Array | number[]], Result_2>;
|
|
2816
2897
|
/**
|
|
2817
2898
|
* / RETURNS A REAL RECEIPT, not `R<()>` (since 0.16.0) — same reason as the delete above, and
|
|
2818
2899
|
* / sharper here: a rollback WRITES A NEW VERSION, so the caller's next question is always "which
|
|
@@ -3993,6 +4074,17 @@ export interface Ic402Maintenance {
|
|
|
3993
4074
|
rateLimitRemoved: bigint;
|
|
3994
4075
|
lastRunAtNs: bigint;
|
|
3995
4076
|
}
|
|
4077
|
+
export interface Issued {
|
|
4078
|
+
certificate: Uint8Array | number[];
|
|
4079
|
+
ruleId: Uint8Array | number[];
|
|
4080
|
+
line: string;
|
|
4081
|
+
validAfterSecs: bigint;
|
|
4082
|
+
serial: bigint;
|
|
4083
|
+
fingerprint: string;
|
|
4084
|
+
principals: Array<string>;
|
|
4085
|
+
validBeforeSecs: bigint;
|
|
4086
|
+
keyId: string;
|
|
4087
|
+
}
|
|
3996
4088
|
export interface KeyBackupStatus {
|
|
3997
4089
|
matchesSignIn: boolean;
|
|
3998
4090
|
copyWaitsWithAsk: boolean;
|
|
@@ -4004,10 +4096,24 @@ export interface KeyNomination {
|
|
|
4004
4096
|
key: Principal;
|
|
4005
4097
|
atNs: bigint;
|
|
4006
4098
|
}
|
|
4099
|
+
export interface KeyView {
|
|
4100
|
+
pk: Uint8Array | number[];
|
|
4101
|
+
lastSerial: bigint;
|
|
4102
|
+
ruleId: Uint8Array | number[];
|
|
4103
|
+
latestEndSecs: bigint;
|
|
4104
|
+
live: boolean;
|
|
4105
|
+
issued: bigint;
|
|
4106
|
+
fingerprint: string;
|
|
4107
|
+
cancelledAtNs: [] | [bigint];
|
|
4108
|
+
principals: Array<string>;
|
|
4109
|
+
holder: Principal;
|
|
4110
|
+
keyId: Uint8Array | number[];
|
|
4111
|
+
firstAtNs: bigint;
|
|
4112
|
+
}
|
|
4007
4113
|
export interface LogPage {
|
|
4008
4114
|
firstAvailableSeq: bigint;
|
|
4009
4115
|
head: Uint8Array | number[];
|
|
4010
|
-
page:
|
|
4116
|
+
page: Page_12;
|
|
4011
4117
|
}
|
|
4012
4118
|
export interface LogPosition {
|
|
4013
4119
|
reads: bigint;
|
|
@@ -4190,6 +4296,7 @@ export interface Offer {
|
|
|
4190
4296
|
}
|
|
4191
4297
|
export type Outcome =
|
|
4192
4298
|
{ MovedByRegistry: null } | { Offered: Offer } | { NotHeldHere: null } | { MovedByEngram: null };
|
|
4299
|
+
export type Outcome__1 = { ApprovalPending: ApprovalRequest } | { Issued: Issued };
|
|
4193
4300
|
export interface OwnerConsole {
|
|
4194
4301
|
pendingApprovalCount: bigint;
|
|
4195
4302
|
memoryKeyEpoch: bigint;
|
|
@@ -4225,104 +4332,114 @@ export interface OwnershipTransfer {
|
|
|
4225
4332
|
export interface Page {
|
|
4226
4333
|
total: bigint;
|
|
4227
4334
|
withheld: bigint;
|
|
4228
|
-
items: Array<
|
|
4335
|
+
items: Array<SshRule>;
|
|
4229
4336
|
}
|
|
4230
4337
|
export interface Page_1 {
|
|
4231
4338
|
total: bigint;
|
|
4232
4339
|
withheld: bigint;
|
|
4233
|
-
items: Array<
|
|
4340
|
+
items: Array<KeyView>;
|
|
4234
4341
|
}
|
|
4235
4342
|
export interface Page_10 {
|
|
4236
4343
|
total: bigint;
|
|
4237
4344
|
withheld: bigint;
|
|
4238
|
-
items: Array<
|
|
4345
|
+
items: Array<EngramSessionState>;
|
|
4239
4346
|
}
|
|
4240
4347
|
export interface Page_11 {
|
|
4241
4348
|
total: bigint;
|
|
4242
4349
|
withheld: bigint;
|
|
4243
|
-
items: Array<
|
|
4350
|
+
items: Array<ApprovalRequest>;
|
|
4244
4351
|
}
|
|
4245
4352
|
export interface Page_12 {
|
|
4246
4353
|
total: bigint;
|
|
4247
4354
|
withheld: bigint;
|
|
4248
|
-
items: Array<
|
|
4355
|
+
items: Array<MemoryLogEvent>;
|
|
4249
4356
|
}
|
|
4250
4357
|
export interface Page_13 {
|
|
4251
4358
|
total: bigint;
|
|
4252
4359
|
withheld: bigint;
|
|
4253
|
-
items: Array<
|
|
4360
|
+
items: Array<MemoryFileRow>;
|
|
4254
4361
|
}
|
|
4255
4362
|
export interface Page_14 {
|
|
4256
4363
|
total: bigint;
|
|
4257
4364
|
withheld: bigint;
|
|
4258
|
-
items: Array<
|
|
4365
|
+
items: Array<ExportReceiptRow>;
|
|
4259
4366
|
}
|
|
4260
4367
|
export interface Page_15 {
|
|
4261
4368
|
total: bigint;
|
|
4262
4369
|
withheld: bigint;
|
|
4263
|
-
items: Array<
|
|
4370
|
+
items: Array<GuardianRecord>;
|
|
4264
4371
|
}
|
|
4265
4372
|
export interface Page_16 {
|
|
4266
4373
|
total: bigint;
|
|
4267
4374
|
withheld: bigint;
|
|
4268
|
-
items: Array<
|
|
4375
|
+
items: Array<GuardianDispute>;
|
|
4269
4376
|
}
|
|
4270
4377
|
export interface Page_17 {
|
|
4271
4378
|
total: bigint;
|
|
4272
4379
|
withheld: bigint;
|
|
4273
|
-
items: Array<
|
|
4380
|
+
items: Array<Eip712TypeView>;
|
|
4274
4381
|
}
|
|
4275
4382
|
export interface Page_18 {
|
|
4276
4383
|
total: bigint;
|
|
4277
4384
|
withheld: bigint;
|
|
4278
|
-
items: Array<
|
|
4385
|
+
items: Array<Eip712Destination>;
|
|
4279
4386
|
}
|
|
4280
4387
|
export interface Page_19 {
|
|
4281
4388
|
total: bigint;
|
|
4282
4389
|
withheld: bigint;
|
|
4283
|
-
items: Array<
|
|
4390
|
+
items: Array<string>;
|
|
4284
4391
|
}
|
|
4285
4392
|
export interface Page_2 {
|
|
4286
4393
|
total: bigint;
|
|
4287
4394
|
withheld: bigint;
|
|
4288
|
-
items: Array<
|
|
4395
|
+
items: Array<SignIn>;
|
|
4289
4396
|
}
|
|
4290
4397
|
export interface Page_20 {
|
|
4291
4398
|
total: bigint;
|
|
4292
4399
|
withheld: bigint;
|
|
4293
|
-
items: Array<
|
|
4400
|
+
items: Array<CycleSnapshot>;
|
|
4294
4401
|
}
|
|
4295
4402
|
export interface Page_21 {
|
|
4296
4403
|
total: bigint;
|
|
4297
4404
|
withheld: bigint;
|
|
4298
|
-
items: Array<
|
|
4405
|
+
items: Array<CondenseCheckpointRow>;
|
|
4299
4406
|
}
|
|
4300
4407
|
export interface Page_22 {
|
|
4301
4408
|
total: bigint;
|
|
4302
4409
|
withheld: bigint;
|
|
4303
|
-
items: Array<
|
|
4410
|
+
items: Array<BearerToken>;
|
|
4304
4411
|
}
|
|
4305
4412
|
export interface Page_23 {
|
|
4306
4413
|
total: bigint;
|
|
4307
4414
|
withheld: bigint;
|
|
4308
|
-
items: Array<
|
|
4415
|
+
items: Array<BackupMetadata>;
|
|
4309
4416
|
}
|
|
4310
4417
|
export interface Page_24 {
|
|
4311
4418
|
total: bigint;
|
|
4312
4419
|
withheld: bigint;
|
|
4313
|
-
items: Array<
|
|
4420
|
+
items: Array<{ status: AgentStatus; principal: Principal; name: string }>;
|
|
4314
4421
|
}
|
|
4315
4422
|
export interface Page_25 {
|
|
4316
4423
|
total: bigint;
|
|
4317
4424
|
withheld: bigint;
|
|
4318
|
-
items: Array<
|
|
4425
|
+
items: Array<AgentRecord>;
|
|
4319
4426
|
}
|
|
4320
4427
|
export interface Page_26 {
|
|
4321
4428
|
total: bigint;
|
|
4322
4429
|
withheld: bigint;
|
|
4323
|
-
items: Array<
|
|
4430
|
+
items: Array<AgentSpendRow>;
|
|
4324
4431
|
}
|
|
4325
4432
|
export interface Page_27 {
|
|
4433
|
+
total: bigint;
|
|
4434
|
+
withheld: bigint;
|
|
4435
|
+
items: Array<Entry__1>;
|
|
4436
|
+
}
|
|
4437
|
+
export interface Page_28 {
|
|
4438
|
+
total: bigint;
|
|
4439
|
+
withheld: bigint;
|
|
4440
|
+
items: Array<ActivitySnapshot>;
|
|
4441
|
+
}
|
|
4442
|
+
export interface Page_29 {
|
|
4326
4443
|
total: bigint;
|
|
4327
4444
|
withheld: bigint;
|
|
4328
4445
|
items: Array<OwnerRow>;
|
|
@@ -4330,37 +4447,37 @@ export interface Page_27 {
|
|
|
4330
4447
|
export interface Page_3 {
|
|
4331
4448
|
total: bigint;
|
|
4332
4449
|
withheld: bigint;
|
|
4333
|
-
items: Array<
|
|
4450
|
+
items: Array<SellerView>;
|
|
4334
4451
|
}
|
|
4335
4452
|
export interface Page_4 {
|
|
4336
4453
|
total: bigint;
|
|
4337
4454
|
withheld: bigint;
|
|
4338
|
-
items: Array<
|
|
4455
|
+
items: Array<Repudiation>;
|
|
4339
4456
|
}
|
|
4340
4457
|
export interface Page_5 {
|
|
4341
4458
|
total: bigint;
|
|
4342
4459
|
withheld: bigint;
|
|
4343
|
-
items: Array<
|
|
4460
|
+
items: Array<RecordNote>;
|
|
4344
4461
|
}
|
|
4345
4462
|
export interface Page_6 {
|
|
4346
4463
|
total: bigint;
|
|
4347
4464
|
withheld: bigint;
|
|
4348
|
-
items: Array<
|
|
4465
|
+
items: Array<AuditEntry>;
|
|
4349
4466
|
}
|
|
4350
4467
|
export interface Page_7 {
|
|
4351
4468
|
total: bigint;
|
|
4352
4469
|
withheld: bigint;
|
|
4353
|
-
items: Array<
|
|
4470
|
+
items: Array<PurgedAgent>;
|
|
4354
4471
|
}
|
|
4355
4472
|
export interface Page_8 {
|
|
4356
4473
|
total: bigint;
|
|
4357
4474
|
withheld: bigint;
|
|
4358
|
-
items: Array<
|
|
4475
|
+
items: Array<AgentPaymentSignatures>;
|
|
4359
4476
|
}
|
|
4360
4477
|
export interface Page_9 {
|
|
4361
4478
|
total: bigint;
|
|
4362
4479
|
withheld: bigint;
|
|
4363
|
-
items: Array<
|
|
4480
|
+
items: Array<OwnershipTransfer>;
|
|
4364
4481
|
}
|
|
4365
4482
|
export interface Pairing {
|
|
4366
4483
|
agent: AgentRecord;
|
|
@@ -4388,7 +4505,7 @@ export interface PaymentSignature {
|
|
|
4388
4505
|
export interface PaymentSignatureCounts {
|
|
4389
4506
|
day: bigint;
|
|
4390
4507
|
marketplace: [] | [MarketplacePaymentSignatures];
|
|
4391
|
-
agents:
|
|
4508
|
+
agents: Page_8;
|
|
4392
4509
|
limit: bigint;
|
|
4393
4510
|
}
|
|
4394
4511
|
export interface PaymentsNow {
|
|
@@ -4433,7 +4550,7 @@ export interface RailHealth {
|
|
|
4433
4550
|
}
|
|
4434
4551
|
export interface ReceiptPage {
|
|
4435
4552
|
firstAvailableSeq: bigint;
|
|
4436
|
-
page:
|
|
4553
|
+
page: Page_14;
|
|
4437
4554
|
scannedThroughSeq: bigint;
|
|
4438
4555
|
}
|
|
4439
4556
|
export interface RecipientHistory {
|
|
@@ -4466,7 +4583,16 @@ export interface Repudiation {
|
|
|
4466
4583
|
version: bigint;
|
|
4467
4584
|
reason: string;
|
|
4468
4585
|
}
|
|
4469
|
-
export
|
|
4586
|
+
export interface Request {
|
|
4587
|
+
answerBySecs: [] | [bigint];
|
|
4588
|
+
ruleId: Uint8Array | number[];
|
|
4589
|
+
approvalId: [] | [string];
|
|
4590
|
+
subjectKey: Uint8Array | number[];
|
|
4591
|
+
ttlSecs: bigint;
|
|
4592
|
+
rationale: [] | [string];
|
|
4593
|
+
principals: Array<string>;
|
|
4594
|
+
}
|
|
4595
|
+
export type Request__1 =
|
|
4470
4596
|
| { metadata: [] | [string] }
|
|
4471
4597
|
| {
|
|
4472
4598
|
read: {
|
|
@@ -4484,6 +4610,7 @@ export interface ResetReport {
|
|
|
4484
4610
|
export type Result = { Ok: WriteReceipt } | { Err: Error };
|
|
4485
4611
|
export type Result_1 = { Ok: TimersWake } | { Err: Error };
|
|
4486
4612
|
export type Result_10 = { Ok: SignedTransaction } | { Err: Error };
|
|
4613
|
+
export type Result_100 = { Ok: AgentRecord } | { Err: Error };
|
|
4487
4614
|
export type Result_11 = { Ok: { activatesAtNs: bigint } } | { Err: Error };
|
|
4488
4615
|
export type Result_12 = { Ok: BackupRetentionReport } | { Err: Error };
|
|
4489
4616
|
export type Result_13 = { Ok: MemoryFile } | { Err: Error };
|
|
@@ -4492,88 +4619,96 @@ export type Result_15 = { Ok: bigint } | { Err: Error };
|
|
|
4492
4619
|
export type Result_16 = { Ok: TextAppendReceipt } | { Err: Error };
|
|
4493
4620
|
export type Result_17 = { Ok: ResyncReport } | { Err: Error };
|
|
4494
4621
|
export type Result_18 = { Ok: ResetReport } | { Err: Error };
|
|
4495
|
-
export type Result_19 = { Ok:
|
|
4622
|
+
export type Result_19 = { Ok: Outcome__1 } | { Err: Error };
|
|
4496
4623
|
export type Result_2 = { Ok: null } | { Err: Error };
|
|
4497
|
-
export type Result_20 = { Ok:
|
|
4498
|
-
export type Result_21 = { Ok:
|
|
4499
|
-
export type Result_22 = { Ok:
|
|
4500
|
-
export type Result_23 = { Ok:
|
|
4501
|
-
export type Result_24 = { Ok:
|
|
4502
|
-
export type Result_25 = { Ok:
|
|
4503
|
-
export type Result_26 = { Ok:
|
|
4504
|
-
export type Result_27 = { Ok:
|
|
4505
|
-
export type Result_28 = { Ok:
|
|
4506
|
-
export type Result_29 = { Ok:
|
|
4624
|
+
export type Result_20 = { Ok: GuardianRecord } | { Err: Error };
|
|
4625
|
+
export type Result_21 = { Ok: EngramEscrowRecovery } | { Err: Error };
|
|
4626
|
+
export type Result_22 = { Ok: MemoryByteChunk } | { Err: Error };
|
|
4627
|
+
export type Result_23 = { Ok: Array<BatchReadItem> } | { Err: Error };
|
|
4628
|
+
export type Result_24 = { Ok: RetentionPreview } | { Err: Error };
|
|
4629
|
+
export type Result_25 = { Ok: CondensePreview } | { Err: Error };
|
|
4630
|
+
export type Result_26 = { Ok: Plan } | { Err: Error };
|
|
4631
|
+
export type Result_27 = { Ok: Pairing } | { Err: Error };
|
|
4632
|
+
export type Result_28 = { Ok: EngramSessionState } | { Err: Error };
|
|
4633
|
+
export type Result_29 = { Ok: Principal } | { Err: Error };
|
|
4507
4634
|
export type Result_3 = { Ok: Outcome } | { Err: Error };
|
|
4508
|
-
export type Result_30 = { Ok:
|
|
4509
|
-
export type Result_31 = { Ok:
|
|
4510
|
-
export type Result_32 = { Ok:
|
|
4511
|
-
export type Result_33 = { Ok:
|
|
4512
|
-
export type Result_34 = { Ok:
|
|
4513
|
-
export type Result_35 = { Ok:
|
|
4514
|
-
export type Result_36 = { Ok:
|
|
4515
|
-
export type Result_37 = { Ok:
|
|
4516
|
-
export type Result_38 = { Ok:
|
|
4517
|
-
export type Result_39 = { Ok:
|
|
4635
|
+
export type Result_30 = { Ok: AgentGrant } | { Err: Error };
|
|
4636
|
+
export type Result_31 = { Ok: Page } | { Err: Error };
|
|
4637
|
+
export type Result_32 = { Ok: Page_1 } | { Err: Error };
|
|
4638
|
+
export type Result_33 = { Ok: Page_2 } | { Err: Error };
|
|
4639
|
+
export type Result_34 = { Ok: Page_3 } | { Err: Error };
|
|
4640
|
+
export type Result_35 = { Ok: Page_4 } | { Err: Error };
|
|
4641
|
+
export type Result_36 = { Ok: Page_5 } | { Err: Error };
|
|
4642
|
+
export type Result_37 = { Ok: Page_6 } | { Err: Error };
|
|
4643
|
+
export type Result_38 = { Ok: Page_7 } | { Err: Error };
|
|
4644
|
+
export type Result_39 = { Ok: PaymentSignatureCounts } | { Err: Error };
|
|
4518
4645
|
export type Result_4 = { Ok: X402SignOutcome } | { Err: Error };
|
|
4519
|
-
export type Result_40 = { Ok:
|
|
4520
|
-
export type Result_41 = { Ok:
|
|
4521
|
-
export type Result_42 = { Ok:
|
|
4522
|
-
export type Result_43 = { Ok:
|
|
4523
|
-
export type Result_44 = { Ok:
|
|
4524
|
-
export type Result_45 = { Ok:
|
|
4525
|
-
export type Result_46 = { Ok:
|
|
4526
|
-
export type Result_47 = { Ok:
|
|
4527
|
-
export type Result_48 = { Ok:
|
|
4528
|
-
export type Result_49 = { Ok:
|
|
4646
|
+
export type Result_40 = { Ok: Page_9 } | { Err: Error };
|
|
4647
|
+
export type Result_41 = { Ok: Page_10 } | { Err: Error };
|
|
4648
|
+
export type Result_42 = { Ok: Page_11 } | { Err: Error };
|
|
4649
|
+
export type Result_43 = { Ok: LogPage } | { Err: Error };
|
|
4650
|
+
export type Result_44 = { Ok: Page_13 } | { Err: Error };
|
|
4651
|
+
export type Result_45 = { Ok: ReceiptPage } | { Err: Error };
|
|
4652
|
+
export type Result_46 = { Ok: Page_15 } | { Err: Error };
|
|
4653
|
+
export type Result_47 = { Ok: Page_16 } | { Err: Error };
|
|
4654
|
+
export type Result_48 = { Ok: Page_17 } | { Err: Error };
|
|
4655
|
+
export type Result_49 = { Ok: Page_18 } | { Err: Error };
|
|
4529
4656
|
export type Result_5 = { Ok: Eip712SignatureOut } | { Err: Error };
|
|
4530
|
-
export type Result_50 = { Ok:
|
|
4531
|
-
export type Result_51 = { Ok:
|
|
4532
|
-
export type Result_52 = { Ok:
|
|
4657
|
+
export type Result_50 = { Ok: Page_19 } | { Err: Error };
|
|
4658
|
+
export type Result_51 = { Ok: Page_20 } | { Err: Error };
|
|
4659
|
+
export type Result_52 = { Ok: CheckpointPage } | { Err: Error };
|
|
4533
4660
|
export type Result_53 = { Ok: Page_22 } | { Err: Error };
|
|
4534
4661
|
export type Result_54 = { Ok: Page_23 } | { Err: Error };
|
|
4535
|
-
export type Result_55 = { Ok:
|
|
4536
|
-
export type Result_56 = { Ok:
|
|
4537
|
-
export type Result_57 = { Ok:
|
|
4538
|
-
export type Result_58 = { Ok:
|
|
4539
|
-
export type Result_59 = { Ok:
|
|
4662
|
+
export type Result_55 = { Ok: RecordPage } | { Err: Error };
|
|
4663
|
+
export type Result_56 = { Ok: Page_24 } | { Err: Error };
|
|
4664
|
+
export type Result_57 = { Ok: Page_25 } | { Err: Error };
|
|
4665
|
+
export type Result_58 = { Ok: AgentSpendToday } | { Err: Error };
|
|
4666
|
+
export type Result_59 = { Ok: Page_27 } | { Err: Error };
|
|
4540
4667
|
export type Result_6 = { Ok: { returned: bigint } } | { Err: Error };
|
|
4541
|
-
export type Result_60 = { Ok:
|
|
4542
|
-
export type Result_61 = { Ok:
|
|
4543
|
-
export type Result_62 = { Ok:
|
|
4544
|
-
export type Result_63 = { Ok:
|
|
4545
|
-
export type Result_64 = { Ok:
|
|
4546
|
-
export type Result_65 = { Ok:
|
|
4547
|
-
export type Result_66 = { Ok:
|
|
4548
|
-
export type Result_67 = { Ok:
|
|
4549
|
-
export type Result_68 = { Ok:
|
|
4550
|
-
export type Result_69 = { Ok:
|
|
4668
|
+
export type Result_60 = { Ok: Page_28 } | { Err: Error };
|
|
4669
|
+
export type Result_61 = { Ok: string } | { Err: Error };
|
|
4670
|
+
export type Result_62 = { Ok: [] | [string] } | { Err: Error };
|
|
4671
|
+
export type Result_63 = { Ok: WorldIdRpContext } | { Err: Error };
|
|
4672
|
+
export type Result_64 = { Ok: WorldIdConfig } | { Err: Error };
|
|
4673
|
+
export type Result_65 = { Ok: WalletBalances } | { Err: Error };
|
|
4674
|
+
export type Result_66 = { Ok: StorageReport } | { Err: Error };
|
|
4675
|
+
export type Result_67 = { Ok: CaKey } | { Err: Error };
|
|
4676
|
+
export type Result_68 = { Ok: SpendingPolicy } | { Err: Error };
|
|
4677
|
+
export type Result_69 = { Ok: SpendCeiling } | { Err: Error };
|
|
4551
4678
|
export type Result_7 = { Ok: SignatureCounts } | { Err: Error };
|
|
4552
|
-
export type Result_70 = { Ok:
|
|
4553
|
-
export type Result_71 = { Ok:
|
|
4554
|
-
export type Result_72 = { Ok:
|
|
4555
|
-
export type Result_73 = { Ok:
|
|
4556
|
-
export type Result_74 = { Ok:
|
|
4557
|
-
export type Result_75 = { Ok:
|
|
4558
|
-
export type Result_76 = { Ok:
|
|
4559
|
-
export type Result_77 = { Ok:
|
|
4560
|
-
export type Result_78 = { Ok:
|
|
4561
|
-
export type Result_79 = { Ok:
|
|
4679
|
+
export type Result_70 = { Ok: SigningFloorStatus } | { Err: Error };
|
|
4680
|
+
export type Result_71 = { Ok: RecipientHistory } | { Err: Error };
|
|
4681
|
+
export type Result_72 = { Ok: { paths: Array<string> } } | { Err: Error };
|
|
4682
|
+
export type Result_73 = { Ok: ProfileRead } | { Err: Error };
|
|
4683
|
+
export type Result_74 = { Ok: [] | [Offer] } | { Err: Error };
|
|
4684
|
+
export type Result_75 = { Ok: OwnerSignInView } | { Err: Error };
|
|
4685
|
+
export type Result_76 = { Ok: OwnerConsole } | { Err: Error };
|
|
4686
|
+
export type Result_77 = { Ok: MemoryRetentionPolicy } | { Err: Error };
|
|
4687
|
+
export type Result_78 = { Ok: MemoryHistory } | { Err: Error };
|
|
4688
|
+
export type Result_79 = { Ok: KeyBackupStatus } | { Err: Error };
|
|
4562
4689
|
export type Result_8 = { Ok: RailHealth } | { Err: Error };
|
|
4563
|
-
export type Result_80 = { Ok:
|
|
4564
|
-
export type Result_81 = { Ok:
|
|
4565
|
-
export type Result_82 = { Ok:
|
|
4566
|
-
export type Result_83 = { Ok:
|
|
4567
|
-
export type Result_84 = { Ok:
|
|
4568
|
-
export type Result_85 = { Ok:
|
|
4569
|
-
export type Result_86 = { Ok:
|
|
4570
|
-
export type
|
|
4571
|
-
export type
|
|
4690
|
+
export type Result_80 = { Ok: Uint8Array | number[] } | { Err: Error };
|
|
4691
|
+
export type Result_81 = { Ok: AlertStatus } | { Err: Error };
|
|
4692
|
+
export type Result_82 = { Ok: EvmAddresses } | { Err: Error };
|
|
4693
|
+
export type Result_83 = { Ok: ChildOpening } | { Err: Error };
|
|
4694
|
+
export type Result_84 = { Ok: ChildAllowanceRow } | { Err: Error };
|
|
4695
|
+
export type Result_85 = { Ok: Brakes } | { Err: Error };
|
|
4696
|
+
export type Result_86 = { Ok: Array<BirthRecord> } | { Err: Error };
|
|
4697
|
+
export type Result_87 = { Ok: BackupRetention } | { Err: Error };
|
|
4698
|
+
export type Result_88 = { Ok: BackupMetadata } | { Err: Error };
|
|
4699
|
+
export type Result_89 = { Ok: AgentWriteReview } | { Err: Error };
|
|
4572
4700
|
export type Result_9 = { Ok: Array<Seat> } | { Err: Error };
|
|
4573
|
-
export type Result_90 = { Ok:
|
|
4574
|
-
export type Result_92 = { Ok:
|
|
4575
|
-
export type
|
|
4576
|
-
export type
|
|
4701
|
+
export type Result_90 = { Ok: Page_29 } | { Err: Error };
|
|
4702
|
+
export type Result_92 = { Ok: MemoryRangeExport } | { Err: Error };
|
|
4703
|
+
export type Result_93 = { Ok: CondenseResult } | { Err: Error };
|
|
4704
|
+
export type Result_94 = { Ok: Conversion } | { Err: Error };
|
|
4705
|
+
export type Result_95 =
|
|
4706
|
+
| {
|
|
4707
|
+
Ok: { ruleId: Uint8Array | number[]; activatesAtNs: bigint };
|
|
4708
|
+
}
|
|
4709
|
+
| { Err: Error };
|
|
4710
|
+
export type Result_97 = { Ok: Eip712Registration } | { Err: Error };
|
|
4711
|
+
export type Result_99 = { Ok: Accepted } | { Err: Error };
|
|
4577
4712
|
export interface ResyncReport {
|
|
4578
4713
|
startsAcknowledged: bigint;
|
|
4579
4714
|
cannotBeRecorded: Array<UnrecordableEngagement>;
|
|
@@ -4623,6 +4758,19 @@ export type Role =
|
|
|
4623
4758
|
| { Agent: null }
|
|
4624
4759
|
| { Other: null }
|
|
4625
4760
|
| { Owner: null };
|
|
4761
|
+
export type RuleEnd = { atNs: bigint } | { never: null };
|
|
4762
|
+
export interface RuleSpec {
|
|
4763
|
+
maxTtlSecs: [] | [bigint];
|
|
4764
|
+
agent: AgentScope;
|
|
4765
|
+
maxLiveKeys: [] | [bigint];
|
|
4766
|
+
ends: RuleEnd;
|
|
4767
|
+
name: string;
|
|
4768
|
+
dailyIssueCap: [] | [bigint];
|
|
4769
|
+
extensions: [] | [Array<string>];
|
|
4770
|
+
approval: [] | [Approval];
|
|
4771
|
+
criticalOptions: Array<[string, string]>;
|
|
4772
|
+
principals: Array<string>;
|
|
4773
|
+
}
|
|
4626
4774
|
export interface SaleNotice {
|
|
4627
4775
|
token: string;
|
|
4628
4776
|
txRef: [] | [string];
|
|
@@ -4734,6 +4882,23 @@ export interface SpendingPolicy {
|
|
|
4734
4882
|
allowedCallers: [] | [Array<Principal>];
|
|
4735
4883
|
maxConcurrentSessions: [] | [bigint];
|
|
4736
4884
|
}
|
|
4885
|
+
export interface SshRule {
|
|
4886
|
+
maxTtlSecs: bigint;
|
|
4887
|
+
agent: AgentScope;
|
|
4888
|
+
endedAtNs: [] | [bigint];
|
|
4889
|
+
maxLiveKeys: bigint;
|
|
4890
|
+
ruleId: Uint8Array | number[];
|
|
4891
|
+
ends: RuleEnd;
|
|
4892
|
+
name: string;
|
|
4893
|
+
dailyIssueCap: bigint;
|
|
4894
|
+
extensions: Array<string>;
|
|
4895
|
+
approval: Approval;
|
|
4896
|
+
activatesAtNs: bigint;
|
|
4897
|
+
criticalOptions: Array<[string, string]>;
|
|
4898
|
+
registeredAtNs: bigint;
|
|
4899
|
+
principals: Array<string>;
|
|
4900
|
+
registeredBy: Principal;
|
|
4901
|
+
}
|
|
4737
4902
|
export interface StorageReport {
|
|
4738
4903
|
sessionFilesSize: bigint;
|
|
4739
4904
|
totalFiles: bigint;
|
|
@@ -4811,6 +4976,7 @@ export interface WriteReceipt {
|
|
|
4811
4976
|
export type X402SignOutcome =
|
|
4812
4977
|
{ ApprovalPending: ApprovalRequest } | { Signed: SignedAuthorization };
|
|
4813
4978
|
export interface X402SignRequest {
|
|
4979
|
+
answerBySecs: [] | [bigint];
|
|
4814
4980
|
tokenVersion: string;
|
|
4815
4981
|
tokenAddress: string;
|
|
4816
4982
|
approvalId: [] | [string];
|