@vm0/cli 9.106.0 → 9.107.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
@@ -70,7 +70,7 @@ import {
70
70
  source_default,
71
71
  volumeConfigSchema,
72
72
  withErrorHandler
73
- } from "./chunk-227J7VAZ.js";
73
+ } from "./chunk-DCKQ3GVE.js";
74
74
 
75
75
  // src/index.ts
76
76
  init_esm_shims();
@@ -463,7 +463,7 @@ function getConfigPath() {
463
463
  return join(homedir(), ".vm0", "config.json");
464
464
  }
465
465
  var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
466
- console.log(source_default.bold(`VM0 CLI v${"9.106.0"}`));
466
+ console.log(source_default.bold(`VM0 CLI v${"9.107.0"}`));
467
467
  console.log();
468
468
  const config = await loadConfig();
469
469
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -4492,7 +4492,7 @@ var composeCommand = new Command().name("compose").description("Create or update
4492
4492
  options.autoUpdate = false;
4493
4493
  }
4494
4494
  if (options.autoUpdate !== false) {
4495
- await startSilentUpgrade("9.106.0");
4495
+ await startSilentUpgrade("9.107.0");
4496
4496
  }
4497
4497
  try {
4498
4498
  let result;
@@ -4572,7 +4572,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
4572
4572
  withErrorHandler(
4573
4573
  async (identifier, prompt, options) => {
4574
4574
  if (options.autoUpdate !== false) {
4575
- await startSilentUpgrade("9.106.0");
4575
+ await startSilentUpgrade("9.107.0");
4576
4576
  }
4577
4577
  const { name, version } = parseIdentifier(identifier);
4578
4578
  let composeId;
@@ -6311,7 +6311,7 @@ var cookAction = new Command().name("cook").description("Quick start: prepare, c
6311
6311
  withErrorHandler(
6312
6312
  async (prompt, options) => {
6313
6313
  if (options.autoUpdate !== false) {
6314
- const shouldExit = await checkAndUpgrade("9.106.0", prompt);
6314
+ const shouldExit = await checkAndUpgrade("9.107.0", prompt);
6315
6315
  if (shouldExit) {
6316
6316
  process.exit(0);
6317
6317
  }
@@ -7078,13 +7078,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
7078
7078
  if (latestVersion === null) {
7079
7079
  throw new Error("Could not check for updates. Please try again later.");
7080
7080
  }
7081
- if (latestVersion === "9.106.0") {
7082
- console.log(source_default.green(`\u2713 Already up to date (${"9.106.0"})`));
7081
+ if (latestVersion === "9.107.0") {
7082
+ console.log(source_default.green(`\u2713 Already up to date (${"9.107.0"})`));
7083
7083
  return;
7084
7084
  }
7085
7085
  console.log(
7086
7086
  source_default.yellow(
7087
- `Current version: ${"9.106.0"} -> Latest version: ${latestVersion}`
7087
+ `Current version: ${"9.107.0"} -> Latest version: ${latestVersion}`
7088
7088
  )
7089
7089
  );
7090
7090
  console.log();
@@ -7111,7 +7111,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
7111
7111
  const success = await performUpgrade(packageManager);
7112
7112
  if (success) {
7113
7113
  console.log(
7114
- source_default.green(`\u2713 Upgraded from ${"9.106.0"} to ${latestVersion}`)
7114
+ source_default.green(`\u2713 Upgraded from ${"9.107.0"} to ${latestVersion}`)
7115
7115
  );
7116
7116
  return;
7117
7117
  }
@@ -7178,7 +7178,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
7178
7178
 
7179
7179
  // src/index.ts
7180
7180
  var program = new Command();
7181
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.106.0");
7181
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.107.0");
7182
7182
  program.addCommand(authCommand);
7183
7183
  program.addCommand(infoCommand);
7184
7184
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.106.0",
3
+ "version": "9.107.0",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",
package/zero.js CHANGED
@@ -123,7 +123,7 @@ import {
123
123
  upsertZeroOrgModelProvider,
124
124
  withErrorHandler,
125
125
  zeroAgentCustomSkillNameSchema
126
- } from "./chunk-227J7VAZ.js";
126
+ } from "./chunk-DCKQ3GVE.js";
127
127
 
128
128
  // src/zero.ts
129
129
  init_esm_shims();
@@ -2374,6 +2374,19 @@ async function outputPermissionChangeMessage(firewallRef, permission, action, re
2374
2374
  );
2375
2375
  console.log("");
2376
2376
  }
2377
+ if (firewallRef === "gmail" && permission === "gmail.send" && action === "enable") {
2378
+ console.log("");
2379
+ console.log(
2380
+ "IMPORTANT: Granting gmail.send allows the agent to send emails directly as the user."
2381
+ );
2382
+ console.log(
2383
+ "Consider keeping gmail.send disabled and using gmail.compose instead \u2014 the agent can create drafts for the user to review and send manually."
2384
+ );
2385
+ console.log(
2386
+ "Only request user approval below if direct sending is specifically required."
2387
+ );
2388
+ console.log("");
2389
+ }
2377
2390
  if (role === "admin" || role === "owner") {
2378
2391
  console.log(
2379
2392
  `You can ${action} the "${permission}" permission directly: [Manage ${label} firewall](${url})`
@@ -3345,7 +3358,7 @@ function printTimeSchedule(schedule) {
3345
3358
  `${"Next Run:".padEnd(16)}${formatDateTimeStyled(schedule.nextRunAt)}`
3346
3359
  );
3347
3360
  }
3348
- if (schedule.triggerType === "loop") {
3361
+ if (schedule.triggerType === "loop" || schedule.triggerType === "cron") {
3349
3362
  const failureText = schedule.consecutiveFailures > 0 ? source_default.yellow(`${schedule.consecutiveFailures}/3`) : source_default.dim("0/3");
3350
3363
  console.log(`${"Failures:".padEnd(16)}${failureText}`);
3351
3364
  }
@@ -5776,7 +5789,7 @@ function registerZeroCommands(prog, commands) {
5776
5789
  var program = new Command();
5777
5790
  program.name("zero").description(
5778
5791
  "Zero CLI \u2014 interact with the zero platform from inside the sandbox"
5779
- ).version("9.106.0").addHelpText(
5792
+ ).version("9.107.0").addHelpText(
5780
5793
  "after",
5781
5794
  `
5782
5795
  Examples: