@yemi33/minions 0.1.274 → 0.1.276
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 +3 -1
- package/dashboard/js/command-center.js +22 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.276 (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
|
+
- queued messages show as pinned indicator at bottom of chat
|
|
11
|
+
- queued message pill shows on user side (right-aligned)
|
|
10
12
|
- queued messages show as fresh user bubbles when processing starts
|
|
11
13
|
- restore CC message queuing + scroll to queued message when processing
|
|
12
14
|
- remove 'minions up' alias, keep 'minions restart' only
|
|
@@ -110,10 +110,10 @@ async function ccSend() {
|
|
|
110
110
|
if (!message) return;
|
|
111
111
|
input.value = '';
|
|
112
112
|
|
|
113
|
-
// If already processing, queue the message
|
|
113
|
+
// If already processing, queue the message
|
|
114
114
|
if (_ccSending) {
|
|
115
115
|
_ccQueue.push(message);
|
|
116
|
-
|
|
116
|
+
_renderQueueIndicator();
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
119
|
await _ccDoSend(message);
|
|
@@ -121,17 +121,26 @@ async function ccSend() {
|
|
|
121
121
|
// Drain queue — show each as a fresh user message + process
|
|
122
122
|
while (_ccQueue.length > 0) {
|
|
123
123
|
const next = _ccQueue.shift();
|
|
124
|
-
//
|
|
125
|
-
const msgs = document.getElementById('cc-messages');
|
|
126
|
-
const queuedPills = msgs.querySelectorAll('.cc-queued-pill');
|
|
127
|
-
for (const pill of queuedPills) {
|
|
128
|
-
if (pill.closest('div')) { pill.closest('div').remove(); break; }
|
|
129
|
-
}
|
|
130
|
-
// Show as a normal user message being sent now
|
|
124
|
+
_renderQueueIndicator(); // update or remove indicator
|
|
131
125
|
await _ccDoSend(next);
|
|
132
126
|
}
|
|
133
127
|
}
|
|
134
128
|
|
|
129
|
+
function _renderQueueIndicator() {
|
|
130
|
+
var existing = document.getElementById('cc-queue-indicator');
|
|
131
|
+
if (existing) existing.remove();
|
|
132
|
+
if (_ccQueue.length === 0) return;
|
|
133
|
+
var msgs = document.getElementById('cc-messages');
|
|
134
|
+
var el = document.createElement('div');
|
|
135
|
+
el.id = 'cc-queue-indicator';
|
|
136
|
+
el.style.cssText = 'padding:6px 12px;border-radius:8px;font-size:11px;max-width:95%;align-self:flex-end;background:rgba(88,166,255,0.1);border:1px dashed var(--blue);color:var(--blue);opacity:0.7';
|
|
137
|
+
el.innerHTML = _ccQueue.map(function(m) {
|
|
138
|
+
return '<div>' + escHtml(m.length > 50 ? m.slice(0, 50) + '...' : m) + '</div>';
|
|
139
|
+
}).join('') + '<div style="font-size:9px;color:var(--muted);font-style:italic;margin-top:2px">' + _ccQueue.length + ' queued</div>';
|
|
140
|
+
msgs.appendChild(el);
|
|
141
|
+
msgs.scrollTop = msgs.scrollHeight;
|
|
142
|
+
}
|
|
143
|
+
|
|
135
144
|
async function _ccDoSend(message, skipUserMsg) {
|
|
136
145
|
_ccSending = true;
|
|
137
146
|
_ccAbortController = new AbortController();
|
|
@@ -139,6 +148,10 @@ async function _ccDoSend(message, skipUserMsg) {
|
|
|
139
148
|
|
|
140
149
|
if (!skipUserMsg) ccAddMessage('user', escHtml(message));
|
|
141
150
|
|
|
151
|
+
// Remove queue indicator before processing (it'll be re-added if more queued)
|
|
152
|
+
var existingQueueEl = document.getElementById('cc-queue-indicator');
|
|
153
|
+
if (existingQueueEl) existingQueueEl.remove();
|
|
154
|
+
|
|
142
155
|
// Show thinking indicator with timer + queue count
|
|
143
156
|
const queueCount = _ccQueue.length;
|
|
144
157
|
const queueBadge = queueCount > 0 ? ' <span style="font-size:9px;background:var(--surface);padding:1px 5px;border-radius:8px;border:1px solid var(--border)">+' + queueCount + ' queued</span>' : '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.276",
|
|
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"
|