Appearance
Package Reference
Use these pages when you need to choose or integrate one part of Kehto. Each page is grounded in the package manifest and source barrel for the current repository state.
Alpha status: Kehto is an early runtime implementation for a draft NIP-5D protocol. NAP contracts and package APIs are not final; use these package pages as current implementation guidance, not as a stability guarantee.
| Package | Page | Role |
|---|---|---|
@kehto/acl | ACL | Pure capability state and enforcement primitives. |
@kehto/cli | CLI | Top-level kehto command namespace, including kehto paja. |
@kehto/paja | Paja | Single-window local authoring workshop for loading a target app URL in a Kehto iframe. |
@kehto/firewall | Firewall | Pure behavioral abuse-detection engine (temporal complement to ACL). |
@kehto/runtime | Runtime | Browser-agnostic NIP-5D protocol engine. |
@kehto/shell | Shell | Browser shell adapter over the runtime. |
@kehto/services | Services | Reference service handlers for runtime domains. |
@kehto/nip | NIP utilities | Unique Nostr NIP utilities, including NIP-5A/5D napplet artifact verification and Cache Storage reuse. |
@kehto/wm | Window Management | Structural window-management contracts. |
@kehto/playground | Playground | 9-napplet demo and verification target. |
Reading Order
- Start with
@kehto/runtimeif you are building a host. - Add
@kehto/shellwhen you need browser iframe/session integration. - Add
@kehto/servicesfor reference implementations of runtime services. - Use
@kehto/acldirectly when you need capability-state persistence or policy tests, and@kehto/firewallfor behavioral rate-limiting and abuse detection over time. - Use
@kehto/nipand@kehto/wmas optional utilities. - Use
@kehto/clifor package scripts such askehto paja. - Use
@kehto/pajadirectly when embedding or extending the Paja implementation API. - Use the playground page to reproduce integrated behavior locally.
Generated API reference lives under docs/api/. Package pages link to generated module pages for the public packages included in TypeDoc.