@genex-ai/cli-demo 0.63.0-dev.146 → 0.63.0-dev.149

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.63.0-dev.146",
3
+ "version": "0.63.0-dev.149",
4
4
  "description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: genex-explore
3
- description: Search the curated Genex community gallery with `npx genex explore` before hand-writing hard visual or physics systems. Use when the game needs terrain, grass, water, vehicles, buildings, dungeons, flocking/boids, or advanced shader work — proven open-source Three.js implementations you can clone as a starting point or borrow parts from, credits included.
3
+ description: Search the curated Genex community gallery with `npx genex explore` — once at the planning stage (the plan sweep, browse the catalog against the game plan and state reuse decisions) and again before hand-writing any hard system. Use when planning a new game, or when it needs terrain, grass, water, vehicles, buildings, dungeons, flocking, or advanced shaders — proven open-source Three.js implementations to clone or borrow from, credits included.
4
4
  ---
5
5
 
6
6
  # Genex Explore — proven building blocks from the community gallery
@@ -11,9 +11,29 @@ advanced shader effects. The curated community gallery holds **faithful ports of
11
11
  proven open-source Three.js projects** — playable, cloneable, and licensed for
12
12
  reuse. Search it before hand-writing one of those systems.
13
13
 
14
- ## When to use
14
+ ## The plan sweep — once per game, right after the plan is written
15
15
 
16
- Before building a hard visual/physics system by hand, run:
16
+ The moment the game contract (and the content contract, when there is one) is
17
+ on the table, run the catalog against it ONCE:
18
+
19
+ ```bash
20
+ npx genex explore
21
+ ```
22
+
23
+ No query — the catalog is small and every entry is proven, so one browse
24
+ covers the whole plan at once. Then walk the plan's systems (terrain, grass,
25
+ water, vehicles, combat feel, buildings, dungeons…) and for each one that a
26
+ catalog entry serves, state a reuse decision in the plan, one line each:
27
+ **clone as the base** / **borrow parts** (see below) / **build fresh, because
28
+ X**. Not deciding is the failure — a session that hand-builds a grass field
29
+ while a proven grass system sits in the catalog wasted its minutes on a
30
+ solved problem. If the catalog comes back empty on this stand, say so in one
31
+ line and move on — the sweep costs one command either way.
32
+
33
+ ## When to use again — before any hard system
34
+
35
+ Later in the build, before hand-writing a hard visual/physics system the plan
36
+ didn't foresee, run:
17
37
 
18
38
  ```bash
19
39
  npx genex explore "<what you need>"
@@ -53,6 +53,11 @@ Rules that make the contract real:
53
53
  - **Minute ten is the design test.** If the honest answer is "the same sixty
54
54
  seconds, again", the contract needs another beat (a new area unlocks, a
55
55
  quest chain escalates, a build comes online) before any polish work.
56
+ - **Close it with the reuse sweep.** Run `npx genex explore` once (no query)
57
+ and map the contract's systems against the curated catalog — proven ports
58
+ of terrain, grass, water, vehicles, combat feel, buildings, dungeons exist
59
+ there to clone or borrow with credits (`$genex-explore` has the steps). One
60
+ reuse line per matched system; an empty catalog is a one-line note.
56
61
 
57
62
  ## Data-driven, or you won't finish in one session
58
63
 
@@ -31,7 +31,14 @@ Three.js release or branch, and do not blindly copy demo architecture.
31
31
  fogged plane. Scope belongs to the user: shipping fewer or smaller than
32
32
  the ask requires their explicit OK through a structured question — a
33
33
  "vertical slice first" is a build order, never a license to shrink the
34
- destination silently.
34
+ destination silently. **Close the contract with the reuse sweep:** run
35
+ `npx genex explore` once (no query) and map the plan's systems against the
36
+ curated catalog — proven ports of terrain, grass, water, vehicles, combat
37
+ feel, buildings, dungeons exist there to clone or borrow (credits carried,
38
+ `$genex-explore` has the integration steps). One reuse line per matched
39
+ system in the plan (clone as base / borrow parts / build fresh because X);
40
+ hand-building a system the catalog already proves is the waste this sweep
41
+ exists to prevent. An empty catalog is a one-line note, not a blocker.
35
42
  2. Wire player identity before any boot code: `$genex-threejs-embed-auth` is
36
43
  mandatory for every game (`initEmbed(...)` + the `waitForPlayer()` gate) —
37
44
  saves, leaderboards, and multiplayer auth all come from it.