Compare commits
2 Commits
burn/1144-
...
mimo/code/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c833d503e2 | ||
|
|
1b9c1a56f2 |
2
app.js
2
app.js
@@ -57,7 +57,7 @@ let performanceTier = 'high';
|
||||
|
||||
/** Escape HTML entities for safe innerHTML insertion. */
|
||||
function escHtml(s) {
|
||||
return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"');
|
||||
return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
|
||||
}
|
||||
|
||||
// ═══ HERMES WS STATE ═══
|
||||
|
||||
10
server.py
10
server.py
@@ -103,11 +103,13 @@ async def main():
|
||||
await stop
|
||||
|
||||
logger.info("Shutting down Nexus WS gateway...")
|
||||
# Close all client connections
|
||||
if clients:
|
||||
logger.info(f"Closing {len(clients)} active connections...")
|
||||
close_tasks = [client.close() for client in clients]
|
||||
# Close any remaining client connections (handlers may have already cleaned up)
|
||||
remaining = {c for c in clients if c.open}
|
||||
if remaining:
|
||||
logger.info(f"Closing {len(remaining)} active connections...")
|
||||
close_tasks = [client.close() for client in remaining]
|
||||
await asyncio.gather(*close_tasks, return_exceptions=True)
|
||||
clients.clear()
|
||||
|
||||
logger.info("Shutdown complete.")
|
||||
|
||||
|
||||
22
style.css
22
style.css
@@ -1346,6 +1346,22 @@ canvas#nexus-canvas {
|
||||
width: 240px;
|
||||
bottom: 180px;
|
||||
}
|
||||
.gofai-hud {
|
||||
left: 8px;
|
||||
gap: 6px;
|
||||
}
|
||||
.hud-panel {
|
||||
width: 220px;
|
||||
padding: 6px;
|
||||
}
|
||||
.panel-content {
|
||||
max-height: 80px;
|
||||
}
|
||||
.memory-feed {
|
||||
width: 260px;
|
||||
left: 8px;
|
||||
bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -1357,6 +1373,12 @@ canvas#nexus-canvas {
|
||||
.hud-agent-log {
|
||||
display: none;
|
||||
}
|
||||
.gofai-hud {
|
||||
display: none;
|
||||
}
|
||||
.memory-feed {
|
||||
display: none;
|
||||
}
|
||||
.hud-location {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user