@yemi33/minions 0.1.548 → 0.1.549

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.549 (2026-04-07)
4
+
5
+ ### Fixes
6
+ - prefer git rev-parse over .minions-commit for disk version detection
7
+
3
8
  ## 0.1.548 (2026-04-07)
4
9
 
5
10
  ### Features
package/dashboard.js CHANGED
@@ -230,10 +230,10 @@ function getDiskVersion() {
230
230
  try { diskVersion = require('@yemi33/minions/package.json').version; } catch {}
231
231
  }
232
232
  let diskCommit = null;
233
- // First try .minions-commit (written by minions init from source repo), then fall back to git
234
- try { diskCommit = fs.readFileSync(path.join(MINIONS_DIR, '.minions-commit'), 'utf8').trim() || null; } catch {}
233
+ // Prefer git (authoritative for repo-based dev), fall back to .minions-commit (installed copies)
234
+ try { diskCommit = require('child_process').execSync('git rev-parse --short HEAD', { cwd: MINIONS_DIR, encoding: 'utf8', timeout: 5000, windowsHide: true }).trim(); } catch {}
235
235
  if (!diskCommit) {
236
- try { diskCommit = require('child_process').execSync('git rev-parse --short HEAD', { cwd: MINIONS_DIR, encoding: 'utf8', timeout: 5000, windowsHide: true }).trim(); } catch {}
236
+ try { diskCommit = fs.readFileSync(path.join(MINIONS_DIR, '.minions-commit'), 'utf8').trim() || null; } catch {}
237
237
  }
238
238
  _diskVersionCache = { diskVersion, diskCommit };
239
239
  _diskVersionCacheTs = now;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.548",
3
+ "version": "0.1.549",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"