@vm0/cli 9.93.0 → 9.94.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.
package/index.js CHANGED
@@ -59,7 +59,7 @@ import {
59
59
  showNextSteps,
60
60
  volumeConfigSchema,
61
61
  withErrorHandler
62
- } from "./chunk-UEVD4XR7.js";
62
+ } from "./chunk-XQIPEDKM.js";
63
63
 
64
64
  // src/index.ts
65
65
  import { Command as Command44 } from "commander";
@@ -452,7 +452,7 @@ function getConfigPath() {
452
452
  return join(homedir(), ".vm0", "config.json");
453
453
  }
454
454
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
455
- console.log(chalk3.bold(`VM0 CLI v${"9.93.0"}`));
455
+ console.log(chalk3.bold(`VM0 CLI v${"9.94.0"}`));
456
456
  console.log();
457
457
  const config = await loadConfig();
458
458
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -1579,7 +1579,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
1579
1579
  options.autoUpdate = false;
1580
1580
  }
1581
1581
  if (options.autoUpdate !== false) {
1582
- await startSilentUpgrade("9.93.0");
1582
+ await startSilentUpgrade("9.94.0");
1583
1583
  }
1584
1584
  try {
1585
1585
  let result;
@@ -1634,9 +1634,6 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
1634
1634
  ).option("--memory <name>", "Memory storage name").option(
1635
1635
  "--conversation <id>",
1636
1636
  "Resume from conversation ID (for fine-grained control)"
1637
- ).option(
1638
- "--model-provider <type>",
1639
- "Override model provider (e.g., anthropic-api-key)"
1640
1637
  ).option(
1641
1638
  "--append-system-prompt <text>",
1642
1639
  "Append text to the agent's system prompt"
@@ -1652,11 +1649,11 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
1652
1649
  ).option(
1653
1650
  "--firewall-policies <json>",
1654
1651
  `Firewall policies JSON (e.g., '{"github": {"actions:read": "allow"}}')`
1655
- ).option("--verbose", "Show full tool inputs and outputs").option("--check-env", "Validate secrets and vars before running").addOption(new Option2("--debug-no-mock-claude").hideHelp()).addOption(new Option2("--no-auto-update").hideHelp()).action(
1652
+ ).option("--verbose", "Show full tool inputs and outputs").addOption(new Option2("--debug-no-mock-claude").hideHelp()).addOption(new Option2("--no-auto-update").hideHelp()).action(
1656
1653
  withErrorHandler(
1657
1654
  async (identifier, prompt, options) => {
1658
1655
  if (options.autoUpdate !== false) {
1659
- await startSilentUpgrade("9.93.0");
1656
+ await startSilentUpgrade("9.94.0");
1660
1657
  }
1661
1658
  const { name, version } = parseIdentifier(identifier);
1662
1659
  let composeId;
@@ -1707,13 +1704,11 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
1707
1704
  memoryName: options.memory,
1708
1705
  volumeVersions: Object.keys(options.volumeVersion).length > 0 ? options.volumeVersion : void 0,
1709
1706
  conversationId: options.conversation,
1710
- modelProvider: options.modelProvider,
1711
1707
  appendSystemPrompt: options.appendSystemPrompt,
1712
1708
  disallowedTools: options.disallowedTools,
1713
1709
  tools: options.tools,
1714
1710
  settings: options.settings,
1715
1711
  firewallPolicies: parseFirewallPolicies(options.firewallPolicies),
1716
- checkEnv: options.checkEnv || void 0,
1717
1712
  debugNoMockClaude: options.debugNoMockClaude || void 0
1718
1713
  });
1719
1714
  if (response.status === "failed") {
@@ -1757,9 +1752,6 @@ var resumeCommand = new Command9().name("resume").description("Resume an agent r
1757
1752
  "Volume version override (repeatable)",
1758
1753
  collectVolumeVersions,
1759
1754
  {}
1760
- ).option(
1761
- "--model-provider <type>",
1762
- "Override model provider (e.g., anthropic-api-key)"
1763
1755
  ).option(
1764
1756
  "--append-system-prompt <text>",
1765
1757
  "Append text to the agent's system prompt"
@@ -1775,7 +1767,7 @@ var resumeCommand = new Command9().name("resume").description("Resume an agent r
1775
1767
  ).option(
1776
1768
  "--firewall-policies <json>",
1777
1769
  `Firewall policies JSON (e.g., '{"github": {"actions:read": "allow"}}')`
1778
- ).option("--verbose", "Show full tool inputs and outputs").option("--check-env", "Validate secrets and vars before running").addOption(new Option3("--debug-no-mock-claude").hideHelp()).action(
1770
+ ).option("--verbose", "Show full tool inputs and outputs").addOption(new Option3("--debug-no-mock-claude").hideHelp()).action(
1779
1771
  withErrorHandler(
1780
1772
  async (checkpointId, prompt, options, command) => {
1781
1773
  const allOpts = command.optsWithGlobals();
@@ -1796,7 +1788,6 @@ var resumeCommand = new Command9().name("resume").description("Resume an agent r
1796
1788
  vars: Object.keys(vars).length > 0 ? vars : void 0,
1797
1789
  secrets: loadedSecrets,
1798
1790
  volumeVersions: Object.keys(allOpts.volumeVersion).length > 0 ? allOpts.volumeVersion : void 0,
1799
- modelProvider: options.modelProvider || allOpts.modelProvider,
1800
1791
  appendSystemPrompt: options.appendSystemPrompt || allOpts.appendSystemPrompt,
1801
1792
  disallowedTools: options.disallowedTools || allOpts.disallowedTools,
1802
1793
  tools: options.tools || allOpts.tools,
@@ -1804,7 +1795,6 @@ var resumeCommand = new Command9().name("resume").description("Resume an agent r
1804
1795
  firewallPolicies: parseFirewallPolicies(
1805
1796
  options.firewallPolicies || allOpts.firewallPolicies
1806
1797
  ),
1807
- checkEnv: options.checkEnv || allOpts.checkEnv || void 0,
1808
1798
  debugNoMockClaude: options.debugNoMockClaude || allOpts.debugNoMockClaude || void 0
1809
1799
  });
1810
1800
  if (response.status === "failed") {
@@ -1841,9 +1831,6 @@ var continueCommand = new Command10().name("continue").description(
1841
1831
  "Secrets for ${{ secrets.xxx }} (repeatable, falls back to --env-file or env vars)",
1842
1832
  collectKeyValue,
1843
1833
  {}
1844
- ).option(
1845
- "--model-provider <type>",
1846
- "Override model provider (e.g., anthropic-api-key)"
1847
1834
  ).option(
1848
1835
  "--append-system-prompt <text>",
1849
1836
  "Append text to the agent's system prompt"
@@ -1859,7 +1846,7 @@ var continueCommand = new Command10().name("continue").description(
1859
1846
  ).option(
1860
1847
  "--firewall-policies <json>",
1861
1848
  `Firewall policies JSON (e.g., '{"github": {"actions:read": "allow"}}')`
1862
- ).option("--verbose", "Show full tool inputs and outputs").option("--check-env", "Validate secrets and vars before running").addOption(new Option4("--debug-no-mock-claude").hideHelp()).action(
1849
+ ).option("--verbose", "Show full tool inputs and outputs").addOption(new Option4("--debug-no-mock-claude").hideHelp()).action(
1863
1850
  withErrorHandler(
1864
1851
  async (agentSessionId, prompt, options, command) => {
1865
1852
  const allOpts = command.optsWithGlobals();
@@ -1880,7 +1867,6 @@ var continueCommand = new Command10().name("continue").description(
1880
1867
  prompt,
1881
1868
  vars: Object.keys(vars).length > 0 ? vars : void 0,
1882
1869
  secrets: loadedSecrets,
1883
- modelProvider: options.modelProvider || allOpts.modelProvider,
1884
1870
  appendSystemPrompt: options.appendSystemPrompt || allOpts.appendSystemPrompt,
1885
1871
  disallowedTools: options.disallowedTools || allOpts.disallowedTools,
1886
1872
  tools: options.tools || allOpts.tools,
@@ -1888,7 +1874,6 @@ var continueCommand = new Command10().name("continue").description(
1888
1874
  firewallPolicies: parseFirewallPolicies(
1889
1875
  options.firewallPolicies || allOpts.firewallPolicies
1890
1876
  ),
1891
- checkEnv: options.checkEnv || allOpts.checkEnv || void 0,
1892
1877
  debugNoMockClaude: options.debugNoMockClaude || allOpts.debugNoMockClaude || void 0
1893
1878
  });
1894
1879
  if (response.status === "failed") {
@@ -3472,7 +3457,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
3472
3457
  withErrorHandler(
3473
3458
  async (prompt, options) => {
3474
3459
  if (options.autoUpdate !== false) {
3475
- const shouldExit = await checkAndUpgrade("9.93.0", prompt);
3460
+ const shouldExit = await checkAndUpgrade("9.94.0", prompt);
3476
3461
  if (shouldExit) {
3477
3462
  process.exit(0);
3478
3463
  }
@@ -4230,13 +4215,13 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
4230
4215
  if (latestVersion === null) {
4231
4216
  throw new Error("Could not check for updates. Please try again later.");
4232
4217
  }
4233
- if (latestVersion === "9.93.0") {
4234
- console.log(chalk33.green(`\u2713 Already up to date (${"9.93.0"})`));
4218
+ if (latestVersion === "9.94.0") {
4219
+ console.log(chalk33.green(`\u2713 Already up to date (${"9.94.0"})`));
4235
4220
  return;
4236
4221
  }
4237
4222
  console.log(
4238
4223
  chalk33.yellow(
4239
- `Current version: ${"9.93.0"} -> Latest version: ${latestVersion}`
4224
+ `Current version: ${"9.94.0"} -> Latest version: ${latestVersion}`
4240
4225
  )
4241
4226
  );
4242
4227
  console.log();
@@ -4263,7 +4248,7 @@ var upgradeCommand = new Command42().name("upgrade").description("Upgrade vm0 CL
4263
4248
  const success = await performUpgrade(packageManager);
4264
4249
  if (success) {
4265
4250
  console.log(
4266
- chalk33.green(`\u2713 Upgraded from ${"9.93.0"} to ${latestVersion}`)
4251
+ chalk33.green(`\u2713 Upgraded from ${"9.94.0"} to ${latestVersion}`)
4267
4252
  );
4268
4253
  return;
4269
4254
  }
@@ -4331,7 +4316,7 @@ var whoamiCommand = new Command43().name("whoami").description("Show current ide
4331
4316
 
4332
4317
  // src/index.ts
4333
4318
  var program = new Command44();
4334
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.93.0");
4319
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.94.0");
4335
4320
  program.addCommand(authCommand);
4336
4321
  program.addCommand(infoCommand);
4337
4322
  program.addCommand(composeCommand);