vibeview 0.10.0 → 0.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeview",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "VibeView CLI -- run mobile tests from CI/CD pipelines",
5
5
  "type": "module",
6
6
  "bin": {
@@ -50,6 +50,11 @@ https://vibeview.io/docs/preparing-your-build.
50
50
  fires once the session accepts commands (device up, app installed) —
51
51
  no need to poll `dev-status` first. If the app ships no native changes
52
52
  since the last run, skip step 1 and just do steps 2–4.
53
+ 5. **Immediately tell the developer the session `url`** — "watch or take
54
+ over at any time: `<url>`". The page is a live, fully interactive view
55
+ of the device; the developer watching along is a feature, not a risk.
56
+ (For a session you attached to with `--session` instead of starting,
57
+ the page is `https://vibeview.io/sandbox/<session_id>`.)
53
58
 
54
59
  Running `dev` writes two things into the project root: a `.vibeview/`
55
60
  directory (live session state — local machine state, never commit) and a
@@ -150,7 +155,26 @@ it rather than letting it appear unexplained in their `git status`.
150
155
  focus directly with `tap-focused` (moves focus AND activates) / `focus`
151
156
  (moves focus only, no activation).
152
157
 
153
- ## 4. Cleanup
158
+ ## 4. When only a human can act — stop and hand off
159
+
160
+ Some screens need things you must never guess or invent: **login
161
+ credentials, 2FA/OTP codes, CAPTCHAs, destructive confirmations
162
+ ("Delete account?"), anything payment- or real-account-shaped.** When you
163
+ hit one:
164
+
165
+ 1. **Stop driving.** Do not type guessed credentials, do not tap through a
166
+ destructive confirmation to "see what happens".
167
+ 2. **Ask the developer, naming exactly what you need and where**: "I'm at
168
+ the login screen — please sign in at `<session url>` and tell me when
169
+ you're done." The session page is fully interactive; the developer can
170
+ drive the device directly while you wait.
171
+ 3. **On resume, run `ui-tree` FIRST** — the human just changed the screen,
172
+ so every ref you held is stale — and **verify the blocker is actually
173
+ gone from the tree** (e.g. the login form is absent) instead of trusting
174
+ the confirmation alone. If it's still there, say what you still see and
175
+ ask again.
176
+
177
+ ## 5. Cleanup
154
178
 
155
179
  **Always** stop the session when done verifying — a running session bills
156
180
  streaming minutes even when idle:
@@ -158,7 +182,7 @@ streaming minutes even when idle:
158
182
  vibeview dev-stop
159
183
  ```
160
184
 
161
- ## 5. Command reference
185
+ ## 6. Command reference
162
186
 
163
187
  Every verb accepts `--session <id>` to target a specific session (falls
164
188
  back to the current project's `vibeview dev --detach` session if omitted)
@@ -194,7 +218,7 @@ Dev-loop lifecycle commands (not registry verbs, but needed for every run):
194
218
  | `dev-status` | Check on the current project's detached dev session. |
195
219
  | `dev-stop` | End the current project's detached dev session. |
196
220
 
197
- ## 6. If you're calling VibeView over MCP
221
+ ## 7. If you're calling VibeView over MCP
198
222
 
199
223
  Everything above is also exposed as MCP tools by `vibeview mcp`, so an agent
200
224
  with no shell can run the whole loop. Tool names are the CLI verbs with
@@ -210,7 +234,7 @@ steps the CLI does with plain shell commands:
210
234
  | MCP tool | Args | Purpose |
211
235
  |----------|------|---------|
212
236
  | `upload_app` | `file` (required path), `name` | Upload a debug build. The MCP equivalent of `vibeview upload-app`, so step 1 of the loop needs no shell. Returns the `app_id` to pass to `dev_start`. |
213
- | `dev_start` | `platform` (required: `ios`/`android`/`tvos`/`androidtv`), `app`, `metro_port` | Start a dev-loop session held open by the MCP server. The MCP equivalent of `vibeview dev --detach`. |
237
+ | `dev_start` | `platform` (required: `ios`/`android`/`tvos`/`androidtv`), `app`, `metro_port` | Start a dev-loop session held open by the MCP server. The MCP equivalent of `vibeview dev --detach`. Returns `page_url` — relay it to the developer immediately, same as step 5 of the loop. |
214
238
  | `dev_stop` | — | Stop the session `dev_start` started. The MCP equivalent of `vibeview dev-stop`. |
215
239
 
216
240
  **`dev_start` is stateful — it changes the default session for every later