@genex-ai/cli-demo 1.14.1-dev.564 → 1.14.2-dev.566

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 +11 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2599,7 +2599,13 @@ var LANE_WORDS = [
2599
2599
  [/\b(character|creature)\b/i, "character"],
2600
2600
  [/\bmotion\b/i, "motion"]
2601
2601
  ];
2602
- var GENERATION_NONE = /^\s*Generation:\s*none\s*—/im;
2602
+ var GENERATION_NONE = /^\s*Generation:\s*none\s*—[ \t]*(.*)$/im;
2603
+ function isFilledReason(reason) {
2604
+ const text = (reason ?? "").trim();
2605
+ if (text.length === 0) return false;
2606
+ if (/^<[^>]*>$/.test(text)) return false;
2607
+ return true;
2608
+ }
2603
2609
  var STATUS = /\b(proposed|planned|generating|landed|wired)\b/i;
2604
2610
  function sectionRows(design, heading) {
2605
2611
  const lines = design.split("\n");
@@ -2671,9 +2677,11 @@ function auditGenerationPlan(input) {
2671
2677
  }
2672
2678
  const paidRows = rows.filter((r) => !r.procedural);
2673
2679
  const codeRows = rows.filter((r) => r.procedural);
2674
- if (paidRows.length === 0 && codeRows.length >= 1 && ledger.length === 0 && !GENERATION_NONE.test(design)) {
2680
+ const noneMarker = GENERATION_NONE.exec(design);
2681
+ const explained = noneMarker !== null && isFilledReason(noneMarker[1]);
2682
+ if (paidRows.length === 0 && codeRows.length >= 1 && ledger.length === 0 && !explained) {
2675
2683
  warnings.push(
2676
- `DESIGN.md's asset plan is all code-built rows and this project has never run a generation. What the player sees must read as the thing it is (build contract, law 22): a coloured box or a capsule is not a finished building, person, or prop. Generate what the request names and what the player looks at up close (npx genex model / texture / music \u2026 --no-wait), or record "Generation: none \u2014 <why code alone reaches the bar here>" beside the table.`
2684
+ "DESIGN.md's asset plan is all code-built rows and this project has never run a generation. What the player sees must read as the thing it is (build contract, law 22): a coloured box or a capsule is not a finished building, person, or prop. Generate what the request names and what the player looks at up close (npx genex model / texture / music \u2026 --no-wait), or write a `Generation: none \u2014` line beside the table ending in your own sentence about why code alone reaches the bar in THIS game. " + (noneMarker ? "The line is there but its reason is still the unfilled template \u2014 replace it with the actual reason." : "")
2677
2685
  );
2678
2686
  }
2679
2687
  return warnings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "1.14.1-dev.564",
3
+ "version": "1.14.2-dev.566",
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": {