@kilocode/cli 7.8.7 → 7.8.9

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 (3) hide show
  1. package/bin/kilo +16 -5
  2. package/package.json +13 -13
  3. package/postinstall.mjs +3 -1
package/bin/kilo CHANGED
@@ -207,14 +207,25 @@ function findBinary(startDir) {
207
207
  }
208
208
  }
209
209
 
210
+ // kilocode_change start
210
211
  const resolved = envPath || (fs.existsSync(cached) ? cached : findBinary(scriptDir))
211
212
  if (!resolved) {
212
- console.error(
213
- "It seems that your package manager failed to install the right version of the Kilo CLI for your platform. You can try manually installing " +
214
- names.map((n) => `\"${n}\"`).join(" or ") +
215
- " package",
216
- )
213
+ if (platform === "windows" && arch === "arm64") {
214
+ console.error(
215
+ "The Kilo CLI native binary for Windows ARM64 could not be found.\n" +
216
+ "If the native package is unavailable, you can try downloading the pre-built x64 binary from the GitHub Releases page to run under Windows 11 emulation.\n" +
217
+ "Alternatively, use WSL2 with the Linux ARM64 build."
218
+ )
219
+ } else {
220
+ console.error(
221
+ "It seems that your package manager failed to install the right version of the Kilo CLI for your platform.\n" +
222
+ "You can try manually installing the " +
223
+ names.map((n) => `"${n}"`).join(" or ") +
224
+ " package, or download a pre-built binary from the GitHub Releases page."
225
+ )
226
+ }
217
227
  process.exit(1)
218
228
  }
229
+ // kilocode_change end
219
230
 
220
231
  run(resolved, resolved === cached ? () => findBinary(scriptDir) : undefined) // kilocode_change - preserve cached binary fallback
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "scripts": {
8
8
  "postinstall": "node ./postinstall.mjs"
9
9
  },
10
- "version": "7.8.7",
10
+ "version": "7.8.9",
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-windows-x64-baseline": "7.8.7",
41
- "@kilocode/cli-darwin-x64": "7.8.7",
42
- "@kilocode/cli-windows-x64": "7.8.7",
43
- "@kilocode/cli-windows-arm64": "7.8.7",
44
- "@kilocode/cli-darwin-arm64": "7.8.7",
45
- "@kilocode/cli-darwin-x64-baseline": "7.8.7",
46
- "@kilocode/cli-linux-x64-baseline": "7.8.7",
47
- "@kilocode/cli-linux-arm64-musl": "7.8.7",
48
- "@kilocode/cli-linux-x64": "7.8.7",
49
- "@kilocode/cli-linux-arm64": "7.8.7",
50
- "@kilocode/cli-linux-x64-musl": "7.8.7",
51
- "@kilocode/cli-linux-x64-baseline-musl": "7.8.7"
40
+ "@kilocode/cli-windows-x64-baseline": "7.8.9",
41
+ "@kilocode/cli-darwin-x64": "7.8.9",
42
+ "@kilocode/cli-windows-x64": "7.8.9",
43
+ "@kilocode/cli-windows-arm64": "7.8.9",
44
+ "@kilocode/cli-darwin-arm64": "7.8.9",
45
+ "@kilocode/cli-darwin-x64-baseline": "7.8.9",
46
+ "@kilocode/cli-linux-x64-baseline": "7.8.9",
47
+ "@kilocode/cli-linux-arm64-musl": "7.8.9",
48
+ "@kilocode/cli-linux-x64": "7.8.9",
49
+ "@kilocode/cli-linux-arm64": "7.8.9",
50
+ "@kilocode/cli-linux-x64-musl": "7.8.9",
51
+ "@kilocode/cli-linux-x64-baseline-musl": "7.8.9"
52
52
  },
53
53
  "repository": {
54
54
  "type": "git",
package/postinstall.mjs CHANGED
@@ -207,11 +207,13 @@ function main() {
207
207
  }
208
208
  }
209
209
 
210
+ // kilocode_change start
210
211
  throw new Error(
211
212
  `It seems your package manager failed to install the right Kilo CLI package. Try manually installing ${packageNames()
212
213
  .map((name) => JSON.stringify(name))
213
- .join(" or ")}.`,
214
+ .join(" or ")}. Or download the pre-built binary from the GitHub Releases page.`,
214
215
  )
216
+ // kilocode_change end
215
217
  }
216
218
 
217
219
  try {