Files
zeekay 857ed3b5d0 feat: major v0.2.1 refactoring with .zap schema format
- Add native .zap schema files (zap.zap, addressbook.zap)
- Refactor Python bindings to zap_schema module
- Add zapc schema compiler binary
- Update Rust client/server/crypto/identity modules
- Add release workflow and build scripts
- Update TypeScript package configuration
- Add LLM documentation for AI assistants
2026-03-12 23:21:05 -07:00

21 lines
515 B
Python

"""ZAP server implementation."""
from __future__ import annotations
from .config import Config
class Server:
"""ZAP server."""
def __init__(self, config: Config | None = None) -> None:
self.config = config or Config()
async def run(self) -> None:
"""Run the server."""
addr = f"{self.config.listen}:{self.config.port}"
print(f"ZAP server listening on {addr}")
# TODO: Start Cap'n Proto RPC server
import asyncio
await asyncio.Event().wait()