@genex-ai/cli-demo 1.9.0-dev.510 → 1.9.0-dev.512
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/dist/index.js +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5686,6 +5686,17 @@ async function promoteBuild(apiUrl, projectId, token, log) {
|
|
|
5686
5686
|
log.error("Nothing to promote \u2014 run `npx genex preview` first.");
|
|
5687
5687
|
return null;
|
|
5688
5688
|
}
|
|
5689
|
+
if (res.status === 403) {
|
|
5690
|
+
const body2 = await res.json().catch(() => null);
|
|
5691
|
+
if (body2?.code === "moderation_hold" || body2?.code === "moderation_refused") {
|
|
5692
|
+
log.error(
|
|
5693
|
+
body2.code === "moderation_hold" ? "This build is being reviewed before it reaches players \u2014 nothing was changed." : "This build cannot be published \u2014 nothing was changed."
|
|
5694
|
+
);
|
|
5695
|
+
if (body2.detail) log.dim(` ${body2.detail}`);
|
|
5696
|
+
log.dim(" Players are still on the previous version.");
|
|
5697
|
+
return null;
|
|
5698
|
+
}
|
|
5699
|
+
}
|
|
5689
5700
|
if (res.status === 404) {
|
|
5690
5701
|
log.error("That game wasn't found on your account. Re-run `genex init` or `genex link <slug>`.");
|
|
5691
5702
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genex-ai/cli-demo",
|
|
3
|
-
"version": "1.9.0-dev.
|
|
3
|
+
"version": "1.9.0-dev.512",
|
|
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": {
|