@yemi33/minions 0.1.276 → 0.1.278

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 CHANGED
@@ -1,12 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.276 (2026-04-03)
3
+ ## 0.1.278 (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
+ - thinking indicator persists alongside streamed text until done
11
+ - queued messages show as individual bubbles always at the bottom
10
12
  - queued messages show as pinned indicator at bottom of chat
11
13
  - queued message pill shows on user side (right-aligned)
12
14
  - queued messages show as fresh user bubbles when processing starts
@@ -127,17 +127,18 @@ async function ccSend() {
127
127
  }
128
128
 
129
129
  function _renderQueueIndicator() {
130
- var existing = document.getElementById('cc-queue-indicator');
131
- if (existing) existing.remove();
130
+ // Remove all existing queue indicators
131
+ document.querySelectorAll('.cc-queue-item').forEach(function(el) { el.remove(); });
132
132
  if (_ccQueue.length === 0) return;
133
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);
134
+ // Add each queued message as its own bubble at the bottom
135
+ _ccQueue.forEach(function(m) {
136
+ var el = document.createElement('div');
137
+ el.className = 'cc-queue-item';
138
+ el.style.cssText = 'padding:8px 12px;border-radius:8px;font-size:12px;line-height:1.6;max-width:95%;align-self:flex-end;background:var(--blue);color:#fff;opacity:0.5;order:9999';
139
+ el.innerHTML = escHtml(m) + '<div style="font-size:9px;opacity:0.7;font-style:italic;margin-top:2px">queued</div>';
140
+ msgs.appendChild(el);
141
+ });
141
142
  msgs.scrollTop = msgs.scrollHeight;
142
143
  }
143
144
 
@@ -225,10 +226,11 @@ async function _ccDoSend(message, skipUserMsg) {
225
226
  }
226
227
  if (streamedText) {
227
228
  html += renderMd(streamedText);
228
- } else {
229
- html += '<span style="color:var(--muted);font-size:11px">Thinking...' + dotPulse + '</span>';
230
229
  }
230
+ html += '<div style="margin-top:' + (streamedText ? '6px' : '0') + '"><span style="color:var(--muted);font-size:11px">Thinking...' + dotPulse + '</span></div>';
231
231
  streamDiv.innerHTML = html;
232
+ // Re-append queue indicators so they stay below the streaming content
233
+ if (_ccQueue.length > 0) _renderQueueIndicator();
232
234
  if (msgs.scrollHeight - msgs.scrollTop - msgs.clientHeight < 150) msgs.scrollTop = msgs.scrollHeight;
233
235
  }
234
236
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.276",
3
+ "version": "0.1.278",
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"