@helix3/helix-cli 0.1.18-helix3.263 → 0.1.18-helix3.264

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
@@ -5000,7 +5000,6 @@ sceneSource
5000
5000
  .requiredOption('--creator <creator>', 'attribution for the source pack')
5001
5001
  .requiredOption('--source-url <url>', 'where the pack was obtained')
5002
5002
  .option('--default-materials', 'swap imported materials/textures for the shared HELIX default set', false)
5003
- .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)
5004
5003
  .option('--cell-size <meters>', 'streaming cell size override', parsePositiveFloat)
5005
5004
  .action(async (pack, opts) => {
5006
5005
  try {
@@ -5022,7 +5021,6 @@ sceneSource
5022
5021
  sourceId: opts.sourceId,
5023
5022
  receipt,
5024
5023
  ...(opts.defaultMaterials ? { defaultMaterials: true } : {}),
5025
- ...(opts.vaultPinned ? { vaultPinned: true } : {}),
5026
5024
  ...(opts.cellSize !== undefined ? { cellSizeM: opts.cellSize } : {}),
5027
5025
  });
5028
5026
  console.log(JSON.stringify(result, null, 2));
@@ -5031,50 +5029,6 @@ sceneSource
5031
5029
  fail(`✖ ${err instanceof Error ? err.message : String(err)}`);
5032
5030
  }
5033
5031
  });
5034
- sceneSource
5035
- .command('vault-pin')
5036
- .description('Publish a compiled package\'s resources to the Vault and rewrite its Scene to pin them, so the published bundle is the Scene document alone')
5037
- .argument('<package-dir>', 'compiled Scene v2 package directory (from compile-pack or compile)')
5038
- .option('--kind <kind>', 'Vault kind for every resource (default: inferred per file extension)')
5039
- .option('--license <license>', 'Vault license: helix_standard, cc0, cc_by, or all_rights_reserved (default: from the import receipt)')
5040
- .option('--title-prefix <text>', 'prefix for each uploaded asset title')
5041
- .option('--concurrency <n>', 'parallel uploads, 1-8', parsePositiveFloat)
5042
- .option('--attempts <n>', 'upload attempts per file before it counts as failed (default 3)', parsePositiveFloat)
5043
- .option('--skip-unpinnable', 'leave files the Vault refuses as bundle resources and name them in the receipt, instead of failing the run', false)
5044
- .option('--dry-run', 'report what would be uploaded without sending any bytes or touching the Scene', false)
5045
- .action(async (packageDir, opts) => {
5046
- try {
5047
- const { pinScenePackageToVault } = await Promise.resolve().then(() => __importStar(require('./sceneImport/vaultPin')));
5048
- const { isVaultAssetKind, isVaultAssetLicense, VAULT_ASSET_LICENSES } = await Promise.resolve().then(() => __importStar(require('./vaultPublish')));
5049
- if (opts.kind !== undefined && !isVaultAssetKind(opts.kind)) {
5050
- fail(`✖ --kind must be one of: ${lib_1.VAULT_ASSET_KINDS.join(', ')}`);
5051
- }
5052
- if (opts.license !== undefined && !isVaultAssetLicense(opts.license)) {
5053
- fail(`✖ --license must be one of: ${VAULT_ASSET_LICENSES.join(', ')}`);
5054
- }
5055
- const creds = requireAuth();
5056
- const result = await pinScenePackageToVault({
5057
- packageDir: (0, node_path_1.resolve)(packageDir),
5058
- api: lib_1.HelixApi.forCredentials(creds),
5059
- apiUrl: creds.apiUrl,
5060
- ...(opts.kind !== undefined ? { kind: opts.kind } : {}),
5061
- ...(opts.license !== undefined
5062
- ? { license: opts.license }
5063
- : {}),
5064
- ...(opts.titlePrefix !== undefined ? { titlePrefix: opts.titlePrefix } : {}),
5065
- ...(opts.concurrency !== undefined ? { concurrency: opts.concurrency } : {}),
5066
- ...(opts.attempts !== undefined ? { attempts: opts.attempts } : {}),
5067
- skipUnpinnable: opts.skipUnpinnable,
5068
- dryRun: opts.dryRun,
5069
- // Progress goes to stderr so stdout stays one parseable JSON document.
5070
- onProgress: (message) => process.stderr.write(`${message}\n`),
5071
- });
5072
- console.log(JSON.stringify(result, null, 2));
5073
- }
5074
- catch (err) {
5075
- fail(err instanceof lib_1.ApiError ? err.render() : `✖ ${err instanceof Error ? err.message : String(err)}`);
5076
- }
5077
- });
5078
5032
  sceneSource
5079
5033
  .command('compose')
5080
5034
  .description('Compose a parent Scene that MOUNTS already-published child Scenes by content hash — no geometry, only pins')
@@ -5152,7 +5106,6 @@ sceneSource
5152
5106
  profileId: input.profileId,
5153
5107
  visibility: input.visibility,
5154
5108
  bundleResources: input.resources.length,
5155
- vaultPinnedResources: input.vaultPins.length,
5156
5109
  contentDelivery: 'public-content-addressed; --visibility gates World discovery only',
5157
5110
  receipt,
5158
5111
  }, null, 2));