@vm0/cli 9.229.1 → 9.229.2
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-BCYR4VU6.js → chunk-D7V2D7F6.js} +54 -13
- package/{chunk-BCYR4VU6.js.map → chunk-D7V2D7F6.js.map} +1 -1
- package/{chunk-HGZAUA6S.js → chunk-TU2MJ5FQ.js} +2 -2
- package/{chunk-T5M6QQ6R.js → chunk-WE6UZIAD.js} +3 -3
- package/index.js +10 -10
- package/{logs-EV52ONUC.js → logs-VMW2DJWJ.js} +3 -3
- package/package.json +1 -1
- package/{search-3XITPXBY.js → search-TMWYUQEL.js} +3 -3
- package/zero.js +4 -4
- /package/{chunk-HGZAUA6S.js.map → chunk-TU2MJ5FQ.js.map} +0 -0
- /package/{chunk-T5M6QQ6R.js.map → chunk-WE6UZIAD.js.map} +0 -0
- /package/{logs-EV52ONUC.js.map → logs-VMW2DJWJ.js.map} +0 -0
- /package/{search-3XITPXBY.js.map → search-TMWYUQEL.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
parseBoundedLogCount,
|
|
11
11
|
parseSearchQuery,
|
|
12
12
|
parseTime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-D7V2D7F6.js";
|
|
14
14
|
import {
|
|
15
15
|
searchZeroLogs
|
|
16
16
|
} from "./chunk-GDZUIP3I.js";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
runLogsSearch,
|
|
177
177
|
searchCommand
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-TU2MJ5FQ.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.229.
|
|
53
|
+
release: "9.229.2",
|
|
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.229.
|
|
72
|
+
version: "9.229.2",
|
|
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-WE6UZIAD.js.map
|
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-D7V2D7F6.js";
|
|
40
40
|
import {
|
|
41
41
|
Kn,
|
|
42
42
|
uo
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunk-JUTUEPIR.js";
|
|
95
95
|
import {
|
|
96
96
|
configureGlobalProxyFromEnv
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-WE6UZIAD.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.229.
|
|
435
|
+
console.log(source_default.bold(`VM0 CLI v${"9.229.2"}`));
|
|
436
436
|
console.log();
|
|
437
437
|
const config = await loadConfig();
|
|
438
438
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1135,7 +1135,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1135
1135
|
options.autoUpdate = false;
|
|
1136
1136
|
}
|
|
1137
1137
|
if (options.autoUpdate !== false) {
|
|
1138
|
-
await startSilentUpgrade("9.229.
|
|
1138
|
+
await startSilentUpgrade("9.229.2");
|
|
1139
1139
|
}
|
|
1140
1140
|
try {
|
|
1141
1141
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1232,7 +1232,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1232
1232
|
withErrorHandler(
|
|
1233
1233
|
async (identifier, prompt, options) => {
|
|
1234
1234
|
if (options.autoUpdate !== false) {
|
|
1235
|
-
await startSilentUpgrade("9.229.
|
|
1235
|
+
await startSilentUpgrade("9.229.2");
|
|
1236
1236
|
}
|
|
1237
1237
|
const { name, version } = parseIdentifier(identifier);
|
|
1238
1238
|
let composeId;
|
|
@@ -3091,13 +3091,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3091
3091
|
if (latestVersion === null) {
|
|
3092
3092
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3093
3093
|
}
|
|
3094
|
-
if (latestVersion === "9.229.
|
|
3095
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.229.
|
|
3094
|
+
if (latestVersion === "9.229.2") {
|
|
3095
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.229.2"})`));
|
|
3096
3096
|
return;
|
|
3097
3097
|
}
|
|
3098
3098
|
console.log(
|
|
3099
3099
|
source_default.yellow(
|
|
3100
|
-
`Current version: ${"9.229.
|
|
3100
|
+
`Current version: ${"9.229.2"} -> Latest version: ${latestVersion}`
|
|
3101
3101
|
)
|
|
3102
3102
|
);
|
|
3103
3103
|
console.log();
|
|
@@ -3124,7 +3124,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3124
3124
|
const success = await performUpgrade(packageManager);
|
|
3125
3125
|
if (success) {
|
|
3126
3126
|
console.log(
|
|
3127
|
-
source_default.green(`\u2713 Upgraded from ${"9.229.
|
|
3127
|
+
source_default.green(`\u2713 Upgraded from ${"9.229.2"} to ${latestVersion}`)
|
|
3128
3128
|
);
|
|
3129
3129
|
return;
|
|
3130
3130
|
}
|
|
@@ -3191,7 +3191,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3191
3191
|
|
|
3192
3192
|
// src/index.ts
|
|
3193
3193
|
var program = new Command();
|
|
3194
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.229.
|
|
3194
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.229.2");
|
|
3195
3195
|
program.addCommand(authCommand);
|
|
3196
3196
|
program.addCommand(infoCommand);
|
|
3197
3197
|
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-TU2MJ5FQ.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-D7V2D7F6.js";
|
|
18
18
|
import "./chunk-DKOCDBW4.js";
|
|
19
19
|
import "./chunk-IZAMPHA4.js";
|
|
20
20
|
import "./chunk-O7FWK24H.js";
|
|
@@ -274,4 +274,4 @@ Examples:
|
|
|
274
274
|
export {
|
|
275
275
|
zeroLogsCommand
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=logs-
|
|
277
|
+
//# sourceMappingURL=logs-VMW2DJWJ.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-TU2MJ5FQ.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-D7V2D7F6.js";
|
|
14
14
|
import "./chunk-DKOCDBW4.js";
|
|
15
15
|
import "./chunk-IZAMPHA4.js";
|
|
16
16
|
import "./chunk-O7FWK24H.js";
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
buildSlackRecipe,
|
|
202
202
|
zeroSearchCommand
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=search-
|
|
204
|
+
//# sourceMappingURL=search-TMWYUQEL.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-WE6UZIAD.js";
|
|
7
7
|
import {
|
|
8
8
|
decodeZeroTokenPayload
|
|
9
9
|
} from "./chunk-LRHXR7JT.js";
|
|
@@ -171,14 +171,14 @@ var ZERO_COMMAND_DEFINITIONS = [
|
|
|
171
171
|
name: "logs",
|
|
172
172
|
description: "View and search agent run logs",
|
|
173
173
|
load: async () => {
|
|
174
|
-
return (await import("./logs-
|
|
174
|
+
return (await import("./logs-VMW2DJWJ.js")).zeroLogsCommand;
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
name: "search",
|
|
179
179
|
description: "Search logs, chat, or get a recipe for external sources",
|
|
180
180
|
load: async () => {
|
|
181
|
-
return (await import("./search-
|
|
181
|
+
return (await import("./search-TMWYUQEL.js")).zeroSearchCommand;
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
{
|
|
@@ -377,7 +377,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
377
377
|
var program = new Command();
|
|
378
378
|
program.name("zero").description(
|
|
379
379
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
380
|
-
).version("9.229.
|
|
380
|
+
).version("9.229.2").addHelpText("after", () => {
|
|
381
381
|
return buildZeroHelpText();
|
|
382
382
|
});
|
|
383
383
|
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
|