@vm0/cli 9.169.0 → 9.169.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/{chunk-5KJLUOMN.js → chunk-RWNXCBAW.js} +325 -324
- package/{chunk-5KJLUOMN.js.map → chunk-RWNXCBAW.js.map} +1 -1
- package/index.js +12 -12
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +23 -21
- package/zero.js.map +1 -1
package/index.js
CHANGED
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
source_default,
|
|
70
70
|
volumeConfigSchema,
|
|
71
71
|
withErrorHandler
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RWNXCBAW.js";
|
|
73
73
|
import {
|
|
74
74
|
__toESM,
|
|
75
75
|
init_esm_shims
|
|
@@ -388,7 +388,7 @@ function getConfigPath() {
|
|
|
388
388
|
return join(os.homedir(), ".vm0", "config.json");
|
|
389
389
|
}
|
|
390
390
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
391
|
-
console.log(source_default.bold(`VM0 CLI v${"9.169.
|
|
391
|
+
console.log(source_default.bold(`VM0 CLI v${"9.169.1"}`));
|
|
392
392
|
console.log();
|
|
393
393
|
const config = await loadConfig();
|
|
394
394
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4131,11 +4131,11 @@ async function checkAndPromptMissingItems(config, options) {
|
|
|
4131
4131
|
return v2.name;
|
|
4132
4132
|
})
|
|
4133
4133
|
);
|
|
4134
|
-
const
|
|
4135
|
-
connectorsResponse.
|
|
4134
|
+
const connectorProvidedEnvNames = new Set(
|
|
4135
|
+
connectorsResponse.connectorProvidedEnvNames
|
|
4136
4136
|
);
|
|
4137
4137
|
const missingSecrets = [...requiredSecrets].filter((name) => {
|
|
4138
|
-
return !existingSecretNames.has(name) && !
|
|
4138
|
+
return !existingSecretNames.has(name) && !connectorProvidedEnvNames.has(name);
|
|
4139
4139
|
});
|
|
4140
4140
|
const missingVars = [...requiredVars].filter((name) => {
|
|
4141
4141
|
return !existingVarNames.has(name);
|
|
@@ -4281,7 +4281,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4281
4281
|
options.autoUpdate = false;
|
|
4282
4282
|
}
|
|
4283
4283
|
if (options.autoUpdate !== false) {
|
|
4284
|
-
await startSilentUpgrade("9.169.
|
|
4284
|
+
await startSilentUpgrade("9.169.1");
|
|
4285
4285
|
}
|
|
4286
4286
|
try {
|
|
4287
4287
|
let result;
|
|
@@ -4383,7 +4383,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4383
4383
|
withErrorHandler(
|
|
4384
4384
|
async (identifier, prompt, options) => {
|
|
4385
4385
|
if (options.autoUpdate !== false) {
|
|
4386
|
-
await startSilentUpgrade("9.169.
|
|
4386
|
+
await startSilentUpgrade("9.169.1");
|
|
4387
4387
|
}
|
|
4388
4388
|
const { name, version } = parseIdentifier(identifier);
|
|
4389
4389
|
let composeId;
|
|
@@ -6177,13 +6177,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6177
6177
|
if (latestVersion === null) {
|
|
6178
6178
|
throw new Error("Could not check for updates. Please try again later.");
|
|
6179
6179
|
}
|
|
6180
|
-
if (latestVersion === "9.169.
|
|
6181
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.169.
|
|
6180
|
+
if (latestVersion === "9.169.1") {
|
|
6181
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.169.1"})`));
|
|
6182
6182
|
return;
|
|
6183
6183
|
}
|
|
6184
6184
|
console.log(
|
|
6185
6185
|
source_default.yellow(
|
|
6186
|
-
`Current version: ${"9.169.
|
|
6186
|
+
`Current version: ${"9.169.1"} -> Latest version: ${latestVersion}`
|
|
6187
6187
|
)
|
|
6188
6188
|
);
|
|
6189
6189
|
console.log();
|
|
@@ -6210,7 +6210,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6210
6210
|
const success = await performUpgrade(packageManager);
|
|
6211
6211
|
if (success) {
|
|
6212
6212
|
console.log(
|
|
6213
|
-
source_default.green(`\u2713 Upgraded from ${"9.169.
|
|
6213
|
+
source_default.green(`\u2713 Upgraded from ${"9.169.1"} to ${latestVersion}`)
|
|
6214
6214
|
);
|
|
6215
6215
|
return;
|
|
6216
6216
|
}
|
|
@@ -6277,7 +6277,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
6277
6277
|
|
|
6278
6278
|
// src/index.ts
|
|
6279
6279
|
var program = new Command();
|
|
6280
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.169.
|
|
6280
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.169.1");
|
|
6281
6281
|
program.addCommand(authCommand);
|
|
6282
6282
|
program.addCommand(infoCommand);
|
|
6283
6283
|
program.addCommand(composeCommand);
|