@yemi33/minions 0.1.472 → 0.1.473
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/render-agents.js +5 -2
- package/engine/queries.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.473 (2026-04-07)
|
|
4
4
|
|
|
5
5
|
### Fixes
|
|
6
|
+
- agent card click feels instant — show panel before API loads
|
|
6
7
|
- steering audit — prevent double-kill, clean up temp files, fix leaks
|
|
7
8
|
- steering resume improvements — better error logging, heartbeat restart
|
|
8
9
|
- prevent slow work item modal on large descriptions
|
|
@@ -33,6 +33,11 @@ async function openAgentDetail(id) {
|
|
|
33
33
|
'<span style="color:var(--muted)">' + escHtml(agent.lastAction) + '</span>' +
|
|
34
34
|
(agent.resultSummary ? '<div style="margin-top:4px;font-size:11px;color:var(--text);line-height:1.4">' + renderMd(agent.resultSummary.slice(0, 300)) + '</div>' : '');
|
|
35
35
|
|
|
36
|
+
// Show panel immediately with loading state — don't wait for API
|
|
37
|
+
document.getElementById('detail-content').innerHTML = '<div style="padding:24px;text-align:center;color:var(--muted)">Loading...</div>';
|
|
38
|
+
document.getElementById('detail-overlay').classList.add('open');
|
|
39
|
+
document.getElementById('detail-panel').classList.add('open');
|
|
40
|
+
|
|
36
41
|
try {
|
|
37
42
|
const detail = await safeFetch('/api/agent/' + id).then(r => r.json());
|
|
38
43
|
renderDetailTabs(detail);
|
|
@@ -46,8 +51,6 @@ async function openAgentDetail(id) {
|
|
|
46
51
|
'</div>';
|
|
47
52
|
}
|
|
48
53
|
|
|
49
|
-
document.getElementById('detail-overlay').classList.add('open');
|
|
50
|
-
document.getElementById('detail-panel').classList.add('open');
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
window.MinionsAgents = { renderAgents, openAgentDetail };
|
package/engine/queries.js
CHANGED
|
@@ -254,7 +254,9 @@ function getAgentDetail(id) {
|
|
|
254
254
|
const agentDir = path.join(AGENTS_DIR, id);
|
|
255
255
|
const charter = safeRead(path.join(agentDir, 'charter.md')) || 'No charter found.';
|
|
256
256
|
const history = safeRead(path.join(agentDir, 'history.md')) || 'No history yet.';
|
|
257
|
-
|
|
257
|
+
// Only send last 50KB of output.log — full logs can be megabytes and slow down the API
|
|
258
|
+
let outputLog = safeRead(path.join(agentDir, 'output.log')) || '';
|
|
259
|
+
if (outputLog.length > 50000) outputLog = '…(truncated — showing last 50KB)\n\n' + outputLog.slice(-50000);
|
|
258
260
|
|
|
259
261
|
const statusData = getAgentStatus(id); // derives from dispatch.json
|
|
260
262
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.473",
|
|
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"
|