@vm0/cli 9.118.0 → 9.119.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.
|
@@ -34652,7 +34652,7 @@ if (DSN) {
|
|
|
34652
34652
|
Sentry.init({
|
|
34653
34653
|
dsn: DSN,
|
|
34654
34654
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
34655
|
-
release: "9.
|
|
34655
|
+
release: "9.119.0",
|
|
34656
34656
|
sendDefaultPii: false,
|
|
34657
34657
|
tracesSampleRate: 0,
|
|
34658
34658
|
shutdownTimeout: 500,
|
|
@@ -34671,7 +34671,7 @@ if (DSN) {
|
|
|
34671
34671
|
}
|
|
34672
34672
|
});
|
|
34673
34673
|
Sentry.setContext("cli", {
|
|
34674
|
-
version: "9.
|
|
34674
|
+
version: "9.119.0",
|
|
34675
34675
|
command: process.argv.slice(2).join(" ")
|
|
34676
34676
|
});
|
|
34677
34677
|
Sentry.setContext("runtime", {
|
|
@@ -76856,4 +76856,4 @@ undici/lib/web/fetch/body.js:
|
|
|
76856
76856
|
undici/lib/web/websocket/frame.js:
|
|
76857
76857
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
76858
76858
|
*/
|
|
76859
|
-
//# sourceMappingURL=chunk-
|
|
76859
|
+
//# sourceMappingURL=chunk-BESNYOIM.js.map
|
package/index.js
CHANGED
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
source_default,
|
|
73
73
|
volumeConfigSchema,
|
|
74
74
|
withErrorHandler
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BESNYOIM.js";
|
|
76
76
|
|
|
77
77
|
// src/index.ts
|
|
78
78
|
init_esm_shims();
|
|
@@ -465,7 +465,7 @@ function getConfigPath() {
|
|
|
465
465
|
return join(homedir(), ".vm0", "config.json");
|
|
466
466
|
}
|
|
467
467
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
468
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
468
|
+
console.log(source_default.bold(`VM0 CLI v${"9.119.0"}`));
|
|
469
469
|
console.log();
|
|
470
470
|
const config = await loadConfig();
|
|
471
471
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4494,7 +4494,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4494
4494
|
options.autoUpdate = false;
|
|
4495
4495
|
}
|
|
4496
4496
|
if (options.autoUpdate !== false) {
|
|
4497
|
-
await startSilentUpgrade("9.
|
|
4497
|
+
await startSilentUpgrade("9.119.0");
|
|
4498
4498
|
}
|
|
4499
4499
|
try {
|
|
4500
4500
|
let result;
|
|
@@ -4579,7 +4579,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4579
4579
|
withErrorHandler(
|
|
4580
4580
|
async (identifier, prompt, options) => {
|
|
4581
4581
|
if (options.autoUpdate !== false) {
|
|
4582
|
-
await startSilentUpgrade("9.
|
|
4582
|
+
await startSilentUpgrade("9.119.0");
|
|
4583
4583
|
}
|
|
4584
4584
|
const { name, version } = parseIdentifier(identifier);
|
|
4585
4585
|
let composeId;
|
|
@@ -6353,7 +6353,7 @@ var cookAction = new Command().name("cook").description("Quick start: prepare, c
|
|
|
6353
6353
|
withErrorHandler(
|
|
6354
6354
|
async (prompt, options) => {
|
|
6355
6355
|
if (options.autoUpdate !== false) {
|
|
6356
|
-
const shouldExit = await checkAndUpgrade("9.
|
|
6356
|
+
const shouldExit = await checkAndUpgrade("9.119.0", prompt);
|
|
6357
6357
|
if (shouldExit) {
|
|
6358
6358
|
process.exit(0);
|
|
6359
6359
|
}
|
|
@@ -7120,13 +7120,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
7120
7120
|
if (latestVersion === null) {
|
|
7121
7121
|
throw new Error("Could not check for updates. Please try again later.");
|
|
7122
7122
|
}
|
|
7123
|
-
if (latestVersion === "9.
|
|
7124
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
7123
|
+
if (latestVersion === "9.119.0") {
|
|
7124
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.119.0"})`));
|
|
7125
7125
|
return;
|
|
7126
7126
|
}
|
|
7127
7127
|
console.log(
|
|
7128
7128
|
source_default.yellow(
|
|
7129
|
-
`Current version: ${"9.
|
|
7129
|
+
`Current version: ${"9.119.0"} -> Latest version: ${latestVersion}`
|
|
7130
7130
|
)
|
|
7131
7131
|
);
|
|
7132
7132
|
console.log();
|
|
@@ -7153,7 +7153,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
7153
7153
|
const success = await performUpgrade(packageManager);
|
|
7154
7154
|
if (success) {
|
|
7155
7155
|
console.log(
|
|
7156
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
7156
|
+
source_default.green(`\u2713 Upgraded from ${"9.119.0"} to ${latestVersion}`)
|
|
7157
7157
|
);
|
|
7158
7158
|
return;
|
|
7159
7159
|
}
|
|
@@ -7220,7 +7220,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
7220
7220
|
|
|
7221
7221
|
// src/index.ts
|
|
7222
7222
|
var program = new Command();
|
|
7223
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
7223
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.119.0");
|
|
7224
7224
|
program.addCommand(authCommand);
|
|
7225
7225
|
program.addCommand(infoCommand);
|
|
7226
7226
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
upsertZeroOrgModelProvider,
|
|
134
134
|
withErrorHandler,
|
|
135
135
|
zeroAgentCustomSkillNameSchema
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-BESNYOIM.js";
|
|
137
137
|
|
|
138
138
|
// src/zero.ts
|
|
139
139
|
init_esm_shims();
|
|
@@ -3552,7 +3552,8 @@ Examples:
|
|
|
3552
3552
|
Notes:
|
|
3553
3553
|
- Re-running setup with the same agent updates the existing "default" schedule
|
|
3554
3554
|
- Use -n to manage multiple named schedules for the same agent
|
|
3555
|
-
- All flags are required in non-interactive mode; interactive mode prompts for missing values
|
|
3555
|
+
- All flags are required in non-interactive mode; interactive mode prompts for missing values
|
|
3556
|
+
- If the user wants to be notified when a schedule completes, ask them where they want to receive the notification: web chat or Slack, then include it in the prompt`
|
|
3556
3557
|
).action(
|
|
3557
3558
|
withErrorHandler(async (agentIdentifier, options) => {
|
|
3558
3559
|
const compose = await resolveCompose(agentIdentifier);
|
|
@@ -4086,12 +4087,13 @@ init_esm_shims();
|
|
|
4086
4087
|
// src/commands/zero/slack/message/send.ts
|
|
4087
4088
|
init_esm_shims();
|
|
4088
4089
|
import { readFileSync as readFileSync4 } from "fs";
|
|
4089
|
-
var sendCommand2 = new Command().name("send").description("Send a message to a Slack channel or DM a user").option("-c, --channel <id>", "Channel ID").option("-u, --user <id>",
|
|
4090
|
+
var sendCommand2 = new Command().name("send").description("Send a message to a Slack channel or DM a user").option("-c, --channel <id>", "Channel ID").option("-u, --user <id>", 'Slack user ID for DM (use "me" for yourself)').option("-t, --text <message>", "Message text").option("--thread <ts>", "Thread timestamp for replies").option("--blocks <json>", "Block Kit JSON string").addHelpText(
|
|
4090
4091
|
"after",
|
|
4091
4092
|
`
|
|
4092
4093
|
Examples:
|
|
4093
4094
|
Simple message: zero slack message send -c C01234 -t "Hello!"
|
|
4094
4095
|
DM a user: zero slack message send -u U0A8V9X98QJ -t "Hello!"
|
|
4096
|
+
DM yourself: zero slack message send -u me -t "Hello!"
|
|
4095
4097
|
Reply in thread: zero slack message send -c C01234 --thread 1234567890.123456 -t "reply"
|
|
4096
4098
|
Rich blocks: zero slack message send -c C01234 --blocks '[{"type":"section","text":{"type":"mrkdwn","text":"*Bold*"}}]'
|
|
4097
4099
|
|
|
@@ -6519,7 +6521,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
6519
6521
|
var program = new Command();
|
|
6520
6522
|
program.name("zero").description(
|
|
6521
6523
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
6522
|
-
).version("9.
|
|
6524
|
+
).version("9.119.0").addHelpText(
|
|
6523
6525
|
"after",
|
|
6524
6526
|
`
|
|
6525
6527
|
Examples:
|