@genex-ai/cli-demo 0.7.0 → 0.10.0
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/README.md +13 -12
- package/dist/index.js +410 -154
- package/package.json +10 -11
- package/templates/README.md +8 -7
- package/templates/skills/genex-ai-model/SKILL.md +5 -5
- package/templates/skills/genex-ai-sfx/SKILL.md +1 -1
- package/templates/skills/genex-ai-skybox/SKILL.md +2 -2
- package/templates/skills/genex-ai-texture/SKILL.md +1 -1
- package/templates/skills/genex-getting-started/SKILL.md +10 -6
- package/templates/skills/genex-threejs-embed-auth/SKILL.md +174 -0
- package/templates/skills/genex-threejs-multiplayer/SKILL.md +193 -100
- package/templates/skills/genex-threejs-multiplayer/references/genre-recipes.md +115 -0
- package/templates/skills/genex-threejs-multiplayer/references/realtime-patterns.md +138 -123
- package/templates/skills/genex-threejs-precipitation-surfaces/SKILL.md +59 -0
- package/templates/skills/genex-threejs-precipitation-surfaces/references/precipitation-surfaces.md +181 -0
- package/templates/skills/genex-threejs-procedural-architecture/SKILL.md +2 -1
- package/templates/skills/genex-threejs-procedural-architecture/references/architecture-systems.md +1 -1
- package/templates/skills/genex-threejs-procedural-fields/SKILL.md +0 -5
- package/templates/skills/genex-threejs-procedural-geometry/SKILL.md +0 -5
- package/templates/skills/genex-threejs-procedural-materials/SKILL.md +2 -17
- package/templates/skills/genex-threejs-procedural-vegetation/SKILL.md +11 -1
- package/templates/skills/genex-threejs-procedural-vfx/SKILL.md +3 -1
- package/templates/skills/genex-threejs-shadow-systems/SKILL.md +0 -5
- package/templates/skills/genex-threejs-skill-router/SKILL.md +10 -5
- package/templates/skills/genex-threejs-skill-router/references/routing-map.md +9 -6
- package/templates/skills/genex-threejs-spectral-ocean/SKILL.md +11 -1
- package/templates/skills/genex-threejs-temporal-surfaces/SKILL.md +3 -1
- package/templates/skills/genex-threejs-water-optics/SKILL.md +14 -2
package/README.md
CHANGED
|
@@ -39,14 +39,14 @@ genex texture "<prompt>" # generate a texture → assets/textures/
|
|
|
39
39
|
dashboard's **My games** immediately.
|
|
40
40
|
|
|
41
41
|
`genex preview` and `genex publish` share a build-aware deploy core: each runs
|
|
42
|
-
`npm run build` (when the project has a build script), then
|
|
43
|
-
`dist/`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- **`genex preview`**
|
|
49
|
-
(`https://<
|
|
42
|
+
`npm run build` (when the project has a build script), then uploads the built
|
|
43
|
+
`dist/` to R2 through a short-lived scoped upload token and flips a live pointer;
|
|
44
|
+
the editable source is pushed to the repo's single `main` branch (for Remix). Game
|
|
45
|
+
bytes never pass through our API. Pass `--no-build` to deploy whatever is already
|
|
46
|
+
built.
|
|
47
|
+
|
|
48
|
+
- **`genex preview`** uploads the current build to the project's hosted draft URL
|
|
49
|
+
(`https://<slug>.genex.technology/`) without listing it publicly — re-run it
|
|
50
50
|
after each change to update the shareable draft.
|
|
51
51
|
- **`genex publish`** does the same deploy, then flips the project to
|
|
52
52
|
**published** so it appears in the public gallery. The deploy and the gallery
|
|
@@ -69,10 +69,11 @@ command blocks until the asset is ready (poll loop), then writes the file(s):
|
|
|
69
69
|
| `genex sfx "<prompt>" [--duration <s>]` | ElevenLabs | `assets/sfx/<slug>.mp3` |
|
|
70
70
|
| `genex texture "<prompt>" [--terrain]` | Gemini | `assets/textures/<slug>/basecolor.<ext>` |
|
|
71
71
|
|
|
72
|
-
Because the file lands in the project and `genex publish`
|
|
73
|
-
directory, generated assets **ship inside the published
|
|
74
|
-
|
|
75
|
-
(
|
|
72
|
+
Because the file lands in the project and `genex publish` uploads the whole built
|
|
73
|
+
directory, generated assets **ship inside the published R2 bundle** — games serve
|
|
74
|
+
at the domain root (`https://<slug>.genex.technology/`), so both absolute
|
|
75
|
+
(`/assets/...`) and relative (`./assets/...`) paths resolve, and players get them
|
|
76
|
+
from the same origin (no CORS, no runtime dependency on this API). Each kind has a scaffolded
|
|
76
77
|
`genex-ai-<kind>` skill with the exact Three.js loader code.
|
|
77
78
|
|
|
78
79
|
Auth reuses the existing `GENEX_TOKEN` (run `genex init` first). Server-side, each
|