@yemi33/minions 0.1.485 → 0.1.487
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 +8 -0
- package/dashboard/js/live-stream.js +28 -2
- package/dashboard.js +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.487 (2026-04-07)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- steering shows acknowledgment status — Sent → waiting → acknowledged
|
|
7
|
+
|
|
8
|
+
### Fixes
|
|
9
|
+
- CC always delegates exploration to agents instead of doing it itself
|
|
10
|
+
|
|
3
11
|
## 0.1.485 (2026-04-07)
|
|
4
12
|
|
|
5
13
|
### Fixes
|
|
@@ -153,13 +153,39 @@ async function sendSteering() {
|
|
|
153
153
|
const d = await res.json().catch(() => ({}));
|
|
154
154
|
if (pending) { pending.textContent = '\u26A0 Failed: ' + (d.error || 'unknown'); pending.style.opacity = '1'; }
|
|
155
155
|
} else {
|
|
156
|
-
if (pending)
|
|
156
|
+
if (pending) {
|
|
157
|
+
pending.textContent = '\u2713 Sent — waiting for agent to respond...';
|
|
158
|
+
// Poll for agent acknowledgment (new output after steering)
|
|
159
|
+
let ackChecks = 0;
|
|
160
|
+
const ackInterval = setInterval(async () => {
|
|
161
|
+
ackChecks++;
|
|
162
|
+
if (ackChecks > 30) { // Give up after 30s
|
|
163
|
+
clearInterval(ackInterval);
|
|
164
|
+
if (pending.textContent.includes('waiting')) pending.textContent = '\u2713 Sent — agent may respond shortly';
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
try {
|
|
168
|
+
const liveRes = await fetch('/api/agent/' + encodeURIComponent(currentAgentId) + '/live-output');
|
|
169
|
+
const text = await liveRes.text();
|
|
170
|
+
// Check if there's new output after the [human-steering] line
|
|
171
|
+
const steerIdx = text.lastIndexOf('[human-steering]');
|
|
172
|
+
if (steerIdx >= 0) {
|
|
173
|
+
const afterSteer = text.slice(steerIdx + 100);
|
|
174
|
+
// Look for assistant response (JSON with type:assistant or readable text)
|
|
175
|
+
if (afterSteer.length > 200 && (afterSteer.includes('"type":"assistant"') || afterSteer.includes('"type":"text"'))) {
|
|
176
|
+
clearInterval(ackInterval);
|
|
177
|
+
pending.textContent = '\u2713 Agent acknowledged';
|
|
178
|
+
pending.style.color = 'var(--green)';
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
} catch {}
|
|
182
|
+
}, 1000);
|
|
183
|
+
}
|
|
157
184
|
}
|
|
158
185
|
} catch (e) {
|
|
159
186
|
const pending = document.getElementById('steer-pending');
|
|
160
187
|
if (pending) { pending.textContent = '\u26A0 ' + e.message; pending.style.opacity = '1'; }
|
|
161
188
|
} finally {
|
|
162
|
-
// Resume polling after a short delay so the log has the [human-steering] line
|
|
163
189
|
setTimeout(() => { _steerInFlight = false; refreshLiveOutput(); }, 500);
|
|
164
190
|
}
|
|
165
191
|
}
|
package/dashboard.js
CHANGED
|
@@ -519,7 +519,7 @@ Your primary job is to **orchestrate**, not implement. For most requests, dispat
|
|
|
519
519
|
- Starting a dev server or running a build command the user asked for
|
|
520
520
|
- Git operations the user explicitly asked YOU to do
|
|
521
521
|
|
|
522
|
-
When in doubt, **dispatch an agent**. The user is talking to you because they want work delegated, not because they want you to be the one coding.
|
|
522
|
+
When in doubt, **dispatch an agent**. The user is talking to you because they want work delegated, not because they want you to be the one coding. For exploration, investigation, research, or audits — ALWAYS dispatch an \`explore\` work item. Never do multi-file codebase analysis yourself.
|
|
523
523
|
|
|
524
524
|
## Minions Actions (Delegation)
|
|
525
525
|
|
|
@@ -586,7 +586,8 @@ Available action types:
|
|
|
586
586
|
6. Keep responses concise but informative. Use markdown.
|
|
587
587
|
7. **Never modify engine source code** (engine.js, engine/*.js, dashboard.js/html, minions.js, bin/).
|
|
588
588
|
8. **Never push to git remotes** without the user explicitly confirming.
|
|
589
|
-
9. For long-running processes (dev servers), start them detached so they survive after your session
|
|
589
|
+
9. For long-running processes (dev servers), start them detached so they survive after your session.
|
|
590
|
+
10. **Always delegate exploration and complex queries to agents.** You are the dispatcher, not the worker. When the user asks to "explore", "investigate", "research", "look into", "figure out", or "audit" something in a project, dispatch an \`explore\` work item to an agent — do NOT do the exploration yourself. You may read a few files for quick lookups (status checks, config reads), but any multi-file investigation or codebase analysis must be delegated. Your role is orchestration.`;
|
|
590
591
|
|
|
591
592
|
// Hash the system prompt so we can detect changes and invalidate stale sessions
|
|
592
593
|
const _ccPromptHash = require('crypto').createHash('md5').update(CC_STATIC_SYSTEM_PROMPT).digest('hex').slice(0, 8);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.487",
|
|
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"
|