@yemi33/minions 0.1.2087 → 0.1.2089
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/dashboard/js/live-stream.js +6 -0
- package/dashboard/js/refresh.js +611 -164
- package/dashboard/js/render-agents.js +2 -0
- package/dashboard/js/render-dispatch.js +94 -6
- package/dashboard/js/render-inbox.js +82 -5
- package/dashboard/js/render-kb.js +9 -4
- package/dashboard/js/render-meetings.js +71 -11
- package/dashboard/js/render-pipelines.js +15 -5
- package/dashboard/js/render-plans.js +14 -9
- package/dashboard/js/render-prd.js +15 -6
- package/dashboard/js/render-prs.js +77 -9
- package/dashboard/js/render-schedules.js +8 -4
- package/dashboard/js/render-utils.js +33 -1
- package/dashboard/js/render-watches.js +23 -3
- package/dashboard/js/render-work-items.js +79 -9
- package/dashboard/js/settings.js +1 -5
- package/dashboard/js/state.js +9 -3
- package/dashboard/js/utils.js +4 -4
- package/dashboard-build.js +1 -1
- package/dashboard.js +400 -358
- package/docs/deprecated.json +0 -13
- package/docs/security.md +23 -0
- package/engine/ado.js +54 -54
- package/engine/cli.js +3 -38
- package/engine/db/index.js +1 -1
- package/engine/db/migrations/002-dispatches.js +1 -1
- package/engine/db/migrations/003-work-items.js +1 -1
- package/engine/db/migrations/004-pull-requests.js +1 -1
- package/engine/dispatch.js +8 -2
- package/engine/github.js +38 -38
- package/engine/lifecycle.js +192 -18
- package/engine/projects.js +92 -0
- package/engine/queries.js +61 -129
- package/engine/shared.js +85 -89
- package/engine/watches.js +5 -5
- package/engine.js +23 -34
- package/package.json +2 -2
|
@@ -127,6 +127,8 @@ async function refreshLiveOutput() {
|
|
|
127
127
|
const el = document.getElementById('live-messages');
|
|
128
128
|
if (el) {
|
|
129
129
|
const wasAtBottom = el.scrollHeight - el.scrollTop - el.clientHeight < 150;
|
|
130
|
+
const savedScrollTop = el.scrollTop;
|
|
131
|
+
const savedScrollLeft = el.scrollLeft;
|
|
130
132
|
const incrementalSafe = _currentAgentRuntime() !== 'copilot';
|
|
131
133
|
// Incremental render: only parse new content if text is an extension of previous
|
|
132
134
|
if (incrementalSafe && _lastRenderedText && text.length > _lastRenderedText.length && text.startsWith(_lastRenderedText.slice(0, 200))) {
|
|
@@ -137,6 +139,10 @@ async function refreshLiveOutput() {
|
|
|
137
139
|
}
|
|
138
140
|
_lastRenderedText = text;
|
|
139
141
|
if (wasAtBottom) el.scrollTop = el.scrollHeight;
|
|
142
|
+
else {
|
|
143
|
+
el.scrollTop = savedScrollTop;
|
|
144
|
+
el.scrollLeft = savedScrollLeft;
|
|
145
|
+
}
|
|
140
146
|
}
|
|
141
147
|
} catch (e) { console.error('live-stream reload:', e.message); }
|
|
142
148
|
}
|