Daemon API
The daemon API is loopback-first. Installed desktop routes the WebView through
the local daemon; source preview usually uses Vite proxying /api/* to
127.0.0.1:8002.
This page is a map, not a full OpenAPI reference yet.
| Family | Purpose |
|---|---|
/healthz, /api/meta | Liveness and version. |
/api/update-channel | Read-only updater manifest and payload diagnostics. |
/api/tsukue/* | Accounts, projects, files, lane start/stop/send, PTY resize, wrap-up status. |
/api/memory/* | Review inbox, approved memory, recall, archive, compact, graph data. |
/api/skills/* | Skill catalog, events, drafts, promotion, timeline. |
/api/missions/* | Mission records, hero binding, archive, Forge run summaries. |
/api/forge/* | Server-side proxy to configured Forge backend. |
/api/discord/* | Bridge settings, status, and signed incoming requests. |
/api/diagnostics | Structured warning ring, chronicle health, paths, update doctor. |
/api/settings/* | Operator settings exposed through the desktop UI. |
The full daemon API reference remains a follow-up backlog item. Until then,
source files under apps/daemon/src/kanade_daemon/routers/ are authoritative.