@vm0/cli 9.132.1 → 9.132.2
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-ZKOPXRWA.js → chunk-SRDBBQRJ.js} +179 -12
- package/{chunk-ZKOPXRWA.js.map → chunk-SRDBBQRJ.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +10 -25
- 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-SRDBBQRJ.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.132.
|
|
7774
|
+
console.log(source_default.bold(`VM0 CLI v${"9.132.2"}`));
|
|
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.132.
|
|
11714
|
+
await startSilentUpgrade("9.132.2");
|
|
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.132.
|
|
11806
|
+
await startSilentUpgrade("9.132.2");
|
|
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.132.
|
|
13580
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.132.
|
|
13579
|
+
if (latestVersion === "9.132.2") {
|
|
13580
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.132.2"})`));
|
|
13581
13581
|
return;
|
|
13582
13582
|
}
|
|
13583
13583
|
console.log(
|
|
13584
13584
|
source_default.yellow(
|
|
13585
|
-
`Current version: ${"9.132.
|
|
13585
|
+
`Current version: ${"9.132.2"} -> 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.132.
|
|
13612
|
+
source_default.green(`\u2713 Upgraded from ${"9.132.2"} 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.132.
|
|
13679
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.132.2");
|
|
13680
13680
|
program.addCommand(authCommand);
|
|
13681
13681
|
program.addCommand(infoCommand);
|
|
13682
13682
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
upsertZeroOrgModelProvider,
|
|
113
113
|
withErrorHandler,
|
|
114
114
|
zeroAgentCustomSkillNameSchema
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-SRDBBQRJ.js";
|
|
116
116
|
import {
|
|
117
117
|
__toESM,
|
|
118
118
|
init_esm_shims
|
|
@@ -13892,11 +13892,6 @@ var FEATURE_SWITCHES = {
|
|
|
13892
13892
|
description: "Show the data export option in account menu",
|
|
13893
13893
|
enabled: false
|
|
13894
13894
|
},
|
|
13895
|
-
["showSystemPrompt" /* ShowSystemPrompt */]: {
|
|
13896
|
-
maintainer: "ethan@vm0.ai",
|
|
13897
|
-
description: "Show the appended system prompt in activity detail steps",
|
|
13898
|
-
enabled: false
|
|
13899
|
-
},
|
|
13900
13895
|
["usageAnalytics" /* UsageAnalytics */]: {
|
|
13901
13896
|
maintainer: "ethan@vm0.ai",
|
|
13902
13897
|
description: "Show admin-only daily credits chart and per-run records on Usage page",
|
|
@@ -13907,14 +13902,9 @@ var FEATURE_SWITCHES = {
|
|
|
13907
13902
|
description: "Show the selected model name in activity details",
|
|
13908
13903
|
enabled: false
|
|
13909
13904
|
},
|
|
13910
|
-
["activityLogList" /* ActivityLogList */]: {
|
|
13911
|
-
maintainer: "ethan@vm0.ai",
|
|
13912
|
-
description: "Show the Activities list page and breadcrumb navigation",
|
|
13913
|
-
enabled: false
|
|
13914
|
-
},
|
|
13915
13905
|
["zeroDebug" /* ZeroDebug */]: {
|
|
13916
13906
|
maintainer: "ethan@vm0.ai",
|
|
13917
|
-
description: "Reveal debug
|
|
13907
|
+
description: "Reveal activity debug surfaces, activity log navigation, appended system prompts, and Debug preferences",
|
|
13918
13908
|
enabled: false
|
|
13919
13909
|
},
|
|
13920
13910
|
["computerUse" /* ComputerUse */]: {
|
|
@@ -13935,7 +13925,7 @@ var FEATURE_SWITCHES = {
|
|
|
13935
13925
|
["audioInput" /* AudioInput */]: {
|
|
13936
13926
|
maintainer: "lancy@vm0.ai",
|
|
13937
13927
|
description: "Enable voice input (microphone + STT) in chat \u2014 gates the mic button and the /api/zero/voice-io/stt route",
|
|
13938
|
-
enabled:
|
|
13928
|
+
enabled: true
|
|
13939
13929
|
},
|
|
13940
13930
|
["audioOutput" /* AudioOutput */]: {
|
|
13941
13931
|
maintainer: "lancy@vm0.ai",
|
|
@@ -13947,11 +13937,6 @@ var FEATURE_SWITCHES = {
|
|
|
13947
13937
|
description: "Enable automatic skill creation in agent prompts",
|
|
13948
13938
|
enabled: false
|
|
13949
13939
|
},
|
|
13950
|
-
["scheduleRunHistory" /* ScheduleRunHistory */]: {
|
|
13951
|
-
maintainer: "linghan@vm0.ai",
|
|
13952
|
-
description: "Show Run History tab on schedules page and Chat-from-schedule button on activity detail",
|
|
13953
|
-
enabled: false
|
|
13954
|
-
},
|
|
13955
13940
|
["testOauthConnector" /* TestOauthConnector */]: {
|
|
13956
13941
|
maintainer: "liangyou@vm0.ai",
|
|
13957
13942
|
description: "Enable the test-oauth connector, a synthetic OAuth 2.0 provider used only for automated tests. Off in prod.",
|
|
@@ -13992,12 +13977,6 @@ var FEATURE_SWITCHES = {
|
|
|
13992
13977
|
description: "Gate the custom /settings/api-keys UI for issuing personal access tokens used by the /api/v1 public surface. When disabled, the settings page redirects to / and the sidebar menu item is hidden. The backend /api/v1 verification does NOT consult this flag \u2014 previously issued PATs continue to work.",
|
|
13993
13978
|
enabled: false
|
|
13994
13979
|
},
|
|
13995
|
-
["slackAgentSwitch" /* SlackAgentSwitch */]: {
|
|
13996
|
-
maintainer: "yuma@vm0.ai",
|
|
13997
|
-
description: "Per-user agent override in the org-aware Slack app. When enabled for an org, members can choose which agent replies to their Slack mentions / DMs via `/zero switch` (opens an agent picker modal) or the Switch button on the App Home tab. The help text for `/zero help` also lists the switch subcommand. Selecting an alternate agent persists a row in `slack_user_agent_preferences` so the preference follows the user across every Slack workspace joined under the same org, and subsequent mention / DM replies from a non-default agent carry a `Sent via <agent>` footer so it's clear which agent produced the reply. When gated off, the modal, slash subcommand, App Home button, and help line are hidden AND any existing DB preferences are ignored at read time \u2014 every user falls back to the org default agent with no footer. Staff-only during the rollout window defined by `enabledOrgIdHashes`.",
|
|
13998
|
-
enabled: false,
|
|
13999
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
14000
|
-
},
|
|
14001
13980
|
["modelProviderSelection" /* ModelProviderSelection */]: {
|
|
14002
13981
|
maintainer: "ethan@vm0.ai",
|
|
14003
13982
|
description: "Show the model provider + model picker on the agent profile page and schedule dialog. Allows per-agent and per-schedule model selection, overriding the org default. Staff-only during initial rollout.",
|
|
@@ -14009,6 +13988,12 @@ var FEATURE_SWITCHES = {
|
|
|
14009
13988
|
description: "Replace the per-agent chat list with a unified Chats view that includes threads from every agent in the user's org (sub-agents included). Gates the sidebar + /chats title/placeholder/aria-label swaps, the per-row agent avatar render, and the unscoped request shape. New-chat creation still uses the current-agent fallback.",
|
|
14010
13989
|
enabled: false
|
|
14011
13990
|
},
|
|
13991
|
+
["connectorCategories" /* ConnectorCategories */]: {
|
|
13992
|
+
maintainer: "ethan@vm0.ai",
|
|
13993
|
+
description: "Show category sections and the hover-reveal outline menu on the Connectors settings page. Staff-only during rollout.",
|
|
13994
|
+
enabled: false,
|
|
13995
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
13996
|
+
},
|
|
14012
13997
|
["vm0DeepseekModel" /* Vm0DeepseekModel */]: {
|
|
14013
13998
|
maintainer: "ethan@vm0.ai",
|
|
14014
13999
|
description: "Enable the DeepSeek-V3.2 (deepseek-chat) VM0 managed model",
|
|
@@ -18848,7 +18833,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
18848
18833
|
var program = new Command();
|
|
18849
18834
|
program.name("zero").description(
|
|
18850
18835
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
18851
|
-
).version("9.132.
|
|
18836
|
+
).version("9.132.2").addHelpText(
|
|
18852
18837
|
"after",
|
|
18853
18838
|
`
|
|
18854
18839
|
Examples:
|