@kilocode/cli 7.3.22 → 7.3.29

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 +13 -1
package/package.json CHANGED
@@ -7,21 +7,21 @@
7
7
  "scripts": {
8
8
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
9
9
  },
10
- "version": "7.3.22",
10
+ "version": "7.3.29",
11
11
  "license": "MIT",
12
12
  "optionalDependencies": {
13
- "@kilocode/cli-linux-arm64-musl": "7.3.22",
14
- "@kilocode/cli-darwin-x64-baseline": "7.3.22",
15
- "@kilocode/cli-windows-arm64": "7.3.22",
16
- "@kilocode/cli-linux-arm64": "7.3.22",
17
- "@kilocode/cli-linux-x64": "7.3.22",
18
- "@kilocode/cli-darwin-arm64": "7.3.22",
19
- "@kilocode/cli-windows-x64": "7.3.22",
20
- "@kilocode/cli-linux-x64-musl": "7.3.22",
21
- "@kilocode/cli-windows-x64-baseline": "7.3.22",
22
- "@kilocode/cli-darwin-x64": "7.3.22",
23
- "@kilocode/cli-linux-x64-baseline-musl": "7.3.22",
24
- "@kilocode/cli-linux-x64-baseline": "7.3.22"
13
+ "@kilocode/cli-linux-arm64-musl": "7.3.29",
14
+ "@kilocode/cli-darwin-x64-baseline": "7.3.29",
15
+ "@kilocode/cli-windows-arm64": "7.3.29",
16
+ "@kilocode/cli-linux-arm64": "7.3.29",
17
+ "@kilocode/cli-linux-x64": "7.3.29",
18
+ "@kilocode/cli-darwin-arm64": "7.3.29",
19
+ "@kilocode/cli-windows-x64": "7.3.29",
20
+ "@kilocode/cli-linux-x64-musl": "7.3.29",
21
+ "@kilocode/cli-windows-x64-baseline": "7.3.29",
22
+ "@kilocode/cli-darwin-x64": "7.3.29",
23
+ "@kilocode/cli-linux-x64-baseline-musl": "7.3.29",
24
+ "@kilocode/cli-linux-x64-baseline": "7.3.29"
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
package/postinstall.mjs CHANGED
@@ -126,7 +126,7 @@ function findBinary() {
126
126
  }
127
127
  // kilocode_change end
128
128
 
129
- // kilocode_change start - copy tree-sitter WASM resources next to cached binary
129
+ // kilocode_change start - copy runtime resources next to cached binary
130
130
  function copyTreeSitterResources(binaryPath) {
131
131
  const source = path.join(path.dirname(binaryPath), "tree-sitter")
132
132
  const target = path.join(__dirname, "bin", "tree-sitter")
@@ -137,6 +137,17 @@ function copyTreeSitterResources(binaryPath) {
137
137
  fs.rmSync(target, { recursive: true, force: true })
138
138
  fs.cpSync(source, target, { recursive: true })
139
139
  }
140
+
141
+ function copyConsoleResources(binaryPath) {
142
+ const source = path.join(path.dirname(binaryPath), "console")
143
+ const target = path.join(__dirname, "bin", "console")
144
+ const index = path.join(source, "index.html")
145
+
146
+ if (!fs.existsSync(index)) return
147
+
148
+ fs.rmSync(target, { recursive: true, force: true })
149
+ fs.cpSync(source, target, { recursive: true })
150
+ }
140
151
  // kilocode_change end
141
152
 
142
153
  function main() {
@@ -155,6 +166,7 @@ function main() {
155
166
  fs.copyFileSync(binaryPath, target)
156
167
  }
157
168
  copyTreeSitterResources(binaryPath) // kilocode_change
169
+ copyConsoleResources(binaryPath) // kilocode_change
158
170
  fs.chmodSync(target, 0o755)
159
171
  }
160
172