@vm0/cli 9.74.3 → 9.74.4

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 +20 -13
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -47,7 +47,7 @@ if (DSN) {
47
47
  Sentry.init({
48
48
  dsn: DSN,
49
49
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
50
- release: "9.74.3",
50
+ release: "9.74.4",
51
51
  sendDefaultPii: false,
52
52
  tracesSampleRate: 0,
53
53
  shutdownTimeout: 500,
@@ -66,7 +66,7 @@ if (DSN) {
66
66
  }
67
67
  });
68
68
  Sentry.setContext("cli", {
69
- version: "9.74.3",
69
+ version: "9.74.4",
70
70
  command: process.argv.slice(2).join(" ")
71
71
  });
72
72
  Sentry.setContext("runtime", {
@@ -847,9 +847,15 @@ var logEntrySchema = z5.object({
847
847
  startedAt: z5.string().nullable(),
848
848
  completedAt: z5.string().nullable()
849
849
  });
850
+ var logsFiltersSchema = z5.object({
851
+ statuses: z5.array(logStatusSchema),
852
+ sources: z5.array(triggerSourceSchema),
853
+ agents: z5.array(z5.string())
854
+ });
850
855
  var logsListResponseSchema = z5.object({
851
856
  data: z5.array(logEntrySchema),
852
- pagination: paginationSchema
857
+ pagination: paginationSchema,
858
+ filters: logsFiltersSchema
853
859
  });
854
860
  var artifactSchema = z5.object({
855
861
  name: z5.string().nullable(),
@@ -881,7 +887,8 @@ var logsListContract = c2.router({
881
887
  agent: z5.string().optional(),
882
888
  name: z5.string().optional(),
883
889
  org: z5.string().optional(),
884
- status: logStatusSchema.optional()
890
+ status: logStatusSchema.optional(),
891
+ triggerSource: triggerSourceSchema.optional()
885
892
  }),
886
893
  responses: {
887
894
  200: logsListResponseSchema,
@@ -13196,7 +13203,7 @@ function getConfigPath() {
13196
13203
  return join2(homedir2(), ".vm0", "config.json");
13197
13204
  }
13198
13205
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
13199
- console.log(chalk4.bold(`VM0 CLI v${"9.74.3"}`));
13206
+ console.log(chalk4.bold(`VM0 CLI v${"9.74.4"}`));
13200
13207
  console.log();
13201
13208
  const config = await loadConfig();
13202
13209
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -15256,7 +15263,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
15256
15263
  options.autoUpdate = false;
15257
15264
  }
15258
15265
  if (options.autoUpdate !== false) {
15259
- await startSilentUpgrade("9.74.3");
15266
+ await startSilentUpgrade("9.74.4");
15260
15267
  }
15261
15268
  try {
15262
15269
  let result;
@@ -16091,7 +16098,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
16091
16098
  withErrorHandler(
16092
16099
  async (identifier, prompt, options) => {
16093
16100
  if (options.autoUpdate !== false) {
16094
- await startSilentUpgrade("9.74.3");
16101
+ await startSilentUpgrade("9.74.4");
16095
16102
  }
16096
16103
  const { org, name, version } = parseIdentifier(identifier);
16097
16104
  let composeId;
@@ -17847,7 +17854,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
17847
17854
  withErrorHandler(
17848
17855
  async (prompt, options) => {
17849
17856
  if (options.autoUpdate !== false) {
17850
- const shouldExit = await checkAndUpgrade("9.74.3", prompt);
17857
+ const shouldExit = await checkAndUpgrade("9.74.4", prompt);
17851
17858
  if (shouldExit) {
17852
17859
  process.exit(0);
17853
17860
  }
@@ -22701,13 +22708,13 @@ var upgradeCommand = new Command92().name("upgrade").description("Upgrade vm0 CL
22701
22708
  if (latestVersion === null) {
22702
22709
  throw new Error("Could not check for updates. Please try again later.");
22703
22710
  }
22704
- if (latestVersion === "9.74.3") {
22705
- console.log(chalk82.green(`\u2713 Already up to date (${"9.74.3"})`));
22711
+ if (latestVersion === "9.74.4") {
22712
+ console.log(chalk82.green(`\u2713 Already up to date (${"9.74.4"})`));
22706
22713
  return;
22707
22714
  }
22708
22715
  console.log(
22709
22716
  chalk82.yellow(
22710
- `Current version: ${"9.74.3"} -> Latest version: ${latestVersion}`
22717
+ `Current version: ${"9.74.4"} -> Latest version: ${latestVersion}`
22711
22718
  )
22712
22719
  );
22713
22720
  console.log();
@@ -22734,7 +22741,7 @@ var upgradeCommand = new Command92().name("upgrade").description("Upgrade vm0 CL
22734
22741
  const success = await performUpgrade(packageManager);
22735
22742
  if (success) {
22736
22743
  console.log(
22737
- chalk82.green(`\u2713 Upgraded from ${"9.74.3"} to ${latestVersion}`)
22744
+ chalk82.green(`\u2713 Upgraded from ${"9.74.4"} to ${latestVersion}`)
22738
22745
  );
22739
22746
  return;
22740
22747
  }
@@ -22808,7 +22815,7 @@ var whoamiCommand = new Command93().name("whoami").description("Show current ide
22808
22815
 
22809
22816
  // src/index.ts
22810
22817
  var program = new Command94();
22811
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.74.3");
22818
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.74.4");
22812
22819
  program.addCommand(authCommand);
22813
22820
  program.addCommand(infoCommand);
22814
22821
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.74.3",
3
+ "version": "9.74.4",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",