Skip to main content

Module api

Module api 

Source

Modules§

state
Domain-scoped state traits for AppState decomposition.

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
Assembled personality state derived from workspace personality files.
ProblemDetails
RFC 9457 Problem Details response.

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