Skip to content

About

Pubky Encrypted-Link chat kinds spec and library suite

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

pubky-chat

Encrypted-Link chat kinds for Pubky apps. Spec first; TypeScript packages (@pubky/chat-*) land when Hypercolor consumes them.

Design

docs/chat-unification-plan.md: one chat for Pubky. MLS transport, grant-attested devices, layered discovery and scale (storage, mailbox, change-feed index, crawl fallback), message lifecycle, Shop Phase 0, phased plan and core commitments.

Spec

Path What
spec/kinds-v2.md Envelope, 21 chat.* kinds, proposal state machine, size limits, redelivery
spec/capabilities.md Per-receiver capabilities document and multi-receiver discovery
spec/admission.md Handshake policies: Hypercolor WoT, Shop, open
spec/SCHEMA.md Store tables and wipe order
spec/schemas/ JSON Schema per accepted kind
spec/vectors/ Kinds-v1 replay of still-valid v2 messages, context, proposal, capabilities, redelivery, admission
spec/historical/ Reference fixtures for retired kinds. Not accepted inbound.
npm test

runs scripts/check-wire-vectors.mjs: every v2 vector against its schema. Historical vectors are checked only against their own schemas, and v2 validation rejects them as inbound. Kinds-v1 fixtures that remain in spec/vectors/ are still valid v2 messages.

Constraints

  • MIT. Public. Packages unpublished until a later tagged release.
  • Production primitives only. No Sealed Blob v2, UKD/AppCert, Molt, Drop relay, or legacy pubky-noise.
  • Paykit owns transport and payments. Chat kinds are an app-defined meta-protocol on Encrypted Links.
  • One chat.* vocabulary. Marketplace needs are chat.context.v0 plus chat.proposal.*. No commerce.* namespace.

Layout

spec/           normative contract, schemas, vectors
scripts/        vector validator (Node, Ajv)
packages/       not present yet — extraction requires callers
native/         not present yet

About

Pubky Encrypted-Link chat kinds spec and library suite

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages