@vm0/cli 9.222.4 → 9.222.5
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/{automation-IOEAD5X4.js → automation-SUV3MNUM.js} +2 -2
- package/{chunk-PL6UVM4J.js → chunk-DGT73ZRY.js} +2 -2
- package/{chunk-TLXHOFKV.js → chunk-IKZEZFJR.js} +3 -3
- package/{chunk-DUZLFJLB.js → chunk-QZSUS4SV.js} +11 -12
- package/chunk-QZSUS4SV.js.map +1 -0
- package/index.js +10 -10
- package/{logs-NYG3NOVJ.js → logs-DXVWSN6X.js} +3 -3
- package/package.json +1 -1
- package/{search-O235JQGV.js → search-24TRZ2CY.js} +3 -3
- package/zero.js +5 -5
- package/chunk-DUZLFJLB.js.map +0 -1
- /package/{automation-IOEAD5X4.js.map → automation-SUV3MNUM.js.map} +0 -0
- /package/{chunk-PL6UVM4J.js.map → chunk-DGT73ZRY.js.map} +0 -0
- /package/{chunk-TLXHOFKV.js.map → chunk-IKZEZFJR.js.map} +0 -0
- /package/{logs-NYG3NOVJ.js.map → logs-DXVWSN6X.js.map} +0 -0
- /package/{search-O235JQGV.js.map → search-24TRZ2CY.js.map} +0 -0
package/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderRunCreated,
|
|
43
43
|
require_dist,
|
|
44
44
|
showNextSteps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QZSUS4SV.js";
|
|
46
46
|
import "./chunk-D2NRNECU.js";
|
|
47
47
|
import "./chunk-WLRVHNMC.js";
|
|
48
48
|
import "./chunk-LRS4PGVY.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
} from "./chunk-JUTUEPIR.js";
|
|
97
97
|
import {
|
|
98
98
|
configureGlobalProxyFromEnv
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-IKZEZFJR.js";
|
|
100
100
|
import "./chunk-LRHXR7JT.js";
|
|
101
101
|
import {
|
|
102
102
|
Command,
|
|
@@ -434,7 +434,7 @@ function getConfigPath() {
|
|
|
434
434
|
return join(os.homedir(), ".vm0", "config.json");
|
|
435
435
|
}
|
|
436
436
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
437
|
-
console.log(source_default.bold(`VM0 CLI v${"9.222.
|
|
437
|
+
console.log(source_default.bold(`VM0 CLI v${"9.222.5"}`));
|
|
438
438
|
console.log();
|
|
439
439
|
const config = await loadConfig();
|
|
440
440
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1137,7 +1137,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1137
1137
|
options.autoUpdate = false;
|
|
1138
1138
|
}
|
|
1139
1139
|
if (options.autoUpdate !== false) {
|
|
1140
|
-
await startSilentUpgrade("9.222.
|
|
1140
|
+
await startSilentUpgrade("9.222.5");
|
|
1141
1141
|
}
|
|
1142
1142
|
try {
|
|
1143
1143
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1234,7 +1234,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1234
1234
|
withErrorHandler(
|
|
1235
1235
|
async (identifier, prompt, options) => {
|
|
1236
1236
|
if (options.autoUpdate !== false) {
|
|
1237
|
-
await startSilentUpgrade("9.222.
|
|
1237
|
+
await startSilentUpgrade("9.222.5");
|
|
1238
1238
|
}
|
|
1239
1239
|
const { name, version } = parseIdentifier(identifier);
|
|
1240
1240
|
let composeId;
|
|
@@ -3093,13 +3093,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3093
3093
|
if (latestVersion === null) {
|
|
3094
3094
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3095
3095
|
}
|
|
3096
|
-
if (latestVersion === "9.222.
|
|
3097
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.222.
|
|
3096
|
+
if (latestVersion === "9.222.5") {
|
|
3097
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.222.5"})`));
|
|
3098
3098
|
return;
|
|
3099
3099
|
}
|
|
3100
3100
|
console.log(
|
|
3101
3101
|
source_default.yellow(
|
|
3102
|
-
`Current version: ${"9.222.
|
|
3102
|
+
`Current version: ${"9.222.5"} -> Latest version: ${latestVersion}`
|
|
3103
3103
|
)
|
|
3104
3104
|
);
|
|
3105
3105
|
console.log();
|
|
@@ -3126,7 +3126,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3126
3126
|
const success = await performUpgrade(packageManager);
|
|
3127
3127
|
if (success) {
|
|
3128
3128
|
console.log(
|
|
3129
|
-
source_default.green(`\u2713 Upgraded from ${"9.222.
|
|
3129
|
+
source_default.green(`\u2713 Upgraded from ${"9.222.5"} to ${latestVersion}`)
|
|
3130
3130
|
);
|
|
3131
3131
|
return;
|
|
3132
3132
|
}
|
|
@@ -3193,7 +3193,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3193
3193
|
|
|
3194
3194
|
// src/index.ts
|
|
3195
3195
|
var program = new Command();
|
|
3196
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.222.
|
|
3196
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.222.5");
|
|
3197
3197
|
program.addCommand(authCommand);
|
|
3198
3198
|
program.addCommand(infoCommand);
|
|
3199
3199
|
program.addCommand(composeCommand);
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
searchCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DGT73ZRY.js";
|
|
7
7
|
import {
|
|
8
8
|
collectLogItems,
|
|
9
9
|
parseBoundedLogCount,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
formatIsoTimestamp,
|
|
17
17
|
isSupportedFramework,
|
|
18
18
|
isUUID
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QZSUS4SV.js";
|
|
20
20
|
import "./chunk-D2NRNECU.js";
|
|
21
21
|
import "./chunk-WLRVHNMC.js";
|
|
22
22
|
import "./chunk-LRS4PGVY.js";
|
|
@@ -276,4 +276,4 @@ Examples:
|
|
|
276
276
|
export {
|
|
277
277
|
zeroLogsCommand
|
|
278
278
|
};
|
|
279
|
-
//# sourceMappingURL=logs-
|
|
279
|
+
//# sourceMappingURL=logs-DXVWSN6X.js.map
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
runLogsSearch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DGT73ZRY.js";
|
|
7
7
|
import {
|
|
8
8
|
parseBoundedLogCount,
|
|
9
9
|
parseSearchQuery,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
formatIsoTimestamp,
|
|
14
14
|
isUUID
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QZSUS4SV.js";
|
|
16
16
|
import "./chunk-D2NRNECU.js";
|
|
17
17
|
import "./chunk-WLRVHNMC.js";
|
|
18
18
|
import "./chunk-LRS4PGVY.js";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
buildSlackRecipe,
|
|
204
204
|
zeroSearchCommand
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=search-
|
|
206
|
+
//# sourceMappingURL=search-24TRZ2CY.js.map
|
package/zero.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
configureGlobalProxyFromEnv
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IKZEZFJR.js";
|
|
7
7
|
import {
|
|
8
8
|
decodeZeroTokenPayload
|
|
9
9
|
} from "./chunk-LRHXR7JT.js";
|
|
@@ -114,7 +114,7 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
114
114
|
name: "automation",
|
|
115
115
|
description: "Create or manage scheduled automations",
|
|
116
116
|
load: async () => {
|
|
117
|
-
return (await import("./automation-
|
|
117
|
+
return (await import("./automation-SUV3MNUM.js")).zeroAutomationCommand;
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
{
|
|
@@ -163,14 +163,14 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
163
163
|
name: "logs",
|
|
164
164
|
description: "View and search agent run logs",
|
|
165
165
|
load: async () => {
|
|
166
|
-
return (await import("./logs-
|
|
166
|
+
return (await import("./logs-DXVWSN6X.js")).zeroLogsCommand;
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
name: "search",
|
|
171
171
|
description: "Search logs, chat, or get a recipe for external sources",
|
|
172
172
|
load: async () => {
|
|
173
|
-
return (await import("./search-
|
|
173
|
+
return (await import("./search-24TRZ2CY.js")).zeroSearchCommand;
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -370,7 +370,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
370
370
|
var program = new Command();
|
|
371
371
|
program.name("zero").description(
|
|
372
372
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
373
|
-
).version("9.222.
|
|
373
|
+
).version("9.222.5").addHelpText("after", () => {
|
|
374
374
|
return buildZeroHelpText();
|
|
375
375
|
});
|
|
376
376
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|