@genex-ai/cli-demo 1.7.1-dev.450 → 1.7.2-dev.451

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5197,6 +5197,10 @@ async function fetchPushUrl(ctx, log, expectStagingCommit) {
5197
5197
  }
5198
5198
  if (res.status === 409) {
5199
5199
  const body = await res.json().catch(() => null);
5200
+ if (body?.error === "force_not_allowed_in_session") {
5201
+ reportForceRefused(log);
5202
+ return "stale";
5203
+ }
5200
5204
  reportStale(log, ctx.slug ?? "this game", expectStagingCommit, body?.stagingCommit ?? null);
5201
5205
  return "stale";
5202
5206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "1.7.1-dev.450",
3
+ "version": "1.7.2-dev.451",
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": {