@yemi33/minions 0.1.272 → 0.1.273
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/command-center.js +10 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.273 (2026-04-03)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- sending a new CC message aborts the current request instead of queuing
|
|
7
7
|
- CC streaming shows cumulative tool list with loading dots
|
|
8
8
|
|
|
9
9
|
### Fixes
|
|
10
|
+
- restore CC message queuing + scroll to queued message when processing
|
|
10
11
|
- remove 'minions up' alias, keep 'minions restart' only
|
|
11
12
|
- agent and engine usage tables both have 7 columns for alignment
|
|
12
13
|
- streaming CC was popping user messages from _ccMessages
|
|
@@ -110,31 +110,27 @@ async function ccSend() {
|
|
|
110
110
|
if (!message) return;
|
|
111
111
|
input.value = '';
|
|
112
112
|
|
|
113
|
-
// If already processing,
|
|
113
|
+
// If already processing, queue the message
|
|
114
114
|
if (_ccSending) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
_ccSending = false;
|
|
120
|
-
// Mark current streaming message as interrupted
|
|
121
|
-
var lastEl = document.getElementById('cc-messages').lastElementChild;
|
|
122
|
-
if (lastEl && (lastEl.innerHTML.includes('Thinking') || lastEl.innerHTML.includes('\uD83D\uDD27'))) {
|
|
123
|
-
lastEl.innerHTML += '<div style="font-size:9px;color:var(--muted);margin-top:4px;font-style:italic">(interrupted)</div>';
|
|
124
|
-
}
|
|
115
|
+
_ccQueue.push(message);
|
|
116
|
+
ccAddMessage('user', escHtml(message));
|
|
117
|
+
ccAddMessage('assistant', '<span class="cc-queued-pill" style="color:var(--muted);font-size:10px">Queued — will send after current request</span>');
|
|
118
|
+
return;
|
|
125
119
|
}
|
|
126
120
|
await _ccDoSend(message);
|
|
127
121
|
|
|
128
|
-
// Drain queue
|
|
122
|
+
// Drain queue — process queued messages one by one
|
|
129
123
|
while (_ccQueue.length > 0) {
|
|
130
124
|
const next = _ccQueue.shift();
|
|
131
|
-
// Remove the "Queued"
|
|
125
|
+
// Remove the "Queued" pill for this message (user message bubble stays)
|
|
132
126
|
const msgs = document.getElementById('cc-messages');
|
|
133
127
|
const queuedPills = msgs.querySelectorAll('.cc-queued-pill');
|
|
134
128
|
for (const pill of queuedPills) {
|
|
135
129
|
if (pill.closest('div')) { pill.closest('div').remove(); break; }
|
|
136
130
|
}
|
|
137
|
-
|
|
131
|
+
// Scroll to make the queued user message visible before processing
|
|
132
|
+
msgs.scrollTop = msgs.scrollHeight;
|
|
133
|
+
await _ccDoSend(next, true); // user message already shown when queued
|
|
138
134
|
}
|
|
139
135
|
}
|
|
140
136
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.273",
|
|
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"
|