agentgui 1.0.228 → 1.0.230
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/package.json +1 -1
- package/server.js +7 -14
- package/static/index.html +2 -1
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -244,6 +244,7 @@ function discoverAgents() {
|
|
|
244
244
|
{ cmd: 'claude', id: 'claude-code', name: 'Claude Code', icon: 'C' },
|
|
245
245
|
{ cmd: 'opencode', id: 'opencode', name: 'OpenCode', icon: 'O' },
|
|
246
246
|
{ cmd: 'gemini', id: 'gemini', name: 'Gemini CLI', icon: 'G' },
|
|
247
|
+
{ cmd: 'kilo', id: 'kilo', name: 'Kilo Code', icon: 'K' },
|
|
247
248
|
{ cmd: 'goose', id: 'goose', name: 'Goose', icon: 'g' },
|
|
248
249
|
{ cmd: 'openhands', id: 'openhands', name: 'OpenHands', icon: 'H' },
|
|
249
250
|
{ cmd: 'augment', id: 'augment', name: 'Augment Code', icon: 'A' },
|
|
@@ -2626,36 +2627,28 @@ function onServerReady() {
|
|
|
2626
2627
|
console.log(`Agents: ${discoveredAgents.map(a => a.name).join(', ') || 'none'}`);
|
|
2627
2628
|
console.log(`Hot reload: ${watch ? 'on' : 'off'}`);
|
|
2628
2629
|
|
|
2629
|
-
// Clean up empty conversations on startup
|
|
2630
2630
|
const deletedCount = queries.cleanupEmptyConversations();
|
|
2631
2631
|
if (deletedCount > 0) {
|
|
2632
2632
|
console.log(`Cleaned up ${deletedCount} empty conversation(s) on startup`);
|
|
2633
2633
|
}
|
|
2634
2634
|
|
|
2635
|
-
// Recover stale active sessions from previous run
|
|
2636
2635
|
recoverStaleSessions();
|
|
2637
2636
|
|
|
2638
|
-
// Resume interrupted streams after recovery
|
|
2639
2637
|
resumeInterruptedStreams().catch(err => console.error('[RESUME] Startup error:', err.message));
|
|
2640
2638
|
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
console.error('[MODELS] Download error:', err.message);
|
|
2648
|
-
});
|
|
2649
|
-
}, 2000);
|
|
2639
|
+
ensureModelsDownloaded().then(ok => {
|
|
2640
|
+
if (ok) console.log('[MODELS] Speech models ready');
|
|
2641
|
+
else console.log('[MODELS] Speech model download failed');
|
|
2642
|
+
}).catch(err => {
|
|
2643
|
+
console.error('[MODELS] Download error:', err.message);
|
|
2644
|
+
});
|
|
2650
2645
|
|
|
2651
2646
|
getSpeech().then(s => s.preloadTTS()).catch(e => debugLog('[TTS] Preload failed: ' + e.message));
|
|
2652
2647
|
|
|
2653
2648
|
performAutoImport();
|
|
2654
2649
|
|
|
2655
|
-
// Then run it every 30 seconds (constant automatic importing)
|
|
2656
2650
|
setInterval(performAutoImport, 30000);
|
|
2657
2651
|
|
|
2658
|
-
// Agent health check every 30 seconds
|
|
2659
2652
|
setInterval(performAgentHealthCheck, 30000);
|
|
2660
2653
|
|
|
2661
2654
|
}
|
package/static/index.html
CHANGED
|
@@ -538,7 +538,6 @@
|
|
|
538
538
|
padding: 0.75rem 2rem;
|
|
539
539
|
display: flex;
|
|
540
540
|
flex-direction: column;
|
|
541
|
-
min-height: 100%;
|
|
542
541
|
}
|
|
543
542
|
|
|
544
543
|
#output {
|
|
@@ -1309,6 +1308,8 @@
|
|
|
1309
1308
|
/* ===== RESPONSIVE: TABLET ===== */
|
|
1310
1309
|
@media (min-width: 769px) and (max-width: 1024px) {
|
|
1311
1310
|
:root { --sidebar-width: 260px; }
|
|
1311
|
+
.messages-wrapper { padding: 0.5rem 1rem; }
|
|
1312
|
+
.input-section { padding: 0.5rem; }
|
|
1312
1313
|
}
|
|
1313
1314
|
|
|
1314
1315
|
/* ===== SVG ICON SIZING (Tailwind utilities not loaded) ===== */
|