@yemi33/minions 0.1.1604 → 0.1.1606

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.1604 (2026-04-28)
3
+ ## 0.1.1606 (2026-04-28)
4
4
 
5
5
  ### Features
6
6
  - match runtime tags to actual logos (pixel-crab Claude, mascot Copilot)
7
7
  - replace runtime text tag with inline SVG logos
8
8
 
9
9
  ### Fixes
10
+ - wrap CC Model input so its label/hint survive runtime hydration
11
+ - preserve reconnect stream state
10
12
  - preserve copilot cc action blocks
11
13
  - improve copilot command center streaming
12
14
  - guard runtime model races
@@ -612,7 +612,8 @@ async function _ccDoSend(message, skipUserMsg, forceTabId) {
612
612
  if (evt.sessionReset) {
613
613
  addMsg('system', '<div style="text-align:center;padding:6px 12px;font-size:11px;color:var(--muted);background:var(--surface2);border-radius:6px;margin:4px 0">Minions was updated — started a fresh session with latest context.</div>', false, activeTabId);
614
614
  }
615
- var rendered = renderMd(evt.text || streamedText || '');
615
+ var finalText = _ccMergeStreamText(streamedText, evt.text || '');
616
+ var rendered = renderMd(finalText || streamedText || '');
616
617
  addMsg('assistant', rendered + _ccElapsedFooter('{seconds}s'));
617
618
  if (evt.sessionId !== undefined) {
618
619
  var originTab = _ccTabs.find(function(t) { return t.id === activeTabId; });
@@ -683,8 +684,9 @@ async function _ccDoSend(message, skipUserMsg, forceTabId) {
683
684
  break;
684
685
  }
685
686
  reconnectAttempts++;
687
+ streamedText = '';
686
688
  toolsUsed = [];
687
- if (activeTab) activeTab._toolsUsed = [];
689
+ if (activeTab) { activeTab._streamedText = ''; activeTab._toolsUsed = []; }
688
690
  streamStatusNote = 'Connection interrupted — reattaching to the live response...';
689
691
  updateStreamDiv();
690
692
  await new Promise(function(r) { setTimeout(r, 1000 * reconnectAttempts); });
@@ -179,7 +179,12 @@ async function openSettings() {
179
179
  '</div>' +
180
180
  '<div>' +
181
181
  '<label style="font-size:10px;color:var(--muted);display:block;margin-bottom:2px">CC Model</label>' +
182
- '<input id="set-ccModel" value="' + escHtml(e.ccModel || '') + '" placeholder="(inherits Default Model)" style="width:100%;padding:4px 6px;background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:12px">' +
182
+ // Wrap the input in a dedicated container so loadModelsForRuntime
183
+ // (which does `wrap.innerHTML = …` on the input's parent) only
184
+ // swaps THIS element. Without the wrap it would wipe the label
185
+ // and the hint below, breaking vertical alignment with the
186
+ // sibling CC CLI / Effort columns.
187
+ '<div id="set-ccModel-wrap"><input id="set-ccModel" value="' + escHtml(e.ccModel || '') + '" placeholder="(inherits Default Model)" style="width:100%;padding:4px 6px;background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:12px"></div>' +
183
188
  '<div style="font-size:9px;color:var(--muted);margin-top:1px">Empty = inherit Default Model</div>' +
184
189
  '</div>' +
185
190
  '<div>' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1604",
3
+ "version": "0.1.1606",
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"