pi-web-ui 0.105.0 → 0.106.0
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/CHANGELOG.md +58 -1
- package/README.md +193 -797
- package/README.zh-CN.md +186 -625
- package/README.zh-TW.md +781 -0
- package/bin/frp-manager.mjs +1488 -0
- package/bin/pi-web-ui.mjs +27 -0
- package/deploy/nginx-subpath.conf +16 -1
- package/dist/server/agent-service-daemon.js +34 -0
- package/dist/server/agent-service.js +227 -44
- package/dist/server/claim-files-tool.js +8 -1
- package/dist/server/client-state.js +146 -32
- package/dist/server/conversation-read-tool.js +12 -4
- package/dist/server/delegate-task.js +9 -1
- package/dist/server/dispatch-domain-handlers.js +15 -0
- package/dist/server/dsh/dsh-agent-service.js +838 -241
- package/dist/server/dsh/dsh-client.js +59 -18
- package/dist/server/dsh/dsh-market-service.js +233 -0
- package/dist/server/dsh/dsh-serialize.js +11 -3
- package/dist/server/dsh/dsh-sessions.js +64 -2
- package/dist/server/dsh/preset-clones.js +12 -1
- package/dist/server/dsh/runtime/goal-rpc.mjs +183 -45
- package/dist/server/engine-capabilities.js +72 -0
- package/dist/server/engine-probe.js +243 -0
- package/dist/server/goal-service.js +23 -12
- package/dist/server/i18n.js +20 -1
- package/dist/server/index.js +171 -66
- package/dist/server/locales.js +1 -0
- package/dist/server/mcp-agent-tool.js +10 -7
- package/dist/server/mcp-bridge.js +428 -24
- package/dist/server/model-admin.js +172 -74
- package/dist/server/model-resolver.js +221 -0
- package/dist/server/plugin-installer.js +4 -2
- package/dist/server/plugins.js +71 -11
- package/dist/server/present-files-tool.js +10 -2
- package/dist/server/preset-fields.js +14 -0
- package/dist/server/preset-share.js +2 -0
- package/dist/server/protocol-version.js +1 -1
- package/dist/server/schedule-agent-tool.js +2 -1
- package/dist/server/scm-commitmsg.js +3 -2
- package/dist/server/settings-service.js +10 -2
- package/dist/server/skill-discovery.js +161 -0
- package/dist/server/skill-tool.js +2 -1
- package/dist/server/slash-commands.js +154 -73
- package/dist/server/subagent-templates-hant.js +215 -0
- package/dist/server/subagent-templates.js +49 -2
- package/dist/server/subagents.js +22 -12
- package/dist/server/terminals.js +2 -2
- package/dist/server/tool-manager.js +3 -0
- package/dist/server/universal/driver-base.js +56 -0
- package/dist/server/universal/drivers/claude-code.js +462 -0
- package/dist/server/universal/drivers/dsh-driver.js +376 -0
- package/dist/server/universal/drivers/mock-driver.js +103 -0
- package/dist/server/universal/index.js +10 -0
- package/dist/server/universal/session-store.js +100 -0
- package/dist/server/universal/universal-attachments.js +175 -0
- package/dist/server/universal/universal-service.js +149 -0
- package/dist/server/universal/universal-session.js +2610 -0
- package/dist/server/universal/universal-types.js +4 -0
- package/dist/server/update-check.js +4 -1
- package/dist/server/worktree-service.js +1 -1
- package/dist/server/worktree-tool.js +9 -7
- package/package.json +3 -2
- package/plugin-sdk/index.d.ts +12 -2
- package/plugins/catalog.json +39 -5
- package/themes/dark-teal.css +20 -23
- package/themes/md-preview.css +1 -2
- package/themes/wallpaper-obsidian.css +693 -0
- package/web/dist/assets/{TerminalPanel-B9exeXrl.js → TerminalPanel-CfxKLDW9.js} +2 -2
- package/web/dist/assets/index-BtcP6BDk.css +1 -0
- package/web/dist/assets/index-XVtCzcHR.js +690 -0
- package/web/dist/index.html +2 -2
- package/web/dist/sw.js +1 -1
- package/web/dist/assets/index-BQC6lADz.css +0 -1
- package/web/dist/assets/index-D79IKG33.js +0 -690
|
@@ -0,0 +1,693 @@
|
|
|
1
|
+
/* theme-name: 壁纸专属 · 黑曜冷月 */
|
|
2
|
+
/* theme-name-en: Wallpaper Obsidian */
|
|
3
|
+
/*
|
|
4
|
+
* Wallpaper Engine 专属主题 —— 黑曜冷月(Obsidian Stealth & Moonlight Silver):
|
|
5
|
+
* 纯粹深邃的黑曜石质感、冷白银辉高光,专配水墨、武士、冷色调、极简黑白艺术壁纸。
|
|
6
|
+
*/
|
|
7
|
+
:root {
|
|
8
|
+
color-scheme: dark;
|
|
9
|
+
--bg: #050507;
|
|
10
|
+
--bg-elev: #0c0d11;
|
|
11
|
+
--bg-elev2: #14161c;
|
|
12
|
+
--border: rgba(255, 255, 255, 0.16);
|
|
13
|
+
--border-soft: rgba(255, 255, 255, 0.08);
|
|
14
|
+
--text: #ffffff;
|
|
15
|
+
--text-dim: #cbd5e1;
|
|
16
|
+
--text-faint: #64748b;
|
|
17
|
+
--accent: #e2e8f0;
|
|
18
|
+
--accent-soft: rgba(255, 255, 255, 0.14);
|
|
19
|
+
--green: #4ade80;
|
|
20
|
+
--green-soft: rgba(74, 222, 128, 0.12);
|
|
21
|
+
--red: #f87171;
|
|
22
|
+
--red-soft: rgba(248, 113, 113, 0.12);
|
|
23
|
+
--amber: #fbbf24;
|
|
24
|
+
--blue: #94a3b8;
|
|
25
|
+
--blue-soft: rgba(148, 163, 184, 0.14);
|
|
26
|
+
|
|
27
|
+
--term-bg: rgba(8, 8, 10, 0.72);
|
|
28
|
+
--term-fg: #ffffff;
|
|
29
|
+
--term-cursor: #ffffff;
|
|
30
|
+
--term-cursor-accent: #050507;
|
|
31
|
+
--term-selection: rgba(255, 255, 255, 0.28);
|
|
32
|
+
--term-black: #14161c;
|
|
33
|
+
--term-red: #f87171;
|
|
34
|
+
--term-green: #4ade80;
|
|
35
|
+
--term-yellow: #fbbf24;
|
|
36
|
+
--term-blue: #cbd5e1;
|
|
37
|
+
--term-magenta: #e2e8f0;
|
|
38
|
+
--term-cyan: #94a3b8;
|
|
39
|
+
--term-white: #ffffff;
|
|
40
|
+
--term-bright-black: #64748b;
|
|
41
|
+
--term-bright-red: #fca5a5;
|
|
42
|
+
--term-bright-green: #86efac;
|
|
43
|
+
--term-bright-yellow: #fde047;
|
|
44
|
+
--term-bright-blue: #e2e8f0;
|
|
45
|
+
--term-bright-magenta: #f8fafc;
|
|
46
|
+
--term-bright-cyan: #cbd5e1;
|
|
47
|
+
--term-bright-white: #ffffff;
|
|
48
|
+
|
|
49
|
+
--wallpaper-panel-alpha: 0%;
|
|
50
|
+
--menu-bg: #101116;
|
|
51
|
+
--bg-image-dim: 0.85;
|
|
52
|
+
|
|
53
|
+
--topbar-bg: rgba(6, 6, 8, 0.48);
|
|
54
|
+
--statusbar-bg: rgba(6, 6, 8, 0.48);
|
|
55
|
+
--panel-bg: rgba(8, 8, 12, 0.42);
|
|
56
|
+
--msgs-bg: transparent;
|
|
57
|
+
--card-bg: rgba(12, 13, 18, 0.6);
|
|
58
|
+
--inputbox-bg: rgba(14, 15, 22, 0.58);
|
|
59
|
+
--chip-bg: rgba(255, 255, 255, 0.08);
|
|
60
|
+
|
|
61
|
+
--code-bg: rgba(6, 7, 10, 0.82);
|
|
62
|
+
--code-text: #f1f5f9;
|
|
63
|
+
--code-border: rgba(255, 255, 255, 0.15);
|
|
64
|
+
|
|
65
|
+
--scroll-thumb: rgba(255, 255, 255, 0.22);
|
|
66
|
+
--scroll-thumb-hover: rgba(255, 255, 255, 0.45);
|
|
67
|
+
--send-blue: #f8fafc;
|
|
68
|
+
--send-blue-hover: #ffffff;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#root,
|
|
72
|
+
.app,
|
|
73
|
+
.layout,
|
|
74
|
+
.view-pane,
|
|
75
|
+
.main,
|
|
76
|
+
.messages-wrap,
|
|
77
|
+
.chat-view,
|
|
78
|
+
.chat-scroll,
|
|
79
|
+
.messages,
|
|
80
|
+
.inputbar {
|
|
81
|
+
background: transparent !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.topbar {
|
|
85
|
+
background: rgba(6, 6, 8, 0.48) !important;
|
|
86
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
|
|
87
|
+
backdrop-filter: none !important;
|
|
88
|
+
-webkit-backdrop-filter: none !important;
|
|
89
|
+
box-shadow: none !important;
|
|
90
|
+
z-index: 50 !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.footer-bar,
|
|
94
|
+
.statusbar {
|
|
95
|
+
background: rgba(6, 6, 8, 0.48) !important;
|
|
96
|
+
border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
|
|
97
|
+
backdrop-filter: none !important;
|
|
98
|
+
-webkit-backdrop-filter: none !important;
|
|
99
|
+
box-shadow: none !important;
|
|
100
|
+
z-index: 50 !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.panel,
|
|
104
|
+
.drawer-left .panel,
|
|
105
|
+
.drawer-right .panel,
|
|
106
|
+
.lp-panel {
|
|
107
|
+
background: rgba(8, 8, 12, 0.45) !important;
|
|
108
|
+
border-color: rgba(255, 255, 255, 0.12) !important;
|
|
109
|
+
backdrop-filter: none !important;
|
|
110
|
+
-webkit-backdrop-filter: none !important;
|
|
111
|
+
box-shadow: none !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.panel-header,
|
|
115
|
+
.lp-section-header,
|
|
116
|
+
.panel-convs,
|
|
117
|
+
.panel-sessions,
|
|
118
|
+
.lp-group-title,
|
|
119
|
+
.panel-body {
|
|
120
|
+
background: transparent !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.lp-conv-row:hover,
|
|
124
|
+
.lp-conv-row.active,
|
|
125
|
+
.ft-row:hover,
|
|
126
|
+
.panel-item:hover {
|
|
127
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* 3.1 左侧分区标题(最近项目、运行对话、历史对话等)彻底提亮为清爽亮白,告别暗黑发脏 */
|
|
131
|
+
.lp-section-header,
|
|
132
|
+
.lp-section-title,
|
|
133
|
+
.lp-section-title-text,
|
|
134
|
+
.lp-section-chevron,
|
|
135
|
+
.lp-section-count,
|
|
136
|
+
.panel-section-title {
|
|
137
|
+
color: #f8fafc !important;
|
|
138
|
+
opacity: 0.96 !important;
|
|
139
|
+
text-shadow:
|
|
140
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
141
|
+
0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* 4. 单个气泡独立圆角与轻微毛玻璃背景(内部工具与正文平整连贯无空隙) */
|
|
145
|
+
.messages-wrap,
|
|
146
|
+
.chat-scroll,
|
|
147
|
+
.messages {
|
|
148
|
+
background: transparent !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.msg {
|
|
152
|
+
background: transparent !important;
|
|
153
|
+
border: none !important;
|
|
154
|
+
box-shadow: none !important;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.msg-assistant .msg-body {
|
|
158
|
+
background: rgba(12, 18, 32, 0.38) !important;
|
|
159
|
+
border: 1px solid rgba(255, 255, 255, 0.05) !important;
|
|
160
|
+
border-radius: 16px !important;
|
|
161
|
+
box-shadow: none !important;
|
|
162
|
+
backdrop-filter: blur(2px) saturate(115%) !important;
|
|
163
|
+
-webkit-backdrop-filter: blur(2px) saturate(115%) !important;
|
|
164
|
+
overflow: hidden !important;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* 正文消息(最终文本回复)与上方工具卡、思考块左侧完全对齐留出边距,消除顶格突兀感 */
|
|
168
|
+
.msg-text {
|
|
169
|
+
padding: 6px 12px !important;
|
|
170
|
+
border-radius: 8px !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* 4.1 全页面可见文字防眩光阴影(标题、项目名、会话名、正文字等),1像素紧致高锐度边缘,绝不晕染发糊 */
|
|
174
|
+
.topbar,
|
|
175
|
+
.topbar-title,
|
|
176
|
+
.bar-item-text,
|
|
177
|
+
.bar-item-badge,
|
|
178
|
+
.brand,
|
|
179
|
+
.brand *,
|
|
180
|
+
.lp-section-header,
|
|
181
|
+
.lp-section-title,
|
|
182
|
+
.lp-group-title,
|
|
183
|
+
.project-name,
|
|
184
|
+
.session-title,
|
|
185
|
+
.lp-conv-title,
|
|
186
|
+
.ft-name,
|
|
187
|
+
.quick-chip,
|
|
188
|
+
.msg-body p,
|
|
189
|
+
.msg-body li,
|
|
190
|
+
.msg-body h1,
|
|
191
|
+
.msg-body h2,
|
|
192
|
+
.msg-body h3,
|
|
193
|
+
.msg-body h4,
|
|
194
|
+
.msg-body h5,
|
|
195
|
+
.msg-body h6,
|
|
196
|
+
.msg-body strong,
|
|
197
|
+
.msg-body em,
|
|
198
|
+
.thinking-title,
|
|
199
|
+
.thinking-summary,
|
|
200
|
+
.tool-title,
|
|
201
|
+
button:not(.icon-btn):not(.lp-section-action),
|
|
202
|
+
.btn {
|
|
203
|
+
text-shadow:
|
|
204
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
205
|
+
0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* 4.2 次要与偏黑小字全面保护(项目路径、时间戳、会话副标题、分区计数、底栏所有小指标等):提亮并应用零扩散紧致微暗边缘,绝不隐形,绝不糊黑 */
|
|
209
|
+
.project-path,
|
|
210
|
+
.project-time,
|
|
211
|
+
.session-sub,
|
|
212
|
+
.session-meta,
|
|
213
|
+
.session-time,
|
|
214
|
+
.ft-path,
|
|
215
|
+
.ft-size,
|
|
216
|
+
.ft-date,
|
|
217
|
+
.msg-time,
|
|
218
|
+
.msg-role,
|
|
219
|
+
.bar-item-char,
|
|
220
|
+
.cwd-sub,
|
|
221
|
+
.lp-section-count,
|
|
222
|
+
.lp-count,
|
|
223
|
+
.statusbar,
|
|
224
|
+
.statusbar *,
|
|
225
|
+
.footer-bar,
|
|
226
|
+
.footer-bar *,
|
|
227
|
+
.ctx-val,
|
|
228
|
+
.ctx-max,
|
|
229
|
+
.status-conn-label,
|
|
230
|
+
.status-cache-label,
|
|
231
|
+
.engine-picker-name,
|
|
232
|
+
.engine-badge,
|
|
233
|
+
.text-dim,
|
|
234
|
+
.text-faint,
|
|
235
|
+
.version-text,
|
|
236
|
+
.template-desc,
|
|
237
|
+
.inputbox textarea {
|
|
238
|
+
color: #e2e8f0 !important;
|
|
239
|
+
opacity: 0.95 !important;
|
|
240
|
+
text-shadow:
|
|
241
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
242
|
+
0 1px 1px rgba(0, 0, 0, 0.88) !important;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.project-path,
|
|
246
|
+
.session-meta {
|
|
247
|
+
color: #f1f5f9 !important;
|
|
248
|
+
opacity: 0.92 !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.project-time,
|
|
252
|
+
.session-time {
|
|
253
|
+
color: #e2e8f0 !important;
|
|
254
|
+
opacity: 0.95 !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.msg-user {
|
|
258
|
+
background: transparent !important;
|
|
259
|
+
box-shadow: none !important;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.msg-user .msg-body {
|
|
263
|
+
background: linear-gradient(135deg, rgba(30, 32, 40, 0.68) 0%, rgba(18, 19, 24, 0.58) 100%) !important;
|
|
264
|
+
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
265
|
+
border-radius: 16px !important;
|
|
266
|
+
box-shadow: none !important;
|
|
267
|
+
backdrop-filter: blur(2px) saturate(115%) !important;
|
|
268
|
+
-webkit-backdrop-filter: blur(2px) saturate(115%) !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.inputbox {
|
|
272
|
+
background: rgba(12, 14, 20, 0.48) !important;
|
|
273
|
+
border: 1px solid rgba(255, 255, 255, 0.22) !important;
|
|
274
|
+
border-radius: 20px !important;
|
|
275
|
+
box-shadow: none !important;
|
|
276
|
+
backdrop-filter: blur(10px) saturate(130%) !important;
|
|
277
|
+
-webkit-backdrop-filter: blur(10px) saturate(130%) !important;
|
|
278
|
+
transition: border-color 0.2s ease;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.inputbox:focus-within {
|
|
282
|
+
border-color: rgba(255, 255, 255, 0.65) !important;
|
|
283
|
+
box-shadow: none !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.inputbox textarea {
|
|
287
|
+
background: transparent !important;
|
|
288
|
+
color: #ffffff !important;
|
|
289
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* 6.1 输入框底部工具条:胶囊文字(高、完全权限、全功能等)彻底提亮为纯白,防眩光锁边 */
|
|
293
|
+
.composer-tools,
|
|
294
|
+
.composer-tools-left,
|
|
295
|
+
.composer-tools-center,
|
|
296
|
+
.composer-tools-right {
|
|
297
|
+
color: #ffffff !important;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.composer-tools .chip {
|
|
301
|
+
background: rgba(14, 15, 22, 0.48) !important;
|
|
302
|
+
border: 1px solid rgba(255, 255, 255, 0.22) !important;
|
|
303
|
+
color: #ffffff !important;
|
|
304
|
+
box-shadow: none !important;
|
|
305
|
+
transition:
|
|
306
|
+
background 0.15s ease,
|
|
307
|
+
border-color 0.15s ease;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.composer-tools .chip:hover {
|
|
311
|
+
background: rgba(14, 15, 22, 0.7) !important;
|
|
312
|
+
border-color: #ffffff !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.composer-tools .chip > span,
|
|
316
|
+
.composer-tools .chip > span.chip-model,
|
|
317
|
+
.composer-tools .chip > span.chip-sub,
|
|
318
|
+
.composer-tools .chip-sub {
|
|
319
|
+
color: #ffffff !important;
|
|
320
|
+
opacity: 0.98 !important;
|
|
321
|
+
text-shadow:
|
|
322
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
323
|
+
0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.composer-tools .chip > svg,
|
|
327
|
+
.composer-tools .dd-caret svg,
|
|
328
|
+
.composer-tools .dd-caret,
|
|
329
|
+
.inputbox .composer-tools-left button svg,
|
|
330
|
+
.inputbox .btn.composer-plugin-action svg,
|
|
331
|
+
.inputbox .composer-tools-left .btn svg {
|
|
332
|
+
color: #ffffff !important;
|
|
333
|
+
stroke: #ffffff !important;
|
|
334
|
+
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 1px 1.2px rgba(0, 0, 0, 0.85)) !important;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.inputbox .composer-tools-left button,
|
|
338
|
+
.inputbox .btn.composer-plugin-action,
|
|
339
|
+
.inputbox .composer-tools-left .btn {
|
|
340
|
+
filter: none !important;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* 胶囊按钮(模型、思考、权限、预设等下拉)恒定保持 8px 圆角矩形,悬停绝不变形为扁平椭圆 */
|
|
344
|
+
.composer-tools .chip,
|
|
345
|
+
.composer-tools .chip:hover,
|
|
346
|
+
.composer-tools .dropdown > button,
|
|
347
|
+
.composer-tools .dropdown > button:hover,
|
|
348
|
+
.dropdown > button.chip,
|
|
349
|
+
.dropdown > button.chip:hover {
|
|
350
|
+
border-radius: 8px !important;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* 仅针对左侧附件等纯图标小按钮悬停时轻微高光,绝不改变任何下拉胶囊圆角 */
|
|
354
|
+
.inputbox .btn.composer-plugin-action:not(.chip):hover,
|
|
355
|
+
.inputbox .composer-tools-left > button:not(.chip):not(.dropdown):hover {
|
|
356
|
+
color: #ffffff !important;
|
|
357
|
+
background: rgba(255, 255, 255, 0.14) !important;
|
|
358
|
+
border-radius: 6px !important;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* 发送按钮(冷白银辉高光圆钮 + 深黑箭头,高对比度清晰锋利,绝不白底隐形) */
|
|
362
|
+
.inputbox .btn.send {
|
|
363
|
+
background: #f8fafc !important;
|
|
364
|
+
border-color: #ffffff !important;
|
|
365
|
+
color: #050507 !important;
|
|
366
|
+
box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35) !important;
|
|
367
|
+
}
|
|
368
|
+
.inputbox .btn.send svg {
|
|
369
|
+
stroke: #050507 !important;
|
|
370
|
+
color: #050507 !important;
|
|
371
|
+
filter: none !important;
|
|
372
|
+
}
|
|
373
|
+
.inputbox .btn.send:hover:not(:disabled) {
|
|
374
|
+
background: #ffffff !important;
|
|
375
|
+
border-color: #ffffff !important;
|
|
376
|
+
color: #000000 !important;
|
|
377
|
+
box-shadow: 0 0 16px rgba(255, 255, 255, 0.55) !important;
|
|
378
|
+
transform: translateY(-1px);
|
|
379
|
+
}
|
|
380
|
+
.inputbox .btn.send:disabled {
|
|
381
|
+
opacity: 0.35 !important;
|
|
382
|
+
box-shadow: none !important;
|
|
383
|
+
cursor: default !important;
|
|
384
|
+
}
|
|
385
|
+
.inputbox .btn.send:disabled svg {
|
|
386
|
+
stroke: #050507 !important;
|
|
387
|
+
color: #050507 !important;
|
|
388
|
+
filter: none !important;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/* 运行中插队/排队分裂胶囊按钮(银白双段胶囊,黑箭黑单,分界清晰) */
|
|
392
|
+
.inputbox .split-send {
|
|
393
|
+
background: #f8fafc !important;
|
|
394
|
+
border-color: #ffffff !important;
|
|
395
|
+
box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35) !important;
|
|
396
|
+
}
|
|
397
|
+
.inputbox .split-send button {
|
|
398
|
+
color: #050507 !important;
|
|
399
|
+
}
|
|
400
|
+
.inputbox .split-send button svg {
|
|
401
|
+
stroke: #050507 !important;
|
|
402
|
+
color: #050507 !important;
|
|
403
|
+
filter: none !important;
|
|
404
|
+
}
|
|
405
|
+
.inputbox .split-send .split-queue {
|
|
406
|
+
background: rgba(0, 0, 0, 0.08) !important;
|
|
407
|
+
}
|
|
408
|
+
.inputbox .split-send button + button {
|
|
409
|
+
border-left: 1px solid rgba(0, 0, 0, 0.18) !important;
|
|
410
|
+
}
|
|
411
|
+
.inputbox .split-send:hover {
|
|
412
|
+
background: #ffffff !important;
|
|
413
|
+
border-color: #ffffff !important;
|
|
414
|
+
box-shadow: 0 0 16px rgba(255, 255, 255, 0.55) !important;
|
|
415
|
+
}
|
|
416
|
+
.inputbox .split-send button:hover:not(:disabled) {
|
|
417
|
+
background: rgba(0, 0, 0, 0.12) !important;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/* 7. 卡片、代码块与工具调用:方案 B(纯净无界微透流 · 连成一体无空隙) */
|
|
421
|
+
.card {
|
|
422
|
+
background: rgba(255, 255, 255, 0.04) !important;
|
|
423
|
+
border: none !important;
|
|
424
|
+
border-radius: 10px !important;
|
|
425
|
+
box-shadow: none !important;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/* 工具调用(.toolcall)、思考块(.thinking)彻底消除外边距,连成一体,杜绝百叶窗斑马线切碎背景 */
|
|
429
|
+
.toolcall,
|
|
430
|
+
.thinking {
|
|
431
|
+
background: transparent !important;
|
|
432
|
+
border: none !important;
|
|
433
|
+
border-radius: 0 !important;
|
|
434
|
+
margin: 0 !important;
|
|
435
|
+
box-shadow: none !important;
|
|
436
|
+
backdrop-filter: none !important;
|
|
437
|
+
-webkit-backdrop-filter: none !important;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* 折叠条(.chead):紧凑平整悬浮,完全不设边框与独立外边距,内边距与 .msg-text 对齐 */
|
|
441
|
+
.chead {
|
|
442
|
+
background: transparent !important;
|
|
443
|
+
border: none !important;
|
|
444
|
+
border-radius: 0 !important;
|
|
445
|
+
padding: 6px 12px !important;
|
|
446
|
+
margin: 0 !important;
|
|
447
|
+
position: relative !important;
|
|
448
|
+
box-shadow: none !important;
|
|
449
|
+
backdrop-filter: none !important;
|
|
450
|
+
-webkit-backdrop-filter: none !important;
|
|
451
|
+
transition: background 0.15s ease !important;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.chead:hover {
|
|
455
|
+
background: rgba(255, 255, 255, 0.06) !important;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* 条目之间仅以 1px 极微弱细线无缝分割,消除任何漏景空隙 */
|
|
459
|
+
.toolcall + .toolcall .chead,
|
|
460
|
+
.thinking + .toolcall .chead,
|
|
461
|
+
.toolcall + .thinking .chead {
|
|
462
|
+
border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/* 工具组首项与末项圆角封闭,整组浑然一体 */
|
|
466
|
+
.msg-body > .toolcall:first-child .chead,
|
|
467
|
+
.msg-body > .thinking:first-child .chead {
|
|
468
|
+
border-top-left-radius: 8px !important;
|
|
469
|
+
border-top-right-radius: 8px !important;
|
|
470
|
+
}
|
|
471
|
+
.msg-body > .toolcall:last-child .chead,
|
|
472
|
+
.msg-body > .thinking:last-child .chead {
|
|
473
|
+
border-bottom-left-radius: 8px !important;
|
|
474
|
+
border-bottom-right-radius: 8px !important;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.toolcall .chead::before,
|
|
478
|
+
.thinking .chead::before {
|
|
479
|
+
display: none !important;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
pre,
|
|
483
|
+
code {
|
|
484
|
+
text-shadow: none !important;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
pre {
|
|
488
|
+
background: rgba(6, 7, 10, 0.85) !important;
|
|
489
|
+
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
490
|
+
border-radius: 10px !important;
|
|
491
|
+
box-shadow: none !important;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/* 7.1 工具调用与思考文字:彻底提亮为高对比纯白,注入1像素紧致微暗边缘 */
|
|
495
|
+
.toolcall-name,
|
|
496
|
+
.chead-title.toolcall-name,
|
|
497
|
+
.toolcall-path,
|
|
498
|
+
.toolcall-cmd,
|
|
499
|
+
.toolcall-agent,
|
|
500
|
+
.toolcall-status,
|
|
501
|
+
.toolcall-output-label,
|
|
502
|
+
.thinking-label,
|
|
503
|
+
.thinking-live-label,
|
|
504
|
+
.thinking-preview-prefix,
|
|
505
|
+
.thinking-preview-track,
|
|
506
|
+
.thinking-preview-live,
|
|
507
|
+
.thinking-wait,
|
|
508
|
+
.thinking-body p,
|
|
509
|
+
.thinking-body li,
|
|
510
|
+
.thinking-body span,
|
|
511
|
+
.thinking-body strong,
|
|
512
|
+
.thinking-body em {
|
|
513
|
+
color: #ffffff !important;
|
|
514
|
+
opacity: 0.98 !important;
|
|
515
|
+
text-shadow:
|
|
516
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
517
|
+
0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.toolcall-path,
|
|
521
|
+
.toolcall-cmd {
|
|
522
|
+
color: #e2e8f0 !important;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.quick-chip {
|
|
526
|
+
background: rgba(14, 16, 24, 0.45) !important;
|
|
527
|
+
border: 1px solid rgba(255, 255, 255, 0.16) !important;
|
|
528
|
+
border-radius: 14px !important;
|
|
529
|
+
backdrop-filter: blur(8px) saturate(130%) !important;
|
|
530
|
+
-webkit-backdrop-filter: blur(8px) saturate(130%) !important;
|
|
531
|
+
box-shadow: none !important;
|
|
532
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.quick-chip:hover {
|
|
536
|
+
background: rgba(255, 255, 255, 0.16) !important;
|
|
537
|
+
border-color: rgba(255, 255, 255, 0.4) !important;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.dd-menu,
|
|
541
|
+
.ctx-menu,
|
|
542
|
+
.pm-panel,
|
|
543
|
+
.modal-dialog {
|
|
544
|
+
background: #111218 !important;
|
|
545
|
+
border: 1px solid rgba(255, 255, 255, 0.22) !important;
|
|
546
|
+
box-shadow:
|
|
547
|
+
0 12px 40px rgba(0, 0, 0, 0.85),
|
|
548
|
+
0 0 20px rgba(255, 255, 255, 0.1) !important;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
[data-pi-floating-panel],
|
|
552
|
+
.floating-panel {
|
|
553
|
+
background: rgba(12, 13, 18, 0.85) !important;
|
|
554
|
+
border: 1px solid rgba(255, 255, 255, 0.22) !important;
|
|
555
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
|
|
556
|
+
color: #ffffff !important;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
[data-pi-floating-panel] *,
|
|
560
|
+
.floating-panel * {
|
|
561
|
+
color: #ffffff !important;
|
|
562
|
+
text-shadow:
|
|
563
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
564
|
+
0 1px 1.2px rgba(0, 0, 0, 0.88) !important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/* 9.1 右下角状态栏指标(GitHub、CPU/内存68%·32%、工作区路径等)全量高对比提亮与矢量锁边 */
|
|
568
|
+
.statusbar-right,
|
|
569
|
+
.statusbar-right *,
|
|
570
|
+
.statusbar .bar-item-host-metrics,
|
|
571
|
+
.statusbar .bar-item-host-metrics *,
|
|
572
|
+
.statusbar .status-host-metrics,
|
|
573
|
+
.statusbar .status-host-metrics *,
|
|
574
|
+
.statusbar .bar-item-cwd,
|
|
575
|
+
.statusbar .bar-item-cwd *,
|
|
576
|
+
.statusbar .status-cwd,
|
|
577
|
+
.statusbar .status-cwd * {
|
|
578
|
+
color: #ffffff !important;
|
|
579
|
+
opacity: 0.98 !important;
|
|
580
|
+
text-shadow:
|
|
581
|
+
0 0 1px rgba(0, 0, 0, 0.98),
|
|
582
|
+
0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.statusbar-right .bar-item-icon svg,
|
|
586
|
+
.statusbar .bar-item-host-metrics svg,
|
|
587
|
+
.statusbar .status-host-metrics svg,
|
|
588
|
+
.statusbar .bar-item-cwd svg,
|
|
589
|
+
.statusbar .status-cwd svg {
|
|
590
|
+
color: #ffffff !important;
|
|
591
|
+
stroke: #ffffff !important;
|
|
592
|
+
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 1px 1.2px rgba(0, 0, 0, 0.85)) !important;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/* 10. 顶部按钮与所有图标:所有按钮统一度量衡,阴影唯一精准挂载在矢量笔画上,严禁父子容器双重叠加产生浓黑光晕 */
|
|
596
|
+
span.bar-item-icon,
|
|
597
|
+
span.plugin-icon-svg,
|
|
598
|
+
.side-dock-btn,
|
|
599
|
+
.chead-copy,
|
|
600
|
+
.chead-toggle,
|
|
601
|
+
.msg-actions button,
|
|
602
|
+
.panel-header .icon-btn,
|
|
603
|
+
.panel-collapse-btn,
|
|
604
|
+
.panel-rail,
|
|
605
|
+
.lp-section-action,
|
|
606
|
+
.pi-we-icon-btn,
|
|
607
|
+
.topbar .icon-btn,
|
|
608
|
+
.icon-btn,
|
|
609
|
+
.project-icon {
|
|
610
|
+
background: transparent !important;
|
|
611
|
+
border: none !important;
|
|
612
|
+
box-shadow: none !important;
|
|
613
|
+
filter: none !important;
|
|
614
|
+
text-shadow: none !important;
|
|
615
|
+
color: #f8fafc !important;
|
|
616
|
+
transition:
|
|
617
|
+
filter 0.15s ease,
|
|
618
|
+
transform 0.15s ease,
|
|
619
|
+
color 0.15s ease;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/* 全界面所有图标矢量元素(SVG / Glyph / 胶囊图标):统一定义唯一、精致、锐利的微黑锁边,绝不晕染;
|
|
623
|
+
注意:仅对叶子节点 SVG 或字符 Glyph 施加滤镜,绝对禁止在包含 SVG 的 span 容器上挂滤镜防嵌套双重阴影 */
|
|
624
|
+
svg.bar-item-icon,
|
|
625
|
+
.bar-item-glyph,
|
|
626
|
+
.bar-item-icon svg,
|
|
627
|
+
.bar-item-icon.plugin-icon-svg svg,
|
|
628
|
+
.lp-section-action svg,
|
|
629
|
+
.panel-collapse-btn svg,
|
|
630
|
+
.panel-rail svg,
|
|
631
|
+
.side-dock-btn svg,
|
|
632
|
+
.project-icon svg,
|
|
633
|
+
.chead-copy svg,
|
|
634
|
+
.chead-copy > svg,
|
|
635
|
+
.chead-toggle svg,
|
|
636
|
+
.chead-toggle > svg,
|
|
637
|
+
.chead-icon svg,
|
|
638
|
+
.toolcall-icon svg,
|
|
639
|
+
.thinking-icon svg,
|
|
640
|
+
.toolcall-status svg,
|
|
641
|
+
.toolcall-open svg {
|
|
642
|
+
color: #f8fafc !important;
|
|
643
|
+
stroke: #f8fafc !important;
|
|
644
|
+
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 1px 1.2px rgba(0, 0, 0, 0.85)) !important;
|
|
645
|
+
transition:
|
|
646
|
+
filter 0.15s ease,
|
|
647
|
+
color 0.15s ease;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/* 悬停微高光微反馈:统一只对图标自身应用光晕,容器 span 保持无滤镜 */
|
|
651
|
+
.bar-item:hover span.bar-item-icon,
|
|
652
|
+
.bar-item:hover span.plugin-icon-svg {
|
|
653
|
+
filter: none !important;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.bar-item:hover svg.bar-item-icon,
|
|
657
|
+
.bar-item:hover .bar-item-icon svg,
|
|
658
|
+
.bar-item:hover .bar-item-glyph,
|
|
659
|
+
.side-dock-btn:hover svg,
|
|
660
|
+
.chead-copy:hover svg,
|
|
661
|
+
.chead-toggle:hover svg,
|
|
662
|
+
.msg-actions button:hover svg,
|
|
663
|
+
.lp-section-action:hover svg,
|
|
664
|
+
.panel-collapse-btn:hover svg,
|
|
665
|
+
.panel-rail:hover svg,
|
|
666
|
+
.icon-btn:hover svg,
|
|
667
|
+
.toolcall-open:hover svg {
|
|
668
|
+
color: #ffffff !important;
|
|
669
|
+
stroke: #ffffff !important;
|
|
670
|
+
filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95)) !important;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.side-dock-btn:hover,
|
|
674
|
+
.chead-copy:hover,
|
|
675
|
+
.chead-toggle:hover,
|
|
676
|
+
.msg-actions button:hover,
|
|
677
|
+
.lp-section-action:hover,
|
|
678
|
+
.panel-collapse-btn:hover,
|
|
679
|
+
.panel-rail:hover,
|
|
680
|
+
.icon-btn:hover,
|
|
681
|
+
.toolcall-open:hover {
|
|
682
|
+
transform: scale(1.08);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/* 顶栏所有按钮(含沙盒、临时对话等)默认彻底裸幽灵化,绝不残留突兀的高亮黄色圆环或生硬外边框 */
|
|
686
|
+
.topbar .bar-item:not(:hover),
|
|
687
|
+
.topbar .chip:not(:hover),
|
|
688
|
+
.topbar .sandbox-chip:not(:hover),
|
|
689
|
+
.topbar .ephemeral-chat-btn:not(:hover) {
|
|
690
|
+
background: transparent !important;
|
|
691
|
+
border-color: transparent !important;
|
|
692
|
+
box-shadow: none !important;
|
|
693
|
+
}
|