@vm0/cli 9.62.1 → 9.62.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.
Files changed (2) hide show
  1. package/index.js +15 -20
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -45,7 +45,7 @@ if (DSN) {
45
45
  Sentry.init({
46
46
  dsn: DSN,
47
47
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
48
- release: "9.62.1",
48
+ release: "9.62.2",
49
49
  sendDefaultPii: false,
50
50
  tracesSampleRate: 0,
51
51
  shutdownTimeout: 500,
@@ -64,7 +64,7 @@ if (DSN) {
64
64
  }
65
65
  });
66
66
  Sentry.setContext("cli", {
67
- version: "9.62.1",
67
+ version: "9.62.2",
68
68
  command: process.argv.slice(2).join(" ")
69
69
  });
70
70
  Sentry.setContext("runtime", {
@@ -673,7 +673,7 @@ function getConfigPath() {
673
673
  return join2(homedir2(), ".vm0", "config.json");
674
674
  }
675
675
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
676
- console.log(chalk4.bold(`VM0 CLI v${"9.62.1"}`));
676
+ console.log(chalk4.bold(`VM0 CLI v${"9.62.2"}`));
677
677
  console.log();
678
678
  const config = await loadConfig();
679
679
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -2738,7 +2738,7 @@ var modelProviderTypeSchema = z14.enum([
2738
2738
  "azure-foundry",
2739
2739
  "aws-bedrock"
2740
2740
  ]);
2741
- var modelProviderFrameworkSchema = z14.enum(["claude-code", "codex"]);
2741
+ var modelProviderFrameworkSchema = z14.enum(["claude-code"]);
2742
2742
  function hasAuthMethods(type2) {
2743
2743
  const config = MODEL_PROVIDER_TYPES[type2];
2744
2744
  return "authMethods" in config;
@@ -7124,9 +7124,6 @@ function getLegacySystemTemplateWarning(legacyFormat) {
7124
7124
  if (legacyFormat === "vm0-claude-code") {
7125
7125
  return `Warning: "${legacyFormat}" format is deprecated. Use "vm0/claude-code" instead.`;
7126
7126
  }
7127
- if (legacyFormat === "vm0-codex") {
7128
- return `Warning: "${legacyFormat}" format is deprecated. Use "vm0/codex" instead.`;
7129
- }
7130
7127
  if (legacyFormat.startsWith("vm0-github-cli")) {
7131
7128
  return `Warning: "${legacyFormat}" is deprecated. GitHub CLI is now included in the base image.`;
7132
7129
  }
@@ -7142,7 +7139,7 @@ function getSkillStorageName(fullPath) {
7142
7139
  }
7143
7140
 
7144
7141
  // ../../packages/core/src/frameworks.ts
7145
- var SUPPORTED_FRAMEWORKS = ["claude-code", "codex"];
7142
+ var SUPPORTED_FRAMEWORKS = ["claude-code"];
7146
7143
  function isSupportedFramework(framework) {
7147
7144
  if (!framework) return false;
7148
7145
  return SUPPORTED_FRAMEWORKS.includes(framework);
@@ -7163,16 +7160,14 @@ function getValidatedFramework(framework) {
7163
7160
  return framework;
7164
7161
  }
7165
7162
  var FRAMEWORK_DISPLAY_NAMES = {
7166
- "claude-code": "Claude Code",
7167
- codex: "Codex"
7163
+ "claude-code": "Claude Code"
7168
7164
  };
7169
7165
  function getFrameworkDisplayName(framework) {
7170
7166
  assertSupportedFramework(framework);
7171
7167
  return FRAMEWORK_DISPLAY_NAMES[framework];
7172
7168
  }
7173
7169
  var FRAMEWORK_INSTRUCTIONS_FILENAMES = {
7174
- "claude-code": "CLAUDE.md",
7175
- codex: "AGENTS.md"
7170
+ "claude-code": "CLAUDE.md"
7176
7171
  };
7177
7172
  function getInstructionsFilename(framework) {
7178
7173
  const validated = getValidatedFramework(framework);
@@ -9507,7 +9502,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
9507
9502
  options.autoUpdate = false;
9508
9503
  }
9509
9504
  if (options.autoUpdate !== false) {
9510
- await startSilentUpgrade("9.62.1");
9505
+ await startSilentUpgrade("9.62.2");
9511
9506
  }
9512
9507
  try {
9513
9508
  let result;
@@ -10329,7 +10324,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
10329
10324
  withErrorHandler(
10330
10325
  async (identifier, prompt, options) => {
10331
10326
  if (options.autoUpdate !== false) {
10332
- await startSilentUpgrade("9.62.1");
10327
+ await startSilentUpgrade("9.62.2");
10333
10328
  }
10334
10329
  const { org, name, version } = parseIdentifier(identifier);
10335
10330
  let composeId;
@@ -12043,7 +12038,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
12043
12038
  withErrorHandler(
12044
12039
  async (prompt, options) => {
12045
12040
  if (options.autoUpdate !== false) {
12046
- const shouldExit = await checkAndUpgrade("9.62.1", prompt);
12041
+ const shouldExit = await checkAndUpgrade("9.62.2", prompt);
12047
12042
  if (shouldExit) {
12048
12043
  process.exit(0);
12049
12044
  }
@@ -17177,13 +17172,13 @@ var upgradeCommand = new Command86().name("upgrade").description("Upgrade vm0 CL
17177
17172
  if (latestVersion === null) {
17178
17173
  throw new Error("Could not check for updates. Please try again later.");
17179
17174
  }
17180
- if (latestVersion === "9.62.1") {
17181
- console.log(chalk79.green(`\u2713 Already up to date (${"9.62.1"})`));
17175
+ if (latestVersion === "9.62.2") {
17176
+ console.log(chalk79.green(`\u2713 Already up to date (${"9.62.2"})`));
17182
17177
  return;
17183
17178
  }
17184
17179
  console.log(
17185
17180
  chalk79.yellow(
17186
- `Current version: ${"9.62.1"} -> Latest version: ${latestVersion}`
17181
+ `Current version: ${"9.62.2"} -> Latest version: ${latestVersion}`
17187
17182
  )
17188
17183
  );
17189
17184
  console.log();
@@ -17210,7 +17205,7 @@ var upgradeCommand = new Command86().name("upgrade").description("Upgrade vm0 CL
17210
17205
  const success = await performUpgrade(packageManager);
17211
17206
  if (success) {
17212
17207
  console.log(
17213
- chalk79.green(`\u2713 Upgraded from ${"9.62.1"} to ${latestVersion}`)
17208
+ chalk79.green(`\u2713 Upgraded from ${"9.62.2"} to ${latestVersion}`)
17214
17209
  );
17215
17210
  return;
17216
17211
  }
@@ -17224,7 +17219,7 @@ var upgradeCommand = new Command86().name("upgrade").description("Upgrade vm0 CL
17224
17219
 
17225
17220
  // src/index.ts
17226
17221
  var program = new Command87();
17227
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.62.1");
17222
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.62.2");
17228
17223
  program.addCommand(authCommand);
17229
17224
  program.addCommand(infoCommand);
17230
17225
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.62.1",
3
+ "version": "9.62.2",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",