xyne-code 1.2.33 → 1.2.35
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/install.js +3 -0
- package/package.json +4 -4
package/install.js
CHANGED
|
@@ -79,6 +79,9 @@ function install() {
|
|
|
79
79
|
const destName = process.platform === "win32" ? "xyne-binary.exe" : "xyne-binary";
|
|
80
80
|
const dest = path.join(binDir, destName);
|
|
81
81
|
|
|
82
|
+
// Always remove old cached binary to prevent stale versions on upgrade
|
|
83
|
+
try { fs.unlinkSync(dest); } catch {}
|
|
84
|
+
|
|
82
85
|
// 1. Try from optional dependency (already installed)
|
|
83
86
|
let src = pkg ? findBinaryFromOptionalDep(pkg) : null;
|
|
84
87
|
if (!src) src = tryMusl();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyne-code",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.35",
|
|
4
4
|
"description": "Xyne — AI coding agent for your terminal",
|
|
5
5
|
"bin": {
|
|
6
6
|
"xyne": "bin/xyne"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "Utkarsh Pandey",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"xyne-code-darwin-arm64": "1.2.
|
|
28
|
-
"xyne-code-windows-x64": "1.2.
|
|
27
|
+
"xyne-code-darwin-arm64": "1.2.35",
|
|
28
|
+
"xyne-code-windows-x64": "1.2.35"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|