@yemi33/minions 0.1.893 → 0.1.895

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.895 (2026-04-11)
4
+
5
+ ### Fixes
6
+ - revert unnecessary changes for real npm installs
7
+
8
+ ## 0.1.894 (2026-04-11)
9
+
10
+ ### Fixes
11
+ - handle dev/symlink installs and pass MINIONS_HOME to init --force
12
+
3
13
  ## 0.1.893 (2026-04-11)
4
14
 
5
15
  ### Fixes
package/bin/minions.js CHANGED
@@ -524,14 +524,22 @@ if (!cmd || cmd === 'help' || cmd === '--help' || cmd === '-h') {
524
524
  init();
525
525
  } else if (cmd === 'update') {
526
526
  console.log('\n Updating Minions...\n');
527
- try {
528
- execSync('npm update -g @yemi33/minions', { stdio: 'inherit', timeout: 120000 });
529
- } catch (e) {
530
- console.error(' npm update failed:', e.message);
531
- process.exit(1);
527
+ // Dev/symlink installs: PKG_ROOT === MINIONS_HOME — npm update is a no-op (symlink already
528
+ // points to the repo), and `minions init --force` would fail (cwd/.minions is inside PKG_ROOT).
529
+ // Just sync the version file and restart.
530
+ const isSymlinkedDevInstall = path.resolve(PKG_ROOT) === path.resolve(MINIONS_HOME);
531
+ if (isSymlinkedDevInstall) {
532
+ saveInstalledVersion(getPkgVersion());
533
+ console.log(` Version synced to ${getPkgVersion()} (dev/symlink install — pull from git to update code)`);
534
+ } else {
535
+ try {
536
+ execSync('npm update -g @yemi33/minions', { stdio: 'inherit', timeout: 120000 });
537
+ } catch (e) {
538
+ console.error(' npm update failed:', e.message);
539
+ process.exit(1);
540
+ }
541
+ execSync('minions init --force', { stdio: 'inherit', timeout: 120000 });
532
542
  }
533
- // Re-exec the NEW binary (just installed) so the updated code runs init --force
534
- execSync('minions init --force', { stdio: 'inherit', timeout: 120000 });
535
543
  // Restart engine + dashboard so they pick up the new code
536
544
  console.log('\n Restarting engine and dashboard...\n');
537
545
  execSync('minions restart', { stdio: 'inherit', timeout: 60000 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.893",
3
+ "version": "0.1.895",
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"