keri-ts 2.2.4 → 2.2.6
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/esm/keri/npm/src/_dnt.polyfills.js +14 -14
- package/esm/keri/npm/src/acdc/dhking.js +29 -2
- package/esm/keri/npm/src/acdc/observing.js +10 -3
- package/esm/keri/npm/src/acdc/query-resend.js +74 -0
- package/esm/keri/npm/src/acdc/regengine.js +39 -9
- package/esm/keri/npm/src/acdc/regeventing.js +5 -3
- package/esm/keri/npm/src/acdc/registering.js +19 -0
- package/esm/keri/npm/src/acdc/salting.js +4 -0
- package/esm/keri/npm/src/acdc/unblinding.js +38 -3
- package/esm/keri/npm/src/app/bootstrap/authenticating.js +32 -10
- package/esm/keri/npm/src/app/bootstrap/oobiery.js +363 -30
- package/esm/keri/npm/src/app/credentials/credential-importing.js +33 -4
- package/esm/keri/npm/src/app/credentials/root-replicator.js +27 -15
- package/esm/keri/npm/src/app/credentials/schema-resolving.js +5 -1
- package/esm/keri/npm/src/app/credentials/tel-publishing.js +16 -7
- package/esm/keri/npm/src/app/delivery/forwarding.js +205 -44
- package/esm/keri/npm/src/app/delivery/relaying.js +232 -0
- package/esm/keri/npm/src/app/delivery/respondant.js +8 -5
- package/esm/keri/npm/src/app/exchanges/exchange-messaging.js +1 -1
- package/esm/keri/npm/src/app/exchanges/exchanging.js +65 -9
- package/esm/keri/npm/src/app/identity/delegating.js +66 -9
- package/esm/keri/npm/src/app/identity/habbing.js +190 -71
- package/esm/keri/npm/src/app/identity/keeping.js +111 -39
- package/esm/keri/npm/src/app/identity/retire-identifier.js +98 -0
- package/esm/keri/npm/src/app/ipex/disclosure-replaying.js +116 -0
- package/esm/keri/npm/src/app/ipex/group-ipex.js +122 -25
- package/esm/keri/npm/src/app/ipex/group-issuance.js +137 -37
- package/esm/keri/npm/src/app/ipex/ipex-discloser.js +94 -31
- package/esm/keri/npm/src/app/ipex/ipex-grouping.js +53 -3
- package/esm/keri/npm/src/app/ipex/ipex-v2.js +7 -2
- package/esm/keri/npm/src/app/ipex/issuance.js +147 -44
- package/esm/keri/npm/src/app/ipex/pending-presentations.js +4 -2
- package/esm/keri/npm/src/app/ipex/presenting.js +3 -18
- package/esm/keri/npm/src/app/ipex/receive-issuance.js +2 -1
- package/esm/keri/npm/src/app/ipex/unblinding-workflow.js +39 -11
- package/esm/keri/npm/src/app/mailbox/agent-inbox.js +292 -0
- package/esm/keri/npm/src/app/mailbox/forward-handler.js +298 -52
- package/esm/keri/npm/src/app/mailbox/kel-publisher.js +26 -31
- package/esm/keri/npm/src/app/mailbox/mailbox-poller.js +70 -62
- package/esm/keri/npm/src/app/mailbox/mailboxing.js +20 -4
- package/esm/keri/npm/src/app/multisig/counseling.js +71 -27
- package/esm/keri/npm/src/app/multisig/group-members.js +41 -5
- package/esm/keri/npm/src/app/multisig/grouping.js +50 -2
- package/esm/keri/npm/src/app/multisig/multisig-workflows.js +3 -18
- package/esm/keri/npm/src/app/multisig/proposing.js +1 -16
- package/esm/keri/npm/src/app/multisig/rejoin-group.js +99 -0
- package/esm/keri/npm/src/app/multisig/replace-member.js +29 -8
- package/esm/keri/npm/src/app/protocol/parsering.js +45 -17
- package/esm/keri/npm/src/app/protocol/protocol-processing.js +47 -21
- package/esm/keri/npm/src/app/queries/query-replies.js +0 -22
- package/esm/keri/npm/src/app/queries/relay-refresh.js +81 -0
- package/esm/keri/npm/src/app/queries/witness-inquisitor.js +180 -34
- package/esm/keri/npm/src/app/runtime/agent-runtime.js +42 -73
- package/esm/keri/npm/src/app/runtime/cue-runtime.js +45 -5
- package/esm/keri/npm/src/app/runtime/ipex-auxiliaries.js +8 -1
- package/esm/keri/npm/src/app/runtime/operation-owners.js +26 -56
- package/esm/keri/npm/src/app/runtime/workflow-contract.js +7 -4
- package/esm/keri/npm/src/app/transport/http-client.js +20 -2
- package/esm/keri/npm/src/app/transport/message-source.js +2 -1
- package/esm/keri/npm/src/app/transport/messengering.js +39 -8
- package/esm/keri/npm/src/app/witness/ingress.js +7 -0
- package/esm/keri/npm/src/app/witness/receipt-client.js +43 -16
- package/esm/keri/npm/src/app/witness/receipting.js +62 -20
- package/esm/keri/npm/src/cli/messaging/multisig.js +4 -3
- package/esm/keri/npm/src/core/errors.js +73 -0
- package/esm/keri/npm/src/core/kel/delegation-ancestry.js +11 -2
- package/esm/keri/npm/src/core/kel/eventing.js +25 -28
- package/esm/keri/npm/src/core/kel/kever.js +15 -9
- package/esm/keri/npm/src/core/mailbox/kram-policy.js +16 -0
- package/esm/keri/npm/src/core/mailbox/kram-pruning.js +25 -6
- package/esm/keri/npm/src/core/mailbox/kram-time.js +34 -6
- package/esm/keri/npm/src/core/mailbox/kraming.js +58 -2
- package/esm/keri/npm/src/core/missing-anchor-query.js +20 -0
- package/esm/keri/npm/src/core/routing.js +18 -25
- package/esm/keri/npm/src/core/scheming.js +12 -5
- package/esm/keri/npm/src/core/wire-fields.js +126 -0
- package/esm/keri/npm/src/db/basing.js +4 -13
- package/esm/keri/npm/src/db/core/indexeddb-persistence.js +3 -2
- package/esm/keri/npm/src/db/core/webdber.js +85 -27
- package/esm/keri/npm/src/db/mailbox/mailboxing.js +13 -0
- package/esm/keri/npm/src/db/subing.js +4 -0
- package/esm/keri/npm/src/runtime/index.js +11 -5
- package/esm/keri/npm/src/time/mod.js +5 -0
- package/esm/keri/npm/src/vdr/credential-tsn-record.js +2 -7
- package/esm/keri/npm/src/vdr/eventing.js +71 -28
- package/esm/keri/npm/src/vdr/registry-tsn-record.js +3 -13
- package/esm/keri/npm/src/version.js +2 -2
- package/package.json +1 -1
- package/types/_dnt.polyfills.d.ts +9 -9
- package/types/_dnt.polyfills.d.ts.map +1 -1
- package/types/acdc/dhking.d.ts +8 -0
- package/types/acdc/dhking.d.ts.map +1 -1
- package/types/acdc/observing.d.ts +5 -1
- package/types/acdc/observing.d.ts.map +1 -1
- package/types/acdc/query-resend.d.ts +24 -0
- package/types/acdc/query-resend.d.ts.map +1 -0
- package/types/acdc/regengine.d.ts +19 -1
- package/types/acdc/regengine.d.ts.map +1 -1
- package/types/acdc/regeventing.d.ts.map +1 -1
- package/types/acdc/registering.d.ts +6 -0
- package/types/acdc/registering.d.ts.map +1 -1
- package/types/acdc/salting.d.ts.map +1 -1
- package/types/acdc/unblinding.d.ts +13 -1
- package/types/acdc/unblinding.d.ts.map +1 -1
- package/types/app/bootstrap/authenticating.d.ts +12 -2
- package/types/app/bootstrap/authenticating.d.ts.map +1 -1
- package/types/app/bootstrap/oobiery.d.ts +144 -7
- package/types/app/bootstrap/oobiery.d.ts.map +1 -1
- package/types/app/credentials/credential-importing.d.ts +8 -0
- package/types/app/credentials/credential-importing.d.ts.map +1 -1
- package/types/app/credentials/root-replicator.d.ts +19 -8
- package/types/app/credentials/root-replicator.d.ts.map +1 -1
- package/types/app/credentials/schema-resolving.d.ts.map +1 -1
- package/types/app/credentials/tel-publishing.d.ts +4 -2
- package/types/app/credentials/tel-publishing.d.ts.map +1 -1
- package/types/app/delivery/forwarding.d.ts +90 -5
- package/types/app/delivery/forwarding.d.ts.map +1 -1
- package/types/app/delivery/relaying.d.ts +144 -0
- package/types/app/delivery/relaying.d.ts.map +1 -0
- package/types/app/delivery/respondant.d.ts +9 -2
- package/types/app/delivery/respondant.d.ts.map +1 -1
- package/types/app/exchanges/exchanging.d.ts +36 -0
- package/types/app/exchanges/exchanging.d.ts.map +1 -1
- package/types/app/identity/delegating.d.ts +6 -0
- package/types/app/identity/delegating.d.ts.map +1 -1
- package/types/app/identity/habbing.d.ts +106 -19
- package/types/app/identity/habbing.d.ts.map +1 -1
- package/types/app/identity/keeping.d.ts +54 -19
- package/types/app/identity/keeping.d.ts.map +1 -1
- package/types/app/identity/retire-identifier.d.ts +24 -0
- package/types/app/identity/retire-identifier.d.ts.map +1 -0
- package/types/app/ipex/disclosure-replaying.d.ts +61 -0
- package/types/app/ipex/disclosure-replaying.d.ts.map +1 -0
- package/types/app/ipex/group-ipex.d.ts +60 -14
- package/types/app/ipex/group-ipex.d.ts.map +1 -1
- package/types/app/ipex/group-issuance.d.ts +54 -8
- package/types/app/ipex/group-issuance.d.ts.map +1 -1
- package/types/app/ipex/ipex-discloser.d.ts +39 -2
- package/types/app/ipex/ipex-discloser.d.ts.map +1 -1
- package/types/app/ipex/ipex-grouping.d.ts +23 -2
- package/types/app/ipex/ipex-grouping.d.ts.map +1 -1
- package/types/app/ipex/ipex-v2.d.ts +5 -2
- package/types/app/ipex/ipex-v2.d.ts.map +1 -1
- package/types/app/ipex/issuance.d.ts +46 -16
- package/types/app/ipex/issuance.d.ts.map +1 -1
- package/types/app/ipex/pending-presentations.d.ts +4 -2
- package/types/app/ipex/pending-presentations.d.ts.map +1 -1
- package/types/app/ipex/presenting.d.ts.map +1 -1
- package/types/app/ipex/receive-issuance.d.ts +2 -1
- package/types/app/ipex/receive-issuance.d.ts.map +1 -1
- package/types/app/ipex/unblinding-workflow.d.ts +13 -2
- package/types/app/ipex/unblinding-workflow.d.ts.map +1 -1
- package/types/app/mailbox/agent-inbox.d.ts +126 -0
- package/types/app/mailbox/agent-inbox.d.ts.map +1 -0
- package/types/app/mailbox/forward-handler.d.ts +114 -14
- package/types/app/mailbox/forward-handler.d.ts.map +1 -1
- package/types/app/mailbox/kel-publisher.d.ts +12 -22
- package/types/app/mailbox/kel-publisher.d.ts.map +1 -1
- package/types/app/mailbox/mailbox-poller.d.ts +40 -24
- package/types/app/mailbox/mailbox-poller.d.ts.map +1 -1
- package/types/app/mailbox/mailboxing.d.ts +19 -5
- package/types/app/mailbox/mailboxing.d.ts.map +1 -1
- package/types/app/multisig/counseling.d.ts +32 -11
- package/types/app/multisig/counseling.d.ts.map +1 -1
- package/types/app/multisig/group-members.d.ts +17 -1
- package/types/app/multisig/group-members.d.ts.map +1 -1
- package/types/app/multisig/grouping.d.ts +17 -1
- package/types/app/multisig/grouping.d.ts.map +1 -1
- package/types/app/multisig/multisig-workflows.d.ts +0 -8
- package/types/app/multisig/multisig-workflows.d.ts.map +1 -1
- package/types/app/multisig/proposing.d.ts +4 -19
- package/types/app/multisig/proposing.d.ts.map +1 -1
- package/types/app/multisig/rejoin-group.d.ts +119 -0
- package/types/app/multisig/rejoin-group.d.ts.map +1 -0
- package/types/app/multisig/replace-member.d.ts +15 -1
- package/types/app/multisig/replace-member.d.ts.map +1 -1
- package/types/app/protocol/parsering.d.ts +21 -2
- package/types/app/protocol/parsering.d.ts.map +1 -1
- package/types/app/protocol/protocol-processing.d.ts +25 -5
- package/types/app/protocol/protocol-processing.d.ts.map +1 -1
- package/types/app/queries/query-replies.d.ts +4 -8
- package/types/app/queries/query-replies.d.ts.map +1 -1
- package/types/app/queries/relay-refresh.d.ts +26 -0
- package/types/app/queries/relay-refresh.d.ts.map +1 -0
- package/types/app/queries/witness-inquisitor.d.ts +56 -5
- package/types/app/queries/witness-inquisitor.d.ts.map +1 -1
- package/types/app/runtime/agent-runtime.d.ts +34 -3
- package/types/app/runtime/agent-runtime.d.ts.map +1 -1
- package/types/app/runtime/cue-runtime.d.ts +15 -3
- package/types/app/runtime/cue-runtime.d.ts.map +1 -1
- package/types/app/runtime/ipex-auxiliaries.d.ts.map +1 -1
- package/types/app/runtime/operation-owners.d.ts +16 -26
- package/types/app/runtime/operation-owners.d.ts.map +1 -1
- package/types/app/runtime/workflow-contract.d.ts +21 -6
- package/types/app/runtime/workflow-contract.d.ts.map +1 -1
- package/types/app/transport/http-client.d.ts +9 -0
- package/types/app/transport/http-client.d.ts.map +1 -1
- package/types/app/transport/message-source.d.ts +6 -3
- package/types/app/transport/message-source.d.ts.map +1 -1
- package/types/app/transport/messengering.d.ts +10 -1
- package/types/app/transport/messengering.d.ts.map +1 -1
- package/types/app/witness/ingress.d.ts +1 -0
- package/types/app/witness/ingress.d.ts.map +1 -1
- package/types/app/witness/receipt-client.d.ts +19 -1
- package/types/app/witness/receipt-client.d.ts.map +1 -1
- package/types/app/witness/receipting.d.ts +24 -1
- package/types/app/witness/receipting.d.ts.map +1 -1
- package/types/cli/messaging/multisig.d.ts.map +1 -1
- package/types/core/cues.d.ts +53 -1
- package/types/core/cues.d.ts.map +1 -1
- package/types/core/errors.d.ts +32 -0
- package/types/core/errors.d.ts.map +1 -1
- package/types/core/kel/delegation-ancestry.d.ts.map +1 -1
- package/types/core/kel/eventing.d.ts.map +1 -1
- package/types/core/kel/kever-decisions.d.ts +3 -1
- package/types/core/kel/kever-decisions.d.ts.map +1 -1
- package/types/core/kel/kever.d.ts +7 -1
- package/types/core/kel/kever.d.ts.map +1 -1
- package/types/core/mailbox/kram-policy.d.ts +12 -0
- package/types/core/mailbox/kram-policy.d.ts.map +1 -1
- package/types/core/mailbox/kram-pruning.d.ts +5 -1
- package/types/core/mailbox/kram-pruning.d.ts.map +1 -1
- package/types/core/mailbox/kram-time.d.ts +26 -2
- package/types/core/mailbox/kram-time.d.ts.map +1 -1
- package/types/core/mailbox/kraming.d.ts +14 -1
- package/types/core/mailbox/kraming.d.ts.map +1 -1
- package/types/core/missing-anchor-query.d.ts +34 -0
- package/types/core/missing-anchor-query.d.ts.map +1 -0
- package/types/core/routing.d.ts +3 -7
- package/types/core/routing.d.ts.map +1 -1
- package/types/core/scheming.d.ts.map +1 -1
- package/types/core/wire-fields.d.ts +56 -0
- package/types/core/wire-fields.d.ts.map +1 -0
- package/types/db/basing.d.ts.map +1 -1
- package/types/db/core/indexeddb-persistence.d.ts +3 -2
- package/types/db/core/indexeddb-persistence.d.ts.map +1 -1
- package/types/db/core/webdber.d.ts +32 -6
- package/types/db/core/webdber.d.ts.map +1 -1
- package/types/db/exchange/exchange-records.d.ts +4 -0
- package/types/db/exchange/exchange-records.d.ts.map +1 -1
- package/types/db/mailbox/mailboxing.d.ts +10 -1
- package/types/db/mailbox/mailboxing.d.ts.map +1 -1
- package/types/db/subing.d.ts +2 -0
- package/types/db/subing.d.ts.map +1 -1
- package/types/runtime/index.d.ts +20 -14
- package/types/runtime/index.d.ts.map +1 -1
- package/types/time/mod.d.ts +2 -0
- package/types/time/mod.d.ts.map +1 -1
- package/types/vdr/credential-tsn-record.d.ts.map +1 -1
- package/types/vdr/eventing.d.ts +32 -1
- package/types/vdr/eventing.d.ts.map +1 -1
- package/types/vdr/registry-tsn-record.d.ts.map +1 -1
- package/types/version.d.ts +2 -2
- package/esm/keri/npm/src/app/runtime/signer-conditions.js +0 -51
- package/types/app/runtime/signer-conditions.d.ts +0 -32
- package/types/app/runtime/signer-conditions.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailboxing.d.ts","sourceRoot":"","sources":["../../../src/app/mailbox/mailboxing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAG3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,OAAO,CAAC,gBAAgB,CAAM,GACtC,gBAAgB,CAKlB;AAED;;;;;;;;;;GAUG;AACH,wBAAiB,sBAAsB,CACrC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,OAAO,CAAC,gBAAgB,CAAM,GACtC,SAAS,CAAC,SAAS,CAAC,CAGtB;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAElE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,GACvB,MAAM,CAAC,MAAM,EAAE,MAAM,CAA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Y,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,GAAG,IAAI,CAExE;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAMpD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Operation } from "effection";
|
|
2
2
|
import type { RotatedCue } from "../../core/cues.js";
|
|
3
|
+
import type { Deck } from "../../core/deck.js";
|
|
3
4
|
import { type Anchorer, type AnchorQueryDeps } from "../identity/delegating.js";
|
|
4
5
|
import type { Hab, Habery } from "../identity/habbing.js";
|
|
5
6
|
import type { RetryPolicy } from "../runtime/retry-backoff.js";
|
|
@@ -79,20 +80,17 @@ export interface GroupReceipting {
|
|
|
79
80
|
receipt(pre: string, options: {
|
|
80
81
|
sn: number;
|
|
81
82
|
auths: WitnessAuthMap;
|
|
83
|
+
allowTcp?: boolean;
|
|
82
84
|
}): Operation<unknown>;
|
|
83
85
|
get(pre: string, options: {
|
|
84
86
|
sn: number;
|
|
85
87
|
said: string;
|
|
86
88
|
}): Operation<boolean>;
|
|
87
89
|
}
|
|
88
|
-
/** Told when a group rotation completes, so its mailboxes are told; the runtime's `kelPublisher.rotated` fits. */
|
|
89
|
-
export interface GroupMailboxes {
|
|
90
|
-
rotated(cue: RotatedCue): void;
|
|
91
|
-
}
|
|
92
90
|
/**
|
|
93
91
|
* Sends a completed event to members that may never have seen the signatures that completed it (a member that signed
|
|
94
92
|
* nothing, or one whose own signature was not needed). One outcome per member; a transport failure is the member's
|
|
95
|
-
* `failed` outcome and not an error.
|
|
93
|
+
* `failed` outcome and not an error. What it throws is a fault, which ends the Counselor's loop.
|
|
96
94
|
*/
|
|
97
95
|
export interface GroupForwarding {
|
|
98
96
|
forward(event: GroupEventRef, members: readonly string[]): Operation<GroupDelivery[]>;
|
|
@@ -115,23 +113,30 @@ export declare class Counselor {
|
|
|
115
113
|
private readonly clock;
|
|
116
114
|
private readonly changes?;
|
|
117
115
|
private readonly delegation?;
|
|
118
|
-
private readonly
|
|
116
|
+
private readonly rotated?;
|
|
117
|
+
private readonly groupChanges?;
|
|
119
118
|
private readonly receiptRetry;
|
|
120
119
|
private readonly forwarding?;
|
|
121
120
|
private readonly runs;
|
|
122
121
|
/** Completed events this member, as the elected one, still owes to other members; memory only. */
|
|
123
122
|
private readonly forwards;
|
|
124
123
|
private readonly forwarded;
|
|
124
|
+
/** Per local group, the latest establishment SAID its stored members were found to follow; memory only. */
|
|
125
|
+
private readonly aligned;
|
|
125
126
|
/**
|
|
126
127
|
* @param hby Borrowed identities and stores; the Counselor opens nothing.
|
|
127
128
|
* @param receipting Submits or fetches witness receipts for accepted events.
|
|
128
129
|
* @param clock Time source for fallback and retry; only `now` is used.
|
|
129
130
|
* @param changes Optional sink told `{kind:"group", id:"<pre>:<sn>"}` after commits.
|
|
130
131
|
* @param delegation Anchorer and query port for delegated events; omit for non-delegated hosts.
|
|
131
|
-
* @param
|
|
132
|
-
* the group's mailboxes the new key state
|
|
132
|
+
* @param rotated Deck that gets a record of each completed group rotation (`rot` or `drt`); the member runtime
|
|
133
|
+
* passes its KEL publisher's, which then tells the group's mailboxes the new key state. Several members doing
|
|
134
|
+
* so is harmless.
|
|
135
|
+
* @param groupChanges Deck that gets the prefix of a group whose establishment event completed or whose stored
|
|
136
|
+
* members were aligned late; the member runtime shares it with its root replicator, which re-derives the
|
|
137
|
+
* copies the group owes on its next pass instead of at its next sweep.
|
|
133
138
|
*/
|
|
134
|
-
constructor(hby: Habery, receipting: GroupReceipting, clock: Pick<RuntimeClock, "now">, changes?: ChangeSink | undefined, delegation?: GroupDelegation | undefined,
|
|
139
|
+
constructor(hby: Habery, receipting: GroupReceipting, clock: Pick<RuntimeClock, "now">, changes?: ChangeSink | undefined, delegation?: GroupDelegation | undefined, rotated?: Deck<RotatedCue> | undefined, groupChanges?: Deck<string> | undefined, receiptRetry?: Readonly<RetryPolicy>, forwarding?: GroupForwarding | undefined);
|
|
135
140
|
private readonly anchorQuery;
|
|
136
141
|
/**
|
|
137
142
|
* Begin counseling an event. Idempotent and safe before local acceptance.
|
|
@@ -169,7 +174,10 @@ export declare class Counselor {
|
|
|
169
174
|
abandon(pre: string): void;
|
|
170
175
|
/** Whether completed events are held in memory for forwarding, which a pass retries without any store write. */
|
|
171
176
|
get holdsForwards(): boolean;
|
|
172
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* One pass over all stages, as KERIpy `processEscrows`, after aligning stored group members with accepted state
|
|
179
|
+
* so that a completion in this pass forwards to the members of the event that completed.
|
|
180
|
+
*/
|
|
173
181
|
processOnce(): Operation<void>;
|
|
174
182
|
/** What became of the completed `event` this member forwarded to the others, per member; empty before it did. */
|
|
175
183
|
forwardOutcomes(event: GroupEventRef): readonly GroupDelivery[];
|
|
@@ -186,9 +194,22 @@ export declare class Counselor {
|
|
|
186
194
|
private publishDelegation;
|
|
187
195
|
/** Non-publishing duty: find the delegator's sealing event, pin it, and move on to receipts. */
|
|
188
196
|
private watchAnchor;
|
|
197
|
+
/**
|
|
198
|
+
* Bring each local group's stored members in line with its latest accepted establishment event, whoever proposed
|
|
199
|
+
* it and however late its last signature arrived (`Habery.alignGroupMembers`). A group is re-read only when that
|
|
200
|
+
* event differs from the one its members were last found to follow; one that cannot be attributed yet (a member's
|
|
201
|
+
* KEL is missing) is left as it is and read again on a later pass, which the arriving KEL's write brings about.
|
|
202
|
+
*
|
|
203
|
+
* After a change, an elected member whose latest establishment event already completed owes it again to the
|
|
204
|
+
* members it now has, and the group goes on `groupChanges` so the root replicator re-derives its copies.
|
|
205
|
+
*/
|
|
206
|
+
private alignMembers;
|
|
189
207
|
/** The elected member owes the completed event to the members that did not sign it into existence. */
|
|
190
208
|
private owe;
|
|
191
|
-
/**
|
|
209
|
+
/**
|
|
210
|
+
* Record completion of a counseled event and drop its row from `table`. A completed establishment event goes on
|
|
211
|
+
* `groupChanges`, and a completed rotation on `rotated` as well.
|
|
212
|
+
*/
|
|
192
213
|
private finish;
|
|
193
214
|
/** Complete events whose own witness threshold is met; otherwise submit or fetch receipts. */
|
|
194
215
|
private processWitnesses;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"counseling.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/counseling.ts"],"names":[],"mappings":"AAsCA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"counseling.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/counseling.ts"],"names":[],"mappings":"AAsCA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAK/C,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,eAAe,EAGrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,KAAK,UAAU,EAAgB,KAAK,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACjG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,EAAE,KAAK,aAAa,EAAsB,MAAM,yBAAyB,CAAC;AAEjF,4CAA4C;AAC5C,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,6CAA6C;AAC7C,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,CAAC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C,CAI3B"}
|
|
@@ -4,7 +4,13 @@ import type { Baser } from "../../db/basing.js";
|
|
|
4
4
|
import type { Hab, Habery } from "../identity/habbing.js";
|
|
5
5
|
/** True when the selected habitat is a local group habitat. */
|
|
6
6
|
export declare function isLocalGroupHab(hby: Habery, hab: Hab): boolean;
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Return the local member habitat for a persisted group identifier.
|
|
9
|
+
*
|
|
10
|
+
* @throws ValidationError when `groupPre` is not a local group (no habitat record names a local member).
|
|
11
|
+
* @throws MissingDurableStateError when the group's record names a local member the store does not hold: the
|
|
12
|
+
* store is damaged, which no remote message can cause (retirement refuses a local group's member).
|
|
13
|
+
*/
|
|
8
14
|
export declare function localGroupMember(hby: Habery, groupPre: string): Hab;
|
|
9
15
|
/** Find the member's latest accepted single-key contribution to the supplied group keys. */
|
|
10
16
|
export declare function latestGroupContribution(db: Baser, member: string, verfers: readonly Verfer[]): {
|
|
@@ -67,6 +73,16 @@ export declare function isAcceptedGroupMember(db: Baser, group: string, aid: str
|
|
|
67
73
|
* index or an authenticated parent wrapper alone is not recorded child approval.
|
|
68
74
|
*/
|
|
69
75
|
export declare function localIpexContribution(db: Baser, member: string, embedded: SerderKERI, proofs: readonly TransIdxSigGroup[]): TransIdxSigGroup | null;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the group signatures a member received on the group-authored message `embedded`, from every copy it holds,
|
|
78
|
+
* together satisfy the threshold of the accepted group establishment event they name. Only signatures that verify
|
|
79
|
+
* against that event count, and copies naming different events are not pooled, so a message below the threshold, or
|
|
80
|
+
* one signed under keys this store has not accepted, reads false.
|
|
81
|
+
*
|
|
82
|
+
* This is the rule under which a member takes a group message it did not sign: accepting what already carries the
|
|
83
|
+
* group's threshold adds no signature, so it is not consent.
|
|
84
|
+
*/
|
|
85
|
+
export declare function groupThresholdSigned(db: Baser, embedded: SerderKERI, proofs: readonly TransIdxSigGroup[]): boolean;
|
|
70
86
|
/** Members of a group's latest accepted establishment event, ordered by key index. */
|
|
71
87
|
export interface AcceptedGroupMembers {
|
|
72
88
|
event: SerderKERI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-members.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/group-members.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAE1D,+DAA+D;AAC/D,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAE9D;AAED
|
|
1
|
+
{"version":3,"file":"group-members.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/group-members.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAE1D,+DAA+D;AAC/D,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAE9D;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,GAAG,CAQnE;AAED,4FAA4F;AAC5F,wBAAgB,uBAAuB,CACrC,EAAE,EAAE,KAAK,EACT,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,SAAS,MAAM,EAAE,GACzB;IAAE,KAAK,EAAE,UAAU,CAA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AC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAepF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,KAAK,EACT,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,UAAU,EACpB,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAClC,gBAAgB,GAAG,IAAI,CAczB;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAAG,OAAO,CAelH;AAED,sFAAsF;AACtF,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,EAAE,EAAE,KAAK,EACT,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,GAC3B,oBAAoB,GAAG,IAAI,CAqC7B"}
|
|
@@ -300,7 +300,10 @@ export declare class Multiplexor {
|
|
|
300
300
|
childHandlerFor(serder: SerderKERI, nests?: readonly CesrFrame[]): ExchangeRouteHandler | null;
|
|
301
301
|
/** V2 child replay borrows the caller's configured IPEX, registry, reply and KRAM owners. */
|
|
302
302
|
private v2IpexOwners;
|
|
303
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* Index an authenticated proposal. Its child is accepted, with its own proofs, after local approval, or without one
|
|
305
|
+
* when the signatures received for it already complete it (see {@link alreadyComplete} and {@link groupIpexFollowable}).
|
|
306
|
+
*/
|
|
304
307
|
add(serder: SerderKERI, nests?: readonly CesrFrame[]): Operation<MultisigDecision>;
|
|
305
308
|
/**
|
|
306
309
|
* Whether the proposed event is already signed by enough keys to be the group's next event or reply, so that a
|
|
@@ -310,6 +313,8 @@ export declare class Multiplexor {
|
|
|
310
313
|
* membership change waits for approval); a reply against the group's current establishment.
|
|
311
314
|
*/
|
|
312
315
|
private alreadyComplete;
|
|
316
|
+
/** This wrapper's child first, then the children of the accepted wrappers already indexed for the same message. */
|
|
317
|
+
private receivedCopies;
|
|
313
318
|
/** Whether a rotation proposal names exactly the group's current signing members and rotation members. */
|
|
314
319
|
private namesCurrentMembers;
|
|
315
320
|
/** Return true when this wrapper can be accepted for local group work. */
|
|
@@ -344,6 +349,17 @@ export declare class Multiplexor {
|
|
|
344
349
|
private isLocalGroup;
|
|
345
350
|
private isLocalHab;
|
|
346
351
|
}
|
|
352
|
+
/**
|
|
353
|
+
* Whether a member takes, without consent, the v2 group IPEX message that `copies` carry: the children of the stored
|
|
354
|
+
* `/multisig/exn` wrappers it received for that message, the first naming it. It does when the message belongs to a
|
|
355
|
+
* local group, the copies sign it to the group's threshold ({@link groupThresholdSigned}), the exchange it answers
|
|
356
|
+
* (if any) is accepted here, and it is not a group issuer's DH Grant, which the issuance owner follows instead.
|
|
357
|
+
* Accepting such a message adds no signature, so it is not consent; one below the threshold waits for approval.
|
|
358
|
+
*
|
|
359
|
+
* KERIpy's `Multiplexor.add` replays a child only after local approval, so a KERIpy member that did not sign holds
|
|
360
|
+
* only the proposal. keri-ts delivers to, and completes at, every member regardless of weight.
|
|
361
|
+
*/
|
|
362
|
+
export declare function groupIpexFollowable(hby: Habery, copies: readonly CesrFrame[]): boolean;
|
|
347
363
|
/** Extract the embedded business EXN SAD from a `/multisig/exn` wrapper. */
|
|
348
364
|
export declare function embeddedBusinessExnSAD(serder: SerderKERI): Record<string, unknown> | null;
|
|
349
365
|
/** Decoded v1 child and its own proof bytes; the signed hint cannot override a body's explicit genus. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouping.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/grouping.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,KAAK,S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,SAAS,SAAS,EAAE,GAAG,OAAO,CAetF;AAED,4EAA4E;AAC5E,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAIzF;AAED,yGAAyG;AACzG,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,UAAU,CAAC;CACnB;AACD,mGAAmG;AACnG,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAOnG;AAED,qFAAqF;AACrF,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ,aAAa,CAIf;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,GACZ,UAAU,CASZ"}
|
|
@@ -86,14 +86,6 @@ export interface MultisigApprovalOptions {
|
|
|
86
86
|
*/
|
|
87
87
|
export declare function publishProposal(hby: Habery, protocol: ProtocolProcessor, postman: Poster, member: Hab, recipients: readonly string[], proposal: MultisigEventProposal, embeddedMessage: Uint8Array, childGvrsn?: Versionage, wrapperVersion?: Versionage): Operation<GroupSendResult>;
|
|
88
88
|
/** True when a KEL event is accepted locally. */
|
|
89
|
-
/**
|
|
90
|
-
* Commit the members of a locally accepted group establishment event.
|
|
91
|
-
*
|
|
92
|
-
* Only the current latest establishment event commits; replaying an older
|
|
93
|
-
* approval must not restore historical group membership. Returns whether the
|
|
94
|
-
* members were committed.
|
|
95
|
-
*/
|
|
96
|
-
export declare function commitAcceptedGroupMembers(hby: Habery, serder: SerderKERI, smids: readonly string[], rmids: readonly string[]): boolean;
|
|
97
89
|
export declare function eventAccepted(hby: Habery, serder: SerderKERI): boolean;
|
|
98
90
|
export declare function routeForKelEvent(serder: SerderKERI): MultisigKelRoute | null;
|
|
99
91
|
/** Collaborators the ACDC v2 registry approval adds to the shared channels. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multisig-workflows.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/multisig-workflows.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,OAAO,EAWL,UAAU,EACV,UAAU,EAIV,KAAK,UAAU,EAEhB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAAgB,MAAM,EAAiC,MAAM,4BAA4B,CAAC;AAIjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAW/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAS5D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAIjD,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,aAAa,EAIlB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EAMrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAIL,KAAK,eAAe,EAMrB,MAAM,yBAAyB,CAAC;AAEjC,6DAA6D;AAC7D,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,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;AACH,wBAAiB,kBAAkB,CACjC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,gBAAgB,EACzB,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,uBAAuB,GAC/B,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAsFlC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAiB,kBAAkB,CACjC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,OAAO,EAAE,gBAAgB,EACzB,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,uBAAuB,GAC/B,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAgIlC;AAyBD,2FAA2F;AAC3F,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,GAAG,MAAM,EAAE,CAGtE;AAkED,sGAAsG;AACtG,wBAAgB,WAAW,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI,GAAG,WAAW,GAAG,IAAI,CAyBrH;AA+ID,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEpF;AAwBD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnE;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnE"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Counselor, publishes the proposal to the other members and returns without
|
|
5
5
|
* waiting for them; observe progress with `counselor.status(result.event)`.
|
|
6
6
|
*
|
|
7
|
-
* Member add or remove is a rotation with new `smids` / `rmids`.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* Member add or remove is a rotation with new `smids` / `rmids`. The group's
|
|
8
|
+
* stored members change only once the rotation is accepted, and then follow
|
|
9
|
+
* accepted state with no further call (`Habery.alignGroupMembers`, run by the
|
|
10
|
+
* Counselor's pass), however late the last signature arrives.
|
|
11
11
|
*
|
|
12
12
|
* Dependencies are declared collaborators, not an AgentRuntime (ADR-0013).
|
|
13
13
|
*/
|
|
@@ -67,21 +67,6 @@ export declare function proposeGroupInception(deps: GroupProposeDeps, member: Ha
|
|
|
67
67
|
export declare function proposeGroupRotation(deps: GroupProposeDeps, group: Hab, { smids: newSmids, rmids: newRmids, ...args }?: GroupRotationSpec, inputs?: CounselInputs): Operation<GroupEventResult>;
|
|
68
68
|
/** Propose a group interaction event carrying `data`. */
|
|
69
69
|
export declare function proposeGroupInteraction(deps: GroupProposeDeps, group: Hab, data: unknown[], inputs?: CounselInputs, version?: MakeGroupHabArgs["version"]): Operation<GroupEventResult>;
|
|
70
|
-
/** What settling a proposed rotation reads of the proposal: its route, the counseled event and the named members. */
|
|
71
|
-
export interface ProposedRotation {
|
|
72
|
-
readonly route: GroupEventResult["route"];
|
|
73
|
-
readonly event: GroupEventRef;
|
|
74
|
-
readonly smids: readonly string[];
|
|
75
|
-
readonly rmids: readonly string[];
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Commit the members a proposed rotation named, once the rotation is accepted and
|
|
79
|
-
* is the group's latest establishment event. Idempotent; false until then, so a
|
|
80
|
-
* proposed newcomer is never adopted early. Other event kinds commit nothing.
|
|
81
|
-
*
|
|
82
|
-
* @throws ValidationError when the event is not an accepted event body held locally.
|
|
83
|
-
*/
|
|
84
|
-
export declare function settleProposedRotation(deps: Pick<GroupProposeDeps, "hby">, result: ProposedRotation): boolean;
|
|
85
70
|
/** Collaborators for {@link proposeRegistryEvent}. */
|
|
86
71
|
export interface RegistryProposeDeps extends GroupProposeDeps {
|
|
87
72
|
readonly registryStore: RegistryStore | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposing.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/proposing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAE5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EAEpC,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,yBAAyB,CAAC;AACnF,OAAO,EACL,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"proposing.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/proposing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,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AS,EAAE,OAAO,CAAC,CAAC;CAC9C;AAED,yGAAyG;AACzG,KAAK,QAAQ,CAAC,CAAC,SAAS;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,IAAI,CAAC,GAAG;IAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;CAAE,CAAC;AAOtF;;;;;;;GAOG;AACH,wBAAiB,yBAAyB,CACxC,IAAI,EAAE,qBAAqB,EAC3B,KAAK,EAAE,GAAG,EACV,OAAO,EAAE,+BAA+B,EACxC,MAAM,CAAC,EAAE,aAAa,GACrB,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAOrC;AAED,iHAAiH;AACjH,wBAAiB,sBAAsB,CACrC,IAAI,EAAE,qBAAqB,EAC3B,OAAO,EAAE,uBAAuB,EAChC,MAAM,CAAC,EAAE,aAAa,GACrB,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAOlC;AAED,mHAAmH;AACnH,wBAAiB,2BAA2B,CAC1C,IAAI,EAAE,qBAAqB,EAC3B,OAAO,EAAE,uBAAuB,EAChC,MAAM,CAAC,EAAE,aAAa,GACrB,SAAS,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAO7C"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rebuild a lost group habitat record from the group's accepted key state.
|
|
3
|
+
*
|
|
4
|
+
* A host can lose its store while its member identifier survives: the member is re-adopted at open
|
|
5
|
+
* (`Habery.makeSignedHab` for a signer held outside the store), but the record of the group it belongs to
|
|
6
|
+
* is gone. The group's KEL is still held by a co-member and reachable by OOBI. `rejoinGroup` resolves that
|
|
7
|
+
* OOBI, waits until the group's key state is accepted locally, reads the signing and rotation members of the
|
|
8
|
+
* group's latest accepted establishment event (`acceptedGroupMembers`, KERIpy `GroupHab.acceptedMembers`),
|
|
9
|
+
* and records the group with `Habery.joinGroupHab`.
|
|
10
|
+
*
|
|
11
|
+
* Boundaries:
|
|
12
|
+
* - Membership is decided by accepted key state only, never by caller-supplied member lists, and only by
|
|
13
|
+
* the member lists: a member whose signing weight is 0 is a member like any other.
|
|
14
|
+
* - The group's key state names keys, not identifiers. Attributing each key to a member needs every
|
|
15
|
+
* member's KEL to be local, and a group OOBI carries the group's KEL only. A caller resolves the other
|
|
16
|
+
* members' OOBIs first (or the wait ends `timed-out` with `waiting: "member-key-state"`).
|
|
17
|
+
* - Remote outcomes are returned (`RejoinResult`); only programmer misuse throws. A result other than
|
|
18
|
+
* `joined` writes no habitat record; key state the OOBI taught stays, as for any resolution.
|
|
19
|
+
* - Only the record is rebuilt. Credentials, registry state and exchanges the store held come back by
|
|
20
|
+
* replay from a co-member (`listGroupDisclosures`, `exportDisclosureStream`, `importCredentialStream`); this call
|
|
21
|
+
* does not request it. `written: true` on the result says such a refill is due.
|
|
22
|
+
* - Dependencies are declared collaborators (ADR-0013); an `AgentRuntime` fits.
|
|
23
|
+
*/
|
|
24
|
+
import type { Operation } from "effection";
|
|
25
|
+
import type { Oobiery } from "../bootstrap/oobiery.js";
|
|
26
|
+
import type { RootReplicator } from "../credentials/root-replicator.js";
|
|
27
|
+
import type { Hab, Habery } from "../identity/habbing.js";
|
|
28
|
+
import type { KelPublisher } from "../mailbox/kel-publisher.js";
|
|
29
|
+
import type { MailboxPoller } from "../mailbox/mailbox-poller.js";
|
|
30
|
+
import type { RuntimeClock } from "../runtime/runtime-clock.js";
|
|
31
|
+
import { type ChangeSink } from "../runtime/workflow-contract.js";
|
|
32
|
+
/** Collaborators of {@link rejoinGroup}. */
|
|
33
|
+
export interface RejoinDeps {
|
|
34
|
+
/** The Habery that holds `member`; the group record is written here. */
|
|
35
|
+
readonly hby: Habery;
|
|
36
|
+
/** Durable OOBI job owner; only its queueing entry is used. Something must be running it. */
|
|
37
|
+
readonly oobiery: Pick<Oobiery, "resolve">;
|
|
38
|
+
/** The runtime clock that bounds the wait. */
|
|
39
|
+
readonly clock: Pick<RuntimeClock, "now">;
|
|
40
|
+
/** Prompted for the group after a join, so the poller selects the group's mailboxes on its next tock. */
|
|
41
|
+
readonly mailboxPoller: Pick<MailboxPoller, "prompt">;
|
|
42
|
+
/** Prompted for the group after a join, so the group's KEL is posted to its mailboxes on the next tock. */
|
|
43
|
+
readonly kelPublisher: Pick<KelPublisher, "prompt">;
|
|
44
|
+
/** Prompted for the group after a join, or null for a runtime without one. */
|
|
45
|
+
readonly rootReplicator: Pick<RootReplicator, "prompt"> | null;
|
|
46
|
+
/** Told `{kind:"oobi"}` when the OOBI is queued and `{kind:"group"}` after a join. */
|
|
47
|
+
readonly changes?: ChangeSink;
|
|
48
|
+
}
|
|
49
|
+
/** What {@link rejoinGroup} needs. */
|
|
50
|
+
export interface RejoinInput {
|
|
51
|
+
/** OOBI of the group, served by a co-member that holds its KEL. */
|
|
52
|
+
oobi: string;
|
|
53
|
+
/** Group prefix. */
|
|
54
|
+
group: string;
|
|
55
|
+
/** The Habery's single-signature habitat that is a member in the group's accepted key state. */
|
|
56
|
+
member: Hab;
|
|
57
|
+
/** Local alias the group record takes. */
|
|
58
|
+
alias: string;
|
|
59
|
+
/** Wait budget on `deps.clock`, from queueing the OOBI to the member lists being readable. */
|
|
60
|
+
timeoutMs: number;
|
|
61
|
+
/** Namespace of the alias; the default namespace when absent. */
|
|
62
|
+
domain?: string;
|
|
63
|
+
}
|
|
64
|
+
/** What a `timed-out` rejoin was still waiting for. */
|
|
65
|
+
export type RejoinWait =
|
|
66
|
+
/** The OOBI had not reached a terminal state. */
|
|
67
|
+
"oobi"
|
|
68
|
+
/** The OOBI is done but the group has no accepted key state here (for example, an event is in escrow). */
|
|
69
|
+
| "group-key-state"
|
|
70
|
+
/** The member is in the group's accepted key state, but not every key of it can be attributed to a local KEL. */
|
|
71
|
+
| "member-key-state";
|
|
72
|
+
/**
|
|
73
|
+
* Outcome of {@link rejoinGroup}:
|
|
74
|
+
* - `joined`: the record names `member`; `smids` and `rmids` are the accepted members recorded (on a repeat,
|
|
75
|
+
* the members already recorded). `written` is true when this call wrote the record and false when it found the
|
|
76
|
+
* record already there. A written record means this identifier was already a member and this store had no record
|
|
77
|
+
* of the group, so the store holds none of the group's credentials either: the embedder's signal to refill them
|
|
78
|
+
* from a co-member.
|
|
79
|
+
* - `not-member`: `member` is in neither the signing nor the rotation members of the accepted state.
|
|
80
|
+
* - `oobi-failed`: the OOBI failed and the group has no accepted key state here; `reason` is the Oobiery's.
|
|
81
|
+
* - `timed-out`: the budget expired; `waiting` says on what.
|
|
82
|
+
*
|
|
83
|
+
* Only `joined` writes a habitat record.
|
|
84
|
+
*/
|
|
85
|
+
export type RejoinResult = {
|
|
86
|
+
outcome: "joined";
|
|
87
|
+
group: string;
|
|
88
|
+
alias: string;
|
|
89
|
+
smids: readonly string[];
|
|
90
|
+
rmids: readonly string[];
|
|
91
|
+
written: boolean;
|
|
92
|
+
} | {
|
|
93
|
+
outcome: "not-member";
|
|
94
|
+
group: string;
|
|
95
|
+
member: string;
|
|
96
|
+
} | {
|
|
97
|
+
outcome: "oobi-failed";
|
|
98
|
+
group: string;
|
|
99
|
+
reason: string;
|
|
100
|
+
} | {
|
|
101
|
+
outcome: "timed-out";
|
|
102
|
+
group: string;
|
|
103
|
+
timeoutMs: number;
|
|
104
|
+
waiting: RejoinWait;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Resolve `input.oobi`, wait for the group's accepted key state, and record the group with `input.member` as
|
|
108
|
+
* its local member, using the accepted members. Then the mailbox poller, the KEL publisher and the root
|
|
109
|
+
* replicator are prompted for the group, so each acts for it on its next tock. Creates no event and signs
|
|
110
|
+
* nothing. Observe-only: the host must already run the runtime's workers (see `workflow-contract.ts`).
|
|
111
|
+
*
|
|
112
|
+
* A record that already names `member` returns `joined` at once with `written: false`, with no OOBI and no write.
|
|
113
|
+
*
|
|
114
|
+
* @throws ValidationError for misuse: `member` is not a local single-signature habitat, `group` is a local
|
|
115
|
+
* single-signature habitat, the group already has a local record naming a different member (use
|
|
116
|
+
* `replaceGroupMember`), or `alias` is bound to another prefix.
|
|
117
|
+
*/
|
|
118
|
+
export declare function rejoinGroup(deps: RejoinDeps, input: RejoinInput): Operation<RejoinResult>;
|
|
119
|
+
//# sourceMappingURL=rejoin-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rejoin-group.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/rejoin-group.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAI3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,iCAAiC,CAAC;AAGhF,4CAA4C;AAC5C,MAAM,WAAW,UAAU;IACzB,wEAAwE;IACxE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,6FAA6F;IAC7F,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAC3C,8CAA8C;IAC9C,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;IAC1C,yGAAyG;IACzG,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IACtD,2GAA2G;IAC3G,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,Q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AAE,CAAC;AASpF;;;;;;;;;;;GAWG;AACH,wBAAiB,WAAW,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,CAAC,YAAY,CAAC,CA0B1F"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Hab } from "../identity/habbing.js";
|
|
2
|
+
import { type RetiredIdentifier } from "../identity/retire-identifier.js";
|
|
2
3
|
import type { AgentRuntime } from "../runtime/agent-runtime.js";
|
|
3
4
|
/** What {@link replaceGroupMember} needs. */
|
|
4
5
|
export interface ReplaceGroupMemberInput {
|
|
@@ -10,7 +11,17 @@ export interface ReplaceGroupMemberInput {
|
|
|
10
11
|
smids: readonly string[];
|
|
11
12
|
/** The group's accepted rotation members; defaults to `smids`. */
|
|
12
13
|
rmids?: readonly string[];
|
|
14
|
+
/** Keep the previous member as a local identifier instead of retiring it. Default false. */
|
|
15
|
+
keepPrevious?: boolean;
|
|
13
16
|
}
|
|
17
|
+
/** What became of the previous member: retired, or kept as a local identifier with the reason. */
|
|
18
|
+
export type PreviousMemberOutcome = {
|
|
19
|
+
kind: "retired";
|
|
20
|
+
retired: RetiredIdentifier;
|
|
21
|
+
} | {
|
|
22
|
+
kind: "kept";
|
|
23
|
+
reason: string;
|
|
24
|
+
};
|
|
14
25
|
/** What {@link replaceGroupMember} did. */
|
|
15
26
|
export interface ReplacedGroupMember {
|
|
16
27
|
/** The member the record named before. */
|
|
@@ -19,9 +30,12 @@ export interface ReplacedGroupMember {
|
|
|
19
30
|
issuance: string[];
|
|
20
31
|
/** Grants of the Unblind operations ended. */
|
|
21
32
|
unblinding: string[];
|
|
33
|
+
/** Whether the previous member was retired, and why not when it was kept. */
|
|
34
|
+
previousMember: PreviousMemberOutcome;
|
|
22
35
|
}
|
|
23
36
|
/**
|
|
24
|
-
* Replace the local member of `input.group`,
|
|
37
|
+
* Replace the local member of `input.group`, end live operations bound to the previous one, then retire the
|
|
38
|
+
* previous one unless it is kept (see the module doc).
|
|
25
39
|
*
|
|
26
40
|
* @throws ValidationError when `joinGroupHab` refuses: the group has no accepted state, the previous member is
|
|
27
41
|
* still a member of it, or the new one is not.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-member.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/replace-member.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"replace-member.d.ts","sourceRoot":"","sources":["../../../src/app/multisig/replace-member.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,iBAAiB,EAA6C,MAAM,kCAAkC,CAAC;AACrH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,6CAA6C;AAC7C,MAAM,WAAW,uBAAuB;IACtC,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,MAAM,EAAE,GAAG,CAAC;IACZ,0EAA0E;IAC1E,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,kEAAkE;IAClE,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,4FAA4F;IAC5F,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,kGAAkG;AAClG,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,iBAAiB,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAErC,2CAA2C;AAC3C,MAAM,WAAW,mBAAmB;IAClC,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,8CAA8C;IAC9C,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,6EAA6E;IAC7E,cAAc,EAAE,qBAAqB,CAAC;CACvC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,uBAAuB,GAAG,mBAAmB,CAe7G"}
|
|
@@ -32,6 +32,8 @@ export interface ExchangerLike {
|
|
|
32
32
|
mailboxAid?: string | null;
|
|
33
33
|
/** Receiver-observed time supplied by local intake, independent of signed wire. */
|
|
34
34
|
receiverTime?: string;
|
|
35
|
+
/** Retained history from a finite local import, admitted without KRAM (`DispatchOptions.retained`). */
|
|
36
|
+
retained?: boolean;
|
|
35
37
|
}): Operation<void | ExchangeDecision>;
|
|
36
38
|
}
|
|
37
39
|
export interface TelDispatchArgs {
|
|
@@ -120,13 +122,30 @@ export interface DispatchResult {
|
|
|
120
122
|
* @param messageKevery Authoritative shared message-policy/KRAM processor when distinct from input Kevery.
|
|
121
123
|
* @param registry V2 registry intake over accepted public KEL state, without requiring a local alias.
|
|
122
124
|
* @param qvy Optional auxiliary query owner; receives full evidence after v2 message admission.
|
|
125
|
+
* @param retained Whether this is retained history from a finite local import (`DispatchOptions.retained`): a v2
|
|
126
|
+
* `exn`/`xip` then skips KRAM intake and reaches the Exchanger marked retained. Network intake never sets it.
|
|
123
127
|
* @returns The processed envelope and protocol-specific decision data.
|
|
124
128
|
* @throws Unsupported input and infrastructure/handler failures follow their owning processor contracts.
|
|
125
129
|
*/
|
|
126
130
|
export declare function dispatchEnvelope(envelope: KeriDispatchEnvelope, revery: Revery, kevery: Kevery, exchanger?: ExchangerLike, tevery?: Tevery, verifier?: Verifier, mailboxAid?: string | null,
|
|
127
131
|
/** Long-lived v2 message policy/KRAM owner; input-specific Kevery handles KEL and legacy traffic. */
|
|
128
|
-
messageKevery?: Kevery, registry?: RegistryObserver, qvy?: AuxiliaryQueryProcessor): Operation<DispatchResult>;
|
|
129
|
-
/**
|
|
132
|
+
messageKevery?: Kevery, registry?: RegistryObserver, qvy?: AuxiliaryQueryProcessor, retained?: boolean): Operation<DispatchResult>;
|
|
133
|
+
/**
|
|
134
|
+
* Whether a frame carries nested messages that no completed consumer owns.
|
|
135
|
+
*
|
|
136
|
+
* Only supported exchange routes, IPEX disclosure `xip`s and the v2 Unblind query retain parent-owned children; any
|
|
137
|
+
* other frame with children is unsupported input. A remote frame is refused as one invalid message
|
|
138
|
+
* (`ProtocolProcessor.dispatch`); {@link envelopeFromFrame} refuses it with a `ValidationError`.
|
|
139
|
+
*/
|
|
140
|
+
export declare function hasUnsupportedNests(message: CesrFrame): boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Project one complete frame for message routing without an intermediate event array.
|
|
143
|
+
*
|
|
144
|
+
* Only completed consumers may retain parent-owned children through normalization. A frame with children no consumer
|
|
145
|
+
* owns is usually a remote child nested inside a parent (a BUP inside an Unblind query, an event inside a multisig or
|
|
146
|
+
* IPEX exchange): it is refused with a `ValidationError`, which the parent's processor reports as its own typed
|
|
147
|
+
* refusal (an invalid-message drop, a rejected escrow row), never a fault that ends the runtime.
|
|
148
|
+
*/
|
|
130
149
|
export declare function envelopeFromFrame(message: CesrFrame, local?: boolean): KeriDispatchEnvelope;
|
|
131
150
|
/** Own an auxiliary query's normalized full proof and public nested evidence beyond synchronous intake. */
|
|
132
151
|
export declare function copyAuxiliaryQuery(envelope: KeriDispatchEnvelope): KeriDispatchEnvelope;
|