@vm0/cli 9.38.2 → 9.38.3

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 -14
  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.38.2",
48
+ release: "9.38.3",
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.38.2",
67
+ version: "9.38.3",
68
68
  command: process.argv.slice(2).join(" ")
69
69
  });
70
70
  Sentry.setContext("runtime", {
@@ -607,7 +607,7 @@ function getConfigPath() {
607
607
  return join2(homedir2(), ".vm0", "config.json");
608
608
  }
609
609
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
610
- console.log(chalk7.bold(`VM0 CLI v${"9.38.2"}`));
610
+ console.log(chalk7.bold(`VM0 CLI v${"9.38.3"}`));
611
611
  console.log();
612
612
  const config = await loadConfig();
613
613
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -4590,6 +4590,14 @@ function getFrameworkDisplayName(framework) {
4590
4590
  assertSupportedFramework(framework);
4591
4591
  return FRAMEWORK_DISPLAY_NAMES[framework];
4592
4592
  }
4593
+ var FRAMEWORK_INSTRUCTIONS_FILENAMES = {
4594
+ "claude-code": "CLAUDE.md",
4595
+ codex: "AGENTS.md"
4596
+ };
4597
+ function getInstructionsFilename(framework) {
4598
+ const validated = getValidatedFramework(framework);
4599
+ return FRAMEWORK_INSTRUCTIONS_FILENAMES[validated];
4600
+ }
4593
4601
 
4594
4602
  // ../../packages/core/src/feature-switch.ts
4595
4603
  var FEATURE_SWITCHES = {
@@ -5878,13 +5886,6 @@ async function directUpload(storageName, storageType, cwd, options) {
5878
5886
  }
5879
5887
 
5880
5888
  // src/lib/storage/system-storage.ts
5881
- function getInstructionsFilename(framework) {
5882
- const validatedFramework = getValidatedFramework(framework);
5883
- if (validatedFramework === "codex") {
5884
- return "AGENTS.md";
5885
- }
5886
- return "CLAUDE.md";
5887
- }
5888
5889
  async function uploadInstructions(agentName, instructionsFilePath, basePath, framework) {
5889
5890
  const storageName = getInstructionsStorageName(agentName.toLowerCase());
5890
5891
  const absolutePath = path5.isAbsolute(instructionsFilePath) ? instructionsFilePath : path5.join(basePath, instructionsFilePath);
@@ -6480,7 +6481,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
6480
6481
  options.autoUpdate = false;
6481
6482
  }
6482
6483
  if (options.autoUpdate !== false) {
6483
- await startSilentUpgrade("9.38.2");
6484
+ await startSilentUpgrade("9.38.3");
6484
6485
  }
6485
6486
  try {
6486
6487
  let result;
@@ -8694,7 +8695,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
8694
8695
  async (identifier, prompt, options) => {
8695
8696
  try {
8696
8697
  if (options.autoUpdate !== false) {
8697
- await startSilentUpgrade("9.38.2");
8698
+ await startSilentUpgrade("9.38.3");
8698
8699
  }
8699
8700
  const { scope, name, version } = parseIdentifier(identifier);
8700
8701
  if (scope && !options.experimentalSharedAgent) {
@@ -10270,7 +10271,7 @@ var cookAction = new Command27().name("cook").description("Quick start: prepare,
10270
10271
  ).option("-y, --yes", "Skip confirmation prompts").option("-v, --verbose", "Show full tool inputs and outputs").addOption(new Option5("--debug-no-mock-claude").hideHelp()).addOption(new Option5("--no-auto-update").hideHelp()).action(
10271
10272
  async (prompt, options) => {
10272
10273
  if (options.autoUpdate !== false) {
10273
- const shouldExit = await checkAndUpgrade("9.38.2", prompt);
10274
+ const shouldExit = await checkAndUpgrade("9.38.3", prompt);
10274
10275
  if (shouldExit) {
10275
10276
  process.exit(0);
10276
10277
  }
@@ -15198,7 +15199,7 @@ var preferenceCommand = new Command77().name("preference").description("View or
15198
15199
 
15199
15200
  // src/index.ts
15200
15201
  var program = new Command78();
15201
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.38.2");
15202
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.38.3");
15202
15203
  program.addCommand(authCommand);
15203
15204
  program.addCommand(infoCommand);
15204
15205
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.38.2",
3
+ "version": "9.38.3",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",