@hypersoniclabs/helix-cli 0.1.27-helix3.699 → 0.1.27-helix3.702
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 +2 -1
- package/dist/index.js +41 -0
- package/dist/index.js.map +1 -1
- package/dist/model/manifold.wasm.bin +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/unrealItemPublish.d.ts +148 -0
- package/dist/unrealItemPublish.js +514 -0
- package/dist/unrealItemPublish.js.map +1 -0
- package/package.json +2 -2
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_abs.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_expression.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_jbeam.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_materials.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_stock_events.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fmod_studio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fsb5.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_ac.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_beamng.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_fixtures.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_sim_audio.cpython-312.pyc +0 -0
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The token is stored in `~/.helix/credentials.json` (mode `600`). It's sent as
|
|
|
34
34
|
`Authorization: Bearer <token>` on publish calls. `helix login` validates it against
|
|
35
35
|
`GET /api/v1/users/me` before saving and reads the token's `exp` so the CLI knows when it lapses.
|
|
36
36
|
|
|
37
|
-
> **The backend & website default to production:** the published `@hypersoniclabs/*` CLI (built from `
|
|
37
|
+
> **The backend & website default to production:** the published `@hypersoniclabs/*` CLI (built from `main`,
|
|
38
38
|
> see [docs/npm-publishing.md](docs/npm-publishing.md)) targets `https://api.helixgame.com` and
|
|
39
39
|
> `https://helixgame.com`. The former helix3 hosts (`helix-backend-api-helix3.up.railway.app`, `new.helixgame.com`)
|
|
40
40
|
> are the same environment, so a login saved under them keeps working without logging in again. The retired
|
|
@@ -118,6 +118,7 @@ The token is stored in `~/.helix/credentials.json` (mode `600`). It's sent as
|
|
|
118
118
|
| `helix continuum receipt <job-id>` | Read the sanitized durable receipt for a completed Continuum publication. |
|
|
119
119
|
| `helix unreal init\|validate\|doctor\|package [project]` | Create and gate a shared-runtime or native-game publish manifest, check optional editor MCP, and assemble a local upload-shaped package. |
|
|
120
120
|
| `helix unreal publish <candidate> --world <slug>` | Upload a **cooked** Unreal world to HELIX: verify the candidate, presign, upload every artifact, finalize, and promote it as the world's active build. |
|
|
121
|
+
| `helix unreal item publish <candidate> [--item <id>] [--glb <file>] [--dry-run]` | Upload a **cooked Unreal item** (prop, home item or avatar part) written by the HELIX Unreal plugin (`-run=HelixItemPublish` or Window > Publish Item): verify it against its receipt, upload the containers (private) and role document, seal a Package Version with the `unreal-5-8-win64` variant (plus `web-balanced` with `--glb`), and pin the item. Without `--item` it prints the sealed Package pin. |
|
|
121
122
|
| `helix doctor [--project <dir>]` | Print the environment + whether the @helix toolchain (CLI/MCP/SDK/manifest) is current. |
|
|
122
123
|
|
|
123
124
|
### Constraining system assets during installation
|
package/dist/index.js
CHANGED
|
@@ -7430,6 +7430,47 @@ unreal
|
|
|
7430
7430
|
process.exitCode = code;
|
|
7431
7431
|
});
|
|
7432
7432
|
registerUnrealValidationCommand('validate', 'Validate the project and HELIX publish manifest without requiring editor MCP');
|
|
7433
|
+
const unrealItem = unreal
|
|
7434
|
+
.command('item')
|
|
7435
|
+
.description('Publish cooked Unreal items (props, home items, avatar parts) for the HELIX PC client');
|
|
7436
|
+
unrealItem
|
|
7437
|
+
.command('publish')
|
|
7438
|
+
.description('Upload a cooked item candidate written by the HELIX Unreal plugin (-run=HelixItemPublish / Window > Publish Item), seal a Package Version with the unreal-5-8-win64 variant, and pin the item')
|
|
7439
|
+
.argument('<candidate>', 'the candidate directory (holds unreal-item.json and item-receipt.json)')
|
|
7440
|
+
.option('--item <id>', 'the universal item to pin; without it the sealed Package pin is printed')
|
|
7441
|
+
.option('--name <name>', 'Package name when a new Package is created (default: the item plugin name)')
|
|
7442
|
+
.option('--glb <file>', 'also publish this GLB as the web-balanced variant')
|
|
7443
|
+
.option('--reason <text>', 'audit reason for moving an existing item (default: names the plugin and base release)')
|
|
7444
|
+
.option('--dry-run', 'verify the candidate against its receipt and upload nothing')
|
|
7445
|
+
.option('--json', 'machine-readable result')
|
|
7446
|
+
.action(async (candidate, opts) => {
|
|
7447
|
+
try {
|
|
7448
|
+
const { publishUnrealItem, renderUnrealItemPublishResult, unrealItemApiFor, UnrealItemCandidateError } = await Promise.resolve().then(() => __importStar(require('./unrealItemPublish')));
|
|
7449
|
+
const progress = opts.json ? undefined : (message) => console.error(message);
|
|
7450
|
+
try {
|
|
7451
|
+
const api = opts.dryRun ? {} : unrealItemApiFor(requireAuth());
|
|
7452
|
+
const result = await publishUnrealItem(candidate, {
|
|
7453
|
+
itemId: opts.item,
|
|
7454
|
+
name: opts.name,
|
|
7455
|
+
glb: opts.glb,
|
|
7456
|
+
reason: opts.reason,
|
|
7457
|
+
dryRun: opts.dryRun,
|
|
7458
|
+
onProgress: progress,
|
|
7459
|
+
}, api);
|
|
7460
|
+
console.log(opts.json ? JSON.stringify(result, null, 2) : renderUnrealItemPublishResult(result));
|
|
7461
|
+
if (result.refusal)
|
|
7462
|
+
process.exitCode = 1;
|
|
7463
|
+
}
|
|
7464
|
+
catch (error) {
|
|
7465
|
+
if (error instanceof UnrealItemCandidateError)
|
|
7466
|
+
fail(error.render());
|
|
7467
|
+
throw error;
|
|
7468
|
+
}
|
|
7469
|
+
}
|
|
7470
|
+
catch (error) {
|
|
7471
|
+
fail(error instanceof lib_1.ApiError ? error.render() : `✖ ${error instanceof Error ? error.message : String(error)}`);
|
|
7472
|
+
}
|
|
7473
|
+
});
|
|
7433
7474
|
unreal
|
|
7434
7475
|
.command('delivery')
|
|
7435
7476
|
.description('Fetch the signed client-delivery response for a published World build')
|