Widget test site

Pages for testing the chat widget's self-serve setup against Adam's sandbox (US). Each page installs the widget a different way.

PageWhat it tests
Key onlyThe launcher snippet pasted as-is. The look comes from the published theme.
Staging keyThe same snippet with the Staging key. Same theme as Live.
CustomisedEmbed code with customisations. Fields set in code win, field by field.
Per pageOne page with its own title and colour.
Strict CSPThe snippet under a strict Content Security Policy. Lists anything blocked.
Signed inA token minted by this site's server for a fixed test customer.
Old npmAn app built with an old @lorikeetai/web-sdk from npm (the legacy path).

The customised, per-page, signed-in and old-npm pages use the Staging key on a "staging" address or with ?env=staging. The key-only and strict-CSP pages always use the Live key, and the staging page always uses the Staging key, because their pasted code has a fixed key. The customised, per-page and signed-in pages also take ?script= (another build of widget.js on resources.lorikeetcx.ai) and ?api_base= (another chat app on lorikeetcx.ai).