myagent-ai 1.23.83 → 1.23.84
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 +2 -2
- package/web/ui/chat/chat.css +66 -53
- package/web/ui/index.html +20 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myagent-ai",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.84",
|
|
4
4
|
"description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
|
|
5
5
|
"main": "main.py",
|
|
6
6
|
"bin": {
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"python": ">=3.10",
|
|
44
44
|
"node": ">=18"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|
package/web/ui/chat/chat.css
CHANGED
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
--shadow-lg:0 10px 25px rgba(0,0,0,.1);
|
|
30
30
|
}
|
|
31
31
|
[data-theme="dark"]{
|
|
32
|
-
--bg:#
|
|
33
|
-
--text:#
|
|
34
|
-
--accent:#
|
|
35
|
-
--user-bubble:#
|
|
36
|
-
--bot-bubble:#
|
|
37
|
-
--ok:#
|
|
38
|
-
--border:#
|
|
39
|
-
--shadow-sm:0 1px 2px rgba(0,0,0,.
|
|
40
|
-
--shadow:0 1px 3px rgba(0,0,0,.
|
|
41
|
-
--shadow-lg:0 10px 25px rgba(0,0,0,.
|
|
32
|
+
--bg:#1a1a1a;--bg2:#202020;--bg3:#282828;--bg4:#333333;--bg5:#3d3d3d;
|
|
33
|
+
--text:#e5e5e5;--text2:#a0a0a0;--text3:#6b6b6b;
|
|
34
|
+
--accent:#D97706;--accent2:#F59E0B;--accent-light:#2d2510;--accent-dark:#B45309;
|
|
35
|
+
--user-bubble:#D97706;--user-text:#ffffff;
|
|
36
|
+
--bot-bubble:#202020;--bot-text:#e5e5e5;
|
|
37
|
+
--ok:#4ade80;--warn:#fbbf24;--danger:#f87171;--info:#60a5fa;
|
|
38
|
+
--border:#2a2a2a;--border-light:#222222;
|
|
39
|
+
--shadow-sm:0 1px 2px rgba(0,0,0,.25);
|
|
40
|
+
--shadow:0 1px 3px rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.25);
|
|
41
|
+
--shadow-lg:0 10px 25px rgba(0,0,0,.5);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
html,body{width:100%;height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,'Noto Sans SC',sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6;overflow:hidden}
|
|
@@ -90,7 +90,7 @@ input,textarea,select{font:inherit}
|
|
|
90
90
|
}
|
|
91
91
|
.sidebar-logo{
|
|
92
92
|
width:36px;height:36px;border-radius:10px;
|
|
93
|
-
background:linear-gradient(135deg,var(--accent)
|
|
93
|
+
background:linear-gradient(135deg,var(--accent),var(--accent-dark));
|
|
94
94
|
display:grid;place-items:center;flex-shrink:0;
|
|
95
95
|
}
|
|
96
96
|
.sidebar-logo svg{width:20px;height:20px;color:#fff}
|
|
@@ -226,7 +226,7 @@ input,textarea,select{font:inherit}
|
|
|
226
226
|
display:grid;place-items:center;font-size:14px;
|
|
227
227
|
}
|
|
228
228
|
.message-row.user .message-avatar{background:var(--accent);color:#fff}
|
|
229
|
-
.message-row.assistant .message-avatar{background:linear-gradient(135deg
|
|
229
|
+
.message-row.assistant .message-avatar{background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff}
|
|
230
230
|
|
|
231
231
|
.message-bubble{
|
|
232
232
|
max-width:85%;padding:12px 16px;border-radius:var(--radius);
|
|
@@ -256,7 +256,7 @@ input,textarea,select{font:inherit}
|
|
|
256
256
|
}
|
|
257
257
|
.message-row.user .message-bubble code{background:rgba(255,255,255,.2)}
|
|
258
258
|
.message-bubble pre{
|
|
259
|
-
background
|
|
259
|
+
background:var(--bg3);color:var(--text);padding:14px 16px;border-radius:var(--radius-sm);
|
|
260
260
|
overflow-x:auto;margin:8px 0;font-size:12.5px;line-height:1.5;
|
|
261
261
|
font-family:'SF Mono','Fira Code','Cascadia Code',monospace;
|
|
262
262
|
max-width:100%;white-space:pre-wrap;word-break:break-all;
|
|
@@ -283,7 +283,7 @@ input,textarea,select{font:inherit}
|
|
|
283
283
|
}
|
|
284
284
|
.exec-timer-icon{
|
|
285
285
|
width:28px;height:28px;border-radius:6px;
|
|
286
|
-
background:linear-gradient(135deg,var(--accent)
|
|
286
|
+
background:linear-gradient(135deg,var(--accent),var(--accent-dark));
|
|
287
287
|
display:grid;place-items:center;flex-shrink:0;
|
|
288
288
|
font-size:14px;
|
|
289
289
|
}
|
|
@@ -359,7 +359,7 @@ input,textarea,select{font:inherit}
|
|
|
359
359
|
background:var(--accent);border-radius:1.5px;
|
|
360
360
|
margin-left:1px;vertical-align:text-bottom;
|
|
361
361
|
animation:cursorBlink 1.06s step-end infinite;
|
|
362
|
-
box-shadow:0 0 6px rgba(
|
|
362
|
+
box-shadow:0 0 6px rgba(217,119,6,.35);
|
|
363
363
|
position:relative;
|
|
364
364
|
}
|
|
365
365
|
@keyframes cursorBlink{0%,100%{opacity:1}50%{opacity:0}}
|
|
@@ -397,8 +397,8 @@ input,textarea,select{font:inherit}
|
|
|
397
397
|
animation:toolRunPulse 2s ease-in-out infinite;
|
|
398
398
|
}
|
|
399
399
|
@keyframes toolRunPulse{
|
|
400
|
-
0%,100%{box-shadow:0 0 0 0 rgba(
|
|
401
|
-
50%{box-shadow:0 0 0 4px rgba(
|
|
400
|
+
0%,100%{box-shadow:0 0 0 0 rgba(217,119,6,.08)}
|
|
401
|
+
50%{box-shadow:0 0 0 4px rgba(217,119,6,.12)}
|
|
402
402
|
}
|
|
403
403
|
.tool-elapsed-timer{
|
|
404
404
|
font-size:10px;font-variant-numeric:tabular-nums;
|
|
@@ -469,13 +469,13 @@ input,textarea,select{font:inherit}
|
|
|
469
469
|
animation:completeFlash .4s ease-out;
|
|
470
470
|
}
|
|
471
471
|
@keyframes completeFlash{
|
|
472
|
-
0%{background:rgba(
|
|
472
|
+
0%{background:rgba(217,119,6,.06)}
|
|
473
473
|
100%{background:transparent}
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
/* ── Thought Block (Agent Thinking) ── */
|
|
477
477
|
.thought-block{width:100%!important;max-width:100%!important;display:flex;flex-direction:column;margin:0 0 10px 0;border:1px solid var(--border-light);border-radius:var(--radius-sm);overflow:hidden;background:linear-gradient(135deg,var(--accent-light),var(--bg2));animation:thoughtFadeIn .4s ease-out;flex-shrink:0;box-sizing:border-box;align-self:stretch}
|
|
478
|
-
.thought-block.streaming{border-color:var(--accent);box-shadow:0 0 12px rgba(
|
|
478
|
+
.thought-block.streaming{border-color:var(--accent);box-shadow:0 0 12px rgba(217,119,6,.15)}
|
|
479
479
|
@keyframes thoughtFadeIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
|
|
480
480
|
.thought-block summary{display:flex;align-items:center;gap:8px;padding:8px 14px;cursor:pointer;font-size:12px;font-weight:600;color:var(--text2);user-select:none;transition:var(--transition);text-transform:uppercase;letter-spacing:.3px}
|
|
481
481
|
.thought-block summary:hover{background:var(--bg3)}
|
|
@@ -510,7 +510,7 @@ input,textarea,select{font:inherit}
|
|
|
510
510
|
.exec-event-icon.code{background:#fefce8;color:#eab308}
|
|
511
511
|
.exec-event-icon.success{background:#ecfdf5;color:#10b981}
|
|
512
512
|
.exec-event-icon.error{background:#fef2f2;color:#ef4444}
|
|
513
|
-
.exec-event-icon.running{background
|
|
513
|
+
.exec-event-icon.running{background:rgba(217,119,6,.12);color:#D97706;animation:brainPulse 1.2s infinite}
|
|
514
514
|
.exec-event-body{flex:1;min-width:0}
|
|
515
515
|
.exec-event-title{font-size:12px;font-weight:600;color:var(--text);margin-bottom:2px}
|
|
516
516
|
.exec-event-meta{font-size:11px;color:var(--text3);display:flex;gap:8px;align-items:center}
|
|
@@ -600,7 +600,7 @@ input,textarea,select{font:inherit}
|
|
|
600
600
|
.attach-btn svg{width:18px;height:18px}
|
|
601
601
|
|
|
602
602
|
/* [v1.16.12] 拖拽高亮 */
|
|
603
|
-
.input-box.drag-over{border-color:var(--accent) !important;box-shadow:0 0 0 2px rgba(
|
|
603
|
+
.input-box.drag-over{border-color:var(--accent) !important;box-shadow:0 0 0 2px rgba(217,119,6,.2)}
|
|
604
604
|
|
|
605
605
|
/* [v1.16.12] 附件预览 */
|
|
606
606
|
.attachment-preview {
|
|
@@ -1010,8 +1010,21 @@ input,textarea,select{font:inherit}
|
|
|
1010
1010
|
|
|
1011
1011
|
/* Dark theme */
|
|
1012
1012
|
[data-theme="dark"] .voice-record-btn.recording {
|
|
1013
|
-
background: rgba(239, 68, 68, 0.
|
|
1013
|
+
background: rgba(239, 68, 68, 0.2);
|
|
1014
1014
|
}
|
|
1015
|
+
[data-theme="dark"] .message-bubble code {
|
|
1016
|
+
background: rgba(255,255,255,.08);
|
|
1017
|
+
}
|
|
1018
|
+
[data-theme="dark"] .message-row.user .message-bubble code {
|
|
1019
|
+
background: rgba(0,0,0,.15);
|
|
1020
|
+
}
|
|
1021
|
+
[data-theme="dark"] .exec-event-icon.tool{background:rgba(96,165,250,.15);color:#60a5fa}
|
|
1022
|
+
[data-theme="dark"] .exec-event-icon.skill{background:rgba(74,222,128,.15);color:#4ade80}
|
|
1023
|
+
[data-theme="dark"] .exec-event-icon.code{background:rgba(251,191,36,.15);color:#fbbf24}
|
|
1024
|
+
[data-theme="dark"] .exec-event-icon.success{background:rgba(74,222,128,.15);color:#4ade80}
|
|
1025
|
+
[data-theme="dark"] .exec-event-icon.error{background:rgba(248,113,113,.15);color:#f87171}
|
|
1026
|
+
[data-theme="dark"] .modal-overlay{background:rgba(0,0,0,.6)}
|
|
1027
|
+
[data-theme="dark"] .platform-card-btn.delete:hover{background:rgba(248,113,113,.1)}
|
|
1015
1028
|
|
|
1016
1029
|
/* ── Toast ── */
|
|
1017
1030
|
.toast-container{position:fixed;top:20px;right:20px;z-index:200;display:flex;flex-direction:column;gap:8px}
|
|
@@ -1021,10 +1034,10 @@ input,textarea,select{font:inherit}
|
|
|
1021
1034
|
display:flex;align-items:center;gap:8px;
|
|
1022
1035
|
}
|
|
1023
1036
|
@keyframes toastIn{from{transform:translateX(20px);opacity:0}to{transform:translateX(0);opacity:1}}
|
|
1024
|
-
.toast-error{background:#
|
|
1025
|
-
.toast-success{background:#
|
|
1026
|
-
.toast-info{background:#
|
|
1027
|
-
.toast-warning{background:#
|
|
1037
|
+
.toast-error{background:#2d1515;color:#f87171;border:1px solid #3d1f1f}
|
|
1038
|
+
.toast-success{background:#152d1e;color:#4ade80;border:1px solid #1f3d28}
|
|
1039
|
+
.toast-info{background:#1a2535;color:#60a5fa;border:1px solid #253545}
|
|
1040
|
+
.toast-warning{background:#2d2515;color:#fbbf24;border:1px solid #3d3019}
|
|
1028
1041
|
|
|
1029
1042
|
/* ── Confirm Dialog ── */
|
|
1030
1043
|
.modal-overlay{
|
|
@@ -1158,11 +1171,11 @@ input,textarea,select{font:inherit}
|
|
|
1158
1171
|
background:linear-gradient(135deg,var(--accent-light),var(--bg));
|
|
1159
1172
|
}
|
|
1160
1173
|
.rp-master-card:hover{border-color:var(--accent);background:var(--accent-light)}
|
|
1161
|
-
.rp-master-card.active{border-color:var(--accent);background:var(--accent-light);box-shadow:0 0 16px rgba(
|
|
1174
|
+
.rp-master-card.active{border-color:var(--accent);background:var(--accent-light);box-shadow:0 0 16px rgba(217,119,6,.15)}
|
|
1162
1175
|
.rp-master-avatar{
|
|
1163
1176
|
width:44px;height:44px;border-radius:12px;flex-shrink:0;
|
|
1164
1177
|
display:grid;place-items:center;font-size:22px;color:#fff;
|
|
1165
|
-
background:linear-gradient(135deg
|
|
1178
|
+
background:linear-gradient(135deg,var(--accent),var(--accent-dark));
|
|
1166
1179
|
}
|
|
1167
1180
|
.rp-master-info{flex:1;min-width:0}
|
|
1168
1181
|
.rp-master-name{font-size:14px;font-weight:700;color:var(--text)}
|
|
@@ -1263,8 +1276,8 @@ input,textarea,select{font:inherit}
|
|
|
1263
1276
|
font-size:9px;font-weight:600;padding:1px 5px;border-radius:4px;
|
|
1264
1277
|
white-space:nowrap;flex-shrink:0;
|
|
1265
1278
|
}
|
|
1266
|
-
.exec-badge.local{background
|
|
1267
|
-
.exec-badge.sandbox{background
|
|
1279
|
+
.exec-badge.local{background:rgba(74,222,128,.15);color:#4ade80}
|
|
1280
|
+
.exec-badge.sandbox{background:rgba(251,191,36,.15);color:#fbbf24}
|
|
1268
1281
|
|
|
1269
1282
|
/* Agent add-child button (shows on hover) */
|
|
1270
1283
|
.agent-add-child-btn{
|
|
@@ -1818,7 +1831,7 @@ input,textarea,select{font:inherit}
|
|
|
1818
1831
|
font-family:'SF Mono','Fira Code','Cascadia Code',monospace;font-size:12.5px;
|
|
1819
1832
|
}
|
|
1820
1833
|
.group-msg-bubble pre{
|
|
1821
|
-
background
|
|
1834
|
+
background:var(--bg3);color:var(--text);padding:14px 16px;border-radius:var(--radius-sm);
|
|
1822
1835
|
overflow-x:auto;margin:8px 0;font-size:12.5px;line-height:1.5;
|
|
1823
1836
|
font-family:'SF Mono','Fira Code','Cascadia Code',monospace;
|
|
1824
1837
|
}
|
|
@@ -2100,31 +2113,31 @@ input,textarea,select{font:inherit}
|
|
|
2100
2113
|
|
|
2101
2114
|
/* ── Dark Theme Overrides ── */
|
|
2102
2115
|
[data-theme="dark"] .message-bubble code{background:rgba(255,255,255,.1)}
|
|
2103
|
-
[data-theme="dark"] .message-row.user .message-bubble code{background:rgba(
|
|
2104
|
-
[data-theme="dark"] .message-bubble pre{background:#
|
|
2116
|
+
[data-theme="dark"] .message-row.user .message-bubble code{background:rgba(0,0,0,.15)}
|
|
2117
|
+
[data-theme="dark"] .message-bubble pre{background:#141414;color:#d4d4d4}
|
|
2105
2118
|
[data-theme="dark"] .group-msg-bubble code{background:rgba(255,255,255,.08)}
|
|
2106
|
-
[data-theme="dark"] .group-msg-bubble pre{background:#
|
|
2119
|
+
[data-theme="dark"] .group-msg-bubble pre{background:#141414;color:#d4d4d4}
|
|
2107
2120
|
[data-theme="dark"] .toast-error{background:rgba(127,29,29,.8);color:#fca5a5;border-color:rgba(239,68,68,.4)}
|
|
2108
2121
|
[data-theme="dark"] .toast-success{background:rgba(6,78,59,.8);color:#6ee7b7;border-color:rgba(16,185,129,.4)}
|
|
2109
2122
|
[data-theme="dark"] .toast-info{background:rgba(30,64,175,.8);color:#93c5fd;border-color:rgba(59,130,246,.4)}
|
|
2110
2123
|
[data-theme="dark"] .toast-warning{background:rgba(113,63,18,.8);color:#fcd34d;border-color:rgba(245,158,11,.4)}
|
|
2111
|
-
[data-theme="dark"] .modal-overlay{background:rgba(0,0,0,.
|
|
2112
|
-
[data-theme="dark"] .exec-badge.local{background:rgba(
|
|
2113
|
-
[data-theme="dark"] .exec-badge.sandbox{background:rgba(
|
|
2124
|
+
[data-theme="dark"] .modal-overlay{background:rgba(0,0,0,.6)}
|
|
2125
|
+
[data-theme="dark"] .exec-badge.local{background:rgba(74,222,128,.15);color:#4ade80}
|
|
2126
|
+
[data-theme="dark"] .exec-badge.sandbox{background:rgba(251,191,36,.15);color:#fbbf24}
|
|
2114
2127
|
[data-theme="dark"] .mode-btn.active-chat{background:var(--bg2);color:var(--accent);box-shadow:var(--shadow-sm)}
|
|
2115
2128
|
[data-theme="dark"] .mode-btn.active-exec{background:var(--accent);color:#fff;box-shadow:var(--shadow-sm)}
|
|
2116
|
-
[data-theme="dark"] .exec-mode-btn.active-local{background:rgba(
|
|
2117
|
-
[data-theme="dark"] .exec-mode-btn.active-local:hover{background:rgba(
|
|
2118
|
-
[data-theme="dark"] .lock-indicator{background:rgba(127,29,29,.3);border-color:rgba(
|
|
2129
|
+
[data-theme="dark"] .exec-mode-btn.active-local{background:rgba(74,222,128,.15);color:#4ade80;border-color:rgba(74,222,128,.3)}
|
|
2130
|
+
[data-theme="dark"] .exec-mode-btn.active-local:hover{background:rgba(74,222,128,.25)}
|
|
2131
|
+
[data-theme="dark"] .lock-indicator{background:rgba(127,29,29,.3);border-color:rgba(248,113,113,.3);color:#f87171}
|
|
2119
2132
|
[data-theme="dark"] .lock-indicator:hover{background:rgba(127,29,29,.5)}
|
|
2120
|
-
[data-theme="dark"] .code-block-wrapper pre{background:#
|
|
2133
|
+
[data-theme="dark"] .code-block-wrapper pre{background:#141414;color:#d4d4d4}
|
|
2121
2134
|
[data-theme="dark"] .code-copy-btn{background:var(--bg4);color:var(--text2)}
|
|
2122
2135
|
[data-theme="dark"] .code-copy-btn:hover{background:var(--bg5);color:var(--text)}
|
|
2123
|
-
[data-theme="dark"] .code-copy-btn.copied{background:rgba(
|
|
2124
|
-
[data-theme="dark"] .group-member-role.owner{background:rgba(
|
|
2125
|
-
[data-theme="dark"] .group-member-role.admin{background:rgba(
|
|
2126
|
-
[data-theme="dark"] .setup-wizard-overlay{background:rgba(
|
|
2127
|
-
[data-theme="dark"] .largetext-option:hover,[data-theme="dark"] .largetext-option.selected{border-color:var(--accent);background:rgba(
|
|
2136
|
+
[data-theme="dark"] .code-copy-btn.copied{background:rgba(74,222,128,.3);color:#a7f3d0}
|
|
2137
|
+
[data-theme="dark"] .group-member-role.owner{background:rgba(251,191,36,.15);color:#fbbf24}
|
|
2138
|
+
[data-theme="dark"] .group-member-role.admin{background:rgba(96,165,250,.15);color:#60a5fa}
|
|
2139
|
+
[data-theme="dark"] .setup-wizard-overlay{background:rgba(0,0,0,.9)}
|
|
2140
|
+
[data-theme="dark"] .largetext-option:hover,[data-theme="dark"] .largetext-option.selected{border-color:var(--accent);background:rgba(217,119,6,.1)}
|
|
2128
2141
|
[data-theme="dark"] .platform-toggle{background:var(--bg4)}
|
|
2129
2142
|
[data-theme="dark"] .quick-action{background:var(--bg2);border-color:var(--border)}
|
|
2130
2143
|
[data-theme="dark"] .quick-action:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}
|
|
@@ -2173,7 +2186,7 @@ input,textarea,select{font:inherit}
|
|
|
2173
2186
|
.timeline-segment p{margin-bottom:8px}
|
|
2174
2187
|
.timeline-segment p:last-child{margin-bottom:0}
|
|
2175
2188
|
.timeline-segment code{background:rgba(0,0,0,.06);padding:2px 6px;border-radius:4px;font-family:'SF Mono','Fira Code','Cascadia Code',monospace;font-size:12.5px}
|
|
2176
|
-
.timeline-segment pre{background
|
|
2189
|
+
.timeline-segment pre{background:var(--bg3);color:var(--text);padding:14px 16px;border-radius:var(--radius-sm);overflow-x:auto;margin:8px 0;font-size:12.5px;line-height:1.5;max-width:100%;white-space:pre-wrap;word-break:break-all}
|
|
2177
2190
|
.timeline-segment strong{font-weight:600}
|
|
2178
2191
|
.timeline-segment em{font-style:italic}
|
|
2179
2192
|
.timeline-segment ul,.timeline-segment ol{padding-left:20px;margin:2px 0}
|
|
@@ -2239,10 +2252,10 @@ input,textarea,select{font:inherit}
|
|
|
2239
2252
|
[data-theme="dark"] .exec-event-icon.code-ok{background:rgba(22,163,74,.15);color:#86efac}
|
|
2240
2253
|
[data-theme="dark"] .exec-event-icon.code-fail{background:rgba(220,38,38,.15);color:#fca5a5}
|
|
2241
2254
|
[data-theme="dark"] .exec-event-icon.code-timeout{background:rgba(219,39,119,.15);color:#f9a8d4}
|
|
2242
|
-
[data-theme="dark"] .exec-event-icon.skill{background:rgba(
|
|
2255
|
+
[data-theme="dark"] .exec-event-icon.skill{background:rgba(217,119,6,.15);color:#fbbf24}
|
|
2243
2256
|
[data-theme="dark"] .exec-events-panel{background:var(--bg2);border-color:var(--border)}
|
|
2244
2257
|
[data-theme="dark"] .exec-result-modal{background:var(--bg2);border-color:var(--border)}
|
|
2245
|
-
[data-theme="dark"] .exec-result-modal-body pre{background:#
|
|
2258
|
+
[data-theme="dark"] .exec-result-modal-body pre{background:#141414;color:#d4d4d4}
|
|
2246
2259
|
[data-theme="dark"] .exec-result-info-item{background:var(--bg3)}
|
|
2247
2260
|
[data-theme="dark"] .inline-exec-event{background:var(--bg3);border-left-color:var(--border)}
|
|
2248
2261
|
[data-theme="dark"] .inline-exec-event.tool-call-pending{border-left-color:rgba(96,165,250,.6)}
|
|
@@ -2481,7 +2494,7 @@ body.popout-mode #popoutBtn{display:none !important}
|
|
|
2481
2494
|
transition: border-color .3s ease, box-shadow .3s ease;
|
|
2482
2495
|
}
|
|
2483
2496
|
.v2-tool-event.tool-running {
|
|
2484
|
-
border-left-color: var(--accent, #
|
|
2497
|
+
border-left-color: var(--accent, #D97706);
|
|
2485
2498
|
}
|
|
2486
2499
|
.v2-tool-event.tool-success {
|
|
2487
2500
|
border-left-color: var(--ok, #10b981);
|
|
@@ -2567,15 +2580,15 @@ body.popout-mode #popoutBtn{display:none !important}
|
|
|
2567
2580
|
border: 1px solid var(--border, #e0e0e8);
|
|
2568
2581
|
border-radius: 4px;
|
|
2569
2582
|
font-size: 12px;
|
|
2570
|
-
color: var(--accent, #
|
|
2583
|
+
color: var(--accent, #D97706);
|
|
2571
2584
|
cursor: pointer;
|
|
2572
2585
|
transition: all 0.15s ease;
|
|
2573
2586
|
}
|
|
2574
2587
|
|
|
2575
2588
|
.v2-tool-event .inline-exec-result-btn:hover {
|
|
2576
|
-
background: var(--accent, #
|
|
2589
|
+
background: var(--accent, #D97706);
|
|
2577
2590
|
color: white;
|
|
2578
|
-
border-color: var(--accent, #
|
|
2591
|
+
border-color: var(--accent, #D97706);
|
|
2579
2592
|
}
|
|
2580
2593
|
|
|
2581
2594
|
.v2-tool-event .inline-exec-result-btn svg {
|
package/web/ui/index.html
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
<style>
|
|
8
8
|
*{margin:0;padding:0;box-sizing:border-box}
|
|
9
9
|
:root{
|
|
10
|
-
--bg:#
|
|
11
|
-
--surface:#
|
|
12
|
-
--text:#
|
|
13
|
-
--accent:#
|
|
14
|
-
--primary:#
|
|
15
|
-
--ok:#
|
|
16
|
-
--border:#
|
|
10
|
+
--bg:#1a1a1a;--bg2:#202020;--bg3:#282828;--bg4:#333333;--bg5:#3d3d3d;
|
|
11
|
+
--surface:#202020;--surface2:#282828;
|
|
12
|
+
--text:#e5e5e5;--text2:#a0a0a0;--text3:#6b6b6b;
|
|
13
|
+
--accent:#D97706;--accent2:#F59E0B;--accent-light:#2d2510;--accent-dark:#B45309;
|
|
14
|
+
--primary:#D97706;--primary-h:#F59E0B;
|
|
15
|
+
--ok:#4ade80;--success:#4ade80;--warn:#fbbf24;--danger:#f87171;--info:#60a5fa;
|
|
16
|
+
--border:#2a2a2a;--border-light:#222222;
|
|
17
17
|
--radius:8px;
|
|
18
18
|
}
|
|
19
19
|
[data-theme="claude"]{
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
--border:#d6cfc3;--border-light:#e2dace;
|
|
27
27
|
}
|
|
28
28
|
[data-theme="dark"]{
|
|
29
|
-
--bg:#
|
|
30
|
-
--surface:#
|
|
31
|
-
--text:#
|
|
32
|
-
--accent:#
|
|
33
|
-
--primary:#
|
|
34
|
-
--ok:#
|
|
35
|
-
--border:#
|
|
29
|
+
--bg:#1a1a1a;--bg2:#202020;--bg3:#282828;--bg4:#333333;--bg5:#3d3d3d;
|
|
30
|
+
--surface:#202020;--surface2:#282828;
|
|
31
|
+
--text:#e5e5e5;--text2:#a0a0a0;--text3:#6b6b6b;
|
|
32
|
+
--accent:#D97706;--accent2:#F59E0B;--accent-light:#2d2510;--accent-dark:#B45309;
|
|
33
|
+
--primary:#D97706;--primary-h:#F59E0B;
|
|
34
|
+
--ok:#4ade80;--success:#4ade80;--warn:#fbbf24;--danger:#f87171;--info:#60a5fa;
|
|
35
|
+
--border:#2a2a2a;--border-light:#222222;
|
|
36
36
|
}
|
|
37
37
|
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text);height:100vh;height:100dvh;display:flex}
|
|
38
38
|
.sidebar{width:220px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0}
|
|
@@ -124,10 +124,10 @@ tr:hover{background:var(--surface2)}
|
|
|
124
124
|
.modal{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;width:90%;max-width:720px;max-height:85vh;overflow-y:auto}
|
|
125
125
|
.modal-wide{max-width:900px}
|
|
126
126
|
.modal h3{margin-bottom:16px}
|
|
127
|
-
.log-viewer{background:#
|
|
128
|
-
.log-viewer .INFO{color:#
|
|
129
|
-
.config-preview{background:#
|
|
130
|
-
.config-preview .key{color:#
|
|
127
|
+
.log-viewer{background:#141414;border:1px solid var(--border);border-radius:var(--radius);padding:12px;font-family:monospace;font-size:12px;line-height:1.6;max-height:500px;overflow-y:auto;white-space:pre-wrap;color:#a0a0a0}
|
|
128
|
+
.log-viewer .INFO{color:#4ade80}.log-viewer .WARNING{color:#fbbf24}.log-viewer .ERROR{color:#f87171}.log-viewer .DEBUG{color:#D97706}
|
|
129
|
+
.config-preview{background:#141414;border:1px solid var(--border);border-radius:var(--radius);padding:16px;font-family:'Cascadia Code',Consolas,monospace;font-size:12px;line-height:1.8;white-space:pre-wrap;color:#a0a0a0;max-height:400px;overflow-y:auto}
|
|
130
|
+
.config-preview .key{color:#D97706;font-weight:600}
|
|
131
131
|
.drop-zone{border:2px dashed var(--border);border-radius:var(--radius);padding:24px;text-align:center;cursor:pointer;transition:all .2s;color:var(--text2)}
|
|
132
132
|
.drop-zone:hover,.drop-zone.dragover{border-color:var(--primary);background:var(--surface2)}
|
|
133
133
|
.status-msg{margin-top:8px;padding:8px 12px;border-radius:6px;font-size:12px;display:none}
|
|
@@ -165,8 +165,8 @@ tr:hover{background:var(--surface2)}
|
|
|
165
165
|
.confirm-box h4{margin-bottom:12px}
|
|
166
166
|
.confirm-box p{font-size:13px;color:var(--text2);margin-bottom:16px}
|
|
167
167
|
.confirm-box .btns{display:flex;gap:8px;justify-content:center}
|
|
168
|
-
.config-preview{background:#
|
|
169
|
-
.config-preview .key{color:#
|
|
168
|
+
.config-preview{background:#141414;border:1px solid var(--border);border-radius:var(--radius);padding:16px;font-family:'Cascadia Code',Consolas,monospace;font-size:12px;line-height:1.8;white-space:pre-wrap;color:#a0a0a0;max-height:400px;overflow-y:auto}
|
|
169
|
+
.config-preview .key{color:#D97706;font-weight:600}
|
|
170
170
|
.drop-zone{border:2px dashed var(--border);border-radius:var(--radius);padding:24px;text-align:center;cursor:pointer;transition:all .2s;color:var(--text2)}
|
|
171
171
|
.drop-zone:hover,.drop-zone.dragover{border-color:var(--primary);background:var(--surface2)}
|
|
172
172
|
.status-msg{margin-top:8px;padding:8px 12px;border-radius:6px;font-size:12px}
|