@kilocode/cli 7.3.54 → 7.4.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.
- package/package.json +13 -13
- package/postinstall.mjs +17 -0
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"scripts": {
|
|
8
8
|
"postinstall": "node ./postinstall.mjs"
|
|
9
9
|
},
|
|
10
|
-
"version": "7.
|
|
10
|
+
"version": "7.4.0",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"cli",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"x64"
|
|
38
38
|
],
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@kilocode/cli-linux-arm64": "7.
|
|
41
|
-
"@kilocode/cli-darwin-x64-baseline": "7.
|
|
42
|
-
"@kilocode/cli-darwin-x64": "7.
|
|
43
|
-
"@kilocode/cli-linux-arm64-musl": "7.
|
|
44
|
-
"@kilocode/cli-windows-arm64": "7.
|
|
45
|
-
"@kilocode/cli-linux-x64-musl": "7.
|
|
46
|
-
"@kilocode/cli-linux-x64-baseline": "7.
|
|
47
|
-
"@kilocode/cli-darwin-arm64": "7.
|
|
48
|
-
"@kilocode/cli-linux-x64": "7.
|
|
49
|
-
"@kilocode/cli-linux-x64-baseline-musl": "7.
|
|
50
|
-
"@kilocode/cli-windows-x64-baseline": "7.
|
|
51
|
-
"@kilocode/cli-windows-x64": "7.
|
|
40
|
+
"@kilocode/cli-linux-arm64": "7.4.0",
|
|
41
|
+
"@kilocode/cli-darwin-x64-baseline": "7.4.0",
|
|
42
|
+
"@kilocode/cli-darwin-x64": "7.4.0",
|
|
43
|
+
"@kilocode/cli-linux-arm64-musl": "7.4.0",
|
|
44
|
+
"@kilocode/cli-windows-arm64": "7.4.0",
|
|
45
|
+
"@kilocode/cli-linux-x64-musl": "7.4.0",
|
|
46
|
+
"@kilocode/cli-linux-x64-baseline": "7.4.0",
|
|
47
|
+
"@kilocode/cli-darwin-arm64": "7.4.0",
|
|
48
|
+
"@kilocode/cli-linux-x64": "7.4.0",
|
|
49
|
+
"@kilocode/cli-linux-x64-baseline-musl": "7.4.0",
|
|
50
|
+
"@kilocode/cli-windows-x64-baseline": "7.4.0",
|
|
51
|
+
"@kilocode/cli-windows-x64": "7.4.0"
|
|
52
52
|
},
|
|
53
53
|
"repository": {
|
|
54
54
|
"type": "git",
|
package/postinstall.mjs
CHANGED
|
@@ -137,6 +137,23 @@ function copyResources(source) {
|
|
|
137
137
|
fs.rmSync(target, { recursive: true, force: true })
|
|
138
138
|
fs.cpSync(dir, target, { recursive: true })
|
|
139
139
|
}
|
|
140
|
+
|
|
141
|
+
const bwrap = path.join(path.dirname(source), "bwrap")
|
|
142
|
+
if (fs.existsSync(bwrap)) {
|
|
143
|
+
const target = path.join(__dirname, "bin", "bwrap")
|
|
144
|
+
fs.copyFileSync(bwrap, target)
|
|
145
|
+
fs.chmodSync(target, 0o755)
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const licenses = path.join(path.dirname(source), "licenses")
|
|
149
|
+
if (fs.existsSync(licenses)) {
|
|
150
|
+
const target = path.join(__dirname, "bin", "licenses")
|
|
151
|
+
fs.rmSync(target, { recursive: true, force: true })
|
|
152
|
+
fs.cpSync(licenses, target, { recursive: true })
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const worker = path.join(path.dirname(source), "kilo-sandbox-mutation-worker.js")
|
|
156
|
+
if (fs.existsSync(worker)) fs.copyFileSync(worker, path.join(__dirname, "bin", "kilo-sandbox-mutation-worker.js"))
|
|
140
157
|
}
|
|
141
158
|
|
|
142
159
|
function copyBinary(source) {
|