@vm0/cli 9.156.4 → 9.156.6

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.
package/index.js CHANGED
@@ -68,7 +68,7 @@ import {
68
68
  source_default,
69
69
  volumeConfigSchema,
70
70
  withErrorHandler
71
- } from "./chunk-JTUABYXF.js";
71
+ } from "./chunk-6YYCRDL4.js";
72
72
  import {
73
73
  __toESM,
74
74
  init_esm_shims
@@ -387,7 +387,7 @@ function getConfigPath() {
387
387
  return join(os.homedir(), ".vm0", "config.json");
388
388
  }
389
389
  var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
390
- console.log(source_default.bold(`VM0 CLI v${"9.156.4"}`));
390
+ console.log(source_default.bold(`VM0 CLI v${"9.156.6"}`));
391
391
  console.log();
392
392
  const config = await loadConfig();
393
393
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -4280,7 +4280,7 @@ var composeCommand = new Command().name("compose").description("Create or update
4280
4280
  options.autoUpdate = false;
4281
4281
  }
4282
4282
  if (options.autoUpdate !== false) {
4283
- await startSilentUpgrade("9.156.4");
4283
+ await startSilentUpgrade("9.156.6");
4284
4284
  }
4285
4285
  try {
4286
4286
  let result;
@@ -4372,7 +4372,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
4372
4372
  withErrorHandler(
4373
4373
  async (identifier, prompt, options) => {
4374
4374
  if (options.autoUpdate !== false) {
4375
- await startSilentUpgrade("9.156.4");
4375
+ await startSilentUpgrade("9.156.6");
4376
4376
  }
4377
4377
  const { name, version } = parseIdentifier(identifier);
4378
4378
  let composeId;
@@ -6165,13 +6165,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
6165
6165
  if (latestVersion === null) {
6166
6166
  throw new Error("Could not check for updates. Please try again later.");
6167
6167
  }
6168
- if (latestVersion === "9.156.4") {
6169
- console.log(source_default.green(`\u2713 Already up to date (${"9.156.4"})`));
6168
+ if (latestVersion === "9.156.6") {
6169
+ console.log(source_default.green(`\u2713 Already up to date (${"9.156.6"})`));
6170
6170
  return;
6171
6171
  }
6172
6172
  console.log(
6173
6173
  source_default.yellow(
6174
- `Current version: ${"9.156.4"} -> Latest version: ${latestVersion}`
6174
+ `Current version: ${"9.156.6"} -> Latest version: ${latestVersion}`
6175
6175
  )
6176
6176
  );
6177
6177
  console.log();
@@ -6198,7 +6198,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
6198
6198
  const success = await performUpgrade(packageManager);
6199
6199
  if (success) {
6200
6200
  console.log(
6201
- source_default.green(`\u2713 Upgraded from ${"9.156.4"} to ${latestVersion}`)
6201
+ source_default.green(`\u2713 Upgraded from ${"9.156.6"} to ${latestVersion}`)
6202
6202
  );
6203
6203
  return;
6204
6204
  }
@@ -6265,7 +6265,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
6265
6265
 
6266
6266
  // src/index.ts
6267
6267
  var program = new Command();
6268
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.156.4");
6268
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.156.6");
6269
6269
  program.addCommand(authCommand);
6270
6270
  program.addCommand(infoCommand);
6271
6271
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.156.4",
3
+ "version": "9.156.6",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",
package/zero.js CHANGED
@@ -140,7 +140,7 @@ import {
140
140
  withErrorHandler,
141
141
  zeroAgentCustomSkillNameSchema,
142
142
  zeroLocalAgentCommand
143
- } from "./chunk-JTUABYXF.js";
143
+ } from "./chunk-6YYCRDL4.js";
144
144
  import {
145
145
  __toESM,
146
146
  init_esm_shims
@@ -2578,25 +2578,25 @@ init_esm_shims();
2578
2578
  var BUILT_IN_GENERATION_PROVIDERS = {
2579
2579
  image: [
2580
2580
  {
2581
- label: "Built-in OpenAI",
2581
+ label: "Built-in fal.ai",
2582
2582
  model: "gpt-image-1",
2583
2583
  command: "zero built-in generate image --model gpt-image-1 -h",
2584
2584
  reason: "available without connector setup"
2585
2585
  },
2586
2586
  {
2587
- label: "Built-in OpenAI",
2587
+ label: "Built-in fal.ai",
2588
2588
  model: "gpt-image-2",
2589
2589
  command: "zero built-in generate image --model gpt-image-2 -h",
2590
2590
  reason: "available without connector setup"
2591
2591
  },
2592
2592
  {
2593
- label: "Built-in OpenAI",
2593
+ label: "Built-in fal.ai",
2594
2594
  model: "gpt-image-1.5",
2595
2595
  command: "zero built-in generate image --model gpt-image-1.5 -h",
2596
2596
  reason: "available without connector setup"
2597
2597
  },
2598
2598
  {
2599
- label: "Built-in OpenAI",
2599
+ label: "Built-in fal.ai",
2600
2600
  model: "gpt-image-1-mini",
2601
2601
  command: "zero built-in generate image --model gpt-image-1-mini -h",
2602
2602
  reason: "available without connector setup"
@@ -2685,7 +2685,7 @@ var BUILT_IN_GENERATION_COMMANDS = {
2685
2685
  image: {
2686
2686
  label: "Built-in image generation",
2687
2687
  command: "zero built-in generate image -h",
2688
- models: "OpenAI: gpt-image-1 (default), gpt-image-2, gpt-image-1.5, gpt-image-1-mini; fal.ai: flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, seedream4"
2688
+ models: "fal.ai: gpt-image-1 (default), gpt-image-2, gpt-image-1.5, gpt-image-1-mini, flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, seedream4"
2689
2689
  },
2690
2690
  video: {
2691
2691
  label: "Built-in video generation",
@@ -7379,15 +7379,15 @@ Output:
7379
7379
  Notes:
7380
7380
  - Authenticates via ZERO_TOKEN (requires file:write capability)
7381
7381
  - Charges org credits after successful image generation
7382
- - Uses OpenAI for GPT Image models and fal.ai for non-OpenAI models
7382
+ - Uses fal.ai for all image model execution
7383
7383
 
7384
7384
  Models:
7385
- - OpenAI: gpt-image-1 (default), gpt-image-2, gpt-image-1.5,
7386
- gpt-image-1-mini. OpenAI generations bill returned text/image/output
7387
- token usage.
7388
- - fal.ai: flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, seedream4.
7389
- fal generations bill by output image or rounded-up output megapixel,
7390
- depending on the model.
7385
+ - fal.ai: gpt-image-1 (default), gpt-image-2, gpt-image-1.5,
7386
+ gpt-image-1-mini, flux-pro-1.1, flux-pro-1.1-ultra, qwen-image,
7387
+ seedream4.
7388
+ GPT Image models bill by fal output image quality and size.
7389
+ Other fal generations bill by output image or rounded-up output
7390
+ megapixel, depending on the model.
7391
7391
 
7392
7392
  Options:
7393
7393
  - Prompt: required, up to 32,000 characters; stdin is supported.
@@ -7399,13 +7399,13 @@ Options:
7399
7399
  between 655,360 and 8,294,400. gpt-image-1.5, gpt-image-1, and
7400
7400
  gpt-image-1-mini use auto, 1024x1024, 1536x1024, or 1024x1536.
7401
7401
  - Quality: low, medium, high, or auto. Low is fastest for drafts.
7402
- - Background: auto, opaque, or transparent. gpt-image-2 and fal models do
7403
- not support transparent backgrounds.
7404
- - Format: png, jpeg, or webp for OpenAI; png or jpeg for fal. Use
7405
- --compression 0-100 only with OpenAI jpeg or webp outputs.
7406
- - Moderation: auto or low for OpenAI models.
7402
+ - Background: auto, opaque, or transparent when supported. gpt-image-2,
7403
+ Flux, Qwen, and Seedream do not support transparent backgrounds.
7404
+ - Format: png, jpeg, or webp for GPT Image models; png or jpeg for the
7405
+ other fal models.
7407
7406
  - fal-only controls: --seed, --safety-tolerance for Flux, and
7408
- --enhance-prompt for flux-pro-1.1.
7407
+ --enhance-prompt for flux-pro-1.1. --compression and --moderation low are
7408
+ not supported on the fal-backed image path.
7409
7409
  - This command generates one text-to-image result. GPT Image also
7410
7410
  supports image edits, reference images, masks, partial-image streaming,
7411
7411
  and multiple images per request, but those are not exposed by this
@@ -7463,8 +7463,8 @@ var imageCommand = createImageGenerateCommand({
7463
7463
  usageCommand: "zero built-in generate image",
7464
7464
  examples: ` Generate image: zero built-in generate image --prompt "A watercolor fox"
7465
7465
  Pipe prompt: cat prompt.txt | zero built-in generate image
7466
- OpenAI model: zero built-in generate image --model gpt-image-1.5 --prompt "A poster" --size 1024x1536 --quality high
7467
- fal model: zero built-in generate image --model flux-pro-1.1 --prompt "A product hero shot" --seed 42`
7466
+ GPT Image model: zero built-in generate image --model gpt-image-1.5 --prompt "A poster" --size 1024x1536 --quality high
7467
+ Flux model: zero built-in generate image --model flux-pro-1.1 --prompt "A product hero shot" --seed 42`
7468
7468
  });
7469
7469
 
7470
7470
  // src/commands/zero/built-in/generate/presentation.ts
@@ -7536,7 +7536,7 @@ Output:
7536
7536
  Notes:
7537
7537
  - Authenticates via ZERO_TOKEN (requires file:write capability)
7538
7538
  - Charges org credits after successful presentation generation
7539
- - Uses OpenAI gpt-5.5 through the Responses API`
7539
+ - Uses OpenAI gpt-5.5 for deck text and fal.ai for generated visuals`
7540
7540
  ).action(
7541
7541
  withErrorHandler(async (options) => {
7542
7542
  const prompt = readPrompt2(options, config.usageCommand);
@@ -8719,7 +8719,7 @@ function registerZeroCommands(prog, commands) {
8719
8719
  var program = new Command();
8720
8720
  program.name("zero").description(
8721
8721
  "Zero CLI \u2014 interact with the zero platform from inside the sandbox"
8722
- ).version("9.156.4").addHelpText("after", () => {
8722
+ ).version("9.156.6").addHelpText("after", () => {
8723
8723
  return buildZeroHelpText();
8724
8724
  });
8725
8725
  if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {