@yemi33/minions 0.1.1050 → 0.1.1051
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 +2 -1
- package/dashboard/js/command-center.js +1 -36
- package/dashboard/styles.css +0 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.1051 (2026-04-17)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- seed realActivityMap at spawn time, stamp pid in live-output (#1200)
|
|
7
7
|
|
|
8
8
|
### Fixes
|
|
9
|
+
- remove command center chevron
|
|
9
10
|
- stamp live-output.log stub before spawn (#1198)
|
|
10
11
|
- harden settings save and migrate pr poll config
|
|
11
12
|
|
|
@@ -231,40 +231,6 @@ function ccCloseTab(id) {
|
|
|
231
231
|
ccSaveState();
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
function ccShowAllConversations() {
|
|
235
|
-
var dropdown = document.getElementById('cc-all-conversations');
|
|
236
|
-
if (dropdown) { dropdown.remove(); return; } // toggle off
|
|
237
|
-
dropdown = document.createElement('div');
|
|
238
|
-
dropdown.id = 'cc-all-conversations';
|
|
239
|
-
dropdown.style.cssText = 'position:absolute;top:100%;left:0;right:0;background:var(--surface);border:1px solid var(--border);border-top:none;max-height:300px;overflow-y:auto;z-index:360;box-shadow:0 4px 12px rgba(0,0,0,0.3)';
|
|
240
|
-
var html = '';
|
|
241
|
-
for (var i = _ccTabs.length - 1; i >= 0; i--) {
|
|
242
|
-
var t = _ccTabs[i];
|
|
243
|
-
var isActive = t.id === _ccActiveTabId;
|
|
244
|
-
var preview = '';
|
|
245
|
-
if (t.messages.length > 0) {
|
|
246
|
-
var lastMsg = t.messages[t.messages.length - 1];
|
|
247
|
-
var tmp = document.createElement('div');
|
|
248
|
-
tmp.innerHTML = lastMsg.html;
|
|
249
|
-
preview = (tmp.textContent || tmp.innerText || '').slice(0, 60);
|
|
250
|
-
}
|
|
251
|
-
html += '<div style="padding:8px 12px;border-bottom:1px solid var(--border);cursor:pointer;display:flex;align-items:center;gap:8px' + (isActive ? ';background:rgba(56,139,253,0.1)' : '') + '" onclick="ccSwitchTab(\'' + t.id + '\');document.getElementById(\'cc-all-conversations\')?.remove()">';
|
|
252
|
-
html += '<div style="flex:1;min-width:0"><div style="font-size:11px;font-weight:600;color:' + (isActive ? 'var(--blue)' : 'var(--text)') + ';white-space:nowrap;overflow:hidden;text-overflow:ellipsis">' + escHtml(t.title) + '</div>';
|
|
253
|
-
if (preview) html += '<div style="font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px">' + escHtml(preview) + '</div>';
|
|
254
|
-
html += '</div>';
|
|
255
|
-
html += '<span style="font-size:10px;color:var(--muted)">' + t.messages.length + ' msg</span>';
|
|
256
|
-
html += '<button onclick="event.stopPropagation();ccCloseTab(\'' + t.id + '\');document.getElementById(\'cc-all-conversations\')?.remove();ccShowAllConversations()" style="background:none;border:none;color:var(--muted);cursor:pointer;font-size:12px;padding:2px 4px">×</button>';
|
|
257
|
-
html += '</div>';
|
|
258
|
-
}
|
|
259
|
-
if (_ccTabs.length === 0) html = '<div style="padding:12px;color:var(--muted);font-size:11px;text-align:center">No conversations yet</div>';
|
|
260
|
-
dropdown.innerHTML = html;
|
|
261
|
-
var tabBar = document.getElementById('cc-tab-bar');
|
|
262
|
-
if (tabBar) { tabBar.style.position = 'relative'; tabBar.appendChild(dropdown); }
|
|
263
|
-
// Close on click outside
|
|
264
|
-
function closeDropdown(e) { if (!dropdown.contains(e.target) && e.target.id !== 'cc-all-btn') { dropdown.remove(); document.removeEventListener('click', closeDropdown); } }
|
|
265
|
-
setTimeout(function() { document.addEventListener('click', closeDropdown); }, 0);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
234
|
function ccRenderTabBar() {
|
|
269
235
|
var bar = document.getElementById('cc-tab-bar');
|
|
270
236
|
if (!bar) return;
|
|
@@ -280,7 +246,6 @@ function ccRenderTabBar() {
|
|
|
280
246
|
}
|
|
281
247
|
html += '<div class="cc-tab cc-tab-new" onclick="ccNewTab()" title="New tab">+</div>';
|
|
282
248
|
html += '</div>';
|
|
283
|
-
html += '<div class="cc-tab-actions"><button id="cc-all-btn" class="cc-all-btn" onclick="ccShowAllConversations()" title="All conversations">▼</button></div>';
|
|
284
249
|
bar.innerHTML = html;
|
|
285
250
|
}
|
|
286
251
|
|
|
@@ -1335,4 +1300,4 @@ if (document.readyState === 'loading') {
|
|
|
1335
1300
|
ccInitResize();
|
|
1336
1301
|
}
|
|
1337
1302
|
|
|
1338
|
-
window.MinionsCC = { toggleCommandCenter, ccNewSession, ccNewTab, ccSwitchTab, ccCloseTab,
|
|
1303
|
+
window.MinionsCC = { toggleCommandCenter, ccNewSession, ccNewTab, ccSwitchTab, ccCloseTab, ccRenderTabBar, ccRestoreMessages, ccSaveState, ccUpdateSessionIndicator, ccAddMessage, ccSend, ccAbort, ccExecuteAction };
|
package/dashboard/styles.css
CHANGED
|
@@ -626,9 +626,6 @@
|
|
|
626
626
|
|
|
627
627
|
/* Command Center tab bar */
|
|
628
628
|
.cc-tab-scroll { display: flex; gap: 4px; align-items: center; overflow-x: auto; overflow-y: hidden; flex: 1 1 auto; min-width: 0; scrollbar-width: thin; }
|
|
629
|
-
.cc-tab-actions { display: flex; align-items: center; flex: 0 0 auto; margin-left: auto; position: relative; z-index: 1; background: var(--bg); }
|
|
630
|
-
.cc-all-btn { background: none; border: none; color: var(--muted); font-size: 11px; padding: 4px 6px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
|
|
631
|
-
.cc-all-btn:hover { color: var(--text); }
|
|
632
629
|
.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; display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; margin-bottom: -1px; position: relative; }
|
|
633
630
|
.cc-tab-new { color: var(--muted); padding: 4px 8px; }
|
|
634
631
|
.cc-tab-text { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1051",
|
|
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"
|