@yemi33/minions 0.1.456 → 0.1.457
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 +2 -1
- package/engine.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine.js
CHANGED
|
@@ -319,6 +319,11 @@ function spawnAgent(dispatchItem, config) {
|
|
|
319
319
|
log('info', `Shared branch ${branchName} already checked out at ${existingWtPath} — reusing`);
|
|
320
320
|
worktreePath = existingWtPath;
|
|
321
321
|
} else { throw eShared; }
|
|
322
|
+
} else if (eShared.message?.includes('invalid reference') || eShared.message?.includes('not a valid ref')) {
|
|
323
|
+
// Branch doesn't exist yet (first item in plan) — create it from main
|
|
324
|
+
const mainRef = sanitizeBranch(shared.resolveMainBranch(rootDir, project.mainBranch));
|
|
325
|
+
log('info', `Shared branch ${branchName} not found — creating from ${mainRef}`);
|
|
326
|
+
runWorktreeAdd(rootDir, worktreePath, `-b "${branchName}" ${mainRef}`, _worktreeGitOpts, worktreeCreateRetries);
|
|
322
327
|
} else { throw eShared; }
|
|
323
328
|
}
|
|
324
329
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.457",
|
|
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"
|