The widget's Chat tab ships. A visitor on an embedding site asks; whichever of
the Cat (earning, getting paid) and Loki (getting things built) the question
belongs to answers as itself — both when both have something useful — from the
public fleet map, and is sent to the project that fits.
- POST /api/widget/chat: fcw_* token + origin allowlist + per-IP/per-token
limits, charged to the token owner's fair share of the free AI pool. Links are
attached from the map, never typed by the model. When the budget or every
vendor refuses it still routes by keyword match (degraded: true).
- src/lib/widget-chat/concierge.ts: pure facts/prompt/links/fallback. Retired
projects, throwaway names (same pattern as the litter gate, pinned equal) and
unwritten not-running projects are not offered; stage words say beta/pilot,
never live/client; facts are budgeted to survive free-tier limits.
- Chat is OPT-IN per embed (data-fc-modes="chat,report"); the default is now
Report alone, because the same bundle runs on pilot sites. The first listed
mode opens first. window.Loki.ask(question) lets a host page hand a question
over (bitbaum's homepage does).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>