agentgui 1.0.374 → 1.0.376
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/static/index.html +64 -11
- package/static/js/streaming-renderer.js +5 -1
- package/static/vendor/highlight-js.css +10 -0
- package/static/vendor/highlight.min.js +1244 -0
- package/static/vendor/prism-dark.css +129 -0
- package/static/vendor/rippleui.css +1 -0
- package/static/vendor/xterm-addon-fit.min.js +8 -0
- package/static/vendor/xterm.css +8 -0
- package/static/vendor/xterm.min.js +8 -0
package/package.json
CHANGED
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
|
-
|
|
11
|
-
|
|
12
|
-
<link href="
|
|
13
|
-
<link rel="preload" href="
|
|
14
|
-
<noscript><link href="
|
|
15
|
-
<link rel="preload" href="
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
<script defer src="
|
|
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; }
|
|
@@ -2034,6 +2033,60 @@
|
|
|
2034
2033
|
.tool-color-default > .folded-tool-body { border-top-color: #a5f3fc; }
|
|
2035
2034
|
html.dark .tool-color-default > .folded-tool-body { border-top-color: #164e63; }
|
|
2036
2035
|
|
|
2036
|
+
/* Execute - Purple */
|
|
2037
|
+
.tool-color-execute.folded-tool > .folded-tool-bar { background: #f3e8ff; }
|
|
2038
|
+
html.dark .tool-color-execute.folded-tool > .folded-tool-bar { background: #2d1b4e; }
|
|
2039
|
+
.tool-color-execute.folded-tool > .folded-tool-bar:hover { background: #e9d5ff; }
|
|
2040
|
+
html.dark .tool-color-execute.folded-tool > .folded-tool-bar:hover { background: #4c1d95; }
|
|
2041
|
+
.tool-color-execute.folded-tool > .folded-tool-bar::before { color: #a855f7; }
|
|
2042
|
+
html.dark .tool-color-execute.folded-tool > .folded-tool-bar::before { color: #d8b4fe; }
|
|
2043
|
+
.tool-color-execute .folded-tool-icon { color: #a855f7; }
|
|
2044
|
+
html.dark .tool-color-execute .folded-tool-icon { color: #d8b4fe; }
|
|
2045
|
+
.tool-color-execute .folded-tool-name { color: #6b21a8; }
|
|
2046
|
+
html.dark .tool-color-execute .folded-tool-name { color: #e879f9; }
|
|
2047
|
+
.tool-color-execute .folded-tool-desc { color: #7e22ce; }
|
|
2048
|
+
html.dark .tool-color-execute .folded-tool-desc { color: #d8b4fe; }
|
|
2049
|
+
.tool-color-execute { background: #faf5ff; }
|
|
2050
|
+
html.dark .tool-color-execute { background: #1a0d2e; }
|
|
2051
|
+
.tool-color-execute > .folded-tool-body { border-top-color: #e9d5ff; }
|
|
2052
|
+
html.dark .tool-color-execute > .folded-tool-body { border-top-color: #4c1d95; }
|
|
2053
|
+
|
|
2054
|
+
/* Sleep - Orange */
|
|
2055
|
+
.tool-color-sleep.folded-tool > .folded-tool-bar { background: #fed7aa; }
|
|
2056
|
+
html.dark .tool-color-sleep.folded-tool > .folded-tool-bar { background: #5a2e0f; }
|
|
2057
|
+
.tool-color-sleep.folded-tool > .folded-tool-bar:hover { background: #fdba74; }
|
|
2058
|
+
html.dark .tool-color-sleep.folded-tool > .folded-tool-bar:hover { background: #7c2d12; }
|
|
2059
|
+
.tool-color-sleep.folded-tool > .folded-tool-bar::before { color: #f97316; }
|
|
2060
|
+
html.dark .tool-color-sleep.folded-tool > .folded-tool-bar::before { color: #fb923c; }
|
|
2061
|
+
.tool-color-sleep .folded-tool-icon { color: #f97316; }
|
|
2062
|
+
html.dark .tool-color-sleep .folded-tool-icon { color: #fb923c; }
|
|
2063
|
+
.tool-color-sleep .folded-tool-name { color: #7c2d12; }
|
|
2064
|
+
html.dark .tool-color-sleep .folded-tool-name { color: #fed7aa; }
|
|
2065
|
+
.tool-color-sleep .folded-tool-desc { color: #b45309; }
|
|
2066
|
+
html.dark .tool-color-sleep .folded-tool-desc { color: #fb923c; }
|
|
2067
|
+
.tool-color-sleep { background: #fff7ed; }
|
|
2068
|
+
html.dark .tool-color-sleep { background: #1f1409; }
|
|
2069
|
+
.tool-color-sleep > .folded-tool-body { border-top-color: #fdba74; }
|
|
2070
|
+
html.dark .tool-color-sleep > .folded-tool-body { border-top-color: #7c2d12; }
|
|
2071
|
+
|
|
2072
|
+
/* Search - Green */
|
|
2073
|
+
.tool-color-search.folded-tool > .folded-tool-bar { background: #dcfce7; }
|
|
2074
|
+
html.dark .tool-color-search.folded-tool > .folded-tool-bar { background: #142e1a; }
|
|
2075
|
+
.tool-color-search.folded-tool > .folded-tool-bar:hover { background: #bbf7d0; }
|
|
2076
|
+
html.dark .tool-color-search.folded-tool > .folded-tool-bar:hover { background: #16a34a; }
|
|
2077
|
+
.tool-color-search.folded-tool > .folded-tool-bar::before { color: #16a34a; }
|
|
2078
|
+
html.dark .tool-color-search.folded-tool > .folded-tool-bar::before { color: #86efac; }
|
|
2079
|
+
.tool-color-search .folded-tool-icon { color: #16a34a; }
|
|
2080
|
+
html.dark .tool-color-search .folded-tool-icon { color: #86efac; }
|
|
2081
|
+
.tool-color-search .folded-tool-name { color: #15803d; }
|
|
2082
|
+
html.dark .tool-color-search .folded-tool-name { color: #bbf7d0; }
|
|
2083
|
+
.tool-color-search .folded-tool-desc { color: #166534; }
|
|
2084
|
+
html.dark .tool-color-search .folded-tool-desc { color: #86efac; }
|
|
2085
|
+
.tool-color-search { background: #f0fdf4; }
|
|
2086
|
+
html.dark .tool-color-search { background: #0a1c0e; }
|
|
2087
|
+
.tool-color-search > .folded-tool-body { border-top-color: #bbf7d0; }
|
|
2088
|
+
html.dark .tool-color-search > .folded-tool-body { border-top-color: #16a34a; }
|
|
2089
|
+
|
|
2037
2090
|
.block-type-tool_result { background: #f3f4f6; }
|
|
2038
2091
|
html.dark .block-type-tool_result { background: #1f2937; }
|
|
2039
2092
|
.block-type-tool_result .tool-result-status { background: #e5e7eb; }
|
|
@@ -424,7 +424,11 @@ class StreamingRenderer {
|
|
|
424
424
|
|
|
425
425
|
_getToolColorClass(toolName) {
|
|
426
426
|
const n = (toolName || '').replace(/^mcp__[^_]+__/, '').toLowerCase();
|
|
427
|
-
const map = {
|
|
427
|
+
const map = {
|
|
428
|
+
read: 'read', write: 'write', edit: 'edit', bash: 'bash', glob: 'glob', grep: 'grep',
|
|
429
|
+
webfetch: 'web', websearch: 'web', todowrite: 'todo', task: 'task', notebookedit: 'edit',
|
|
430
|
+
execute: 'execute', sleep: 'sleep', search: 'search'
|
|
431
|
+
};
|
|
428
432
|
return `tool-color-${map[n] || 'default'}`;
|
|
429
433
|
}
|
|
430
434
|
|
|
@@ -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}
|