Core Infrastructure — Auth, RPC and Foundations

Every platform you use sits on the same foundation. Read this once and the platform guides click into place: kirino (zero-trust auth and RBAC), plana (protocol types, JSON-RPC transport, metering, sync engine) and hikari (the UI component library).

Authentication and authorization (kirino)

Protocol and RPC (plana)

Metering and pricing (plana)

Usage is metered per API key and priced from a canonical table (plana-llm-provider metering): prompts/completions tokens, cost estimation and quota enforcement are shared across services.

UI components (hikari)

The Vue component library (@celestia-island/hikari) provides buttons, badges, tables, modals and confirm dialogs used by every webui; platform pages compose them with the plana UI shell. Shared components must be upstreamed here rather than re-implemented per repo.

Dependency rules