@oomol/wanta-chat
v0.3.4
Published
Lazy native Chat workspace for OOMOL consoles
Keywords
Readme
@oomol/wanta-chat
Shared native Chat UI and Agent runtime for OOMOL consoles. The source lives in oomol/wanta-web. React is provided by the host; all other runtime dependencies are bundled. The compiled package is published publicly on npm.
Install an exact version from the public npm registry; no download credential is required:
npm install --save-exact @oomol/[email protected]Keep both the JS import and @oomol/wanta-chat/style.css inside the host's lazy
Chat entry. Call loadNativeChat(config) there and mount its returned component
with the verified user, Team, theme, language and host callbacks. The package also
exports chatDatabaseName for the host's origin-local per-user write lock.
The generated index.d.ts defines NativeChatConfig, NativeChatHost, and
NativeChatState. Do not prefetch Chat from the console startup graph.
Version 0.2 starts with fresh origin-local storage. It has no old-history import, transfer iframe, or migration popup. New conversations and drafts persist normally.
Stable releases automatically update the two official consoles after validation.
For other consumers, install a newer exact version and commit package.json together with
package-lock.json. The host does not require a Wanta checkout, a vendored tarball,
or a Wanta deployment to load the Chat UI. The configured generated-image endpoint
remains a separate service dependency.
