SDK presets
Mushi Mushi presets are additive defaults. Any explicit Mushi.init() option wins.
Mushi.init({
projectId: '...',
apiKey: 'mushi_...',
preset: 'production-calm',
})| Preset | Use when | Behavior |
|---|---|---|
production-calm | Public production apps | Default launcher (trigger: 'auto'), SDK-outdated notice in the console only, screenshot on report, no performance capture, no proactive prompts |
manual-only | Settings/help pages only | No floating launcher (trigger: 'manual'), otherwise the same as production-calm |
beta-loud | Beta/internal test cohorts | Rage click, long task, API cascade and error-boundary prompts, automatic screenshots, element selector, performance capture, outdated-SDK banner |
internal-debug | Staff builds | Everything in beta-loud, plus a permissive prompt cooldown (up to 10 prompts a session, no wait after a dismissal) and the brand footer |
minimal | Lean installs | Console capture only, screenshot on report, no network, performance or replay capture, no proactive prompts |
standard | Default | Adds nothing; same as no preset |
full | Maximum capture | Console, network and performance capture, automatic screenshots, lite replay, element selector, every proactive prompt |
For bottom navs or chat composers, pair a preset with widget.anchor:
Mushi.init({
projectId: '...',
apiKey: 'mushi_...',
preset: 'production-calm',
widget: {
anchor: {
bottom: 'calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 12px)',
right: 'calc(12px + env(safe-area-inset-right))',
},
},
})Last updated on