gm-plugkit 2.0.1126 → 2.0.1128

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1126",
3
+ "version": "2.0.1128",
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": {
@@ -90,12 +90,14 @@ function isProfileLocked(profileDir) {
90
90
  }
91
91
 
92
92
  function acquireProfileDir(cwd) {
93
- const primary = path.join(cwd, '.plugkit-browser-profile');
94
- ensureGitignored(cwd, '.plugkit-browser-profile/');
95
- ensureGitignored(cwd, '.plugkit-browser-profile-*/');
93
+ const gmDir = path.join(cwd, '.gm');
94
+ try { fs.mkdirSync(gmDir, { recursive: true }); } catch (_) {}
95
+ const primary = path.join(gmDir, 'browser-profile');
96
+ ensureGitignored(cwd, '.gm/browser-profile/');
97
+ ensureGitignored(cwd, '.gm/browser-profile-*/');
96
98
  try { fs.mkdirSync(primary, { recursive: true }); } catch (_) {}
97
99
  if (!isProfileLocked(primary)) return primary;
98
- const fallback = path.join(cwd, `.plugkit-browser-profile-${process.pid}`);
100
+ const fallback = path.join(gmDir, `browser-profile-${process.pid}`);
99
101
  try { fs.mkdirSync(fallback, { recursive: true }); } catch (_) {}
100
102
  return fallback;
101
103
  }
package/plugkit.sha256 CHANGED
@@ -1 +1 @@
1
- {"plugkit.wasm":"874f5a3524d8a080a2880567cc3808ae727f4c2b4f35ad6fc33e932fd6c4c567"}
1
+ {"plugkit.wasm":"52e42c938d42102bf0ac396528a3824f881b2644539e76b4fd43b7d29e6a88ba"}
package/plugkit.version CHANGED
@@ -1 +1 @@
1
- 0.1.396
1
+ 0.1.397