@yemi33/minions 0.1.900 → 0.1.901

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,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.901 (2026-04-12)
4
+
5
+ ### Fixes
6
+ - render action result badges outside chat bubble
7
+
3
8
  ## 0.1.900 (2026-04-12)
4
9
 
5
10
  ### Other
@@ -326,7 +326,8 @@ function ccUpdateSessionIndicator() {
326
326
  function ccAddMessage(role, html, skipSave, targetTabId) {
327
327
  var isUser = role === 'user';
328
328
  var isSystem = role === 'system';
329
- var isAssistant = !isUser && !isSystem;
329
+ var isAction = role === 'action';
330
+ var isAssistant = !isUser && !isSystem && !isAction;
330
331
  var targetTab = targetTabId ? _ccTabs.find(function(t) { return t.id === targetTabId; }) : _ccActiveTab();
331
332
  // Only render to DOM if this message is for the currently visible tab
332
333
  var isVisible = !targetTabId || targetTabId === _ccActiveTabId;
@@ -335,7 +336,7 @@ function ccAddMessage(role, html, skipSave, targetTabId) {
335
336
  var div = document.createElement('div');
336
337
  div.className = isAssistant ? 'cc-msg-assistant' : '';
337
338
  div.style.cssText = 'padding:8px 12px;border-radius:8px;font-size:12px;line-height:1.6;max-width:95%;' +
338
- (isUser ? 'background:var(--blue);color:#fff;align-self:flex-end' : isSystem ? 'align-self:center;max-width:100%' : 'background:var(--surface2);color:var(--text);align-self:flex-start;border:1px solid var(--border);position:relative');
339
+ (isUser ? 'background:var(--blue);color:#fff;align-self:flex-end' : isSystem ? 'align-self:center;max-width:100%' : isAction ? 'align-self:flex-start;padding:2px 0' : 'background:var(--surface2);color:var(--text);align-self:flex-start;border:1px solid var(--border);position:relative');
339
340
  div.innerHTML = (isAssistant && !html.includes('color:var(--red)') && !html.includes('cc-queued-pill') ? llmCopyBtn() : '') + html;
340
341
  var wasNearBottom = el.scrollHeight - el.scrollTop - el.clientHeight < 150;
341
342
  el.appendChild(div);
@@ -728,7 +729,7 @@ async function ccExecuteAction(action, targetTabId) {
728
729
  status.innerHTML = '&#10003; ' + escHtml(action.type) + ': <strong>' + label + '</strong>';
729
730
  status.style.color = 'var(--green)';
730
731
  }
731
- ccAddMessage('assistant', status.outerHTML, false, targetTabId);
732
+ ccAddMessage('action', status.outerHTML, false, targetTabId);
732
733
  if (['dispatch','fix','implement','explore','review','test'].includes(action.type)) wakeEngine();
733
734
  refresh();
734
735
  return;
@@ -1194,7 +1195,7 @@ async function ccExecuteAction(action, targetTabId) {
1194
1195
  status.style.color = 'var(--red)';
1195
1196
  }
1196
1197
 
1197
- ccAddMessage('assistant', status.outerHTML, false, targetTabId);
1198
+ ccAddMessage('action', status.outerHTML, false, targetTabId);
1198
1199
  refresh();
1199
1200
  }
1200
1201
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.900",
3
+ "version": "0.1.901",
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"