@yemi33/minions 0.1.218 → 0.1.220
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 +10 -0
- package/README.md +6 -13
- package/bin/minions.js +12 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -43,21 +43,14 @@ node ~/.minions/minions.js init
|
|
|
43
43
|
## Upgrading
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
|
|
47
|
-
minions version
|
|
48
|
-
|
|
49
|
-
# Update the npm package and apply changes
|
|
50
|
-
npm update -g @yemi33/minions
|
|
51
|
-
minions init --force
|
|
46
|
+
minions update
|
|
52
47
|
```
|
|
53
48
|
|
|
54
|
-
|
|
49
|
+
One command — pulls the latest npm package and applies the update automatically. Equivalent to `npm update -g @yemi33/minions && minions init --force`.
|
|
55
50
|
|
|
56
|
-
**What
|
|
57
|
-
|
|
58
|
-
Upgrades now skip the interactive repo scan automatically. If you want to re-run discovery later, run `minions scan`. To skip scanning during the very first install, pass `--skip-scan` and link projects manually when ready.
|
|
51
|
+
**What gets updated:** Engine code (`.js`, `.html`), new playbooks, new agent charters, new docs, `CHANGELOG.md`.
|
|
59
52
|
|
|
60
|
-
**What's
|
|
53
|
+
**What's preserved:** Your `config.json`, agent history, notes, knowledge base, routing, skills, and any `.md` files you've customized (charters, playbooks). New files are added automatically without touching existing ones.
|
|
61
54
|
|
|
62
55
|
### Migrating from legacy installs
|
|
63
56
|
|
|
@@ -131,8 +124,8 @@ minions work "Explore the codebase and document the architecture"
|
|
|
131
124
|
|
|
132
125
|
| Command | Description |
|
|
133
126
|
|---------|-------------|
|
|
134
|
-
| `minions init` | Bootstrap `~/.minions/` with default agents and config
|
|
135
|
-
| `minions
|
|
127
|
+
| `minions init` | Bootstrap `~/.minions/` with default agents and config |
|
|
128
|
+
| `minions update` | Update to latest version (npm update + apply) |
|
|
136
129
|
| `minions version` | Show installed vs package version |
|
|
137
130
|
| `minions scan [dir] [depth]` | Scan for git repos and multi-select to add (default: ~, depth 3) |
|
|
138
131
|
| `minions add <dir>` | Link a single project (auto-detects settings from git, prompts to confirm) |
|
package/bin/minions.js
CHANGED
|
@@ -439,7 +439,7 @@ if (!cmd || cmd === 'help' || cmd === '--help' || cmd === '-h') {
|
|
|
439
439
|
|
|
440
440
|
Setup:
|
|
441
441
|
minions init Bootstrap ~/.minions/ (first time)
|
|
442
|
-
minions
|
|
442
|
+
minions update Update to latest version (npm update + init --force)
|
|
443
443
|
minions version Show installed vs package version
|
|
444
444
|
minions doctor Check prerequisites and runtime health
|
|
445
445
|
minions add <project-dir> Link a project (interactive)
|
|
@@ -467,6 +467,17 @@ if (!cmd || cmd === 'help' || cmd === '--help' || cmd === '-h') {
|
|
|
467
467
|
`);
|
|
468
468
|
} else if (cmd === 'init') {
|
|
469
469
|
init();
|
|
470
|
+
} else if (cmd === 'update') {
|
|
471
|
+
console.log('\n Updating Minions...\n');
|
|
472
|
+
try {
|
|
473
|
+
execSync('npm update -g @yemi33/minions', { stdio: 'inherit', timeout: 120000 });
|
|
474
|
+
} catch (e) {
|
|
475
|
+
console.error(' npm update failed:', e.message);
|
|
476
|
+
process.exit(1);
|
|
477
|
+
}
|
|
478
|
+
// Re-run init --force to apply the update
|
|
479
|
+
rest.push('--force');
|
|
480
|
+
init();
|
|
470
481
|
} else if (cmd === 'version' || cmd === '--version' || cmd === '-v') {
|
|
471
482
|
showVersion();
|
|
472
483
|
} else if (cmd === 'add' || cmd === 'remove' || cmd === 'list') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.220",
|
|
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"
|