@yemi33/minions 0.1.489 → 0.1.490
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/dashboard/js/live-stream.js +9 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -139,9 +139,10 @@ async function sendSteering() {
|
|
|
139
139
|
const el = document.getElementById('live-messages');
|
|
140
140
|
if (el) {
|
|
141
141
|
el.innerHTML += '<div style="align-self:flex-end;background:var(--blue);color:#fff;padding:6px 12px;border-radius:12px 12px 2px 12px;max-width:80%;margin:4px 0;font-size:12px">' + escHtml(message) +
|
|
142
|
-
'<div id="steer-pending" style="font-size:9px;opacity:0.7;margin-top:2px"
|
|
142
|
+
'<div id="steer-pending" style="font-size:9px;opacity:0.7;margin-top:2px">\u2197 Sending...</div></div>';
|
|
143
143
|
el.scrollTop = el.scrollHeight;
|
|
144
144
|
}
|
|
145
|
+
showToast('cmd-toast', 'Steering message sent to ' + currentAgentId, true);
|
|
145
146
|
|
|
146
147
|
try {
|
|
147
148
|
const res = await fetch('/api/agents/steer', {
|
|
@@ -186,7 +187,13 @@ async function sendSteering() {
|
|
|
186
187
|
const pending = document.getElementById('steer-pending');
|
|
187
188
|
if (pending) { pending.textContent = '\u26A0 ' + e.message; pending.style.opacity = '1'; }
|
|
188
189
|
} finally {
|
|
189
|
-
|
|
190
|
+
// Resume polling — delay slightly so the [human-steering] line is in the log
|
|
191
|
+
setTimeout(() => {
|
|
192
|
+
_steerInFlight = false;
|
|
193
|
+
refreshLiveOutput();
|
|
194
|
+
// Ensure polling continues (may have stopped if tab switched during steering)
|
|
195
|
+
if (!livePollingInterval && currentTab === 'live') startLivePolling();
|
|
196
|
+
}, 1000);
|
|
190
197
|
}
|
|
191
198
|
}
|
|
192
199
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.490",
|
|
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"
|