@agenticprimitives/account-custody 1.0.0-alpha.5 → 1.0.0-alpha.50

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/README.md CHANGED
@@ -1,10 +1,14 @@
1
1
  # @agenticprimitives/account-custody
2
2
 
3
- Custody-layer SDK for Smart Agent account safety and recovery.
3
+ > Part of **[Agentic Primitives](https://agenticprimitives.dev)** — the open-source trust substrate for agentic applications: identity that can sign, authority checked at act time, evidence the owner carries. [Developer kit](https://github.com/agentictrustlabs/agentic-primitives) · [All packages](https://agenticprimitives.dev/developers)
4
4
 
5
- This package owns the TypeScript surface around `CustodyPolicy`: ABI exports,
6
- `CustodyAction` argument builders, EIP-712 typed data, quorum signature packing,
7
- and custody-domain types.
5
+ **Custody is not authority.**
6
+
7
+ Most stacks blur the two: the key that lets an agent act is also the key that controls the account, so a leaked session becomes a lost identity. This package exists to keep them apart. Credential add, replace, and remove on a Smart Agent are custody-policy operations — gated by trustee quorums, guardian quorums, multi-credential self-recovery, or multi-sig — and are never modeled as delegations ([ADR-0011](../../docs/architecture/decisions/0011-credential-recovery-and-re-association.md), [spec 221](../../specs/221-credential-recovery.md)). A delegated party can act within its caveats; it can never promote itself into custody.
8
+
9
+ The payoff is recovery without identity loss. `CustodyAction.RecoverAccount` performs an atomic add-new + remove-old credential rotation under the account's custody policy. The canonical Smart Agent address never changes; every delegation it ever issued stays valid; only the credential set moves. This package is the TypeScript surface for that machinery: the `CustodyPolicy` ABI, `CustodyAction` argument builders, EIP-712 typed data, quorum signature packing, and the custody-domain types.
10
+
11
+ > Part of [agenticprimitives](../../README.md) — the trust substrate for the agent economy: one canonical Smart Agent identity with custody, delegation, naming, credentials, and audit evidence designed as one system.
8
12
 
9
13
  ## Install
10
14
 
@@ -23,6 +27,17 @@ import {
23
27
  } from '@agenticprimitives/account-custody';
24
28
  ```
25
29
 
30
+ What you get:
31
+
32
+ - `custodyPolicyAbi` — the ABI for the on-chain `CustodyPolicy` ERC-7579 module ([`packages/contracts/src/custody/CustodyPolicy.sol`](../contracts/src/custody/CustodyPolicy.sol)), kept in lockstep with the deployed bytecode.
33
+ - `CustodyAction` enum (a mirror of the on-chain enum) plus per-action `buildXxxArgs` encoders — including `buildRecoverAccountArgs` for credential rotation.
34
+ - EIP-712 typed-data shapes for `ScheduleCustodyChangeRequest` / `ApplyCustodyChangeRequest` / `CancelScheduledChangeRequest`, with `custodyDomain({ chainId, verifyingContract })` — guaranteed to hash to the same `structHash` the Solidity computes.
35
+ - Quorum signature packing (`packQuorumSigs`) and custody-domain types: `Custodian`, `Trustee`, `CustodyCouncil`, `ScheduledChange`, `CustodyMode`, `RiskTier`.
36
+
37
+ ## How it's different
38
+
39
+ The common pattern for org control and recovery is a third-party multi-sig (Safe) plus a separate recovery product (Argent-style guardians) bolted onto an account they don't define. That works until the seams matter: the multi-sig's notion of "owner" and the recovery product's notion of "guardian" are different identity models, and neither knows about the delegations the account has issued. Here custody is a native ERC-7579 module on the same Smart Agent — quorums, trustees, scheduled changes, and recovery in one policy, designed alongside the delegation layer it explicitly firewalls ([spec 213](../../specs/213-custody-layer-carve-out.md)). No third-party multi-sig dependency; we ported the signature-packing patterns worth porting and own the rest.
40
+
26
41
  ## Boundary
27
42
 
28
43
  This package speaks custody vocabulary only:
@@ -33,8 +48,7 @@ This package speaks custody vocabulary only:
33
48
  - `CustodyAction`
34
49
  - `ScheduledChange`
35
50
 
36
- It does not own delegation caveats, MCP transport, passkey ceremonies, account
37
- deployment, or key-custody providers. See `CLAUDE.md` for routing.
51
+ It does not own delegation caveats, MCP transport, passkey ceremonies, account deployment, or key-custody providers (note: `key-custody` is *key* custody — KMS backends; this is *account* custody). See [`CLAUDE.md`](CLAUDE.md) for routing and [`spec.md`](spec.md) for the contract.
38
52
 
39
53
  ## Validate
40
54
 
@@ -42,3 +56,7 @@ deployment, or key-custody providers. See `CLAUDE.md` for routing.
42
56
  pnpm --filter @agenticprimitives/account-custody typecheck
43
57
  pnpm --filter @agenticprimitives/account-custody test
44
58
  ```
59
+
60
+ ## Status
61
+
62
+ Testnet/pilot-ready. Production launch is gated on the public checklist in the root README — including third-party contract audit and governance key rotation. Track every security finding live in [`docs/audits/findings.yaml`](../../docs/audits/findings.yaml).
package/dist/abi.d.ts CHANGED
@@ -165,6 +165,28 @@ export declare const custodyPolicyAbi: readonly [{
165
165
  readonly outputs: readonly [{
166
166
  readonly type: "uint256";
167
167
  }];
168
+ }, {
169
+ readonly type: "function";
170
+ readonly name: "scheduledChangeExpiry";
171
+ readonly stateMutability: "view";
172
+ readonly inputs: readonly [{
173
+ readonly name: "account";
174
+ readonly type: "address";
175
+ }, {
176
+ readonly name: "changeId";
177
+ readonly type: "uint256";
178
+ }];
179
+ readonly outputs: readonly [{
180
+ readonly type: "uint64";
181
+ }];
182
+ }, {
183
+ readonly type: "function";
184
+ readonly name: "APPLY_WINDOW";
185
+ readonly stateMutability: "view";
186
+ readonly inputs: readonly [];
187
+ readonly outputs: readonly [{
188
+ readonly type: "uint64";
189
+ }];
168
190
  }, {
169
191
  readonly type: "function";
170
192
  readonly name: "defaultApprovals";
@@ -276,5 +298,180 @@ export declare const custodyPolicyAbi: readonly [{
276
298
  readonly type: "uint8";
277
299
  readonly indexed: false;
278
300
  }];
301
+ }, {
302
+ readonly type: "event";
303
+ readonly name: "CredentialRotated";
304
+ readonly inputs: readonly [{
305
+ readonly name: "account";
306
+ readonly type: "address";
307
+ readonly indexed: true;
308
+ }, {
309
+ readonly name: "reapproved";
310
+ readonly type: "uint256";
311
+ readonly indexed: false;
312
+ }];
313
+ }, {
314
+ readonly type: "event";
315
+ readonly name: "GuardianRemoved";
316
+ readonly inputs: readonly [{
317
+ readonly name: "account";
318
+ readonly type: "address";
319
+ readonly indexed: true;
320
+ }, {
321
+ readonly name: "guardianCommitment";
322
+ readonly type: "bytes32";
323
+ readonly indexed: true;
324
+ }];
325
+ }, {
326
+ readonly type: "event";
327
+ readonly name: "RecoveryThresholdChanged";
328
+ readonly inputs: readonly [{
329
+ readonly name: "account";
330
+ readonly type: "address";
331
+ readonly indexed: true;
332
+ }, {
333
+ readonly name: "oldValue";
334
+ readonly type: "uint8";
335
+ readonly indexed: false;
336
+ }, {
337
+ readonly name: "newValue";
338
+ readonly type: "uint8";
339
+ readonly indexed: false;
340
+ }];
341
+ }, {
342
+ readonly type: "event";
343
+ readonly name: "ThresholdChanged";
344
+ readonly inputs: readonly [{
345
+ readonly name: "account";
346
+ readonly type: "address";
347
+ readonly indexed: true;
348
+ }, {
349
+ readonly name: "tier";
350
+ readonly type: "uint8";
351
+ readonly indexed: true;
352
+ }, {
353
+ readonly name: "oldValue";
354
+ readonly type: "uint8";
355
+ readonly indexed: false;
356
+ }, {
357
+ readonly name: "newValue";
358
+ readonly type: "uint8";
359
+ readonly indexed: false;
360
+ }];
361
+ }, {
362
+ readonly type: "event";
363
+ readonly name: "RotationReaffirmed";
364
+ readonly inputs: readonly [{
365
+ readonly name: "account";
366
+ readonly type: "address";
367
+ readonly indexed: true;
368
+ }, {
369
+ readonly name: "modules";
370
+ readonly type: "uint256";
371
+ readonly indexed: false;
372
+ }, {
373
+ readonly name: "delegationManager";
374
+ readonly type: "bool";
375
+ readonly indexed: false;
376
+ }];
377
+ }, {
378
+ readonly type: "error";
379
+ readonly name: "SystemPaused";
380
+ readonly inputs: readonly [];
381
+ }, {
382
+ readonly type: "error";
383
+ readonly name: "NotInstalledAsExecutorOn";
384
+ readonly inputs: readonly [{
385
+ readonly name: "account";
386
+ readonly type: "address";
387
+ }];
388
+ }, {
389
+ readonly type: "error";
390
+ readonly name: "SafetyDelayBelowFloor";
391
+ readonly inputs: readonly [{
392
+ readonly name: "tier";
393
+ readonly type: "uint8";
394
+ }, {
395
+ readonly name: "provided";
396
+ readonly type: "uint32";
397
+ }, {
398
+ readonly name: "floorSecs";
399
+ readonly type: "uint32";
400
+ }];
401
+ }, {
402
+ readonly type: "error";
403
+ readonly name: "HookNotInstalledOn";
404
+ readonly inputs: readonly [{
405
+ readonly name: "account";
406
+ readonly type: "address";
407
+ }, {
408
+ readonly name: "hook";
409
+ readonly type: "address";
410
+ }];
411
+ }, {
412
+ readonly type: "error";
413
+ readonly name: "CannotUninstallCustodyPolicy";
414
+ readonly inputs: readonly [];
415
+ }, {
416
+ readonly type: "error";
417
+ readonly name: "ProposalExpired";
418
+ readonly inputs: readonly [{
419
+ readonly name: "changeId";
420
+ readonly type: "uint256";
421
+ }, {
422
+ readonly name: "expiresAt";
423
+ readonly type: "uint64";
424
+ }];
425
+ }, {
426
+ readonly type: "error";
427
+ readonly name: "ThresholdUnreachable";
428
+ readonly inputs: readonly [{
429
+ readonly name: "tier";
430
+ readonly type: "uint8";
431
+ }, {
432
+ readonly name: "required";
433
+ readonly type: "uint8";
434
+ }, {
435
+ readonly name: "bound";
436
+ readonly type: "uint256";
437
+ }];
438
+ }, {
439
+ readonly type: "error";
440
+ readonly name: "TrusteesOutsideModeBounds";
441
+ readonly inputs: readonly [{
442
+ readonly name: "mode";
443
+ readonly type: "uint8";
444
+ }, {
445
+ readonly name: "trustees";
446
+ readonly type: "uint256";
447
+ }, {
448
+ readonly name: "recoveryApprovals";
449
+ readonly type: "uint8";
450
+ }];
451
+ }, {
452
+ readonly type: "error";
453
+ readonly name: "MalformedRemovalArgs";
454
+ readonly inputs: readonly [{
455
+ readonly name: "length";
456
+ readonly type: "uint256";
457
+ }];
458
+ }, {
459
+ readonly type: "error";
460
+ readonly name: "InvalidThresholdValue";
461
+ readonly inputs: readonly [{
462
+ readonly name: "thr";
463
+ readonly type: "uint8";
464
+ }];
465
+ }, {
466
+ readonly type: "error";
467
+ readonly name: "InfeasibleOrgConfig";
468
+ readonly inputs: readonly [{
469
+ readonly name: "nSigners";
470
+ readonly type: "uint8";
471
+ }];
472
+ }, {
473
+ readonly type: "error";
474
+ readonly name: "RecoveryRequiresGuardianQuorum";
475
+ readonly inputs: readonly [];
279
476
  }];
280
477
  //# sourceMappingURL=abi.d.ts.map
package/dist/abi.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"abi.d.ts","sourceRoot":"","sources":["../src/abi.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoGnB,CAAC"}
1
+ {"version":3,"file":"abi.d.ts","sourceRoot":"","sources":["../src/abi.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4HnB,CAAC"}
package/dist/abi.js CHANGED
@@ -50,6 +50,9 @@ export const custodyPolicyAbi = [
50
50
  { type: 'function', name: 'isTrustee', stateMutability: 'view', inputs: [{ name: 'account', type: 'address' }, { name: 'signer', type: 'address' }], outputs: [{ type: 'bool' }] },
51
51
  { type: 'function', name: 'trusteeCount', stateMutability: 'view', inputs: [{ name: 'account', type: 'address' }], outputs: [{ type: 'uint256' }] },
52
52
  { type: 'function', name: 'scheduledChangeCount', stateMutability: 'view', inputs: [{ name: 'account', type: 'address' }], outputs: [{ type: 'uint256' }] },
53
+ // CUST-6: a scheduled change may be applied only until `eta + APPLY_WINDOW`; 0 for an unknown id.
54
+ { type: 'function', name: 'scheduledChangeExpiry', stateMutability: 'view', inputs: [{ name: 'account', type: 'address' }, { name: 'changeId', type: 'uint256' }], outputs: [{ type: 'uint64' }] },
55
+ { type: 'function', name: 'APPLY_WINDOW', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint64' }] },
53
56
  { type: 'function', name: 'defaultApprovals', stateMutability: 'pure', inputs: [{ name: 'nCustodians', type: 'uint8' }, { name: 'tier', type: 'uint8' }], outputs: [{ type: 'uint8' }] },
54
57
  {
55
58
  type: 'function',
@@ -103,5 +106,26 @@ export const custodyPolicyAbi = [
103
106
  { name: 'recoveryApprovals', type: 'uint8', indexed: false },
104
107
  ],
105
108
  },
109
+ { type: 'event', name: 'CredentialRotated', inputs: [{ name: 'account', type: 'address', indexed: true }, { name: 'reapproved', type: 'uint256', indexed: false }] },
110
+ // Generation 4 (spec 445 §1.3): emitted by an applied RotateCredential that re-affirmed modules / the manager.
111
+ // CUST-4: a retirement removes the retired credential's trustee seat; the recovery quorum may drop (0 = disabled).
112
+ { type: 'event', name: 'GuardianRemoved', inputs: [{ name: 'account', type: 'address', indexed: true }, { name: 'guardianCommitment', type: 'bytes32', indexed: true }] },
113
+ { type: 'event', name: 'RecoveryThresholdChanged', inputs: [{ name: 'account', type: 'address', indexed: true }, { name: 'oldValue', type: 'uint8', indexed: false }, { name: 'newValue', type: 'uint8', indexed: false }] },
114
+ { type: 'event', name: 'ThresholdChanged', inputs: [{ name: 'account', type: 'address', indexed: true }, { name: 'tier', type: 'uint8', indexed: true }, { name: 'oldValue', type: 'uint8', indexed: false }, { name: 'newValue', type: 'uint8', indexed: false }] },
115
+ { type: 'event', name: 'RotationReaffirmed', inputs: [{ name: 'account', type: 'address', indexed: true }, { name: 'modules', type: 'uint256', indexed: false }, { name: 'delegationManager', type: 'bool', indexed: false }] },
116
+ // ─── Errors a surface decodes (generation 4 additions + the pause gate) ─────────────────────
117
+ { type: 'error', name: 'SystemPaused', inputs: [] },
118
+ { type: 'error', name: 'NotInstalledAsExecutorOn', inputs: [{ name: 'account', type: 'address' }] },
119
+ { type: 'error', name: 'SafetyDelayBelowFloor', inputs: [{ name: 'tier', type: 'uint8' }, { name: 'provided', type: 'uint32' }, { name: 'floorSecs', type: 'uint32' }] },
120
+ { type: 'error', name: 'HookNotInstalledOn', inputs: [{ name: 'account', type: 'address' }, { name: 'hook', type: 'address' }] },
121
+ { type: 'error', name: 'CannotUninstallCustodyPolicy', inputs: [] },
122
+ // Generation 4 custody mediums (A11, audit 2026-11-10 CUST-4/5/6, ACCT-11 remainder).
123
+ { type: 'error', name: 'ProposalExpired', inputs: [{ name: 'changeId', type: 'uint256' }, { name: 'expiresAt', type: 'uint64' }] },
124
+ { type: 'error', name: 'ThresholdUnreachable', inputs: [{ name: 'tier', type: 'uint8' }, { name: 'required', type: 'uint8' }, { name: 'bound', type: 'uint256' }] },
125
+ { type: 'error', name: 'TrusteesOutsideModeBounds', inputs: [{ name: 'mode', type: 'uint8' }, { name: 'trustees', type: 'uint256' }, { name: 'recoveryApprovals', type: 'uint8' }] },
126
+ { type: 'error', name: 'MalformedRemovalArgs', inputs: [{ name: 'length', type: 'uint256' }] },
127
+ { type: 'error', name: 'InvalidThresholdValue', inputs: [{ name: 'thr', type: 'uint8' }] },
128
+ { type: 'error', name: 'InfeasibleOrgConfig', inputs: [{ name: 'nSigners', type: 'uint8' }] },
129
+ { type: 'error', name: 'RecoveryRequiresGuardianQuorum', inputs: [] },
106
130
  ];
107
131
  //# sour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,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;IAC1F,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;IAC7F,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,gCAAgC,EAAE,MAAM,EAAE,EAAE,EAAE;CAC7D,CAAC"}
package/dist/actions.d.ts CHANGED
@@ -15,10 +15,42 @@ export declare enum CustodyAction {
15
15
  ChangeValueCeiling = 12,
16
16
  SetRecoveryApprovals = 13,
17
17
  RecoverAccount = 14,
18
- ChangeApprovalsRequired = 15
18
+ ChangeApprovalsRequired = 15,
19
+ /** Spec 410 §1.2 (contracts generation 3) — a PLANNED rotation: one credential in, one out, every standing
20
+ * approved-digest wire re-approved under the new custody epoch, in one applied change. T4. */
21
+ RotateCredential = 16,
22
+ /** `installModule(type, module, initData)` under the quorum — an executor can act as the account. T5. */
23
+ InstallModule = 17,
24
+ /** `uninstallModule(type, module, deInitData)` under the quorum. T5. Schedulable + applicable under a pause. */
25
+ UninstallModule = 18,
26
+ /** `TreasurySpendPolicy.lowerCeiling(newCeiling)` on an installed hook — can only tighten. T4. */
27
+ LowerSpendCeiling = 19,
28
+ /** `TreasurySpendPolicy.setCeiling(newCeiling)` on an installed hook — may raise. T5. */
29
+ SetSpendCeiling = 20
19
30
  }
31
+ /** The base risk tier of each action — a port of `CustodyPolicy._tierFor`. `ChangeApprovalsRequired`'s EFFECTIVE
32
+ * tier can rise with its args (`_effectiveTierFor`: at least the target tier, and T5 for any decrease); this is
33
+ * the floor a surface shows before reading the current thresholds. Likewise a `RemoveCustodian` /
34
+ * `RemovePasskeyCredential` in the 96-byte lowering form (CUST-5) is T5 when either new value is below the current
35
+ * `approvalsRequired(account, 4|5)`. Pinned by `test/actions-generation4.test.ts`. */
36
+ export declare function custodyActionTier(action: CustodyAction): 4 | 5 | 6;
37
+ /** The actions a quorum may still schedule and apply under a system pause (generation 4) — a port of
38
+ * `CustodyPolicy._isPauseExemptAction`: removals only (a removal's CUST-5 lowering included). Every other action
39
+ * reverts `SystemPaused`. On generation ≤ 3 no action is exempt. */
40
+ export declare const PAUSE_EXEMPT_CUSTODY_ACTIONS: readonly CustodyAction[];
41
+ export declare function isPauseExemptCustodyAction(action: CustodyAction): boolean;
20
42
  export declare function buildAddCustodianArgs(custodian: Address): Hex;
21
- export declare function buildRemoveCustodianArgs(custodian: Address): Hex;
43
+ /** The CUST-5 lowering a removal may carry (generation 4): the new T4 / T5 approvals, each ≤ the current value.
44
+ * Omitted (or 0) keeps that tier. After the removal every tier must be reachable by the custodians left (org
45
+ * mode: T4/T5 ≤ floor(n/2)), or the APPLY reverts `ThresholdUnreachable` — compute it before scheduling. */
46
+ export interface RemovalLowering {
47
+ t4?: number;
48
+ t5?: number;
49
+ }
50
+ /** `RemoveCustodian` (1, T4; T5 when it lowers): `abi.encode(address)` — or, when `lowerTo` is passed
51
+ * (generation 4, CUST-5), the 96-byte `abi.encode(address custodian, uint8 newT4, uint8 newT5)` that lowers the
52
+ * thresholds in the same action. Any other length reverts `MalformedRemovalArgs` at schedule. */
53
+ export declare function buildRemoveCustodianArgs(custodian: Address, lowerTo?: RemovalLowering): Hex;
22
54
  export declare function buildAddTrusteeArgs(trustee: Address): Hex;
23
55
  export declare function buildRemoveTrusteeArgs(trustee: Address): Hex;
24
56
  export declare function buildChangeCustodyModeArgs(newMode: 0 | 1 | 2 | 3): Hex;
@@ -59,8 +91,9 @@ export declare function buildChangeApprovalsRequiredArgs(tier: number, newCount:
59
91
  * inner userOp (Act 3 'AddPasskey Bob on Org' live debug).
60
92
  */
61
93
  export declare function buildAddPasskeyCredentialArgs(credentialIdDigest: Hex, x: bigint, y: bigint, rpIdHash: Hex): Hex;
62
- /** Encode args for `RemovePasskeyCredential(credentialIdDigest)`. */
63
- export declare function buildRemovePasskeyCredentialArgs(credentialIdDigest: Hex): Hex;
94
+ /** Encode args for `RemovePasskeyCredential(credentialIdDigest)` — or, when `lowerTo` is passed (generation 4,
95
+ * CUST-5), the 96-byte `abi.encode(bytes32 credentialIdDigest, uint8 newT4, uint8 newT5)`. */
96
+ export declare function buildRemovePasskeyCredentialArgs(credentialIdDigest: Hex, lowerTo?: RemovalLowering): Hex;
64
97
  /**
65
98
  * Encode args for `RotateAllCustodians(addCustodians, removeCustodians)`
66
99
  * (Wave 2C C-10). Adds the new set + removes the old in one atomic action;
@@ -100,4 +133,77 @@ export declare function buildRecoverAccountArgs(args: {
100
133
  addPasskeys?: readonly RecoveryPasskeyAdd[];
101
134
  removePasskeyCredentialIdDigests?: readonly Hex[];
102
135
  }): Hex;
136
+ /** `InstallModule` (17, T5): `abi.encode(uint256 moduleTypeId, address module, bytes initData)`. For a treasury
137
+ * ceiling: `(4, treasurySpendPolicy, abi.encode(address asset, uint256 ceiling, uint64 windowSeconds))`. */
138
+ export declare function buildInstallModuleArgs(args: {
139
+ moduleTypeId: bigint | number;
140
+ module: Address;
141
+ initData?: Hex;
142
+ }): Hex;
143
+ /** `UninstallModule` (18, T5, pause-exempt): `abi.encode(uint256 moduleTypeId, address module, bytes deInitData)`.
144
+ * Naming the canonical custody policy reverts `CannotUninstallCustodyPolicy`; a hook uninstall needs ≥ ~206k gas
145
+ * at the callback (`InsufficientGasForHookUninstall`). */
146
+ export declare function buildUninstallModuleArgs(args: {
147
+ moduleTypeId: bigint | number;
148
+ module: Address;
149
+ deInitData?: Hex;
150
+ }): Hex;
151
+ /** `LowerSpendCeiling` (19, T4): `abi.encode(address hook, uint256 newCeiling)`. Reverts at apply unless strictly
152
+ * lower (`NotLower`) or when `hook` is not installed as a HOOK (`HookNotInstalledOn`). */
153
+ export declare function buildLowerSpendCeilingArgs(args: {
154
+ hook: Address;
155
+ newCeiling: bigint;
156
+ }): Hex;
157
+ /** `SetSpendCeiling` (20, T5): `abi.encode(address hook, uint256 newCeiling)` — may raise. */
158
+ export declare function buildSetSpendCeilingArgs(args: {
159
+ hook: Address;
160
+ newCeiling: bigint;
161
+ }): Hex;
162
+ /**
163
+ * Encode args for `RotateCredential(args)` — spec 410 §1.2, contracts generation 3. Exactly one credential
164
+ * is added (`addOwner` XOR `addPasskey`) and exactly one retired (`removeOwner` XOR
165
+ * `removePasskeyCredentialIdDigest`); `reapprove` lists the delegation digests the module re-approves AFTER
166
+ * the retirement through `AgentAccount.approveDigest`, so each key is derived on chain under the new epoch.
167
+ *
168
+ * This is the ONLY custody action that carries a re-approval list. `buildRecoverAccountArgs` has no such
169
+ * field: recovery re-approves nothing and ends with `revokeAllApprovedDigests` (THESIS-1a).
170
+ *
171
+ * Solidity struct (packages/contracts/src/IAgentAccount.sol):
172
+ * struct AgentAccountRotateCredentialArgs {
173
+ * address addOwner;
174
+ * AgentAccountRecoveryPasskeyAdd addPasskey; // (bytes32 credentialIdDigest, uint256 x, uint256 y, bytes32 rpIdHash)
175
+ * address removeOwner;
176
+ * bytes32 removePasskeyCredentialIdDigest;
177
+ * bytes32[] reapprove;
178
+ * address[] reaffirmModules; // generation 4
179
+ * bool reaffirmDelegationManager; // generation 4
180
+ * }
181
+ *
182
+ * GENERATION IS REQUIRED (spec 445 §1.3 / H-2). Generation 4 appended two fields to the struct; a generation-3
183
+ * payload sent to a generation-4 policy SCHEDULES fine (the args ride as a hash) and reverts only at APPLY, a day
184
+ * later. So the caller states the estate's `contractsGeneration` and gets that generation's bytes — never a guess.
185
+ * On generation 4, `reaffirmModules` lists the installed EXECUTOR modules the person keeps (not the canonical
186
+ * custody policy, which is exempt; never hooks, which never lapse) and `reaffirmDelegationManager` is true only
187
+ * when the account's delegation manager is NOT the factory's canonical one and is kept. Anything not listed is
188
+ * expelled by the retirement. Generation 3 has neither field and refuses them.
189
+ */
190
+ export declare function buildRotateCredentialArgs(args: {
191
+ /** The estate's `contractsGeneration` (3 = spec 410; 4 = spec 445; 5 = spec 447, which encodes as 4). */
192
+ generation: 3 | 4 | 5;
193
+ add: {
194
+ owner: Address;
195
+ } | {
196
+ passkey: RecoveryPasskeyAdd;
197
+ };
198
+ remove: {
199
+ owner: Address;
200
+ } | {
201
+ passkeyCredentialIdDigest: Hex;
202
+ };
203
+ reapprove: readonly Hex[];
204
+ /** Generation 4: installed EXECUTOR modules the owner keeps (re-stamped under the new epoch). */
205
+ reaffirmModules?: readonly Address[];
206
+ /** Generation 4: keep the current, NON-canonical delegation manager. */
207
+ reaffirmDelegationManager?: boolean;
208
+ }): Hex;
103
209
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAuB,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,MAAM,CAAC;AAEnE,oBAAY,aAAa;IACvB,YAAY,IAAI;IAChB,eAAe,IAAI;IACnB,oBAAoB,IAAI;IACxB,uBAAuB,IAAI;IAC3B,UAAU,IAAI;IACd,aAAa,IAAI;IACjB,iBAAiB,IAAI;IACrB,iBAAiB,IAAI;IACrB,uBAAuB,IAAI;IAC3B,eAAe,IAAI;IACnB,mBAAmB,KAAK;IACxB,mBAAmB,KAAK;IACxB,kBAAkB,KAAK;IACvB,oBAAoB,KAAK;IACzB,cAAc,KAAK;IACnB,uBAAuB,KAAK;CAC7B;AAuCD,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,OAAO,GAAG,GAAG,CAG7D;AAED,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,OAAO,GAAG,GAAG,CAGhE;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,GAAG,CAGzD;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,GAAG,CAG5D;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAA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