@hanzo/cli 8.5.927 → 8.5.1322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/hanzo.js +2 -5
- package/install.js +1 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @hanzo/cli
|
|
2
2
|
|
|
3
|
-
The Hanzo CLI —
|
|
3
|
+
The Hanzo CLI — one command for Hanzo AI cloud, the coding agent, `hanzo-mcp`, `hanzo-engine` local inference, `hanzo-node` (`hanzod`), and `hanzo-vm`.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm i -g hanzo
|
package/bin/hanzo.js
CHANGED
|
@@ -31,7 +31,7 @@ const TOOL_BINS = {
|
|
|
31
31
|
|
|
32
32
|
// A tool counts as present when its native binary sits beside this launcher,
|
|
33
33
|
// or anywhere on PATH as a REAL binary. npm's own global shims (`hanzo-mcp`,
|
|
34
|
-
// `hanzo-
|
|
34
|
+
// `hanzo-engine`, … all symlinks to this very file) are on PATH too, and must not
|
|
35
35
|
// count: treating one as the tool skips the download and then execs nothing.
|
|
36
36
|
function realBinary(p) {
|
|
37
37
|
try {
|
|
@@ -64,10 +64,7 @@ let argv = process.argv.slice(2);
|
|
|
64
64
|
let targetTool = "hanzo";
|
|
65
65
|
const required = [];
|
|
66
66
|
|
|
67
|
-
if (rawName === "hanzo-
|
|
68
|
-
targetTool = "dev";
|
|
69
|
-
required.push("dev", "mcp");
|
|
70
|
-
} else if (rawName === "hanzo-mcp" || rawName === "mcp") {
|
|
67
|
+
if (rawName === "hanzo-mcp" || rawName === "mcp") {
|
|
71
68
|
targetTool = "mcp";
|
|
72
69
|
required.push("mcp");
|
|
73
70
|
} else if (rawName === "hanzo-engine") {
|
package/install.js
CHANGED
|
@@ -28,7 +28,7 @@ const REPO = "hanzoai/cli";
|
|
|
28
28
|
const TOOLS = {
|
|
29
29
|
hanzo: { repo: "hanzoai/cli", bin: "hanzo", alias: "hanzo-cli", versioned: true },
|
|
30
30
|
mcp: { repo: "hanzoai/mcp", bin: "hanzo-mcp", alias: "mcp" },
|
|
31
|
-
dev: { repo: "hanzoai/dev", bin: "dev", alias: "
|
|
31
|
+
dev: { repo: "hanzoai/dev", bin: "dev", alias: "" },
|
|
32
32
|
gen: { repo: "hanzoai/gen", bin: "gen", alias: "hanzo-gen" },
|
|
33
33
|
zt: { repo: "hanzozt/zt", bin: "zt", alias: "hanzo-zet" },
|
|
34
34
|
engine: { repo: "hanzoai/engine", bin: "hanzo-engine", alias: "hanzoai", kind: "engine" },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/cli",
|
|
3
|
-
"version": "8.5.
|
|
4
|
-
"description": "Hanzo CLI —
|
|
3
|
+
"version": "8.5.1322",
|
|
4
|
+
"description": "Hanzo CLI — one command for the coding agent, MCP server, local inference engine, and node",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"homepage": "https://hanzo.ai",
|
|
11
11
|
"bin": {
|
|
12
12
|
"hanzo": "bin/hanzo.js",
|
|
13
|
-
"hanzo-dev": "bin/hanzo.js",
|
|
14
13
|
"hanzo-mcp": "bin/hanzo.js",
|
|
15
14
|
"hanzo-engine": "bin/hanzo.js",
|
|
16
15
|
"hanzo-node": "bin/hanzo.js"
|