mushi-mushi 0.6.3 โ†’ 0.6.4

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 CHANGED
@@ -53,6 +53,8 @@ That's it. Your users now have a shake-to-report button (or a floating widget).
53
53
  - **๐Ÿ› Shake-to-report widget** โ€” Shadow-DOM, zero CSS conflicts. Ships with screenshot, console ring, network ring, route + intent capture, and an offline queue.
54
54
  - **๐Ÿง  AI-classified reports** โ€” 2-stage pipeline (Haiku fast-filter โ†’ Sonnet deep + vision + RAG) tags each report with category, severity, confidence, and the component path.
55
55
  - **๐Ÿชž Dedup by meaning, not by string** โ€” pgvector knowledge graph collapses duplicate reports across users, routes, and deploys so your queue isn't a noise storm.
56
+ - **๐ŸŒฑ Bidirectional inventory (v2)** โ€” opt in to `capture: { discoverInventory: true }` and the SDK quietly observes routes, `data-testid`s, and outbound API paths in production. Claude drafts an `inventory.yaml` of user stories + pages + actions for you to accept โ€” most teams will never hand-author one.
57
+ - **๐Ÿšฆ Five pre-release gates (v2)** โ€” `mushi-mushi/no-dead-handler`, `mushi-mushi/no-mock-leak`, inventory drift, agentic-failure detection, synthetic walk health. One composite GitHub status check via the [Mushi Mushi CI Gate Action](https://github.com/kensaurus/mushi-mushi/tree/master/packages/mcp-ci).
56
58
  - **๐Ÿค– One-click "Dispatch fix"** โ€” agentic orchestrator opens a GitHub PR with a screenshot diff and a Playwright replay. Sandbox-pluggable (`e2b`, `modal`, `cloudflare`, or your own).
57
59
  - **๐Ÿ“ฌ Wires into your existing stack** โ€” Sentry breadcrumbs, Slack Block Kit, Jira OAuth sync, Linear issues, PagerDuty escalations, Langfuse traces, GitHub PRs.
58
60
  - **๐Ÿง‘โ€๐Ÿ’ป Agent-native via MCP** โ€” Cursor, Claude Code, Copilot, and any MCP client can read, triage, and dispatch fixes through the same JSON-RPC surface.
@@ -237,6 +239,19 @@ mushi deploy check # post-deploy smoke check
237
239
  mushi status # live pipeline health
238
240
  ```
239
241
 
242
+ For the **v2 inventory + gates** loop the actionable surface is the GitHub Action โ€” drop one job into your repo and it runs Claude's proposer / the gate suite / the discovery digest on every PR:
243
+
244
+ ```yaml
245
+ # .github/workflows/mushi-gates.yml
246
+ - uses: kensaurus/mushi-mushi/packages/mcp-ci@master
247
+ with:
248
+ api-key: ${{ secrets.MUSHI_API_KEY }}
249
+ project-id: ${{ secrets.MUSHI_PROJECT_ID }}
250
+ command: gates # also: propose ยท discover-api ยท discovery-status ยท auth-bootstrap
251
+ ```
252
+
253
+ The same commands are exposed as MCP tools through [`@mushi-mushi/mcp`](https://www.npmjs.com/package/@mushi-mushi/mcp), so Cursor / Claude Code / Copilot can drive the v2 loop without you ever opening a terminal.
254
+
240
255
  Or skip the CLI entirely and drive it from your AI agent via [`@mushi-mushi/mcp`](https://www.npmjs.com/package/@mushi-mushi/mcp):
241
256
 
242
257
  ```json
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // src/index.ts
4
4
  import { runInit } from "@mushi-mushi/cli/init";
5
5
  import { FRAMEWORK_IDS, isFrameworkId } from "@mushi-mushi/cli/detect";
6
- var VERSION = true ? "0.6.3" : "0.0.0-dev";
6
+ var VERSION = true ? "0.6.4" : "0.0.0-dev";
7
7
  var MIN_NODE_MAJOR = 18;
8
8
  var ISSUES_URL = "https://github.com/kensaurus/mushi-mushi/issues";
9
9
  var HELP = `mushi-mushi \u2014 bug-reporting SDK launcher
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "mushi-mushi",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "license": "MIT",
5
5
  "description": "Ship a shake-to-report button and get AI-classified, deduped, ready-to-fix bug reports โ€” one `npx mushi-mushi` command for React, Next.js, Vue, Nuxt, Svelte, SvelteKit, Angular, React Native, Expo, Capacitor, and vanilla JS. Companion to Sentry: catches the user-felt bugs crash trackers can't see. Wires into GitHub, Slack, Jira, Linear, PagerDuty, Langfuse, and any MCP-compatible AI agent (Cursor, Claude Code, Copilot).",
6
6
  "bin": {
7
7
  "mushi-mushi": "./dist/index.js"
8
8
  },
9
9
  "dependencies": {
10
- "@mushi-mushi/cli": "^0.6.0"
10
+ "@mushi-mushi/cli": "^0.6.1"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@types/node": "^22.15.3",