@genex-ai/cli-demo 1.35.4-dev.767 → 1.36.0-dev.770
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
CHANGED
|
@@ -11,6 +11,7 @@ genex link <slug> # re-link this folder to an existing game of yours (r
|
|
|
11
11
|
genex list # list your games — slug, status, page link (find the slug to link)
|
|
12
12
|
genex preview # build + push to the hosted draft URL (unlisted)
|
|
13
13
|
genex publish # build + push, then list the game in the gallery
|
|
14
|
+
genex cover [file] # show the game's cover, or make one real frame (PNG/JPEG/WebP) the cover
|
|
14
15
|
genex make-remixable # make this game remixable — migrate a private source to a public repo
|
|
15
16
|
genex model "<prompt>" # generate a 3D model → prints an asset URL
|
|
16
17
|
genex sfx "<prompt>" # generate a sound fx → prints an asset URL
|
|
@@ -98,6 +99,11 @@ built.
|
|
|
98
99
|
- **`genex publish`** does the same deploy, then flips the project to
|
|
99
100
|
**published** so it appears in the public gallery. The deploy and the gallery
|
|
100
101
|
flag are independent; `--no-push` flips the flag only.
|
|
102
|
+
- **The cover** is one real frame of the game, never generated art: save it as
|
|
103
|
+
`.genex/scratch/cover.png` and the next `genex preview` (or `publish`) uploads
|
|
104
|
+
it, or run `genex cover <file>`. A CLI upload counts as the agent's pick — it
|
|
105
|
+
replaces anything picked automatically, never a cover the owner chose on the
|
|
106
|
+
dashboard — and a near-black or flat frame is refused with its numbers.
|
|
101
107
|
|
|
102
108
|
Defaults: API `https://api.genex.games`, auth site
|
|
103
109
|
`https://genex.games` — override with `--api-url` / `--auth-url` (or
|
|
@@ -82,6 +82,9 @@ function isStale(local, remote) {
|
|
|
82
82
|
function inHostedSession() {
|
|
83
83
|
return process.env.GENEX_HOSTED_SESSION === "1";
|
|
84
84
|
}
|
|
85
|
+
function hostedBrowserCovers() {
|
|
86
|
+
return process.env.GENEX_BROWSER_COVER === "1";
|
|
87
|
+
}
|
|
85
88
|
function mayForceOverAnotherDevice() {
|
|
86
89
|
return !inHostedSession();
|
|
87
90
|
}
|
|
@@ -946,6 +949,7 @@ export {
|
|
|
946
949
|
readRemoteSource,
|
|
947
950
|
isStale,
|
|
948
951
|
inHostedSession,
|
|
952
|
+
hostedBrowserCovers,
|
|
949
953
|
mayForceOverAnotherDevice,
|
|
950
954
|
reportForceRefused,
|
|
951
955
|
reportStale,
|
|
@@ -970,6 +974,7 @@ export {
|
|
|
970
974
|
rotateRejectedEnv,
|
|
971
975
|
readUserToken,
|
|
972
976
|
readProject,
|
|
977
|
+
SCRATCH_DIR,
|
|
973
978
|
writeProject,
|
|
974
979
|
RENDER_MODES,
|
|
975
980
|
isRenderMode,
|