@aarwitz/tapp 0.29.1 → 0.29.2

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.29.1",
4
+ "version": "0.29.2",
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.29.1",
27
+ "@aarwitz/tapp@0.29.2",
28
28
  "mcp"
29
29
  ],
30
30
  "cwd": "${CLAUDE_PROJECT_DIR}"
@@ -584,7 +584,14 @@ export async function startBrowserProduct({ projectDir, port = 0, launch = false
584
584
  // with no client id behind it is never rendered.
585
585
  const oauth = publicAccess ? oauthProviders() : [];
586
586
  const signInProvider = oauth.length ? "oauth" : access ? "cloudflare" : "email";
587
- const signInOptions = [...oauth.map((provider) => ({ kind: provider.name, label: `Continue with ${provider.label}` })), ...(access ? [{ kind: "cloudflare", label: "Continue with a one-time code" }] : []), { kind: "email", label: "Email me a link" }];
587
+ // Cloudflare Access was the stopgap before "Continue with Google" existed. Where a provider is
588
+ // configured it stops being offered — two doors into the same account only invites the question
589
+ // "which one did I use?" — though the route stays alive as a way back in if a provider breaks.
590
+ const signInOptions = [
591
+ ...oauth.map((provider) => ({ kind: provider.name, label: `Continue with ${provider.label}` })),
592
+ ...(access && !oauth.length ? [{ kind: "cloudflare", label: "Continue with a one-time code" }] : []),
593
+ { kind: "email", label: "Email me a link" },
594
+ ];
588
595
  const openAccountSession = (response, signedIn, location = "/?signin=done") => {
589
596
  logUsage("signin.done", { account: signedIn.account.id.slice(0, 8), provider: signInProvider });
590
597
  response.writeHead(303, { location, "set-cookie": `${ACCOUNT_COOKIE}=${encodeURIComponent(signedIn.session)}; HttpOnly; SameSite=Lax;${secureCookies ? " Secure;" : ""} Path=/; Max-Age=7776000` });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarwitz/tapp",
3
- "version": "0.29.1",
3
+ "version": "0.29.2",
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",