@mushi-mushi/react-native 0.20.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -2
- package/dist/index.cjs +502 -62
- package/dist/index.d.cts +64 -3
- package/dist/index.d.ts +64 -3
- package/dist/index.js +511 -56
- package/package.json +23 -18
- package/CHANGELOG.md +0 -1039
- package/CODE_OF_CONDUCT.md +0 -51
- package/CONTRIBUTING.md +0 -218
- package/SECURITY.md +0 -287
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **Your AI wrote it. Mushi tells you why it broke.**
|
|
4
4
|
|
|
5
|
-
React Native SDK for [Mushi Mushi](https://www.npmjs.com/package/mushi-mushi) — shake-to-report widget, offline queue, and
|
|
5
|
+
React Native SDK for [Mushi Mushi](https://www.npmjs.com/package/mushi-mushi) — shake-to-report widget, offline queue, and a plain-English diagnosis in your editor, for iOS + Android.
|
|
6
6
|
|
|
7
7
|
> **One-command setup:** `npx mushi-mushi` auto-detects React Native / Expo and installs this package with the right env vars.
|
|
8
8
|
>
|
|
@@ -12,6 +12,20 @@ React Native SDK for [Mushi Mushi](https://www.npmjs.com/package/mushi-mushi)
|
|
|
12
12
|
|
|
13
13
|
Every bug your users feel — a button that won't tap, a screen that freezes, a layout that folds on their device — gets captured, classified by AI, and fed into a lesson library that prevents the same class of mistake in the next PR review and the next AI agent run. That's the closed loop the main [`mushi-mushi`](https://www.npmjs.com/package/mushi-mushi) README describes. This package is the mobile entry point.
|
|
14
14
|
|
|
15
|
+
## Error monitoring (optional)
|
|
16
|
+
|
|
17
|
+
Mushi captures user-reported bugs through its own ingest pipeline. If you also run **Sentry** in your React Native app, wire both for full coverage:
|
|
18
|
+
|
|
19
|
+
```tsx
|
|
20
|
+
import * as Sentry from '@sentry/react-native'
|
|
21
|
+
|
|
22
|
+
Sentry.init({ dsn: process.env.EXPO_PUBLIC_SENTRY_DSN })
|
|
23
|
+
|
|
24
|
+
// Mushi handles shake-to-report + screenshot context; Sentry handles thrown errors.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
See [`@mushi-mushi/web` Sentry bridge](https://github.com/kensaurus/mushi-mushi/tree/master/packages/web#sentry-companion) for the dual-capture pattern on web.
|
|
28
|
+
|
|
15
29
|
## Quick start
|
|
16
30
|
|
|
17
31
|
```tsx
|
|
@@ -168,4 +182,4 @@ MIT
|
|
|
168
182
|
<!-- mushi-readme-stats-footer -->
|
|
169
183
|
---
|
|
170
184
|
|
|
171
|
-
<sub>Monorepo scale (
|
|
185
|
+
<sub>Monorepo scale (July 2026): 59 edge functions · 374 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
|