@yemi33/minions 0.1.224 → 0.1.225
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 +5 -0
- package/minions.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/minions.js
CHANGED
|
@@ -56,9 +56,9 @@ function autoDiscover(targetDir) {
|
|
|
56
56
|
try {
|
|
57
57
|
let head = '';
|
|
58
58
|
try {
|
|
59
|
-
head = execSync('git symbolic-ref refs/remotes/origin/HEAD', { cwd: targetDir, encoding: 'utf8', timeout: 5000 }).trim();
|
|
59
|
+
head = execSync('git symbolic-ref refs/remotes/origin/HEAD', { cwd: targetDir, encoding: 'utf8', timeout: 5000, stdio: ['pipe', 'pipe', 'pipe'] }).trim();
|
|
60
60
|
} catch {
|
|
61
|
-
head = execSync('git symbolic-ref HEAD', { cwd: targetDir, encoding: 'utf8', timeout: 5000 }).trim();
|
|
61
|
+
head = execSync('git symbolic-ref HEAD', { cwd: targetDir, encoding: 'utf8', timeout: 5000, stdio: ['pipe', 'pipe', 'pipe'] }).trim();
|
|
62
62
|
}
|
|
63
63
|
const branch = head.replace('refs/remotes/origin/', '').replace('refs/heads/', '');
|
|
64
64
|
if (branch) { result.mainBranch = branch; result._found.push('main branch'); }
|
|
@@ -66,7 +66,7 @@ function autoDiscover(targetDir) {
|
|
|
66
66
|
|
|
67
67
|
// 2. Detect repo host, org, project, repo name from git remote URL
|
|
68
68
|
try {
|
|
69
|
-
const remoteUrl = execSync('git remote get-url origin', { cwd: targetDir, encoding: 'utf8', timeout: 5000 }).trim();
|
|
69
|
+
const remoteUrl = execSync('git remote get-url origin', { cwd: targetDir, encoding: 'utf8', timeout: 5000, stdio: ['pipe', 'pipe', 'pipe'] }).trim();
|
|
70
70
|
if (remoteUrl.includes('github.com')) {
|
|
71
71
|
result.repoHost = 'github';
|
|
72
72
|
// https://github.com/org/repo.git or git@github.com:org/repo.git
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.225",
|
|
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"
|