@yemi33/minions 0.1.71 → 0.1.72

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.72 (2026-03-31)
4
+
5
+ ### Dashboard
6
+ - dashboard/js/live-stream.js
7
+
3
8
  ## 0.1.71 (2026-03-31)
4
9
 
5
10
  ### Dashboard
@@ -82,30 +82,9 @@ function startLiveStream(agentId) {
82
82
  const msgEl = document.getElementById('live-messages');
83
83
  if (msgEl) msgEl.innerHTML = '';
84
84
 
85
- liveEventSource = new EventSource('/api/agent/' + agentId + '/live-stream');
86
-
87
- liveEventSource.onmessage = function(e) {
88
- try {
89
- const chunk = JSON.parse(e.data);
90
- renderLiveChatMessage(chunk);
91
- } catch (e) { console.error('live-stream:', e.message); }
92
- };
93
-
94
- liveEventSource.addEventListener('done', function() {
95
- stopLiveStream();
96
- const steerBar = document.getElementById('live-steer-bar');
97
- if (steerBar) steerBar.style.display = 'none';
98
- const statusLabel = document.getElementById('live-status-label');
99
- if (statusLabel) { statusLabel.textContent = 'Completed'; statusLabel.style.color = 'var(--muted)'; }
100
- });
101
-
102
- liveEventSource.onerror = function() {
103
- // Fall back to polling on SSE error
104
- stopLiveStream();
105
- startLivePolling();
106
- const label = document.getElementById('live-status-label');
107
- if (label) label.textContent = 'Auto-refreshing every 3s';
108
- };
85
+ // Use polling instead of SSE to avoid HTTP/1.1 connection exhaustion
86
+ // (SSE holds a persistent connection, blocking CC and other API calls)
87
+ startLivePolling();
109
88
  }
110
89
 
111
90
  function stopLiveStream() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
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"