@mushi-mushi/core 1.33.3 → 1.33.5
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 +3 -1
- package/dist/index.cjs +20 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mushi-mushi/core
|
|
2
2
|
|
|
3
|
-
> **Your AI wrote it. Mushi tells you why it broke.**
|
|
3
|
+
> **Your AI wrote it. Mushi Mushi tells you why it broke.**
|
|
4
4
|
|
|
5
5
|
The shared types, API client and utilities under every [Mushi Mushi](https://github.com/kensaurus/mushi-mushi) SDK.
|
|
6
6
|
|
|
@@ -20,6 +20,8 @@ const env = captureEnvironment(); // viewport, user agent, connection, page timi
|
|
|
20
20
|
|
|
21
21
|
Docs: [Core SDK reference](https://kensaur.us/mushi-mushi/docs/sdks/core)
|
|
22
22
|
|
|
23
|
+
Mushi Mushi is built first for people who make apps with AI, mostly on their own. Developers who own their code and teams with bug reports in many places use it too: [who it's for](https://kensaur.us/mushi-mushi/docs/who-its-for).
|
|
24
|
+
|
|
23
25
|
```mermaid
|
|
24
26
|
flowchart LR
|
|
25
27
|
A["Framework SDK<br/>react, vue, web…"] --> B["@mushi-mushi/core<br/>types · API client · queue"] --> C["Mushi API"]
|
package/dist/index.cjs
CHANGED
|
@@ -2318,12 +2318,32 @@ var MUSHI_EVENTS = {
|
|
|
2318
2318
|
key_minted: { surface: "server", required: ["project_id"] },
|
|
2319
2319
|
first_report_received: { surface: "server", required: ["project_id"] },
|
|
2320
2320
|
first_diagnosis_ready: { surface: "server", required: ["project_id"] },
|
|
2321
|
+
// Once per organization: its first real end-user report from a deployed
|
|
2322
|
+
// app (not a dev server) that got a diagnosis (_shared/activation.ts).
|
|
2323
|
+
activated: { surface: "server", required: ["project_id"] },
|
|
2321
2324
|
fix_merged: { surface: "server", required: ["project_id"] },
|
|
2325
|
+
// New-user path, once per project each (dedup key '<event>:<project id>',
|
|
2326
|
+
// _shared/funnel-steps.ts; docs/plan-simplicity-2026-10.md Phase 0).
|
|
2327
|
+
// sdk_seen_*: the first SDK check-in from a dev machine / from a live site
|
|
2328
|
+
// or store app. first_real_report: the first end-user report from a
|
|
2329
|
+
// deployed app (activation.ts isActivationCandidate), stricter than
|
|
2330
|
+
// first_report_received, which also counts a test bug from localhost.
|
|
2331
|
+
// first_diagnosis_viewed: the first diagnosis a person saw in the console
|
|
2332
|
+
// (today the first-run sample diagnosis, the setup step diagnosis_viewed).
|
|
2333
|
+
sdk_seen_localhost: { surface: "server", required: ["project_id", "origin_kind"] },
|
|
2334
|
+
sdk_seen_live: { surface: "server", required: ["project_id", "origin_kind"] },
|
|
2335
|
+
first_real_report: { surface: "server", required: ["project_id", "report_id"] },
|
|
2336
|
+
first_diagnosis_viewed: { surface: "server", required: ["project_id"] },
|
|
2337
|
+
first_fix_dispatched: { surface: "server", required: ["project_id", "report_id"] },
|
|
2338
|
+
first_fix_merged: { surface: "server", required: ["project_id", "report_id"] },
|
|
2322
2339
|
upgrade_completed: { surface: "server", required: ["project_id", "plan"] },
|
|
2323
2340
|
repo_digest_created: { surface: "server", required: ["project_id"] },
|
|
2324
2341
|
repo_diagram_generated: { surface: "server", required: ["project_id"] },
|
|
2325
2342
|
repo_diagram_published: { surface: "server", required: ["project_id"] },
|
|
2326
2343
|
public_diagram_viewed: { surface: "server", required: ["project_id"] },
|
|
2344
|
+
// Free Production Check on the docs site (/check); project_id is Mushi's own.
|
|
2345
|
+
production_check_started: { surface: "server", required: ["project_id"] },
|
|
2346
|
+
production_check_finished: { surface: "server", required: ["project_id", "outcome"] },
|
|
2327
2347
|
// ── Growth loop (widget "Bug reports by Mushi" mark) ─────────────────────
|
|
2328
2348
|
loop_impression: { surface: "web", required: [] },
|
|
2329
2349
|
loop_click: { surface: "web", required: [] },
|