gm-skill 2.0.1452 → 2.0.1454

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1452",
3
+ "version": "2.0.1454",
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": {
@@ -641,6 +641,7 @@ function isProfileLocked(profileDir) {
641
641
  try { fs.unlinkSync(lock); } catch (_) {}
642
642
  try { fs.unlinkSync(path.join(profileDir, 'SingletonCookie')); } catch (_) {}
643
643
  try { fs.unlinkSync(path.join(profileDir, 'SingletonSocket')); } catch (_) {}
644
+ try { fs.unlinkSync(path.join(profileDir, 'lockfile')); } catch (_) {}
644
645
  logEvent('bootstrap', 'browser-profile.lock-cleared', {
645
646
  profileDir, dead_pid: holderPid,
646
647
  });
@@ -1922,6 +1923,12 @@ async function runSpoolWatcher(instance, spoolDir) {
1922
1923
  fs.mkdirSync(inDir, { recursive: true });
1923
1924
  fs.mkdirSync(outDir, { recursive: true });
1924
1925
 
1926
+ try {
1927
+ const gmDir = path.dirname(spoolDir);
1928
+ fs.writeFileSync(path.join(gmDir, 'last-instruction-ts'), String(Date.now()));
1929
+ fs.writeFileSync(path.join(gmDir, 'long-gap-retry-state'), '');
1930
+ } catch (_) {}
1931
+
1925
1932
 
1926
1933
  const LOCK_PATH = path.join(spoolDir, '.watcher.lock');
1927
1934
  let _ownWrapperSha12 = '';
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1452",
3
+ "version": "2.0.1454",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1452",
3
+ "version": "2.0.1454",
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",