@clickzetta/cz-cli 0.5.6 → 0.5.8-dev.20260604182720

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.
Files changed (2) hide show
  1. package/bin/postinstall.js +0 -10
  2. package/package.json +6 -6
@@ -11,15 +11,6 @@ const home = os.homedir();
11
11
  const installFile = path.join(home, ".clickzetta", "install.json");
12
12
  const version = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf-8")).version;
13
13
 
14
- function detectPackageManager() {
15
- const userAgent = process.env.npm_config_user_agent || "";
16
- if (userAgent.startsWith("pnpm/")) return "pnpm";
17
- if (userAgent.startsWith("yarn/")) return "yarn";
18
- if (userAgent.startsWith("bun/")) return "bun";
19
- if (userAgent.startsWith("npm/")) return "npm";
20
- return "npm";
21
- }
22
-
23
14
  function cleanupOutdatedBinaries() {
24
15
  // Only remove standalone binaries in ~/.local/bin that are not symlinks
25
16
  // (npm/bun create symlinks in their bin dirs, standalone installs are real files)
@@ -156,7 +147,6 @@ async function main() {
156
147
  JSON.stringify(
157
148
  {
158
149
  version: 1,
159
- method: detectPackageManager(),
160
150
  installed_path: installed.binPath,
161
151
  channel: "latest",
162
152
  binary_version: binaryVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickzetta/cz-cli",
3
- "version": "0.5.6",
3
+ "version": "0.5.8-dev.20260604182720",
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.6",
17
- "@clickzetta/cz-cli-darwin-x64": "0.5.6",
18
- "@clickzetta/cz-cli-linux-arm64": "0.5.6",
19
- "@clickzetta/cz-cli-linux-x64": "0.5.6",
20
- "@clickzetta/cz-cli-win32-x64": "0.5.6"
16
+ "@clickzetta/cz-cli-darwin-arm64": "0.5.8-dev.20260604182720",
17
+ "@clickzetta/cz-cli-darwin-x64": "0.5.8-dev.20260604182720",
18
+ "@clickzetta/cz-cli-linux-arm64": "0.5.8-dev.20260604182720",
19
+ "@clickzetta/cz-cli-linux-x64": "0.5.8-dev.20260604182720",
20
+ "@clickzetta/cz-cli-win32-x64": "0.5.8-dev.20260604182720"
21
21
  },
22
22
  "license": "MIT",
23
23
  "repository": {