@kilocode/cli 0.0.0-v2-13 → 0.0.0-v2-77

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/package.json +13 -13
  2. package/postinstall.mjs +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kilocode/cli",
3
- "version": "0.0.0-v2-13",
3
+ "version": "0.0.0-v2-77",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,17 +22,17 @@
22
22
  "x64"
23
23
  ],
24
24
  "optionalDependencies": {
25
- "@kilocode/cli-windows-arm64": "0.0.0-v2-13",
26
- "@kilocode/cli-darwin-arm64": "0.0.0-v2-13",
27
- "@kilocode/cli-linux-x64-baseline": "0.0.0-v2-13",
28
- "@kilocode/cli-windows-x64": "0.0.0-v2-13",
29
- "@kilocode/cli-darwin-x64-baseline": "0.0.0-v2-13",
30
- "@kilocode/cli-windows-x64-baseline": "0.0.0-v2-13",
31
- "@kilocode/cli-linux-arm64-musl": "0.0.0-v2-13",
32
- "@kilocode/cli-linux-x64-musl": "0.0.0-v2-13",
33
- "@kilocode/cli-linux-x64": "0.0.0-v2-13",
34
- "@kilocode/cli-linux-arm64": "0.0.0-v2-13",
35
- "@kilocode/cli-darwin-x64": "0.0.0-v2-13",
36
- "@kilocode/cli-linux-x64-baseline-musl": "0.0.0-v2-13"
25
+ "@kilocode/cli-windows-arm64": "0.0.0-v2-77",
26
+ "@kilocode/cli-darwin-arm64": "0.0.0-v2-77",
27
+ "@kilocode/cli-linux-x64-baseline": "0.0.0-v2-77",
28
+ "@kilocode/cli-windows-x64": "0.0.0-v2-77",
29
+ "@kilocode/cli-darwin-x64-baseline": "0.0.0-v2-77",
30
+ "@kilocode/cli-windows-x64-baseline": "0.0.0-v2-77",
31
+ "@kilocode/cli-linux-arm64-musl": "0.0.0-v2-77",
32
+ "@kilocode/cli-linux-x64-musl": "0.0.0-v2-77",
33
+ "@kilocode/cli-linux-x64": "0.0.0-v2-77",
34
+ "@kilocode/cli-linux-arm64": "0.0.0-v2-77",
35
+ "@kilocode/cli-darwin-x64": "0.0.0-v2-77",
36
+ "@kilocode/cli-linux-x64-baseline-musl": "0.0.0-v2-77"
37
37
  }
38
38
  }
package/postinstall.mjs CHANGED
@@ -122,6 +122,14 @@ function copyBinary(source) {
122
122
  fs.copyFileSync(source, targetBinary)
123
123
  }
124
124
  fs.chmodSync(targetBinary, 0o755)
125
+ for (const name of ["bwrap","licenses","kilo-sandbox-mutation-worker.js","kilo-sandbox-network-relay.js","kilo-sandbox-seccomp"]) {
126
+ const from = path.join(path.dirname(source), name)
127
+ if (!fs.existsSync(from)) continue
128
+ const to = path.join(path.dirname(targetBinary), name)
129
+ fs.rmSync(to, { recursive: true, force: true })
130
+ fs.cpSync(from, to, { recursive: true })
131
+ if (["bwrap","kilo-sandbox-seccomp"].includes(name)) fs.chmodSync(to, 0o755)
132
+ }
125
133
  }
126
134
 
127
135
  function resolveBinary(name) {