@clickzetta/cz-cli 0.3.30 → 0.3.32
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/bin/postinstall.js +8 -0
- package/package.json +6 -6
package/bin/postinstall.js
CHANGED
|
@@ -31,6 +31,14 @@ try {
|
|
|
31
31
|
path.join(home, ".singclaw", "workspace", "skills"),
|
|
32
32
|
];
|
|
33
33
|
|
|
34
|
+
for (const dir of agentDirs) {
|
|
35
|
+
for (const legacy of ["czagent", "czcli", "cz-cli-v2"]) {
|
|
36
|
+
try {
|
|
37
|
+
fs.rmSync(path.join(dir, legacy), { recursive: true, force: true });
|
|
38
|
+
} catch (e) {}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
34
42
|
// Cleanup: fix cz-cli-v2 → cz-cli in existing skill files (bug introduced in 57a49fcdc)
|
|
35
43
|
for (const dir of agentDirs) {
|
|
36
44
|
const skillFile = path.join(dir, "cz-cli", "SKILL.md");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickzetta/cz-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"description": "AI-Agent-friendly CLI for ClickZetta Lakehouse",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cz-cli": "bin/run.js"
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": ["bin/"],
|
|
12
12
|
"optionalDependencies": {
|
|
13
|
-
"@clickzetta/cz-cli-darwin-arm64": "0.3.
|
|
14
|
-
"@clickzetta/cz-cli-darwin-x64": "0.3.
|
|
15
|
-
"@clickzetta/cz-cli-linux-arm64": "0.3.
|
|
16
|
-
"@clickzetta/cz-cli-linux-x64": "0.3.
|
|
17
|
-
"@clickzetta/cz-cli-win32-x64": "0.3.
|
|
13
|
+
"@clickzetta/cz-cli-darwin-arm64": "0.3.32",
|
|
14
|
+
"@clickzetta/cz-cli-darwin-x64": "0.3.32",
|
|
15
|
+
"@clickzetta/cz-cli-linux-arm64": "0.3.32",
|
|
16
|
+
"@clickzetta/cz-cli-linux-x64": "0.3.32",
|
|
17
|
+
"@clickzetta/cz-cli-win32-x64": "0.3.32"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"repository": {
|