Files
zeekay c3e378aa5a v1.0.1: expose ./cli subpath so brand forks can import the CLI
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].
2026-06-30 13:42:45 -07:00

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');