@genex-ai/cli-demo 1.6.2-dev.416 → 1.6.3-dev.418

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 +6 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1996,8 +1996,9 @@ async function runRename(opts) {
1996
1996
  const apiUrl = getApiUrl(opts.apiUrl ?? meta.apiUrl);
1997
1997
  const from = meta.slug;
1998
1998
  if (meta.status === "published" && !opts.yes) {
1999
- log.warn(`This retires ${c.cyan(`https://${from}.genex.technology/`)} \u2014 links already shared to it will stop working.`);
2000
- log.dim(" Plays, likes, and comments move with the game. Re-run with --yes to go ahead.");
1999
+ log.warn(`This retires ${c.cyan(from)} for good \u2014 it will redirect here, and nobody can reuse it.`);
2000
+ log.dim(" Links already shared keep working. Plays, likes and comments move with the game.");
2001
+ log.dim(" Games get a limited number of renames. Re-run with --yes to spend one.");
2001
2002
  process.exitCode = 1;
2002
2003
  return;
2003
2004
  }
@@ -2047,10 +2048,11 @@ async function runRename(opts) {
2047
2048
  await rewriteBakedSlug(from, project.slug, log);
2048
2049
  log.plain("");
2049
2050
  log.success(`Renamed to ${c.cyan(project.slug)}.`);
2051
+ log.dim(` ${from} still works \u2014 it redirects here.`);
2050
2052
  if (project.playUrl) log.dim(` play: ${project.playUrl}`);
2051
2053
  if (meta.status === "published") {
2052
2054
  const dashboard = meta.dashboardOrigins?.[0];
2053
- if (dashboard) log.dim(` world page: ${dashboard}/world/${project.slug}`);
2055
+ if (dashboard) log.dim(` page: ${dashboard}/${project.slug}`);
2054
2056
  }
2055
2057
  log.plain("");
2056
2058
  log.info("Run `genex preview` (or `publish`) to rebuild \u2014 the new slug is baked into the bundle.");
@@ -5869,7 +5871,7 @@ async function runPublish(opts) {
5869
5871
  log.plain("");
5870
5872
  log.success("Published. \u{1F389}");
5871
5873
  const dashboard = meta.dashboardOrigins?.[0];
5872
- if (dashboard) log.plain(` world page (share this link): ${c.cyan(`${dashboard}/world/${meta.slug}`)}`);
5874
+ if (dashboard) log.plain(` game page (share this link): ${c.cyan(`${dashboard}/${meta.slug}`)}`);
5873
5875
  if (meta.playUrl) log.dim(` play: ${meta.playUrl}`);
5874
5876
  await verifyGamePage({
5875
5877
  apiUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "1.6.2-dev.416",
3
+ "version": "1.6.3-dev.418",
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": {