@yemi33/minions 0.1.260 → 0.1.262

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,11 +1,13 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.260 (2026-04-03)
3
+ ## 0.1.262 (2026-04-03)
4
4
 
5
5
  ### Features
6
6
  - real-time token streaming for CC via partial JSON extraction
7
7
 
8
8
  ### Fixes
9
+ - streaming CC done event includes copy button matching ccAddMessage
10
+ - streaming CC message bubble matches ccAddMessage styling
9
11
  - CC stream clears ccInFlight on client disconnect + defensive thinking.remove
10
12
  - remove last evaluate references — eval loop now creates review items
11
13
 
@@ -194,7 +194,8 @@ async function _ccDoSend(message, skipUserMsg) {
194
194
  clearInterval(ccTimer);
195
195
  try { thinking.remove(); } catch { /* may already be removed */ }
196
196
  const streamDiv = document.createElement('div');
197
- streamDiv.className = 'cc-msg assistant';
197
+ streamDiv.className = 'cc-msg-assistant';
198
+ streamDiv.style.cssText = 'padding:8px 12px;border-radius:8px;font-size:12px;line-height:1.6;max-width:95%;background:var(--surface2);color:var(--text);align-self:flex-start;border:1px solid var(--border);position:relative';
198
199
  streamDiv.innerHTML = '<span style="color:var(--muted);font-size:11px">Thinking...</span>';
199
200
  document.getElementById('cc-messages').appendChild(streamDiv);
200
201
  let streamedText = '';
@@ -219,9 +220,10 @@ async function _ccDoSend(message, skipUserMsg) {
219
220
  const msgs = document.getElementById('cc-messages');
220
221
  if (msgs.scrollHeight - msgs.scrollTop - msgs.clientHeight < 150) msgs.scrollTop = msgs.scrollHeight;
221
222
  } else if (evt.type === 'done') {
222
- // Final result — replace with rendered markdown + actions
223
+ // Final result — replace with rendered markdown + copy button + timer
223
224
  const ccElapsed = Math.round((Date.now() - ccStartTime) / 1000);
224
- streamDiv.innerHTML = renderMd(evt.text || streamedText || '') +
225
+ const finalHtml = renderMd(evt.text || streamedText || '');
226
+ streamDiv.innerHTML = llmCopyBtn() + finalHtml +
225
227
  '<div style="font-size:9px;color:var(--muted);margin-top:6px;display:flex;justify-content:flex-end;padding-right:30px">' + ccElapsed + 's</div>';
226
228
  _ccMessages.push({ role: 'assistant', html: streamDiv.innerHTML });
227
229
  if (evt.sessionId) { _ccSessionId = evt.sessionId; ccSaveState(); ccUpdateSessionIndicator(); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.260",
3
+ "version": "0.1.262",
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"