mirror of
https://github.com/hanzoai/helper.git
synced 2026-09-30 22:42:13 +00:00
The forks (@luxfi/@zenlm/@zooai/helper) re-run our CLI with HANZO_BRAND set,
but exports only published '.', so import('@hanzo/helper/dist/cli.js') failed
with ERR_PACKAGE_PATH_NOT_EXPORTED. Add a stable './cli' export and point the
forks at @hanzo/helper/cli (not a deep dist path). Bump fork deps to ^1.0.1.
Fix stale zoo.id → zoolabs.id comment.
Published: @hanzo/[email protected], @luxfi/[email protected], @zenlm/[email protected],
@zooai/[email protected].
11 lines
382 B
JavaScript
11 lines
382 B
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* @luxfi/helper — the Lux-branded build of @hanzo/helper.
|
|
*
|
|
* Same engine, Lux defaults. We set the brand before importing the CLI so the
|
|
* shared code resolves lux.id / api.lux.network / lux-app. Any explicit
|
|
* HANZO_IAM_URL / HANZO_API_URL / HANZO_CLIENT_ID still overrides.
|
|
*/
|
|
process.env.HANZO_BRAND ??= 'lux';
|
|
await import('@hanzo/helper/cli');
|