@vm0/cli 9.37.1 → 9.37.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 +11 -9
  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.37.1",
48
+ release: "9.37.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.37.1",
67
+ version: "9.37.2",
68
68
  command: process.argv.slice(2).join(" ")
69
69
  });
70
70
  Sentry.setContext("runtime", {
@@ -605,7 +605,7 @@ async function waitForSilentUpgrade(timeout = TIMEOUT_MS) {
605
605
  // src/commands/info/index.ts
606
606
  var CONFIG_PATH = join2(homedir2(), ".vm0", "config.json");
607
607
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
608
- console.log(chalk7.bold(`VM0 CLI v${"9.37.1"}`));
608
+ console.log(chalk7.bold(`VM0 CLI v${"9.37.2"}`));
609
609
  console.log();
610
610
  const config = await loadConfig();
611
611
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -1070,7 +1070,8 @@ var composesVersionsContract = c2.router({
1070
1070
  var composeListItemSchema = z4.object({
1071
1071
  name: z4.string(),
1072
1072
  headVersionId: z4.string().nullable(),
1073
- updatedAt: z4.string()
1073
+ updatedAt: z4.string(),
1074
+ isOwner: z4.boolean()
1074
1075
  });
1075
1076
  var composesListContract = c2.router({
1076
1077
  /**
@@ -3413,7 +3414,8 @@ var platformLogsListContract = c17.router({
3413
3414
  method: "GET",
3414
3415
  path: "/api/platform/logs",
3415
3416
  query: listQuerySchema.extend({
3416
- search: z21.string().optional()
3417
+ search: z21.string().optional(),
3418
+ agent: z21.string().optional()
3417
3419
  }),
3418
3420
  responses: {
3419
3421
  200: platformLogsListResponseSchema,
@@ -6430,7 +6432,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
6430
6432
  options.autoUpdate = false;
6431
6433
  }
6432
6434
  if (options.autoUpdate !== false) {
6433
- await startSilentUpgrade("9.37.1");
6435
+ await startSilentUpgrade("9.37.2");
6434
6436
  }
6435
6437
  try {
6436
6438
  let result;
@@ -8627,7 +8629,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
8627
8629
  async (identifier, prompt, options) => {
8628
8630
  try {
8629
8631
  if (options.autoUpdate !== false) {
8630
- await startSilentUpgrade("9.37.1");
8632
+ await startSilentUpgrade("9.37.2");
8631
8633
  }
8632
8634
  const { scope, name, version } = parseIdentifier(identifier);
8633
8635
  if (scope && !options.experimentalSharedAgent) {
@@ -10203,7 +10205,7 @@ var cookAction = new Command27().name("cook").description("Quick start: prepare,
10203
10205
  ).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(
10204
10206
  async (prompt, options) => {
10205
10207
  if (options.autoUpdate !== false) {
10206
- const shouldExit = await checkAndUpgrade("9.37.1", prompt);
10208
+ const shouldExit = await checkAndUpgrade("9.37.2", prompt);
10207
10209
  if (shouldExit) {
10208
10210
  process.exit(0);
10209
10211
  }
@@ -14922,7 +14924,7 @@ var preferenceCommand = new Command77().name("preference").description("View or
14922
14924
 
14923
14925
  // src/index.ts
14924
14926
  var program = new Command78();
14925
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.37.1");
14927
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.37.2");
14926
14928
  program.addCommand(authCommand);
14927
14929
  program.addCommand(infoCommand);
14928
14930
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.37.1",
3
+ "version": "9.37.2",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",