Skip to main content

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 toggle

Docs

New Concepts page — the iframe/token-auth/theming mental model, up front
New Local Development page — why file:// doesn’t load the embed
Corrected clientId: not validated against a registered domain today — docs and the agent prompt no longer imply a support step is required before testing

v1.0.0

Released: July 2026 — Initial public release.

SDK

EPIS.init(config) — initialize with clientId, theme, locale, model, persona
EPIS.mountChat(selector) — mount full EPIS Chat UI into any container
EPIS.unmount(selector) / EPIS.unmountAll() — lifecycle management
EPIS.on(event, cb) / EPIS.off(event, cb) — event system
Full method chaining — every method returns this

Theming

Four built-in presets: dark, light, auraspace, minimal
Full token system: 10 color tokens, 2 typography tokens, 2 shape tokens, mode + preset tokens
Automatic token derivation — only primary and mode are required
mode: 'system' — follows OS prefers-color-scheme

Events

ready, auth, auth-error, message, error, unmount

Auth

OAuth 2.0 popup flow — entirely on pastpaperlm.com
localStorage-based token persistence — unaffected by third-party cookie blocking
Long-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 caching
Embed pages hosted at embed.pastpaperlm.com
Cache-Control: public, max-age=31536000, immutable — versioned filename, full browser cache

Versioning 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.