v1.1.0
Released: July 2026
SDK
EPIS.updateTheme(theme) — push a live theme update to all mounted instances without unmounting/remounting, for syncing EPIS to your own app’s light/dark toggleDocs
New Concepts page — the iframe/token-auth/theming mental model, up front
New Local Development page — why
file:// doesn’t load the embedNew Troubleshooting page
Corrected
clientId: not validated against a registered domain today — docs and the agent prompt no longer imply a support step is required before testingv1.0.0
Released: July 2026 — Initial public release.
SDK
EPIS.init(config) — initialize with clientId, theme, locale, model, personaEPIS.mountChat(selector) — mount full EPIS Chat UI into any containerEPIS.unmount(selector) / EPIS.unmountAll() — lifecycle managementEPIS.on(event, cb) / EPIS.off(event, cb) — event systemFull method chaining — every method returns
thisTheming
Four built-in presets:
dark, light, auraspace, minimalFull token system: 10 color tokens, 2 typography tokens, 2 shape tokens, mode + preset tokens
Automatic token derivation — only
primary and mode are requiredmode: 'system' — follows OS prefers-color-schemeEvents
ready, auth, auth-error, message, error, unmountAuth
OAuth 2.0 popup flow — entirely on
pastpaperlm.comlocalStorage-based token persistence — unaffected by third-party cookie blockingLong-lived access tokens with transparent exchange on expiry — no dropped session, no re-login prompt
Infrastructure
SDK served from
cdn.pastpaperlm.com — Cloudflare R2 with global edge cachingEmbed pages hosted at
embed.pastpaperlm.comCache-Control: public, max-age=31536000, immutable — versioned filename, full browser cacheVersioning policy
- Minor / patch updates (bug fixes, new events, performance): deployed to the same URL (
episbox/v1.js). No action needed on your side. - Major version bumps (breaking API changes): new URL (
episbox/v2.js). Partners are notified by email with a 6-month migration window before v1 is sunset.