gm-plugkit 2.0.1595 → 2.0.1597
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/cli.js +1 -1
- package/package.json +1 -1
- package/plugkit-wasm-wrapper.js +2 -2
- package/plugkit.version +1 -1
package/cli.js
CHANGED
|
@@ -101,7 +101,7 @@ function killStaleWatchers() {
|
|
|
101
101
|
for (const s of stale) {
|
|
102
102
|
try {
|
|
103
103
|
if (process.platform === 'win32') {
|
|
104
|
-
cp.execFileSync('taskkill', ['/F', '/PID', String(s.pid)], { stdio: 'ignore', windowsHide: true });
|
|
104
|
+
cp.execFileSync('taskkill', ['/F', '/T', '/PID', String(s.pid)], { stdio: 'ignore', windowsHide: true });
|
|
105
105
|
} else {
|
|
106
106
|
process.kill(s.pid, 'SIGTERM');
|
|
107
107
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1597",
|
|
4
4
|
"description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/plugkit-wasm-wrapper.js
CHANGED
|
@@ -836,7 +836,7 @@ function isPortAliveSync(port) {
|
|
|
836
836
|
}
|
|
837
837
|
|
|
838
838
|
function sleepSync(ms) {
|
|
839
|
-
|
|
839
|
+
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, Math.max(0, ms | 0));
|
|
840
840
|
}
|
|
841
841
|
|
|
842
842
|
function playwriterHomeFor(cwd, claudeSessionId) {
|
|
@@ -1049,7 +1049,7 @@ function purgeProfileLockFiles(profileDir) {
|
|
|
1049
1049
|
|
|
1050
1050
|
function sleepSyncMs(ms) {
|
|
1051
1051
|
if (ms <= 0) return;
|
|
1052
|
-
|
|
1052
|
+
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms | 0);
|
|
1053
1053
|
}
|
|
1054
1054
|
|
|
1055
1055
|
function gracefulCloseBrowser(entry, reason) {
|
package/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.678
|