mirror of
https://github.com/hanzoai/helper.git
synced 2026-10-30 14:53:33 +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
|
|
/**
|
|
* @zooai/helper — the Zoo-branded build of @hanzo/helper.
|
|
*
|
|
* Same engine, Zoo defaults. We set the brand before importing the CLI so the
|
|
* shared code resolves zoolabs.id / api.zoo.ngo / zoo-app. Any explicit
|
|
* HANZO_IAM_URL / HANZO_API_URL / HANZO_CLIENT_ID still overrides.
|
|
*/
|
|
process.env.HANZO_BRAND ??= 'zoo';
|
|
await import('@hanzo/helper/cli');
|