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.
- package/esm/keri/npm/src/_dnt.polyfills.js +14 -14
- 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/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 +177 -43
- 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 +109 -23
- package/esm/keri/npm/src/app/ipex/ipex-discloser.js +36 -22
- 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 +131 -35
- 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 +16 -3
- 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 +41 -72
- package/esm/keri/npm/src/app/runtime/cue-runtime.js +45 -5
- 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 +8 -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/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 +28 -19
- 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/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/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 +69 -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 +48 -6
- package/types/app/ipex/group-issuance.d.ts.map +1 -1
- package/types/app/ipex/ipex-discloser.d.ts +14 -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 +35 -11
- 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 +4 -1
- 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/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 +6 -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/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.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":"issuance.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/issuance.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"issuance.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/issuance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,OAAO,EAML,UAAU,EACV,KAAK,UAAU,EACf,KAAK,UAAU,EAEhB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAQ,KAAK,SAAS,EAAQ,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,KAAK,kBAAkB,EAAmB,MAAM,uBAAuB,CAAC;AACjF,OA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C,aAAa,CAAC,CAiBnH;AAED,qGAAqG;AACrG,wBAAiB,oBAAoB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,CAE9G;AAED;;;;;;;GAOG;AACH,wBAAiB,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,aAAa,CAAC,CAe9F;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,MAAM,EACb,MAAM,SAA0B,EAChC,KAAK,GAAE,aAAkB,GACxB,IAAI,CASN"}
|
|
@@ -39,7 +39,7 @@ export interface PendingApply {
|
|
|
39
39
|
message: string;
|
|
40
40
|
/** The disclosure the applicant asks for; empty when the Apply names none. */
|
|
41
41
|
plan: DisclosurePlan;
|
|
42
|
-
/** The Apply's exchange deadline (ISO 8601)
|
|
42
|
+
/** The Apply's exchange deadline (ISO 8601); null when KRAM is off, so the exchange has no lifetime. */
|
|
43
43
|
deadline: string | null;
|
|
44
44
|
state: ApplyState;
|
|
45
45
|
/** SAID of the exchange that answered it (an Offer or a Spurn); null while `pending`. */
|
|
@@ -55,7 +55,9 @@ export interface ApplyListOptions {
|
|
|
55
55
|
/**
|
|
56
56
|
* The accepted v2 Applies addressed to a local identifier (to `hab` when given) that no exchange has answered
|
|
57
57
|
* (no `erpy` pointer) and whose deadline has not passed; with `includeAnswered`, the answered ones too. Mutates
|
|
58
|
-
* nothing. A group member lists the Applies of its group once the group has accepted them.
|
|
58
|
+
* nothing. A group member lists the Applies of its group once the group has accepted them. The deadline is the
|
|
59
|
+
* Apply's own stamp plus the exchange window once KRAM has pruned its cache row, so an expired Apply stays
|
|
60
|
+
* omitted after the prune.
|
|
59
61
|
*/
|
|
60
62
|
export declare function pendingApplies(deps: {
|
|
61
63
|
readonly hby: Habery;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
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,CACtB,GAAG,EAAE,sBAAsB,EAC3B,KAAK,EAAE,iBAAiB,GACvB,SAAS,CAAC,iBAAiB,CAAC,CAO9B;AAmBD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE,MAAM,GACX,kBAAkB,CAwBpB;AAED,+CAA+C;AAC/C,MAAM,WAAW,uBAAuB;IACtC,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,sDAAsD;IACtD,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC;CACjD;AAED;;;GAGG;AACH,wBAAiB,mBAAmB,CAClC,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE,MAAM,EACZ,EAAE,SAAS,EAAE,KAAsB,EAAE,KAA6C,EAAE,EAAE,uBAAuB,GAC5G,SAAS,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAO3C;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE,MAAM,EACZ,MAAM,SAA0B,GAC/B,IAAI,CASN;AAED;;;;;;;;GAQG;AACH,wBAAiB,kBAAkB,CACjC,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE,MAAM,GACX,SAAS,CAAC,iBAAiB,CAAC,CAuB9B"}
|
|
@@ -93,7 +93,8 @@ export interface TimedOutIssuance {
|
|
|
93
93
|
* wait for the issuer to finish it, then admit and deliver ({@link admitAndDeliver}).
|
|
94
94
|
*
|
|
95
95
|
* @throws ValidationError for a Grant that is not addressed to a local identifier, one this runtime issued, or a
|
|
96
|
-
* group identifier
|
|
96
|
+
* group identifier; its subclass `KramRefusedError` (reason `lifetime`, with the deadline) for a Grant whose
|
|
97
|
+
* deadline passed before the stores could say more (its cache row pruned or the Grant ejected from escrow).
|
|
97
98
|
*/
|
|
98
99
|
export declare function receiveIssuance(ops: IssuanceOperations, input: ReceiveIssuanceInput): Operation<ReceiveIssuanceOutcome>;
|
|
99
100
|
//# sourceMappingURL=receive-issuance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receive-issuance.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/receive-issuance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAI3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACL,KAAK,SAAS,EAId,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAGpB,MAAM,eAAe,CAAC;AAEvB,8DAA8D;AAC9D,eAAO,MAAM,yBAAyB,QAAS,CAAC;AAEhD,4GAA4G;AAC5G,MAAM,MAAM,UAAU,GAAG,CAAC,QAAQ,EAAE,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,CAAC;AAEtE,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAAG;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,EAAE,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnH,yCAAyC;AACzC,MAAM,WAAW,oBAAoB;IACnC,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,sGAAsG;IACtG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAA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,CAAC,CA0BhH;AAED,yCAAyC;AACzC,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,gEAAgE;IAChE,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,6DAA6D;AAC7D,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,cAAc,EAAE;IAAE,KAAK,EAAE,gBAAgB,CAAA;CAAE,CAAC,CAAC;AAEvF,yCAAyC;AACzC,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAEzF;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,4CAA4C;AAC5C,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,0GAA0G;AAC1G,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,wBAAiB,eAAe,CAC9B,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,oBAAoB,GAC1B,SAAS,CAAC,sBAAsB,CAAC,CA6BnC"}
|
|
@@ -192,7 +192,8 @@ export declare class UnblindingOperations {
|
|
|
192
192
|
owes(grant: string, role?: UnblindingRole): boolean;
|
|
193
193
|
/**
|
|
194
194
|
* Whether a pass has work: a live operation, or an owner holds an authenticated peer query whose reply is
|
|
195
|
-
* owed (an in-memory walk of the owners, no store read).
|
|
195
|
+
* owed (an in-memory walk of the owners, no store read). Finding what is owed reprocesses held queries, which
|
|
196
|
+
* answers them (signs), so an owner whose habitat cannot sign yet is skipped here as it is in `adopt`.
|
|
196
197
|
*/
|
|
197
198
|
active(): boolean;
|
|
198
199
|
/** Advance every live operation by one pass, each bounded by its Grant deadline. */
|
|
@@ -213,6 +214,8 @@ export declare class UnblindingOperations {
|
|
|
213
214
|
* Releasing the approval drops the owner's held query. Returns the Grants ended.
|
|
214
215
|
*/
|
|
215
216
|
endBoundToMember(group: string, member: string, reason: string): string[];
|
|
217
|
+
/** Grants of the live Unblind operations whose habitat is `pre`. */
|
|
218
|
+
grantsOf(pre: string): string[];
|
|
216
219
|
/** Drop the live entry and the owner's approval and frozen messages; delivered bytes stay the peer's. */
|
|
217
220
|
private release;
|
|
218
221
|
private finished;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unblinding-workflow.d.ts","sourceRoot":"","sources":["../../../src/app/ipex/unblinding-workflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAc,KAAK,SAAS,EAA4C,UAAU,EAAY,MAAM,SAAS,CAAC;AACrH,OAAO,EAAQ,KAAK,SAAS,EAAQ,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAInD,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,KAAK,WAAW,EAA2D,MAAM,yBAAyB,CAAC;AAGpH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,KAAK,eAAe,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAErF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CA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AAO,GAAE,iBAAsB,GAC9B,eAAe,CAQjB;AA+DD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,oBAAoB,EACzB,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,eAAoB,GAC1B,gBAAgB,CAsClB;AAqBD,6CAA6C;AAC7C,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAiB,iBAAiB,CAChC,GAAG,EAAE,oBAAoB,EACzB,KAAK,EAAE,MAAM,EACb,EAAE,SAAS,EAAE,KAAsB,EAAE,IAAI,EAAE,EAAE,qBAAqB,GACjE,SAAS,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAOzC;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,oBAAoB,EACzB,KAAK,EAAE,MAAM,EACb,MAAM,SAA0B,EAChC,KAAK,GAAE,eAAoB,GAC1B,IAAI,CASN"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The host's inbox rules: what a host keeps for pickup by an identifier that runs elsewhere, under the storing roles
|
|
3
|
+
* it honours (`mailbox` and `agent`), and which raw arrivals it keeps for an identifier that authorized it as `agent`.
|
|
4
|
+
*
|
|
5
|
+
* A KERIpy or KERIA sender reaches an agent with `sendDirect`: one bare signed message per request, no `/fwd`, no
|
|
6
|
+
* topic and often no recipient (keripy forwarding.py `Poster.deliverDo`; keria indirecting.py `HttpEnd.on_post`).
|
|
7
|
+
* The agent processes that message as its own input (dispatch is the single ingest). For an identifier that runs
|
|
8
|
+
* elsewhere (an edge) and authorized this host as its agent, the host also keeps one copy in the edge's mailbox
|
|
9
|
+
* topic, where the edge polls it. This module decides that copy and writes it; it owns no store and no registry and
|
|
10
|
+
* reads only accepted `ends.` rows, local habitats and accepted key state.
|
|
11
|
+
*
|
|
12
|
+
* A `/fwd` names its recipient and topic; the forward handler stores it under {@link keepsForPickup} and
|
|
13
|
+
* {@link ownTraffic}. A raw arrival is kept only under the `agent` role: a sender reaches a `mailbox` with `/fwd`.
|
|
14
|
+
*
|
|
15
|
+
* Raw-arrival rules:
|
|
16
|
+
* - Principal: an identifier with an allowed or enabled `ends.[cid, agent, host]` row.
|
|
17
|
+
* - With a named recipient R, the one principal is R when it authorized the host as agent and
|
|
18
|
+
* {@link keepsForPickup}; otherwise nothing is kept.
|
|
19
|
+
* - With no named recipient, every principal that is not a local habitat (a local group is processed by its hosted
|
|
20
|
+
* co-member through dispatch, so the edge receives one copy under its member AID).
|
|
21
|
+
* - Never kept: {@link ownTraffic}, a message whose originator is a local habitat, a principal of the host, or a
|
|
22
|
+
* member of the recipient group (an edge's own traffic, or a local group's own events); and a message whose topic,
|
|
23
|
+
* derived from its remote route, the mailbox store cannot key.
|
|
24
|
+
* - Kept only when the body verifies its SAID, carries attached authentication, and the agent's own processor
|
|
25
|
+
* decided it ({@link keptDecision}). The edge is the verifier of signatures and state and re-verifies everything,
|
|
26
|
+
* so a decision that waits on state is kept: `accept`, `escrow`, KRAM `pending`/`missing` and an `unverified`
|
|
27
|
+
* reply. The agent never keeps what it could not decode: dispatch refuses malformed field values as a typed
|
|
28
|
+
* `reject` or `drop` before any escrow decision (`core/wire-fields.ts`), and those are not kept; nor is a message
|
|
29
|
+
* no processor decided, except a receipt, whose processor decodes it and reports none.
|
|
30
|
+
*/
|
|
31
|
+
import { type CesrFrame, SerderACDC, SerderKERI } from "cesr-ts";
|
|
32
|
+
import type { Operation } from "effection";
|
|
33
|
+
import type { Habery } from "../identity/habbing.js";
|
|
34
|
+
import { type DispatchDecision } from "../protocol/parsering.js";
|
|
35
|
+
import type { MailboxDirector } from "./mailbox-director.js";
|
|
36
|
+
/**
|
|
37
|
+
* Whether `cid` authorized `hostAid` under a storing role: row `ends.[cid, mailbox, hostAid]` or
|
|
38
|
+
* `ends.[cid, agent, hostAid]`, allowed or enabled. Witness membership is not a storing role here.
|
|
39
|
+
*
|
|
40
|
+
* @param hby Borrowed local habitat collection and accepted-state database.
|
|
41
|
+
* @param cid Identifier whose end-role authorization is read.
|
|
42
|
+
* @param hostAid Endpoint AID the role must name.
|
|
43
|
+
* @returns True when either row authorizes the host.
|
|
44
|
+
*/
|
|
45
|
+
export declare function authorizedStoringHost(hby: Habery, cid: string, hostAid: string): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether `cid` authorized `hostAid` as its agent: row `ends.[cid, agent, hostAid]`, allowed or enabled.
|
|
48
|
+
*
|
|
49
|
+
* @param hby Borrowed local habitat collection and accepted-state database.
|
|
50
|
+
* @param cid Identifier whose end-role authorization is read.
|
|
51
|
+
* @param hostAid Local endpoint AID the role must name.
|
|
52
|
+
* @returns True when the accepted row authorizes the host.
|
|
53
|
+
*/
|
|
54
|
+
export declare function authorizedAgent(hby: Habery, cid: string, hostAid: string): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Whether this host keeps mail for pickup for `recipient`: the recipient authorized it under a storing role
|
|
57
|
+
* ({@link authorizedStoringHost}) and is either remote (an edge) or a local group (whose remote members poll the
|
|
58
|
+
* group's mailbox). A local single-sig habitat processes its own mail here and has nobody to pick it up.
|
|
59
|
+
*
|
|
60
|
+
* @param hby Borrowed local habitat collection and accepted-state database.
|
|
61
|
+
* @param recipient Identifier the message is addressed to.
|
|
62
|
+
* @param hostAid Local endpoint AID that received the message.
|
|
63
|
+
* @returns True when the host keeps a copy in the recipient's mailbox.
|
|
64
|
+
*/
|
|
65
|
+
export declare function keepsForPickup(hby: Habery, recipient: string, hostAid: string): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Whether a message is traffic of the very identifiers that would pick it up, which is never kept: its originator
|
|
68
|
+
* is a local habitat, authorized `hostAid` as agent, or is an accepted member of the recipient group (the edge
|
|
69
|
+
* member that polls the group's mailbox). An edge does not pick up what it sent, and a local group's own events
|
|
70
|
+
* reach its remote members through their own exchanges.
|
|
71
|
+
*
|
|
72
|
+
* @param hby Borrowed local habitat collection and accepted-state database.
|
|
73
|
+
* @param originator The message's own `i` (an ACDC's issuer), or null when it names none.
|
|
74
|
+
* @param recipient Named recipient, or null when the message names none.
|
|
75
|
+
* @param hostAid Local endpoint AID that received the message.
|
|
76
|
+
* @returns True when the message must not be kept.
|
|
77
|
+
*/
|
|
78
|
+
export declare function ownTraffic(hby: Habery, originator: string | null, recipient: string | null, hostAid: string): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* The recipient a raw message names, or null when it names none.
|
|
81
|
+
*
|
|
82
|
+
* An exn or xip names it in `rp` (v1) or `ri` (v2) when non-empty. A delegated event is addressed to its delegator:
|
|
83
|
+
* a `dip` carries it in `di`; a `drt` carries no `di`, so its delegator is read from the delegate's accepted key
|
|
84
|
+
* state (dispatch has already run, so a `drt` the agent accepted or escrowed has its `dip` behind it).
|
|
85
|
+
*
|
|
86
|
+
* @param hby Borrowed accepted-state database, read only for a `drt`'s delegator.
|
|
87
|
+
* @param serder Raw message body.
|
|
88
|
+
* @returns Named recipient AID, or null.
|
|
89
|
+
*/
|
|
90
|
+
export declare function rawRecipient(hby: Habery, serder: SerderKERI): string | null;
|
|
91
|
+
/**
|
|
92
|
+
* Mailbox topic for a raw message; null means it is never kept.
|
|
93
|
+
*
|
|
94
|
+
* | body | topic |
|
|
95
|
+
* | --- | --- |
|
|
96
|
+
* | exn/xip | `mailboxTopicForRoute(route)` |
|
|
97
|
+
* | exn `/fwd`, qry, other ilks | null (host-addressed transport or nothing to pick up) |
|
|
98
|
+
* | dip/drt addressed to its delegator | `/delegate` |
|
|
99
|
+
* | other KEL events | `/replay` |
|
|
100
|
+
* | rct | `/receipt` |
|
|
101
|
+
* | rpy | `/reply` |
|
|
102
|
+
* | TEL events and ACDC bodies | `/credential` |
|
|
103
|
+
*
|
|
104
|
+
* @param body Raw message body.
|
|
105
|
+
* @param recipient Recipient from {@link rawRecipient}; for a dip/drt, its delegator.
|
|
106
|
+
* @returns Mailbox topic, or null.
|
|
107
|
+
*/
|
|
108
|
+
export declare function rawMailboxTopic(body: SerderKERI | SerderACDC, recipient: string | null): string | null;
|
|
109
|
+
/** One raw message the host's ingress has just dispatched. */
|
|
110
|
+
export interface RawArrival {
|
|
111
|
+
/** The complete parsed frame, borrowed from the request parser for this call. */
|
|
112
|
+
readonly frame: CesrFrame;
|
|
113
|
+
/** Local endpoint AID the request addressed. */
|
|
114
|
+
readonly hostAid: string;
|
|
115
|
+
/** The agent's own dispatch decision for this frame. */
|
|
116
|
+
readonly decision: DispatchDecision | undefined;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Store one dispatched raw arrival once for each of its principals (see the module rules).
|
|
120
|
+
*
|
|
121
|
+
* @param director Borrowed mailbox owner; a host without a mailbox store keeps nothing.
|
|
122
|
+
* @param arrival The dispatched frame, its host and the agent's decision.
|
|
123
|
+
* @returns Number of mailbox entries written.
|
|
124
|
+
*/
|
|
125
|
+
export declare function keepRawArrival(director: MailboxDirector, arrival: RawArrival): Operation<number>;
|
|
126
|
+
//# sourceMappingURL=agent-inbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-inbox.d.ts","sourceRoot":"","sources":["../../../src/app/mailbox/agent-inbox.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EACL,KAAK,SAAS,EAId,UAAU,EACV,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAU3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,KAAK,gBAAgB,EAAqB,MAAM,0BAA0B,CAAC;AAEpF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAI7D;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,GAAG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ated /fwd intake: deliver locally or re-forward for senders this host serves, else store for recipients. */
|
|
2
2
|
import { type CesrFrame, SerderKERI } from "cesr-ts";
|
|
3
3
|
import { type Operation } from "effection";
|
|
4
|
+
import type { Poster } from "../delivery/forwarding.js";
|
|
4
5
|
import type { ExchangeAttachment, ExchangeRouteHandler } from "../exchanges/exchanging.js";
|
|
6
|
+
import type { Habery } from "../identity/habbing.js";
|
|
7
|
+
import type { Reactor } from "../protocol/reactor.js";
|
|
5
8
|
import type { MailboxDirector } from "./mailbox-director.js";
|
|
6
9
|
/**
|
|
7
|
-
* Accepted `/fwd` route handler that stores embedded payloads in mailbox topics
|
|
10
|
+
* Accepted `/fwd` route handler that stores embedded payloads in mailbox topics and, on a relaying host, delivers
|
|
11
|
+
* a served sender's payloads onward.
|
|
8
12
|
*
|
|
9
13
|
* This is the `keri-ts` mailbox-storage analogue to KERIpy's `ForwardHandler`.
|
|
10
14
|
*
|
|
11
|
-
*
|
|
12
|
-
* - the
|
|
13
|
-
*
|
|
15
|
+
* Paths, in order; exactly one runs for one `/fwd`:
|
|
16
|
+
* - ingest: the recipient is a habitat of this Habery and either this host
|
|
17
|
+
* keeps the recipient's mail for pickup (`keepsForPickup`: a local group that
|
|
18
|
+
* authorized it as mailbox or agent), whoever the sender is and whether or
|
|
19
|
+
* not the host relays, or the host relays and the `/fwd` sender is served.
|
|
20
|
+
* The child goes through this runtime's own byte ingress as remote input
|
|
21
|
+
* addressed to that habitat's endpoint, so
|
|
22
|
+
* signature, KRAM and escrow rules apply as for any received message. This is
|
|
23
|
+
* how an edge's group co-member hosted on the agent receives every group
|
|
24
|
+
* message. When the host keeps mail for pickup and the child is not
|
|
25
|
+
* `ownTraffic` (its originator is a local habitat, an agent principal of the
|
|
26
|
+
* host, or a member of the group, i.e. the edge that would pick it up), it is
|
|
27
|
+
* also stored once in the group's mailbox topic for its remote members: one
|
|
28
|
+
* ingest, one stored copy. A third party's `/fwd` to the group is ingested and
|
|
29
|
+
* stored; the edge's own is ingested only. This ingest is the only local
|
|
30
|
+
* delivery of a pickup group's mail: the host's `MailboxPoller` never polls
|
|
31
|
+
* its own endpoint for that group, so the stored copy is for remote members.
|
|
32
|
+
* - store: the request-scoped mailbox AID passed with this message must
|
|
33
|
+
* currently be authorized for the addressed recipient (witness, mailbox or
|
|
34
|
+
* agent). A recipient this host stores for is never also relayed.
|
|
35
|
+
* - relay (relaying only): the `/fwd` sender is served and the recipient is
|
|
36
|
+
* remote. The host re-sends the child with its own Poster, as KERIA's agent
|
|
37
|
+
* re-sends a Signify client's exn.
|
|
38
|
+
*
|
|
39
|
+
* A served sender authorized this host as its `mailbox` or `agent`, directly or
|
|
40
|
+
* through a group it is an accepted member of. Witness membership never makes a
|
|
41
|
+
* sender served.
|
|
14
42
|
*/
|
|
15
43
|
export declare class ForwardHandler implements ExchangeRouteHandler {
|
|
16
44
|
/** Registered exchange route for store-forward messages. */
|
|
@@ -22,17 +50,27 @@ export declare class ForwardHandler implements ExchangeRouteHandler {
|
|
|
22
50
|
/** Borrowed provider publication/correlation owner. */
|
|
23
51
|
readonly mailboxDirector: MailboxDirector;
|
|
24
52
|
/**
|
|
25
|
-
*
|
|
53
|
+
* Borrowed byte ingress of this host's runtime, through which a local recipient receives the child; null (a
|
|
54
|
+
* standalone Exchanger without a runtime) never ingests and only stores.
|
|
55
|
+
*/
|
|
56
|
+
readonly reactor: Reactor | null;
|
|
57
|
+
/** Borrowed Poster that re-sends a served sender's child to a remote recipient; null means this host never relays. */
|
|
58
|
+
readonly relay: Poster | null;
|
|
59
|
+
/**
|
|
60
|
+
* Bind mailbox publication, local ingress and optional relaying without acquiring a store.
|
|
26
61
|
*
|
|
27
62
|
* @param mailboxDirector Borrowed provider owner that publishes accepted forwarded payloads.
|
|
63
|
+
* @param reactor Borrowed ingress for a local recipient's child; null only outside a runtime.
|
|
64
|
+
* @param relay Borrowed Poster of a relaying host; null keeps the host from relaying or serving senders.
|
|
28
65
|
*/
|
|
29
|
-
constructor(mailboxDirector: MailboxDirector);
|
|
66
|
+
constructor(mailboxDirector: MailboxDirector, reactor: Reactor | null, relay: Poster | null);
|
|
30
67
|
/**
|
|
31
|
-
* Verify that the
|
|
32
|
-
*
|
|
68
|
+
* Verify that the exchange names a {@link ForwardAddress} and carries one forwarded message: a legacy embed that
|
|
69
|
+
* rebuilds into exactly one complete message ({@link legacyForwardedMessage}), or one SAID-bound v2 child. Any
|
|
70
|
+
* other shape is refused here, so the Exchanger rejects the `/fwd` and nothing is stored, relayed or ingested.
|
|
33
71
|
*
|
|
34
72
|
* @param args Signed forwarding exchange, attachment evidence and optional nested frames; children retain their own authentication requirements.
|
|
35
|
-
* @returns Whether
|
|
73
|
+
* @returns Whether the address and one bound forwarded message are structurally valid.
|
|
36
74
|
*/
|
|
37
75
|
verify(args: {
|
|
38
76
|
serder: SerderKERI;
|
|
@@ -40,10 +78,9 @@ export declare class ForwardHandler implements ExchangeRouteHandler {
|
|
|
40
78
|
nests?: readonly CesrFrame[];
|
|
41
79
|
}): boolean;
|
|
42
80
|
/**
|
|
43
|
-
*
|
|
44
|
-
* the recipient's async correspondence store.
|
|
81
|
+
* Take the one {@link ForwardPath} this `/fwd` qualifies for, or drop it.
|
|
45
82
|
*
|
|
46
|
-
* Accepted host shapes:
|
|
83
|
+
* Accepted store host shapes:
|
|
47
84
|
* - explicit mailbox provider authorized in `ends.`
|
|
48
85
|
* - recipient witness host from the accepted KEL witness set
|
|
49
86
|
* - recipient agent host authorized in `ends.`
|
|
@@ -51,8 +88,19 @@ export declare class ForwardHandler implements ExchangeRouteHandler {
|
|
|
51
88
|
* Controller endpoints stay excluded here because they are direct
|
|
52
89
|
* correspondence destinations, not store-and-forward hosts.
|
|
53
90
|
*
|
|
91
|
+
* A relayed child is admitted to the Poster with this host as source and the
|
|
92
|
+
* `/fwd` topic unchanged; the Poster's own `transportMailboxTopic` is
|
|
93
|
+
* idempotent on that already-bare topic. Admission is the end of this
|
|
94
|
+
* handler's duty: a failed onward attempt is the Poster's logged failed
|
|
95
|
+
* outcome, with no outbox and no acknowledgement back to the sender.
|
|
96
|
+
*
|
|
97
|
+
* An ingested child is dispatched inside this handler's operation, after the
|
|
98
|
+
* Exchanger has committed the `/fwd`; it is one more input to the shared
|
|
99
|
+
* protocol owners, which hold no lock or input queue. A child the recipient
|
|
100
|
+
* cannot process yet escrows as any received message does.
|
|
101
|
+
*
|
|
54
102
|
* @param args Accepted exchange with borrowed attachments/children and receiving mailboxAid provenance.
|
|
55
|
-
* @returns An operation for v2 child serialization, or synchronous completion/no-op
|
|
103
|
+
* @returns An operation for v2 child serialization or local ingest, or synchronous completion/no-op otherwise.
|
|
56
104
|
*/
|
|
57
105
|
handle(args: {
|
|
58
106
|
serder: SerderKERI;
|
|
@@ -62,7 +110,59 @@ export declare class ForwardHandler implements ExchangeRouteHandler {
|
|
|
62
110
|
/** Receiving hosted endpoint whose authority must cover the addressed recipient. */
|
|
63
111
|
mailboxAid?: string | null;
|
|
64
112
|
}): void | Operation<void>;
|
|
113
|
+
/**
|
|
114
|
+
* Decide the path from current accepted state; see the class rules for their order.
|
|
115
|
+
*
|
|
116
|
+
* @param source Authenticated `/fwd` signer and the forwarded message's own originator.
|
|
117
|
+
* @param recipient Final recipient AID named by the `/fwd` modifiers.
|
|
118
|
+
* @param mailboxAid Receiving hosted endpoint AID, or null when the request named none.
|
|
119
|
+
* @returns The one path to take, or null to drop the `/fwd`.
|
|
120
|
+
*/
|
|
121
|
+
private forwardPath;
|
|
122
|
+
/**
|
|
123
|
+
* Select the local host that keeps `recipient`'s mail for pickup, or null; any local habitat without
|
|
124
|
+
* request-scoped provenance, as {@link servingHost} does.
|
|
125
|
+
*
|
|
126
|
+
* @param recipient Final recipient AID named by the `/fwd` modifiers.
|
|
127
|
+
* @param mailboxAid Receiving hosted endpoint AID, or null when the request named none.
|
|
128
|
+
* @returns The local AID that keeps the recipient's mail for pickup, or null.
|
|
129
|
+
*/
|
|
130
|
+
private pickupHost;
|
|
131
|
+
/**
|
|
132
|
+
* Take one decided path for complete child wire.
|
|
133
|
+
*
|
|
134
|
+
* @param path Path decided in this turn.
|
|
135
|
+
* @param address Final recipient AID and `/fwd` mailbox topic.
|
|
136
|
+
* @param wire Exactly one complete child message, signed by its originator.
|
|
137
|
+
* @returns The ingest operation for a local recipient; storage (including an ingested child's pickup copy, written
|
|
138
|
+
* before ingest in the turn its authority was read) and Poster admission complete synchronously.
|
|
139
|
+
*/
|
|
140
|
+
private deliver;
|
|
65
141
|
/** Re-read accepted authority in the same synchronous turn as provider publication. */
|
|
66
142
|
private canStoreRecipient;
|
|
67
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Who a relayed request speaks for. A group's `/fwd` wrapper is signed by its local member (Poster cannot meet a
|
|
146
|
+
* group threshold with one signature), so the signer and the forwarded message's originator can differ. A request
|
|
147
|
+
* the host consumes itself (an `/oobis` request) has no forwarded originator.
|
|
148
|
+
*/
|
|
149
|
+
export interface ForwardSource {
|
|
150
|
+
/** Authenticated `/fwd` signer (its `i`), verified by the Exchanger before this handler runs. */
|
|
151
|
+
readonly sender: string | null;
|
|
152
|
+
/** The forwarded message's own `i` (an ACDC's issuer), or null when it carries none. */
|
|
153
|
+
readonly origin: string | null;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Select the local host that serves this source, or null. This is the one served-sender rule of a relaying host:
|
|
157
|
+
* `/fwd` intake relays only for it and the `/oobis` handler resolves only for it.
|
|
158
|
+
*
|
|
159
|
+
* Without request-scoped provenance any local habitat the source authorized serves it, as the store path
|
|
160
|
+
* accepts any local store host.
|
|
161
|
+
*
|
|
162
|
+
* @param hby Borrowed local habitat collection and accepted-state database.
|
|
163
|
+
* @param source Authenticated signer and, for a `/fwd`, the forwarded message's own originator.
|
|
164
|
+
* @param mailboxAid Receiving hosted endpoint AID, or null when the request named none.
|
|
165
|
+
* @returns The local AID the source authorized, or null.
|
|
166
|
+
*/
|
|
167
|
+
export declare function servingHost(hby: Habery, source: ForwardSource, mailboxAid: string | null | undefined): string | null;
|
|
68
168
|
//# sourceMappingURL=forward-handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forward-handler.d.ts","sourceRoot":"","sources":["../../../src/app/mailbox/forward-handler.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"forward-handler.d.ts","sourceRoot":"","sources":["../../../src/app/mailbox/forward-handler.ts"],"names":[],"mappings":"AAAA,wHAAwH;AACxH,OAAO,EAEL,KAAK,SAAS,EAWd,UAAU,EAEX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAIjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,cAAe,YAAW,oBAAoB;IACzD,4DAA4D;IAC5D,MAAM,CAAC,QAAQ,CAAC,QAAQ,UAAU;IAClC,yDAAyD;IACzD,QAAQ,CAAC,QAAQ,UAA2B;IAC5C,+FAA+F;IAC/F,QAAQ,CAAC,YAAY,QAAQ;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,sHAAsH;IACtH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;;;;OAMG;gBACS,eAAe,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAM3F;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE;QACX,MAAM,EAAE,UAAU,CAAC;QACnB,WAAW,EAAE,kBAAkB,EAAE,CAAC;QAClC,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;KAC9B,GAAG,OAAO;IAgBX;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,IAAI,EAAE;QACX,MAAM,EAAE,UAAU,CAAC;QACnB,WAAW,EAAE,kBAAkB,EAAE,CAAC;QAClC,2EAA2E;QAC3E,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;QAC7B,oFAAoF;QACpF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B,GAAG,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;IAyB1B;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;IAkBnB;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU;IAMlB;;;;;;;;OAQG;IACH,OAAO,CAAC,OAAO;IAgBf,uFAAuF;IACvF,OAAO,CAAC,iBAAiB;CAO1B;AA0BD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,iGAAiG;IACjG,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,wFAAwF;IACxF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAGpH"}
|
|
@@ -18,13 +18,14 @@
|
|
|
18
18
|
* A failed post is retried with a doubling delay up to {@link KEL_PUBLISH_MAX_DELAY_MS}, in memory, and given
|
|
19
19
|
* up when the next attempt would start more than {@link KEL_PUBLISH_BUDGET_MS} after the first. Giving up
|
|
20
20
|
* writes `failed` to the record and a change to the sink. A timed-out entry is not retried on its own: a new
|
|
21
|
-
* rotation, a successful poll of that mailbox (the mailbox is evidently back), a
|
|
22
|
-
*
|
|
21
|
+
* rotation, a successful poll of that mailbox (the mailbox is evidently back), a 403 from it, a `prompt`, or the
|
|
22
|
+
* next runtime open (memory starts empty, so each owed entry gets a fresh budget) re-arms it. The mailbox poller
|
|
23
|
+
* reports polls as {@link MailboxPollCue} records on the `polls` deck; the publisher acts on them on its own tock.
|
|
23
24
|
* A host that cannot take a multi-message stream (KERIpy answers 400 or 406) is recorded as told: it does
|
|
24
25
|
* not authenticate polls, so nothing is lost.
|
|
25
26
|
*/
|
|
26
27
|
import { type Operation } from "effection";
|
|
27
|
-
import type { RotatedCue } from "../../core/cues.js";
|
|
28
|
+
import type { MailboxPollCue, RotatedCue } from "../../core/cues.js";
|
|
28
29
|
import { Deck } from "../../core/deck.js";
|
|
29
30
|
import { type DoerPacing } from "../runtime/doing.js";
|
|
30
31
|
import type { RetryPolicy } from "../runtime/retry-backoff.js";
|
|
@@ -78,34 +79,21 @@ export declare class KelPublisher {
|
|
|
78
79
|
#private;
|
|
79
80
|
/** Completion points push here; the next tock gives that identifier's entries a fresh budget. */
|
|
80
81
|
readonly rotated: Deck<RotatedCue>;
|
|
81
|
-
/**
|
|
82
|
-
readonly
|
|
83
|
-
faults: number;
|
|
84
|
-
last: {
|
|
85
|
-
error: unknown;
|
|
86
|
-
at: number;
|
|
87
|
-
} | null;
|
|
88
|
-
};
|
|
82
|
+
/** The mailbox poller pushes what each poll said here; the next tock re-arms or repairs that entry. */
|
|
83
|
+
readonly polls: Deck<MailboxPollCue>;
|
|
89
84
|
constructor(deps: KelPublisherDeps);
|
|
90
85
|
/**
|
|
91
86
|
* Give `pre`'s entries a fresh budget and derive them on the next tock; with `mailbox`, re-arm only that mailbox's
|
|
92
|
-
* entry, and only if it timed out (
|
|
87
|
+
* entry, and only if it timed out (what a `polled` record on {@link KelPublisher.polls} does).
|
|
93
88
|
*/
|
|
94
89
|
prompt(pre: string, mailbox?: string): void;
|
|
95
|
-
/**
|
|
96
|
-
* A mailbox refused the owner's poll with 403: whatever the record says it holds, it cannot authenticate
|
|
97
|
-
* the owner (it lost its state, or accepted a post it then escrowed). Forget what it was given, so the next
|
|
98
|
-
* pass posts the KEL again, and give the entry a fresh budget. The poller calls this at most once per backoff
|
|
99
|
-
* period, which is also the most this posts; a mailbox that never recovers is given up on like any other.
|
|
100
|
-
*/
|
|
101
|
-
repair(pre: string, mailbox: string): void;
|
|
102
90
|
/**
|
|
103
91
|
* The full check: forget records of mailboxes no longer authorized, and mark every identifier for derivation.
|
|
104
92
|
* A walk of all identifiers, so a host runs it at open and every many tocks.
|
|
105
93
|
*/
|
|
106
94
|
sweep(): void;
|
|
107
95
|
/**
|
|
108
|
-
* The fixed-tock pass: drain the
|
|
96
|
+
* The fixed-tock pass: drain the decks, derive the marked identifiers and those still owed, then send up to
|
|
109
97
|
* {@link KelSendsPerPass} due posts, each within `timeoutMs` for the mailbox's answer. An idle pass reads no
|
|
110
98
|
* store. A post is recorded when the mailbox answers 2xx; a failure is retried on the schedule until the budget
|
|
111
99
|
* is used up. Never throws on a remote failure; every attempt is returned.
|
|
@@ -134,8 +122,10 @@ export declare class KelPublisher {
|
|
|
134
122
|
/**
|
|
135
123
|
* Run the publisher on its own fiber until halted, as a fixed-tock doer: a sweep on tock 0 and every
|
|
136
124
|
* `pacing.sweepTocks`, a pass on every tock, then a wait of one tock. A mailbox that hangs holds up only this
|
|
137
|
-
* fiber, never the operation owners.
|
|
138
|
-
*
|
|
125
|
+
* fiber, never the operation owners. Nothing is caught: every outcome of a post (an HTTP error status, a transport
|
|
126
|
+
* failure, no answer in time) is a `failed` publication that the pass records and retries, so what escapes a pass is a
|
|
127
|
+
* real fault (a store that cannot be read or written, a local group whose member is missing) and it ends the loop and
|
|
128
|
+
* `runAgentRuntime`. Halting the loop returns from the pass and is not a fault.
|
|
139
129
|
*/
|
|
140
130
|
export declare function kelPublisherDo(publisher: KelPublisher, clock: RuntimeClock, pacing?: Readonly<DoerPacing>): Operation<never>;
|
|
141
131
|
//# sourceMappingURL=kel-publisher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kel-publisher.d.ts","sourceRoot":"","sources":["../../../src/app/mailbox/kel-publisher.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"kel-publisher.d.ts","sourceRoot":"","sources":["../../../src/app/mailbox/kel-publisher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAE,KAAK,UAAU,EAAW,MAAM,qBAAqB,CAAC;AAC/D,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,EAIL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AAG7B,wGAAwG;AACxG,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,sGAAsG;AACtG,eAAO,MAAM,mBAAmB,OAAQ,CAAC;AACzC,eAAO,MAAM,wBAAwB,QAAS,CAAC;AAC/C,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,SAAU,CAAC;AAC7C,yEAAyE;AACzE,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAI1D,CAAC;AACH,wGAAwG;AACxG,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,sFAAsF;AACtF,eA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