agentgui 1.0.375 → 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 +54 -0
- package/static/js/streaming-renderer.js +5 -1
package/package.json
CHANGED
package/static/index.html
CHANGED
|
@@ -2033,6 +2033,60 @@
|
|
|
2033
2033
|
.tool-color-default > .folded-tool-body { border-top-color: #a5f3fc; }
|
|
2034
2034
|
html.dark .tool-color-default > .folded-tool-body { border-top-color: #164e63; }
|
|
2035
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
|
+
|
|
2036
2090
|
.block-type-tool_result { background: #f3f4f6; }
|
|
2037
2091
|
html.dark .block-type-tool_result { background: #1f2937; }
|
|
2038
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
|
|