Skip to Content
v0.8.0 · shippedNative mobile SDKs, optional Sentry enrichment, and bring-your-own keys/storage. Read the changelog →
SDK referenceOverview

SDK reference

Published npm packages ship on independent semver tracks (see npm  for live versions). Current workspace snapshots:

PackageVersion
@mushi-mushi/core, @mushi-mushi/web1.22.x
@mushi-mushi/react1.21.x
@mushi-mushi/react-native0.20.x
@mushi-mushi/cli0.23.x
@mushi-mushi/mcp0.18.x
@mushi-mushi/capacitor1.1.x
@mushi-mushi/node1.1.x
@mushi-mushi/angular, @mushi-mushi/vue, @mushi-mushi/svelte1.0.x
mushi-mushi (launcher)0.7.x

See Project ID & API keys for credential formats (proj_* slug vs UUID, mushi_* vs mush_pk_* keys).

The JS packages are MIT-licensed; the server packages (@mushi-mushi/server, @mushi-mushi/agents, @mushi-mushi/verify) are AGPLv3 — true OSI open source. A small enterprise-edition boundary (packages/server/ee/) is source-available but commercial for production use.

Web & frameworks

PackageRegistryDescription
@mushi-mushi/corenpmShared primitives: normaliseThrown, createBreadcrumbBuffer, captureEnvironment
@mushi-mushi/webnpmBrowser SDK — shake widget, breadcrumbs, session replay, WASM pre-classifier
@mushi-mushi/reactnpmReact provider + hooks + <MushiRewardsBadge />
@mushi-mushi/vuenpmVue 3 plugin + composables
@mushi-mushi/sveltenpmSvelte stores + context
@mushi-mushi/angularnpmAngular DI service + directive
@mushi-mushi/adaptersnpmFramework adapters (Next.js, SvelteKit, Nuxt, etc.)

Server

PackageRegistryDescription
@mushi-mushi/nodenpmForward unhandled exceptions + HTTP error handlers

Mobile & native

PackageRegistryDescription
@mushi-mushi/react-nativenpmReact Native SDK — shake, offline queue, Sentry bridge
MushiMushiSwiftPM + CocoaPodsiOS / macOS / tvOS native Swift SDK
dev.mushimushi:sdkMaven CentralAndroid Kotlin SDK, Compose UI, WorkManager queue
mushi_mushipub.devFlutter pure-Dart SDK, sensors_plus shake detection
@mushi-mushi/capacitornpmCapacitor plugin — wraps native SDKs for hybrid apps

Tooling & automation

PackageRegistryDescription
@mushi-mushi/clinpmProject setup, RAG indexing, report management, mushi migrate
mushi-mushinpmMeta-launcher — npx mushi-mushi wizard
@mushi-mushi/mcpnpmMCP server — triage reports from Cursor, Claude, Codex
@mushi-mushi/mcp-cinpmCI-aware MCP surface — attach to GitHub Actions
eslint-plugin-mushi-mushinpmLints for missing report calls and incorrect config

Infrastructure & advanced

PackageRegistryDescription
@mushi-mushi/wasm-classifiernpmOn-device WASM SLM — pre-classifies before sending
@mushi-mushi/plugin-sdknpmBuild your own Marketplace plugin
@mushi-mushi/inventory-schemanpmZod schemas for inventory_nodes and user stories
@mushi-mushi/inventory-auth-runnernpmAuth-gated story runner for the QA coverage suite

Recipes & presets

PageDescription
SDK presetsproduction-calm, beta-loud, manual-only, internal-debug
Next.js App Router + CSPContent-Security-Policy allowlist for the widget
Next.js static exportStatic export + client-only init
Capacitor bottom dockAnchor widget above tab bars
Sentry Replay coexistenceRun Mushi replay alongside Sentry
Screenshot preview & consent Visible preview + privacy caption (screenshotSensitiveHint, 1.19+)

Installation

# Minimal (browser app) npm install @mushi-mushi/web # React app npm install @mushi-mushi/react # React Native npm install @mushi-mushi/react-native # MCP server npx @mushi-mushi/mcp

Upgrade from 0.x

See the @mushi-mushi/* 0.x → 1.0 migration guide for breaking-change details and a codemod.

Last updated on