vibeview 0.51.1 → 0.52.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.
@@ -3014,6 +3014,8 @@ async function waitForCloudBuilds(builds, opts, deps) {
3014
3014
  id: final.id,
3015
3015
  status: final.status,
3016
3016
  cost_micro: final.cost_micro,
3017
+ included_minutes: final.included_minutes ?? null,
3018
+ billed_minutes: final.billed_minutes ?? null,
3017
3019
  error_summary: final.error_summary,
3018
3020
  app_build_id: final.app_build_id ?? null,
3019
3021
  app_public_id: final.app_public_id ?? null,
@@ -3166,9 +3168,22 @@ function printOutcomeLine(build, multi) {
3166
3168
  let line = `${prefix}${mark} ${build.status}`;
3167
3169
  if (duration) line += ` (${duration})`;
3168
3170
  if (build.error_summary) line += ` \u2014 ${build.error_summary}`;
3169
- if (build.cost_micro > 0) line += ` \u2014 cost: ${formatCost(build.cost_micro)} usage credit`;
3171
+ const minutes = buildMinutesSuffix(build);
3172
+ if (minutes) line += ` \u2014 ${minutes}`;
3173
+ else if (build.cost_micro > 0) line += ` \u2014 cost: ${formatCost(build.cost_micro)} usage credit`;
3170
3174
  console.error(line);
3171
3175
  }
3176
+ function buildMinutesSuffix(build) {
3177
+ const included = build.included_minutes ?? 0;
3178
+ const billed = build.billed_minutes ?? 0;
3179
+ if (build.included_minutes == null && build.billed_minutes == null) return null;
3180
+ const plural = (n) => n === 1 ? "minute" : "minutes";
3181
+ if (billed === 0) return included > 0 ? `${included} included build ${plural(included)}` : null;
3182
+ const cost = `${formatCost(build.cost_micro)} usage credit`;
3183
+ if (included === 0) return `${billed} billed build ${plural(billed)} (${cost})`;
3184
+ const total = included + billed;
3185
+ return `${total} build ${plural(total)}: ${included} included, ${billed} billed (${cost})`;
3186
+ }
3172
3187
 
3173
3188
  // src/lib/roku-push.ts
3174
3189
  function createRokuPush(opts) {
package/dist/cli.js CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  runAgentVerb,
36
36
  runStepsNotChecked,
37
37
  stepsNotCheckedLabel
38
- } from "./chunk-IVVLPLPM.js";
38
+ } from "./chunk-AQCZ3UOE.js";
39
39
  import {
40
40
  ApiClient,
41
41
  ApiStatusError,
@@ -2291,6 +2291,8 @@ The build may still be running server-side \u2014 resume watching it with \`vibe
2291
2291
  id: final.id,
2292
2292
  status: final.status,
2293
2293
  cost_micro: final.cost_micro,
2294
+ included_minutes: final.included_minutes ?? null,
2295
+ billed_minutes: final.billed_minutes ?? null,
2294
2296
  error_summary: final.error_summary
2295
2297
  })
2296
2298
  );
@@ -4518,7 +4520,7 @@ program.command("dev-reload").description(
4518
4520
  program.command("mcp").description(
4519
4521
  "Run an MCP stdio server exposing the agent verbs (tap, swipe, type, ...) plus dev_start/dev_stop/dev_reload as tools"
4520
4522
  ).option("--token <token>", "API token (or set VIBEVIEW_API_TOKEN)").action(async (opts) => {
4521
- const { runMcpServer } = await import("./server-322WCIKD.js");
4523
+ const { runMcpServer } = await import("./server-3D436M2S.js");
4522
4524
  await runMcpServer({ ...opts, version: pkg.version });
4523
4525
  });
4524
4526
  program.command("agent-setup").description(
@@ -35,7 +35,7 @@ import {
35
35
  renderEnvelope,
36
36
  resolveMetro,
37
37
  startDevSession
38
- } from "./chunk-IVVLPLPM.js";
38
+ } from "./chunk-AQCZ3UOE.js";
39
39
  import {
40
40
  ApiClient,
41
41
  NotFoundError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeview",
3
- "version": "0.51.1",
3
+ "version": "0.52.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",