vibeview 0.48.0 → 0.49.0

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.
@@ -960,7 +960,8 @@ async function uploadApp(filePath, options) {
960
960
  url: `${baseUrl}/apps/${result.public_id}`,
961
961
  warnings: result.warnings ?? [],
962
962
  compat_status: result.compat_status ?? null,
963
- findings: result.findings ?? []
963
+ findings: result.findings ?? [],
964
+ launch_warning: result.launch_warning ?? null
964
965
  },
965
966
  null,
966
967
  2
@@ -986,6 +987,8 @@ async function uploadApp(filePath, options) {
986
987
  for (const w of result.warnings ?? []) console.error(chalk.yellow(`
987
988
  \u26A0 ${w}`));
988
989
  }
990
+ if (result.launch_warning) console.error(chalk.yellow(`
991
+ \u26A0 ${result.launch_warning}`));
989
992
  } catch (err) {
990
993
  if (err instanceof ApiStatusError && err.status === 422 && err.data?.error === "build_refused") {
991
994
  const findings = Array.isArray(err.data.findings) ? err.data.findings : [];
@@ -13,7 +13,7 @@ import {
13
13
  resolveArtifact,
14
14
  resolveAuth,
15
15
  uploadAppBuild
16
- } from "./chunk-3LXR2YCS.js";
16
+ } from "./chunk-42GZ4UEJ.js";
17
17
 
18
18
  // src/lib/formatters/not-checked.ts
19
19
  function notCheckedSteps(steps) {
@@ -2177,6 +2177,7 @@ async function buildCommand(opts, cloudDeps) {
2177
2177
  (l) => console.error(chalk3.dim(l))
2178
2178
  );
2179
2179
  for (const w of result.warnings ?? []) console.error(chalk3.yellow(`\u26A0 ${w}`));
2180
+ if (result.launch_warning) console.error(chalk3.yellow(`\u26A0 ${result.launch_warning}`));
2180
2181
  persistUploadedAppId(cwd, platform, build, result.public_id);
2181
2182
  if (opts.json) {
2182
2183
  console.log(
@@ -2687,8 +2688,12 @@ async function waitForCloudBuilds(builds, opts, deps) {
2687
2688
  if (BUILD_TERMINAL_STATUSES.has(logs.status)) {
2688
2689
  const final = await fetchFinalSummary(build.id, updated, deps);
2689
2690
  state.set(build.id, final);
2691
+ const launchWarning = final.app_build?.launch_warning ?? null;
2690
2692
  if (!opts.json) {
2691
2693
  printOutcomeLine(final, multi);
2694
+ if (launchWarning) {
2695
+ console.error(chalk3.yellow(`${multi ? `[${final.platform}] ` : ""}\u26A0 ${launchWarning}`));
2696
+ }
2692
2697
  }
2693
2698
  emitCloud(opts.json, {
2694
2699
  event: "build_finished",
@@ -2697,7 +2702,8 @@ async function waitForCloudBuilds(builds, opts, deps) {
2697
2702
  cost_micro: final.cost_micro,
2698
2703
  error_summary: final.error_summary,
2699
2704
  app_build_id: final.app_build_id ?? null,
2700
- app_public_id: final.app_public_id ?? null
2705
+ app_public_id: final.app_public_id ?? null,
2706
+ launch_warning: launchWarning
2701
2707
  });
2702
2708
  finalized.add(build.id);
2703
2709
  }
package/dist/cli.js CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  runAgentVerb,
35
35
  runStepsNotChecked,
36
36
  stepsNotCheckedLabel
37
- } from "./chunk-OMIZWILH.js";
37
+ } from "./chunk-X5F4DA3S.js";
38
38
  import {
39
39
  ApiClient,
40
40
  ApiStatusError,
@@ -57,7 +57,7 @@ import {
57
57
  runCommandParseExitCode,
58
58
  saveConfig,
59
59
  uploadApp
60
- } from "./chunk-3LXR2YCS.js";
60
+ } from "./chunk-42GZ4UEJ.js";
61
61
 
62
62
  // src/cli.ts
63
63
  import { createRequire } from "module";
@@ -4508,7 +4508,7 @@ program.command("dev-reload").description(
4508
4508
  program.command("mcp").description(
4509
4509
  "Run an MCP stdio server exposing the agent verbs (tap, swipe, type, ...) plus dev_start/dev_stop/dev_reload as tools"
4510
4510
  ).option("--token <token>", "API token (or set VIBEVIEW_API_TOKEN)").action(async (opts) => {
4511
- const { runMcpServer } = await import("./server-3JZ2MN5N.js");
4511
+ const { runMcpServer } = await import("./server-NOJQ4XLR.js");
4512
4512
  await runMcpServer({ ...opts, version: pkg.version });
4513
4513
  });
4514
4514
  program.command("agent-setup").description(
@@ -34,12 +34,12 @@ import {
34
34
  renderEnvelope,
35
35
  resolveMetro,
36
36
  startDevSession
37
- } from "./chunk-OMIZWILH.js";
37
+ } from "./chunk-X5F4DA3S.js";
38
38
  import {
39
39
  ApiClient,
40
40
  NotFoundError,
41
41
  resolveAuth
42
- } from "./chunk-3LXR2YCS.js";
42
+ } from "./chunk-42GZ4UEJ.js";
43
43
 
44
44
  // src/mcp/server.ts
45
45
  import { writeFileSync } from "fs";
@@ -998,7 +998,7 @@ async function handleUploadApp(args, deps) {
998
998
  }
999
999
  const name = typeof args.name === "string" && args.name ? args.name : void 0;
1000
1000
  const upload = deps.uploadApp ?? (async (f, n) => {
1001
- const { uploadAppBuild } = await import("./upload-app-TDR6PIWD.js");
1001
+ const { uploadAppBuild } = await import("./upload-app-DLBU3ZZY.js");
1002
1002
  const { result: result2 } = await uploadAppBuild(f, { ...deps.auth, name: n });
1003
1003
  return result2;
1004
1004
  });
@@ -1019,7 +1019,8 @@ async function handleUploadApp(args, deps) {
1019
1019
  build_id: result.build_id ?? null,
1020
1020
  version: result.version ?? null,
1021
1021
  build_number: result.build_number ?? null,
1022
- warnings
1022
+ warnings,
1023
+ launch_warning: result.launch_warning ?? null
1023
1024
  };
1024
1025
  const lines = [
1025
1026
  `${isNew ? "New app created" : "Build added to existing app"}: ${result.name}`,
@@ -1027,7 +1028,8 @@ async function handleUploadApp(args, deps) {
1027
1028
  ...result.build_id != null ? [
1028
1029
  `build_id: ${result.build_id}${result.version ? ` version ${result.version}${result.build_number ? ` (${result.build_number})` : ""}` : ""}`
1029
1030
  ] : [],
1030
- ...warnings.map((w) => `warning: ${w}`)
1031
+ ...warnings.map((w) => `warning: ${w}`),
1032
+ ...result.launch_warning ? [`warning: ${result.launch_warning}`] : []
1031
1033
  ];
1032
1034
  return textResult(lines.join("\n"), payload);
1033
1035
  }
@@ -3,7 +3,7 @@ import {
3
3
  describeBuild,
4
4
  uploadApp,
5
5
  uploadAppBuild
6
- } from "./chunk-3LXR2YCS.js";
6
+ } from "./chunk-42GZ4UEJ.js";
7
7
  export {
8
8
  describeBuild,
9
9
  uploadApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeview",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "VibeView CLI -- run your app on cloud iOS simulators, Android emulators, Apple TV, Android TV and Roku devices: a React Native dev loop, device control for you or your coding agent (CLI or MCP), and tests from CI",
5
5
  "mcpName": "io.github.vibeview/vibeview",
6
6
  "type": "module",