@vm0/cli 9.154.0 → 9.154.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.154.0",
3
+ "version": "9.154.2",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",
package/zero.js CHANGED
@@ -137,8 +137,8 @@ import {
137
137
  upsertZeroOrgModelProvider,
138
138
  withErrorHandler,
139
139
  zeroAgentCustomSkillNameSchema,
140
- zeroRemoteAgentCommand
141
- } from "./chunk-L3DXJXOV.js";
140
+ zeroLocalAgentCommand
141
+ } from "./chunk-4F34B6ZK.js";
142
142
  import {
143
143
  __toESM,
144
144
  init_esm_shims
@@ -2543,20 +2543,20 @@ var BUILT_IN_GENERATION_PROVIDERS = {
2543
2543
  image: [
2544
2544
  {
2545
2545
  label: "Built-in OpenAI",
2546
- model: "gpt-image-2",
2547
- command: "zero built-in generate image --model gpt-image-2 -h",
2546
+ model: "gpt-image-1",
2547
+ command: "zero built-in generate image --model gpt-image-1 -h",
2548
2548
  reason: "available without connector setup"
2549
2549
  },
2550
2550
  {
2551
2551
  label: "Built-in OpenAI",
2552
- model: "gpt-image-1.5",
2553
- command: "zero built-in generate image --model gpt-image-1.5 -h",
2552
+ model: "gpt-image-2",
2553
+ command: "zero built-in generate image --model gpt-image-2 -h",
2554
2554
  reason: "available without connector setup"
2555
2555
  },
2556
2556
  {
2557
2557
  label: "Built-in OpenAI",
2558
- model: "gpt-image-1",
2559
- command: "zero built-in generate image --model gpt-image-1 -h",
2558
+ model: "gpt-image-1.5",
2559
+ command: "zero built-in generate image --model gpt-image-1.5 -h",
2560
2560
  reason: "available without connector setup"
2561
2561
  },
2562
2562
  {
@@ -2649,7 +2649,7 @@ var BUILT_IN_GENERATION_COMMANDS = {
2649
2649
  image: {
2650
2650
  label: "Built-in image generation",
2651
2651
  command: "zero built-in generate image -h",
2652
- models: "OpenAI: gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini; fal.ai: flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, seedream4"
2652
+ 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"
2653
2653
  },
2654
2654
  video: {
2655
2655
  label: "Built-in video generation",
@@ -7313,8 +7313,8 @@ function parseSeed(value) {
7313
7313
  function createImageGenerateCommand(config) {
7314
7314
  return new Command().name(config.name).description("Generate a billed image file from a prompt").option("--prompt <text>", "Image prompt; can also be piped via stdin").option(
7315
7315
  "--model <model>",
7316
- "Model: gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini, flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, or seedream4",
7317
- "gpt-image-2"
7316
+ "Model: 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, or seedream4",
7317
+ "gpt-image-1"
7318
7318
  ).option(
7319
7319
  "--size <size>",
7320
7320
  "Image size: auto or WIDTHxHEIGHT; support varies by model",
@@ -7346,7 +7346,7 @@ Notes:
7346
7346
  - Uses OpenAI for GPT Image models and fal.ai for non-OpenAI models
7347
7347
 
7348
7348
  Models:
7349
- - OpenAI: gpt-image-2 (default), gpt-image-1.5, gpt-image-1,
7349
+ - OpenAI: gpt-image-1 (default), gpt-image-2, gpt-image-1.5,
7350
7350
  gpt-image-1-mini. OpenAI generations bill returned text/image/output
7351
7351
  token usage.
7352
7352
  - fal.ai: flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, seedream4.
@@ -7484,7 +7484,7 @@ function createPresentationGenerateCommand(config) {
7484
7484
  2
7485
7485
  ).option(
7486
7486
  "--image-model <model>",
7487
- "Image model for generated visuals: gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini, flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, or seedream4"
7487
+ "Image model for generated visuals (default: gpt-image-1): gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini, flux-pro-1.1, flux-pro-1.1-ultra, qwen-image, or seedream4"
7488
7488
  ).option(
7489
7489
  "--theme <theme>",
7490
7490
  "Theme: editorial supports ink, coral, forest; swiss supports ikb, lemon, lime, mono"
@@ -8466,7 +8466,7 @@ var COMMAND_CAPABILITY_MAP = {
8466
8466
  "built-in": "file:write",
8467
8467
  web: null,
8468
8468
  host: "host:write",
8469
- "remote-agent": ["remote-agent:read", "remote-agent:write"],
8469
+ "local-agent": ["local-agent:read", "local-agent:write"],
8470
8470
  "local-browser": ["local-browser:read", "local-browser:write"]
8471
8471
  };
8472
8472
  var DEFAULT_COMMANDS = [
@@ -8492,7 +8492,7 @@ var DEFAULT_COMMANDS = [
8492
8492
  zeroBuiltInCommand,
8493
8493
  zeroWebCommand,
8494
8494
  zeroHostCommand,
8495
- zeroRemoteAgentCommand,
8495
+ zeroLocalAgentCommand,
8496
8496
  zeroLocalBrowserCommand
8497
8497
  ];
8498
8498
  function shouldHideCommand(name, payload) {
@@ -8542,7 +8542,7 @@ function registerZeroCommands(prog, commands) {
8542
8542
  var program = new Command();
8543
8543
  program.name("zero").description(
8544
8544
  "Zero CLI \u2014 interact with the zero platform from inside the sandbox"
8545
- ).version("9.154.0").addHelpText("after", () => {
8545
+ ).version("9.154.2").addHelpText("after", () => {
8546
8546
  return buildZeroHelpText();
8547
8547
  });
8548
8548
  if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {