@yemi33/minions 0.1.667 → 0.1.668
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/engine/cooldown.js +7 -5
- package/engine/timeout.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/cooldown.js
CHANGED
|
@@ -95,11 +95,13 @@ function isAlreadyDispatched(key) {
|
|
|
95
95
|
// Check pending and active
|
|
96
96
|
const inFlight = [...dispatch.pending, ...(dispatch.active || [])];
|
|
97
97
|
if (inFlight.some(d => d.meta?.dispatchKey === key)) return true;
|
|
98
|
-
// Also check recently completed (
|
|
99
|
-
const
|
|
100
|
-
const recentCompleted = (dispatch.completed || []).filter(d =>
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
// Also check recently completed — shorter window for errors (15min) vs success (1hr)
|
|
99
|
+
const now = Date.now();
|
|
100
|
+
const recentCompleted = (dispatch.completed || []).filter(d => {
|
|
101
|
+
if (!d.completed_at) return false;
|
|
102
|
+
const windowMs = d.result === 'error' ? 900000 : 3600000; // 15 min for errors, 1 hr for success
|
|
103
|
+
return now - new Date(d.completed_at).getTime() < windowMs;
|
|
104
|
+
});
|
|
103
105
|
return recentCompleted.some(d => d.meta?.dispatchKey === key);
|
|
104
106
|
}
|
|
105
107
|
|
package/engine/timeout.js
CHANGED
|
@@ -187,8 +187,8 @@ function checkTimeouts(config) {
|
|
|
187
187
|
}
|
|
188
188
|
// Bash tool call — may be running a long build/install with no stdout
|
|
189
189
|
if (name === 'Bash') {
|
|
190
|
-
// Use explicit timeout if set, otherwise
|
|
191
|
-
const bashTimeout = input.timeout ||
|
|
190
|
+
// Use explicit timeout if set, otherwise match Claude Code's actual Bash default (120s)
|
|
191
|
+
const bashTimeout = input.timeout || 120000;
|
|
192
192
|
blockingTimeout = Math.max(heartbeatTimeout, bashTimeout + 60000);
|
|
193
193
|
isBlocking = true;
|
|
194
194
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.668",
|
|
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"
|