@vgai/cli 0.5.22 → 0.5.24

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.
Files changed (3) hide show
  1. package/README.md +8 -11
  2. package/dist/index.js +2766 -2375
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -53,21 +53,18 @@ vgai inspect [folder] [--json] read-only Three.js/R3F/PixiJS/React detection
53
53
  vgai adapt <folder> [--write] preview by default; explicitly add only vgai.project.json
54
54
  vgai open <path> switch project in a running editor
55
55
  vgai project | projects show current / list recent projects
56
- vgai scene <path> open a scene file
57
-
58
- vgai play | stop | pause | resume | step play control
59
- vgai select <id> | --all | deselect selection
60
- vgai focus [id] | view <top|front|right|perspective>
61
- vgai show <viewport scene|game / inspector / console / build>
62
- vgai open-asset <path> <kind>
63
- vgai grid|helpers|stats <on|off> | shading <solid|unlit|wireframe|normals|overdraw>
56
+
57
+ vgai play | stop | restart play control
64
58
  vgai status print full editor state as JSON
59
+ vgai eval '<js>' the one general door: literal JS with
60
+ {editor, game, page, tools, session} bound to
61
+ the live session — selection, focus, views,
62
+ panels, and the game's own commands/providers
63
+ all live here (`vgai eval --list` prints
64
+ everything in scope)
65
65
  vgai mcp [folder] standard stdio tools/resources/prompts for Codex,
66
66
  Claude Code, Cursor, and other MCP clients
67
67
 
68
- vgai apply-diff <scene> <patch> [--report] apply a SceneDiff patch to a scene
69
- file, schema-validating the scene, the patch,
70
- AND the result (--report: validate, never write)
71
68
  vgai upgrade [--report] report engine drift vs. the project's engine pin,
72
69
  re-sync untouched template files, re-pin
73
70
  (a folder with no scaffold baseline AND no template files