ai-rulez 5.13.3 → 5.13.4
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/ai-rulez.js +5 -1
- package/package.json +6 -6
package/ai-rulez.js
CHANGED
|
@@ -6,7 +6,11 @@ const fs = require("node:fs");
|
|
|
6
6
|
const { getPlatform, getBinaryName, resolveBundledBinary, isMusl } = require("./install");
|
|
7
7
|
|
|
8
8
|
function runBinary(binaryPath, args) {
|
|
9
|
-
const
|
|
9
|
+
const options = { stdio: "inherit" };
|
|
10
|
+
if (process.platform === "win32") {
|
|
11
|
+
options.env = { ...process.env, AI_RULEZ_NPM_PARENT_PID: String(process.pid) };
|
|
12
|
+
}
|
|
13
|
+
const child = spawn(binaryPath, args, options);
|
|
10
14
|
|
|
11
15
|
// Windows process termination bypasses JavaScript signal handlers.
|
|
12
16
|
if (process.platform !== "win32") {
|
package/package.json
CHANGED
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
],
|
|
61
61
|
"name": "ai-rulez",
|
|
62
62
|
"optionalDependencies": {
|
|
63
|
-
"@ai-rulez/darwin-arm64": "5.13.
|
|
64
|
-
"@ai-rulez/darwin-x64": "5.13.
|
|
65
|
-
"@ai-rulez/linux-arm64": "5.13.
|
|
66
|
-
"@ai-rulez/linux-x64": "5.13.
|
|
67
|
-
"@ai-rulez/win32-x64": "5.13.
|
|
63
|
+
"@ai-rulez/darwin-arm64": "5.13.4",
|
|
64
|
+
"@ai-rulez/darwin-x64": "5.13.4",
|
|
65
|
+
"@ai-rulez/linux-arm64": "5.13.4",
|
|
66
|
+
"@ai-rulez/linux-x64": "5.13.4",
|
|
67
|
+
"@ai-rulez/win32-x64": "5.13.4"
|
|
68
68
|
},
|
|
69
69
|
"os": [
|
|
70
70
|
"darwin",
|
|
@@ -75,6 +75,6 @@
|
|
|
75
75
|
"type": "git",
|
|
76
76
|
"url": "https://github.com/Goldziher/ai-rulez.git"
|
|
77
77
|
},
|
|
78
|
-
"version": "5.13.
|
|
78
|
+
"version": "5.13.4",
|
|
79
79
|
"scripts": {}
|
|
80
80
|
}
|