@helix3/helix-cli 0.1.13-helix3.89 → 0.1.13-helix3.91

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/README.md CHANGED
@@ -250,6 +250,12 @@ discoverability switches.
250
250
  `--slot` and `--gender` (**both required** for a wearable, exact-match), the title/slug/tag
251
251
  limits, and the GLB container magic. `--dry-run` stops here and prints exactly what would be
252
252
  sent.
253
+
254
+ `--kind` accepts `wearable`, `avatar`, `prop`, and `home` — `prop` and `home` are the current
255
+ product names (see helixgame.com) for what the API still calls `home_item` and `home_shell`; both
256
+ spellings work identically and `helix item publish --kind prop …` sends the exact same
257
+ `"kind":"home_item"` on the wire as `--kind home_item …` does. This is a CLI-vocabulary alias only —
258
+ it is unrelated to the backend's separate `prop` universal-item kind (art/collectible items).
253
259
  2. `--quote` asks the server for the definition publish fee, the creator tier's included free-
254
260
  Collectible units, excess issuance authorization cost, creator serial `#1`, price floor and
255
261
  resale policy. It uploads nothing and charges nothing.
package/dist/index.js CHANGED
@@ -514,10 +514,11 @@ item
514
514
  console.log(` ${(0, lib_1.renderCcGenderList)()}`);
515
515
  });
516
516
  function parseItemKind(value) {
517
- if (!(0, lib_1.isUploadableItemKind)(value)) {
518
- fail(`✖ --kind must be one of ${lib_1.UPLOADABLE_ITEM_KINDS.join(', ')}, got '${value}'`);
517
+ const normalized = (0, lib_1.normalizeItemKind)(value);
518
+ if (!(0, lib_1.isUploadableItemKind)(normalized)) {
519
+ fail(`✖ --kind must be one of ${(0, lib_1.describeUploadableItemKinds)()}, got '${value}'`);
519
520
  }
520
- return value;
521
+ return normalized;
521
522
  }
522
523
  function parsePriceLix(value) {
523
524
  const price = Number(value);
@@ -564,7 +565,7 @@ item
564
565
  .description('Publish a universal item from a local .glb — the server verifies the mesh inline and returns the verdict in the same round trip')
565
566
  .argument('<mesh>', 'the item mesh (binary glTF, .glb)')
566
567
  .requiredOption('--title <title>', 'display title')
567
- .option('--kind <kind>', `item kind: ${lib_1.UPLOADABLE_ITEM_KINDS.join(' | ')}`, 'wearable')
568
+ .option('--kind <kind>', `item kind: ${(0, lib_1.describeUploadableItemKinds)()}`, 'wearable')
568
569
  .option('--slot <tag>', 'Character-Creator cosmetic slot, REQUIRED for a wearable (see: helix item list-slots)')
569
570
  // Comma form, not a repeated flag and not a `both` alias. The repo already
570
571
  // spells "a list" as one comma-separated value (--tags a,b,c / --views a,b /