@vm0/cli 9.69.0 → 9.69.1
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 +18 -11
- 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.69.
|
|
48
|
+
release: "9.69.1",
|
|
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.69.
|
|
67
|
+
version: "9.69.1",
|
|
68
68
|
command: process.argv.slice(2).join(" ")
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("runtime", {
|
|
@@ -675,7 +675,7 @@ function getConfigPath() {
|
|
|
675
675
|
return join2(homedir2(), ".vm0", "config.json");
|
|
676
676
|
}
|
|
677
677
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
678
|
-
console.log(chalk4.bold(`VM0 CLI v${"9.69.
|
|
678
|
+
console.log(chalk4.bold(`VM0 CLI v${"9.69.1"}`));
|
|
679
679
|
console.log();
|
|
680
680
|
const config = await loadConfig();
|
|
681
681
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -9695,7 +9695,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
9695
9695
|
options.autoUpdate = false;
|
|
9696
9696
|
}
|
|
9697
9697
|
if (options.autoUpdate !== false) {
|
|
9698
|
-
await startSilentUpgrade("9.69.
|
|
9698
|
+
await startSilentUpgrade("9.69.1");
|
|
9699
9699
|
}
|
|
9700
9700
|
try {
|
|
9701
9701
|
let result;
|
|
@@ -10517,7 +10517,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
10517
10517
|
withErrorHandler(
|
|
10518
10518
|
async (identifier, prompt, options) => {
|
|
10519
10519
|
if (options.autoUpdate !== false) {
|
|
10520
|
-
await startSilentUpgrade("9.69.
|
|
10520
|
+
await startSilentUpgrade("9.69.1");
|
|
10521
10521
|
}
|
|
10522
10522
|
const { org, name, version } = parseIdentifier(identifier);
|
|
10523
10523
|
let composeId;
|
|
@@ -12246,7 +12246,7 @@ var cookAction = new Command35().name("cook").description("Quick start: prepare,
|
|
|
12246
12246
|
withErrorHandler(
|
|
12247
12247
|
async (prompt, options) => {
|
|
12248
12248
|
if (options.autoUpdate !== false) {
|
|
12249
|
-
const shouldExit = await checkAndUpgrade("9.69.
|
|
12249
|
+
const shouldExit = await checkAndUpgrade("9.69.1", prompt);
|
|
12250
12250
|
if (shouldExit) {
|
|
12251
12251
|
process.exit(0);
|
|
12252
12252
|
}
|
|
@@ -14440,6 +14440,13 @@ function cleanComposeContent(content) {
|
|
|
14440
14440
|
if (agent.skills) cleaned.skills = agent.skills;
|
|
14441
14441
|
if (agent.experimental_runner)
|
|
14442
14442
|
cleaned.experimental_runner = agent.experimental_runner;
|
|
14443
|
+
if (agent.experimental_profile)
|
|
14444
|
+
cleaned.experimental_profile = agent.experimental_profile;
|
|
14445
|
+
if (agent.experimental_capabilities)
|
|
14446
|
+
cleaned.experimental_capabilities = agent.experimental_capabilities;
|
|
14447
|
+
if (agent.experimental_firewalls)
|
|
14448
|
+
cleaned.experimental_firewalls = agent.experimental_firewalls;
|
|
14449
|
+
if (agent.metadata) cleaned.metadata = agent.metadata;
|
|
14443
14450
|
agents[name] = cleaned;
|
|
14444
14451
|
}
|
|
14445
14452
|
const result = {
|
|
@@ -17591,13 +17598,13 @@ var upgradeCommand = new Command94().name("upgrade").description("Upgrade vm0 CL
|
|
|
17591
17598
|
if (latestVersion === null) {
|
|
17592
17599
|
throw new Error("Could not check for updates. Please try again later.");
|
|
17593
17600
|
}
|
|
17594
|
-
if (latestVersion === "9.69.
|
|
17595
|
-
console.log(chalk86.green(`\u2713 Already up to date (${"9.69.
|
|
17601
|
+
if (latestVersion === "9.69.1") {
|
|
17602
|
+
console.log(chalk86.green(`\u2713 Already up to date (${"9.69.1"})`));
|
|
17596
17603
|
return;
|
|
17597
17604
|
}
|
|
17598
17605
|
console.log(
|
|
17599
17606
|
chalk86.yellow(
|
|
17600
|
-
`Current version: ${"9.69.
|
|
17607
|
+
`Current version: ${"9.69.1"} -> Latest version: ${latestVersion}`
|
|
17601
17608
|
)
|
|
17602
17609
|
);
|
|
17603
17610
|
console.log();
|
|
@@ -17624,7 +17631,7 @@ var upgradeCommand = new Command94().name("upgrade").description("Upgrade vm0 CL
|
|
|
17624
17631
|
const success = await performUpgrade(packageManager);
|
|
17625
17632
|
if (success) {
|
|
17626
17633
|
console.log(
|
|
17627
|
-
chalk86.green(`\u2713 Upgraded from ${"9.69.
|
|
17634
|
+
chalk86.green(`\u2713 Upgraded from ${"9.69.1"} to ${latestVersion}`)
|
|
17628
17635
|
);
|
|
17629
17636
|
return;
|
|
17630
17637
|
}
|
|
@@ -17698,7 +17705,7 @@ var whoamiCommand = new Command95().name("whoami").description("Show current ide
|
|
|
17698
17705
|
|
|
17699
17706
|
// src/index.ts
|
|
17700
17707
|
var program = new Command96();
|
|
17701
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.69.
|
|
17708
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.69.1");
|
|
17702
17709
|
program.addCommand(authCommand);
|
|
17703
17710
|
program.addCommand(infoCommand);
|
|
17704
17711
|
program.addCommand(composeCommand);
|