mirror of
https://github.com/hanzoai/helper.git
synced 2026-09-30 22:42:13 +00:00
@hanzo/[email protected] declared `"bin": {"hanzo": "dist/cli.js"}`, so `npm i -g @hanzo/helper` put a second program named `hanzo` on PATH next to the Hanzo CLI (v1.9.18, from hanzo.sh / brew). Whichever came first on PATH won, and the two disagree about every verb: in the real CLI signing in is `hanzo auth login`, and a bare `hanzo login` is swallowed as an AI task. Renamed to `hanzo-helper`, and the same for the white-label builds: lux-helper / zoo-helper / zen-helper. @hanzo/kms keeps `kms` — no collision. Nothing is unpublished; 1.0.7 stays on npm. The README's command table was the old bin name throughout, and its "smart tiers" table documented `zen-auto` / `zen-normal` / `zen-pro` / `zen-max` / `zen-code` / `zen-agent` as models you can ask for. The live catalog has none of them — the authenticated /v1/models returns 105 ids whose Zen family is zen5, zen5-coder, zen5-flash, zen5-mini, zen5-pro, enso, enso-flash, enso-ultra plus the zen-<modality> models. Table cut; the README now says to read the catalog. (`models.ts` already checks aliases against the live catalog before printing them, so the code was honest and only the prose was not.) `use --model` help stopped advertising the same six words. In-program prose said `hanzo login` / `hanzo status` / `hanzo kms` in 15 files — all now `hanzo-helper`, verified by running the built CLI. Also dropped "every model (Claude, GLM, GPT, DeepSeek, Kimi, ...)" from the opening: we describe our own catalog. Naming Claude Code and Codex stays — this program's whole job is configuring them, which is a fact about the tool, not a benchmark. Left alone, for the model-routing owner: DEFAULT_MODEL is still the upstream id `glm-5.2`, which commander prints as the advertised default of `--model`. Co-authored-by: Hanzo Dev <[email protected]>
78 lines
1.7 KiB
JSON
78 lines
1.7 KiB
JSON
{
|
|
"name": "@hanzo/helper",
|
|
"version": "1.0.8",
|
|
"description": "Sign in to Hanzo and point Claude Code, Codex and other coding tools at Hanzo Cloud",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"bin": {
|
|
"hanzo-helper": "dist/cli.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./cli": "./dist/cli.js",
|
|
"./kms-cli": "./dist/kms-cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsx src/cli.ts",
|
|
"start": "node dist/cli.js",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "pnpm run clean && pnpm run build",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"keywords": [
|
|
"hanzo",
|
|
"cli",
|
|
"mcp",
|
|
"ai",
|
|
"cloud",
|
|
"platform"
|
|
],
|
|
"author": "Hanzo AI",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hanzoai/helper.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/hanzoai/helper/issues"
|
|
},
|
|
"homepage": "https://hanzo.ai",
|
|
"packageManager": "[email protected]",
|
|
"dependencies": {
|
|
"chalk": "^5.4.1",
|
|
"cli-table3": "^0.6.5",
|
|
"commander": "^13.1.0",
|
|
"inquirer": "^12.0.0",
|
|
"ora": "^8.2.0",
|
|
"smol-toml": "^1.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.18.0",
|
|
"@types/inquirer": "^9.0.8",
|
|
"@types/node": "^22.10.5",
|
|
"eslint": "^9.18.0",
|
|
"globals": "^16.0.0",
|
|
"tsup": "^8.3.5",
|
|
"tsx": "^4.19.4",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.20.0"
|
|
}
|
|
}
|