gm-skill 2.0.1431 → 2.0.1432
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/gm-plugkit/package.json +1 -1
- package/gm-plugkit/plugkit-wasm-wrapper.js +16 -7
- package/gm.json +1 -1
- package/package.json +1 -1
package/gm-plugkit/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1432",
|
|
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": {
|
|
@@ -957,13 +957,22 @@ function getOrCreateBrowserSession(cwd, claudeSessionId, pw) {
|
|
|
957
957
|
}
|
|
958
958
|
} else {
|
|
959
959
|
const reason = !pidOk ? 'pid-dead' : (!cdpOk ? 'cdp-dead' : 'profile-drift');
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
960
|
+
if (reason === 'pid-dead') {
|
|
961
|
+
logEvent('plugkit', 'browser.stale-reclaimed', {
|
|
962
|
+
sid: claudeSessionId,
|
|
963
|
+
stale_pid: existing.pid || null,
|
|
964
|
+
stale_profile: existing.profileDir || null,
|
|
965
|
+
want_profile: wantProfile,
|
|
966
|
+
});
|
|
967
|
+
} else {
|
|
968
|
+
logEvent('hook', 'deviation.browser-profile-collision', {
|
|
969
|
+
sid: claudeSessionId,
|
|
970
|
+
stale_pid: existing.pid || null,
|
|
971
|
+
stale_profile: existing.profileDir || null,
|
|
972
|
+
want_profile: wantProfile,
|
|
973
|
+
reason,
|
|
974
|
+
});
|
|
975
|
+
}
|
|
967
976
|
if (typeof gracefulCloseBrowser === 'function') {
|
|
968
977
|
try { gracefulCloseBrowser(existing, `collision:${reason}`); } catch (_) {}
|
|
969
978
|
} else if (pidOk && Number.isFinite(existing.pid)) {
|
package/gm.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1432",
|
|
4
4
|
"description": "Canonical universal harness — AI-native software engineering via skill-driven orchestration; bootstraps plugkit for task execution and session isolation. Install in any AI coding agent host.",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|