keri-ts 2.2.4 → 2.2.5

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.
Files changed (233) hide show
  1. package/esm/keri/npm/src/_dnt.polyfills.js +14 -14
  2. package/esm/keri/npm/src/acdc/registering.js +19 -0
  3. package/esm/keri/npm/src/acdc/salting.js +4 -0
  4. package/esm/keri/npm/src/app/bootstrap/authenticating.js +32 -10
  5. package/esm/keri/npm/src/app/bootstrap/oobiery.js +363 -30
  6. package/esm/keri/npm/src/app/credentials/credential-importing.js +33 -4
  7. package/esm/keri/npm/src/app/credentials/root-replicator.js +27 -15
  8. package/esm/keri/npm/src/app/credentials/schema-resolving.js +5 -1
  9. package/esm/keri/npm/src/app/credentials/tel-publishing.js +16 -7
  10. package/esm/keri/npm/src/app/delivery/forwarding.js +177 -43
  11. package/esm/keri/npm/src/app/delivery/relaying.js +232 -0
  12. package/esm/keri/npm/src/app/delivery/respondant.js +8 -5
  13. package/esm/keri/npm/src/app/exchanges/exchange-messaging.js +1 -1
  14. package/esm/keri/npm/src/app/exchanges/exchanging.js +65 -9
  15. package/esm/keri/npm/src/app/identity/delegating.js +66 -9
  16. package/esm/keri/npm/src/app/identity/habbing.js +190 -71
  17. package/esm/keri/npm/src/app/identity/keeping.js +111 -39
  18. package/esm/keri/npm/src/app/identity/retire-identifier.js +98 -0
  19. package/esm/keri/npm/src/app/ipex/disclosure-replaying.js +116 -0
  20. package/esm/keri/npm/src/app/ipex/group-ipex.js +122 -25
  21. package/esm/keri/npm/src/app/ipex/group-issuance.js +109 -23
  22. package/esm/keri/npm/src/app/ipex/ipex-discloser.js +36 -22
  23. package/esm/keri/npm/src/app/ipex/ipex-grouping.js +53 -3
  24. package/esm/keri/npm/src/app/ipex/ipex-v2.js +7 -2
  25. package/esm/keri/npm/src/app/ipex/issuance.js +131 -35
  26. package/esm/keri/npm/src/app/ipex/pending-presentations.js +4 -2
  27. package/esm/keri/npm/src/app/ipex/presenting.js +3 -18
  28. package/esm/keri/npm/src/app/ipex/receive-issuance.js +2 -1
  29. package/esm/keri/npm/src/app/ipex/unblinding-workflow.js +16 -3
  30. package/esm/keri/npm/src/app/mailbox/agent-inbox.js +292 -0
  31. package/esm/keri/npm/src/app/mailbox/forward-handler.js +298 -52
  32. package/esm/keri/npm/src/app/mailbox/kel-publisher.js +26 -31
  33. package/esm/keri/npm/src/app/mailbox/mailbox-poller.js +70 -62
  34. package/esm/keri/npm/src/app/mailbox/mailboxing.js +20 -4
  35. package/esm/keri/npm/src/app/multisig/counseling.js +71 -27
  36. package/esm/keri/npm/src/app/multisig/group-members.js +41 -5
  37. package/esm/keri/npm/src/app/multisig/grouping.js +50 -2
  38. package/esm/keri/npm/src/app/multisig/multisig-workflows.js +3 -18
  39. package/esm/keri/npm/src/app/multisig/proposing.js +1 -16
  40. package/esm/keri/npm/src/app/multisig/rejoin-group.js +99 -0
  41. package/esm/keri/npm/src/app/multisig/replace-member.js +29 -8
  42. package/esm/keri/npm/src/app/protocol/parsering.js +45 -17
  43. package/esm/keri/npm/src/app/protocol/protocol-processing.js +47 -21
  44. package/esm/keri/npm/src/app/queries/query-replies.js +0 -22
  45. package/esm/keri/npm/src/app/queries/relay-refresh.js +81 -0
  46. package/esm/keri/npm/src/app/queries/witness-inquisitor.js +180 -34
  47. package/esm/keri/npm/src/app/runtime/agent-runtime.js +41 -72
  48. package/esm/keri/npm/src/app/runtime/cue-runtime.js +45 -5
  49. package/esm/keri/npm/src/app/runtime/operation-owners.js +26 -56
  50. package/esm/keri/npm/src/app/runtime/workflow-contract.js +7 -4
  51. package/esm/keri/npm/src/app/transport/http-client.js +20 -2
  52. package/esm/keri/npm/src/app/transport/message-source.js +2 -1
  53. package/esm/keri/npm/src/app/transport/messengering.js +39 -8
  54. package/esm/keri/npm/src/app/witness/ingress.js +7 -0
  55. package/esm/keri/npm/src/app/witness/receipt-client.js +43 -16
  56. package/esm/keri/npm/src/app/witness/receipting.js +62 -20
  57. package/esm/keri/npm/src/cli/messaging/multisig.js +4 -3
  58. package/esm/keri/npm/src/core/errors.js +73 -0
  59. package/esm/keri/npm/src/core/kel/delegation-ancestry.js +11 -2
  60. package/esm/keri/npm/src/core/kel/eventing.js +25 -28
  61. package/esm/keri/npm/src/core/kel/kever.js +15 -9
  62. package/esm/keri/npm/src/core/mailbox/kram-policy.js +8 -0
  63. package/esm/keri/npm/src/core/mailbox/kram-pruning.js +25 -6
  64. package/esm/keri/npm/src/core/mailbox/kram-time.js +34 -6
  65. package/esm/keri/npm/src/core/mailbox/kraming.js +58 -2
  66. package/esm/keri/npm/src/core/routing.js +18 -25
  67. package/esm/keri/npm/src/core/scheming.js +12 -5
  68. package/esm/keri/npm/src/core/wire-fields.js +126 -0
  69. package/esm/keri/npm/src/db/basing.js +4 -13
  70. package/esm/keri/npm/src/db/core/indexeddb-persistence.js +3 -2
  71. package/esm/keri/npm/src/db/core/webdber.js +85 -27
  72. package/esm/keri/npm/src/db/mailbox/mailboxing.js +13 -0
  73. package/esm/keri/npm/src/db/subing.js +4 -0
  74. package/esm/keri/npm/src/runtime/index.js +11 -5
  75. package/esm/keri/npm/src/time/mod.js +5 -0
  76. package/esm/keri/npm/src/vdr/credential-tsn-record.js +2 -7
  77. package/esm/keri/npm/src/vdr/eventing.js +28 -19
  78. package/esm/keri/npm/src/vdr/registry-tsn-record.js +3 -13
  79. package/esm/keri/npm/src/version.js +2 -2
  80. package/package.json +1 -1
  81. package/types/_dnt.polyfills.d.ts +9 -9
  82. package/types/_dnt.polyfills.d.ts.map +1 -1
  83. package/types/acdc/registering.d.ts +6 -0
  84. package/types/acdc/registering.d.ts.map +1 -1
  85. package/types/acdc/salting.d.ts.map +1 -1
  86. package/types/app/bootstrap/authenticating.d.ts +12 -2
  87. package/types/app/bootstrap/authenticating.d.ts.map +1 -1
  88. package/types/app/bootstrap/oobiery.d.ts +144 -7
  89. package/types/app/bootstrap/oobiery.d.ts.map +1 -1
  90. package/types/app/credentials/credential-importing.d.ts +8 -0
  91. package/types/app/credentials/credential-importing.d.ts.map +1 -1
  92. package/types/app/credentials/root-replicator.d.ts +19 -8
  93. package/types/app/credentials/root-replicator.d.ts.map +1 -1
  94. package/types/app/credentials/schema-resolving.d.ts.map +1 -1
  95. package/types/app/credentials/tel-publishing.d.ts +4 -2
  96. package/types/app/credentials/tel-publishing.d.ts.map +1 -1
  97. package/types/app/delivery/forwarding.d.ts +69 -5
  98. package/types/app/delivery/forwarding.d.ts.map +1 -1
  99. package/types/app/delivery/relaying.d.ts +144 -0
  100. package/types/app/delivery/relaying.d.ts.map +1 -0
  101. package/types/app/delivery/respondant.d.ts +9 -2
  102. package/types/app/delivery/respondant.d.ts.map +1 -1
  103. package/types/app/exchanges/exchanging.d.ts +36 -0
  104. package/types/app/exchanges/exchanging.d.ts.map +1 -1
  105. package/types/app/identity/delegating.d.ts +6 -0
  106. package/types/app/identity/delegating.d.ts.map +1 -1
  107. package/types/app/identity/habbing.d.ts +106 -19
  108. package/types/app/identity/habbing.d.ts.map +1 -1
  109. package/types/app/identity/keeping.d.ts +54 -19
  110. package/types/app/identity/keeping.d.ts.map +1 -1
  111. package/types/app/identity/retire-identifier.d.ts +24 -0
  112. package/types/app/identity/retire-identifier.d.ts.map +1 -0
  113. package/types/app/ipex/disclosure-replaying.d.ts +61 -0
  114. package/types/app/ipex/disclosure-replaying.d.ts.map +1 -0
  115. package/types/app/ipex/group-ipex.d.ts +60 -14
  116. package/types/app/ipex/group-ipex.d.ts.map +1 -1
  117. package/types/app/ipex/group-issuance.d.ts +48 -6
  118. package/types/app/ipex/group-issuance.d.ts.map +1 -1
  119. package/types/app/ipex/ipex-discloser.d.ts +14 -2
  120. package/types/app/ipex/ipex-discloser.d.ts.map +1 -1
  121. package/types/app/ipex/ipex-grouping.d.ts +23 -2
  122. package/types/app/ipex/ipex-grouping.d.ts.map +1 -1
  123. package/types/app/ipex/ipex-v2.d.ts +5 -2
  124. package/types/app/ipex/ipex-v2.d.ts.map +1 -1
  125. package/types/app/ipex/issuance.d.ts +35 -11
  126. package/types/app/ipex/issuance.d.ts.map +1 -1
  127. package/types/app/ipex/pending-presentations.d.ts +4 -2
  128. package/types/app/ipex/pending-presentations.d.ts.map +1 -1
  129. package/types/app/ipex/presenting.d.ts.map +1 -1
  130. package/types/app/ipex/receive-issuance.d.ts +2 -1
  131. package/types/app/ipex/receive-issuance.d.ts.map +1 -1
  132. package/types/app/ipex/unblinding-workflow.d.ts +4 -1
  133. package/types/app/ipex/unblinding-workflow.d.ts.map +1 -1
  134. package/types/app/mailbox/agent-inbox.d.ts +126 -0
  135. package/types/app/mailbox/agent-inbox.d.ts.map +1 -0
  136. package/types/app/mailbox/forward-handler.d.ts +114 -14
  137. package/types/app/mailbox/forward-handler.d.ts.map +1 -1
  138. package/types/app/mailbox/kel-publisher.d.ts +12 -22
  139. package/types/app/mailbox/kel-publisher.d.ts.map +1 -1
  140. package/types/app/mailbox/mailbox-poller.d.ts +40 -24
  141. package/types/app/mailbox/mailbox-poller.d.ts.map +1 -1
  142. package/types/app/mailbox/mailboxing.d.ts +19 -5
  143. package/types/app/mailbox/mailboxing.d.ts.map +1 -1
  144. package/types/app/multisig/counseling.d.ts +32 -11
  145. package/types/app/multisig/counseling.d.ts.map +1 -1
  146. package/types/app/multisig/group-members.d.ts +17 -1
  147. package/types/app/multisig/group-members.d.ts.map +1 -1
  148. package/types/app/multisig/grouping.d.ts +17 -1
  149. package/types/app/multisig/grouping.d.ts.map +1 -1
  150. package/types/app/multisig/multisig-workflows.d.ts +0 -8
  151. package/types/app/multisig/multisig-workflows.d.ts.map +1 -1
  152. package/types/app/multisig/proposing.d.ts +4 -19
  153. package/types/app/multisig/proposing.d.ts.map +1 -1
  154. package/types/app/multisig/rejoin-group.d.ts +119 -0
  155. package/types/app/multisig/rejoin-group.d.ts.map +1 -0
  156. package/types/app/multisig/replace-member.d.ts +15 -1
  157. package/types/app/multisig/replace-member.d.ts.map +1 -1
  158. package/types/app/protocol/parsering.d.ts +21 -2
  159. package/types/app/protocol/parsering.d.ts.map +1 -1
  160. package/types/app/protocol/protocol-processing.d.ts +25 -5
  161. package/types/app/protocol/protocol-processing.d.ts.map +1 -1
  162. package/types/app/queries/query-replies.d.ts +4 -8
  163. package/types/app/queries/query-replies.d.ts.map +1 -1
  164. package/types/app/queries/relay-refresh.d.ts +26 -0
  165. package/types/app/queries/relay-refresh.d.ts.map +1 -0
  166. package/types/app/queries/witness-inquisitor.d.ts +56 -5
  167. package/types/app/queries/witness-inquisitor.d.ts.map +1 -1
  168. package/types/app/runtime/agent-runtime.d.ts +34 -3
  169. package/types/app/runtime/agent-runtime.d.ts.map +1 -1
  170. package/types/app/runtime/cue-runtime.d.ts +15 -3
  171. package/types/app/runtime/cue-runtime.d.ts.map +1 -1
  172. package/types/app/runtime/operation-owners.d.ts +16 -26
  173. package/types/app/runtime/operation-owners.d.ts.map +1 -1
  174. package/types/app/runtime/workflow-contract.d.ts +21 -6
  175. package/types/app/runtime/workflow-contract.d.ts.map +1 -1
  176. package/types/app/transport/http-client.d.ts +9 -0
  177. package/types/app/transport/http-client.d.ts.map +1 -1
  178. package/types/app/transport/message-source.d.ts +6 -3
  179. package/types/app/transport/message-source.d.ts.map +1 -1
  180. package/types/app/transport/messengering.d.ts +10 -1
  181. package/types/app/transport/messengering.d.ts.map +1 -1
  182. package/types/app/witness/ingress.d.ts +1 -0
  183. package/types/app/witness/ingress.d.ts.map +1 -1
  184. package/types/app/witness/receipt-client.d.ts +19 -1
  185. package/types/app/witness/receipt-client.d.ts.map +1 -1
  186. package/types/app/witness/receipting.d.ts +24 -1
  187. package/types/app/witness/receipting.d.ts.map +1 -1
  188. package/types/cli/messaging/multisig.d.ts.map +1 -1
  189. package/types/core/cues.d.ts +53 -1
  190. package/types/core/cues.d.ts.map +1 -1
  191. package/types/core/errors.d.ts +32 -0
  192. package/types/core/errors.d.ts.map +1 -1
  193. package/types/core/kel/delegation-ancestry.d.ts.map +1 -1
  194. package/types/core/kel/eventing.d.ts.map +1 -1
  195. package/types/core/kel/kever-decisions.d.ts +3 -1
  196. package/types/core/kel/kever-decisions.d.ts.map +1 -1
  197. package/types/core/kel/kever.d.ts +7 -1
  198. package/types/core/kel/kever.d.ts.map +1 -1
  199. package/types/core/mailbox/kram-policy.d.ts +6 -0
  200. package/types/core/mailbox/kram-policy.d.ts.map +1 -1
  201. package/types/core/mailbox/kram-pruning.d.ts +5 -1
  202. package/types/core/mailbox/kram-pruning.d.ts.map +1 -1
  203. package/types/core/mailbox/kram-time.d.ts +26 -2
  204. package/types/core/mailbox/kram-time.d.ts.map +1 -1
  205. package/types/core/mailbox/kraming.d.ts +14 -1
  206. package/types/core/mailbox/kraming.d.ts.map +1 -1
  207. package/types/core/routing.d.ts +3 -7
  208. package/types/core/routing.d.ts.map +1 -1
  209. package/types/core/scheming.d.ts.map +1 -1
  210. package/types/core/wire-fields.d.ts +56 -0
  211. package/types/core/wire-fields.d.ts.map +1 -0
  212. package/types/db/basing.d.ts.map +1 -1
  213. package/types/db/core/indexeddb-persistence.d.ts +3 -2
  214. package/types/db/core/indexeddb-persistence.d.ts.map +1 -1
  215. package/types/db/core/webdber.d.ts +32 -6
  216. package/types/db/core/webdber.d.ts.map +1 -1
  217. package/types/db/exchange/exchange-records.d.ts +4 -0
  218. package/types/db/exchange/exchange-records.d.ts.map +1 -1
  219. package/types/db/mailbox/mailboxing.d.ts +10 -1
  220. package/types/db/mailbox/mailboxing.d.ts.map +1 -1
  221. package/types/db/subing.d.ts +2 -0
  222. package/types/db/subing.d.ts.map +1 -1
  223. package/types/runtime/index.d.ts +20 -14
  224. package/types/runtime/index.d.ts.map +1 -1
  225. package/types/time/mod.d.ts +2 -0
  226. package/types/time/mod.d.ts.map +1 -1
  227. package/types/vdr/credential-tsn-record.d.ts.map +1 -1
  228. package/types/vdr/eventing.d.ts.map +1 -1
  229. package/types/vdr/registry-tsn-record.d.ts.map +1 -1
  230. package/types/version.d.ts +2 -2
  231. package/esm/keri/npm/src/app/runtime/signer-conditions.js +0 -51
  232. package/types/app/runtime/signer-conditions.d.ts +0 -32
  233. package/types/app/runtime/signer-conditions.d.ts.map +0 -1
@@ -13,16 +13,21 @@
13
13
  * a member that is briefly offline), collects the other members' stored contributions, and, once the message is
14
14
  * accepted, lets the elected lead send the completed message to its recipient. It signs nothing beyond the
15
15
  * contribution that the consent recorded.
16
+ * - A member that did not sign a message the others' signatures complete (a weight-0 member, say) takes it with no
17
+ * call: intake on receipt of a wrapper whose copies carry the group's threshold, or else `processOnce`'s periodic
18
+ * sweep once the exchange the message answers is accepted. That adds no signature, so it is not consent; the
19
+ * member then holds what the group completed and can accept the counterparty's answer in its thread.
16
20
  * - {@link groupIpexStatus} is a pure read and {@link waitForGroupIpex} only observes.
17
21
  *
18
22
  * Status is derived from the protocol stores: an accepted message reads `done`; a stored proposal without a live
19
23
  * operation reads `awaitingConsent` (a member that reloaded consents again with the same call and reuses its
20
24
  * recorded signature). Lost on reload, by design: whether the lead had already delivered the completed message,
21
- * the `failed` and `abandoned` reasons, and the publication results. The runtime never writes wallet inventory; the
25
+ * the `failed`, `expired` and `abandoned` reasons, and the publication results. The runtime never writes wallet inventory; the
22
26
  * embedder reacts to the pushed `{kind: "ipex", id: <message>}` change.
23
27
  */
24
28
  import { type SerderKERI, type Versionage } from "cesr-ts";
25
29
  import type { Operation } from "effection";
30
+ import type { RegistryDisclosure } from "../../acdc/regeventing.js";
26
31
  import type { Regery } from "../../acdc/registraring.js";
27
32
  import { type RegistryEventRef } from "../credentials/registry-settling.js";
28
33
  import type { Poster } from "../delivery/forwarding.js";
@@ -34,12 +39,19 @@ import type { ProtocolProcessor } from "../protocol/protocol-processing.js";
34
39
  import { RetryBackoff } from "../runtime/retry-backoff.js";
35
40
  import type { RuntimeClock } from "../runtime/runtime-clock.js";
36
41
  import { type ChangeSink, type WaitResult } from "../runtime/workflow-contract.js";
42
+ import { type PreparedGrantBody } from "./ipex-discloser.js";
37
43
  /** Milliseconds between collections of the other members' stored contributions. */
38
44
  export declare const GROUP_IPEX_COLLECT_MS = 250;
45
+ /** Milliseconds between sweeps for group messages this member holds completed but has not accepted. */
46
+ export declare const GROUP_IPEX_FOLLOW_MS = 5000;
39
47
  /** How long delivery failures may last before an operation ends `failed`; a group IPEX message has no deadline. */
40
48
  export declare const GROUP_IPEX_RETRY_BOUND_MS = 600000;
41
- /** Terminal states that are not completion; each carries a reason. */
42
- export type GroupIpexEndState = "abandoned" | "failed";
49
+ /**
50
+ * Terminal states that are not completion; each carries a reason. `expired` means this member's own KRAM refused the
51
+ * contribution for its time, thread or exchange lifetime (the reason names the KRAM reason and, when it has one, the
52
+ * deadline); no retry can change that.
53
+ */
54
+ export type GroupIpexEndState = "abandoned" | "expired" | "failed";
43
55
  /** Where an active group IPEX message is. */
44
56
  export type GroupIpexPhase = "awaitingConsent"
45
57
  /** A presentation Grant waits for the group to accept the registry update that carries its proof. */
@@ -70,12 +82,18 @@ export interface GroupIpexDeps {
70
82
  /** Collaborators of a group registry update; a Grant that carries a presentation proof needs them. */
71
83
  readonly registry?: RegistryProposeDeps;
72
84
  }
73
- /** A group registry update an operation waits for before its own message can be signed. */
85
+ /**
86
+ * A presentation Grant waiting for the group to accept the registry update that anchors its proof. Plain data: the
87
+ * owner reads the stores on each pass and, once the update is accepted, attaches the proof and signs this member's
88
+ * contribution itself.
89
+ */
74
90
  export interface GroupIpexPrerequisite {
75
91
  /** The TEL event and the group anchor that seals it. */
76
92
  readonly anchor: RegistryEventRef;
77
- /** Signs this member's contribution to the message once the update is accepted; returns its accepted wire. */
78
- readonly proceed: () => Operation<Uint8Array>;
93
+ /** The frozen unsigned Grant and its selected nodes; only its nested proof is extended once the update is accepted. */
94
+ readonly grant: PreparedGrantBody;
95
+ /** The presented-state opening the update commits to. It blinds the Grant's state, so it is never logged or reported. */
96
+ readonly opening: RegistryDisclosure;
79
97
  }
80
98
  interface LiveGroupIpex {
81
99
  /** SAID of the group-authored IPEX message. */
@@ -139,11 +157,25 @@ export declare class GroupIpexOperations {
139
157
  }>;
140
158
  /** What accepted operations published and delivered in this process; not durable. */
141
159
  readonly outcomes: Map<string, GroupIpexOutcome>;
160
+ /** Messages this member's KRAM refused to take from their copies in this process; a sweep tries them no more. */
161
+ readonly unfollowable: Set<string>;
162
+ /** When the next sweep for completed group messages is due. */
163
+ private nextFollow;
142
164
  constructor(deps: GroupIpexDeps);
143
- /** Whether a pass has work. */
165
+ /** Whether a pass has work: a live operation, or a sweep for completed group messages is due. */
144
166
  active(): boolean;
145
- /** Advance every live operation by one pass. */
167
+ /**
168
+ * Advance every live operation by one pass. Every {@link GROUP_IPEX_FOLLOW_MS} a pass also takes the group messages
169
+ * this member did not sign but holds completed ({@link follow}); that signs and sends nothing.
170
+ */
146
171
  processOnce(): Operation<void>;
172
+ /**
173
+ * Accept each stored group IPEX message whose received copies already carry the group's threshold
174
+ * ({@link groupIpexFollowable}), adding no signature, so this member holds what the group completed without it.
175
+ * Intake takes such a message on receipt; this sweep takes what intake could not yet, such as an answer that arrived
176
+ * before the exchange it answers. A message with a live operation is left to that operation's own collection.
177
+ */
178
+ private follow;
147
179
  /** End a live operation and tell the sink. */
148
180
  end(op: LiveGroupIpex, state: GroupIpexEndState, reason: string): void;
149
181
  /** Record an operation the user consented to. */
@@ -151,6 +183,17 @@ export declare class GroupIpexOperations {
151
183
  private setPhase;
152
184
  /** Run a delivery; a failure keeps the work for a later pass until failures have lasted the bound. */
153
185
  private attempt;
186
+ /**
187
+ * The event that took the awaited update's place, read from state: a different accepted KEL event at the anchor's
188
+ * sequence number, or a different accepted TEL event at the update's. Null while the update can still be accepted;
189
+ * an update the members never approve stays awaited until the user abandons it.
190
+ */
191
+ private supersededBy;
192
+ /**
193
+ * Sign this member's contribution to a presentation Grant whose registry update the group has accepted: attach the
194
+ * proof sealed by the accepted anchor, then contribute. The consent that began the operation covers this signature.
195
+ */
196
+ private signAfterUpdate;
154
197
  private step;
155
198
  }
156
199
  /** A group-authored message to propose. */
@@ -169,7 +212,8 @@ export interface GroupIpexProposalInput {
169
212
  * `processOnce`.
170
213
  *
171
214
  * @throws ValidationError for a body the group did not author, a non-group identifier, a message awaiting
172
- * authenticating dependencies, or one already begun.
215
+ * authenticating dependencies, or one already begun; KramRefusedError (a ValidationError) when this member's own
216
+ * KRAM refuses the message, as an Offer past its exchange lifetime.
173
217
  */
174
218
  export declare function proposeGroupIpex(ops: GroupIpexOperations, { hab, exn, nests, gvrsn, deliver }: GroupIpexProposalInput): Operation<GroupIpexBegun>;
175
219
  /** A group-authored message and the registry update it waits for. */
@@ -182,10 +226,11 @@ export interface GroupIpexAfterInput {
182
226
  prerequisite: GroupIpexPrerequisite;
183
227
  }
184
228
  /**
185
- * The proposer's consent to a group-authored message that waits for a registry update, as a Grant carrying a
186
- * presentation proof does: the caller has proposed the update (this member's contribution is its approval) and
187
- * passes the anchor to wait for. The owner signs the message's contribution, through `prerequisite.proceed`, once
188
- * the group has accepted the update, under this same consent. Returns after local commit.
229
+ * The proposer's consent to a presentation Grant that waits for a registry update: the caller has proposed the
230
+ * update (this member's contribution is its approval) and passes the frozen Grant, its opening and the anchor to wait
231
+ * for. On each pass the owner reads whether the group accepted the update; once it has, the owner attaches the proof
232
+ * and signs this member's contribution under this same consent. A superseded update ends the operation `failed`; one
233
+ * the members never approve stays active until {@link abandonGroupIpex}. Returns after local commit.
189
234
  */
190
235
  export declare function proposeGroupIpexAfter(ops: GroupIpexOperations, { hab, exn, gvrsn, deliver, prerequisite }: GroupIpexAfterInput): GroupIpexBegun;
191
236
  /** An Admit of an accepted Grant a group holder proposes. */
@@ -223,7 +268,8 @@ export interface GroupIpexApproveOptions {
223
268
  * completed message, which a lead that learned of the acceptance from another member's wrapper has not yet done.
224
269
  *
225
270
  * @throws ValidationError when no v2 proposal is stored for `said`, an operation is already live for it, or this
226
- * member still lacks the evidence to approve it.
271
+ * member still lacks the evidence to approve it; KramRefusedError (a ValidationError) when this member's own KRAM
272
+ * refuses the contribution.
227
273
  */
228
274
  export declare function approveGroupIpex(ops: GroupIpexOperations, said: string, { deliver }?: GroupIpexApproveOptions): Operation<GroupIpexBegun>;
229
275
  /** Local abandon: stop publishing and collecting. Does not undo a recorded contribution or message the peers. */
@@ -1 +1 @@
1
- {"version":3,"file":"group-ipex.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/group-ipex.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAwB,KAAK,UAAU,EAAE,KAAK,UAAU,EAAY,MAAM,SAAS,CAAC;AAC3F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGzD,OAAO,EAAE,KAAK,gBAAgB,EAA4C,MAAM,qCAAqC,CAAC;AACtH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,KAAK,UAAU,EAAgB,KAAK,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAiBjG,mFAAmF;AACnF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,mHAAmH;AACnH,eAAO,MAAM,yBAAyB,SAAU,CAAC;AAEjD,sEAAsE;AACtE,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEvD,6CAA6C;AAC7C,MAAM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,eAAe,CAC7B,GAAG,EAAE,mBAAmB,EACxB,IAAI,EAAE,MAAM,GACX,eAAe,CAUjB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC,UAAU,CAAC,CAErG;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,sDAAsD;IACtD,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,OAAO,CAAC;CAC9C;AAED,8GAA8G;AAC9G,wBAAiB,gBAAgB,CAC/B,GAAG,EAAE,mBAAmB,EACxB,IAAI,EAAE,MAAM,EACZ,EAAE,SAAS,EAAE,KAAsB,EAAE,KAA6C,EAAE,EAAE,oBAAoB,GACzG,SAAS,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAIxC"}
@@ -16,6 +16,9 @@
16
16
  * | holder custodian or member | {@link approveGroupIssuanceExchange} | consent to DH (contributions follow as they arrive) |
17
17
  * | a member that only follows | {@link followGroupIssuanceProof} | nothing; verifies the custodian's final proof |
18
18
  *
19
+ * The follow is not a consent and needs no call: the owner begins it itself (below). The explicit call remains for a
20
+ * proof supplied as bytes and is idempotent with the automatic follow.
21
+ *
19
22
  * The registry update is a separate consent: the custodian proposes the BUP through `proposeRegistryEvent`
20
23
  * (its own contribution is its approval) and every other issuer member approves that proposal with
21
24
  * `approveGroupProposal`. Admit is a separate consent as well.
@@ -25,10 +28,18 @@
25
28
  * Grant and the proof broadcast to the other members. Root copies are not sent here: the DH completion cue
26
29
  * feeds the runtime's `RootReplicator`, which sends exactly one copy per member.
27
30
  *
31
+ * Automatic follow: on its slow sweep of the pending exchange escrow the owner begins the proof-only follow, in either
32
+ * role, of each pending group Grant inside its deadline that this member has no live, ended or complete operation for
33
+ * and whose custodian's final proof is stored ({@link storedGroupProof}). The proof exists only after the key exchange
34
+ * finished, so the follow never takes the place of a member whose signature is still wanted; until the proof or a root
35
+ * copy is stored the member reads `awaitingExchangeConsent` and consents as usual. A member holding a root copy or the
36
+ * proof reads `awaitingAnchor` ({@link awaitsGroupProof}) until the follow accepts the Grant.
37
+ *
28
38
  * Reload: nothing about a group operation is durable but the protocol stores. A member that reloads reads
29
39
  * `awaitingExchangeConsent` for a pending Grant it holds no root for and consents again with the same call;
30
40
  * its signatures are deterministic, so consenting twice produces the same bytes. A custodian that reloaded
31
- * after retaining its root resumes when the stores allow it ({@link deriveGroupCustody}).
41
+ * after retaining its root resumes when the stores allow it ({@link deriveGroupCustody}). A follow signs nothing, so
42
+ * the first sweep after a reload begins it again from the stored proof.
32
43
  */
33
44
  import { type CesrFrame, SerderACDC, SerderKERI } from "cesr-ts";
34
45
  import { type Operation } from "effection";
@@ -143,6 +154,22 @@ export interface CustodyDeps {
143
154
  * of a disclosed root, holds none, or no accepted event elects it.
144
155
  */
145
156
  export declare function deriveGroupCustody(deps: CustodyDeps, hab: Hab, grant: string): GroupElection | null;
157
+ /**
158
+ * The election of a final proof the local member of `hab` can follow for `grant` without taking part: the
159
+ * `/multisig/ipex-proof` wrapper of this exact Grant that another current signing member published, with a recent
160
+ * accepted group event electing that member as custodian. The custodian publishes the proof only after the key
161
+ * exchange finished and the registry update was accepted, so once it is stored no member's signature is still wanted
162
+ * for this issuance. The sender names the custodian exactly, which a root copy cannot (any member holding a root
163
+ * sends copies). Null when no such proof is stored. A pure read of the stored exchanges.
164
+ */
165
+ export declare function storedGroupProof(deps: CustodyDeps, hab: Hab, grant: string): GroupElection | null;
166
+ /**
167
+ * Whether the group completed `grant` without the local member of `hab`, so that its runtime follows the final proof
168
+ * instead of asking it to consent: a `/registry/root` copy of a disclosed registry was sent to it (copies are
169
+ * authorized only once the registry update is accepted, after the key exchange), or the custodian's final proof is
170
+ * stored ({@link storedGroupProof}). A pure read of the stores.
171
+ */
172
+ export declare function awaitsGroupProof(deps: CustodyDeps, hab: Hab, grant: string): boolean;
146
173
  /**
147
174
  * Prepare the custodian's first partial Grant for a fresh credential, preserving the discloser's fresh-origin and
148
175
  * far-node checks, and return the proposal the other issuer members consent to. Signs the custodian's Grant
@@ -186,14 +213,29 @@ export declare function proposeGroupIssuance(ops: IssuanceOperations, draft: Gra
186
213
  */
187
214
  export declare function approveGroupIssuanceExchange(ops: IssuanceOperations, said: string, coordinator?: string): IssuanceBegun;
188
215
  /**
189
- * Follow a group issuance that has already been contributed to, only to verify and accept the custodian's final
190
- * proof: the file-free path of an issuer member that left after contributing and returns for the proof. The group
191
- * is the Grant's sender. Signs nothing. The proof may already be stored (it arrives by mailbox), or be supplied as
192
- * bytes.
216
+ * Follow a group issuance only to verify and accept the custodian's final proof, signing nothing. It serves any
217
+ * member that does not contribute to the key exchange: an issuer member that left after contributing and returns
218
+ * for the proof, or a holder member the group completed without, such as one whose signing weight is 0. The group
219
+ * is the Grant's sender when that is a local group, otherwise its recipient. The proof may already be stored (it
220
+ * arrives by mailbox), or be supplied as bytes.
221
+ *
222
+ * The owner begins the same follow on its own once the custodian's proof is stored ({@link storedGroupProof}), so a
223
+ * host needs this call only to supply the proof as bytes or to pin the coordinator. It is idempotent with that
224
+ * follow; see {@link beginGroupProofFollow}.
193
225
  *
194
- * @throws ValidationError for a Grant this runtime's groups did not send, or one already begun.
226
+ * @throws ValidationError for a Grant that is not pending for a local group, or one begun under a consent.
195
227
  */
196
228
  export declare function followGroupIssuanceProof(ops: IssuanceOperations, said: string, options?: GroupFollowOptions): Operation<IssuanceBegun>;
229
+ /**
230
+ * Begin `role`'s proof-only follow of the pending group Grant `said` under `coordinator` (default the group's latest
231
+ * establishment event). Signs nothing. Idempotent: when that party's follow is already live, or its side of the Grant
232
+ * is already complete, returns the Grant and its transaction and begins nothing. The owner's sweep and
233
+ * {@link followGroupIssuanceProof} both begin follows here.
234
+ *
235
+ * @throws ValidationError for a Grant that is not pending for a local group, one whose live operation is a consent,
236
+ * or a coordinator {@link GroupParty.resolve} refuses.
237
+ */
238
+ export declare function beginGroupProofFollow(ops: IssuanceOperations, said: string, role: IssuanceRole, coordinator?: string): IssuanceBegun;
197
239
  /**
198
240
  * The custodian's exact public proof of a completed group issuance: the proof support and the
199
241
  * `/multisig/ipex-proof` wrapper every other member received, read back from the stores. A copy for members that
@@ -1 +1 @@
1
- {"version":3,"file":"group-issuance.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/group-issuance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,EAEL,KAAK,SAAS,EAMd,UAAU,EACV,UAAU,EAEX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAWjD,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACL,KAAK,gBAAgB,EAMtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,WAAW,EAKhB,KAAK,kBAAkB,EAExB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAwB,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAI1F,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,YAAY,EAElB,MAAM,eAAe,CAAC;AAQvB,oFAAoF;AACpF,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC;AAE/E,6FAA6F;AAC7F,MAAM,WAAW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I,GAAG,IAAI,MAAM,CAEhB;IAED,6EAA6E;IAC7E,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,wDAAwD;IACxD,IAAI,MAAM,IAAI,UAAU,CAEvB;IAED,iCAAiC;IACjC,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,8GAA8G;IAC9G,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,SAAS,EAAE,GAAG,OAAO;CAOrE;AAED,2EAA2E;AAC3E,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;CAClB;AA2BD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI,CAgBjE;AAED,uHAAuH;AACvH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI,CAKhE;AAsFD;;;;;;GAMG;AACH,wBAAiB,SAAS,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE,EAAE,YAAY,GAAG,SAAS,CAAC,OAAO,CAAC,CAqIxF"}
@@ -60,6 +60,14 @@ export declare function exchangeWire(hab: Hab, exn: SerderKERI, nested?: Uint8Ar
60
60
  * reads them with this instead of re-signing.
61
61
  */
62
62
  export declare function storedExchangeWire(retained: ExchangeInput, gvrsn?: Versionage): Operation<Uint8Array>;
63
+ /**
64
+ * Extend a frozen Grant's exact origin proof with its presented-state opening and the KEL seal of the registry update
65
+ * that commits to it; the Grant body and its SAID are unchanged. Ordinary intake still authenticates the supplied
66
+ * presentation evidence. Reads no store and signs nothing.
67
+ *
68
+ * @throws ValidationError when the opening does not target this exact Grant's disclosed Issuee in the `presented` state.
69
+ */
70
+ export declare function attachPresentationProof(prepared: PreparedGrantBody, opening: RegistryDisclosure, source: SealSource): Operation<PreparedGrantBody>;
63
71
  /** Exact admitted node streams; no fuller cached section replaces retained disclosure. */
64
72
  export interface HeldCredential {
65
73
  credential: SerderACDC;
@@ -123,6 +131,12 @@ export declare class IpexDiscloser {
123
131
  prepareIssuanceGrantBody(sender: string, credential: SerderACDC, options: IssuanceGrantOptions): Operation<PreparedGrantBody>;
124
132
  /** Carry selected public evidence and root-first delegation ancestry; receiver intake still verifies every approval. */
125
133
  proofSupport(raw: Uint8Array, hab: Hab): Uint8Array;
134
+ /**
135
+ * `proofSupport` for explicitly named parties instead of one habitat: the KELs of `parties` and of every identifier
136
+ * the ACDC frames in `raw` name, each after its delegation ancestry, then the accepted TEL of every registry they
137
+ * name. Reads accepted state only and signs nothing, so it needs no keys.
138
+ */
139
+ proofSupportFor(raw: Uint8Array, parties: readonly string[]): Uint8Array;
126
140
  /** Public replay includes actual stored witness receipts; it grants no new consent. */
127
141
  kel(hab: Hab): Uint8Array;
128
142
  /** Reduce only the selected attribute view using the existing commitment-preserving Compactor. */
@@ -143,8 +157,6 @@ export declare class IpexDiscloser {
143
157
  prepareReply(sender: string, verb: "agree" | "spurn", priorSaid: string, message?: string, recipient?: string, auths?: WitnessAuthMap): Operation<PreparedDisclosure>;
144
158
  /** The unsigned Agree or Spurn body answering an accepted, authenticated predecessor. */
145
159
  replyBody(sender: string, verb: "agree" | "spurn", priorSaid: string, message?: string, recipient?: string): Operation<SerderKERI>;
146
- /** Extend the frozen Grant's exact origin proof; ordinary intake still authenticates the supplied presentation evidence. */
147
- attachPresentationProof(prepared: PreparedGrantBody, opening: RegistryDisclosure, source: SealSource): Operation<PreparedGrantBody>;
148
160
  /** Select immutable admitted/transferred nests; proof refresh changes attachments only when explicitly requested. */
149
161
  protected selected(selection: DisclosureSelection, offer?: boolean): Operation<Uint8Array>;
150
162
  /** Offer only the selected commitment/view without issuer proof attachments. */
@@ -1 +1 @@
1
- {"version":3,"file":"ipex-discloser.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/ipex-discloser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,KAAK,SAAS,EAYd,UAAU,EACV,UAAU,EACV,UAAU,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S,EAAE,mBAAmB,EAC9B,OAAO,EAAE,uBAAuB,GAC/B,SAAS,CAAC,kBAAkB,CAAC;IAmChC,yGAAyG;IACzG,gBAAgB,CAAC,GAAG,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,kBAAkB,GAAG,kBAAkB;CAgEtF"}
@@ -7,7 +7,7 @@
7
7
  * owns timed waits and worker lifetimes. Approval borrows explicit semantic,
8
8
  * delivery and credential owners; its byte-input context belongs to the operation.
9
9
  */
10
- import { SerderKERI, type Versionage } from "cesr-ts";
10
+ import { type CesrFrame, SerderKERI, type Versionage } from "cesr-ts";
11
11
  import { type Operation } from "effection";
12
12
  import type { RegistryStore } from "../../acdc/registering.js";
13
13
  import type { Baser } from "../../db/basing.js";
@@ -19,7 +19,13 @@ import { type GroupSendResult } from "../multisig/multisig-messaging.js";
19
19
  import type { ProtocolProcessor } from "../protocol/protocol-processing.js";
20
20
  /** Recheck current graph authorization at an accepted group's new delivery, output or consent action. */
21
21
  export declare function requireAcdcV2GroupUse(hby: Habery, protocol: ProtocolProcessor, embedded: SerderKERI): void;
22
- /** Approve exactly one ACDC v2 IPEX stream before adding this member's signature; no new acceptance rows are manufactured. */
22
+ /**
23
+ * Approve exactly one ACDC v2 IPEX stream before adding this member's signature; no new acceptance rows are manufactured.
24
+ *
25
+ * @returns This member's accepted wire, or null while its evidence or dependencies are missing.
26
+ * @throws KramRefusedError when this member's own KRAM refuses the contribution for its time, thread or exchange
27
+ * lifetime: the message can no longer be accepted here. A `replay` refusal is routine and is not thrown.
28
+ */
23
29
  export declare function prepareAcdcV2GroupIpex(hby: Habery, protocol: ProtocolProcessor, group: Hab, raw: Uint8Array): Operation<Uint8Array | null>;
24
30
  export interface MultisigIpexApprovalOptions {
25
31
  publish?: boolean;
@@ -75,6 +81,21 @@ export declare function publishGroupIpexProposal(hby: Habery, protocol: Protocol
75
81
  export declare function publishInitialGroupIpex(hby: Habery, protocol: ProtocolProcessor, postman: Poster, groupHab: Hab, embedded: Uint8Array, childGvrsn?: Versionage): Operation<GroupSendResult>;
76
82
  /** Approve stored wrappers for one IPEX child without external lead sending or acquiring stores/workers. */
77
83
  export declare function approveStoredMultisigIpexWrappers(hby: Habery, protocol: ProtocolProcessor, embeddedSaid: string, reger: Reger | null): Operation<void>;
84
+ /**
85
+ * The copies this member received of each v2 group IPEX message it has not accepted: per message, the child of each
86
+ * stored, authenticated `/multisig/exn` wrapper that carries it, with its signatures and nests. A pure read; whether a
87
+ * message may be taken from its copies is {@link groupIpexFollowable}'s rule.
88
+ */
89
+ export declare function unacceptedGroupIpexCopies(hby: Habery, exchanger: Exchanger): CesrFrame[][];
90
+ /**
91
+ * Accept a group IPEX message from the copies this member received, adding no signature: dispatch each copy with its
92
+ * own proofs, then advance escrows so that copies whose signatures only together meet the threshold complete. The
93
+ * caller has checked {@link groupIpexFollowable}.
94
+ *
95
+ * @throws KramRefusedError when this member's own KRAM refuses a copy for its time, thread or exchange lifetime: the
96
+ * message can no longer be accepted here.
97
+ */
98
+ export declare function acceptGroupIpexCopies(protocol: ProtocolProcessor, copies: readonly CesrFrame[]): Operation<void>;
78
99
  /**
79
100
  * Return the first incomplete stored `/multisig/exn` wrapping `/ipex/*`.
80
101
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ipex-grouping.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/ipex-grouping.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAaL,UAAU,EAEV,KAAK,UAAU,EAGhB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAS/D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,O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,EAAE,MAAM,EACX,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE,UAAqB,GAC3B,UAAU,CAiBZ;AAED;;;;;;;;GAQG;AACH,wBAAiB,mBAAmB,CAClC,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAAE,GACjB,SAAS,CAAC,MAAM,EAAE,CAAC,CAcrB;AAED;;;;;;;;GAQG;AACH,wBAAiB,oBAAoB,CACnC,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAAE,GACjB,SAAS,CAAC,MAAM,EAAE,CAAC,CAKrB;AA8DD,uGAAuG;AACvG,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CAOzF;AAED,qHAAqH;AACrH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GAAG,OAAO,CAO3F"}
@@ -50,8 +50,11 @@ export declare class IpexV2Handler implements ExchangeRouteHandler {
50
50
  private pendingIssuance;
51
51
  /** Validate all supplied claims, then classify absent issuer openings and exact per-registry node scope. */
52
52
  private presentationState;
53
- /** Notify only after Exchanger has durably accepted the parent and its evidence. */
54
- handle({ serder }: Parameters<ExchangeRouteHandler["handle"]>[0]): void;
53
+ /**
54
+ * Notify only after Exchanger has durably accepted the parent and its evidence. A retained exchange (history a
55
+ * local import replayed, such as an already admitted Grant and its Admit) is not news: no notice asks anyone to act.
56
+ */
57
+ handle({ serder, retained }: Parameters<ExchangeRouteHandler["handle"]>[0]): void;
55
58
  /** Every disclosed own schema vets before presentation and issuer graph reduction. */
56
59
  private nodeSchemas;
57
60
  /** Compare the exact accepted Offer before authenticating the Grant's independent issuer proofs. */
@@ -1 +1 @@
1
- {"version":3,"file":"ipex-v2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adline | `expired` |
24
24
  * | holder: root held, not committed otherwise; issuer: update accepted | `active`, `rootRetained` (adopted) |
25
+ * | group member: root copy received or the custodian's final proof stored | `active`, `awaitingAnchor` (followed) |
25
26
  * | issuer: pending Grant, update not accepted | `interrupted` |
26
27
  * | root held and the registry committed to another exchange | `interrupted` |
27
28
  * | holder: Grant accepted, no accepted Admit | `active`, `awaitingAdmitConsent` |
@@ -54,9 +55,12 @@
54
55
  * `{kind: "issuance", id: <grant>}` and the embedder records it.
55
56
  *
56
57
  * A local group issues and receives through the same table, status and wait: its consent calls and per-operation
57
- * steps are in `group-issuance.ts` and run inside the same `processOnce`. A group exchange is not resumed after a
58
- * restart (its frozen coordinator and custodian are not stored): a group pending Grant with no root reads
59
- * `awaitingExchangeConsent`, and a member consents again with the same call.
58
+ * steps are in `group-issuance.ts` and run inside the same `processOnce`. A group exchange in progress is not
59
+ * resumed after a restart (its frozen coordinator and custodian are not stored): a group pending Grant with no root
60
+ * reads `awaitingExchangeConsent`, and a member consents again with the same call. The custodian that retained the
61
+ * root is adopted once the stores allow it, and a member the group completed without is followed: the same sweep
62
+ * that finds resumable Grants begins the proof-only follow of each group Grant whose custodian's final proof is
63
+ * stored, signing nothing, so a restart begins it again.
60
64
  *
61
65
  * Collaborators are narrow concrete owners (ADR-0013); no `AgentRuntime`.
62
66
  */
@@ -85,9 +89,9 @@ import { IpexDiscloser, type IssuanceGrantOptions } from "./ipex-discloser.js";
85
89
  */
86
90
  export declare const ISSUANCE_QUERY_RESEND_MS = 1000;
87
91
  /**
88
- * Milliseconds between scans of the pending exchange escrow for Grants a restarted process can finish. The scan
89
- * repeats because what makes a Grant resumable can arrive after the restart (an issuer's update accepted once the
90
- * other members approve it).
92
+ * Milliseconds between scans of the pending exchange escrow for Grants a restarted process can finish and group
93
+ * Grants whose final proof a member follows. The scan repeats because what makes a Grant resumable can arrive after
94
+ * the restart (an issuer's update accepted once the other members approve it), and a custodian's proof arrives late.
91
95
  */
92
96
  export declare const ISSUANCE_SWEEP_MS = 5000;
93
97
  /** Which side of the exchange the local identifier is. */
@@ -127,6 +131,8 @@ export type IssuanceStatus = {
127
131
  state: IssuanceEndState;
128
132
  role: IssuanceRole;
129
133
  reason: string;
134
+ /** On `expired`: the Grant's exchange deadline (ISO 8601) that passed. */
135
+ deadline?: string;
130
136
  };
131
137
  /** Delivery of signed bytes; resolves once the transport reports an outcome and throws when it failed. */
132
138
  export interface IssuanceDelivery {
@@ -232,6 +238,8 @@ interface EndedIssuance {
232
238
  role: IssuanceRole;
233
239
  state: IssuanceEndState;
234
240
  reason: string;
241
+ /** On `expired`: the Grant deadline that passed. */
242
+ deadline?: string;
235
243
  }
236
244
  /**
237
245
  * The live operations table and its driver. One per host runtime; every identifier of that runtime may
@@ -264,12 +272,13 @@ export declare class IssuanceOperations {
264
272
  begin(op: LiveIssuance): void;
265
273
  /** Remember how a party's operation on `grant` ended without a live operation to end. */
266
274
  remember(grant: string, ended: EndedIssuance): void;
267
- /** Whether a pass has work: a live operation, or the one-time scan for resumable Grants has not run. */
275
+ /** Whether a pass has work: a live operation, an adoption still owed, or a sweep of the pending Grants is due. */
268
276
  active(): boolean;
269
277
  /**
270
278
  * Advance every live operation by one pass. Each pass is bounded by the operation's Grant deadline.
271
- * The first pass also adopts the pending Grants the stores prove resumable ({@link resumableGrants});
272
- * that signs and sends nothing.
279
+ * Every {@link ISSUANCE_SWEEP_MS} a pass also scans the pending exchange escrow once ({@link sweptGrants}): it
280
+ * adopts the Grants the stores prove resumable and begins the proof-only follow of the group Grants whose
281
+ * custodian's proof is stored. Neither signs nor sends anything.
273
282
  */
274
283
  processOnce(): Operation<void>;
275
284
  /** End a live operation: release its DH approval, remember why until the process ends, tell the sink. */
@@ -279,6 +288,8 @@ export declare class IssuanceOperations {
279
288
  * DH custodian is `member`. Releasing the approval drops the DH owner's held query. Returns the Grants ended.
280
289
  */
281
290
  endBoundToMember(group: string, member: string, reason: string): string[];
291
+ /** Grants of the live operations, and of those found resumable and not yet adopted, whose habitat is `pre`. */
292
+ grantsOf(pre: string): string[];
282
293
  /** Drop the live entry and the DH approval; a missing approval means the owner already closed. */
283
294
  private release;
284
295
  /**
@@ -287,6 +298,12 @@ export declare class IssuanceOperations {
287
298
  * dropped and reads from the stores. False means the Keeper is locked and the Grant is retried.
288
299
  */
289
300
  private settle;
301
+ /**
302
+ * Begin the proof-only follow a sweep found, under the stored proof's election; it signs nothing, so it needs no
303
+ * unlocked Keeper. A refusal means the stores no longer support it: the Grant then reads from them and is not tried
304
+ * again in this process. Any other failure is this Grant's alone and ends it `failed`, as for an adoption.
305
+ */
306
+ private follow;
290
307
  /** Rebuild the live entry of a resumable Grant from the stored Grant and the held roots. */
291
308
  private adopt;
292
309
  /**
@@ -323,7 +340,8 @@ export declare class IssuanceOperations {
323
340
  setPhase(op: LiveIssuance, phase: IssuancePhase): void;
324
341
  /**
325
342
  * Record one group operation the user consented to ({@link approveGroupIssuance},
326
- * {@link approveGroupIssuanceExchange}, {@link followGroupIssuanceProof}). A holder approves DH here, with its
343
+ * {@link approveGroupIssuanceExchange}), or a proof-only follow, which needs no consent ({@link beginGroupProofFollow},
344
+ * begun by the sweep or by {@link followGroupIssuanceProof}). A holder approves DH here, with its
327
345
  * consent; an issuer approves once the group has authenticated the Grant.
328
346
  */
329
347
  beginGroup(group: GroupIssuance): IssuanceBegun;
@@ -366,7 +384,8 @@ export declare function partyComplete(deps: IssuanceDeps, grant: string, role: I
366
384
  *
367
385
  * @throws ValidationError for a Grant that is not this identifier's exact
368
386
  * unanchored pending issuance, an unmanaged registry, a group identifier, or
369
- * an issuance already begun or completed.
387
+ * an issuance already begun or completed; its subclass `KramRefusedError`
388
+ * (reason `lifetime`, with the deadline) for a Grant past its exchange deadline.
370
389
  */
371
390
  export declare function beginIssuance(ops: IssuanceOperations, grant: string, auths?: WitnessAuthMap): Operation<IssuanceBegun>;
372
391
  /**
@@ -380,6 +399,8 @@ export declare function proposeIssuance(ops: IssuanceOperations, draft: GrantDra
380
399
  * operation holds reads `interrupted` (or `expired` once the Grant deadline has passed); that is a
381
400
  * statement, not a write.
382
401
  *
402
+ * @throws KramRefusedError (reason `lifetime`, with the deadline) when the Grant's deadline has passed and the
403
+ * stores no longer hold what a status needs: KRAM pruned its cache row, or the escrow sweep ejected the Grant.
383
404
  * @throws ValidationError when `grant` is not a v2 Grant this runtime's identifiers are party to.
384
405
  */
385
406
  export declare function issuanceStatus(ops: IssuanceOperations, grant: string, party?: IssuanceParty): IssuanceStatus;
@@ -431,6 +452,9 @@ export declare function waitForIssuance(ops: IssuanceOperations, grant: string,
431
452
  * The holder's consent to the DH exchange for one pending Grant addressed to a local identifier. Approves DH and records the
432
453
  * consent; `processOnce` then answers the issuer's query, waits for its registry update and finishes the Grant.
433
454
  * Admitting the credential is a separate consent ({@link admitIssuance}).
455
+ *
456
+ * @throws KramRefusedError (reason `lifetime`, with the deadline) for a Grant past its exchange deadline, and
457
+ * ValidationError for any other Grant this holder cannot consent to.
434
458
  */
435
459
  export declare function approveIssuanceExchange(ops: IssuanceOperations, grant: string): IssuanceBegun;
436
460
  /** A signed Admit already accepted locally; delivery is the next, separate step. */