@vm0/cli 9.164.0 → 9.165.1
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/index.js
CHANGED
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
source_default,
|
|
69
69
|
volumeConfigSchema,
|
|
70
70
|
withErrorHandler
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-SEONTKHL.js";
|
|
72
72
|
import {
|
|
73
73
|
__toESM,
|
|
74
74
|
init_esm_shims
|
|
@@ -387,7 +387,7 @@ function getConfigPath() {
|
|
|
387
387
|
return join(os.homedir(), ".vm0", "config.json");
|
|
388
388
|
}
|
|
389
389
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
390
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
390
|
+
console.log(source_default.bold(`VM0 CLI v${"9.165.1"}`));
|
|
391
391
|
console.log();
|
|
392
392
|
const config = await loadConfig();
|
|
393
393
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4280,7 +4280,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4280
4280
|
options.autoUpdate = false;
|
|
4281
4281
|
}
|
|
4282
4282
|
if (options.autoUpdate !== false) {
|
|
4283
|
-
await startSilentUpgrade("9.
|
|
4283
|
+
await startSilentUpgrade("9.165.1");
|
|
4284
4284
|
}
|
|
4285
4285
|
try {
|
|
4286
4286
|
let result;
|
|
@@ -4372,7 +4372,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4372
4372
|
withErrorHandler(
|
|
4373
4373
|
async (identifier, prompt, options) => {
|
|
4374
4374
|
if (options.autoUpdate !== false) {
|
|
4375
|
-
await startSilentUpgrade("9.
|
|
4375
|
+
await startSilentUpgrade("9.165.1");
|
|
4376
4376
|
}
|
|
4377
4377
|
const { name, version } = parseIdentifier(identifier);
|
|
4378
4378
|
let composeId;
|
|
@@ -6165,13 +6165,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6165
6165
|
if (latestVersion === null) {
|
|
6166
6166
|
throw new Error("Could not check for updates. Please try again later.");
|
|
6167
6167
|
}
|
|
6168
|
-
if (latestVersion === "9.
|
|
6169
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
6168
|
+
if (latestVersion === "9.165.1") {
|
|
6169
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.165.1"})`));
|
|
6170
6170
|
return;
|
|
6171
6171
|
}
|
|
6172
6172
|
console.log(
|
|
6173
6173
|
source_default.yellow(
|
|
6174
|
-
`Current version: ${"9.
|
|
6174
|
+
`Current version: ${"9.165.1"} -> Latest version: ${latestVersion}`
|
|
6175
6175
|
)
|
|
6176
6176
|
);
|
|
6177
6177
|
console.log();
|
|
@@ -6198,7 +6198,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6198
6198
|
const success = await performUpgrade(packageManager);
|
|
6199
6199
|
if (success) {
|
|
6200
6200
|
console.log(
|
|
6201
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
6201
|
+
source_default.green(`\u2713 Upgraded from ${"9.165.1"} to ${latestVersion}`)
|
|
6202
6202
|
);
|
|
6203
6203
|
return;
|
|
6204
6204
|
}
|
|
@@ -6265,7 +6265,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
6265
6265
|
|
|
6266
6266
|
// src/index.ts
|
|
6267
6267
|
var program = new Command();
|
|
6268
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
6268
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.165.1");
|
|
6269
6269
|
program.addCommand(authCommand);
|
|
6270
6270
|
program.addCommand(infoCommand);
|
|
6271
6271
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
zeroAgentCustomSkillNameSchema,
|
|
153
153
|
zeroLocalAgentCommand,
|
|
154
154
|
zeroTokenAllowsFeatureSwitch
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-SEONTKHL.js";
|
|
156
156
|
import {
|
|
157
157
|
__toESM,
|
|
158
158
|
init_esm_shims
|
|
@@ -7167,7 +7167,7 @@ init_esm_shims();
|
|
|
7167
7167
|
var OPEN_DESIGN_REPO = "vm0-ai/open-design";
|
|
7168
7168
|
var OPEN_DESIGN_COMMIT = "d021b04720ace133f1d6133d1487326f5fc28f07";
|
|
7169
7169
|
var VM0_SKILLS_REPO = "vm0-ai/vm0-skills";
|
|
7170
|
-
var
|
|
7170
|
+
var VM0_SKILLS_REF = "main";
|
|
7171
7171
|
var OPEN_DESIGN_REGISTRY_VERSION = `federated:${OPEN_DESIGN_REPO}@${OPEN_DESIGN_COMMIT}`;
|
|
7172
7172
|
function sourceRef(repo, commit, path) {
|
|
7173
7173
|
return {
|
|
@@ -7443,8 +7443,8 @@ var OPEN_DESIGN_REGISTRY = [
|
|
|
7443
7443
|
description: "Zero-native illustration style for hand-drawn product spot illustrations with simple ink contours and soft backgrounds.",
|
|
7444
7444
|
source: sourceRef(
|
|
7445
7445
|
VM0_SKILLS_REPO,
|
|
7446
|
-
|
|
7447
|
-
"notion-illustration"
|
|
7446
|
+
VM0_SKILLS_REF,
|
|
7447
|
+
"illustration-template/notion-illustration"
|
|
7448
7448
|
),
|
|
7449
7449
|
targets: ["image", "website", "poster", "presentation", "report"],
|
|
7450
7450
|
tags: ["image", "illustration", "notion", "spot", "hand-drawn", "product"],
|
|
@@ -7467,6 +7467,46 @@ var OPEN_DESIGN_REGISTRY = [
|
|
|
7467
7467
|
remixHint: "prompt-with-resource-hints",
|
|
7468
7468
|
status: "experimental",
|
|
7469
7469
|
priority: 18
|
|
7470
|
+
},
|
|
7471
|
+
{
|
|
7472
|
+
id: "vm0:image-style:vm0-illustration",
|
|
7473
|
+
kind: "image-style",
|
|
7474
|
+
name: "vm0 Illustration",
|
|
7475
|
+
description: "vm0 in-app spot illustration style with bold hand-drawn ink line art, white-filled interiors, and a soft rounded color backdrop.",
|
|
7476
|
+
source: sourceRef(
|
|
7477
|
+
VM0_SKILLS_REPO,
|
|
7478
|
+
VM0_SKILLS_REF,
|
|
7479
|
+
"illustration-template/vm0-illustration"
|
|
7480
|
+
),
|
|
7481
|
+
targets: ["image", "website", "poster", "presentation", "report"],
|
|
7482
|
+
tags: [
|
|
7483
|
+
"image",
|
|
7484
|
+
"illustration",
|
|
7485
|
+
"spot",
|
|
7486
|
+
"in-app",
|
|
7487
|
+
"empty-state",
|
|
7488
|
+
"hand-drawn",
|
|
7489
|
+
"vm0"
|
|
7490
|
+
],
|
|
7491
|
+
triggers: [
|
|
7492
|
+
"vm0 style",
|
|
7493
|
+
"in-app illustration",
|
|
7494
|
+
"empty state illustration",
|
|
7495
|
+
"vm0 illustration",
|
|
7496
|
+
"soft rounded color backdrop"
|
|
7497
|
+
],
|
|
7498
|
+
bestFor: [
|
|
7499
|
+
"in-app empty states",
|
|
7500
|
+
"billing and permission illustrations",
|
|
7501
|
+
"small product state artwork"
|
|
7502
|
+
],
|
|
7503
|
+
outputKinds: ["image"],
|
|
7504
|
+
primaryOutputKind: "image",
|
|
7505
|
+
executorHints: ["skill-authored", "built-in-image"],
|
|
7506
|
+
previewHint: "image",
|
|
7507
|
+
remixHint: "prompt-with-resource-hints",
|
|
7508
|
+
status: "experimental",
|
|
7509
|
+
priority: 19
|
|
7470
7510
|
}
|
|
7471
7511
|
];
|
|
7472
7512
|
function toOpenDesignTarget(value) {
|
|
@@ -7546,7 +7586,7 @@ function selectOpenDesignCandidates(options) {
|
|
|
7546
7586
|
},
|
|
7547
7587
|
{
|
|
7548
7588
|
repo: VM0_SKILLS_REPO,
|
|
7549
|
-
commit:
|
|
7589
|
+
commit: VM0_SKILLS_REF
|
|
7550
7590
|
}
|
|
7551
7591
|
],
|
|
7552
7592
|
candidates: {
|
|
@@ -10043,7 +10083,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
10043
10083
|
var program = new Command();
|
|
10044
10084
|
program.name("zero").description(
|
|
10045
10085
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
10046
|
-
).version("9.
|
|
10086
|
+
).version("9.165.1").addHelpText("after", () => {
|
|
10047
10087
|
return buildZeroHelpText();
|
|
10048
10088
|
});
|
|
10049
10089
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|