@monoverse/voicebot-scaffold
| Install | |
|---|---|
npm install @monoverse/voicebot-scaffold |
|
| Latest Version: | 0.1.1 |
| License: | MIT |
| Last Updated: | Oct 1, 2026 |
| Links: | npm |
@monoverse/voicebot-scaffold
Scaffold a Monoverse host cart bridge — the small adapter that lets the voice/chat bot act on your store (add to cart, pick a variant, view cart) — wired to the SDK helpers, for React, Next.js, Vue, or vanilla JS.
npx @monoverse/voicebot-scaffold
# or pin the framework
npx @monoverse/voicebot-scaffold --framework vue
npx @monoverse/voicebot-scaffold --dry-run
It detects your framework from package.json, writes a ready-to-edit adapter (voicebot-cart.ts,
useVoiceBotCart.ts, or voicebot-bridge.js), and prints the wiring steps. It is conservative — it
writes a new file and instructs you; it never patches your existing source.
You still wire the adapter's cart calls to your own store (Zustand / Pinia / vanilla), and grant the
matching capabilities server-side via host_profile. See
Custom site integration.
Programmatic API
import { scaffold, detectFramework } from '@monoverse/voicebot-scaffold';
const result = scaffold({ framework: 'react', capabilities: ['cart.add', 'variant.select'] });
// result.files: { path, contents }[] result.instructions: string[]
Related Packages
Scaffold and run a 1Ecomm storefront. One command from a store ID to a themed, l...
Vue 3 component for the Monoverse AI sales assistant: puts the voice and chat wi...
Version History
| Version | Released | License |
|---|---|---|
| 0.1.1 | MIT | |
| 0.1.0 | MIT |