agentgui 1.0.194 → 1.0.195

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.194",
3
+ "version": "1.0.195",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/static/index.html CHANGED
@@ -920,7 +920,6 @@
920
920
  }
921
921
 
922
922
  .sidebar.collapsed { transform: translateX(-100%); width: var(--sidebar-width); }
923
- .sidebar:not(.collapsed),
924
923
  .sidebar.mobile-visible { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.2); }
925
924
 
926
925
  .main-header { padding: 0 0.75rem; }
@@ -23,9 +23,13 @@
23
23
 
24
24
  if (!sidebar) return;
25
25
 
26
- var savedState = localStorage.getItem('sidebar-collapsed');
27
- if (savedState === 'true' && window.innerWidth > 768) {
26
+ if (window.innerWidth <= 768) {
28
27
  sidebar.classList.add('collapsed');
28
+ } else {
29
+ var savedState = localStorage.getItem('sidebar-collapsed');
30
+ if (savedState === 'true') {
31
+ sidebar.classList.add('collapsed');
32
+ }
29
33
  }
30
34
 
31
35
  function isMobile() { return window.innerWidth <= 768; }