@mushi-mushi/core 1.33.5 → 1.34.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/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/reporter-channels.cjs.map +1 -1
- package/dist/reporter-channels.d.cts +1 -1
- package/dist/reporter-channels.d.ts +1 -1
- package/dist/reporter-channels.js.map +1 -1
- package/dist/reporter-ui.cjs.map +1 -1
- package/dist/reporter-ui.js.map +1 -1
- package/dist/{types-DkC08B8U.d.cts → types-Nv_WYhjE.d.cts} +18 -5
- package/dist/{types-DkC08B8U.d.ts → types-Nv_WYhjE.d.ts} +18 -5
- package/package.json +4 -4
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mushi-mushi/core
|
|
2
2
|
|
|
3
|
-
> **Your AI
|
|
3
|
+
> **Your AI built it. Mushi Mushi makes it better.**
|
|
4
4
|
|
|
5
5
|
The shared types, API client and utilities under every [Mushi Mushi](https://github.com/kensaurus/mushi-mushi) SDK.
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ Mushi Mushi is built first for people who make apps with AI, mostly on their own
|
|
|
24
24
|
|
|
25
25
|
```mermaid
|
|
26
26
|
flowchart LR
|
|
27
|
-
A["Framework SDK<br/>react, vue, web…"] --> B["@mushi-mushi/core<br/>types · API client · queue"] --> C["Mushi API"]
|
|
27
|
+
A["Framework SDK<br/>react, vue, web…"] --> B["@mushi-mushi/core<br/>types · API client · queue"] --> C["Mushi Mushi API"]
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## What's inside
|
|
@@ -32,7 +32,7 @@ flowchart LR
|
|
|
32
32
|
| Piece | What it does |
|
|
33
33
|
| --- | --- |
|
|
34
34
|
| Types | `MushiConfig`, `MushiReport`, `MushiEnvironment` and every shared interface |
|
|
35
|
-
| API client (`createApiClient`) | Fetch with retry and backoff. Tags its own requests with `X-Mushi-Internal` so SDKs never report on Mushi |
|
|
35
|
+
| API client (`createApiClient`) | Fetch with retry and backoff. Tags its own requests with `X-Mushi-Internal` so SDKs never report on Mushi Mushi |
|
|
36
36
|
| Pre-filter (`createPreFilter`) | On-device spam and gibberish filter, before anything is sent |
|
|
37
37
|
| Offline queue (`createOfflineQueue`) | IndexedDB queue that syncs on reconnect |
|
|
38
38
|
| Environment (`captureEnvironment`) | Viewport, user agent and client hints, connection, accessibility preferences, page-load timing |
|