@yemi33/minions 0.1.581 → 0.1.583
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 +9 -1
- package/dashboard.js +7 -1
- package/engine/lifecycle.js +3 -3
- package/engine.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.583 (2026-04-08)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
- use Date.now() for agent runtime since completed_at not yet set
|
|
7
|
+
|
|
8
|
+
## 0.1.582 (2026-04-08)
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
- restore actions example in CC prompt, hoist FAST_WORK_TYPES
|
|
4
12
|
|
|
5
13
|
### Other
|
|
6
14
|
- perf: trim CC prompt, extract verify template, add effort levels
|
package/dashboard.js
CHANGED
|
@@ -477,7 +477,13 @@ SELF: quick file reads, status lookups, notes/plan edits, routing updates, git o
|
|
|
477
477
|
For exploration/investigation/research/audits — ALWAYS dispatch an \`explore\` work item.
|
|
478
478
|
|
|
479
479
|
## Actions
|
|
480
|
-
Append actions at the END of your response.
|
|
480
|
+
Append actions at the END of your response. Write your response first, then \`===ACTIONS===\` on its own line, then a JSON array. No text after the JSON. Omit entirely if no actions needed.
|
|
481
|
+
|
|
482
|
+
Example:
|
|
483
|
+
I'll dispatch dallas to fix that bug.
|
|
484
|
+
|
|
485
|
+
===ACTIONS===
|
|
486
|
+
[{"type": "dispatch", "title": "Fix login bug", "workType": "fix", "agents": ["dallas"], "project": "MyApp", "description": "..."}]
|
|
481
487
|
|
|
482
488
|
Core action types:
|
|
483
489
|
- **dispatch**: title, workType, priority (low/medium/high), agents[] (optional), project, description
|
package/engine/lifecycle.js
CHANGED
|
@@ -1019,9 +1019,9 @@ function updateMetrics(agentId, dispatchItem, result, taskUsage, prsCreatedCount
|
|
|
1019
1019
|
m.lastTask = dispatchItem.task;
|
|
1020
1020
|
m.lastCompleted = ts();
|
|
1021
1021
|
if (model) m.model = model;
|
|
1022
|
-
// Track runtime (wall-clock duration from dispatch start to
|
|
1023
|
-
const runtimeMs =
|
|
1024
|
-
?
|
|
1022
|
+
// Track runtime (wall-clock duration from dispatch start to now — completed_at not yet set)
|
|
1023
|
+
const runtimeMs = dispatchItem.started_at
|
|
1024
|
+
? Date.now() - new Date(dispatchItem.started_at).getTime()
|
|
1025
1025
|
: 0;
|
|
1026
1026
|
if (runtimeMs > 0) m.totalRuntimeMs = (m.totalRuntimeMs || 0) + runtimeMs;
|
|
1027
1027
|
|
package/engine.js
CHANGED
|
@@ -146,6 +146,7 @@ let engineRestartGraceUntil = 0; // timestamp — suppress orphan detection unti
|
|
|
146
146
|
// Per-tick cache of refs that failed to fetch — avoids repeating 30s ETIMEDOUT for same missing ref
|
|
147
147
|
// Cleared at the start of each tick cycle (see tickInner)
|
|
148
148
|
const _failedRefCache = new Set();
|
|
149
|
+
const _FAST_WORK_TYPES = new Set([WORK_TYPE.EXPLORE, WORK_TYPE.ASK, WORK_TYPE.REVIEW]);
|
|
149
150
|
|
|
150
151
|
// Resolve dependency plan item IDs to their PR branches
|
|
151
152
|
function resolveDependencyBranches(depIds, sourcePlan, project, config) {
|
|
@@ -492,9 +493,8 @@ async function spawnAgent(dispatchItem, config) {
|
|
|
492
493
|
args.push('--allowedTools', claudeConfig.allowedTools);
|
|
493
494
|
}
|
|
494
495
|
|
|
495
|
-
// Effort level: use 'low' for fast work types
|
|
496
|
-
const
|
|
497
|
-
const effort = engineConfig.agentEffort || (FAST_TYPES.has(type) ? 'low' : null);
|
|
496
|
+
// Effort level: use 'low' for fast work types unless configured otherwise
|
|
497
|
+
const effort = engineConfig.agentEffort || (_FAST_WORK_TYPES.has(type) ? 'low' : null);
|
|
498
498
|
if (effort) args.push('--effort', effort);
|
|
499
499
|
|
|
500
500
|
// Session resume: reuse last session if same branch and recent enough (< 2 hours)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.583",
|
|
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"
|