Expand description
§zap-proto
This crate re-exports zap-schema.
§Installation
cargo add zap-schemaSee zap-schema documentation for full API reference.
Modules§
- agent_
consensus - Agentic consensus for response voting
- client
- ZAP client implementation
- config
- Configuration for ZAP
- consensus
- Ringtail Consensus Integration for ZAP
- crypto
- Post-Quantum Cryptography Module for ZAP
- error
- Error types for ZAP
- gateway
- ZAP MCP Gateway - Full Implementation
- identity
- W3C Decentralized Identifier (DID) Implementation
- schema
- ZAP Schema Compiler
- server
- ZAP server implementation
- transport
- Transport implementations for ZAP
- zap_
capnp
Structs§
- Agent
Consensus - Simplified agent consensus for response voting
- Agent
Consensus Voting - Agentic consensus for response voting
- Client
- ZAP client for connecting to ZAP gateways
- Config
- ZAP configuration
- Consensus
Result - Result of consensus voting
- Did
- W3C Decentralized Identifier (DID)
- DidDocument
- W3C DID Document
- Gateway
- ZAP MCP Gateway - aggregates multiple MCP servers
- Node
Identity - Node identity combining DID with cryptographic keypair
- Query
- A query submitted to the agent network
- Response
- A response to a query
- Ringtail
Consensus - Ringtail-compatible consensus for ZAP agents
- Ringtail
Signature - Ringtail threshold signature
- Round1
Output - Round 1 output from a party
- Round2
Output - Round 2 output from a party
- Server
- ZAP Server
- Service
- Service endpoint in DID Document
- Verification
Method - Verification method (public key) in DID Document
- ZapSchema
- ZAP schema compiler
Enums§
- DidMethod
- DID method identifier
- Error
- ZAP error type
- Schema
Format - Schema format type
Constants§
- DEFAULT_
PORT - Default port for ZAP connections
- VERSION
- ZAP protocol version
Traits§
- Stake
Registry - Trait for stake registry implementations
Functions§
- capnp_
to_ zap - Convert .capnp source to .zap whitespace format
- compile_
to_ rust - Compile .zap source to Rust code
- migrate_
capnp_ to_ zap - Convert a .capnp file to .zap file
- transpile
- Compile a .zap file
- transpile_
str - Compile .zap source string
Type Aliases§
- QueryId
- Query ID (32-byte hash)
- Response
Id - Response ID (32-byte hash)
- Result
- Result type for ZAP operations