@clickzetta/cz-cli 0.5.24 → 1.0.0

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.
@@ -99,10 +99,11 @@ async function main() {
99
99
  }
100
100
  }
101
101
 
102
- // Install cz-agent convenience wrapper alongside the binary
103
- const czCliDir = path.join(home, ".cz-cli", "bin");
104
- fs.mkdirSync(czCliDir, { recursive: true });
105
- const agentWrapper = path.join(czCliDir, "cz-agent");
102
+ // Install cz-agent convenience wrapper into ~/.local/bin, consistent with
103
+ // install.sh / setup.sh (which place it on PATH next to the binary).
104
+ const localBin = path.join(home, ".local", "bin");
105
+ fs.mkdirSync(localBin, { recursive: true });
106
+ const agentWrapper = path.join(localBin, "cz-agent");
106
107
  fs.writeFileSync(agentWrapper, `#!/bin/sh\nexec "${installed.binPath}" agent "$@"\n`, { mode: 0o755 });
107
108
 
108
109
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickzetta/cz-cli",
3
- "version": "0.5.24",
3
+ "version": "1.0.0",
4
4
  "description": "AI-Agent-friendly CLI for ClickZetta Lakehouse",
5
5
  "bin": {
6
6
  "cz-cli": "bin/run.js",
@@ -13,11 +13,11 @@
13
13
  "bin/"
14
14
  ],
15
15
  "optionalDependencies": {
16
- "@clickzetta/cz-cli-darwin-arm64": "0.5.24",
17
- "@clickzetta/cz-cli-darwin-x64": "0.5.24",
18
- "@clickzetta/cz-cli-linux-arm64": "0.5.24",
19
- "@clickzetta/cz-cli-linux-x64": "0.5.24",
20
- "@clickzetta/cz-cli-win32-x64": "0.5.24"
16
+ "@clickzetta/cz-cli-darwin-arm64": "1.0.0",
17
+ "@clickzetta/cz-cli-darwin-x64": "1.0.0",
18
+ "@clickzetta/cz-cli-linux-arm64": "1.0.0",
19
+ "@clickzetta/cz-cli-linux-x64": "1.0.0",
20
+ "@clickzetta/cz-cli-win32-x64": "1.0.0"
21
21
  },
22
22
  "license": "MIT",
23
23
  "repository": {