@genex-ai/cli-demo 1.36.0-dev.773 → 1.36.1-dev.776

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 CHANGED
@@ -8680,6 +8680,7 @@ async function assetBudgetGate(input) {
8680
8680
  // src/lib/generation-admission.ts
8681
8681
  async function withAdmissionLock(cwd, work, waitMs = 3e4) {
8682
8682
  const lock = path26.join(cwd, ".genex", "generation-admission.lock");
8683
+ await fs26.mkdir(path26.dirname(lock), { recursive: true });
8683
8684
  const deadline = Date.now() + waitMs;
8684
8685
  let file;
8685
8686
  while (!file) {
@@ -16468,19 +16469,6 @@ var MESHY_ANIMATION_CATALOG = [
16468
16469
  "isFree": false,
16469
16470
  "createdAt": 1750829513123
16470
16471
  },
16471
- {
16472
- "actionId": 464,
16473
- "key": "Leap_and_Punch",
16474
- "name": "Leap and Punch",
16475
- "category": "BodyMovements",
16476
- "subCategory": "Jumping",
16477
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Leap_and_Punch.gif",
16478
- "rigType": "style_02",
16479
- "tag": null,
16480
- "isDefault": false,
16481
- "isFree": false,
16482
- "createdAt": 1750829513146
16483
- },
16484
16472
  {
16485
16473
  "actionId": 465,
16486
16474
  "key": "Leap_Right_and_Catch",
@@ -18223,58 +18211,6 @@ var MESHY_ANIMATION_CATALOG = [
18223
18211
  "isFree": false,
18224
18212
  "createdAt": 1750829520714
18225
18213
  },
18226
- {
18227
- "actionId": 601,
18228
- "key": "Backflip_inplace",
18229
- "name": "Backflip",
18230
- "category": "BodyMovements",
18231
- "subCategory": "PerformingStunt",
18232
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Backflip.gif",
18233
- "rigType": "style_02",
18234
- "tag": "InPlace",
18235
- "isDefault": false,
18236
- "isFree": false,
18237
- "createdAt": 1750829520865
18238
- },
18239
- {
18240
- "actionId": 604,
18241
- "key": "Backflip_Sweep_Kick_inplace",
18242
- "name": "Backflip Sweep Kick",
18243
- "category": "BodyMovements",
18244
- "subCategory": "PerformingStunt",
18245
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Backflip_Sweep_Kick.gif",
18246
- "rigType": "style_02",
18247
- "tag": "InPlace",
18248
- "isDefault": false,
18249
- "isFree": false,
18250
- "createdAt": 1750829520975
18251
- },
18252
- {
18253
- "actionId": 605,
18254
- "key": "Back_Jump_inplace",
18255
- "name": "Back Jump",
18256
- "category": "BodyMovements",
18257
- "subCategory": "Jumping",
18258
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Back_Jump.gif",
18259
- "rigType": "style_02",
18260
- "tag": "InPlace",
18261
- "isDefault": false,
18262
- "isFree": false,
18263
- "createdAt": 1750829521003
18264
- },
18265
- {
18266
- "actionId": 606,
18267
- "key": "BackLeft_run_inplace",
18268
- "name": "BackLeft Run",
18269
- "category": "WalkAndRun",
18270
- "subCategory": "Running",
18271
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/BackLeft_run.gif",
18272
- "rigType": "style_02",
18273
- "tag": "InPlace",
18274
- "isDefault": false,
18275
- "isFree": false,
18276
- "createdAt": 1750829521059
18277
- },
18278
18214
  {
18279
18215
  "actionId": 607,
18280
18216
  "key": "BackRight_Run_inplace",
@@ -18288,32 +18224,6 @@ var MESHY_ANIMATION_CATALOG = [
18288
18224
  "isFree": false,
18289
18225
  "createdAt": 1750829521105
18290
18226
  },
18291
- {
18292
- "actionId": 608,
18293
- "key": "BeHit_FlyUp_inplace",
18294
- "name": "BeHit FlyUp",
18295
- "category": "Fighting",
18296
- "subCategory": "GettingHit",
18297
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/BeHit_FlyUp.gif",
18298
- "rigType": "style_02",
18299
- "tag": "InPlace",
18300
- "isDefault": false,
18301
- "isFree": false,
18302
- "createdAt": 1750829521290
18303
- },
18304
- {
18305
- "actionId": 609,
18306
- "key": "Boxing_Practice_inplace",
18307
- "name": "Boxing Practice",
18308
- "category": "Fighting",
18309
- "subCategory": "Punching",
18310
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Boxing_Practice.gif",
18311
- "rigType": "style_02",
18312
- "tag": "InPlace",
18313
- "isDefault": false,
18314
- "isFree": false,
18315
- "createdAt": 1750829521295
18316
- },
18317
18227
  {
18318
18228
  "actionId": 610,
18319
18229
  "key": "Carry_Heavy_Cannon_Forward_inplace",
@@ -18340,19 +18250,6 @@ var MESHY_ANIMATION_CATALOG = [
18340
18250
  "isFree": false,
18341
18251
  "createdAt": 1750829521423
18342
18252
  },
18343
- {
18344
- "actionId": 612,
18345
- "key": "Carry_Water_Bucket_Walk_inplace",
18346
- "name": "Carry Water Bucket Walk",
18347
- "category": "WalkAndRun",
18348
- "subCategory": "Walking",
18349
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Carry_Water_Bucket_Walk.gif",
18350
- "rigType": "style_02",
18351
- "tag": "InPlace",
18352
- "isDefault": false,
18353
- "isFree": false,
18354
- "createdAt": 1750829521448
18355
- },
18356
18253
  {
18357
18254
  "actionId": 613,
18358
18255
  "key": "Casual_Walk_inplace",
@@ -18665,58 +18562,6 @@ var MESHY_ANIMATION_CATALOG = [
18665
18562
  "isFree": false,
18666
18563
  "createdAt": 1750829523006
18667
18564
  },
18668
- {
18669
- "actionId": 640,
18670
- "key": "Jump_Over_Obstacle_inplace",
18671
- "name": "Jump Over Obstacle",
18672
- "category": "BodyMovements",
18673
- "subCategory": "Jumping",
18674
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Jump_Over_Obstacle.gif",
18675
- "rigType": "style_02",
18676
- "tag": "InPlace",
18677
- "isDefault": false,
18678
- "isFree": false,
18679
- "createdAt": 1750829523075
18680
- },
18681
- {
18682
- "actionId": 641,
18683
- "key": "Jump_Over_Obstacle_1_inplace",
18684
- "name": "Jump Over Obstacle 1",
18685
- "category": "BodyMovements",
18686
- "subCategory": "Jumping",
18687
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Jump_Over_Obstacle_1.gif",
18688
- "rigType": "style_02",
18689
- "tag": "InPlace",
18690
- "isDefault": false,
18691
- "isFree": false,
18692
- "createdAt": 1750829523089
18693
- },
18694
- {
18695
- "actionId": 642,
18696
- "key": "Jump_Over_Obstacle_2_inplace",
18697
- "name": "Jump Over Obstacle 2",
18698
- "category": "BodyMovements",
18699
- "subCategory": "Jumping",
18700
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Jump_Over_Obstacle_2.gif",
18701
- "rigType": "style_02",
18702
- "tag": "InPlace",
18703
- "isDefault": false,
18704
- "isFree": false,
18705
- "createdAt": 1750829523123
18706
- },
18707
- {
18708
- "actionId": 643,
18709
- "key": "Jump_Run_inplace",
18710
- "name": "Jump Run",
18711
- "category": "WalkAndRun",
18712
- "subCategory": "Running",
18713
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Jump_Run.gif",
18714
- "rigType": "style_02",
18715
- "tag": "InPlace",
18716
- "isDefault": false,
18717
- "isFree": false,
18718
- "createdAt": 1750829523234
18719
- },
18720
18565
  {
18721
18566
  "actionId": 644,
18722
18567
  "key": "Lean_Forward_Sprint_inplace",
@@ -18743,19 +18588,6 @@ var MESHY_ANIMATION_CATALOG = [
18743
18588
  "isFree": false,
18744
18589
  "createdAt": 1750829523289
18745
18590
  },
18746
- {
18747
- "actionId": 646,
18748
- "key": "Limping_Walk_1_inplace",
18749
- "name": "Limping Walk 1",
18750
- "category": "WalkAndRun",
18751
- "subCategory": "Walking",
18752
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Limping_Walk_1.gif",
18753
- "rigType": "style_02",
18754
- "tag": "InPlace",
18755
- "isDefault": false,
18756
- "isFree": false,
18757
- "createdAt": 1750829523312
18758
- },
18759
18591
  {
18760
18592
  "actionId": 647,
18761
18593
  "key": "Limping_Walk_2_inplace",
@@ -18782,19 +18614,6 @@ var MESHY_ANIMATION_CATALOG = [
18782
18614
  "isFree": false,
18783
18615
  "createdAt": 1750829523530
18784
18616
  },
18785
- {
18786
- "actionId": 649,
18787
- "key": "Lunge_Roundhouse_Kick_inplace",
18788
- "name": "Lunge Roundhouse Kick",
18789
- "category": "Fighting",
18790
- "subCategory": "Punching",
18791
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Lunge_Roundhouse_Kick.gif",
18792
- "rigType": "style_02",
18793
- "tag": "InPlace",
18794
- "isDefault": false,
18795
- "isFree": false,
18796
- "createdAt": 1750829523593
18797
- },
18798
18617
  {
18799
18618
  "actionId": 650,
18800
18619
  "key": "Mummy_Stagger_inplace",
@@ -18808,19 +18627,6 @@ var MESHY_ANIMATION_CATALOG = [
18808
18627
  "isFree": false,
18809
18628
  "createdAt": 1750829523629
18810
18629
  },
18811
- {
18812
- "actionId": 651,
18813
- "key": "Parkour_Vault_with_Roll_inplace",
18814
- "name": "Parkour Vault with Roll",
18815
- "category": "BodyMovements",
18816
- "subCategory": "VaultingOverObstacle",
18817
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Parkour_Vault_with_Roll.gif",
18818
- "rigType": "style_02",
18819
- "tag": "InPlace",
18820
- "isDefault": false,
18821
- "isFree": false,
18822
- "createdAt": 1750829523676
18823
- },
18824
18630
  {
18825
18631
  "actionId": 652,
18826
18632
  "key": "Proud_Strut_inplace",
@@ -18860,19 +18666,6 @@ var MESHY_ANIMATION_CATALOG = [
18860
18666
  "isFree": false,
18861
18667
  "createdAt": 1750829523813
18862
18668
  },
18863
- {
18864
- "actionId": 656,
18865
- "key": "Run_and_Leap_inplace",
18866
- "name": "Run and Leap",
18867
- "category": "BodyMovements",
18868
- "subCategory": "Acting",
18869
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Run_and_Leap.gif",
18870
- "rigType": "style_02",
18871
- "tag": "InPlace",
18872
- "isDefault": false,
18873
- "isFree": false,
18874
- "createdAt": 1750829523875
18875
- },
18876
18669
  {
18877
18670
  "actionId": 657,
18878
18671
  "key": "run_fast_10_inplace",
@@ -18886,19 +18679,6 @@ var MESHY_ANIMATION_CATALOG = [
18886
18679
  "isFree": false,
18887
18680
  "createdAt": 1750829523937
18888
18681
  },
18889
- {
18890
- "actionId": 658,
18891
- "key": "run_fast_2_inplace",
18892
- "name": "Run Fast 2",
18893
- "category": "WalkAndRun",
18894
- "subCategory": "Running",
18895
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/run_fast_2.gif",
18896
- "rigType": "style_02",
18897
- "tag": "InPlace",
18898
- "isDefault": false,
18899
- "isFree": false,
18900
- "createdAt": 1750829524093
18901
- },
18902
18682
  {
18903
18683
  "actionId": 659,
18904
18684
  "key": "run_fast_3_inplace",
@@ -18912,32 +18692,6 @@ var MESHY_ANIMATION_CATALOG = [
18912
18692
  "isFree": false,
18913
18693
  "createdAt": 1750829524145
18914
18694
  },
18915
- {
18916
- "actionId": 660,
18917
- "key": "run_fast_4_inplace",
18918
- "name": "Run Fast 4",
18919
- "category": "WalkAndRun",
18920
- "subCategory": "Running",
18921
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/run_fast_4.gif",
18922
- "rigType": "style_02",
18923
- "tag": "InPlace",
18924
- "isDefault": false,
18925
- "isFree": false,
18926
- "createdAt": 1750829524190
18927
- },
18928
- {
18929
- "actionId": 661,
18930
- "key": "run_fast_5_inplace",
18931
- "name": "Run Fast 5",
18932
- "category": "WalkAndRun",
18933
- "subCategory": "Running",
18934
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/run_fast_5.gif",
18935
- "rigType": "style_02",
18936
- "tag": "InPlace",
18937
- "isDefault": false,
18938
- "isFree": false,
18939
- "createdAt": 1750829524239
18940
- },
18941
18695
  {
18942
18696
  "actionId": 662,
18943
18697
  "key": "run_fast_6_inplace",
@@ -18977,19 +18731,6 @@ var MESHY_ANIMATION_CATALOG = [
18977
18731
  "isFree": false,
18978
18732
  "createdAt": 1750829524385
18979
18733
  },
18980
- {
18981
- "actionId": 665,
18982
- "key": "run_fast_9_inplace",
18983
- "name": "Run Fast 9",
18984
- "category": "WalkAndRun",
18985
- "subCategory": "Running",
18986
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/run_fast_9.gif",
18987
- "rigType": "style_02",
18988
- "tag": "InPlace",
18989
- "isDefault": false,
18990
- "isFree": false,
18991
- "createdAt": 1750829524420
18992
- },
18993
18734
  {
18994
18735
  "actionId": 666,
18995
18736
  "key": "Running_Reload_inplace",
@@ -19003,19 +18744,6 @@ var MESHY_ANIMATION_CATALOG = [
19003
18744
  "isFree": false,
19004
18745
  "createdAt": 1750829524436
19005
18746
  },
19006
- {
19007
- "actionId": 667,
19008
- "key": "Run_to_Walk_Transition_inplace",
19009
- "name": "Run to Walk Transition",
19010
- "category": "WalkAndRun",
19011
- "subCategory": "Walking",
19012
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Run_to_Walk_Transition.gif",
19013
- "rigType": "style_02",
19014
- "tag": "InPlace",
19015
- "isDefault": false,
19016
- "isFree": false,
19017
- "createdAt": 1750829524486
19018
- },
19019
18747
  {
19020
18748
  "actionId": 668,
19021
18749
  "key": "Skip_Forward_inplace",
@@ -19094,19 +18822,6 @@ var MESHY_ANIMATION_CATALOG = [
19094
18822
  "isFree": false,
19095
18823
  "createdAt": 1750829524902
19096
18824
  },
19097
- {
19098
- "actionId": 674,
19099
- "key": "Stumble_Walk_inplace",
19100
- "name": "Stumble Walk",
19101
- "category": "WalkAndRun",
19102
- "subCategory": "Walking",
19103
- "previewUrl": "https://cdn.meshy.ai/webapp-assets/feature-demo/animation/preview/biped/Stumble_Walk.gif",
19104
- "rigType": "style_02",
19105
- "tag": "InPlace",
19106
- "isDefault": false,
19107
- "isFree": false,
19108
- "createdAt": 1750829524941
19109
- },
19110
18825
  {
19111
18826
  "actionId": 675,
19112
18827
  "key": "Stylish_Walk_inplace",
@@ -20513,6 +20228,7 @@ async function quote(url, token, body) {
20513
20228
  return (await response.json()).quote;
20514
20229
  }
20515
20230
  function showAmbiguity(selector, candidates, log, json = false) {
20231
+ const none = candidates.length === 0 ? `\u201C${selector}\u201D matches no Meshy action (Meshy retires actions from time to time). Run \`genex animations search "<what the character should do>"\` and pass one of the ids it lists.` : null;
20516
20232
  if (json) {
20517
20233
  writeJson({
20518
20234
  kind: "character",
@@ -20522,8 +20238,11 @@ function showAmbiguity(selector, candidates, log, json = false) {
20522
20238
  actionId: candidate.actionId,
20523
20239
  key: candidate.key,
20524
20240
  name: candidate.name
20525
- }))
20241
+ })),
20242
+ ...none ? { message: none } : {}
20526
20243
  });
20244
+ } else if (none) {
20245
+ log.error(none);
20527
20246
  } else {
20528
20247
  log.error(`\u201C${selector}\u201D is ambiguous. Choose an action id:`);
20529
20248
  for (const candidate of candidates) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "1.36.0-dev.773",
3
+ "version": "1.36.1-dev.776",
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": {
@@ -40,7 +40,10 @@ npx genex model "<prompt>"
40
40
  ```
41
41
 
42
42
  Write a specific prompt — "weathered wooden barrel with rusted iron bands" beats
43
- "barrel". The command blocks until the mesh is ready (up to ~a minute), then prints
43
+ "barrel" — and keep it under **1024 characters**, the 3D provider's own limit:
44
+ describe the object itself, never the scene, the style guide or the gameplay around
45
+ it. A longer prompt is refused before any charge; rewrite it shorter and run again.
46
+ The command blocks until the mesh is ready (up to ~a minute), then prints
44
47
  its public URL:
45
48
 
46
49
  ```