@yemi33/minions 0.1.272 → 0.1.274

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.272 (2026-04-03)
3
+ ## 0.1.274 (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 fresh user bubbles when processing starts
11
+ - restore CC message queuing + scroll to queued message when processing
10
12
  - remove 'minions up' alias, keep 'minions restart' only
11
13
  - agent and engine usage tables both have 7 columns for alignment
12
14
  - streaming CC was popping user messages from _ccMessages
@@ -110,31 +110,25 @@ async function ccSend() {
110
110
  if (!message) return;
111
111
  input.value = '';
112
112
 
113
- // If already processing, abort current and send the new one immediately
113
+ // If already processing, queue the message don't show user bubble yet
114
114
  if (_ccSending) {
115
- if (_ccAbortController) {
116
- _ccAbortController.abort();
117
- _ccAbortController = null;
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('assistant', '<span class="cc-queued-pill" style="color:var(--muted);font-size:10px">Queued: "' + escHtml(message.length > 40 ? message.slice(0, 40) + '...' : message) + '"</span>');
117
+ return;
125
118
  }
126
119
  await _ccDoSend(message);
127
120
 
128
- // Drain queue
121
+ // Drain queue — show each as a fresh user message + process
129
122
  while (_ccQueue.length > 0) {
130
123
  const next = _ccQueue.shift();
131
- // Remove the "Queued" placeholder for this message
124
+ // Remove the "Queued" pill
132
125
  const msgs = document.getElementById('cc-messages');
133
126
  const queuedPills = msgs.querySelectorAll('.cc-queued-pill');
134
127
  for (const pill of queuedPills) {
135
128
  if (pill.closest('div')) { pill.closest('div').remove(); break; }
136
129
  }
137
- await _ccDoSend(next, true); // skipUserMsg=true since already shown when queued
130
+ // Show as a normal user message being sent now
131
+ await _ccDoSend(next);
138
132
  }
139
133
  }
140
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.272",
3
+ "version": "0.1.274",
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"