gm-skill 2.0.1168 → 2.0.1169

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/README.md CHANGED
@@ -35,7 +35,7 @@ An earlier generation fanned out fifteen per-platform downstream repos (gm-cc, g
35
35
 
36
36
  ## Version
37
37
 
38
- `2.0.1168` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
38
+ `2.0.1169` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
39
39
 
40
40
  ## Source of truth
41
41
 
@@ -1289,8 +1289,10 @@ async function runSpoolWatcher(instance, spoolDir) {
1289
1289
  const files = [];
1290
1290
  try {
1291
1291
  for (const entry of fs.readdirSync(dir)) {
1292
+ if (/\.tmp\.\d+(\.|$)/.test(entry)) continue;
1292
1293
  const fullPath = path.join(dir, entry);
1293
- const stat = fs.statSync(fullPath);
1294
+ let stat;
1295
+ try { stat = fs.statSync(fullPath); } catch (_) { continue; }
1294
1296
  if (stat.isFile()) {
1295
1297
  files.push(fullPath);
1296
1298
  } else if (stat.isDirectory()) {
@@ -1407,10 +1409,12 @@ async function runSpoolWatcher(instance, spoolDir) {
1407
1409
  let stale = 0;
1408
1410
  const walk = (dir) => {
1409
1411
  for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
1412
+ if (/\.tmp\.\d+(\.|$)/.test(entry.name)) continue;
1410
1413
  const fp = path.join(dir, entry.name);
1411
1414
  if (entry.isDirectory()) walk(fp);
1412
1415
  else if (entry.isFile()) {
1413
- const s = fs.statSync(fp);
1416
+ let s;
1417
+ try { s = fs.statSync(fp); } catch (_) { continue; }
1414
1418
  if (s.mtimeMs < cutoff) {
1415
1419
  const rel = path.relative(inDir, fp);
1416
1420
  const verbDir = path.dirname(rel);
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1168",
3
+ "version": "2.0.1169",
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.1168",
3
+ "version": "2.0.1169",
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",
@@ -39,7 +39,7 @@
39
39
  "gm.json"
40
40
  ],
41
41
  "dependencies": {
42
- "gm-plugkit": "^2.0.1168"
42
+ "gm-plugkit": "^2.0.1169"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=16.0.0"