@vm0/cli 9.217.2 → 9.217.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-SWMSXE2M.js → chunk-4KC5DNRL.js} +2 -2
- package/{chunk-SWMSXE2M.js.map → chunk-4KC5DNRL.js.map} +1 -1
- package/{chunk-O7VY3HZA.js → chunk-7S2TYSJX.js} +173 -64
- package/chunk-7S2TYSJX.js.map +1 -0
- package/{chunk-VNVOZD2I.js → chunk-BEQMCUCA.js} +2 -2
- package/{chunk-5ACVESXC.js → chunk-U55ZE2OY.js} +3 -3
- package/{generate-W254VELF.js → generate-VZNBTXPB.js} +2 -2
- package/index.js +11 -11
- package/{logs-QQIFBCG3.js → logs-ZJCHPPJA.js} +4 -4
- package/package.json +1 -1
- package/{resource-4OPD76TQ.js → resource-IMAG6HCQ.js} +2 -2
- package/{search-LUFMFZHW.js → search-ZUZLEVJO.js} +4 -4
- package/zero.js +6 -6
- package/chunk-O7VY3HZA.js.map +0 -1
- /package/{chunk-VNVOZD2I.js.map → chunk-BEQMCUCA.js.map} +0 -0
- /package/{chunk-5ACVESXC.js.map → chunk-U55ZE2OY.js.map} +0 -0
- /package/{generate-W254VELF.js.map → generate-VZNBTXPB.js.map} +0 -0
- /package/{logs-QQIFBCG3.js.map → logs-ZJCHPPJA.js.map} +0 -0
- /package/{resource-4OPD76TQ.js.map → resource-IMAG6HCQ.js.map} +0 -0
- /package/{search-LUFMFZHW.js.map → search-ZUZLEVJO.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
parseBoundedLogCount,
|
|
11
11
|
parseSearchQuery,
|
|
12
12
|
parseTime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7S2TYSJX.js";
|
|
14
14
|
import {
|
|
15
15
|
searchZeroLogs
|
|
16
16
|
} from "./chunk-BEGJBHUZ.js";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
runLogsSearch,
|
|
177
177
|
searchCommand
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-BEQMCUCA.js.map
|
|
@@ -50,7 +50,7 @@ if (DSN) {
|
|
|
50
50
|
Sentry.init({
|
|
51
51
|
dsn: DSN,
|
|
52
52
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
53
|
-
release: "9.217.
|
|
53
|
+
release: "9.217.4",
|
|
54
54
|
sendDefaultPii: false,
|
|
55
55
|
tracesSampleRate: 0,
|
|
56
56
|
shutdownTimeout: 500,
|
|
@@ -69,7 +69,7 @@ if (DSN) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Sentry.setContext("cli", {
|
|
72
|
-
version: "9.217.
|
|
72
|
+
version: "9.217.4",
|
|
73
73
|
command: process.argv.slice(2).join(" ")
|
|
74
74
|
});
|
|
75
75
|
Sentry.setContext("runtime", {
|
|
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
|
|
|
146
146
|
export {
|
|
147
147
|
configureGlobalProxyFromEnv
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-U55ZE2OY.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
listVideoTemplates,
|
|
17
17
|
selectResourceCandidates,
|
|
18
18
|
toGenerationTarget
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4KC5DNRL.js";
|
|
20
20
|
import {
|
|
21
21
|
getConnectorGenerationTypes
|
|
22
22
|
} from "./chunk-PVH3TQIR.js";
|
|
@@ -2699,4 +2699,4 @@ var generateCommand = new Command().name("generate").description(
|
|
|
2699
2699
|
export {
|
|
2700
2700
|
generateCommand
|
|
2701
2701
|
};
|
|
2702
|
-
//# sourceMappingURL=generate-
|
|
2702
|
+
//# sourceMappingURL=generate-VZNBTXPB.js.map
|
package/index.js
CHANGED
|
@@ -40,8 +40,8 @@ import {
|
|
|
40
40
|
renderRunCreated,
|
|
41
41
|
require_dist,
|
|
42
42
|
showNextSteps
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-7S2TYSJX.js";
|
|
44
|
+
import "./chunk-4KC5DNRL.js";
|
|
45
45
|
import "./chunk-3TPITAUC.js";
|
|
46
46
|
import "./chunk-PVH3TQIR.js";
|
|
47
47
|
import {
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunk-JUTUEPIR.js";
|
|
95
95
|
import {
|
|
96
96
|
configureGlobalProxyFromEnv
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-U55ZE2OY.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.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.217.
|
|
1137
|
+
await startSilentUpgrade("9.217.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.217.
|
|
1234
|
+
await startSilentUpgrade("9.217.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.217.
|
|
3094
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.217.
|
|
3093
|
+
if (latestVersion === "9.217.4") {
|
|
3094
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.217.4"})`));
|
|
3095
3095
|
return;
|
|
3096
3096
|
}
|
|
3097
3097
|
console.log(
|
|
3098
3098
|
source_default.yellow(
|
|
3099
|
-
`Current version: ${"9.217.
|
|
3099
|
+
`Current version: ${"9.217.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.217.
|
|
3126
|
+
source_default.green(`\u2713 Upgraded from ${"9.217.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.217.
|
|
3193
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.217.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-BEQMCUCA.js";
|
|
7
7
|
import {
|
|
8
8
|
EventRenderer,
|
|
9
9
|
EventStreamNormalizer,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
parseBoundedLogCount,
|
|
15
15
|
parsePositiveLogCount,
|
|
16
16
|
parseTime
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-7S2TYSJX.js";
|
|
18
|
+
import "./chunk-4KC5DNRL.js";
|
|
19
19
|
import "./chunk-3TPITAUC.js";
|
|
20
20
|
import "./chunk-PVH3TQIR.js";
|
|
21
21
|
import "./chunk-LTDQISD7.js";
|
|
@@ -274,4 +274,4 @@ Examples:
|
|
|
274
274
|
export {
|
|
275
275
|
zeroLogsCommand
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=logs-
|
|
277
|
+
//# sourceMappingURL=logs-ZJCHPPJA.js.map
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
findTemplate,
|
|
13
13
|
findTool,
|
|
14
14
|
findVideoTemplate
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4KC5DNRL.js";
|
|
16
16
|
import "./chunk-LTDQISD7.js";
|
|
17
17
|
import {
|
|
18
18
|
getRegistryResourceDownload
|
|
@@ -138,4 +138,4 @@ export {
|
|
|
138
138
|
findRegistryResourceForPull,
|
|
139
139
|
zeroResourceCommand
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=resource-
|
|
141
|
+
//# sourceMappingURL=resource-IMAG6HCQ.js.map
|
|
@@ -3,15 +3,15 @@ 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-BEQMCUCA.js";
|
|
7
7
|
import {
|
|
8
8
|
formatIsoTimestamp,
|
|
9
9
|
isUUID,
|
|
10
10
|
parseBoundedLogCount,
|
|
11
11
|
parseSearchQuery,
|
|
12
12
|
parseTime
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-7S2TYSJX.js";
|
|
14
|
+
import "./chunk-4KC5DNRL.js";
|
|
15
15
|
import "./chunk-3TPITAUC.js";
|
|
16
16
|
import "./chunk-PVH3TQIR.js";
|
|
17
17
|
import "./chunk-LTDQISD7.js";
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
buildSlackRecipe,
|
|
202
202
|
zeroSearchCommand
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=search-
|
|
204
|
+
//# sourceMappingURL=search-ZUZLEVJO.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-U55ZE2OY.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-ZJCHPPJA.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-ZUZLEVJO.js")).zeroSearchCommand;
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -184,7 +184,7 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
184
184
|
name: "resource",
|
|
185
185
|
description: "Pull registry resources from private R2-backed archives",
|
|
186
186
|
load: async () => {
|
|
187
|
-
return (await import("./resource-
|
|
187
|
+
return (await import("./resource-IMAG6HCQ.js")).zeroResourceCommand;
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
{
|
|
@@ -226,7 +226,7 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
226
226
|
name: "generate",
|
|
227
227
|
description: "Generate assets via vm0's built-in pipelines or get connector skill-invocation guidance",
|
|
228
228
|
load: async () => {
|
|
229
|
-
return (await import("./generate-
|
|
229
|
+
return (await import("./generate-VZNBTXPB.js")).generateCommand;
|
|
230
230
|
}
|
|
231
231
|
},
|
|
232
232
|
{
|
|
@@ -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.4").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")) {
|