@yemi33/minions 0.1.863 → 0.1.865
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/modal-qa.js +2 -2
- package/engine.js +10 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.865 (2026-04-11)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- optimistic running state on pipeline Run Now click
|
|
7
7
|
|
|
8
8
|
### Fixes
|
|
9
|
+
- always show doc-chat expand bar when thread is collapsed
|
|
10
|
+
- poll for old process exit before steering resume (replaces fixed delay)
|
|
9
11
|
- add 3s delay before steering resume to let old process tree exit
|
|
10
12
|
- set steering state before killImmediate to prevent race
|
|
11
13
|
- pipeline race condition, delete refresh, abort error logging
|
package/dashboard/js/modal-qa.js
CHANGED
|
@@ -122,7 +122,7 @@ function _initQaSession() {
|
|
|
122
122
|
var wrap = document.getElementById('modal-qa-thread-wrap');
|
|
123
123
|
var expandBar = document.getElementById('qa-expand-bar');
|
|
124
124
|
if (wrap) wrap.style.display = 'none';
|
|
125
|
-
if (expandBar) expandBar.style.display = '
|
|
125
|
+
if (expandBar) expandBar.style.display = '';
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -134,7 +134,7 @@ function clearQaConversation() {
|
|
|
134
134
|
var wrap = document.getElementById('modal-qa-thread-wrap');
|
|
135
135
|
var expandBar = document.getElementById('qa-expand-bar');
|
|
136
136
|
if (wrap) wrap.style.display = 'none';
|
|
137
|
-
if (expandBar) expandBar.style.display = '
|
|
137
|
+
if (expandBar) expandBar.style.display = '';
|
|
138
138
|
if (_qaSessionKey) _qaSessions.delete(_qaSessionKey);
|
|
139
139
|
}
|
|
140
140
|
|
package/engine.js
CHANGED
|
@@ -732,9 +732,16 @@ async function spawnAgent(dispatchItem, config) {
|
|
|
732
732
|
// Write status to live output so the UI shows the agent is resuming (not stuck)
|
|
733
733
|
try { fs.appendFileSync(liveOutputPath, `\n[steering] Resuming session with your message... (this may take 10-30s)\n`); } catch {}
|
|
734
734
|
|
|
735
|
-
// Wait for the old process tree to fully exit
|
|
736
|
-
// before child processes
|
|
737
|
-
|
|
735
|
+
// Wait for the old process tree to fully exit before resuming.
|
|
736
|
+
// taskkill /F /T returns before child processes release session locks.
|
|
737
|
+
// Poll until the PID is gone (max 10s, check every 500ms).
|
|
738
|
+
const oldPid = procInfo.proc?.pid;
|
|
739
|
+
if (oldPid) {
|
|
740
|
+
for (let i = 0; i < 20; i++) {
|
|
741
|
+
try { process.kill(oldPid, 0); } catch { break; } // throws if PID doesn't exist = dead
|
|
742
|
+
await new Promise(r => setTimeout(r, 500));
|
|
743
|
+
}
|
|
744
|
+
}
|
|
738
745
|
|
|
739
746
|
// Write new prompt with steering message
|
|
740
747
|
const steerPrompt = `Message from your human teammate:\n\n${steerMsg}\n\nRespond to this, then continue working on your current task.`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.865",
|
|
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"
|