Skip to main content

Module api

Module api 

Source

Structs§

AppState
InterviewSession
Tracks a multi-turn personality interview for a single user.
LogEntry
Structured log entry returned by the logs API (from tracing JSON lines).
PersonalityState
Holds the composed personality text plus metadata for status display.

Functions§

build_mcp_router
Builds an axum Router that serves the MCP protocol endpoint.
build_public_router
Routes that must be accessible without API key authentication (webhooks from external services, discovery endpoints).
build_router
discord_poll_loop
email_poll_loop
signal_poll_loop
telegram_poll_loop