@mushi-mushi/react-native 0.19.1 → 0.20.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/CHANGELOG.md +32 -0
- package/CONTRIBUTING.md +14 -2
- package/README.md +0 -1
- package/SECURITY.md +1 -1
- package/dist/index.cjs +394 -122
- package/dist/index.d.cts +56 -3
- package/dist/index.d.ts +56 -3
- package/dist/index.js +360 -84
- package/package.json +9 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @mushi-mushi/react-native
|
|
2
2
|
|
|
3
|
+
## 0.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 90bc9d5: Add the `MushiBanner` lime neon banner launcher to the React Native SDK, mirroring the web widget's banner entry point:
|
|
8
|
+
|
|
9
|
+
- New `MushiBanner` component with `MushiBannerProps` and the `MUSHI_BANNER_DEFAULT_HEIGHT` constant.
|
|
10
|
+
- New `'banner'` value for `widget.trigger` so hosts can render the banner as the passive entry point.
|
|
11
|
+
- Reporter-status surface (`reporter-status.ts`) for the My Reports affordance.
|
|
12
|
+
|
|
13
|
+
All additions are Hermes-safe (no Node built-ins / browser globals).
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [90bc9d5]
|
|
18
|
+
- Updated dependencies [90bc9d5]
|
|
19
|
+
- @mushi-mushi/core@1.21.0
|
|
20
|
+
- @mushi-mushi/web@1.21.0
|
|
21
|
+
|
|
22
|
+
## 0.19.2
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 7b44c97: SDK fixes from automated code review.
|
|
27
|
+
|
|
28
|
+
- **Favicon trust boundary** (`@mushi-mushi/core`): `readPageFaviconHref` now returns only http(s) URLs, so a host page can't get a `data:` / `blob:` / `javascript:` favicon rendered into the widget's `<img src>`; anything else falls back to the default mark.
|
|
29
|
+
- **Self-hosted credential message** (`@mushi-mushi/core`, `@mushi-mushi/react-native`): the one-time 401/403 "credentials rejected" warning only links to the hosted console when the client is actually using the Cloud endpoint; self-hosted deployments get a console-agnostic message instead of a wrong domain.
|
|
30
|
+
- **Offline-queue data loss** (`@mushi-mushi/react-native`): `decryptQueueBlob` now decrypts any blob carrying the encrypted prefix regardless of the current `secureStorage` flag. Previously, toggling `secureStorage` from `true` to `false` returned the still-encrypted string, which failed `JSON.parse` and silently cleared the offline report queue.
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [7b44c97]
|
|
33
|
+
- @mushi-mushi/core@1.19.2
|
|
34
|
+
|
|
3
35
|
## 0.19.1
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/CONTRIBUTING.md
CHANGED
|
@@ -70,7 +70,7 @@ packages/
|
|
|
70
70
|
react-native/ React Native SDK (MIT)
|
|
71
71
|
cli/ CLI tool (MIT)
|
|
72
72
|
mcp/ MCP server for coding agents (MIT)
|
|
73
|
-
server/ Supabase Edge Functions (AGPLv3)
|
|
73
|
+
server/ Supabase Edge Functions (AGPLv3; ee/ is commercial)
|
|
74
74
|
agents/ Agentic fix pipeline (AGPLv3)
|
|
75
75
|
verify/ Fix verification (AGPLv3)
|
|
76
76
|
apps/
|
|
@@ -81,6 +81,18 @@ tooling/
|
|
|
81
81
|
tsconfig/ Shared TypeScript configs
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
+
## What we don't accept
|
|
85
|
+
|
|
86
|
+
Knowing this upfront saves everyone time.
|
|
87
|
+
|
|
88
|
+
- **Automated / bulk / AI-slop PRs** — any PR that was opened by a script, an LLM agent acting without meaningful human review, or as part of a parallel bounty-farming sweep is closed on sight. The commit history, branch name, or helper scripts included in the PR make this obvious.
|
|
89
|
+
- **PRs that target the wrong base** — all PRs must branch from and target `master`. PRs targeting `main` or any other branch are closed (and will show an inflated diff that is not your work).
|
|
90
|
+
- **One PR per issue, one issue per PR** — splitting or duplicating work just to collect acknowledgements isn't welcome.
|
|
91
|
+
- **Good-first-issues without claiming first** — comment on the issue to claim it before starting. If two people open PRs for the same issue, the one that commented first is prioritised.
|
|
92
|
+
- **Documentation-only PRs that merely duplicate existing content** — if the information already exists (e.g. in another file in this repo), adding a redundant copy adds noise without value.
|
|
93
|
+
|
|
94
|
+
If a PR violates these policies it will be closed with a brief explanation. No hard feelings — a genuine contribution on the same issue is always welcome.
|
|
95
|
+
|
|
84
96
|
## Making Changes
|
|
85
97
|
|
|
86
98
|
1. Create a feature branch from `master`
|
|
@@ -199,7 +211,7 @@ chore: bump dependencies
|
|
|
199
211
|
## License
|
|
200
212
|
|
|
201
213
|
- SDK packages are MIT — your contributions will be MIT-licensed
|
|
202
|
-
- Server/agents/verify are AGPLv3 — contributions to those packages fall under AGPLv3
|
|
214
|
+
- Server/agents/verify are AGPLv3 — contributions to those packages fall under AGPLv3. A [commercial license](./COMMERCIAL-LICENSE.md) is available for hosted-SaaS use cases that cannot publish modifications. The `packages/server/ee/` directory is source-available but commercial (production use needs a license); contributions there are accepted under the same EE terms.
|
|
203
215
|
|
|
204
216
|
## Questions?
|
|
205
217
|
|
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# @mushi-mushi/react-native
|
|
2
2
|
|
|
3
3
|
> **Your AI wrote it. Mushi tells you why it broke.**
|
|
4
|
-
> Plain-English diagnosis + a paste-ready fix, right inside Cursor. MIT-licensed SDKs · self-hostable · no second LLM key.
|
|
5
4
|
|
|
6
5
|
React Native SDK for [Mushi Mushi](https://www.npmjs.com/package/mushi-mushi) — shake-to-report widget, offline queue, and the closed-loop lesson layer for iOS + Android.
|
|
7
6
|
|
package/SECURITY.md
CHANGED
|
@@ -113,7 +113,7 @@ What we treat as in-scope attacker capabilities, and what we don't.
|
|
|
113
113
|
| Compromised Supabase service-role key | ❌ | Treated as a tier-0 incident; would require key rotation and audit-log forensics. Not defendable in software. |
|
|
114
114
|
| Compromise of `kensaurus@gmail.com` | ❌ | Treated as a project-fork event; downstream consumers should pin to the last known-good version and follow the new release channel. |
|
|
115
115
|
| Physical / OS-level attacker on an end-user device | ❌ | Out of scope. |
|
|
116
|
-
| Malicious fork using the Mushi name to ship malware | ❌ (technical) ✅ (legal) | The MIT/
|
|
116
|
+
| Malicious fork using the Mushi name to ship malware | ❌ (technical) ✅ (legal) | The MIT / AGPLv3 grant lets the fork exist; the trademark policy (`TRADEMARK.md`) makes shipping it under the Mushi name an infringement we will pursue. |
|
|
117
117
|
|
|
118
118
|
## Data handling and PII
|
|
119
119
|
|