{
  "schema": "leumas.docs.page/1",
  "id": "pkg:@leumas/leviathan",
  "slug": "packages/leviathan",
  "kind": "capabilities",
  "bucket": "package",
  "title": "@leumas/leviathan",
  "name": "@leumas/leviathan",
  "eyebrow": null,
  "chip": null,
  "summary": "The embeddable Leviathan chatbot — React widget + client. Drops into every product; talks to the leviathan runtime via the API.",
  "keywords": [
    "leviathan",
    "embeddable",
    "widget",
    "drops",
    "leviathan theme",
    "leviathan api",
    "leumas leviathan",
    "react"
  ],
  "audience": "both",
  "funnel": {
    "product": null,
    "cta": null
  },
  "body": "# @leumas/leviathan\n\nThe embeddable **Leviathan chatbot** — a React widget + client. Drops into every product; bots are\nprogrammed & priced in Studio and metered by PassNode. The runtime lives in `shared/engines/leviathan`.\n\n**Absorbs (DRY-consolidated from):** new widget wrapping the `x-leviathan-realtime` / `leviathan-runtime` client.\n\n## Usage\n\n```jsx\nimport { LeviathanWidget, createLeviathanClient } from '@leumas/leviathan';\n\nconst client = createLeviathanClient({ baseUrl: API_BASE, getToken });\n<LeviathanWidget client={client} botId=\"assistant\" title=\"Leviathan\" />\n```\n\nToken-driven (uses `@leumas/theme` CSS vars) and self-contained — one import gives every app a\nfloating, metered assistant.\n",
  "source": {
    "path": "shared/packages/leviathan/README.md",
    "blobSha": "",
    "commit": "",
    "committedAt": "",
    "provenance": "no-git",
    "bytes": 883,
    "hash": "65b9a0baec454750d4ff7ce247fb1ab2a0425e50"
  },
  "urls": {
    "html": "/p/packages/leviathan",
    "json": "/docs/packages/leviathan.json",
    "md": "/docs/packages/leviathan.md"
  },
  "links": {
    "composes": [
      "pkg:@leumas/api-client",
      "pkg:@leumas/capability-sdk",
      "pkg:@leumas/theme",
      "pkg:@leumas/ui"
    ],
    "usedBy": [
      "pkg:@leumas/features",
      "pkg:@leumas/studio"
    ],
    "product": [
      "pkg:@leumas/admin",
      "pkg:@leumas/studio",
      "pkg:@leumas/web"
    ],
    "howTo": [
      "how-to:programmability"
    ],
    "skills": [
      "skill:leviathan-page-capabilities"
    ]
  },
  "exports": {
    "total": 7,
    "component": 4,
    "hook": 1,
    "helper": 2,
    "names": [
      {
        "n": "AudioVisualizer",
        "k": "component"
      },
      {
        "n": "LeviathanDock",
        "k": "component"
      },
      {
        "n": "LeviathanWidget",
        "k": "component"
      },
      {
        "n": "VoiceOverlay",
        "k": "component"
      },
      {
        "n": "useLeviathanChat",
        "k": "hook"
      },
      {
        "n": "createLeviathanClient",
        "k": "helper"
      },
      {
        "n": "createLeviathanClient",
        "k": "helper"
      }
    ]
  }
}
