@aarwitz/tapp 0.17.23 → 0.17.24

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tapp",
3
3
  "description": "Give Claude hands and eyes on iOS, Android, and web apps, with exploration, replayable flows, evidence, and deterministic CI gates.",
4
- "version": "0.17.23",
4
+ "version": "0.17.24",
5
5
  "author": {
6
6
  "name": "Aaron Horowitz",
7
7
  "url": "https://github.com/aarwitz"
@@ -24,7 +24,7 @@
24
24
  "command": "npx",
25
25
  "args": [
26
26
  "-y",
27
- "@aarwitz/tapp@0.17.23",
27
+ "@aarwitz/tapp@0.17.24",
28
28
  "mcp"
29
29
  ],
30
30
  "cwd": "${CLAUDE_PROJECT_DIR}"
package/README.md CHANGED
@@ -70,6 +70,10 @@ you want inline screenshot results or when the agent must interactively tap, typ
70
70
  arbitrary multi-step journey in one persistent session. It is not required for the core
71
71
  skill-to-CLI workflow.
72
72
 
73
+ **A live site, production, or a site you do not own:** the agent uses `tapp audit` / `tapp_audit`,
74
+ which renders and reads the page but never clicks, types or submits. Exploration is for apps and
75
+ environments you own.
76
+
73
77
  **No agent integration:** run the npm package directly from an app repository in one line:
74
78
 
75
79
  ```bash
@@ -1748,6 +1748,14 @@ export function qaNextSteps(report, surface = "mcp") {
1748
1748
  return next;
1749
1749
  }
1750
1750
  const next = [];
1751
+ // An inconclusive run's only useful next step is the one that unblocks coverage; everything
1752
+ // else below assumes there was a real exploration to build on.
1753
+ if (report?.inconclusive) {
1754
+ const reason = String(report.stopReason || "");
1755
+ if (reason.startsWith("login-wall")) next.push("re-run with `testEmail`/`testPassword` (or an `actor` from .tapp/project.json) — the sign-in wall was not exercised");
1756
+ else if (reason === "time-budget-exhausted") next.push("re-run with a larger `timeoutSeconds` or a smaller `maxActions` — the time budget ran out, not the app");
1757
+ else next.push("check the app launches: `tapp_open_app` first (add `appLaunchArgs`/`appLaunchEnv` if it needs a test bypass), then re-run");
1758
+ }
1751
1759
  if (report?.findings?.length) next.push("open a flagged screen with `tapp_open_app`");
1752
1760
  next.push("re-run with `baselineFindings` to gate a fix");
1753
1761
  next.push("drive it step-by-step via `tapp_session_start`");
@@ -2834,7 +2842,8 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
2834
2842
  "pages > 1 crawls same-origin links breadth-first with robots.txt honoured. Writes a capture (screenshots, " +
2835
2843
  "per-finding evidence, report.html) like an explore run. Returns {kind:'tapp-structural-audit', readOnly:true, " +
2836
2844
  "pagesAudited, findingCounts, pages:[{url,title,controlsExamined,linksChecked,findings}], checkedFor, notChecked, capture}. " +
2837
- "An observation, never a verdict; absence of findings says the page is served without structural defects, not that the product works.",
2845
+ "An observation, never a verdict; absence of findings says the page is served without structural defects, not that the product works. " +
2846
+ "NOT for exercising behaviour (forms, buttons, journeys) on an app you own — that is tapp_explore or a session.",
2838
2847
  inputSchema: {
2839
2848
  type: "object",
2840
2849
  properties: {
@@ -3166,7 +3175,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
3166
3175
  description:
3167
3176
  "Dump the accessibility (UI) tree of the current screen of an installed iOS or Android app — " +
3168
3177
  "the inspection primitive (like Playwright's snapshot). Returns {screenTitle, elements:[{type,id,label," +
3169
- "enabled,hittable,x,y,w,h}]}. Use it to see what's on screen before/after acting.",
3178
+ "enabled,hittable,x,y,w,h}]}. Use it to see what's on screen before/after acting. NOT for launching an app (tapp_open_app) or finding bugs (tapp_explore).",
3170
3179
  inputSchema: {
3171
3180
  type: "object",
3172
3181
  properties: {
@@ -3263,7 +3272,8 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
3263
3272
  "Start a PERSISTENT interactive session against an installed iOS/Android app, a web URL, or an " +
3264
3273
  "unambiguous managed web target in the MCP workspace. The app " +
3265
3274
  "launches once and stays up, so you can drive a Playwright-style tap → inspect loop without a cold " +
3266
- "launch per action. Returns the initial screen {screenTitle, elements[]}. Drive it with " +
3275
+ "launch per action. NOT for finding bugs autonomously (tapp_explore), a one-off screenshot (tapp_open_app), " +
3276
+ "or a site you do not own (tapp_audit — a session clicks). Returns the initial screen {screenTitle, elements[]}. Drive it with " +
3267
3277
  "tapp_focus for any named destination (source + shortest observed route), then tapp_session_act only for remaining actions; finish with tapp_session_end. " +
3268
3278
  "For a focused user request, ALWAYS pass it in `focus` so the session reaches that surface before returning. Only one session at a time. Starts from a " +
3269
3279
  "fresh COLD launch (terminate + relaunch, for a deterministic starting screen): persisted data such as Keychain credentials survives, but the app opens on its " +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarwitz/tapp",
3
- "version": "0.17.23",
3
+ "version": "0.17.24",
4
4
  "mcpName": "io.github.aarwitz/tapp",
5
5
  "description": "Let coding agents verify UI changes on real iOS, Android, and web surfaces, then enforce reviewed proof in deterministic CI.",
6
6
  "license": "MIT",