vibeview 0.14.0 → 0.14.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.
@@ -5,7 +5,7 @@ import {
5
5
  loadConfig,
6
6
  resolveAuth,
7
7
  uploadAppBuild
8
- } from "./chunk-KUU4IUZU.js";
8
+ } from "./chunk-2WTLJ66O.js";
9
9
 
10
10
  // src/lib/dev-state.ts
11
11
  import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "fs";
@@ -38,7 +38,7 @@ function resolveAuth(options) {
38
38
 
39
39
  // src/lib/api-client.ts
40
40
  import { openAsBlob, readFileSync as readFileSync2 } from "fs";
41
- import { createWriteStream, renameSync, rmSync } from "fs";
41
+ import { createWriteStream, mkdirSync as mkdirSync2, renameSync, rmSync } from "fs";
42
42
  import { basename, join as join2, resolve, sep } from "path";
43
43
  import { pipeline } from "stream/promises";
44
44
  import { Readable } from "stream";
@@ -332,6 +332,7 @@ var ApiClient = class {
332
332
  if (resolvedPath !== join2(resolvedDestDir, filename) || !resolvedPath.startsWith(resolvedDestDir + sep)) {
333
333
  throw new Error(`Refusing to write artifact outside destination directory: ${filename}`);
334
334
  }
335
+ mkdirSync2(resolvedDestDir, { recursive: true });
335
336
  if (!resp.body) {
336
337
  createWriteStream(path).end();
337
338
  return { filename, path };
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  readDevState,
14
14
  readMetroState,
15
15
  runAgentVerb
16
- } from "./chunk-J64ENS7W.js";
16
+ } from "./chunk-2VNBRBST.js";
17
17
  import {
18
18
  ApiClient,
19
19
  EXIT_INFRA_ERROR,
@@ -26,7 +26,7 @@ import {
26
26
  resolveAuth,
27
27
  saveConfig,
28
28
  uploadApp
29
- } from "./chunk-KUU4IUZU.js";
29
+ } from "./chunk-2WTLJ66O.js";
30
30
 
31
31
  // src/cli.ts
32
32
  import { createRequire } from "module";
@@ -1791,16 +1791,24 @@ async function credentialsList(opts, deps) {
1791
1791
  process.exitCode = 1;
1792
1792
  }
1793
1793
  }
1794
+ function formatIdentity(c) {
1795
+ if (!c.fingerprint) return "";
1796
+ const [tag, ...rest] = c.fingerprint.split(":");
1797
+ const value = rest.join(":");
1798
+ if (tag === "cert-sha256") return `cert sha256:${value}`;
1799
+ if (tag === "file-sha256") return `keystore-file sha256:${value}`;
1800
+ return c.platform === "android" ? `keystore-file sha256:${c.fingerprint}` : `cert sha1:${c.fingerprint}`;
1801
+ }
1794
1802
  function formatCredentialsHuman(credentials2) {
1795
1803
  if (credentials2.length === 0) {
1796
1804
  return "No signing credentials found.\n";
1797
1805
  }
1798
- const HEADERS3 = ["NAME", "PLATFORM", "SCOPE", "FINGERPRINT", "EXPIRES"];
1806
+ const HEADERS3 = ["NAME", "PLATFORM", "SCOPE", "IDENTITY", "EXPIRES"];
1799
1807
  const rows = credentials2.map((c) => [
1800
1808
  c.name,
1801
1809
  c.platform,
1802
1810
  c.app_public_id ?? "org-wide",
1803
- c.fingerprint ?? "",
1811
+ formatIdentity(c),
1804
1812
  c.expires_at ? c.expires_soon ? `${c.expires_at} (soon)` : c.expires_at : ""
1805
1813
  ]);
1806
1814
  const widths = HEADERS3.map((h, i) => Math.max(h.length, ...rows.map((r) => r[i].length)));
@@ -2221,7 +2229,7 @@ program.command("dev-stop").description("Stop a `vibeview dev --detach` session
2221
2229
  program.command("mcp").description(
2222
2230
  "Run an MCP stdio server exposing the agent verbs (tap, swipe, type, ...) plus dev_start/dev_stop as tools"
2223
2231
  ).option("--token <token>", "API token (or set VIBEVIEW_API_TOKEN)").action(async (opts) => {
2224
- const { runMcpServer } = await import("./server-VF3N2CO5.js");
2232
+ const { runMcpServer } = await import("./server-KG7CEBEY.js");
2225
2233
  await runMcpServer(opts);
2226
2234
  });
2227
2235
  program.command("agent-setup").description(
@@ -11,11 +11,11 @@ import {
11
11
  readDevState,
12
12
  renderEnvelope,
13
13
  startDevSession
14
- } from "./chunk-J64ENS7W.js";
14
+ } from "./chunk-2VNBRBST.js";
15
15
  import {
16
16
  ApiClient,
17
17
  resolveAuth
18
- } from "./chunk-KUU4IUZU.js";
18
+ } from "./chunk-2WTLJ66O.js";
19
19
 
20
20
  // src/mcp/server.ts
21
21
  import { writeFileSync } from "fs";
@@ -239,7 +239,7 @@ async function handleUploadApp(args, deps) {
239
239
  }
240
240
  const name = typeof args.name === "string" && args.name ? args.name : void 0;
241
241
  const upload = deps.uploadApp ?? (async (f, n) => {
242
- const { uploadAppBuild } = await import("./upload-app-3WXNF57W.js");
242
+ const { uploadAppBuild } = await import("./upload-app-NVPQ7KRO.js");
243
243
  const { result: result2 } = await uploadAppBuild(f, { ...deps.auth, name: n });
244
244
  return result2;
245
245
  });
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  uploadApp,
4
4
  uploadAppBuild
5
- } from "./chunk-KUU4IUZU.js";
5
+ } from "./chunk-2WTLJ66O.js";
6
6
  export {
7
7
  uploadApp,
8
8
  uploadAppBuild
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeview",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "VibeView CLI -- run mobile tests from CI/CD pipelines",
5
5
  "type": "module",
6
6
  "bin": {