rird-ai 2.3.21 → 2.3.22
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/rird +15 -2
- package/package.json +12 -12
package/bin/rird
CHANGED
|
@@ -766,13 +766,26 @@ if (command === "activate") {
|
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
function run(binPath) {
|
|
769
|
-
const
|
|
769
|
+
const child = childProcess.spawn(binPath, args, {
|
|
770
770
|
stdio: "inherit",
|
|
771
771
|
env: env,
|
|
772
772
|
cwd: process.cwd(),
|
|
773
773
|
shell: os.platform() === 'win32'
|
|
774
774
|
})
|
|
775
|
-
|
|
775
|
+
|
|
776
|
+
child.on("exit", (code, signal) => {
|
|
777
|
+
process.exit(code ?? 0)
|
|
778
|
+
})
|
|
779
|
+
|
|
780
|
+
// Forward signals to child process
|
|
781
|
+
const forwardSignal = (signal) => {
|
|
782
|
+
if (child.pid) {
|
|
783
|
+
child.kill(signal)
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
process.on("SIGINT", () => forwardSignal("SIGINT"))
|
|
788
|
+
process.on("SIGTERM", () => forwardSignal("SIGTERM"))
|
|
776
789
|
}
|
|
777
790
|
|
|
778
791
|
const args = process.argv.slice(2)
|
package/package.json
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
"scripts": {
|
|
8
8
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
9
9
|
},
|
|
10
|
-
"version": "2.3.
|
|
10
|
+
"version": "2.3.22",
|
|
11
11
|
"optionalDependencies": {
|
|
12
|
-
"rird-linux-arm64": "2.3.
|
|
13
|
-
"rird-linux-x64": "2.3.
|
|
14
|
-
"rird-linux-x64-baseline": "2.3.
|
|
15
|
-
"rird-linux-arm64-musl": "2.3.
|
|
16
|
-
"rird-linux-x64-musl": "2.3.
|
|
17
|
-
"rird-linux-x64-baseline-musl": "2.3.
|
|
18
|
-
"rird-darwin-arm64": "2.3.
|
|
19
|
-
"rird-darwin-x64": "2.3.
|
|
20
|
-
"rird-darwin-x64-baseline": "2.3.
|
|
21
|
-
"rird-windows-x64": "2.3.
|
|
22
|
-
"rird-windows-x64-baseline": "2.3.
|
|
12
|
+
"rird-linux-arm64": "2.3.22",
|
|
13
|
+
"rird-linux-x64": "2.3.22",
|
|
14
|
+
"rird-linux-x64-baseline": "2.3.22",
|
|
15
|
+
"rird-linux-arm64-musl": "2.3.22",
|
|
16
|
+
"rird-linux-x64-musl": "2.3.22",
|
|
17
|
+
"rird-linux-x64-baseline-musl": "2.3.22",
|
|
18
|
+
"rird-darwin-arm64": "2.3.22",
|
|
19
|
+
"rird-darwin-x64": "2.3.22",
|
|
20
|
+
"rird-darwin-x64-baseline": "2.3.22",
|
|
21
|
+
"rird-windows-x64": "2.3.22",
|
|
22
|
+
"rird-windows-x64-baseline": "2.3.22"
|
|
23
23
|
}
|
|
24
24
|
}
|