@yemi33/minions 0.1.489 → 0.1.491
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,8 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.491 (2026-04-07)
|
|
4
4
|
|
|
5
5
|
### Fixes
|
|
6
|
+
- CC respects user scroll position — no auto-scroll when reading history
|
|
7
|
+
- steering feedback — toast notification, ensure polling resumes
|
|
6
8
|
- remove pipelines/ from git tracking — user-local config
|
|
7
9
|
|
|
8
10
|
## 0.1.488 (2026-04-07)
|
|
@@ -117,8 +117,9 @@ function ccAddMessage(role, html, skipSave) {
|
|
|
117
117
|
div.style.cssText = 'padding:8px 12px;border-radius:8px;font-size:12px;line-height:1.6;max-width:95%;' +
|
|
118
118
|
(isUser ? 'background:var(--blue);color:#fff;align-self:flex-end' : 'background:var(--surface2);color:var(--text);align-self:flex-start;border:1px solid var(--border);position:relative');
|
|
119
119
|
div.innerHTML = (isAssistant && !html.includes('color:var(--red)') && !html.includes('cc-queued-pill') ? llmCopyBtn() : '') + html;
|
|
120
|
+
const wasNearBottom = el.scrollHeight - el.scrollTop - el.clientHeight < 150;
|
|
120
121
|
el.appendChild(div);
|
|
121
|
-
requestAnimationFrame(() => { el.scrollTop = el.scrollHeight; });
|
|
122
|
+
if (wasNearBottom || isUser) requestAnimationFrame(() => { el.scrollTop = el.scrollHeight; });
|
|
122
123
|
if (!skipSave) {
|
|
123
124
|
_ccMessages.push({ role, html });
|
|
124
125
|
ccSaveState();
|
|
@@ -160,7 +161,7 @@ function _renderQueueIndicator() {
|
|
|
160
161
|
el.innerHTML = escHtml(m) + '<div style="font-size:9px;opacity:0.7;font-style:italic;margin-top:2px">queued</div>';
|
|
161
162
|
msgs.appendChild(el);
|
|
162
163
|
});
|
|
163
|
-
msgs.scrollTop = msgs.scrollHeight;
|
|
164
|
+
if (msgs.scrollHeight - msgs.scrollTop - msgs.clientHeight < 150) msgs.scrollTop = msgs.scrollHeight;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
async function _ccDoSend(message, skipUserMsg) {
|
|
@@ -659,7 +660,7 @@ async function ccExecuteAction(action) {
|
|
|
659
660
|
}
|
|
660
661
|
|
|
661
662
|
msgs.appendChild(status);
|
|
662
|
-
msgs.scrollTop = msgs.scrollHeight;
|
|
663
|
+
if (msgs.scrollHeight - msgs.scrollTop - msgs.clientHeight < 150) msgs.scrollTop = msgs.scrollHeight;
|
|
663
664
|
refresh();
|
|
664
665
|
}
|
|
665
666
|
|
|
@@ -139,9 +139,10 @@ async function sendSteering() {
|
|
|
139
139
|
const el = document.getElementById('live-messages');
|
|
140
140
|
if (el) {
|
|
141
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"
|
|
142
|
+
'<div id="steer-pending" style="font-size:9px;opacity:0.7;margin-top:2px">\u2197 Sending...</div></div>';
|
|
143
143
|
el.scrollTop = el.scrollHeight;
|
|
144
144
|
}
|
|
145
|
+
showToast('cmd-toast', 'Steering message sent to ' + currentAgentId, true);
|
|
145
146
|
|
|
146
147
|
try {
|
|
147
148
|
const res = await fetch('/api/agents/steer', {
|
|
@@ -186,7 +187,13 @@ async function sendSteering() {
|
|
|
186
187
|
const pending = document.getElementById('steer-pending');
|
|
187
188
|
if (pending) { pending.textContent = '\u26A0 ' + e.message; pending.style.opacity = '1'; }
|
|
188
189
|
} finally {
|
|
189
|
-
|
|
190
|
+
// Resume polling — delay slightly so the [human-steering] line is in the log
|
|
191
|
+
setTimeout(() => {
|
|
192
|
+
_steerInFlight = false;
|
|
193
|
+
refreshLiveOutput();
|
|
194
|
+
// Ensure polling continues (may have stopped if tab switched during steering)
|
|
195
|
+
if (!livePollingInterval && currentTab === 'live') startLivePolling();
|
|
196
|
+
}, 1000);
|
|
190
197
|
}
|
|
191
198
|
}
|
|
192
199
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.491",
|
|
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"
|