@yemi33/minions 0.1.746 → 0.1.748

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.746 (2026-04-09)
3
+ ## 0.1.748 (2026-04-09)
4
4
 
5
5
  ### Features
6
6
  - CC multi-tab conversations with session resume
7
7
 
8
8
  ### Fixes
9
+ - move + button after tabs, style as folder tab
10
+ - clear stale sessionId on resume failure, folder-style tab UI
9
11
  - CC tabs use per-tab sessions, not shared global session
10
12
 
11
13
  ## 0.1.744 (2026-04-09)
@@ -209,7 +209,7 @@ function ccShowAllConversations() {
209
209
  function ccRenderTabBar() {
210
210
  var bar = document.getElementById('cc-tab-bar');
211
211
  if (!bar) return;
212
- var html = '<button onclick="ccNewTab()" style="background:none;border:1px solid var(--border);color:var(--blue);font-size:11px;padding:2px 8px;border-radius:4px;cursor:pointer;white-space:nowrap;flex-shrink:0" title="New tab">+</button>';
212
+ var html = '';
213
213
  for (var i = 0; i < _ccTabs.length; i++) {
214
214
  var t = _ccTabs[i];
215
215
  var isActive = t.id === _ccActiveTabId;
@@ -218,7 +218,8 @@ function ccRenderTabBar() {
218
218
  html += '<span class="cc-tab-close" onclick="event.stopPropagation();ccCloseTab(\'' + t.id + '\')">&times;</span>';
219
219
  html += '</div>';
220
220
  }
221
- html += '<button id="cc-all-btn" onclick="ccShowAllConversations()" style="background:none;border:1px solid var(--border);color:var(--muted);font-size:11px;padding:2px 8px;border-radius:4px;cursor:pointer;white-space:nowrap;flex-shrink:0;margin-left:auto" title="All conversations">&#x25BC;</button>';
221
+ html += '<div class="cc-tab" onclick="ccNewTab()" title="New tab" style="color:var(--muted);padding:4px 8px">+</div>';
222
+ html += '<button id="cc-all-btn" onclick="ccShowAllConversations()" style="background:none;border:none;color:var(--muted);font-size:11px;padding:4px 6px;cursor:pointer;white-space:nowrap;flex-shrink:0;margin-left:auto" title="All conversations">&#x25BC;</button>';
222
223
  bar.innerHTML = html;
223
224
  }
224
225
 
@@ -500,9 +501,9 @@ async function _ccDoSend(message, skipUserMsg) {
500
501
  var ccElapsed = Math.round((Date.now() - ccStartTime) / 1000);
501
502
  var rendered = renderMd(evt.text || streamedText || '');
502
503
  ccAddMessage('assistant', rendered + '<div style="font-size:9px;color:var(--muted);margin-top:6px;display:flex;justify-content:flex-end;padding-right:30px">' + ccElapsed + 's</div>');
503
- if (evt.sessionId) {
504
+ if (evt.sessionId !== undefined) {
504
505
  var currentTab = _ccActiveTab();
505
- if (currentTab) { currentTab.sessionId = evt.sessionId; }
506
+ if (currentTab) { currentTab.sessionId = evt.sessionId || null; }
506
507
  ccSaveState(); ccUpdateSessionIndicator();
507
508
  }
508
509
  if (evt.actions && evt.actions.length > 0) {
@@ -530,9 +531,9 @@ async function _ccDoSend(message, skipUserMsg) {
530
531
  var ccElapsed2 = Math.round((Date.now() - ccStartTime) / 1000);
531
532
  var rendered2 = renderMd(revt.text || streamedText || '');
532
533
  ccAddMessage('assistant', rendered2 + '<div style="font-size:9px;color:var(--muted);margin-top:6px;display:flex;justify-content:flex-end;padding-right:30px">' + ccElapsed2 + 's</div>');
533
- if (revt.sessionId) {
534
+ if (revt.sessionId !== undefined) {
534
535
  var currentTab2 = _ccActiveTab();
535
- if (currentTab2) { currentTab2.sessionId = revt.sessionId; }
536
+ if (currentTab2) { currentTab2.sessionId = revt.sessionId || null; }
536
537
  ccSaveState(); ccUpdateSessionIndicator();
537
538
  }
538
539
  if (revt.actions && revt.actions.length > 0) {
@@ -621,9 +621,10 @@
621
621
  @keyframes notifPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
622
622
 
623
623
  /* Command Center tab bar */
624
- .cc-tab { padding: 2px 8px; font-size: 10px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface2); color: var(--muted); cursor: pointer; white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
625
- .cc-tab.active { color: var(--blue); border-color: var(--blue); background: rgba(56,139,253,0.1); }
626
- .cc-tab-close { margin-left: 4px; opacity: 0.5; cursor: pointer; font-size: 12px; line-height: 1; }
624
+ .cc-tab { padding: 4px 10px; font-size: 10px; border: 1px solid var(--border); border-bottom: none; border-radius: 6px 6px 0 0; background: var(--surface2); color: var(--muted); cursor: pointer; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; margin-bottom: -1px; position: relative; }
625
+ .cc-tab.active { color: var(--text); background: var(--bg); border-color: var(--border); z-index: 1; font-weight: 600; }
626
+ .cc-tab-close { margin-left: 4px; opacity: 0; cursor: pointer; font-size: 12px; line-height: 1; }
627
+ .cc-tab:hover .cc-tab-close { opacity: 0.5; }
627
628
  .cc-tab-close:hover { opacity: 1; color: var(--red); }
628
629
 
629
630
  /* Command Center resize handle */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.746",
3
+ "version": "0.1.748",
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"