@mushi-mushi/ux 0.4.0 → 0.5.1
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 +14 -0
- package/dist/cli.js +1520 -704
- package/dist/index.d.ts +444 -90
- package/dist/index.js +835 -187
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -77,6 +77,7 @@ With `--steps` (on by default in the studio) the agent first plans 2–5 small c
|
|
|
77
77
|
| `mushi-ux scorecard --url <live url> --profile-dir <dir>` | Score every page 1–10 on a written UX rubric and file the root causes (below) |
|
|
78
78
|
| `mushi-ux explore --url <live url> --profile-dir <dir>` | Let a model use the signed-in app like a careless user; file the errors a replay confirms (below) |
|
|
79
79
|
| `mushi-ux fresh-eyes --url <landing> --goal "<text>"` | Try one goal as a first-time visitor; time the path and file what stops them (below) |
|
|
80
|
+
| `mushi-ux clips --url <url> --release <id> --flow "name:/a,/b"` | Record short clips of your top flows into a release kit for a product video (below) |
|
|
80
81
|
| `mushi-ux login --url <url>` | Sign in once, in a visible browser |
|
|
81
82
|
| `mushi-ux models` / `mushi-ux skills` | What `--model` and `--skill` accept |
|
|
82
83
|
| `mushi-ux open <runId>` | The local dashboard for a past run |
|
|
@@ -161,6 +162,19 @@ mushi-ux fresh-eyes --url https://example.com --goal "get my first report" \
|
|
|
161
162
|
- What the model reads: the page's main content first, then its navigation, never a control a mouse user cannot see. A window a click opens on the app (a sign-in popup) is followed. A wait that hits its 20 s cap is marked on its step and never counted as the app's time. `--steps` defaults to 30, or 60 with a test account; the minted account's user id is in the log and timeline (never its password).
|
|
162
163
|
- Output: `timeline.md` (each step, its screenshot, app wait and reading time, where it stalled), `result.json` and `shots/`. `--out <dir>` chooses the folder. `--sync` mirrors the run to the console's First-time user test page (a `--dry-run` too, marked "look around only"). `--request-stdin` reads the run (its id, start page, goal, visitors and test accounts) as JSON on stdin: how a local worker runs a test the console queued, so nothing it was given sits in argv.
|
|
163
164
|
|
|
165
|
+
## Release-kit clips
|
|
166
|
+
|
|
167
|
+
`mushi-ux clips` records each flow you name as one short Playwright video (WebM), read-only through the same write guard, and uploads it into a release's kit, where a product-video tool picks it up (Releases → the release → Release kit).
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
mushi-ux clips --url https://staging.example.com --release <releaseId> \
|
|
171
|
+
--flow "signup:/,/signup" --flow "pricing:/pricing" --viewport 390x844
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
- **Opt-in:** the app turns on "Record clips for release kits" in the kit first; until then the upload is refused and the clips stay in `--out` (default `.mushi-ux/clips`).
|
|
175
|
+
- **Capped:** at most 5 flows of 6 screens, each clip stops before `--max-seconds` (default 30, at most 60) and is dropped above `--max-mb` (default 25, at most 100, and the app's own cap).
|
|
176
|
+
- A clip is source footage, not an App Store preview: Mushi does not transcode. `--no-upload` records only. Needs `MUSHI_API_KEY` / `MUSHI_PROJECT_ID` to upload; `--profile-dir` records signed in.
|
|
177
|
+
|
|
164
178
|
## On GitHub Actions
|
|
165
179
|
|
|
166
180
|
Copy [`docs/templates/mushi-ux.yml`](https://github.com/kensaurus/mushi-mushi/blob/master/docs/templates/mushi-ux.yml) to `.github/workflows/mushi-ux.yml` and set its `dev-command`. Start it from the Actions tab, or with **Run in the cloud** on the console's [UX runs](https://kensaur.us/mushi-mushi/docs/admin/ux-runs) page. It uses `cursor-cloud`, sees the app signed out, and opens one draft PR. Its pushes go to `mushi-ux/**`, so add `branches-ignore: ['mushi-ux/**']` to any CI that runs on every push.
|