@vm0/cli 9.213.3 → 9.213.4
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-2KHXCCQ2.js → chunk-ETVRZY4X.js} +3 -3
- package/{chunk-V53Z3G7N.js → chunk-R6P7I3I6.js} +2 -2
- package/{chunk-C235TSHU.js → chunk-VX5FH3GD.js} +14 -13
- package/{chunk-C235TSHU.js.map → chunk-VX5FH3GD.js.map} +1 -1
- package/index.js +10 -10
- package/{logs-KTBCCOFR.js → logs-GSVZJNHF.js} +3 -3
- package/package.json +1 -1
- package/{search-G4DZR264.js → search-67SO6QUX.js} +3 -3
- package/zero.js +4 -4
- /package/{chunk-2KHXCCQ2.js.map → chunk-ETVRZY4X.js.map} +0 -0
- /package/{chunk-V53Z3G7N.js.map → chunk-R6P7I3I6.js.map} +0 -0
- /package/{logs-KTBCCOFR.js.map → logs-GSVZJNHF.js.map} +0 -0
- /package/{search-G4DZR264.js.map → search-67SO6QUX.js.map} +0 -0
package/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
renderRunCreated,
|
|
37
37
|
require_dist,
|
|
38
38
|
showNextSteps
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VX5FH3GD.js";
|
|
40
40
|
import {
|
|
41
41
|
Kn,
|
|
42
42
|
uo
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunk-5HDFVWCU.js";
|
|
95
95
|
import {
|
|
96
96
|
configureGlobalProxyFromEnv
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-ETVRZY4X.js";
|
|
98
98
|
import "./chunk-FKZEHVO7.js";
|
|
99
99
|
import {
|
|
100
100
|
Command,
|
|
@@ -432,7 +432,7 @@ function getConfigPath() {
|
|
|
432
432
|
return join(os.homedir(), ".vm0", "config.json");
|
|
433
433
|
}
|
|
434
434
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
435
|
-
console.log(source_default.bold(`VM0 CLI v${"9.213.
|
|
435
|
+
console.log(source_default.bold(`VM0 CLI v${"9.213.4"}`));
|
|
436
436
|
console.log();
|
|
437
437
|
const config = await loadConfig();
|
|
438
438
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1134,7 +1134,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1134
1134
|
options.autoUpdate = false;
|
|
1135
1135
|
}
|
|
1136
1136
|
if (options.autoUpdate !== false) {
|
|
1137
|
-
await startSilentUpgrade("9.213.
|
|
1137
|
+
await startSilentUpgrade("9.213.4");
|
|
1138
1138
|
}
|
|
1139
1139
|
try {
|
|
1140
1140
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1231,7 +1231,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1231
1231
|
withErrorHandler(
|
|
1232
1232
|
async (identifier, prompt, options) => {
|
|
1233
1233
|
if (options.autoUpdate !== false) {
|
|
1234
|
-
await startSilentUpgrade("9.213.
|
|
1234
|
+
await startSilentUpgrade("9.213.4");
|
|
1235
1235
|
}
|
|
1236
1236
|
const { name, version } = parseIdentifier(identifier);
|
|
1237
1237
|
let composeId;
|
|
@@ -3090,13 +3090,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3090
3090
|
if (latestVersion === null) {
|
|
3091
3091
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3092
3092
|
}
|
|
3093
|
-
if (latestVersion === "9.213.
|
|
3094
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.213.
|
|
3093
|
+
if (latestVersion === "9.213.4") {
|
|
3094
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.213.4"})`));
|
|
3095
3095
|
return;
|
|
3096
3096
|
}
|
|
3097
3097
|
console.log(
|
|
3098
3098
|
source_default.yellow(
|
|
3099
|
-
`Current version: ${"9.213.
|
|
3099
|
+
`Current version: ${"9.213.4"} -> Latest version: ${latestVersion}`
|
|
3100
3100
|
)
|
|
3101
3101
|
);
|
|
3102
3102
|
console.log();
|
|
@@ -3123,7 +3123,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3123
3123
|
const success = await performUpgrade(packageManager);
|
|
3124
3124
|
if (success) {
|
|
3125
3125
|
console.log(
|
|
3126
|
-
source_default.green(`\u2713 Upgraded from ${"9.213.
|
|
3126
|
+
source_default.green(`\u2713 Upgraded from ${"9.213.4"} to ${latestVersion}`)
|
|
3127
3127
|
);
|
|
3128
3128
|
return;
|
|
3129
3129
|
}
|
|
@@ -3190,7 +3190,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3190
3190
|
|
|
3191
3191
|
// src/index.ts
|
|
3192
3192
|
var program = new Command();
|
|
3193
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.213.
|
|
3193
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.213.4");
|
|
3194
3194
|
program.addCommand(authCommand);
|
|
3195
3195
|
program.addCommand(infoCommand);
|
|
3196
3196
|
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-R6P7I3I6.js";
|
|
7
7
|
import {
|
|
8
8
|
EventRenderer,
|
|
9
9
|
EventStreamNormalizer,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseBoundedLogCount,
|
|
15
15
|
parsePositiveLogCount,
|
|
16
16
|
parseTime
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VX5FH3GD.js";
|
|
18
18
|
import "./chunk-5XWO2GNW.js";
|
|
19
19
|
import "./chunk-YHTJB4MI.js";
|
|
20
20
|
import "./chunk-HQNIINL3.js";
|
|
@@ -274,4 +274,4 @@ Examples:
|
|
|
274
274
|
export {
|
|
275
275
|
zeroLogsCommand
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=logs-
|
|
277
|
+
//# sourceMappingURL=logs-GSVZJNHF.js.map
|
package/package.json
CHANGED
|
@@ -3,14 +3,14 @@ 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-R6P7I3I6.js";
|
|
7
7
|
import {
|
|
8
8
|
formatIsoTimestamp,
|
|
9
9
|
isUUID,
|
|
10
10
|
parseBoundedLogCount,
|
|
11
11
|
parseSearchQuery,
|
|
12
12
|
parseTime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VX5FH3GD.js";
|
|
14
14
|
import "./chunk-5XWO2GNW.js";
|
|
15
15
|
import "./chunk-YHTJB4MI.js";
|
|
16
16
|
import "./chunk-HQNIINL3.js";
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
buildSlackRecipe,
|
|
202
202
|
zeroSearchCommand
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=search-
|
|
204
|
+
//# sourceMappingURL=search-67SO6QUX.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-ETVRZY4X.js";
|
|
7
7
|
import {
|
|
8
8
|
decodeZeroTokenPayload
|
|
9
9
|
} from "./chunk-FKZEHVO7.js";
|
|
@@ -162,14 +162,14 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
162
162
|
name: "logs",
|
|
163
163
|
description: "View and search agent run logs",
|
|
164
164
|
load: async () => {
|
|
165
|
-
return (await import("./logs-
|
|
165
|
+
return (await import("./logs-GSVZJNHF.js")).zeroLogsCommand;
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
name: "search",
|
|
170
170
|
description: "Search logs, chat, or get a recipe for external sources",
|
|
171
171
|
load: async () => {
|
|
172
|
-
return (await import("./search-
|
|
172
|
+
return (await import("./search-67SO6QUX.js")).zeroSearchCommand;
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
175
|
{
|
|
@@ -361,7 +361,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
361
361
|
var program = new Command();
|
|
362
362
|
program.name("zero").description(
|
|
363
363
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
364
|
-
).version("9.213.
|
|
364
|
+
).version("9.213.4").addHelpText("after", () => {
|
|
365
365
|
return buildZeroHelpText();
|
|
366
366
|
});
|
|
367
367
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|