@vm0/cli 9.217.6 → 9.217.7
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-LRTLF7ZC.js → chunk-GMCOHMKD.js} +2 -2
- package/{chunk-HQ27RTRK.js → chunk-KAC2E4NP.js} +3 -3
- package/{chunk-37MXVVML.js → chunk-NCW2TLOK.js} +4 -3
- package/{chunk-37MXVVML.js.map → chunk-NCW2TLOK.js.map} +1 -1
- package/index.js +10 -10
- package/{logs-2G5RDIJP.js → logs-DEF7GUVN.js} +3 -3
- package/package.json +1 -1
- package/{search-F64BOILN.js → search-CMFM6SLP.js} +3 -3
- package/zero.js +4 -4
- /package/{chunk-LRTLF7ZC.js.map → chunk-GMCOHMKD.js.map} +0 -0
- /package/{chunk-HQ27RTRK.js.map → chunk-KAC2E4NP.js.map} +0 -0
- /package/{logs-2G5RDIJP.js.map → logs-DEF7GUVN.js.map} +0 -0
- /package/{search-F64BOILN.js.map → search-CMFM6SLP.js.map} +0 -0
package/index.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
renderRunCreated,
|
|
41
41
|
require_dist,
|
|
42
42
|
showNextSteps
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NCW2TLOK.js";
|
|
44
44
|
import "./chunk-4KC5DNRL.js";
|
|
45
45
|
import "./chunk-QU3UUXGM.js";
|
|
46
46
|
import "./chunk-JOUXZAP3.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunk-JUTUEPIR.js";
|
|
95
95
|
import {
|
|
96
96
|
configureGlobalProxyFromEnv
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KAC2E4NP.js";
|
|
98
98
|
import "./chunk-LRHXR7JT.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.217.
|
|
435
|
+
console.log(source_default.bold(`VM0 CLI v${"9.217.7"}`));
|
|
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.217.
|
|
1137
|
+
await startSilentUpgrade("9.217.7");
|
|
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.217.
|
|
1234
|
+
await startSilentUpgrade("9.217.7");
|
|
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.217.
|
|
3094
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.217.
|
|
3093
|
+
if (latestVersion === "9.217.7") {
|
|
3094
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.217.7"})`));
|
|
3095
3095
|
return;
|
|
3096
3096
|
}
|
|
3097
3097
|
console.log(
|
|
3098
3098
|
source_default.yellow(
|
|
3099
|
-
`Current version: ${"9.217.
|
|
3099
|
+
`Current version: ${"9.217.7"} -> 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.217.
|
|
3126
|
+
source_default.green(`\u2713 Upgraded from ${"9.217.7"} 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.217.
|
|
3193
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.217.7");
|
|
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-GMCOHMKD.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-NCW2TLOK.js";
|
|
18
18
|
import "./chunk-4KC5DNRL.js";
|
|
19
19
|
import "./chunk-QU3UUXGM.js";
|
|
20
20
|
import "./chunk-JOUXZAP3.js";
|
|
@@ -274,4 +274,4 @@ Examples:
|
|
|
274
274
|
export {
|
|
275
275
|
zeroLogsCommand
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=logs-
|
|
277
|
+
//# sourceMappingURL=logs-DEF7GUVN.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-GMCOHMKD.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-NCW2TLOK.js";
|
|
14
14
|
import "./chunk-4KC5DNRL.js";
|
|
15
15
|
import "./chunk-QU3UUXGM.js";
|
|
16
16
|
import "./chunk-JOUXZAP3.js";
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
buildSlackRecipe,
|
|
202
202
|
zeroSearchCommand
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=search-
|
|
204
|
+
//# sourceMappingURL=search-CMFM6SLP.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-KAC2E4NP.js";
|
|
7
7
|
import {
|
|
8
8
|
decodeZeroTokenPayload
|
|
9
9
|
} from "./chunk-LRHXR7JT.js";
|
|
@@ -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-DEF7GUVN.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-CMFM6SLP.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.217.
|
|
373
|
+
).version("9.217.7").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")) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|