@vm0/cli 9.60.0 → 9.60.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 +12 -13
- 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.60.
|
|
48
|
+
release: "9.60.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.60.
|
|
67
|
+
version: "9.60.1",
|
|
68
68
|
command: process.argv.slice(2).join(" ")
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("runtime", {
|
|
@@ -673,7 +673,7 @@ function getConfigPath() {
|
|
|
673
673
|
return join2(homedir2(), ".vm0", "config.json");
|
|
674
674
|
}
|
|
675
675
|
var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
|
|
676
|
-
console.log(chalk4.bold(`VM0 CLI v${"9.60.
|
|
676
|
+
console.log(chalk4.bold(`VM0 CLI v${"9.60.1"}`));
|
|
677
677
|
console.log();
|
|
678
678
|
const config = await loadConfig();
|
|
679
679
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1044,8 +1044,7 @@ var composeListItemSchema = z3.object({
|
|
|
1044
1044
|
displayName: z3.string().nullable().optional(),
|
|
1045
1045
|
description: z3.string().nullable().optional(),
|
|
1046
1046
|
headVersionId: z3.string().nullable(),
|
|
1047
|
-
updatedAt: z3.string()
|
|
1048
|
-
isOwner: z3.boolean()
|
|
1047
|
+
updatedAt: z3.string()
|
|
1049
1048
|
});
|
|
1050
1049
|
var composesListContract = c.router({
|
|
1051
1050
|
/**
|
|
@@ -9944,7 +9943,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
|
|
|
9944
9943
|
options.autoUpdate = false;
|
|
9945
9944
|
}
|
|
9946
9945
|
if (options.autoUpdate !== false) {
|
|
9947
|
-
await startSilentUpgrade("9.60.
|
|
9946
|
+
await startSilentUpgrade("9.60.1");
|
|
9948
9947
|
}
|
|
9949
9948
|
try {
|
|
9950
9949
|
let result;
|
|
@@ -11115,7 +11114,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
|
|
|
11115
11114
|
withErrorHandler(
|
|
11116
11115
|
async (identifier, prompt, options) => {
|
|
11117
11116
|
if (options.autoUpdate !== false) {
|
|
11118
|
-
await startSilentUpgrade("9.60.
|
|
11117
|
+
await startSilentUpgrade("9.60.1");
|
|
11119
11118
|
}
|
|
11120
11119
|
const { org, name, version } = parseIdentifier(identifier);
|
|
11121
11120
|
let composeId;
|
|
@@ -12788,7 +12787,7 @@ var cookAction = new Command34().name("cook").description("Quick start: prepare,
|
|
|
12788
12787
|
withErrorHandler(
|
|
12789
12788
|
async (prompt, options) => {
|
|
12790
12789
|
if (options.autoUpdate !== false) {
|
|
12791
|
-
const shouldExit = await checkAndUpgrade("9.60.
|
|
12790
|
+
const shouldExit = await checkAndUpgrade("9.60.1", prompt);
|
|
12792
12791
|
if (shouldExit) {
|
|
12793
12792
|
process.exit(0);
|
|
12794
12793
|
}
|
|
@@ -17927,13 +17926,13 @@ var upgradeCommand = new Command85().name("upgrade").description("Upgrade vm0 CL
|
|
|
17927
17926
|
if (latestVersion === null) {
|
|
17928
17927
|
throw new Error("Could not check for updates. Please try again later.");
|
|
17929
17928
|
}
|
|
17930
|
-
if (latestVersion === "9.60.
|
|
17931
|
-
console.log(chalk79.green(`\u2713 Already up to date (${"9.60.
|
|
17929
|
+
if (latestVersion === "9.60.1") {
|
|
17930
|
+
console.log(chalk79.green(`\u2713 Already up to date (${"9.60.1"})`));
|
|
17932
17931
|
return;
|
|
17933
17932
|
}
|
|
17934
17933
|
console.log(
|
|
17935
17934
|
chalk79.yellow(
|
|
17936
|
-
`Current version: ${"9.60.
|
|
17935
|
+
`Current version: ${"9.60.1"} -> Latest version: ${latestVersion}`
|
|
17937
17936
|
)
|
|
17938
17937
|
);
|
|
17939
17938
|
console.log();
|
|
@@ -17960,7 +17959,7 @@ var upgradeCommand = new Command85().name("upgrade").description("Upgrade vm0 CL
|
|
|
17960
17959
|
const success = await performUpgrade(packageManager);
|
|
17961
17960
|
if (success) {
|
|
17962
17961
|
console.log(
|
|
17963
|
-
chalk79.green(`\u2713 Upgraded from ${"9.60.
|
|
17962
|
+
chalk79.green(`\u2713 Upgraded from ${"9.60.1"} to ${latestVersion}`)
|
|
17964
17963
|
);
|
|
17965
17964
|
return;
|
|
17966
17965
|
}
|
|
@@ -17974,7 +17973,7 @@ var upgradeCommand = new Command85().name("upgrade").description("Upgrade vm0 CL
|
|
|
17974
17973
|
|
|
17975
17974
|
// src/index.ts
|
|
17976
17975
|
var program = new Command86();
|
|
17977
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.60.
|
|
17976
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.60.1");
|
|
17978
17977
|
program.addCommand(authCommand);
|
|
17979
17978
|
program.addCommand(infoCommand);
|
|
17980
17979
|
program.addCommand(composeCommand);
|