@yemi33/minions 0.1.254 → 0.1.256
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 +5 -1
- package/dashboard/js/command-center.js +4 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.256 (2026-04-03)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- streaming CC responses — text appears as it arrives via SSE
|
|
7
7
|
|
|
8
|
+
### Fixes
|
|
9
|
+
- remove dead 'data.actions' code from streaming CC path — caused ReferenceError
|
|
10
|
+
- CC messages no longer show as "queued" after page refresh
|
|
11
|
+
|
|
8
12
|
## 0.1.253 (2026-04-03)
|
|
9
13
|
|
|
10
14
|
### Fixes
|
|
@@ -5,6 +5,8 @@ let _ccMessages = JSON.parse(localStorage.getItem('cc-messages') || '[]');
|
|
|
5
5
|
let _ccOpen = false;
|
|
6
6
|
let _ccSending = false;
|
|
7
7
|
let _ccQueue = [];
|
|
8
|
+
// Clear stale sending state on page load — SSE streams don't survive refresh
|
|
9
|
+
try { localStorage.removeItem('cc-sending'); } catch {}
|
|
8
10
|
|
|
9
11
|
function toggleCommandCenter() {
|
|
10
12
|
_ccOpen = !_ccOpen;
|
|
@@ -40,7 +42,8 @@ function ccRestoreMessages() {
|
|
|
40
42
|
// Restore "thinking" indicator if CC was mid-request when page refreshed
|
|
41
43
|
try {
|
|
42
44
|
const sendingState = JSON.parse(localStorage.getItem('cc-sending') || 'null');
|
|
43
|
-
|
|
45
|
+
// Only restore sending state if very recent (< 10s) — page refresh kills the SSE stream
|
|
46
|
+
if (sendingState?.sending && (Date.now() - sendingState.startedAt) < 10000) {
|
|
44
47
|
_ccSending = true;
|
|
45
48
|
const elapsed = Date.now() - sendingState.startedAt;
|
|
46
49
|
const thinking = document.createElement('div');
|
|
@@ -231,13 +234,6 @@ async function _ccDoSend(message, skipUserMsg) {
|
|
|
231
234
|
} catch { /* incomplete JSON */ }
|
|
232
235
|
}
|
|
233
236
|
}
|
|
234
|
-
|
|
235
|
-
// Execute actions
|
|
236
|
-
if (data.actions && data.actions.length > 0) {
|
|
237
|
-
for (const action of data.actions) {
|
|
238
|
-
await ccExecuteAction(action);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
237
|
} catch (e) {
|
|
242
238
|
clearInterval(ccTimer);
|
|
243
239
|
thinking.remove();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.256",
|
|
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"
|