@yemi33/minions 0.1.424 → 0.1.426
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 +3 -1
- package/dashboard/js/live-stream.js +15 -6
- package/package.json +1 -1
- package/playbooks/plan-to-prd.md +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.426 (2026-04-06)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- version check interval on settings page
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
- Convert remaining lifecycle.js safeWrite calls to mutateJsonFileLocked
|
|
12
12
|
|
|
13
13
|
### Fixes
|
|
14
|
+
- live output no longer clobbered by steering send
|
|
15
|
+
- plan-to-prd playbook — don't include verify item, engine adds it
|
|
14
16
|
- steering messages right-aligned with immediate feedback
|
|
15
17
|
- CC retry now drains queued messages after success
|
|
16
18
|
- address review feedback — pipeline.js socket leak and magic numbers
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
let livePollingInterval = null;
|
|
4
4
|
let liveEventSource = null;
|
|
5
|
+
let _steerInFlight = false;
|
|
5
6
|
|
|
6
7
|
function renderLiveChatMessage(raw) {
|
|
7
8
|
const el = document.getElementById('live-messages');
|
|
@@ -43,7 +44,8 @@ function renderLiveChatMessage(raw) {
|
|
|
43
44
|
// Human steering messages
|
|
44
45
|
if (trimmed.startsWith('[human-steering]')) {
|
|
45
46
|
const msg = trimmed.replace('[human-steering] ', '');
|
|
46
|
-
el.innerHTML += '<div style="align-self:flex-end;background:var(--blue);color:#fff;padding:6px 12px;border-radius:12px 12px 2px 12px;max-width:80%;margin:4px 0;font-size:12px">' + escHtml(msg) +
|
|
47
|
+
el.innerHTML += '<div style="align-self:flex-end;background:var(--blue);color:#fff;padding:6px 12px;border-radius:12px 12px 2px 12px;max-width:80%;margin:4px 0;font-size:12px">' + escHtml(msg) +
|
|
48
|
+
'<div style="font-size:9px;opacity:0.7;margin-top:2px">\u2713 Queued</div></div>';
|
|
47
49
|
continue;
|
|
48
50
|
}
|
|
49
51
|
|
|
@@ -111,6 +113,7 @@ function stopLivePolling() {
|
|
|
111
113
|
|
|
112
114
|
async function refreshLiveOutput() {
|
|
113
115
|
if (!currentAgentId || currentTab !== 'live') { stopLivePolling(); return; }
|
|
116
|
+
if (_steerInFlight) return; // Don't clobber immediate steering feedback
|
|
114
117
|
try {
|
|
115
118
|
const text = await fetch('/api/agent/' + currentAgentId + '/live?tail=16384').then(r => r.text());
|
|
116
119
|
const el = document.getElementById('live-messages');
|
|
@@ -129,11 +132,14 @@ async function sendSteering() {
|
|
|
129
132
|
const message = input.value.trim();
|
|
130
133
|
input.value = '';
|
|
131
134
|
|
|
135
|
+
// Pause polling so the immediate feedback isn't clobbered
|
|
136
|
+
_steerInFlight = true;
|
|
137
|
+
|
|
132
138
|
// Immediate feedback — show the message right away
|
|
133
139
|
const el = document.getElementById('live-messages');
|
|
134
140
|
if (el) {
|
|
135
|
-
el.innerHTML += '<div style="align-self:flex-end;background:var(--blue);color:#fff;padding:6px 12px;border-radius:12px 12px 2px 12px;max-width:80%;margin:4px 0;font-size:12px">' + escHtml(message) +
|
|
136
|
-
|
|
141
|
+
el.innerHTML += '<div style="align-self:flex-end;background:var(--blue);color:#fff;padding:6px 12px;border-radius:12px 12px 2px 12px;max-width:80%;margin:4px 0;font-size:12px">' + escHtml(message) +
|
|
142
|
+
'<div id="steer-pending" style="font-size:9px;opacity:0.7;margin-top:2px">Sending...</div></div>';
|
|
137
143
|
el.scrollTop = el.scrollHeight;
|
|
138
144
|
}
|
|
139
145
|
|
|
@@ -145,13 +151,16 @@ async function sendSteering() {
|
|
|
145
151
|
const pending = document.getElementById('steer-pending');
|
|
146
152
|
if (!res.ok) {
|
|
147
153
|
const d = await res.json().catch(() => ({}));
|
|
148
|
-
if (pending) { pending.textContent = '\u26A0 Failed: ' + (d.error || 'unknown'); pending.style.
|
|
154
|
+
if (pending) { pending.textContent = '\u26A0 Failed: ' + (d.error || 'unknown'); pending.style.opacity = '1'; }
|
|
149
155
|
} else {
|
|
150
|
-
if (pending)
|
|
156
|
+
if (pending) pending.textContent = '\u2713 Queued — agent will see this on next turn';
|
|
151
157
|
}
|
|
152
158
|
} catch (e) {
|
|
153
159
|
const pending = document.getElementById('steer-pending');
|
|
154
|
-
if (pending) { pending.textContent = '\u26A0 ' + e.message; pending.style.
|
|
160
|
+
if (pending) { pending.textContent = '\u26A0 ' + e.message; pending.style.opacity = '1'; }
|
|
161
|
+
} finally {
|
|
162
|
+
// Resume polling after a short delay so the log has the [human-steering] line
|
|
163
|
+
setTimeout(() => { _steerInFlight = false; refreshLiveOutput(); }, 500);
|
|
155
164
|
}
|
|
156
165
|
}
|
|
157
166
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.426",
|
|
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"
|
package/playbooks/plan-to-prd.md
CHANGED
|
@@ -84,6 +84,7 @@ When using `parallel`:
|
|
|
84
84
|
Rules for items:
|
|
85
85
|
- IDs must be `P-<uuid>` format (e.g. `P-a3f9b2c1`) — globally unique, never sequential
|
|
86
86
|
- **`status` is always `"missing"`** — do not set `done`, `complete`, `implemented`, or any other value, even if you observe active PRs or completed work in the codebase. Status is exclusively engine-managed after the PRD is written. Pre-setting any other status causes items to be silently skipped by the engine and breaks dependency resolution for all downstream items.
|
|
87
|
+
- **Do NOT include a "verify" or "test" or "integration test" item** — the engine automatically creates a verify task when all PRD items are done. Adding one manually creates a duplicate that blocks plan completion.
|
|
87
88
|
- **`project` field is REQUIRED** — set it to the project name where the code changes go (e.g., `"OfficeAgent"`, `"office-bohemia"`). Cross-repo plans must route each item to the correct project. The engine materializes items into that project's work queue.
|
|
88
89
|
- `depends_on` lists IDs of items that must be done first
|
|
89
90
|
- Keep descriptions actionable — an implementing agent should know exactly what to build
|