agentgui 1.0.373 → 1.0.375

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.373",
3
+ "version": "1.0.375",
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
@@ -7,17 +7,16 @@
7
7
  <title>AgentGUI</title>
8
8
  <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='20' fill='%233b82f6'/%3E%3Ctext x='50' y='68' font-size='50' font-family='sans-serif' font-weight='bold' fill='white' text-anchor='middle'%3EG%3C/text%3E%3C/svg%3E">
9
9
 
10
- <link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
11
- <link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin>
12
- <link href="https://cdn.jsdelivr.net/npm/rippleui@1.12.1/dist/css/styles.css" rel="stylesheet">
13
- <link rel="preload" href="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-dark.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
14
- <noscript><link href="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-dark.css" rel="stylesheet"></noscript>
15
- <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/github-dark.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
16
- <noscript><link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/github-dark.min.css" rel="stylesheet"></noscript>
17
- <script defer src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
18
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/css/xterm.min.css">
19
- <script defer src="https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/lib/xterm.min.js"></script>
20
- <script defer src="https://cdn.jsdelivr.net/npm/@xterm/addon-fit@0.10.0/lib/addon-fit.min.js"></script>
10
+
11
+
12
+ <link href="vendor/rippleui.css" rel="stylesheet">
13
+ <link rel="preload" href="vendor/prism-dark.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
14
+ <noscript><link href="vendor/prism-dark.css" rel="stylesheet"></noscript>
15
+ <link rel="preload" href="vendor/highlight-js.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
16
+ <script defer src="vendor/highlight.min.js"></script>
17
+ <link rel="stylesheet" href="vendor/xterm.css">
18
+ <script defer src="vendor/xterm.min.js"></script>
19
+ <script defer src="vendor/xterm-addon-fit.min.js"></script>
21
20
 
22
21
  <style>
23
22
  *, *::before, *::after { box-sizing: border-box; }
@@ -205,7 +205,7 @@ class AgentGUIClient {
205
205
  // Parse path-based URL: /conversations/<conversationId>
206
206
  const pathMatch = window.location.pathname.match(/\/conversations\/([^\/]+)$/);
207
207
  const conversationId = pathMatch ? pathMatch[1] : null;
208
-
208
+
209
209
  // Session ID still in query params
210
210
  const params = new URLSearchParams(window.location.search);
211
211
  const sessionId = params.get('session');
@@ -216,7 +216,12 @@ class AgentGUIClient {
216
216
  this.routerState.currentSessionId = sessionId;
217
217
  }
218
218
  console.log('Restoring conversation from URL:', conversationId);
219
- this.loadConversationMessages(conversationId);
219
+ this.state.currentConversation = conversationId;
220
+ if (window.conversationManager) {
221
+ window.conversationManager.select(conversationId);
222
+ } else {
223
+ this.loadConversationMessages(conversationId);
224
+ }
220
225
  }
221
226
  }
222
227
 
@@ -0,0 +1,10 @@
1
+ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
2
+ Theme: GitHub Dark
3
+ Description: Dark theme as seen on github.com
4
+ Author: github.com
5
+ Maintainer: @Hirse
6
+ Updated: 2021-05-15
7
+
8
+ Outdated base version: https://github.com/primer/github-syntax-dark
9
+ Current colors taken from GitHub's CSS
10
+ */.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}