@vm0/cli 9.168.0 → 9.168.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-6JNZGYWI.js → chunk-ML4AVNQW.js} +319 -491
- package/{chunk-6JNZGYWI.js.map → chunk-ML4AVNQW.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +122 -2
- package/zero.js.map +1 -1
package/index.js
CHANGED
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
source_default,
|
|
70
70
|
volumeConfigSchema,
|
|
71
71
|
withErrorHandler
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-ML4AVNQW.js";
|
|
73
73
|
import {
|
|
74
74
|
__toESM,
|
|
75
75
|
init_esm_shims
|
|
@@ -388,7 +388,7 @@ function getConfigPath() {
|
|
|
388
388
|
return join(os.homedir(), ".vm0", "config.json");
|
|
389
389
|
}
|
|
390
390
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
391
|
-
console.log(source_default.bold(`VM0 CLI v${"9.168.
|
|
391
|
+
console.log(source_default.bold(`VM0 CLI v${"9.168.2"}`));
|
|
392
392
|
console.log();
|
|
393
393
|
const config = await loadConfig();
|
|
394
394
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -4281,7 +4281,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
4281
4281
|
options.autoUpdate = false;
|
|
4282
4282
|
}
|
|
4283
4283
|
if (options.autoUpdate !== false) {
|
|
4284
|
-
await startSilentUpgrade("9.168.
|
|
4284
|
+
await startSilentUpgrade("9.168.2");
|
|
4285
4285
|
}
|
|
4286
4286
|
try {
|
|
4287
4287
|
let result;
|
|
@@ -4383,7 +4383,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
4383
4383
|
withErrorHandler(
|
|
4384
4384
|
async (identifier, prompt, options) => {
|
|
4385
4385
|
if (options.autoUpdate !== false) {
|
|
4386
|
-
await startSilentUpgrade("9.168.
|
|
4386
|
+
await startSilentUpgrade("9.168.2");
|
|
4387
4387
|
}
|
|
4388
4388
|
const { name, version } = parseIdentifier(identifier);
|
|
4389
4389
|
let composeId;
|
|
@@ -6177,13 +6177,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6177
6177
|
if (latestVersion === null) {
|
|
6178
6178
|
throw new Error("Could not check for updates. Please try again later.");
|
|
6179
6179
|
}
|
|
6180
|
-
if (latestVersion === "9.168.
|
|
6181
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.168.
|
|
6180
|
+
if (latestVersion === "9.168.2") {
|
|
6181
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.168.2"})`));
|
|
6182
6182
|
return;
|
|
6183
6183
|
}
|
|
6184
6184
|
console.log(
|
|
6185
6185
|
source_default.yellow(
|
|
6186
|
-
`Current version: ${"9.168.
|
|
6186
|
+
`Current version: ${"9.168.2"} -> Latest version: ${latestVersion}`
|
|
6187
6187
|
)
|
|
6188
6188
|
);
|
|
6189
6189
|
console.log();
|
|
@@ -6210,7 +6210,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
6210
6210
|
const success = await performUpgrade(packageManager);
|
|
6211
6211
|
if (success) {
|
|
6212
6212
|
console.log(
|
|
6213
|
-
source_default.green(`\u2713 Upgraded from ${"9.168.
|
|
6213
|
+
source_default.green(`\u2713 Upgraded from ${"9.168.2"} to ${latestVersion}`)
|
|
6214
6214
|
);
|
|
6215
6215
|
return;
|
|
6216
6216
|
}
|
|
@@ -6277,7 +6277,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
6277
6277
|
|
|
6278
6278
|
// src/index.ts
|
|
6279
6279
|
var program = new Command();
|
|
6280
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.168.
|
|
6280
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.168.2");
|
|
6281
6281
|
program.addCommand(authCommand);
|
|
6282
6282
|
program.addCommand(infoCommand);
|
|
6283
6283
|
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-ML4AVNQW.js";
|
|
156
156
|
import {
|
|
157
157
|
__toESM,
|
|
158
158
|
init_esm_shims
|
|
@@ -9662,6 +9662,126 @@ var OPEN_DESIGN_REGISTRY = [
|
|
|
9662
9662
|
description: "vm0 in-app spot illustration style with bold hand-drawn ink line art, white-filled interiors, and a soft rounded color backdrop.",
|
|
9663
9663
|
desc: "Generate vm0-style vm0 in-app spot illustrations: bold hand-drawn ink line art with white-filled interiors, a soft rounded color backdrop, transparent output, and simple iconic metaphors for product states.",
|
|
9664
9664
|
source: { path: "illustration-template/vm0-illustration" }
|
|
9665
|
+
},
|
|
9666
|
+
{
|
|
9667
|
+
id: "vm0:image-style:postcard-illustration",
|
|
9668
|
+
kind: "image-style",
|
|
9669
|
+
name: "Postcard Illustration",
|
|
9670
|
+
description: "Hand-drawn editorial postcard / travel-journal illustration with fine black ink linework, flat saturated gouache fills, sharp edges, dense small repeated ink patterns, paper-grain texture, sparse white speckles, and a tall portrait composition.",
|
|
9671
|
+
desc: 'Hand-drawn editorial postcard illustration style. Fine black marker/pen ink linework over flat saturated gouache color fills with sharp edges, dense small repeated ink patterns on surfaces (rows of windows, shingle curves, hatching, stippling), subtle paper-grain background texture, tiny scattered white speckles (snow / petals / sparkle), and a tall portrait composition with a layered foreground-midground-background. Travel-journal / urban-sketcher aesthetic. Trigger when the user says /postcard-illustration, asks for a "postcard illustration", "travel illustration", "urban sketcher style", or briefs a palette + scene archetype + complexity.',
|
|
9672
|
+
source: { path: "illustration-template/postcard-illustration" }
|
|
9673
|
+
},
|
|
9674
|
+
{
|
|
9675
|
+
id: "vm0:image-style:folk-storybook",
|
|
9676
|
+
kind: "image-style",
|
|
9677
|
+
name: "Folk Storybook Illustration",
|
|
9678
|
+
description: "Folk-art children's picture-book illustration \u2014 hand-painted gouache and watercolor scenes with anthropomorphic animal characters, closed-crescent-eye smiles, dusty muted folk palette, and decorative pattern surfaces.",
|
|
9679
|
+
desc: "Folk-art children's picture-book illustration style \u2014 hand-painted gouache/watercolor scene on aged paper, anthropomorphic animal characters with closed-crescent-eye smiles, dusty muted folk palette, decorative pattern surfaces (wallpaper, rugs, textiles), and a hushed lullaby mood. Trigger when users ask for a folk-art illustration, storybook scene, cozy animal illustration, or any new piece in this Eastern European picture-book style.",
|
|
9680
|
+
source: { path: "illustration-template/folk-storybook" }
|
|
9681
|
+
},
|
|
9682
|
+
{
|
|
9683
|
+
id: "vm0:image-style:papernook",
|
|
9684
|
+
kind: "image-style",
|
|
9685
|
+
name: "Papernook",
|
|
9686
|
+
description: "Hand-drawn editorial illustration set in a cozy cluttered personal-studio scene with warm cream paper, scratchy ink, painterly gouache fills, dot-eye character face, and dense edge-to-edge thematic props.",
|
|
9687
|
+
desc: 'Hand-drawn editorial illustration in the spirit of a cluttered personal-studio scene. Loose scratchy black ink outlines that wobble, textured gouache fills with visible brush marks, warm cream paper background, simplified dot-eye character face, and a DENSE edge-to-edge composition where a centered character is orbited by thematic props that visually act out the scene metaphor. Default palette: dusty cornflower blue, soft coral pink, fresh sage green, charcoal, warm cream \u2014 no mustard, no burnt-orange. Trigger when user says /papernook, asks for a "papernook illustration", a "cozy cluttered editorial scene", a "warm-cream desk scene", or a new piece in this hand-drawn studio-clutter editorial style.',
|
|
9688
|
+
source: { path: "illustration-template/papernook" }
|
|
9689
|
+
},
|
|
9690
|
+
{
|
|
9691
|
+
id: "vm0:image-style:painterly-botanical",
|
|
9692
|
+
kind: "image-style",
|
|
9693
|
+
name: "Painterly Botanical",
|
|
9694
|
+
description: "Painterly watercolor + gouache portrait illustration with a single figure embraced by lush botanicals, closed-eye introspective expression, and a softly tinted paper-wash background.",
|
|
9695
|
+
desc: 'Painterly watercolor + gouache portrait illustration. Single figure (closed eyes, contemplative) embraced by botanicals \u2014 leaves, blossoms, grasses. Translucent washes with visible pigment bleeds, sparse crisp ink line accents on key edges, tiny handwritten cursive signature in an upper corner, and a tinted paper-wash background (never pure white). Eight user axes drive composition: subject, hair, pose, botanicals, palette, background wash, complexity (L1/L2/L3), and format. Trigger when a brief describes a contemplative figure with foliage, a "watercolor portrait", a "botanical embrace", or asks for a piece in this painterly editorial style.',
|
|
9696
|
+
source: { path: "illustration-template/painterly-botanical" }
|
|
9697
|
+
},
|
|
9698
|
+
{
|
|
9699
|
+
id: "vm0:image-style:iso-scene",
|
|
9700
|
+
kind: "image-style",
|
|
9701
|
+
name: "Isometric Editorial Scene",
|
|
9702
|
+
description: "Isometric editorial-magazine scene illustration with ultra-fine hairline outlines, flat fills, a saturated monochromatic background, and a scene-as-metaphor composition built from theme-native props.",
|
|
9703
|
+
desc: 'Isometric editorial-magazine scene illustration in a locked flat-vector style \u2014 ultra-fine hairline outlines, monochromatic saturated background filling the canvas, and a single composed scene whose props themselves embody the theme. Trigger when users say /iso-scene, ask for an "isometric editorial illustration", a "scene illustration in the editorial machine style", or brief with palette + scene archetype + complexity.',
|
|
9704
|
+
source: { path: "illustration-template/iso-scene" }
|
|
9705
|
+
},
|
|
9706
|
+
{
|
|
9707
|
+
id: "vm0:image-style:inkdab",
|
|
9708
|
+
kind: "image-style",
|
|
9709
|
+
name: "Inkdab Illustration",
|
|
9710
|
+
description: "Brush-pen editorial illustration where a free-floating color dab is painted first, then loose black ink linework is drawn freely on top \u2014 never as an outline around the color. Scribbled hatched hair, open-outline bodies, pure white background.",
|
|
9711
|
+
desc: 'Brush-pen editorial illustration style \u2014 a flat accent-color "dab" painted first, then loose black ink drawn freely on top. ONE flat accent-color shape per prop (painted-first, never outlined in black), black hand-wobbled ink on pure white background, scribbled hatched hair, open-outline bodies with zero fill, and one small solid-accent triangle floating freely as a recurring motif. Trigger when user says /inkdab, asks for an "inkdab illustration", a "brush-pen illustration with a single accent color", a "free-floating color block illustration", or briefs in the style of the included reference images.',
|
|
9712
|
+
source: { path: "illustration-template/inkdab" }
|
|
9713
|
+
},
|
|
9714
|
+
{
|
|
9715
|
+
id: "vm0:image-style:riso-relic",
|
|
9716
|
+
kind: "image-style",
|
|
9717
|
+
name: "Riso Relic",
|
|
9718
|
+
description: 'Pop-art retro risograph poster of a single nostalgic everyday object on a saturated single-hue field \u2014 bold black ink outlines, halftone grain, hand-drawn doodle accents, tiny "SMALL OBJECTS IN TIME" banner up top, chunky retro headline with offset drop-shadow at the bottom.',
|
|
9719
|
+
desc: 'Pop-art retro risograph poster of a single nostalgic everyday object \u2014 saturated single-color background, bold black ink outlines, halftone/riso grain, hand-drawn doodle accents (sparkles, squiggles, dots, music notes, lightning), tiny white "SMALL OBJECTS IN TIME" banner at top, chunky retro display headline at bottom with offset black drop-shadow. Trigger when user says /riso-relic, asks for a "riso poster", a "small objects in time" illustration, or any new piece in this nostalgic pop-art relic-object style.',
|
|
9720
|
+
source: { path: "illustration-template/riso-relic" }
|
|
9721
|
+
},
|
|
9722
|
+
{
|
|
9723
|
+
id: "vm0:image-style:inkstomp",
|
|
9724
|
+
kind: "image-style",
|
|
9725
|
+
name: "Inkstomp",
|
|
9726
|
+
description: "Loud indie-packaging poster style \u2014 full-bleed saturated flat color, a two-line hand-lettered headline, and one weird-cute black brush-ink character.",
|
|
9727
|
+
desc: 'Inkstomp \u2014 a loud, hand-screened indie-packaging poster style. Full-bleed saturated flat color filling the entire canvas, a two-line hand-lettered headline (thin arched caps over chunky drop-shadowed display), and one weird-cute character drawn in thick uniform black brush ink. Trigger when the user says /inkstomp, asks for an "inkstomp poster", a "Ray Fenwick / Hattie Stewart packaging poster", an "indie brush-ink flavor card", or briefs in a "palette + headline + character" shape.',
|
|
9728
|
+
source: { path: "illustration-template/inkstomp" }
|
|
9729
|
+
},
|
|
9730
|
+
{
|
|
9731
|
+
id: "vm0:image-style:folk-muse",
|
|
9732
|
+
kind: "image-style",
|
|
9733
|
+
name: "Folk Muse",
|
|
9734
|
+
description: "Flat folk-art gouache portrait style \u2014 a single contemplative chest-up figure framed by an asymmetric botanical surround, with painted irises, smooth flat hair, a hand against the cheek, and a patterned robe.",
|
|
9735
|
+
desc: 'Flat folk-art gouache portrait illustration in the contemporary editorial style of Carson Ellis, Maja Tomljanovic, and Bodil Jane. A single chest-up figure with an elongated mannerist oval face, tiny almond half-lidded eyes, smooth flat hair, one hand pressed against the face, a patterned robe filling the lower frame, and an asymmetric botanical surround filling the background edge-to-edge. Hand-painted matte gouache texture, flat color blocks, no harsh outlines, no photorealism. Calm, slightly melancholic, contemplative mood. Trigger when the user says /folk-muse, asks for a "folk-art portrait", "gouache portrait", "Carson Ellis style portrait", or any new piece in this contemplative folk-portrait style.',
|
|
9736
|
+
source: { path: "illustration-template/folk-muse" }
|
|
9737
|
+
},
|
|
9738
|
+
{
|
|
9739
|
+
id: "vm0:image-style:sunlit-gouache",
|
|
9740
|
+
kind: "image-style",
|
|
9741
|
+
name: "Sunlit Gouache",
|
|
9742
|
+
description: "Bright pastel travel-painting illustration in opaque gouache on textured paper with chunky flat brushstrokes, vertical one-point perspective, and figures walking into warm sunlight.",
|
|
9743
|
+
desc: 'Sunlit Gouache travel-painting illustration. Opaque gouache on textured paper, visible chunky flat brushstrokes with dry-brush highlights, locked six-color palette (cream, butter-yellow, sky-blue, sage-green, terracotta, one small red accent), vertical 2:3 one-point-perspective composition drawing the eye into a bright sunlit focal point, figures seen from behind walking into the scene, an overhead band of hanging elements (awning, prayer flags, catenary, bunting, lanterns) creating depth, dappled painterly reflections on the ground, airy optimistic warm mood. Trigger when user says /sunlit-gouache, asks for a "sunlit gouache illustration", "painterly travel scene", "gouache caf\xE9/market/temple/station scene", or a new piece in this bright pastel painted-light style.',
|
|
9744
|
+
source: { path: "illustration-template/sunlit-gouache" }
|
|
9745
|
+
},
|
|
9746
|
+
{
|
|
9747
|
+
id: "vm0:image-style:mosaic-still-life",
|
|
9748
|
+
kind: "image-style",
|
|
9749
|
+
name: "Mosaic Still Life",
|
|
9750
|
+
description: "Editorial still-life illustration in a mosaic-tile + painterly hybrid style \u2014 tessellated ground/sky/wall surfaces with crisp painterly objects, an animal companion, and a patterned textile peeking through.",
|
|
9751
|
+
desc: 'Mosaic-tile + painterly hybrid editorial illustration. Tessellated/pointillist mosaic surfaces (grass, sky, sand, walls, floors) anchor the scene, with crisp painterly still-life objects rendered ON TOP. Always features a still-life centerpiece on a table, an animal companion at the heart of the scene, and at least one patterned textile peeking through. Cozy, nostalgic, bucolic mood. Trigger when user says /mosaic-still-life, asks for a "mosaic illustration", "mosaic-tile editorial illustration", "tessellated still life", or briefs with a palette + scene + animal in this style.',
|
|
9752
|
+
source: { path: "illustration-template/mosaic-still-life" }
|
|
9753
|
+
},
|
|
9754
|
+
{
|
|
9755
|
+
id: "vm0:image-style:ink-mascot",
|
|
9756
|
+
kind: "image-style",
|
|
9757
|
+
name: "Ink Mascot",
|
|
9758
|
+
description: "Vintage editorial marketing card. Bold serif headline and short serif descriptor over a hand-drawn black-ink anthropomorphic mascot (stick limbs, chunky white sneakers) on a single solid saturated flat color background.",
|
|
9759
|
+
desc: 'Generate a 3:5 portrait editorial marketing card in a locked vintage-textbook style. Bold serif headline plus an optional short serif descriptor sit on a single solid saturated flat color background (no gradient, no divider, no ground line). A hand-drawn black-ink anthropomorphic hero object \u2014 paint bucket, magnifying glass, envelope, notebook, funnel, megaphone, rocket, seedling, gift box, compass, etc. \u2014 stands with two thin stick arms, two stick legs, and chunky white sneakers with black laces (the signature detail). Crosshatch and stipple shading on rounded surfaces; floating ink doodles (sparkles, arrows, hearts, percent or dollar signs, motion lines) at the requested density. Dialable along six axes: concept, palette, hero object, action, doodle density (L1 minimal, L2 balanced, L3 packed), and type layout (A title-top, B headline-bottom, C headline-only, D big-word + tiny-descriptor). Trigger when user says /ink-mascot, asks for a "marketing card illustration", a "retro editorial mascot poster", or briefs with a marketing concept plus palette plus character.',
|
|
9760
|
+
source: { path: "illustration-template/ink-mascot" }
|
|
9761
|
+
},
|
|
9762
|
+
{
|
|
9763
|
+
id: "vm0:image-style:sticker-sheet",
|
|
9764
|
+
kind: "image-style",
|
|
9765
|
+
name: "Sticker Sheet",
|
|
9766
|
+
description: "Hand-painted gouache sticker-sheet illustration with ~20 themed objects floating on white, punchy saturated palette, wobbly hand-drawn ink overlay, and tiny decorative marks on every item.",
|
|
9767
|
+
desc: 'Sticker Sheet \u2014 hand-painted gouache sticker-sheet illustration. ~20 small floating themed objects on pure white, punchy saturated palette (coral, mustard, sage, dusty pink, navy, cream, warm brown), flat brushy gouache fills with wobbly hand-drawn ink linework and tiny decorative marks (dots, hatches, squiggles) on every object. Each object slightly tilted, no drop shadows, cheerful cozy lifestyle journal mood. Trigger when user says /sticker-sheet, asks for a "sticker sheet illustration", "hand-painted gouache sticker pack", "themed object sheet", or briefs with a scene theme + object count in this house style.',
|
|
9768
|
+
source: { path: "illustration-template/sticker-sheet" }
|
|
9769
|
+
},
|
|
9770
|
+
{
|
|
9771
|
+
id: "vm0:image-style:flat-poster",
|
|
9772
|
+
kind: "image-style",
|
|
9773
|
+
name: "Flat Poster",
|
|
9774
|
+
description: "Vertical flat-color editorial poster style \u2014 saturated solid background, one centered hand-drawn vector subject in bold deep-navy outlines with strict two-tone fill, headline pinned top-left, wordmark pinned bottom-right.",
|
|
9775
|
+
desc: 'Flat Poster \u2014 a vertical flat-color editorial poster style for brand benefit cards, marketing posters, and in-app campaign visuals. Portrait 2:3 canvas filled edge-to-edge with one saturated hue; a single centered hand-drawn vector subject in deep-navy outlines with strict two-tone fill (pure white plus one darker bg-tint accent); a bold rounded sans-serif headline pinned top-left; a short wordmark (default VM0) pinned bottom-right; small floating accent marks around the subject; no body copy. Six creative dials: palette, subject archetype, composition preset, accent marks, headline voice, mood. Trigger when the user says /flat-poster, asks for a "flat-color editorial poster", a "brand benefit card", a "marketing card in the bold outline + flat color style", or briefs with a palette + subject + headline shape.',
|
|
9776
|
+
source: { path: "illustration-template/flat-poster" }
|
|
9777
|
+
},
|
|
9778
|
+
{
|
|
9779
|
+
id: "vm0:image-style:mellow-pop",
|
|
9780
|
+
kind: "image-style",
|
|
9781
|
+
name: "Mellow Pop",
|
|
9782
|
+
description: "Chill flat-vector editorial poster of a serene recurring character on a fully saturated solid color background, with a signature pop of bright leaf-green and a scene-as-metaphor composition.",
|
|
9783
|
+
desc: 'Mellow-pop flat-vector editorial illustration: a recurring chill character with closed-eye smile, tiny nose hint, and short dark bobbed hair, posed inside a scene-as-metaphor composition on a single fully saturated solid color background, with a signature pop of bright leaf-green woven into every piece (hero prop, plants, motifs, or sweater). Thin uniform black outlines, flat solid fills only, no gradients or texture. Five dials per brief: palette, scene metaphor, complexity (L1/L2/L3), pose, outfit accent. Trigger when user says /mellow-pop, asks for a "mellow-pop illustration", "chill flat-vector poster", or briefs with a scene metaphor + palette + complexity.',
|
|
9784
|
+
source: { path: "illustration-template/mellow-pop" }
|
|
9665
9785
|
}
|
|
9666
9786
|
];
|
|
9667
9787
|
function filterByKind(kind) {
|
|
@@ -12225,7 +12345,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
12225
12345
|
var program = new Command();
|
|
12226
12346
|
program.name("zero").description(
|
|
12227
12347
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
12228
|
-
).version("9.168.
|
|
12348
|
+
).version("9.168.2").addHelpText("after", () => {
|
|
12229
12349
|
return buildZeroHelpText();
|
|
12230
12350
|
});
|
|
12231
12351
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|