xyne-code 1.0.0 → 1.0.2
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/xyne +6 -6
- package/install.js +6 -6
- package/package.json +2 -2
package/bin/xyne
CHANGED
|
@@ -5,11 +5,11 @@ const path = require("path");
|
|
|
5
5
|
const fs = require("fs");
|
|
6
6
|
|
|
7
7
|
const PLATFORM_PACKAGES = {
|
|
8
|
-
"darwin-arm64": "
|
|
9
|
-
"darwin-x64": "
|
|
10
|
-
"linux-arm64": "
|
|
11
|
-
"linux-x64": "
|
|
12
|
-
"win32-x64": "
|
|
8
|
+
"darwin-arm64": "xyne-code-darwin-arm64",
|
|
9
|
+
"darwin-x64": "xyne-code-darwin-x64",
|
|
10
|
+
"linux-arm64": "xyne-code-linux-arm64",
|
|
11
|
+
"linux-x64": "xyne-code-linux-x64",
|
|
12
|
+
"win32-x64": "xyne-code-windows-x64",
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
function getBinaryPath() {
|
|
@@ -24,7 +24,7 @@ function getBinaryPath() {
|
|
|
24
24
|
if (!pkg) {
|
|
25
25
|
// Try musl for linux
|
|
26
26
|
if (process.platform === "linux") {
|
|
27
|
-
const musl =
|
|
27
|
+
const musl = `xyne-code-linux-${process.arch}-musl`;
|
|
28
28
|
try {
|
|
29
29
|
const dir = path.dirname(require.resolve(`${musl}/package.json`));
|
|
30
30
|
const bin = path.join(dir, "bin", "xyne");
|
package/install.js
CHANGED
|
@@ -7,16 +7,16 @@ const path = require("path");
|
|
|
7
7
|
const fs = require("fs");
|
|
8
8
|
|
|
9
9
|
const PLATFORM_PACKAGES = {
|
|
10
|
-
"darwin-arm64": "
|
|
11
|
-
"darwin-x64": "
|
|
12
|
-
"linux-arm64": "
|
|
13
|
-
"linux-x64": "
|
|
14
|
-
"win32-x64": "
|
|
10
|
+
"darwin-arm64": "xyne-code-darwin-arm64",
|
|
11
|
+
"darwin-x64": "xyne-code-darwin-x64",
|
|
12
|
+
"linux-arm64": "xyne-code-linux-arm64",
|
|
13
|
+
"linux-x64": "xyne-code-linux-x64",
|
|
14
|
+
"win32-x64": "xyne-code-windows-x64",
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
function tryMusl() {
|
|
18
18
|
if (process.platform !== "linux") return null;
|
|
19
|
-
const musl =
|
|
19
|
+
const musl = `xyne-code-linux-${process.arch}-musl`;
|
|
20
20
|
try {
|
|
21
21
|
const dir = path.dirname(require.resolve(`${musl}/package.json`));
|
|
22
22
|
const bin = path.join(dir, "bin", "xyne");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyne-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Xyne — AI coding agent for your terminal",
|
|
5
5
|
"bin": {
|
|
6
6
|
"xyne": "bin/xyne"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"author": "Utkarsh Pandey",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"
|
|
27
|
+
"xyne-code-darwin-arm64": "1.0.2"
|
|
28
28
|
}
|
|
29
29
|
}
|