@genex-ai/cli-demo 0.48.0-dev.80 → 0.48.0-dev.86

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "0.48.0-dev.80",
3
+ "version": "0.48.0-dev.86",
4
4
  "description": "Set up your ~/.claude workspace, authorize, create a game project, generate AI assets, and publish (genex CLI).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -128,7 +128,10 @@ scaffolding, plain-CSS placeholder bars) while it renders — the CSS HUD keeps
128
128
  the game playable until the sprites land. When the gate produced a concept
129
129
  frame, anchor Stage 1 to it — `--edit <concept-url>` holds the game's
130
130
  register far better than a text-only prompt; single-sprite regenerations
131
- anchor the same way. Generate 2 mockup candidates in one
131
+ anchor the same way. The concept is a STYLE anchor only: the widget set and
132
+ layout come from the element inventory and the game contract — a mechanic
133
+ the concept invented (a lap counter, a stamina orb) does not enter the HUD,
134
+ and a mechanic it failed to show still does. Generate 2 mockup candidates in one
132
135
  call (`--candidates 2`) and pick the better one: a re-roll costs the whole
133
136
  serial chain, a second candidate costs nothing extra in wall-clock.
134
137
 
@@ -68,12 +68,32 @@ you're borrowing. The bar is what those games ship, not "good enough for a
68
68
  demo". Conventions only — never logos, exact layouts, or trade dress. The
69
69
  same 2–3 names carry into the router's visual-direction gate for the scene.
70
70
  Then turn references + brief into ONE **concept frame** — a single generated
71
- image of what THIS game should look like mid-play (scene, mood, lighting;
72
- a UI impression is welcome but optional):
73
- `npx genex image "<one-sentence game look from the brief>" --aspect 16:9 --quality high --no-wait`,
74
- enqueued FIRST of all art. Its URL goes into the style-brief comment as the
75
- game's north star: every later 2D generation that accepts `--edit` anchors
76
- to it, and the scene's lighting/grading is judged against it.
71
+ image of a PLAYABLE MOMENT of this game, not key art. Build the prompt from
72
+ the game contract, not just the mood: what the player is DOING mid-action
73
+ (the verb), what threatens them right now (enemy silhouettes), what they
74
+ are chasing (the objective a finish gate, a goal, a pickup), and how the
75
+ space reads (route, scale) plus the brief's palette, materials, and
76
+ light. A beautiful empty vista with nothing to fight and nowhere to go is a
77
+ FAILED concept; so is one that invents mechanics the game doesn't have (a
78
+ lap counter in a game without laps). `--aspect 16:9 --quality high
79
+ --no-wait`, enqueued FIRST of all art; the URL goes into the style-brief
80
+ comment.
81
+
82
+ **Share it before building on it.** The moment the frame lands, show it to
83
+ the user — "this is roughly how the game will look: keep it, or change
84
+ something?" — as ONE structured question with 2–3 concrete adjustment
85
+ options. Keep building gameplay-neutral work (scaffold, physics, netcode)
86
+ while waiting, but do NOT anchor further art to an unapproved frame; if the
87
+ user redirects, regenerate with their notes before the HUD mockup and menu
88
+ frame go out.
89
+
90
+ **The concept anchors STYLE, not truth.** Palette, materials, light, and
91
+ register come from the frame; CONTENT comes from the game contract. When
92
+ the frame lands, diff it against the contract in one visible line — what
93
+ does this game have that the frame doesn't show (enemies? arenas? the
94
+ finish? the pickup)? Carry those requirements in words into every later
95
+ prompt. Where the frame contradicts gameplay, gameplay wins — never inherit
96
+ an invented mechanic, or the absence of a real one, from a picture.
77
97
 
78
98
  **4. Ask only when genuinely ambiguous.** If the concept pins the mood (a
79
99
  "gothic horror dungeon crawler" pins it), decide and state the plan in one
@@ -25,8 +25,10 @@ Three.js release or branch, and do not blindly copy demo architecture.
25
25
  decided silently. Enqueue the Tier-2 UI generations now with `--no-wait`
26
26
  (pick them up later with `npx genex wait <id>`) — they render server-side
27
27
  while you build the game. FIRST of all art: the gate's **concept frame** —
28
- the single image of the finished game's look that every later `--edit`-able
29
- generation anchors to. Then the `$genex-ai-hud` Stage-1 mockup, enqueued
28
+ a playable-moment shot (verb + threat + objective in frame, per the
29
+ game-ui gate), shown to the user for a keep-or-change answer the moment
30
+ it lands; later `--edit`-able generations anchor to it for STYLE while
31
+ the game contract owns content. Then the `$genex-ai-hud` Stage-1 mockup, enqueued
30
32
  here for EVERY game; and the `$genex-ai-menu` video whenever the menu
31
33
  decision is yes (the default for every game — "it's only a draft" is not a
32
34
  reason to decide no). Skipping this enqueue is
@@ -50,8 +52,8 @@ Three.js release or branch, and do not blindly copy demo architecture.
50
52
  - **references**: name 2–3 AAA games whose look this game borrows
51
53
  (conventions, lighting mood, palette, post — never trade dress); the
52
54
  same 2–3 the UI gate named, extended from the interface to the scene,
53
- and embodied in the gate's concept frame — the image the scene is
54
- judged against;
55
+ and embodied in the gate's concept frame — the image the scene's STYLE
56
+ is judged against (content always comes from the game contract);
55
57
  - **ambient motion**: name ONE subtle environmental motion loop that keeps
56
58
  the scene alive at rest — an emissive pulse along edges, heat shimmer,
57
59
  drifting dust, a slowly flowing texture. Shader/procedural, zero