agentgui 1.0.896 → 1.0.898

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.896",
3
+ "version": "1.0.898",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "electron/main.js",
package/static/app.js CHANGED
@@ -236,3 +236,26 @@ const BASE_URL = window.__BASE_URL || '';
236
236
  if (overlay) overlay.addEventListener('click', close);
237
237
  document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && isMobile()) close(); });
238
238
  })();
239
+
240
+ (function initNavRail() {
241
+ const archivedRailBtn = document.getElementById('viewArchivedBtnRail');
242
+ const archivedBtn = document.getElementById('viewArchivedBtn');
243
+ if (archivedRailBtn && archivedBtn) {
244
+ archivedRailBtn.addEventListener('click', () => archivedBtn.click());
245
+ }
246
+
247
+ const toolsRailBtn = document.getElementById('toolsManagerBtnRail');
248
+ const toolsBtn = document.getElementById('toolsManagerBtn');
249
+ if (toolsRailBtn && toolsBtn) {
250
+ toolsRailBtn.addEventListener('click', () => toolsBtn.click());
251
+ }
252
+
253
+ const headerSearch = document.getElementById('headerSearchInput');
254
+ const sidebarSearch = document.getElementById('sidebarSearchInput');
255
+ if (headerSearch && sidebarSearch) {
256
+ headerSearch.addEventListener('input', () => {
257
+ sidebarSearch.value = headerSearch.value;
258
+ sidebarSearch.dispatchEvent(new Event('input'));
259
+ });
260
+ }
261
+ })();