@helix3/helix-cli 0.1.15-helix3.232 → 0.1.15-helix3.233

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
@@ -65,6 +65,7 @@ The token is stored in `~/.helix/credentials.json` (mode `600`). It's sent as
65
65
  | `helix character import <body.glb> [--map <json>] [--fit source\|canonical] [--provenance <json>]` | Convert one self-contained third-party humanoid through the public `helix-humanoid@1` pipeline. The command rejects external/remote resources and resource bombs before parsing, generates bounded LODs, and emits a source/license/transformation/checksum receipt beside the output. `--fit canonical` aligns the rest skeleton/proportions; it does not prove that Base Male-targeted garments fit a different body surface. |
66
66
  | `helix character retarget-animation <clip.fbx\|clip.glb>` | Retarget a raw Mixamo/Meshy clip directly to `helix-humanoid@1`. FBX conversion is deterministic and runs inside the CLI; no hidden Blender/DCC pre-export is required. |
67
67
  | `helix world audit\|source-audit\|perf-gate\|prove-live` | Run the blocking world QA, performance, and deployed-build identity gates. |
68
+ | `helix world performance-report [bundle] [--scene <scene-v2.json>] [--package <package-version.json>] [--snapshot <inspect.json>] [--perf <receipt.json>]` | Analyze exact declared scene resources and existing reference-profile budgets, while keeping authored geometry/material/delivery estimates separate from supplied runtime claims. Prints actionable instancing, Palette, lighting, transfer, and visual-QA guidance; it never predicts FPS from static counts. |
68
69
  | `helix world scene-source inventory\|compile <helsinki\|bistro> <archive>` | Verify and safely inventory a known CC BY source archive, then compile deterministic local proxy/detail GLBs and an existing-schema Scene v2 package. |
69
70
  | `helix world scene-source publish <world-id> <package-dir> [--publish]` | Validate the Scene v2 package and print its multipart build receipt. Execution remains dry-run-only until backend private-pin entitlement lands; `--publish` currently fails closed, and access control never changes CC BY rights. |
70
71
  | `helix continuum publish-source-map\|publish-scratch\|publish-package` | Resume exact-CID object adoption/ingestion, Package lease/seal, optional explicitly authorized Listing, and WorldRelease publication through one creator-owned pipeline. |
package/dist/index.js CHANGED
@@ -42,6 +42,7 @@ const node_child_process_1 = require("node:child_process");
42
42
  const node_fs_1 = require("node:fs");
43
43
  const node_path_1 = require("node:path");
44
44
  const node_os_1 = require("node:os");
45
+ const scenePerformance_1 = require("./scenePerformance");
45
46
  const lib_1 = require("./lib");
46
47
  const itemQuote_1 = require("./itemQuote");
47
48
  const itemSearch_1 = require("./itemSearch");
@@ -4833,6 +4834,32 @@ addBundledAudit(world, {
4833
4834
  script: 'world-audit.mjs',
4834
4835
  usage: '[--snapshot <file>] [--dist <dir>] [--root <dir>] [--assets <file>] [--json]',
4835
4836
  });
4837
+ world
4838
+ .command('performance-report')
4839
+ .description('Analyze a built scene against existing Palette Showcase reference budgets, keep authored estimates separate from submitted runtime work, and print concrete optimization and verification guidance')
4840
+ .argument('[directory]', 'built world bundle directory', 'dist')
4841
+ .option('--scene <file>', 'exact Scene v2 JSON for authoritative resource roles/integrity, surfaces, and stream groups')
4842
+ .option('--package <file>', 'Continuum Package version JSON for exact semantic material bindings and transitive closure facts')
4843
+ .option('--snapshot <file>', 'world inspect snapshot JSON for visible-scene triangles')
4844
+ .option('--perf <file>', 'supplied runtime performance receipt; byte/identity matches bind the claim but do not authenticate its origin')
4845
+ .option('--profile <id>', 'Palette Showcase reference profile (not a universal Scene budget)', 'web-desktop-balanced')
4846
+ .option('--json', 'machine-readable helix.scene-performance-report/1 output')
4847
+ .action((directory, opts) => {
4848
+ try {
4849
+ const report = (0, scenePerformance_1.analyzeScenePerformance)({
4850
+ directory: (0, node_path_1.resolve)(directory),
4851
+ ...(opts.scene && { scene: (0, node_path_1.resolve)(opts.scene) }),
4852
+ ...(opts.package && { package: (0, node_path_1.resolve)(opts.package) }),
4853
+ ...(opts.snapshot && { snapshot: (0, node_path_1.resolve)(opts.snapshot) }),
4854
+ ...(opts.perf && { perf: (0, node_path_1.resolve)(opts.perf) }),
4855
+ profile: opts.profile,
4856
+ });
4857
+ console.log(opts.json ? JSON.stringify(report, null, 2) : (0, scenePerformance_1.formatScenePerformanceReport)(report));
4858
+ }
4859
+ catch (err) {
4860
+ fail(`✖ ${err instanceof Error ? err.message : String(err)}`);
4861
+ }
4862
+ });
4836
4863
  addBundledAudit(world, {
4837
4864
  name: 'source-audit',
4838
4865
  description: 'Run the blocking lighting, materials, audio, mobile, and authority audit',