@yemi33/minions 0.1.490 → 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 +2 -1
- package/dashboard/js/command-center.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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
|
|
6
7
|
- steering feedback — toast notification, ensure polling resumes
|
|
7
8
|
- remove pipelines/ from git tracking — user-local config
|
|
8
9
|
|
|
@@ -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
|
|
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"
|