@real-life/trust-protocol 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +79 -34
  3. package/dist/adapters/vti-mediator.d.ts +18 -5
  4. package/dist/adapters/vti-mediator.d.ts.map +1 -1
  5. package/dist/adapters/vti-mediator.js +143 -17
  6. package/dist/adapters/vti-mediator.js.map +1 -1
  7. package/dist/codec.d.ts +2 -9
  8. package/dist/codec.d.ts.map +1 -1
  9. package/dist/codec.js +61 -96
  10. package/dist/codec.js.map +1 -1
  11. package/dist/engine.d.ts +62 -1
  12. package/dist/engine.d.ts.map +1 -1
  13. package/dist/engine.js +289 -15
  14. package/dist/engine.js.map +1 -1
  15. package/dist/holder-api.d.ts +15 -1
  16. package/dist/holder-api.d.ts.map +1 -1
  17. package/dist/holder-api.js +28 -3
  18. package/dist/holder-api.js.map +1 -1
  19. package/dist/{holder-state-v2.d.ts → holder-state-v3.d.ts} +210 -207
  20. package/dist/holder-state-v3.d.ts.map +1 -0
  21. package/dist/holder-state-v3.js +2 -0
  22. package/dist/holder-state-v3.js.map +1 -0
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js.map +1 -1
  26. package/dist/internal.d.ts +1 -2
  27. package/dist/internal.d.ts.map +1 -1
  28. package/dist/internal.js.map +1 -1
  29. package/dist/results.d.ts +5 -1
  30. package/dist/results.d.ts.map +1 -1
  31. package/dist/results.js.map +1 -1
  32. package/dist/state.d.ts +22 -9
  33. package/dist/state.d.ts.map +1 -1
  34. package/dist/state.js.map +1 -1
  35. package/package.json +4 -6
  36. package/schemas/{holder-state-v2.schema.json → holder-state-v3.schema.json} +50 -5
  37. package/dist/holder-state-v1.d.ts +0 -801
  38. package/dist/holder-state-v1.d.ts.map +0 -1
  39. package/dist/holder-state-v1.js +0 -2
  40. package/dist/holder-state-v1.js.map +0 -1
  41. package/dist/holder-state-v2.d.ts.map +0 -1
  42. package/dist/holder-state-v2.js +0 -2
  43. package/dist/holder-state-v2.js.map +0 -1
  44. package/schemas/holder-state-v1.schema.json +0 -3880
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holder-state-v3.d.ts","sourceRoot":"","sources":["../src/holder-state-v3.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAErC,81BAA81B;AAC91B,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,CAAC,CAAA;IACR,SAAS,EAAE,KAAK,CAAA;IAChB,QAAQ,EAAE,QAAQ,CAAA;IAClB,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,EAAE,CAAA;QAChB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAClC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;YACvB,KAAK,EAAE,MAAM,CAAA;YACb,UAAU,EAAE,KAAK,CAAA;SAClB,EAAE,CAAC,CAAA;QACJ,OAAO,EAAE;YACP,KAAK,EAAE,MAAM,EAAE,CAAA;YACf,OAAO,EAAE,MAAM,EAAE,CAAA;SAClB,CAAA;QACD,SAAS,EAAE,CAAC;YACV,OAAO,EAAE,MAAM,CAAA;YACf,IAAI,EAAE,KAAK,CAAA;SACZ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACX,OAAO,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,EAAE,CAAA;KACjC,CAAA;IACD,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;YACnB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE,QAAQ,CAAA;YACnB,SAAS,CAAC,EAAE,QAAQ,CAAA;SACrB,CAAC,CAAA;QACF,UAAU,EAAE,MAAM,EAAE,CAAA;KACrB,CAAA;IACD,QAAQ,EAAE,MAAM,CAAC,MA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,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAA;IAC3D,QAAQ,EAAE,QAAQ,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,QAAQ,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,KAAK,CAAA;IAChB,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB,MAAM,EAAE,OAAO,EAAE,CAAA;IACjB,EAAE,EAAE,QAAQ,CAAA;CACb,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=holder-state-v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holder-state-v3.js","sourceRoot":"","sources":["../src/holder-state-v3.ts"],"names":[],"mappings":"","sourcesContent":["// GENERATED by scripts/build-holder-state-types.mjs — DO NOT EDIT.\n// Source: lib/schemas/holder-state-v3.schema.json (NON-NORMATIVE: the\n// library's storage format at codec 3, not a protocol artifact). The\n// structural projection only; the codec's validator (codec.ts) and the\n// schema carry what a type cannot. holder-state-check.ts holds this type\n// and state.ts's HolderState against each other.\nimport type { Json } from './core.js'\n\n/** NON-NORMATIVE. The stored state of an @real-life/trust-protocol holder at codec 3 (lib/src/codec.ts): the library's storage format, not a protocol artifact. lib/src/holder-state-v3.ts is generated from it (scripts/build-holder-state-types.mjs). Not expressible here and checked by the codec alone: a record's id equals its key (contacts, relationships, groups, duties, rotations, prompts, acts, roster, invitations, records, introductions, offers, challenges, the inbox), an envelope's rkid equals its recipient's keyAgreement, and a set of strings (joining.surfaced, joining.declined, messages.blocked, messages.ready) is sorted. A stored acknowledgement counts as sent exactly when it names why (sentBy), and only an unsent one may be held by the adapter (held); the schema states both, and that a due answer (answerDue) comes with its number (answers). */\nexport type HolderStateV3 = {\n codec: 3\n commitSeq: DecV3\n lastWhen: MillisV3\n register: {\n labels: string[]\n pairNonces: Record<string, string>\n carriers: Record<string, {\n nonce: string\n generation: DecV3\n }[]>\n devices: {\n names: string[]\n revoked: string[]\n }\n community: ({\n genesis: string\n head: DecV3\n }) | (null)\n lineage: { [k: string]: Json }[]\n }\n addresses: {\n keys: Record<string, {\n label: string\n lastShown: MillisV3\n retiredAt?: MillisV3\n }>\n tombstones: string[]\n }\n contacts: Record<string, ContactV3>\n relationships: Record<string, RelationshipV3>\n entryOrder: {\n nextPos: DecV3\n heads: string[]\n }\n groups: Record<string, GroupV3>\n profile: {\n body: Json\n revision: DecV3\n }\n effects: Record<string, {\n ack: (StoredAckV3) | (null)\n expiresAt: MillisV3\n }>\n outbox: Record<string, OutboxItemV3>\n duties: Record<string, DutyV3>\n rotations: Record<string, RotationV3>\n prompts: Record<string, PromptV3>\n acts: Record<string, ActRecordV3>\n encounter: {\n challenges: Record<string, {\n value: string\n tCh: MillisV3\n label: string\n card: { [k: string]: Json }\n }>\n records: Record<string, EnactmentRecordV3>\n introductions: Record<string, IntroActV3>\n offers: Record<string, {\n id: string\n mediatorContactId: string\n pin: string\n target: string\n at: MillisV3\n label?: string\n }>\n designators: Record<string, string>\n declarations: Record<string, {\n issuer: string\n role: string\n revision: DecV3\n constants: Record<string, string>\n at: MillisV3\n }>\n }\n joining: {\n preludes: Record<string, {\n group: string\n inviter: string\n contactId: string\n rkid: string\n memberLabel: string\n at: MillisV3\n }>\n invites: Record<string, {\n credDigest: string\n group: string\n name: string\n /** the contact of the relationship its prelude binding attributed it to (RLTP-MT-3100); absent for an invitation attributed to none */\n contactId?: string\n rkid?: string\n memberLabel: string\n invite: { [k: string]: Json }\n promptId: string\n validUntil: MillisV3\n status: \"open\" | \"accepted\" | \"declined\" | \"joined\"\n at: MillisV3\n acceptDigest?: string\n }>\n /** the credential digest of every invitation surfaced, for the life of the holder (RLTP-MT-3130); sorted */\n surfaced: string[]\n /** the register of declined invitations (Message Tasks 6.4): credential digests, holder-wide, for the life of the holder; sorted */\n declined: string[]\n }\n /** Message Tasks 0.1 on the holder (message/holder.ts); the time mark of RLTP-MSG-4060 is lastWhen */\n messages: {\n /** the relationships under a block (Message Tasks 6.1), by relationship id; sorted */\n blocked: string[]\n /** per relationship id: acceptance times inside the last 24 hours (Message Tasks 4.2) */\n rates: Record<string, {\n invites: MillisV3[]\n messages: MillisV3[]\n }>\n /** the own pair labels of the ready tuples (Message Tasks 5.1); sorted */\n ready: string[]\n /** the completion record (Message Tasks 4.4), per own pair label: mid → bodyDigest and sentAt */\n records: Record<string, Record<string, {\n bodyDigest: string\n sentAt: MillisV3\n }>>\n /** the inbox (Message Tasks 4.5), by the accepted document digest */\n inbox: Record<string, {\n id: string\n tuple: string\n mid: string\n body: { [k: string]: Json }\n receivedAt: MillisV3\n displayAt: MillisV3\n }>\n }\n}\n\n/** a counter as a canonical decimal string */\nexport type DecV3 = string\n\n/** milliseconds since the epoch, a safe non-negative integer */\nexport type MillisV3 = number\n\nexport type SettingV3 = \"default\" | \"on\" | \"off\"\n\nexport type TrustClassV3 = \"star\" | \"groupStar\" | \"anchorMapping\" | \"sealedGroupStar\" | \"profile\"\n\nexport type RecipientV3 = {\n contactId: string\n rkid: string\n keyAgreement: string\n anchor?: string\n via?: string\n}\n\nexport type EnvelopeV3 = {\n rkid: string\n epk: string\n nonce: string\n ciphertext: string\n}\n\nexport type AssemblyV3 = {\n salt: DecV3\n chunks: { [k: string]: Json }\n}\n\nexport type StarPairV3 = {\n member: string\n head: string\n}\n\nexport type GroupStarItemV3 = ({\n group: string\n mode: \"digest\"\n}) | ({\n group: string\n mode: \"sealed\"\n member: string\n memberOp: string\n})\n\nexport type StarOutInflightV3 = {\n view: StarPairV3[]\n viewDigest: string\n digests: string[]\n acked: string[]\n}\n\n/** the sender side of one reconciled sequence (5.4); snapshot and snapshotDigest are null together */\nexport type StarOutV3 = {\n lastSalt: DecV3\n exhausted: boolean\n hwm: DecV3\n snapshot: (StarPairV3[]) | (null)\n snapshotDigest: (string) | (null)\n inflight: Record<string, StarOutInflightV3>\n}\n\nexport type StarInV3 = {\n hwm: DecV3\n lowerBound: DecV3\n assembly: (AssemblyV3) | (null)\n accepted: ({\n salt: DecV3\n blinded: string[]\n matches: string[]\n }) | (null)\n}\n\nexport type GroupStarOutInflightV3 = {\n view: GroupStarItemV3[]\n viewDigest: string\n digests: string[]\n acked: string[]\n}\n\n/** the sender side of one reconciled sequence (5.4); snapshot and snapshotDigest are null together */\nexport type GroupStarOutV3 = {\n lastSalt: DecV3\n exhausted: boolean\n hwm: DecV3\n snapshot: (GroupStarItemV3[]) | (null)\n snapshotDigest: (string) | (null)\n inflight: Record<string, GroupStarOutInflightV3>\n}\n\nexport type GroupStarInV3 = {\n hwm: DecV3\n lowerBound: DecV3\n assembly: (AssemblyV3) | (null)\n accepted: ({\n salt: DecV3\n entries: {\n d: string\n c: string\n }[]\n groups: string[]\n }) | (null)\n}\n\nexport type ContinuityDueV3 = ({\n kind: \"choice\"\n prior: string\n alts: string[]\n}) | ({\n kind: \"report\" | \"align\"\n prior: string\n})\n\nexport type LogHeadV3 = ({\n genesis: string\n empty: true\n}) | ({\n genesis: string\n entryId: string\n gen: number\n next: string\n commit: string\n})\n\n/** one enactment's tuple of a relationship (Trust 6.4) */\nexport type TupleV3 = {\n ownPairLabel: string\n counterpartAnchor: string\n counterpartKeyAgreement: string\n rkid: string\n entryId: string\n priorCandidates: {\n ownPairLabel: string\n counterpartAnchor: string\n replaces?: string[]\n }[]\n starOut: StarOutV3\n starIn: StarInV3\n groupStarOut: GroupStarOutV3\n groupStarIn: GroupStarInV3\n probeOut: {\n seq: DecV3\n inflight: Record<string, {\n digests: string[]\n acked: string[]\n }>\n done: boolean\n }\n probeIn: {\n hwm: DecV3\n lowerBound: DecV3\n assembly: (AssemblyV3) | (null)\n }\n continuityOut: {\n rev: DecV3\n body: Json\n proof: Json\n sent: string[]\n align: boolean\n chosen: (string) | (null)\n reported: (string) | (null)\n aligned: boolean\n due: (ContinuityDueV3) | (null)\n }\n continuityIn: {\n rev: DecV3\n body: Json\n recordPrior: (string) | (null)\n }\n mappingOut: {\n rev: DecV3\n body: Json\n underAnchor: (string) | (null)\n }\n mappingIn: {\n rev: DecV3\n body: Json\n self: (string) | (null)\n card: Json\n }\n profileOut: {\n rev: DecV3\n }\n profileIn: {\n rev: DecV3\n body: Json\n verifiedSeq: DecV3\n }\n deactivated: boolean\n}\n\nexport type RelationshipV3 = {\n id: string\n contactId: string\n tuples: TupleV3[]\n activeHead: string\n earliestAnchor: (string) | (null)\n links: {\n prev: string\n next: string\n }[]\n bindings: Record<string, string[]>\n heldCounterpartHead: (string) | (null)\n memory: { [k: string]: Json }\n provenance: {\n kind: \"ceremony\" | \"introduced\"\n at: MillisV3\n via?: string\n viaPin?: string\n }\n chainedInto: (string) | (null)\n firstVerified: (DecV3) | (null)\n}\n\n/** one entry of the deliverable set (Trust 2120, 2140); its id equals its key */\nexport type ContactV3 = {\n id: string\n pos: (DecV3) | (null)\n status: \"none\" | \"admitted\" | \"pending\"\n aliases: string[]\n relIds: string[]\n anchorHead: (string) | (null)\n settings: {\n star: SettingV3\n groupStar: SettingV3\n anchorMapping: SettingV3\n sealedGroupStar: SettingV3\n profile: SettingV3\n }\n groupSettings: Record<string, SettingV3>\n}\n\nexport type OutboxStepV3 = ({\n status: \"submitted\"\n at: MillisV3\n attempt: number\n}) | ({\n status: \"awaiting-transport\"\n at: MillisV3\n reason: \"offline\" | \"transport-unreachable\" | \"carrier-refused-retriable\"\n}) | ({\n status: \"accepted\"\n at: MillisV3\n}) | ({\n status: \"delivered\"\n at: MillisV3\n late: boolean\n}) | ({\n status: \"failed\"\n at: MillisV3\n reason: \"unroutable\" | \"oversize\" | \"expired-by-adapter-policy\" | \"task-expired\"\n}) | ({\n status: \"failed\"\n at: MillisV3\n reason: \"rejected-by-receiver\"\n code: \"malformedRequest\" | \"unsupportedType\" | \"proofRequired\" | \"proofInvalid\" | \"wrongRecipient\" | \"identityMismatch\"\n})\n\n/** an issued document; its envelope's rkid equals recipient.keyAgreement (not expressible here, checked by the codec) */\nexport type OutboxItemV3 = {\n type: string\n threadId: string\n recipient: RecipientV3\n envelope: EnvelopeV3\n attempt: number\n history: OutboxStepV3[]\n nextAttemptAt?: MillisV3\n /** the sender lifetime its type declares (Delivery RLTP-DEL-7020) */\n expiresAt?: MillisV3\n}\n\nexport type StoredAckV3 = {\n digest: string\n envelope: EnvelopeV3\n threadId: string\n recipient: RecipientV3\n at: MillisV3\n attempt: number\n sent: boolean\n nextAttemptAt?: MillisV3\n sentBy?: \"accepted\" | \"failed\" | \"horizon\"\n held?: \"offline\" | \"transport-unreachable\" | \"carrier-refused-retriable\"\n answers?: number\n answerDue?: true\n}\n\nexport type ReissueMappingDutyV3 = {\n kind: \"reissue-mapping\"\n v: 1\n id: string\n contactId: string\n relId: string\n awaitHead: (string) | (null)\n dueAt?: MillisV3\n}\n\nexport type ClassOnDutyV3 = {\n kind: \"class-on\"\n v: 1\n id: string\n contactId: string\n relId: string\n cls: TrustClassV3\n dueAt?: MillisV3\n}\n\nexport type ProfileDutyV3 = {\n kind: \"profile\"\n v: 1\n id: string\n contactId: string\n relId: string\n rev: DecV3\n dueAt?: MillisV3\n}\n\nexport type ContinuityDutyV3 = {\n kind: \"continuity\"\n v: 1\n id: string\n relId: string\n tuple: string\n step: \"probe\" | \"mapping\"\n dueAt?: MillisV3\n attempt?: number\n lastAt?: MillisV3\n}\n\nexport type MergeDutyV3 = {\n kind: \"merge\"\n v: 1\n id: string\n entryIds: string[]\n relId: string\n witness: {\n heads: Record<string, string>\n superseded: Record<string, string[]>\n }\n dueAt?: MillisV3\n}\n\nexport type RotationDutyV3 = {\n kind: \"rotation\"\n v: 1\n id: string\n rotationId: string\n dueAt?: MillisV3\n attempt?: number\n lastAt?: MillisV3\n}\n\nexport type IntroAckDutyV3 = {\n kind: \"intro-ack\"\n v: 1\n id: string\n act: string\n dueAt?: MillisV3\n}\n\n/** a duty of a kind or version this library does not handle: kept as it is */\nexport type UnknownDutyV3 = {\n kind: string\n v: number\n id: string\n [k: string]: Json\n}\n\nexport type DutyV3 = (ReissueMappingDutyV3) | (ClassOnDutyV3) | (ProfileDutyV3) | (ContinuityDutyV3) | (MergeDutyV3) | (RotationDutyV3) | (IntroAckDutyV3) | (UnknownDutyV3)\n\n/** a journaled event (events.ts) */\nexport type EventV3 = ({\n type: \"contact.added\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n actId?: string\n}) | ({\n type: \"contact.verified\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n relationshipId: string\n actId?: string\n}) | ({\n type: \"contact.chained\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n from: string\n into: string\n actId?: string\n}) | ({\n type: \"contact.merged\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n merged: string[]\n actId?: string\n}) | ({\n type: \"contact.split\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n leaver: string\n relationshipId: string\n actId?: string\n}) | ({\n type: \"contact.departed\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n relationshipIds: string[]\n removed: boolean\n actId?: string\n}) | ({\n type: \"trust.given\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n actId?: string\n}) | ({\n type: \"trust.received\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n actId?: string\n}) | ({\n type: \"trust.paused\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n paused: boolean\n actId?: string\n}) | ({\n type: \"group.joined\"\n eventId: string\n commitSeq: DecV3\n groupId: string\n actId?: string\n}) | ({\n type: \"prompt.opened\"\n eventId: string\n commitSeq: DecV3\n promptId: string\n kind: \"encounter-confirm\" | \"group-invite\" | \"introduction\"\n actId?: string\n}) | ({\n type: \"prompt.decided\"\n eventId: string\n commitSeq: DecV3\n promptId: string\n kind: \"encounter-confirm\" | \"group-invite\" | \"introduction\"\n choice: \"accept\" | \"decline\"\n actId?: string\n}) | ({\n type: \"delivery.status\"\n eventId: string\n commitSeq: DecV3\n digest: string\n threadId: string\n status: \"submitted\" | \"accepted\" | \"delivered\" | \"failed\"\n actId?: string\n late?: boolean\n}) | ({\n type: \"profile.updated\"\n eventId: string\n commitSeq: DecV3\n contactId: (string) | (null)\n actId?: string\n}) | ({\n type: \"anchor.rotated\"\n eventId: string\n commitSeq: DecV3\n generation: DecV3\n actId?: string\n}) | ({\n type: \"device.added\"\n eventId: string\n commitSeq: DecV3\n name: string\n actId?: string\n}) | ({\n type: \"device.revoked\"\n eventId: string\n commitSeq: DecV3\n name: string\n actId?: string\n}) | ({\n type: \"duty.unsupported\"\n eventId: string\n commitSeq: DecV3\n dutyId: string\n kind: string\n v: number\n actId?: string\n}) | ({\n type: \"star.accepted\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n relationshipId: string\n salt: DecV3\n actId?: string\n}) | ({\n type: \"groupStar.accepted\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n relationshipId: string\n salt: DecV3\n actId?: string\n}) | ({\n type: \"encounter.shown\"\n eventId: string\n commitSeq: DecV3\n challenge: string\n card: { [k: string]: Json }\n actId?: string\n}) | ({\n type: \"encounter.scanned\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n card: { [k: string]: Json }\n actId?: string\n}) | ({\n type: \"encounter.recorded\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n relationshipId: string\n role: \"scanner\" | \"displayer\"\n actId?: string\n}) | ({\n type: \"encounter.accepted\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n relationshipId: string\n mutual: boolean\n actId?: string\n}) | ({\n type: \"group.founded\"\n eventId: string\n commitSeq: DecV3\n groupId: string\n actId?: string\n}) | ({\n type: \"group.admitted\"\n eventId: string\n commitSeq: DecV3\n groupId: string\n member: string\n actId?: string\n}) | ({\n type: \"group.vouched\"\n eventId: string\n commitSeq: DecV3\n groupId: string\n member: string\n actId?: string\n}) | ({\n type: \"contact.blocked\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n blocked: boolean\n actId?: string\n}) | ({\n type: \"message.sent\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n mid: string\n digest: string\n actId?: string\n}) | ({\n type: \"message.received\"\n eventId: string\n commitSeq: DecV3\n contactId: string\n inboxId: string\n actId?: string\n})\n\nexport type RosterEntryV3 = {\n anchor: string\n op: string\n keyAgreement: string\n addedAt: MillisV3\n name?: string\n contactId?: string\n rkid?: string\n}\n\nexport type OpenInvitationV3 = {\n invitee: string\n keyAgreement: string\n contactId: string\n rkid: string\n threadId: string\n credDigest: string\n invite: { [k: string]: Json }\n validUntil: MillisV3\n}\n\nexport type EvidenceV3 = {\n invite: { [k: string]: Json }\n accept: { [k: string]: Json }\n vouches: { [k: string]: Json }[]\n at: MillisV3\n}\n\n/** a group the holder is in; a listed group carries memberAnchor and memberOp (Trust 5400) */\nexport type GroupV3 = {\n id: string\n name: string\n memberLabel: string\n rules: {\n vouchThreshold: DecV3\n }\n listed: boolean\n roster: Record<string, RosterEntryV3>\n invitations: Record<string, OpenInvitationV3>\n evidence: Record<string, EvidenceV3>\n preludes: Record<string, {\n contactId: string\n rkid: string\n at: MillisV3\n }>\n did?: string\n genesis?: { [k: string]: Json }\n memberAnchor?: string\n memberOp?: string\n acceptDigest?: string\n}\n\nexport type HeldCredentialV3 = {\n digest: string\n credential: { [k: string]: Json }\n}\n\nexport type EnactmentRecordV3 = {\n ceremony: string\n own: string\n tCh: MillisV3\n peer: string\n counterpart: string\n card: { [k: string]: Json }\n bind: string\n at: MillisV3\n label: string\n relId: string\n role: \"scanner\" | \"displayer\"\n out: (HeldCredentialV3) | (null)\n in: (HeldCredentialV3) | (null)\n thread: (string) | (null)\n bundleDigest: (string) | (null)\n threads: Record<string, string>\n sentCard: ({ [k: string]: Json }) | (null)\n counterPending: boolean\n}\n\nexport type IntroActV3 = {\n key: string\n act: string\n role: \"requester\" | \"mediator\" | \"target\"\n status: \"sent\" | \"acked\" | \"completed\" | \"failed\" | \"received\" | \"forwarded\" | \"consented\" | \"refused\"\n issuedAt: MillisV3\n request: { [k: string]: Json }\n requestCard: { [k: string]: Json }\n reply: ({ [k: string]: Json }) | (null)\n replyCard: ({ [k: string]: Json }) | (null)\n pins: {\n requester?: string\n target?: string\n mediator?: string\n }\n threads: {\n request: string\n forward?: string\n }\n at: MillisV3\n ackDelayMs: number\n ownLabel: (string) | (null)\n ack: ({ [k: string]: Json }) | (null)\n replyForwarded: boolean\n vouchersSent: boolean\n pendingVoucher: ({ [k: string]: Json }) | (null)\n voucher: ({ [k: string]: Json }) | (null)\n vouched: boolean\n promptId: (string) | (null)\n peerName?: string\n}\n\nexport type RotationV3 = {\n id: string\n from: DecV3\n to: DecV3\n step: \"register\" | \"log\" | \"duties\"\n startedAt: MillisV3\n entry: Json\n overHead: LogHeadV3\n awaitHead: Record<string, (string) | (null)>\n}\n\nexport type PromptV3 = {\n id: string\n kind: \"encounter-confirm\" | \"group-invite\" | \"introduction\"\n openedAt: MillisV3\n contactId?: string\n groupId?: string\n expiresAt?: MillisV3\n}\n\nexport type ActRecordV3 = {\n actId: string\n inputHash: string\n commitSeq: DecV3\n outboundDigests: string[]\n events: EventV3[]\n at: MillisV3\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -32,6 +32,6 @@ export { createHolder } from './holder-api.js';
32
32
  export type { Holder, HolderOptions, HolderSnapshot, HumanActOptions } from './holder-api.js';
33
33
  export type { DeviceKeyResult } from './identity-state.js';
34
34
  export type { ContactView, RelationshipView, ClassView, SealedClassView, ClassesView, ContactProfileView, GroupView, ProfileView, PromptView, InboxMessageView, DeliveryItemView, DeliveryStatusView } from './views.js';
35
- export type { EnginePorts, CommitListener, CryptoHandle } from './engine.js';
35
+ export type { EnginePorts, CommitListener, CryptoHandle, TransportEntry, TransportView, TransportRefusal } from './engine.js';
36
36
  export type { ContractHarness } from './store-contract.js';
37
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwEA,cAAc,WAAW,CAAA;AACzB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OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA","sourcesContent":["// @real-life/trust-protocol — the reference library of RLTP.\n//\n// The holder: createHolder({store, keys, entropy?, log?, access?, retry?,\n// crypto?}) — one person's device state behind the human acts, receive,\n// report, resume and tick, and the views an app reads. The ports (Store,\n// KeyProvider, Entropy, Log, Access, DeliveryReport, Outbound) are the\n// app's; seedKeys is the default KeyProvider. Beside it, the pure wire\n// builders and verifiers of every layer, byte-compatible with the shipped\n// vectors.\n//\n// core the form every artifact obeys (JCS, digests, schemas)\n// crypto the primitives, and the Data Integrity proof\n// identity context derivation under the closed registry (§6.1/§6.2),\n// device labels device/<n>/<c> (§5.5)\n// profile profile@1 (Trust §6b): k_pr, the MAC, the bounds and\n// the picture's header read before any decoding\n// encounter the ceremony's wire forms: challenges, cards, credentials,\n// and its pure checks (5.6 acceptance, the bundle's forms)\n// membership Membership 0.20's forms and checks: the prelude,\n// invite, accept, evidence, vouch@2, the member label, oids\n// message Message Tasks 0.1's forms: message@1, k_msg, the MAC\n// introduction Trust §8's artifacts and checks, the act window, the\n// registry declaration's ack-delay\n// delivery the sealed envelope and the generic receive stages 1–4\n// carrier-identity the carrier-relationship principal (Identity §7a)\n// carrier the carrier side of the port (Delivery §4.4 + §5a)\n// carrier-holder the holder side of the carrier port: proofs, verdicts,\n// recovery (§5a, §9.3)\n// visibility the Trust Layer's wire forms, pure: anchor (self-card@2,\n// anchor-rotation@2, anchor-mapping@4), star@2,\n// group-star@1, continuity-probe@1 and\n// continuity-mapping@1, delivery-ack/0.1\n// ceremony the encounter's, the group's and the introduction's\n// wire forms, pure (the same as the root's encounter,\n// membership and introduction modules, under one name)\n//\n// The holder (holder-api.ts): the typed human acts (trust, untrust,\n// pauseTrust, setClass, setGroupClass, merge, depart, decide, rotateAnchor,\n// setProfile, addDevice, revokeDevice, show, scan, captureSentCard,\n// counter, foundGroup, invite, vouchFor, introduce, sendMessage, block,\n// unblock; {when, actId}), recover, takeMessages, act, receive, tick,\n// resume, report, subscribe, snapshot, deviceKey and the views contacts,\n// contact, groups, profile, prompts, inbox, deliveryStatus;\n// `invariants: true` checks invariants.ts on every commit (testing mode).\n// Its modules: identity (Identity §2, §5.4, §5.5), trust (Trust 2, 2a,\n// 5.2–5.4, 6.1–6.5, 6a, 6b), encounter (Encounter 0.31 §5–§7), membership\n// (Membership 0.20 with an in-library Access), introduction (Trust §8) and\n// message (Message Tasks 0.1: messages, the inbox, the block).\n//\n// views the view types (ContactView, …)\n// keys-seed seedKeys — the default KeyProvider over a root seed\n// state HolderState — opaque here (note §4.5): store adapters\n// persist it, apps read the views\n// codec decodeState (to the opaque state), CODEC, StateCodecError\n// ports Store, KeyProvider, Log, Access, DeliveryReport, Outbound\n// results, events ActResult, ReceiveResult, InfraError, HolderEvent\n// entropy the Entropy port by closed purpose\n// store-contract storeContract — the test suite a Store adapter passes\n//\n// Other entry points:\n// ./testing InMemoryStore, memoryLog, scriptedEntropy, storeContract,\n// emptyState, stateBuilder, freezeDeep, sampleState,\n// openPromptModule, the invariants, forgeMapping, SCHEMAS\n// and the generated wire types\n// ./internal the structural state, encodeState and the codec chain,\n// the engine's module types, the pure view functions, the\n// modules' factories and pure reads — for the library's\n// modules and tests, not an app contract\n// ./adapters/vti-mediator the VTI mediator's reports as DeliveryReport\n//\n// Specification, schemas and vectors: https://trust-protocol.real-life.org\n\nexport * from './core.js'\nexport * from './crypto.js'\nexport * from './identity.js'\nexport * from './encounter.js'\nexport * from './membership.js'\nexport * from './message.js'\nexport * from './introduction.js'\nexport * from './delivery.js'\nexport * from './carrier-identity.js'\nexport * from './carrier.js'\nexport * from './carrier-holder.js'\nexport {\n PROFILE_TYPE, PROFILE_LIMITS, profileSchemaOk, imageDimensions, imageWithinBounds, profileProblem, profileInfo, profileKey,\n assembleProfile, profileMacOk,\n} from './profile.js'\nexport type { ProfileContent, ProfileBody, ProfileArtifact, Dimensions, ImageDimensions } from './profile.js'\nexport * as visibility from './visibility.js'\nexport * as ceremony from './ceremony.js'\nimport { decodeState as decodeStructural } from './codec.js'\nimport type { OpaqueHolderState } from './state.js'\nexport type { OpaqueHolderState as HolderState, Dec, Millis, B64u, TrustClass, Setting, PromptKind, PromptChoice, OutboxStatus } from './state.js'\nexport { CODEC, StateCodecError } from './codec.js'\nexport type { StateCodecErrorCode } from './codec.js'\n/** Load a stored state (a JSON string or a parsed value): an independent,\n * opaque copy at the current codec, or StateCodecError. */\nexport function decodeState (raw: unknown): OpaqueHolderState {\n return decodeStructural(raw) as unknown as OpaqueHolderState\n}\nexport type * from './ports.js'\nexport type * from './events.js'\nexport { InfraError, CryptoUnavailableError } from './results.js'\nexport type { ActError, ActResult, ReceiveFailure, ReceiveStageNo, ReceiveResult, ResumeResult, InfraErrorCode } from './results.js'\nexport { ENTROPY_PURPOSES, EntropyError, randomEntropy } from './entropy.js'\nexport type { Entropy, EntropyPurpose, EntropyErrorCode, PlatformRandom } from './entropy.js'\nexport { storeContract } from './store-contract.js'\nexport { seedKeys } from './keys-seed.js'\nexport { createHolder } from './holder-api.js'\nexport type { Holder, HolderOptions, HolderSnapshot, HumanActOptions } from './holder-api.js'\nexport type { DeviceKeyResult } from './identity-state.js'\nexport type { ContactView, RelationshipView, ClassView, SealedClassView, ClassesView, ContactProfileView, GroupView, ProfileView, PromptView, InboxMessageView, DeliveryItemView, DeliveryStatusView } from './views.js'\nexport type { EnginePorts, CommitListener, CryptoHandle } from './engine.js'\nexport type { ContractHarness } from './store-contract.js'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,EAAE;AACF,0EAA0E;AAC1E,wEAAwE;AACxE,yEAAyE;AACzE,uEA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BAAqB,CAAA;AACnC,OAAO,EACL,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAC1H,eAAe,EAAE,YAAY,GAC9B,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAG5D,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEnD;4DAC4D;AAC5D,MAAM,UAAU,WAAW,CAAE,GAAY;IACvC,OAAO,gBAAgB,CAAC,GAAG,CAAiC,CAAA;AAC9D,CAAC;AAGD,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAEjE,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA","sourcesContent":["// @real-life/trust-protocol — the reference library of RLTP.\n//\n// The holder: createHolder({store, keys, entropy?, log?, access?, retry?,\n// crypto?}) — one person's device state behind the human acts, receive,\n// report, resume and tick, and the views an app reads. The ports (Store,\n// KeyProvider, Entropy, Log, Access, DeliveryReport, Outbound) are the\n// app's; seedKeys is the default KeyProvider. Beside it, the pure wire\n// builders and verifiers of every layer, byte-compatible with the shipped\n// vectors.\n//\n// core the form every artifact obeys (JCS, digests, schemas)\n// crypto the primitives, and the Data Integrity proof\n// identity context derivation under the closed registry (§6.1/§6.2),\n// device labels device/<n>/<c> (§5.5)\n// profile profile@1 (Trust §6b): k_pr, the MAC, the bounds and\n// the picture's header read before any decoding\n// encounter the ceremony's wire forms: challenges, cards, credentials,\n// and its pure checks (5.6 acceptance, the bundle's forms)\n// membership Membership 0.20's forms and checks: the prelude,\n// invite, accept, evidence, vouch@2, the member label, oids\n// message Message Tasks 0.1's forms: message@1, k_msg, the MAC\n// introduction Trust §8's artifacts and checks, the act window, the\n// registry declaration's ack-delay\n// delivery the sealed envelope and the generic receive stages 1–4\n// carrier-identity the carrier-relationship principal (Identity §7a)\n// carrier the carrier side of the port (Delivery §4.4 + §5a)\n// carrier-holder the holder side of the carrier port: proofs, verdicts,\n// recovery (§5a, §9.3)\n// visibility the Trust Layer's wire forms, pure: anchor (self-card@2,\n// anchor-rotation@2, anchor-mapping@4), star@2,\n// group-star@1, continuity-probe@1 and\n// continuity-mapping@1, delivery-ack/0.1\n// ceremony the encounter's, the group's and the introduction's\n// wire forms, pure (the same as the root's encounter,\n// membership and introduction modules, under one name)\n//\n// The holder (holder-api.ts): the typed human acts (trust, untrust,\n// pauseTrust, setClass, setGroupClass, merge, depart, decide, rotateAnchor,\n// setProfile, addDevice, revokeDevice, show, scan, captureSentCard,\n// counter, foundGroup, invite, vouchFor, introduce, sendMessage, block,\n// unblock; {when, actId}), recover, takeMessages, act, receive, tick,\n// resume, report, subscribe, snapshot, deviceKey and the views contacts,\n// contact, groups, profile, prompts, inbox, deliveryStatus;\n// `invariants: true` checks invariants.ts on every commit (testing mode).\n// Its modules: identity (Identity §2, §5.4, §5.5), trust (Trust 2, 2a,\n// 5.2–5.4, 6.1–6.5, 6a, 6b), encounter (Encounter 0.31 §5–§7), membership\n// (Membership 0.20 with an in-library Access), introduction (Trust §8) and\n// message (Message Tasks 0.1: messages, the inbox, the block).\n//\n// views the view types (ContactView, …)\n// keys-seed seedKeys — the default KeyProvider over a root seed\n// state HolderState — opaque here (note §4.5): store adapters\n// persist it, apps read the views\n// codec decodeState (to the opaque state), CODEC, StateCodecError\n// ports Store, KeyProvider, Log, Access, DeliveryReport, Outbound\n// results, events ActResult, ReceiveResult, InfraError, HolderEvent\n// entropy the Entropy port by closed purpose\n// store-contract storeContract — the test suite a Store adapter passes\n//\n// Other entry points:\n// ./testing InMemoryStore, memoryLog, scriptedEntropy, storeContract,\n// emptyState, stateBuilder, freezeDeep, sampleState,\n// openPromptModule, the invariants, forgeMapping, SCHEMAS\n// and the generated wire types\n// ./internal the structural state, encodeState and the codec chain,\n// the engine's module types, the pure view functions, the\n// modules' factories and pure reads — for the library's\n// modules and tests, not an app contract\n// ./adapters/vti-mediator the VTI mediator's reports as DeliveryReport\n//\n// Specification, schemas and vectors: https://trust-protocol.real-life.org\n\nexport * from './core.js'\nexport * from './crypto.js'\nexport * from './identity.js'\nexport * from './encounter.js'\nexport * from './membership.js'\nexport * from './message.js'\nexport * from './introduction.js'\nexport * from './delivery.js'\nexport * from './carrier-identity.js'\nexport * from './carrier.js'\nexport * from './carrier-holder.js'\nexport {\n PROFILE_TYPE, PROFILE_LIMITS, profileSchemaOk, imageDimensions, imageWithinBounds, profileProblem, profileInfo, profileKey,\n assembleProfile, profileMacOk,\n} from './profile.js'\nexport type { ProfileContent, ProfileBody, ProfileArtifact, Dimensions, ImageDimensions } from './profile.js'\nexport * as visibility from './visibility.js'\nexport * as ceremony from './ceremony.js'\nimport { decodeState as decodeStructural } from './codec.js'\nimport type { OpaqueHolderState } from './state.js'\nexport type { OpaqueHolderState as HolderState, Dec, Millis, B64u, TrustClass, Setting, PromptKind, PromptChoice, OutboxStatus } from './state.js'\nexport { CODEC, StateCodecError } from './codec.js'\nexport type { StateCodecErrorCode } from './codec.js'\n/** Load a stored state (a JSON string or a parsed value): an independent,\n * opaque copy at the current codec, or StateCodecError. */\nexport function decodeState (raw: unknown): OpaqueHolderState {\n return decodeStructural(raw) as unknown as OpaqueHolderState\n}\nexport type * from './ports.js'\nexport type * from './events.js'\nexport { InfraError, CryptoUnavailableError } from './results.js'\nexport type { ActError, ActResult, ReceiveFailure, ReceiveStageNo, ReceiveResult, ResumeResult, InfraErrorCode } from './results.js'\nexport { ENTROPY_PURPOSES, EntropyError, randomEntropy } from './entropy.js'\nexport type { Entropy, EntropyPurpose, EntropyErrorCode, PlatformRandom } from './entropy.js'\nexport { storeContract } from './store-contract.js'\nexport { seedKeys } from './keys-seed.js'\nexport { createHolder } from './holder-api.js'\nexport type { Holder, HolderOptions, HolderSnapshot, HumanActOptions } from './holder-api.js'\nexport type { DeviceKeyResult } from './identity-state.js'\nexport type { ContactView, RelationshipView, ClassView, SealedClassView, ClassesView, ContactProfileView, GroupView, ProfileView, PromptView, InboxMessageView, DeliveryItemView, DeliveryStatusView } from './views.js'\nexport type { EnginePorts, CommitListener, CryptoHandle, TransportEntry, TransportView, TransportRefusal } from './engine.js'\nexport type { ContractHarness } from './store-contract.js'\n"]}
@@ -1,6 +1,5 @@
1
1
  export type * from './state.js';
2
- export type { HolderStateV1 } from './holder-state-v1.js';
3
- export type { HolderStateV2 } from './holder-state-v2.js';
2
+ export type { HolderStateV3 } from './holder-state-v3.js';
4
3
  export { emptyState, triasOf, toOpaque } from './state.js';
5
4
  export { CODEC, MIGRATIONS, VALIDATORS, decodeState, encodeState, sameState, isKnownDuty, StateCodecError } from './codec.js';
6
5
  export type { StateCodecErrorCode, StateValidator } from './codec.js';
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AA8BA,mBAAmB,YAAY,CAAA;AAE/B,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC7H,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AACrE,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gBAAgB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEpG,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,OAAO,IAAI,gBAAgB,EAAE,KAAK,IAAI,cAAc,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEpJ,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAEnJ,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA","sourcesContent":["// @real-life/trust-protocol/internal — what the library's own modules and\n// its tests build on, not an app contract (lib Stage 2, note §4.5, §4.6).\n//\n// The structural HolderState and its parts change with every codec until\n// 0.4.0 and beyond; apps read the views through createHolder, and store\n// adapters see the state only as the opaque root type. Here:\n//\n// state the structural HolderState and its parts, emptyState, triasOf\n// codec decodeState (structural), encodeState, sameState, the chain\n// (CODEC, MIGRATIONS, VALIDATORS), isKnownDuty\n// engine the module surface: HolderModule, CommandDef, PrepareCtx,\n// Prepared, Applied, Refusal, TaskHandler, DutyHandler, DutyCtx,\n// SweepHandler, AckHandler, FailureHandler, IdentityRename, DecisionHandler, EventDraft,\n// OutboundDraft, EngineSnapshot; receive's Arrival,\n// ReceivedDocument, TaskRefusal, TaskDiscarded, TaskFailure\n// views the pure projections state → view\n// prompts DECIDE, DecideInput\n// trust the trust module's factory (trustModule, for tests with another\n// admission bound or assembly limit), its task types and command\n// names, the pure reads of trust/state.ts (trusted, lags,\n// classOn, …), the 2240 re-commit (recommitEntries), the views\n// of 5.4 (starView, groupStarView, sealedOn), heldAnchors,\n// ASSEMBLY_LIMIT and discardAssemblies (5360); the entries\n// (trust/entries.ts: merge, split, departure, the identity\n// rewrite) and continuity (trust/continuity.ts: openTuple,\n// chainTuple, substitutePrior, the task types); the class\n// duties (trust/duties.ts: onFor, the follow rule, the move at\n// a chaining, the handlers)\n// freeze freezeDeep\n// invariants the predicates of invariants.ts over a state and a commit\nexport type * from './state.js'\n// the projections of the non-normative lib/schemas/holder-state-v<n>.schema.json\nexport type { HolderStateV1 } from './holder-state-v1.js'\nexport type { HolderStateV2 } from './holder-state-v2.js'\nexport { emptyState, triasOf, toOpaque } from './state.js'\nexport { CODEC, MIGRATIONS, VALIDATORS, decodeState, encodeState, sameState, isKnownDuty, StateCodecError } from './codec.js'\nexport type { StateCodecErrorCode, StateValidator } from './codec.js'\nexport type { HolderModule, CommandDef, PrepareCtx, Prepared, Applied, Refusal, TaskHandler, DutyHandler, DutyCtx, SweepHandler, AckHandler, DecisionHandler, DecisionDef, DecisionFn, EventDraft, OutboundDraft, EngineSnapshot } from './engine.js'\nexport type { Arrival, Channel, ReceivedDocument, TaskDiscarded, DiscardReason, TaskFailure, TaskRefusal } from './receive.js'\nexport { SIGNATURE_CLASS } from './receive.js'\nexport { contactsView, contactView, groupsView, profileView, promptsView, inboxView, deliveryStatusView } from './views.js'\nexport { DECIDE } from './prompts.js'\nexport type { DecideInput } from './prompts.js'\nexport { freezeDeep } from './util-freeze.js'\nexport { trustModule, ANCHOR_MAPPING_TYPE, TRUST_COMMANDS, lineageSegment, recommitEntries } from './trust/mapping.js'\nexport type { TrustModuleOptions, TrustSetInput, TrustSetClassInput, TrustSetGroupClassInput, TrustPauseInput } from './trust/mapping.js'\nexport {\n ADMISSION_BOUND, CLASSES, classOn, classOnToward, trusted, lags, newestHeads, newestOf, entryRelationships, activeTuple, findContact,\n entryOf, feeding, conflicts, joins, supersededIn, anchorSet, tupleByLabel, liveRel,\n} from './trust/state.js'\nexport { STAR_TYPE, ASSEMBLY_LIMIT, starView, viewDigest, heldAnchors, discardAssemblies, rematchStars, retainInflight } from './trust/star.js'\nexport { GROUP_STAR_TYPE, groupStarView, sealedOn } from './trust/group-star.js'\nexport { CONTINUITY_PROBE_TYPE, CONTINUITY_MAPPING_TYPE, NEW_TUPLE, openTuple, chainTuple, substitutePrior } from './trust/continuity.js'\nexport type { NewTupleInput } from './trust/continuity.js'\nexport {\n ENTRY_COMMANDS, mergeEntries, mergeDutiesAfter, mergeable, mergeSettings, rewriteIdentity, splitOff, depart, chainAliases, settleHead, admitPending,\n} from './trust/entries.js'\nexport type { TrustMergeInput, TrustDepartInput } from './trust/entries.js'\nexport {\n DUTY_CLASSES, RECONCILED, classOnId, profileDutyId, classOfDuty, owedOn, onFor, onRelationships, classOnDuty, dropOff, followClasses, moveDuties, afterChain,\n classOnHandler,\n} from './trust/duties.js'\nexport { promptsModule, collectDecisions } from './prompts.js'\nexport { PROFILE_SET, profileIssueDuty, profileTask, profileParts } from './trust/profile.js'\nexport { identityModule, IDENTITY_COMMANDS, GENERATION_LAST, withLabel, withPairNonce, deviceKeyOf, rotationDutyId, reissueId } from './identity-state.js'\nexport type { DeviceInput, DeviceKeyResult } from './identity-state.js'\nexport { stateViolations, transitionViolations, commitViolations, dutyDrops } from './invariants.js'\nexport type { CommitOp, Violation } from './invariants.js'\nexport { createEngine } from './engine.js'\nexport { encounterModule, ENCOUNTER_COMMANDS, resolve as resolveChallenge, idsOf as encounterIdsOf, confirmPromptId } from './encounter/ceremony.js'\nexport type { ShowInput, ScanInput, CaptureInput, CounterInput } from './encounter/ceremony.js'\nexport { membershipModule, localAccess, MEMBERSHIP_COMMANDS, PRELUDE_REQUEST_TYPE, PRELUDE_REPLY_TYPE, WELCOME_TYPE } from './membership/holder.js'\nexport type { FoundInput, InviteInput, VouchInput } from './membership/holder.js'\nexport { introductionModule, INTRODUCTION_COMMANDS, OFFER_TYPE, ACK_DELAY } from './introduction/holder.js'\nexport type { IntroduceInput } from './introduction/holder.js'\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAiCA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1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AE,UAAU,EAAE,YAAY,GACpJ,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAC5J,cAAc,GACf,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC7F,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE1J,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEpG,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,OAAO,IAAI,gBAAgB,EAAE,KAAK,IAAI,cAAc,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEpJ,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAEnJ,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA","sourcesContent":["// @real-life/trust-protocol/internal — what the library's own modules and\n// its tests build on, not an app contract (lib Stage 2, note §4.5, §4.6).\n//\n// The structural HolderState and its parts change with every codec until\n// 0.4.0 and beyond; apps read the views through createHolder, and store\n// adapters see the state only as the opaque root type. Here:\n//\n// state the structural HolderState and its parts, emptyState, triasOf\n// codec decodeState (structural), encodeState, sameState, the chain\n// (CODEC, MIGRATIONS, VALIDATORS), isKnownDuty\n// engine the module surface: HolderModule, CommandDef, PrepareCtx,\n// Prepared, Applied, Refusal, TaskHandler, DutyHandler, DutyCtx,\n// SweepHandler, AckHandler, FailureHandler, IdentityRename, DecisionHandler, EventDraft,\n// OutboundDraft, EngineSnapshot; receive's Arrival,\n// ReceivedDocument, TaskRefusal, TaskDiscarded, TaskFailure\n// views the pure projections state → view\n// prompts DECIDE, DecideInput\n// trust the trust module's factory (trustModule, for tests with another\n// admission bound or assembly limit), its task types and command\n// names, the pure reads of trust/state.ts (trusted, lags,\n// classOn, …), the 2240 re-commit (recommitEntries), the views\n// of 5.4 (starView, groupStarView, sealedOn), heldAnchors,\n// ASSEMBLY_LIMIT and discardAssemblies (5360); the entries\n// (trust/entries.ts: merge, split, departure, the identity\n// rewrite) and continuity (trust/continuity.ts: openTuple,\n// chainTuple, substitutePrior, the task types); the class\n// duties (trust/duties.ts: onFor, the follow rule, the move at\n// a chaining, the handlers)\n// freeze freezeDeep\n// invariants the predicates of invariants.ts over a state and a commit\nexport type * from './state.js'\n// the projections of the non-normative lib/schemas/holder-state-v<n>.schema.json\nexport type { HolderStateV3 } from './holder-state-v3.js'\nexport { emptyState, triasOf, toOpaque } from './state.js'\nexport { CODEC, MIGRATIONS, VALIDATORS, decodeState, encodeState, sameState, isKnownDuty, StateCodecError } from './codec.js'\nexport type { StateCodecErrorCode, StateValidator } from './codec.js'\nexport type { HolderModule, CommandDef, PrepareCtx, Prepared, Applied, Refusal, TaskHandler, DutyHandler, DutyCtx, SweepHandler, AckHandler, DecisionHandler, DecisionDef, DecisionFn, EventDraft, OutboundDraft, EngineSnapshot } from './engine.js'\nexport type { Arrival, Channel, ReceivedDocument, TaskDiscarded, DiscardReason, TaskFailure, TaskRefusal } from './receive.js'\nexport { SIGNATURE_CLASS } from './receive.js'\nexport { contactsView, contactView, groupsView, profileView, promptsView, inboxView, deliveryStatusView } from './views.js'\nexport { DECIDE } from './prompts.js'\nexport type { DecideInput } from './prompts.js'\nexport { freezeDeep } from './util-freeze.js'\nexport { trustModule, ANCHOR_MAPPING_TYPE, TRUST_COMMANDS, lineageSegment, recommitEntries } from './trust/mapping.js'\nexport type { TrustModuleOptions, TrustSetInput, TrustSetClassInput, TrustSetGroupClassInput, TrustPauseInput } from './trust/mapping.js'\nexport {\n ADMISSION_BOUND, CLASSES, classOn, classOnToward, trusted, lags, newestHeads, newestOf, entryRelationships, activeTuple, findContact,\n entryOf, feeding, conflicts, joins, supersededIn, anchorSet, tupleByLabel, liveRel,\n} from './trust/state.js'\nexport { STAR_TYPE, ASSEMBLY_LIMIT, starView, viewDigest, heldAnchors, discardAssemblies, rematchStars, retainInflight } from './trust/star.js'\nexport { GROUP_STAR_TYPE, groupStarView, sealedOn } from './trust/group-star.js'\nexport { CONTINUITY_PROBE_TYPE, CONTINUITY_MAPPING_TYPE, NEW_TUPLE, openTuple, chainTuple, substitutePrior } from './trust/continuity.js'\nexport type { NewTupleInput } from './trust/continuity.js'\nexport {\n ENTRY_COMMANDS, mergeEntries, mergeDutiesAfter, mergeable, mergeSettings, rewriteIdentity, splitOff, depart, chainAliases, settleHead, admitPending,\n} from './trust/entries.js'\nexport type { TrustMergeInput, TrustDepartInput } from './trust/entries.js'\nexport {\n DUTY_CLASSES, RECONCILED, classOnId, profileDutyId, classOfDuty, owedOn, onFor, onRelationships, classOnDuty, dropOff, followClasses, moveDuties, afterChain,\n classOnHandler,\n} from './trust/duties.js'\nexport { promptsModule, collectDecisions } from './prompts.js'\nexport { PROFILE_SET, profileIssueDuty, profileTask, profileParts } from './trust/profile.js'\nexport { identityModule, IDENTITY_COMMANDS, GENERATION_LAST, withLabel, withPairNonce, deviceKeyOf, rotationDutyId, reissueId } from './identity-state.js'\nexport type { DeviceInput, DeviceKeyResult } from './identity-state.js'\nexport { stateViolations, transitionViolations, commitViolations, dutyDrops } from './invariants.js'\nexport type { CommitOp, Violation } from './invariants.js'\nexport { createEngine } from './engine.js'\nexport { encounterModule, ENCOUNTER_COMMANDS, resolve as resolveChallenge, idsOf as encounterIdsOf, confirmPromptId } from './encounter/ceremony.js'\nexport type { ShowInput, ScanInput, CaptureInput, CounterInput } from './encounter/ceremony.js'\nexport { membershipModule, localAccess, MEMBERSHIP_COMMANDS, PRELUDE_REQUEST_TYPE, PRELUDE_REPLY_TYPE, WELCOME_TYPE } from './membership/holder.js'\nexport type { FoundInput, InviteInput, VouchInput } from './membership/holder.js'\nexport { introductionModule, INTRODUCTION_COMMANDS, OFFER_TYPE, ACK_DELAY } from './introduction/holder.js'\nexport type { IntroduceInput } from './introduction/holder.js'\n"]}
package/dist/results.d.ts CHANGED
@@ -155,7 +155,11 @@ export type InfraErrorCode = 'store-read' | 'store-commit'
155
155
  /** testing mode only (createHolder's `invariants: true`): a commit would
156
156
  * break an invariant of invariants.ts; nothing committed, the
157
157
  * violations are the cause */
158
- | 'invariant-violated';
158
+ | 'invariant-violated'
159
+ /** the holder was closed (a lock, the end of a process): it runs nothing
160
+ * more, and nothing it issued authorizes a hand-over (Delivery
161
+ * RLTP-DEL-6125, 6130) */
162
+ | 'closed';
159
163
  /** A failure of a port the host provides, never of the protocol. */
160
164
  export declare class InfraError extends Error {
161
165
  readonly code: InfraErrorCode;
@@ -1 +1 @@
1
- {"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../src/results.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAE1C;oEACoE;AACpE,MAAM,WAAW,YAAY;IAAG,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAAC,MAAM,EAAE,WAAW,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE;AAEjG,qEAAqE;AACrE,MAAM,MAAM,QAAQ,GAChB,iBAAiB,GACjB,gBAAgB,GAChB,mBAAmB,G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QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;CAKnF;AAED;yDACyD;AACzD,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,6EAA6E;IAC7E,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;gBACtB,OAAO,EAAE,SAAS,MAAM,EAAE;CAKxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"results.js","sourceRoot":"","sources":["../src/results.ts"],"names":[],"mappings":"AAyKA,oEAAoE;AACpE,MAAM,OAAO,UAAW,SAAQ,KAAK;IAC1B,IAAI,CAAgB;IAC7B,YAAa,IAAoB,EAAE,OAAgB,EAAE,OAA6B;QAChF,KAAK,CAAC,OAAO,IAAI,IAAI,EAAE,OAAO,CAAC,CAAA;QAC/B,IAAI,CAAC,IAAI,GAAG,YAAY,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;CACF;AAED;yDACyD;AACzD,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IAC/C,6EAA6E;IACpE,OAAO,CAAmB;IACnC,YAAa,OAA0B;QACrC,KAAK,CAAC,oBAAoB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,wDAAwD,CAAC,CAAA;QACrG,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAA;QACpC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAA;IAC5C,CAAC;CACF","sourcesContent":["// results — one closed result type for acts, one for reception, one error\n// class for infrastructure (lib Stage 2, note §4.4).\n//\n// \"Nothing to do\" is ok with empty outbound. A committed act with open\n// follow-up work is success plus a duty. Store and provider failures are\n// InfraError; programming errors and broken invariants throw. Human text\n// is the app's, made from the code.\nimport type { HolderEvent } from './events.js'\nimport type { Outbound } from './ports.js'\n\n/** What resume(when) hands out: retries and due duties, in the engine's\n * fixed order, and when to call again (absent: nothing is due). */\nexport interface ResumeResult { outbound: Outbound[], events: HolderEvent[], nextDueAt?: number }\n\n/** Why an act was refused; `ref` on the result may name the rule. */\nexport type ActError =\n | 'unknown-contact'\n | 'no-own-channel'\n | 'tuple-deactivated'\n | 'already-given'\n | 'in-flight'\n | 'scope-exhausted'\n | 'stale-issuance'\n | 'actid-conflict'\n /** a human act came without the actId the app must mint (note §4.2) */\n | 'actid-missing'\n | 'log-missing'\n /** the anchor mapping needs the holder's community anchor (register.community, Identity §5.4) */\n | 'no-community'\n | 'unknown-digest'\n /** prompt.decide: no open prompt has this id */\n | 'unknown-prompt'\n /** prompt.decide: the prompt's expiresAt is not after when; tick removes it */\n | 'prompt-expired'\n /** trust.merge: the manual merge joins at most one entry (6640), and\n * never relationships the binding rule keeps apart (6605) */\n | 'not-mergeable'\n /** identity.addDevice: not a device name of 6.2 (Identity §5.5) */\n | 'device-name-invalid'\n /** identity.addDevice: the register already holds the name (Identity §5.5, SHOULD) */\n | 'device-name-held'\n /** identity.addDevice: a revoked name is never given again (Identity §5.5) */\n | 'device-name-revoked'\n /** identity.revokeDevice: the register holds no such device name */\n | 'unknown-device'\n /** identity.rotate: the log replica does not hold the lineage through the\n * current generation (Identity §5.4, Access RLTP-ACC-5980); the rotation\n * stays pending until it does */\n | 'log-behind'\n /** identity.rotate: the log's head is no generation of this register's\n * lineage (another genesis, or a head the register does not follow) */\n | 'log-diverged'\n /** identity.rotate: the log answered failure; the rotation stays pending */\n | 'log-failure'\n /** setProfile: the body breaks 6430/6435 or its image 6475 */\n | 'profile-invalid'\n /** encounter: a card that fails Encounter 6 (schema, version, challenge,\n * keys, proof) or is not of the profile the act needs (displayed for a\n * scan, sent and addressed to an own challenge's anchor for a capture) */\n | 'card-invalid'\n /** encounter.scan: this displayed code was scanned already: its\n * challenge is in a record (5.3, 5170) */\n | 'already-scanned'\n /** encounter.capture: the bound challenge resolves unknown (5460) */\n | 'gate-expired'\n /** encounter: the own challenge is future-dated beyond the skew (5390) */\n | 'gate-future'\n /** encounter.capture: the challenge was consumed by another enactment (5440) */\n | 'consumed-challenge'\n /** encounter.capture: the same counterparty with other material (5450) */\n | 'card-mismatch'\n /** encounter.counter: no enactment record of the contact to issue on */\n | 'no-record'\n /** encounter.counter: the own step credential is issued already */\n | 'already-issued'\n /** membership: no such group, or the holder holds no role in it the act needs */\n | 'unknown-group'\n /** membership.vouch: no consent pair held for this member (Access 5.3) */\n | 'no-evidence'\n /** membership.vouch: the admitting member's own vouch never counts beside its admission */\n | 'own-admission'\n /** membership.found: a genesis admits under the rule of one; a stricter rule needs policy.change */\n | 'threshold-unsupported'\n /** introduction: no such act, or not in a state that allows the step */\n | 'unknown-act'\n /** introduction.request: the mediator's ack-delay declaration is not held (Delivery 4.4) */\n | 'no-declaration'\n /** a message, an invitation or the start of an introduction act toward\n * a relationship the holder has blocked (Message Tasks RLTP-MSG-6410) */\n | 'blocked'\n /** message.send: the tuple is not ready — no document of the\n * counterpart was accepted on it yet (Message Tasks RLTP-MSG-5020); the\n * app keeps the message unsent and sends it once the contact view says\n * `canMessage` */\n | 'not-ready'\n /** message.send: the text is not 1 to 4096 code points, or replyTo is no\n * lowercase UUID v4 (Message Tasks 3.2) */\n | 'message-invalid'\n\nexport type ActResult =\n /** nextDueAt: duty work this act opened or unblocked is due then (`when`:\n * now) — call resume at that time (engine.ts) */\n | { ok: true, outbound: Outbound[], events: HolderEvent[], nextDueAt?: number }\n | { ok: false, code: ActError, ref?: string }\n\n/** Receiver failure dispositions (Delivery §6.2), by the stage that names them. */\nexport type ReceiveFailure =\n | 'oversize' // stage 1\n | 'malformed' // stages 2, 4, 5, 7\n | 'decryption-failed' // stage 3\n | 'wrong-recipient' // stage 5\n | 'unknown-type' // stage 6\n | 'validation-failed' // stages 6 (the entry's proof declaration), 8, 9\n | 'stale-issuance' // stages 8, 9\n /** transient (Delivery RLTP-DEL-5820, 6270, 6280): nothing committed, no\n * ack, no cache entry; the carrier keeps the document and the receiver\n * evaluates it afresh when it is delivered again — never concluded */\n | 'rate-limited' // stage 8\n | 'gate-future' // stage 9\n | 'consumed-challenge' // stage 9\n\nexport type ReceiveStageNo = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9\n\n/**\n * The outcome of receive(env, when). `unique`: the effect committed,\n * with its ack first among `outbound` where the type acknowledges (a\n * delivery-ack itself is terminal and earns none), then the documents\n * the effect issued. `duplicate-known`: the stored ack is re-sent\n * byte-identical (none for a terminal document); nothing commits beyond\n * a raised lastWhen. `failed`: nothing took effect and nothing commits.\n * `discarded`: the document's chunk met a receiver resource limit (Trust\n * 5365, reason `resource-limit`) or, authenticated, violated the assembly\n * rules so that its whole delivery is rejected (5260–5310, 5500, 5510,\n * reason `rejected`): the open assembly is dropped and its salt held as\n * the lower bound (5366), committed; no cache entry, no ack, no event.\n * Delivery §6.2 has no disposition for it yet (receive.ts: a gap for\n * Delivery 0.82).\n */\nexport type ReceiveResult =\n | { disposition: 'unique', digest: string, type: string, outbound: Outbound[], events: HolderEvent[], /** as on ActResult */ nextDueAt?: number }\n | { disposition: 'duplicate-known', digest: string, outbound: Outbound[] }\n | { disposition: 'discarded', digest: string, type: string, reason: 'resource-limit' | 'rejected', ref?: string }\n | {\n disposition: 'failed', reason: ReceiveFailure, stage: ReceiveStageNo, digest?: string,\n /** local diagnosis of a key failure, never a disposition of its own\n * (Delivery §5, §6.2): 'unknown' — an rkid this holder never issued,\n * failed(malformed) at stage 2; 'retired' — a tombstone (or a key\n * marked retired), failed(decryption-failed) at stage 3 */\n key?: 'unknown' | 'retired'\n /** the rule the document failed, where its task handler names one\n * (TaskRefusal.ref), e.g. RLTP-TRU-6118 */\n ref?: string\n }\n\nexport type InfraErrorCode =\n | 'store-read'\n | 'store-commit'\n /** the commit may or may not have landed; re-read and consult the act journal */\n | 'unknown-commit-outcome'\n /** the store kept answering `conflict` past the retry bound (RetryPolicy.commitAttempts) */\n | 'commit-conflict'\n | 'key-provider'\n | 'log'\n | 'access'\n /** testing mode only (createHolder's `invariants: true`): a commit would\n * break an invariant of invariants.ts; nothing committed, the\n * violations are the cause */\n | 'invariant-violated'\n\n/** A failure of a port the host provides, never of the protocol. */\nexport class InfraError extends Error {\n readonly code: InfraErrorCode\n constructor (code: InfraErrorCode, message?: string, options?: { cause?: unknown }) {\n super(message ?? code, options)\n this.name = 'InfraError'\n this.code = code\n }\n}\n\n/** The WebCrypto handle lacks what the library needs; raised when a\n * holder is built, never at import (note §3 Crypto). */\nexport class CryptoUnavailableError extends Error {\n /** the algorithms (or 'subtle' itself) that are missing, in a fixed order */\n readonly missing: readonly string[]\n constructor (missing: readonly string[]) {\n super(`WebCrypto lacks: ${missing.join(', ')} (needs Ed25519, X25519, HKDF, HMAC, AES-GCM, SHA-256)`)\n this.name = 'CryptoUnavailableError'\n this.missing = Object.freeze([...missing])\n }\n}\n"]}
1
+ {"version":3,"file":"results.js","sourceRoot":"","sources":["../src/results.ts"],"names":[],"mappings":"AA6KA,oEAAoE;AACpE,MAAM,OAAO,UAAW,SAAQ,KAAK;IAC1B,IAAI,CAAgB;IAC7B,YAAa,IAAoB,EAAE,OAAgB,EAAE,OAA6B;QAChF,KAAK,CAAC,OAAO,IAAI,IAAI,EAAE,OAAO,CAAC,CAAA;QAC/B,IAAI,CAAC,IAAI,GAAG,YAAY,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;CACF;AAED;yDACyD;AACzD,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IAC/C,6EAA6E;IACpE,OAAO,CAAmB;IACnC,YAAa,OAA0B;QACrC,KAAK,CAAC,oBAAoB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,wDAAwD,CAAC,CAAA;QACrG,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAA;QACpC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAA;IAC5C,CAAC;CACF","sourcesContent":["// results — one closed result type for acts, one for reception, one error\n// class for infrastructure (lib Stage 2, note §4.4).\n//\n// \"Nothing to do\" is ok with empty outbound. A committed act with open\n// follow-up work is success plus a duty. Store and provider failures are\n// InfraError; programming errors and broken invariants throw. Human text\n// is the app's, made from the code.\nimport type { HolderEvent } from './events.js'\nimport type { Outbound } from './ports.js'\n\n/** What resume(when) hands out: retries and due duties, in the engine's\n * fixed order, and when to call again (absent: nothing is due). */\nexport interface ResumeResult { outbound: Outbound[], events: HolderEvent[], nextDueAt?: number }\n\n/** Why an act was refused; `ref` on the result may name the rule. */\nexport type ActError =\n | 'unknown-contact'\n | 'no-own-channel'\n | 'tuple-deactivated'\n | 'already-given'\n | 'in-flight'\n | 'scope-exhausted'\n | 'stale-issuance'\n | 'actid-conflict'\n /** a human act came without the actId the app must mint (note §4.2) */\n | 'actid-missing'\n | 'log-missing'\n /** the anchor mapping needs the holder's community anchor (register.community, Identity §5.4) */\n | 'no-community'\n | 'unknown-digest'\n /** prompt.decide: no open prompt has this id */\n | 'unknown-prompt'\n /** prompt.decide: the prompt's expiresAt is not after when; tick removes it */\n | 'prompt-expired'\n /** trust.merge: the manual merge joins at most one entry (6640), and\n * never relationships the binding rule keeps apart (6605) */\n | 'not-mergeable'\n /** identity.addDevice: not a device name of 6.2 (Identity §5.5) */\n | 'device-name-invalid'\n /** identity.addDevice: the register already holds the name (Identity §5.5, SHOULD) */\n | 'device-name-held'\n /** identity.addDevice: a revoked name is never given again (Identity §5.5) */\n | 'device-name-revoked'\n /** identity.revokeDevice: the register holds no such device name */\n | 'unknown-device'\n /** identity.rotate: the log replica does not hold the lineage through the\n * current generation (Identity §5.4, Access RLTP-ACC-5980); the rotation\n * stays pending until it does */\n | 'log-behind'\n /** identity.rotate: the log's head is no generation of this register's\n * lineage (another genesis, or a head the register does not follow) */\n | 'log-diverged'\n /** identity.rotate: the log answered failure; the rotation stays pending */\n | 'log-failure'\n /** setProfile: the body breaks 6430/6435 or its image 6475 */\n | 'profile-invalid'\n /** encounter: a card that fails Encounter 6 (schema, version, challenge,\n * keys, proof) or is not of the profile the act needs (displayed for a\n * scan, sent and addressed to an own challenge's anchor for a capture) */\n | 'card-invalid'\n /** encounter.scan: this displayed code was scanned already: its\n * challenge is in a record (5.3, 5170) */\n | 'already-scanned'\n /** encounter.capture: the bound challenge resolves unknown (5460) */\n | 'gate-expired'\n /** encounter: the own challenge is future-dated beyond the skew (5390) */\n | 'gate-future'\n /** encounter.capture: the challenge was consumed by another enactment (5440) */\n | 'consumed-challenge'\n /** encounter.capture: the same counterparty with other material (5450) */\n | 'card-mismatch'\n /** encounter.counter: no enactment record of the contact to issue on */\n | 'no-record'\n /** encounter.counter: the own step credential is issued already */\n | 'already-issued'\n /** membership: no such group, or the holder holds no role in it the act needs */\n | 'unknown-group'\n /** membership.vouch: no consent pair held for this member (Access 5.3) */\n | 'no-evidence'\n /** membership.vouch: the admitting member's own vouch never counts beside its admission */\n | 'own-admission'\n /** membership.found: a genesis admits under the rule of one; a stricter rule needs policy.change */\n | 'threshold-unsupported'\n /** introduction: no such act, or not in a state that allows the step */\n | 'unknown-act'\n /** introduction.request: the mediator's ack-delay declaration is not held (Delivery 4.4) */\n | 'no-declaration'\n /** a message, an invitation or the start of an introduction act toward\n * a relationship the holder has blocked (Message Tasks RLTP-MSG-6410) */\n | 'blocked'\n /** message.send: the tuple is not ready — no document of the\n * counterpart was accepted on it yet (Message Tasks RLTP-MSG-5020); the\n * app keeps the message unsent and sends it once the contact view says\n * `canMessage` */\n | 'not-ready'\n /** message.send: the text is not 1 to 4096 code points, or replyTo is no\n * lowercase UUID v4 (Message Tasks 3.2) */\n | 'message-invalid'\n\nexport type ActResult =\n /** nextDueAt: duty work this act opened or unblocked is due then (`when`:\n * now) — call resume at that time (engine.ts) */\n | { ok: true, outbound: Outbound[], events: HolderEvent[], nextDueAt?: number }\n | { ok: false, code: ActError, ref?: string }\n\n/** Receiver failure dispositions (Delivery §6.2), by the stage that names them. */\nexport type ReceiveFailure =\n | 'oversize' // stage 1\n | 'malformed' // stages 2, 4, 5, 7\n | 'decryption-failed' // stage 3\n | 'wrong-recipient' // stage 5\n | 'unknown-type' // stage 6\n | 'validation-failed' // stages 6 (the entry's proof declaration), 8, 9\n | 'stale-issuance' // stages 8, 9\n /** transient (Delivery RLTP-DEL-5820, 6270, 6280): nothing committed, no\n * ack, no cache entry; the carrier keeps the document and the receiver\n * evaluates it afresh when it is delivered again — never concluded */\n | 'rate-limited' // stage 8\n | 'gate-future' // stage 9\n | 'consumed-challenge' // stage 9\n\nexport type ReceiveStageNo = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9\n\n/**\n * The outcome of receive(env, when). `unique`: the effect committed,\n * with its ack first among `outbound` where the type acknowledges (a\n * delivery-ack itself is terminal and earns none), then the documents\n * the effect issued. `duplicate-known`: the stored ack is re-sent\n * byte-identical (none for a terminal document); nothing commits beyond\n * a raised lastWhen. `failed`: nothing took effect and nothing commits.\n * `discarded`: the document's chunk met a receiver resource limit (Trust\n * 5365, reason `resource-limit`) or, authenticated, violated the assembly\n * rules so that its whole delivery is rejected (5260–5310, 5500, 5510,\n * reason `rejected`): the open assembly is dropped and its salt held as\n * the lower bound (5366), committed; no cache entry, no ack, no event.\n * Delivery §6.2 has no disposition for it yet (receive.ts: a gap for\n * Delivery 0.82).\n */\nexport type ReceiveResult =\n | { disposition: 'unique', digest: string, type: string, outbound: Outbound[], events: HolderEvent[], /** as on ActResult */ nextDueAt?: number }\n | { disposition: 'duplicate-known', digest: string, outbound: Outbound[] }\n | { disposition: 'discarded', digest: string, type: string, reason: 'resource-limit' | 'rejected', ref?: string }\n | {\n disposition: 'failed', reason: ReceiveFailure, stage: ReceiveStageNo, digest?: string,\n /** local diagnosis of a key failure, never a disposition of its own\n * (Delivery §5, §6.2): 'unknown' — an rkid this holder never issued,\n * failed(malformed) at stage 2; 'retired' — a tombstone (or a key\n * marked retired), failed(decryption-failed) at stage 3 */\n key?: 'unknown' | 'retired'\n /** the rule the document failed, where its task handler names one\n * (TaskRefusal.ref), e.g. RLTP-TRU-6118 */\n ref?: string\n }\n\nexport type InfraErrorCode =\n | 'store-read'\n | 'store-commit'\n /** the commit may or may not have landed; re-read and consult the act journal */\n | 'unknown-commit-outcome'\n /** the store kept answering `conflict` past the retry bound (RetryPolicy.commitAttempts) */\n | 'commit-conflict'\n | 'key-provider'\n | 'log'\n | 'access'\n /** testing mode only (createHolder's `invariants: true`): a commit would\n * break an invariant of invariants.ts; nothing committed, the\n * violations are the cause */\n | 'invariant-violated'\n /** the holder was closed (a lock, the end of a process): it runs nothing\n * more, and nothing it issued authorizes a hand-over (Delivery\n * RLTP-DEL-6125, 6130) */\n | 'closed'\n\n/** A failure of a port the host provides, never of the protocol. */\nexport class InfraError extends Error {\n readonly code: InfraErrorCode\n constructor (code: InfraErrorCode, message?: string, options?: { cause?: unknown }) {\n super(message ?? code, options)\n this.name = 'InfraError'\n this.code = code\n }\n}\n\n/** The WebCrypto handle lacks what the library needs; raised when a\n * holder is built, never at import (note §3 Crypto). */\nexport class CryptoUnavailableError extends Error {\n /** the algorithms (or 'subtle' itself) that are missing, in a fixed order */\n readonly missing: readonly string[]\n constructor (missing: readonly string[]) {\n super(`WebCrypto lacks: ${missing.join(', ')} (needs Ed25519, X25519, HKDF, HMAC, AES-GCM, SHA-256)`)\n this.name = 'CryptoUnavailableError'\n this.missing = Object.freeze([...missing])\n }\n}\n"]}
package/dist/state.d.ts CHANGED
@@ -555,13 +555,17 @@ export interface Effect {
555
555
  /**
556
556
  * The acknowledgement of a completed effect, sealed once inside the
557
557
  * effect's transaction and re-sent byte-identical on every duplicate
558
- * (Delivery 4.2, 6.2 stage 4). Acks are outbox-less: no trias. Until the
559
- * app reports the ack's digest (any DeliveryReport status) it is unsent
560
- * and resume re-offers it on the retry policy like an outbox item
561
- * (attempt, nextAttemptAt, backoff), which covers a restart between the
562
- * receive commit and the send. At the horizon (at + horizonMs) the holder
563
- * stops offering it: `sent` with `sentBy: 'horizon'`; a redelivery of the
564
- * document still earns it (duplicate-known).
558
+ * (Delivery 4.2, 6.2 stage 4). Acks are outbox-less: no trias. It is
559
+ * unsent until a service takes it (an `accepted` or `delivered` report on
560
+ * its digest), the adapter reports it failed, or its retries end at the
561
+ * horizon (at + horizonMs): `sent` with `sentBy` saying which (Delivery
562
+ * RLTP-DEL-6330). An awaiting-transport report keeps it unsent and records
563
+ * `held`: the adapter has it, resume does not re-offer it, and
564
+ * pendingTransport keeps offering it (RLTP-DEL-6120). Unsent and not held,
565
+ * resume re-offers it on the retry policy like an outbox item (attempt,
566
+ * nextAttemptAt, backoff). Sent or not, it stays retained with its effect
567
+ * until expiresAt, and a redelivery of the document still earns it
568
+ * (duplicate-known, RLTP-DEL-6335).
565
569
  */
566
570
  export interface StoredAck {
567
571
  /** the ack document's digest; report() on it marks the ack sent */
@@ -577,8 +581,17 @@ export interface StoredAck {
577
581
  /** next re-offer while unsent */
578
582
  nextAttemptAt?: Millis;
579
583
  sent: boolean;
580
- /** why it counts as sent: the app reported it, or the horizon passed */
581
- sentBy?: 'report' | 'horizon';
584
+ /** why it counts as sent (present exactly when sent): a service took it,
585
+ * the adapter reported it failed, or its retries ended at the horizon */
586
+ sentBy?: 'accepted' | 'failed' | 'horizon';
587
+ /** unsent and held by the adapter: its last report was awaiting-transport */
588
+ held?: PreTransportReason;
589
+ /** the duplicates' answers granted so far (Delivery RLTP-DEL-6330): each
590
+ * stage-4 duplicate arriving while none is due grants the next */
591
+ answers?: number;
592
+ /** an answer is due: granted, its hand-over not yet begun; kept across a
593
+ * lock, apart from the retries and `sent` (present with `answers`) */
594
+ answerDue?: true;
582
595
  }
583
596
  export type OutboxStatus = 'submitted' | 'accepted' | 'delivered' | 'failed';
584
597
  /** One step of an item's history. `awaiting-transport` is a pre-transport
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../src/state.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AA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