@helix3/helix-cli 0.1.13-helix3.146 → 0.1.13-helix3.147

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
@@ -3188,6 +3188,7 @@ sceneSource
3188
3188
  .requiredOption('--creator <creator>', 'attribution for the source pack')
3189
3189
  .requiredOption('--source-url <url>', 'where the pack was obtained')
3190
3190
  .option('--default-materials', 'swap imported materials/textures for the shared HELIX default set', false)
3191
+ .option('--vault-pinned', 'this package will be uploaded with `vault-pin`, so the 199-file multipart guard is deferred to publish (where the bundle carries no files at all)', false)
3191
3192
  .option('--cell-size <meters>', 'streaming cell size override', parsePositiveFloat)
3192
3193
  .action(async (pack, opts) => {
3193
3194
  try {
@@ -3209,6 +3210,7 @@ sceneSource
3209
3210
  sourceId: opts.sourceId,
3210
3211
  receipt,
3211
3212
  ...(opts.defaultMaterials ? { defaultMaterials: true } : {}),
3213
+ ...(opts.vaultPinned ? { vaultPinned: true } : {}),
3212
3214
  ...(opts.cellSize !== undefined ? { cellSizeM: opts.cellSize } : {}),
3213
3215
  });
3214
3216
  console.log(JSON.stringify(result, null, 2));
@@ -3225,6 +3227,8 @@ sceneSource
3225
3227
  .option('--license <license>', 'Vault license: helix_standard, cc0, cc_by, or all_rights_reserved (default: from the import receipt)')
3226
3228
  .option('--title-prefix <text>', 'prefix for each uploaded asset title')
3227
3229
  .option('--concurrency <n>', 'parallel uploads, 1-8', parsePositiveFloat)
3230
+ .option('--attempts <n>', 'upload attempts per file before it counts as failed (default 3)', parsePositiveFloat)
3231
+ .option('--skip-unpinnable', 'leave files the Vault refuses as bundle resources and name them in the receipt, instead of failing the run', false)
3228
3232
  .option('--dry-run', 'report what would be uploaded without sending any bytes or touching the Scene', false)
3229
3233
  .action(async (packageDir, opts) => {
3230
3234
  try {
@@ -3247,6 +3251,8 @@ sceneSource
3247
3251
  : {}),
3248
3252
  ...(opts.titlePrefix !== undefined ? { titlePrefix: opts.titlePrefix } : {}),
3249
3253
  ...(opts.concurrency !== undefined ? { concurrency: opts.concurrency } : {}),
3254
+ ...(opts.attempts !== undefined ? { attempts: opts.attempts } : {}),
3255
+ skipUnpinnable: opts.skipUnpinnable,
3250
3256
  dryRun: opts.dryRun,
3251
3257
  // Progress goes to stderr so stdout stays one parseable JSON document.
3252
3258
  onProgress: (message) => process.stderr.write(`${message}\n`),