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
386 B
JavaScript
11 lines
386 B
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* @zenlm/helper — the Zen-branded build of @hanzo/helper.
|
|
*
|
|
* Same engine, Zen defaults. We set the brand before importing the CLI so the
|
|
* shared code resolves id.zenlm.org / api.zenlm.org / zen-app. Any explicit
|
|
* HANZO_IAM_URL / HANZO_API_URL / HANZO_CLIENT_ID still overrides.
|
|
*/
|
|
process.env.HANZO_BRAND ??= 'zen';
|
|
await import('@hanzo/helper/cli');
|