codyx-ai 1.15.0 → 1.15.1
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/_launcher.js +10 -2
- package/package.json +13 -13
package/bin/_launcher.js
CHANGED
|
@@ -9,6 +9,10 @@ const forwardedSignals = ["SIGINT", "SIGTERM", "SIGHUP"]
|
|
|
9
9
|
function run(target) {
|
|
10
10
|
const child = childProcess.spawn(target, process.argv.slice(2), {
|
|
11
11
|
stdio: "inherit",
|
|
12
|
+
env: {
|
|
13
|
+
...process.env,
|
|
14
|
+
CODY_INSTALL_METHOD: process.env.CODY_INSTALL_METHOD || "npm",
|
|
15
|
+
},
|
|
12
16
|
})
|
|
13
17
|
|
|
14
18
|
child.on("error", (error) => {
|
|
@@ -62,14 +66,18 @@ module.exports = function (name) {
|
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
const parent = path.dirname(current)
|
|
65
|
-
if (parent === current) return
|
|
69
|
+
if (parent === current) return null
|
|
66
70
|
current = parent
|
|
67
71
|
}
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
const resolved = envPath || (fs.existsSync(cached) ? cached : findBinary(scriptDir))
|
|
71
75
|
if (!resolved) {
|
|
72
|
-
console.error(
|
|
76
|
+
console.error(
|
|
77
|
+
`It seems that your package manager failed to install the right version of the ${name} CLI for your platform. You can try manually installing ` +
|
|
78
|
+
names.map((n) => `"${n}"`).join(" or ") +
|
|
79
|
+
" package",
|
|
80
|
+
)
|
|
73
81
|
process.exit(1)
|
|
74
82
|
}
|
|
75
83
|
run(resolved)
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
10
10
|
},
|
|
11
|
-
"version": "1.15.
|
|
11
|
+
"version": "1.15.1",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"LICENSE"
|
|
26
26
|
],
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"codyx-ai-linux-x64-baseline": "1.15.
|
|
29
|
-
"codyx-ai-windows-arm64": "1.15.
|
|
30
|
-
"codyx-ai-linux-arm64": "1.15.
|
|
31
|
-
"codyx-ai-linux-arm64-musl": "1.15.
|
|
32
|
-
"codyx-ai-linux-x64": "1.15.
|
|
33
|
-
"codyx-ai-windows-x64": "1.15.
|
|
34
|
-
"codyx-ai-linux-x64-baseline-musl": "1.15.
|
|
35
|
-
"codyx-ai-windows-x64-baseline": "1.15.
|
|
36
|
-
"codyx-ai-darwin-x64": "1.15.
|
|
37
|
-
"codyx-ai-darwin-arm64": "1.15.
|
|
38
|
-
"codyx-ai-darwin-x64-baseline": "1.15.
|
|
39
|
-
"codyx-ai-linux-x64-musl": "1.15.
|
|
28
|
+
"codyx-ai-linux-x64-baseline": "1.15.1",
|
|
29
|
+
"codyx-ai-windows-arm64": "1.15.1",
|
|
30
|
+
"codyx-ai-linux-arm64": "1.15.1",
|
|
31
|
+
"codyx-ai-linux-arm64-musl": "1.15.1",
|
|
32
|
+
"codyx-ai-linux-x64": "1.15.1",
|
|
33
|
+
"codyx-ai-windows-x64": "1.15.1",
|
|
34
|
+
"codyx-ai-linux-x64-baseline-musl": "1.15.1",
|
|
35
|
+
"codyx-ai-windows-x64-baseline": "1.15.1",
|
|
36
|
+
"codyx-ai-darwin-x64": "1.15.1",
|
|
37
|
+
"codyx-ai-darwin-arm64": "1.15.1",
|
|
38
|
+
"codyx-ai-darwin-x64-baseline": "1.15.1",
|
|
39
|
+
"codyx-ai-linux-x64-musl": "1.15.1"
|
|
40
40
|
}
|
|
41
41
|
}
|