xyteeecode 1.0.16 → 1.0.18
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/README.md +0 -0
- package/bin/xyteeecode +14 -0
- package/package.json +24 -11
package/README.md
CHANGED
|
File without changes
|
package/bin/xyteeecode
CHANGED
|
@@ -30,6 +30,15 @@ function run(target, inheritedEnv, bypassLoader) {
|
|
|
30
30
|
: binDir
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
// The bundled musl libc uses a stub resolver that reads /etc/resolv.conf
|
|
34
|
+
// and speaks raw UDP to its nameservers. Stock Termux/Android has no
|
|
35
|
+
// resolv.conf and no listener on 127.0.0.1:53, so getaddrinfo(3) times out
|
|
36
|
+
// and HTTPS to the API host fails with ETIMEDOUT. dnsbridge.so replaces
|
|
37
|
+
// getaddrinfo() with an implementation that queries real (public) DNS
|
|
38
|
+
// servers directly. It is preloaded only for the musl build.
|
|
39
|
+
const dnsShim = isMusl ? path.join(binDir, "dnsbridge.so") : null
|
|
40
|
+
const useDnsShim = !!dnsShim && fs.existsSync(dnsShim)
|
|
41
|
+
|
|
33
42
|
// Stock Termux injects libtermux-exec-ld-preload.so through LD_PRELOAD,
|
|
34
43
|
// which the bundled musl loader cannot load. Only on Termux/Android/arm64
|
|
35
44
|
// with the musl build, drop the preload variables (this touches the child
|
|
@@ -52,6 +61,11 @@ function run(target, inheritedEnv, bypassLoader) {
|
|
|
52
61
|
delete env.LD_PRELOAD
|
|
53
62
|
delete env.LD_PRELOAD_64
|
|
54
63
|
env.LD_LIBRARY_PATH = binDir
|
|
64
|
+
if (useDnsShim) env.LD_PRELOAD = dnsShim
|
|
65
|
+
} else if (useDnsShim) {
|
|
66
|
+
env.LD_PRELOAD = env.LD_PRELOAD
|
|
67
|
+
? dnsShim + ":" + env.LD_PRELOAD
|
|
68
|
+
: dnsShim
|
|
55
69
|
}
|
|
56
70
|
|
|
57
71
|
const command = useLoader ? loader : target
|
package/package.json
CHANGED
|
@@ -1,21 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyteeecode",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.18",
|
|
4
|
+
"description": "xyteeecode - AI coding agent CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"homepage": "https://xyteee.com",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"ai",
|
|
9
|
+
"coding",
|
|
10
|
+
"agent",
|
|
11
|
+
"cli",
|
|
12
|
+
"terminal",
|
|
13
|
+
"xyteeecode",
|
|
14
|
+
"llm"
|
|
15
|
+
],
|
|
6
16
|
"files": [
|
|
7
|
-
"bin"
|
|
17
|
+
"bin",
|
|
18
|
+
"README.md"
|
|
8
19
|
],
|
|
20
|
+
"bin": {
|
|
21
|
+
"xyteeecode": "bin/xyteeecode"
|
|
22
|
+
},
|
|
9
23
|
"engines": {
|
|
10
24
|
"node": ">=18"
|
|
11
25
|
},
|
|
12
|
-
"bin": {
|
|
13
|
-
"xyteeecode": "./bin/xyteeecode"
|
|
14
|
-
},
|
|
15
26
|
"optionalDependencies": {
|
|
16
|
-
"xyteeecode-linux-arm64": "1.0.
|
|
17
|
-
"xyteeecode-linux-x64": "1.0.
|
|
18
|
-
"xyteeecode-linux-
|
|
19
|
-
"xyteeecode-linux-
|
|
27
|
+
"xyteeecode-linux-arm64": "1.0.18",
|
|
28
|
+
"xyteeecode-linux-x64": "1.0.18",
|
|
29
|
+
"xyteeecode-linux-x64-baseline": "1.0.18",
|
|
30
|
+
"xyteeecode-linux-arm64-musl": "1.0.18",
|
|
31
|
+
"xyteeecode-linux-x64-musl": "1.0.18",
|
|
32
|
+
"xyteeecode-linux-x64-baseline-musl": "1.0.18"
|
|
20
33
|
}
|
|
21
|
-
}
|
|
34
|
+
}
|