The published P2P Trust Stack — @p2p-trust-stack/app-api and its
dependency @p2p-trust-stack/core — grouped by the four Trust over IP
layers, followed by a module-by-module reference for the core protocol layer.
@p2p-trust-stack/core is the protocol engine — crypto, DIDs, the
encrypted keystore, TSP, transport, relationships, VTCs/VRCs, the transaction
coordination layer and the shared data layer.
@p2p-trust-stack/app-api is the application-facing agent API —
createAgentStack() and the typed TrustStack domains.
It depends on core; core never depends
on it.
Getting Started covers the entry point and lifecycle. The four ToIP layer groups list the API methods for that layer. Events & Errors is cross-cutting, and the Core Reference documents the protocol modules directly.
Methods that require a network host (a running utility server) are marked as such; nothing here documents any single server's internals.
This catalog is machine-readable. It is embedded as
window.P2PTS_API_DATA in
../assets/js/api-data.js,
and every entry carries method, path,
summary, description, params,
response and an example — so an AI agent (or any tool)
can fetch the file and use it directly.