klaatcode 1.15.10 → 1.15.17
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/opencode +3 -3
- package/package.json +6 -6
package/bin/opencode
CHANGED
|
@@ -43,13 +43,13 @@ function run(target) {
|
|
|
43
43
|
})
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
const envPath = process.env.
|
|
46
|
+
const envPath = process.env.KLAATCODE_BIN_PATH
|
|
47
47
|
|
|
48
48
|
const scriptPath = fs.realpathSync(__filename)
|
|
49
49
|
const scriptDir = path.dirname(scriptPath)
|
|
50
50
|
|
|
51
51
|
//
|
|
52
|
-
const cached = path.join(scriptDir, ".
|
|
52
|
+
const cached = path.join(scriptDir, ".klaatcode")
|
|
53
53
|
|
|
54
54
|
const platformMap = {
|
|
55
55
|
darwin: "darwin",
|
|
@@ -71,7 +71,7 @@ if (!arch) {
|
|
|
71
71
|
arch = os.arch()
|
|
72
72
|
}
|
|
73
73
|
const base = "klaatcode-" + platform + "-" + arch
|
|
74
|
-
const binary = platform === "windows" ? "
|
|
74
|
+
const binary = platform === "windows" ? "klaatcode.exe" : "klaatcode"
|
|
75
75
|
|
|
76
76
|
function supportsAvx2() {
|
|
77
77
|
if (arch !== "x64") return false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.17",
|
|
4
4
|
"name": "klaatcode",
|
|
5
5
|
"description": "KlaatCode — AI coding assistant CLI with smart model routing",
|
|
6
6
|
"homepage": "https://klaatai.com",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"bin/opencode"
|
|
31
31
|
],
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"klaatcode-darwin-arm64": "1.15.
|
|
34
|
-
"klaatcode-darwin-x64": "1.15.
|
|
35
|
-
"klaatcode-linux-x64": "1.15.
|
|
36
|
-
"klaatcode-linux-arm64": "1.15.
|
|
37
|
-
"klaatcode-windows-x64": "1.15.
|
|
33
|
+
"klaatcode-darwin-arm64": "1.15.17",
|
|
34
|
+
"klaatcode-darwin-x64": "1.15.17",
|
|
35
|
+
"klaatcode-linux-x64": "1.15.17",
|
|
36
|
+
"klaatcode-linux-arm64": "1.15.17",
|
|
37
|
+
"klaatcode-windows-x64": "1.15.17"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
40
|
"./*": "./src/*.ts"
|