@vm0/cli 9.131.5 → 9.132.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/{chunk-Y4LOXQJP.js → chunk-3OOH3FG4.js} +56 -13
- package/{chunk-Y4LOXQJP.js.map → chunk-3OOH3FG4.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +13 -7
- package/zero.js.map +1 -1
package/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
source_default,
|
|
63
63
|
volumeConfigSchema,
|
|
64
64
|
withErrorHandler
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3OOH3FG4.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__require,
|
|
@@ -7771,7 +7771,7 @@ function getConfigPath() {
|
|
|
7771
7771
|
return join(homedir(), ".vm0", "config.json");
|
|
7772
7772
|
}
|
|
7773
7773
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
7774
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
7774
|
+
console.log(source_default.bold(`VM0 CLI v${"9.132.0"}`));
|
|
7775
7775
|
console.log();
|
|
7776
7776
|
const config = await loadConfig();
|
|
7777
7777
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -11711,7 +11711,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
11711
11711
|
options.autoUpdate = false;
|
|
11712
11712
|
}
|
|
11713
11713
|
if (options.autoUpdate !== false) {
|
|
11714
|
-
await startSilentUpgrade("9.
|
|
11714
|
+
await startSilentUpgrade("9.132.0");
|
|
11715
11715
|
}
|
|
11716
11716
|
try {
|
|
11717
11717
|
let result;
|
|
@@ -11803,7 +11803,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
11803
11803
|
withErrorHandler(
|
|
11804
11804
|
async (identifier, prompt, options) => {
|
|
11805
11805
|
if (options.autoUpdate !== false) {
|
|
11806
|
-
await startSilentUpgrade("9.
|
|
11806
|
+
await startSilentUpgrade("9.132.0");
|
|
11807
11807
|
}
|
|
11808
11808
|
const { name, version } = parseIdentifier(identifier);
|
|
11809
11809
|
let composeId;
|
|
@@ -13576,13 +13576,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
13576
13576
|
if (latestVersion === null) {
|
|
13577
13577
|
throw new Error("Could not check for updates. Please try again later.");
|
|
13578
13578
|
}
|
|
13579
|
-
if (latestVersion === "9.
|
|
13580
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
13579
|
+
if (latestVersion === "9.132.0") {
|
|
13580
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.132.0"})`));
|
|
13581
13581
|
return;
|
|
13582
13582
|
}
|
|
13583
13583
|
console.log(
|
|
13584
13584
|
source_default.yellow(
|
|
13585
|
-
`Current version: ${"9.
|
|
13585
|
+
`Current version: ${"9.132.0"} -> Latest version: ${latestVersion}`
|
|
13586
13586
|
)
|
|
13587
13587
|
);
|
|
13588
13588
|
console.log();
|
|
@@ -13609,7 +13609,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
13609
13609
|
const success = await performUpgrade(packageManager);
|
|
13610
13610
|
if (success) {
|
|
13611
13611
|
console.log(
|
|
13612
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
13612
|
+
source_default.green(`\u2713 Upgraded from ${"9.132.0"} to ${latestVersion}`)
|
|
13613
13613
|
);
|
|
13614
13614
|
return;
|
|
13615
13615
|
}
|
|
@@ -13676,7 +13676,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
13676
13676
|
|
|
13677
13677
|
// src/index.ts
|
|
13678
13678
|
var program = new Command();
|
|
13679
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
13679
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.132.0");
|
|
13680
13680
|
program.addCommand(authCommand);
|
|
13681
13681
|
program.addCommand(infoCommand);
|
|
13682
13682
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
upsertZeroOrgModelProvider,
|
|
116
116
|
withErrorHandler,
|
|
117
117
|
zeroAgentCustomSkillNameSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-3OOH3FG4.js";
|
|
119
119
|
import {
|
|
120
120
|
__toESM,
|
|
121
121
|
init_esm_shims
|
|
@@ -14030,7 +14030,12 @@ var FEATURE_SWITCHES = {
|
|
|
14030
14030
|
},
|
|
14031
14031
|
["trinity" /* Trinity */]: {
|
|
14032
14032
|
maintainer: "ethan@vm0.ai",
|
|
14033
|
-
description: "Embed the
|
|
14033
|
+
description: "Embed the voice-chat mic toggle + voice-mode layout into the agent chat page. Gates the mic launcher, composer swap, and status/subtitle/task-card UI.",
|
|
14034
|
+
enabled: false
|
|
14035
|
+
},
|
|
14036
|
+
["zapierConnector" /* ZapierConnector */]: {
|
|
14037
|
+
maintainer: "ethan@vm0.ai",
|
|
14038
|
+
description: "Enable the Zapier connector. When disabled, Zapier is hidden from the connectors list and cannot be connected.",
|
|
14034
14039
|
enabled: false
|
|
14035
14040
|
}
|
|
14036
14041
|
};
|
|
@@ -14119,9 +14124,10 @@ var listCommand6 = new Command().name("list").alias("ls").description("List all
|
|
|
14119
14124
|
const allTypesRaw = Object.keys(CONNECTOR_TYPES);
|
|
14120
14125
|
const allTypes = [];
|
|
14121
14126
|
for (const type of allTypesRaw) {
|
|
14122
|
-
const
|
|
14123
|
-
const
|
|
14124
|
-
|
|
14127
|
+
const config = CONNECTOR_TYPES[type];
|
|
14128
|
+
const flag = config.featureFlag;
|
|
14129
|
+
const hasApiToken = "api-token" in config.authMethods;
|
|
14130
|
+
if (flag && !isFeatureEnabled(flag, { orgId }) && (!hasApiToken || config.strictFeatureFlag)) {
|
|
14125
14131
|
continue;
|
|
14126
14132
|
}
|
|
14127
14133
|
allTypes.push(type);
|
|
@@ -14200,7 +14206,7 @@ var searchCommand = new Command().name("search").description("Search connectors
|
|
|
14200
14206
|
const config = CONNECTOR_TYPES[type];
|
|
14201
14207
|
const flag = config.featureFlag;
|
|
14202
14208
|
const hasApiToken = "api-token" in config.authMethods;
|
|
14203
|
-
return !flag || isFeatureEnabled(flag, { orgId }) || hasApiToken;
|
|
14209
|
+
return !flag || isFeatureEnabled(flag, { orgId }) || hasApiToken && !config.strictFeatureFlag;
|
|
14204
14210
|
};
|
|
14205
14211
|
const { results, total } = searchConnectors(
|
|
14206
14212
|
trimmed,
|
|
@@ -19037,7 +19043,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
19037
19043
|
var program = new Command();
|
|
19038
19044
|
program.name("zero").description(
|
|
19039
19045
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
19040
|
-
).version("9.
|
|
19046
|
+
).version("9.132.0").addHelpText(
|
|
19041
19047
|
"after",
|
|
19042
19048
|
`
|
|
19043
19049
|
Examples:
|