pi-web-ui 0.105.1 → 0.107.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +84 -2
  2. package/README.md +193 -797
  3. package/README.zh-CN.md +186 -625
  4. package/README.zh-TW.md +781 -0
  5. package/bin/frp-manager.mjs +1488 -0
  6. package/bin/pi-web-ui.mjs +27 -0
  7. package/deploy/nginx-subpath.conf +16 -1
  8. package/dist/server/agent-service-daemon.js +34 -0
  9. package/dist/server/agent-service.js +259 -60
  10. package/dist/server/claim-files-tool.js +8 -1
  11. package/dist/server/client-state.js +136 -30
  12. package/dist/server/conversation-read-tool.js +12 -4
  13. package/dist/server/delegate-task.js +9 -1
  14. package/dist/server/dispatch-domain-handlers.js +15 -0
  15. package/dist/server/dsh/dsh-agent-service.js +848 -246
  16. package/dist/server/dsh/dsh-client.js +59 -18
  17. package/dist/server/dsh/dsh-market-service.js +233 -0
  18. package/dist/server/dsh/dsh-serialize.js +11 -3
  19. package/dist/server/dsh/dsh-sessions.js +64 -2
  20. package/dist/server/dsh/preset-clones.js +12 -1
  21. package/dist/server/dsh/runtime/goal-rpc.mjs +183 -45
  22. package/dist/server/durable/durable-agent-service.js +153 -0
  23. package/dist/server/durable/durable-capabilities.js +11 -0
  24. package/dist/server/durable/durable-driver.js +481 -0
  25. package/dist/server/durable/durable-loader.js +38 -0
  26. package/dist/server/durable/durable-models.js +283 -0
  27. package/dist/server/durable/durable-storage.js +42 -0
  28. package/dist/server/durable/durable-tools.js +45 -0
  29. package/dist/server/durable/index.js +8 -0
  30. package/dist/server/engine-capabilities.js +91 -0
  31. package/dist/server/engine-probe.js +391 -0
  32. package/dist/server/global-loader.js +335 -0
  33. package/dist/server/goal-service.js +23 -12
  34. package/dist/server/i18n.js +20 -1
  35. package/dist/server/index.js +286 -71
  36. package/dist/server/locales.js +1 -0
  37. package/dist/server/managed.js +2 -0
  38. package/dist/server/marker-service.js +5 -19
  39. package/dist/server/markers/index.js +1 -3
  40. package/dist/server/mcp-agent-tool.js +10 -7
  41. package/dist/server/mcp-bridge.js +428 -24
  42. package/dist/server/model-admin.js +172 -74
  43. package/dist/server/model-resolver.js +309 -0
  44. package/dist/server/plugin-installer.js +4 -2
  45. package/dist/server/plugins.js +89 -12
  46. package/dist/server/present-files-tool.js +10 -2
  47. package/dist/server/preset-fields.js +14 -0
  48. package/dist/server/preset-share.js +2 -0
  49. package/dist/server/protocol-version.js +1 -1
  50. package/dist/server/schedule-agent-tool.js +2 -1
  51. package/dist/server/scm-commitmsg.js +3 -2
  52. package/dist/server/sdk-origin.js +2 -2
  53. package/dist/server/serialize.js +1 -1
  54. package/dist/server/settings-service.js +10 -2
  55. package/dist/server/skill-discovery.js +161 -0
  56. package/dist/server/skill-tool.js +2 -1
  57. package/dist/server/slash-commands.js +154 -73
  58. package/dist/server/subagent-templates-hant.js +215 -0
  59. package/dist/server/subagent-templates.js +49 -2
  60. package/dist/server/subagents.js +22 -12
  61. package/dist/server/terminals.js +2 -2
  62. package/dist/server/tool-manager.js +6 -19
  63. package/dist/server/universal/driver-base.js +60 -0
  64. package/dist/server/universal/drivers/claude-code.js +463 -0
  65. package/dist/server/universal/drivers/dsh-driver.js +376 -0
  66. package/dist/server/universal/drivers/mock-driver.js +103 -0
  67. package/dist/server/universal/index.js +10 -0
  68. package/dist/server/universal/session-store.js +100 -0
  69. package/dist/server/universal/universal-attachments.js +175 -0
  70. package/dist/server/universal/universal-service.js +166 -0
  71. package/dist/server/universal/universal-session.js +2664 -0
  72. package/dist/server/universal/universal-types.js +4 -0
  73. package/dist/server/update-check.js +24 -9
  74. package/dist/server/worktree-service.js +1 -1
  75. package/dist/server/worktree-tool.js +9 -7
  76. package/package.json +3 -2
  77. package/plugin-sdk/index.d.ts +12 -2
  78. package/plugins/catalog.json +50 -5
  79. package/themes/dark-teal.css +20 -24
  80. package/themes/flow-light.css +1085 -0
  81. package/themes/flow.css +1094 -0
  82. package/themes/md-preview.css +1 -2
  83. package/themes/wallpaper-flow.css +1158 -0
  84. package/themes/wallpaper-obsidian.css +743 -0
  85. package/themes/zhujian-dark.css +0 -7
  86. package/themes/zhujian.css +0 -7
  87. package/themes/zhupi-dark.css +0 -7
  88. package/themes/zhupi.css +0 -7
  89. package/web/dist/assets/{TerminalPanel-Mk4laCAL.js → TerminalPanel-BnViyTlx.js} +2 -2
  90. package/web/dist/assets/index-cCRCYMwT.css +1 -0
  91. package/web/dist/assets/index-fH5vhkAE.js +690 -0
  92. package/web/dist/index.html +2 -2
  93. package/web/dist/sw.js +1 -1
  94. package/web/dist/assets/index-BDLVjBeK.js +0 -690
  95. package/web/dist/assets/index-BQC6lADz.css +0 -1
@@ -0,0 +1,1158 @@
1
+ /* theme-name: 壁纸专属 · 极简行文 */
2
+ /* theme-name-en: Wallpaper Pure Flow */
3
+ /*
4
+ * Wallpaper Engine 专属主题 —— 极简行文(Pure Flow & Borderless Canvas):
5
+ * 彻底消灭正文气泡外壳与边框背景,正文文字如同在壁纸画布上笔墨行书,
6
+ * 采用微小紧致黑色阴影锁住边缘,极致紧凑排版让 AI 回答如行文般一气呵成。
7
+ */
8
+ :root {
9
+ color-scheme: dark;
10
+ --bg: #050507;
11
+ --bg-elev: #0c0d11;
12
+ --bg-elev2: #14161c;
13
+ --border: rgba(255, 255, 255, 0.14);
14
+ --border-soft: rgba(255, 255, 255, 0.06);
15
+ --text: #ffffff;
16
+ --text-dim: #cbd5e1;
17
+ --text-faint: #64748b;
18
+ --accent: #ffffff;
19
+ --accent-contrast: #000000;
20
+ --accent-soft: rgba(255, 255, 255, 0.12);
21
+ --green: #4ade80;
22
+ --green-soft: rgba(74, 222, 128, 0.12);
23
+ --red: #f87171;
24
+ --red-soft: rgba(248, 113, 113, 0.12);
25
+ --amber: #fbbf24;
26
+ --blue: #94a3b8;
27
+ --blue-soft: rgba(148, 163, 184, 0.14);
28
+
29
+ --term-bg: rgba(8, 8, 10, 0.72);
30
+ --term-fg: #ffffff;
31
+ --term-cursor: #ffffff;
32
+ --term-cursor-accent: #050507;
33
+ --term-selection: rgba(255, 255, 255, 0.28);
34
+ --term-black: #14161c;
35
+ --term-red: #f87171;
36
+ --term-green: #4ade80;
37
+ --term-yellow: #fbbf24;
38
+ --term-blue: #cbd5e1;
39
+ --term-magenta: #e2e8f0;
40
+ --term-cyan: #94a3b8;
41
+ --term-white: #ffffff;
42
+ --term-bright-black: #64748b;
43
+ --term-bright-red: #fca5a5;
44
+ --term-bright-green: #86efac;
45
+ --term-bright-yellow: #fde047;
46
+ --term-bright-blue: #e2e8f0;
47
+ --term-bright-magenta: #f8fafc;
48
+ --term-bright-cyan: #cbd5e1;
49
+ --term-bright-white: #ffffff;
50
+
51
+ --wallpaper-panel-alpha: 0%;
52
+ --menu-bg: #101116;
53
+ --bg-image-dim: 0.85;
54
+
55
+ --topbar-bg: rgba(6, 6, 8, 0.4);
56
+ --statusbar-bg: rgba(6, 6, 8, 0.4);
57
+ --panel-bg: rgba(8, 8, 12, 0.36);
58
+ --msgs-bg: transparent;
59
+ --card-bg: transparent;
60
+ --inputbox-bg: rgba(12, 14, 20, 0.52);
61
+ --chip-bg: rgba(255, 255, 255, 0.08);
62
+
63
+ --code-bg: rgba(6, 8, 12, 0.72);
64
+ --code-text: #f8fafc;
65
+ --code-border: rgba(255, 255, 255, 0.12);
66
+
67
+ --scroll-thumb: rgba(255, 255, 255, 0.22);
68
+ --scroll-thumb-hover: rgba(255, 255, 255, 0.45);
69
+ --send-blue: #f8fafc;
70
+ --send-blue-hover: #ffffff;
71
+ --switch-knob: #ffffff;
72
+ --switch-bg-on: #4ade80;
73
+ }
74
+
75
+ #root,
76
+ .app,
77
+ .layout,
78
+ .view-pane,
79
+ .main,
80
+ .messages-wrap,
81
+ .chat-view,
82
+ .chat-scroll,
83
+ .messages,
84
+ .inputbar {
85
+ background: transparent !important;
86
+ }
87
+
88
+ .topbar {
89
+ background: rgba(6, 6, 8, 0.4) !important;
90
+ border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
91
+ backdrop-filter: none !important;
92
+ -webkit-backdrop-filter: none !important;
93
+ box-shadow: none !important;
94
+ z-index: 50 !important;
95
+ }
96
+
97
+ .footer-bar,
98
+ .statusbar {
99
+ background: rgba(6, 6, 8, 0.4) !important;
100
+ border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
101
+ backdrop-filter: none !important;
102
+ -webkit-backdrop-filter: none !important;
103
+ box-shadow: none !important;
104
+ z-index: 50 !important;
105
+ }
106
+
107
+ .panel,
108
+ .drawer-left .panel,
109
+ .drawer-right .panel,
110
+ .lp-panel {
111
+ background: rgba(8, 8, 12, 0.38) !important;
112
+ border-color: rgba(255, 255, 255, 0.12) !important;
113
+ backdrop-filter: none !important;
114
+ -webkit-backdrop-filter: none !important;
115
+ box-shadow: none !important;
116
+ }
117
+
118
+ .panel-header,
119
+ .lp-section-header,
120
+ .panel-convs,
121
+ .panel-sessions,
122
+ .lp-group-title,
123
+ .panel-body {
124
+ background: transparent !important;
125
+ }
126
+
127
+ .lp-conv-row:hover,
128
+ .lp-conv-row.active,
129
+ .ft-row:hover,
130
+ .panel-item:hover {
131
+ background: rgba(255, 255, 255, 0.1) !important;
132
+ }
133
+
134
+ /* 左侧分区标题提亮并施加微暗边缘 */
135
+ .lp-section-header,
136
+ .lp-section-title,
137
+ .lp-section-title-text,
138
+ .lp-section-chevron,
139
+ .lp-section-count,
140
+ .panel-section-title {
141
+ color: #f8fafc !important;
142
+ opacity: 0.96 !important;
143
+ text-shadow:
144
+ 0 0 1px rgba(0, 0, 0, 0.95),
145
+ 0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
146
+ }
147
+
148
+ /* ========================================================
149
+ 核心:极简行文(Flow)—— 正文零边框、零背景色、极致紧凑
150
+ ======================================================== */
151
+ .messages-wrap,
152
+ .chat-scroll,
153
+ .messages {
154
+ background: transparent !important;
155
+ }
156
+
157
+ .messages {
158
+ padding-top: 4px !important;
159
+ padding-bottom: calc(48px + var(--quick-row-h, 0px)) !important;
160
+ }
161
+
162
+ .msg {
163
+ background: transparent !important;
164
+ border: none !important;
165
+ box-shadow: none !important;
166
+ margin: 4px 0 !important;
167
+ padding: 0 !important;
168
+ }
169
+
170
+ .msg-assistant {
171
+ margin: 8px 0 !important;
172
+ padding: 0 !important;
173
+ }
174
+
175
+ /* 正文主体:完全透明无边框无圆角无遮挡,如字行书纸上 */
176
+ .msg-assistant .msg-body {
177
+ background: transparent !important;
178
+ border: none !important;
179
+ border-radius: 0 !important;
180
+ box-shadow: none !important;
181
+ backdrop-filter: none !important;
182
+ -webkit-backdrop-filter: none !important;
183
+ overflow: visible !important;
184
+ display: block !important;
185
+ padding: 0 !important;
186
+ margin: 0 !important;
187
+ line-height: 1.62 !important;
188
+ letter-spacing: 0.012em !important;
189
+ }
190
+
191
+ .msg-text,
192
+ .msg-assistant .msg-text {
193
+ background: transparent !important;
194
+ border: none !important;
195
+ box-shadow: none !important;
196
+ padding: 0 !important;
197
+ margin: 0 !important;
198
+ }
199
+
200
+ /* 正文排版极致紧凑:段间距、行高、列表间隙微调,彻底消灭笨重留白 */
201
+ .msg-body p {
202
+ margin: 0.36em 0 !important;
203
+ line-height: 1.62 !important;
204
+ }
205
+ .msg-body p:first-child {
206
+ margin-top: 0 !important;
207
+ }
208
+ .msg-body p:last-child {
209
+ margin-bottom: 0 !important;
210
+ }
211
+
212
+ .msg-body ul,
213
+ .msg-body ol {
214
+ margin: 0.25em 0 !important;
215
+ padding-left: 1.25em !important;
216
+ }
217
+
218
+ .msg-body li {
219
+ margin: 0.12em 0 !important;
220
+ line-height: 1.58 !important;
221
+ }
222
+ .msg-body li > p {
223
+ margin: 0 !important;
224
+ display: inline !important;
225
+ }
226
+
227
+ .msg-body h1,
228
+ .msg-body h2,
229
+ .msg-body h3,
230
+ .msg-body h4,
231
+ .msg-body h5,
232
+ .msg-body h6 {
233
+ margin: 0.55em 0 0.22em 0 !important;
234
+ line-height: 1.35 !important;
235
+ font-weight: 600 !important;
236
+ color: #ffffff !important;
237
+ }
238
+ .msg-body h1:first-child,
239
+ .msg-body h2:first-child,
240
+ .msg-body h3:first-child,
241
+ .msg-body h4:first-child {
242
+ margin-top: 0 !important;
243
+ }
244
+
245
+ .msg-body blockquote {
246
+ background: transparent !important;
247
+ border: none !important;
248
+ border-left: 2px solid rgba(255, 255, 255, 0.32) !important;
249
+ margin: 0.35em 0 !important;
250
+ padding: 2px 0 2px 10px !important;
251
+ opacity: 0.92 !important;
252
+ }
253
+
254
+ .msg-body hr {
255
+ margin: 0.5em 0 !important;
256
+ border: none !important;
257
+ border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
258
+ }
259
+
260
+ .msg-body table {
261
+ background: transparent !important;
262
+ border-collapse: collapse !important;
263
+ border: 1px solid rgba(255, 255, 255, 0.14) !important;
264
+ margin: 0.4em 0 !important;
265
+ font-size: 13.5px !important;
266
+ }
267
+
268
+ .msg-body th,
269
+ .msg-body td {
270
+ background: transparent !important;
271
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
272
+ padding: 4px 8px !important;
273
+ }
274
+
275
+ .msg-body code:not(pre code) {
276
+ background: rgba(255, 255, 255, 0.08) !important;
277
+ border: 1px solid rgba(255, 255, 255, 0.14) !important;
278
+ border-radius: 4px !important;
279
+ padding: 1px 4px !important;
280
+ }
281
+
282
+ .msg-body pre {
283
+ background: rgba(6, 8, 12, 0.72) !important;
284
+ border: 1px solid rgba(255, 255, 255, 0.12) !important;
285
+ border-radius: 8px !important;
286
+ margin: 0.42em 0 !important;
287
+ padding: 8px 12px !important;
288
+ line-height: 1.45 !important;
289
+ font-size: 13px !important;
290
+ }
291
+
292
+ /* ========================================================
293
+ 核心:所有正文文字微小黑色阴影(Micro Crisp Dark Shadow)
294
+ 紧锁字形边缘,锐利如印,不散不糊,在任何壁纸上行文自如
295
+ ======================================================== */
296
+ .topbar,
297
+ .topbar-title,
298
+ .bar-item-text,
299
+ .bar-item-badge,
300
+ .brand,
301
+ .brand *,
302
+ .lp-section-header,
303
+ .lp-section-title,
304
+ .lp-group-title,
305
+ .project-name,
306
+ .session-title,
307
+ .lp-conv-title,
308
+ .ft-name,
309
+ .quick-chip,
310
+ .msg-editor-file,
311
+ .msg-assistant,
312
+ .msg-assistant *,
313
+ .msg-text,
314
+ .msg-text *,
315
+ .msg-body,
316
+ .msg-body *,
317
+ .msg-body p,
318
+ .msg-body li,
319
+ .msg-body ul,
320
+ .msg-body ol,
321
+ .msg-body h1,
322
+ .msg-body h2,
323
+ .msg-body h3,
324
+ .msg-body h4,
325
+ .msg-body h5,
326
+ .msg-body h6,
327
+ .msg-body strong,
328
+ .msg-body b,
329
+ .msg-body em,
330
+ .msg-body i,
331
+ .msg-body span,
332
+ .msg-body a,
333
+ .msg-body blockquote,
334
+ .msg-body table,
335
+ .msg-body td,
336
+ .msg-body th,
337
+ .msg-body code:not(pre code),
338
+ .thinking-title,
339
+ .thinking-summary,
340
+ .thinking-body,
341
+ .thinking-body *,
342
+ .tool-title,
343
+ .toolcall-name,
344
+ .chead-title,
345
+ button:not(.icon-btn):not(.lp-section-action),
346
+ .btn {
347
+ text-shadow:
348
+ 0 0 1px rgba(0, 0, 0, 0.95),
349
+ 0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
350
+ }
351
+
352
+ /* 次要小字保护:防眩光微锁边 */
353
+ .project-path,
354
+ .project-time,
355
+ .session-sub,
356
+ .session-meta,
357
+ .session-time,
358
+ .ft-path,
359
+ .ft-size,
360
+ .ft-date,
361
+ .msg-time,
362
+ .msg-role,
363
+ .bar-item-char,
364
+ .cwd-sub,
365
+ .lp-section-count,
366
+ .lp-count,
367
+ .statusbar,
368
+ .statusbar *,
369
+ .footer-bar,
370
+ .footer-bar *,
371
+ .ctx-val,
372
+ .ctx-max,
373
+ .status-conn-label,
374
+ .status-cache-label,
375
+ .engine-picker-name,
376
+ .engine-badge,
377
+ .text-dim,
378
+ .text-faint,
379
+ .version-text,
380
+ .template-desc,
381
+ .inputbox textarea {
382
+ color: #e2e8f0 !important;
383
+ opacity: 0.95 !important;
384
+ text-shadow:
385
+ 0 0 1px rgba(0, 0, 0, 0.95),
386
+ 0 1px 1px rgba(0, 0, 0, 0.85) !important;
387
+ }
388
+
389
+ .project-path,
390
+ .session-meta {
391
+ color: #f1f5f9 !important;
392
+ opacity: 0.92 !important;
393
+ }
394
+
395
+ .project-time,
396
+ .session-time {
397
+ color: #e2e8f0 !important;
398
+ opacity: 0.95 !important;
399
+ }
400
+
401
+ /* 用户提问消息气泡:紧凑微透暗晶微胶囊 */
402
+ .msg-user {
403
+ background: transparent !important;
404
+ box-shadow: none !important;
405
+ margin: 6px 0 2px 0 !important;
406
+ }
407
+
408
+ .msg-user .msg-body {
409
+ background: linear-gradient(135deg, rgba(28, 30, 40, 0.55) 0%, rgba(16, 18, 24, 0.45) 100%) !important;
410
+ border: 1px solid rgba(255, 255, 255, 0.12) !important;
411
+ border-radius: 12px !important;
412
+ padding: 6px 12px !important;
413
+ box-shadow: none !important;
414
+ backdrop-filter: blur(2px) saturate(115%) !important;
415
+ -webkit-backdrop-filter: blur(2px) saturate(115%) !important;
416
+ }
417
+
418
+ /* 输入框 */
419
+ .inputbox {
420
+ background: rgba(12, 14, 20, 0.5) !important;
421
+ border: 1px solid rgba(255, 255, 255, 0.2) !important;
422
+ border-radius: 18px !important;
423
+ box-shadow: none !important;
424
+ backdrop-filter: blur(8px) saturate(130%) !important;
425
+ -webkit-backdrop-filter: blur(8px) saturate(130%) !important;
426
+ transition: border-color 0.2s ease;
427
+ }
428
+
429
+ .inputbox:focus-within {
430
+ border-color: rgba(255, 255, 255, 0.6) !important;
431
+ box-shadow: none !important;
432
+ }
433
+
434
+ .inputbox textarea {
435
+ background: transparent !important;
436
+ color: #ffffff !important;
437
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.88);
438
+ }
439
+
440
+ .composer-tools,
441
+ .composer-tools-left,
442
+ .composer-tools-center,
443
+ .composer-tools-right {
444
+ color: #ffffff !important;
445
+ }
446
+
447
+ .composer-tools .chip {
448
+ background: rgba(14, 15, 22, 0.45) !important;
449
+ border: 1px solid rgba(255, 255, 255, 0.2) !important;
450
+ color: #ffffff !important;
451
+ box-shadow: none !important;
452
+ transition:
453
+ background 0.15s ease,
454
+ border-color 0.15s ease;
455
+ }
456
+
457
+ .composer-tools .chip:hover {
458
+ background: rgba(14, 15, 22, 0.7) !important;
459
+ border-color: #ffffff !important;
460
+ }
461
+
462
+ .composer-tools .chip > span,
463
+ .composer-tools .chip > span.chip-model,
464
+ .composer-tools .chip > span.chip-sub,
465
+ .composer-tools .chip-sub {
466
+ color: #ffffff !important;
467
+ opacity: 0.98 !important;
468
+ text-shadow:
469
+ 0 0 1px rgba(0, 0, 0, 0.95),
470
+ 0 1px 1.5px rgba(0, 0, 0, 0.85) !important;
471
+ }
472
+
473
+ .composer-tools .chip > svg,
474
+ .composer-tools .dd-caret svg,
475
+ .composer-tools .dd-caret,
476
+ .inputbox .composer-tools-left button svg,
477
+ .inputbox .btn.composer-plugin-action svg,
478
+ .inputbox .composer-tools-left .btn svg {
479
+ color: #ffffff !important;
480
+ stroke: #ffffff !important;
481
+ 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;
482
+ }
483
+
484
+ .inputbox .composer-tools-left button,
485
+ .inputbox .btn.composer-plugin-action,
486
+ .inputbox .composer-tools-left .btn {
487
+ filter: none !important;
488
+ }
489
+
490
+ .composer-tools .chip,
491
+ .composer-tools .chip:hover,
492
+ .composer-tools .dropdown > button,
493
+ .composer-tools .dropdown > button:hover,
494
+ .dropdown > button.chip,
495
+ .dropdown > button.chip:hover {
496
+ border-radius: 8px !important;
497
+ }
498
+
499
+ .inputbox .btn.composer-plugin-action:not(.chip):hover,
500
+ .inputbox .composer-tools-left > button:not(.chip):not(.dropdown):hover {
501
+ color: #ffffff !important;
502
+ background: rgba(255, 255, 255, 0.14) !important;
503
+ border-radius: 6px !important;
504
+ }
505
+
506
+ .inputbox .btn.send {
507
+ background: #f8fafc !important;
508
+ border-color: #ffffff !important;
509
+ color: #050507 !important;
510
+ box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35) !important;
511
+ }
512
+ .inputbox .btn.send svg {
513
+ stroke: #050507 !important;
514
+ color: #050507 !important;
515
+ filter: none !important;
516
+ }
517
+ .inputbox .btn.send:hover:not(:disabled) {
518
+ background: #ffffff !important;
519
+ border-color: #ffffff !important;
520
+ color: #000000 !important;
521
+ box-shadow: 0 0 16px rgba(255, 255, 255, 0.55) !important;
522
+ transform: translateY(-1px);
523
+ }
524
+ .inputbox .btn.send:disabled {
525
+ opacity: 0.35 !important;
526
+ box-shadow: none !important;
527
+ cursor: default !important;
528
+ }
529
+ .inputbox .btn.send:disabled svg {
530
+ stroke: #050507 !important;
531
+ color: #050507 !important;
532
+ filter: none !important;
533
+ }
534
+
535
+ .inputbox .split-send {
536
+ background: #f8fafc !important;
537
+ border-color: #ffffff !important;
538
+ box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35) !important;
539
+ }
540
+ .inputbox .split-send button {
541
+ color: #050507 !important;
542
+ }
543
+ .inputbox .split-send button svg {
544
+ stroke: #050507 !important;
545
+ color: #050507 !important;
546
+ filter: none !important;
547
+ }
548
+ .inputbox .split-send .split-queue {
549
+ background: rgba(0, 0, 0, 0.08) !important;
550
+ }
551
+ .inputbox .split-send button + button {
552
+ border-left: 1px solid rgba(0, 0, 0, 0.18) !important;
553
+ }
554
+ .inputbox .split-send:hover {
555
+ background: #ffffff !important;
556
+ border-color: #ffffff !important;
557
+ box-shadow: 0 0 16px rgba(255, 255, 255, 0.55) !important;
558
+ }
559
+ .inputbox .split-send button:hover:not(:disabled) {
560
+ background: rgba(0, 0, 0, 0.12) !important;
561
+ }
562
+
563
+ .card {
564
+ background: transparent !important;
565
+ border: none !important;
566
+ box-shadow: none !important;
567
+ }
568
+
569
+ /* ========================================================
570
+ 字级输入流系统(Character-Level Inline Stream):
571
+ 对话流就像一个输入框,每个工具调用、思考、附件就是一个字。
572
+ 无折叠按钮,无任何换行,字字连贯,一点一点混排流进正文中。
573
+ ======================================================== */
574
+
575
+ /* 1. 助手消息体:完全作为文字流容器,不设多余内外边距 */
576
+ .turn-tools-trail {
577
+ display: flex !important;
578
+ flex-direction: row !important;
579
+ flex-wrap: wrap !important;
580
+ align-items: center !important;
581
+ gap: 6px !important;
582
+ margin: 6px 0 16px 0 !important;
583
+ padding: 0 !important;
584
+ width: 100% !important;
585
+ }
586
+ .turn-tools-trail > .msg,
587
+ .turn-tools-trail > .msg-assistant,
588
+ .turn-tools-trail > .msg .msg-body,
589
+ .turn-tools-trail > .msg-assistant .msg-body {
590
+ display: contents !important;
591
+ width: auto !important;
592
+ }
593
+ /* 彻底隐藏工具流集群内的元数据行(角色/模型/时间)与操作栏,杜绝100%全宽节点打断胶囊横向流动 */
594
+ .turn-tools-trail .msg-meta,
595
+ .turn-tools-trail .msg-actions,
596
+ .turn-tools-trail > .msg > .msg-meta,
597
+ .turn-tools-trail > .msg > .msg-actions,
598
+ .turn-tools-trail > .msg-assistant > .msg-meta,
599
+ .turn-tools-trail > .msg-assistant > .msg-actions {
600
+ display: none !important;
601
+ width: 0 !important;
602
+ height: 0 !important;
603
+ margin: 0 !important;
604
+ padding: 0 !important;
605
+ }
606
+ /* 消除兄弟选择器在横向流中对卡头施加的任何 border 细线,彻底清零外边距 */
607
+ .turn-tools-trail .chead,
608
+ .turn-tools-trail .toolcall .chead,
609
+ .turn-tools-trail .thinking .chead,
610
+ .turn-tools-trail .toolcall + .toolcall .chead,
611
+ .turn-tools-trail .thinking + .toolcall .chead,
612
+ .turn-tools-trail .toolcall + .thinking .chead,
613
+ .turn-tools-trail * .chead {
614
+ border: none !important;
615
+ margin: 0 !important;
616
+ }
617
+ .turn-tools-trail .thinking,
618
+ .turn-tools-trail .toolcall,
619
+ .main.hide-model-row .turn-tools-trail .thinking,
620
+ .main.hide-model-row .turn-tools-trail .toolcall,
621
+ .main.hide-model-row .msg-assistant .turn-tools-trail .thinking,
622
+ .main.hide-model-row .msg-assistant .turn-tools-trail .toolcall {
623
+ display: inline-flex !important;
624
+ align-items: center !important;
625
+ justify-content: center !important;
626
+ vertical-align: middle !important;
627
+ box-sizing: border-box !important;
628
+ width: auto !important;
629
+ min-width: 0 !important;
630
+ max-width: fit-content !important;
631
+ flex: 0 0 auto !important;
632
+ height: 22px !important;
633
+ line-height: 20px !important;
634
+ margin: 0 !important;
635
+ padding: 0 7px !important;
636
+ overflow: hidden !important;
637
+ }
638
+
639
+ .msg-assistant .msg-body {
640
+ display: block !important;
641
+ line-height: 1.62 !important;
642
+ font-size: 14px !important;
643
+ letter-spacing: 0.015em !important;
644
+ word-break: break-word !important;
645
+ }
646
+
647
+ /* 2. 工具调用、思考、附件徽标:Apple Vision 液态毛玻璃亚克力呼吸晶体微胶囊 */
648
+ .toolcall,
649
+ .thinking {
650
+ display: inline-flex !important;
651
+ align-items: center !important;
652
+ justify-content: center !important;
653
+ vertical-align: middle !important;
654
+ box-sizing: border-box !important;
655
+ width: auto !important;
656
+ min-width: 0 !important;
657
+ max-width: fit-content !important;
658
+ flex: 0 0 auto !important;
659
+ height: 23px !important;
660
+ line-height: 21px !important;
661
+ margin: 0 !important;
662
+ padding: 0 8px !important;
663
+ background: rgba(255, 255, 255, 0.05) !important;
664
+ border: 1px solid rgba(255, 255, 255, 0.09) !important;
665
+ border-radius: 999px !important;
666
+ font-family: var(--mono, monospace) !important;
667
+ font-size: 11px !important;
668
+ font-weight: 500 !important;
669
+ cursor: pointer !important;
670
+ white-space: nowrap !important;
671
+ box-shadow:
672
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.22),
673
+ 0 2px 5px rgba(0, 0, 0, 0.35) !important;
674
+ backdrop-filter: blur(12px) saturate(140%) !important;
675
+ -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
676
+ transition:
677
+ background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
678
+ border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1),
679
+ box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1),
680
+ transform 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
681
+ overflow: hidden !important;
682
+ user-select: none !important;
683
+ text-decoration: none !important;
684
+ }
685
+
686
+ .toolcall:hover,
687
+ .thinking:hover {
688
+ background: rgba(255, 255, 255, 0.09) !important;
689
+ border-color: rgba(255, 255, 255, 0.22) !important;
690
+ box-shadow:
691
+ inset 0 1px 1px rgba(255, 255, 255, 0.35),
692
+ 0 4px 10px rgba(0, 0, 0, 0.45) !important;
693
+ transform: translateY(-1px) !important;
694
+ }
695
+
696
+ /* 状态氛围微光点睛 */
697
+ .toolcall.run {
698
+ border-color: rgba(245, 158, 11, 0.45) !important;
699
+ box-shadow:
700
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.25),
701
+ 0 0 10px rgba(245, 158, 11, 0.25) !important;
702
+ }
703
+
704
+ .toolcall.ok {
705
+ border-color: rgba(52, 211, 153, 0.25) !important;
706
+ }
707
+
708
+ .toolcall.err {
709
+ border-color: rgba(248, 113, 113, 0.45) !important;
710
+ box-shadow:
711
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.25),
712
+ 0 0 10px rgba(239, 68, 68, 0.25) !important;
713
+ }
714
+
715
+ .thinking {
716
+ border-color: rgba(192, 132, 252, 0.25) !important;
717
+ }
718
+ .thinking:hover {
719
+ border-color: rgba(192, 132, 252, 0.45) !important;
720
+ }
721
+ .thinking.run {
722
+ border-color: rgba(192, 132, 252, 0.5) !important;
723
+ box-shadow:
724
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.25),
725
+ 0 0 10px rgba(192, 132, 252, 0.25) !important;
726
+ }
727
+ .thinking.ok {
728
+ border: none !important;
729
+ }
730
+
731
+ /* 彻底隐藏流内图片缩略图,read 的图片绝不直接塞在流里破坏胶囊排布;
732
+ 用户点击胶囊时由居中弹窗 Tool Inspector 完整展示高清大图与详情 */
733
+ .toolcall-images,
734
+ .toolcall-image,
735
+ .toolcall .toolcall-images {
736
+ display: none !important;
737
+ }
738
+
739
+ /* 3. 卡头:自适应内容宽度,严格水平垂直对齐,统一由 gap 提供间距,彻底消除内部 margin */
740
+ .toolcall .toolcall-head,
741
+ .toolcall .chead,
742
+ .thinking .chead {
743
+ display: inline-flex !important;
744
+ align-items: center !important;
745
+ justify-content: center !important;
746
+ vertical-align: middle !important;
747
+ box-sizing: border-box !important;
748
+ width: auto !important;
749
+ min-width: 0 !important;
750
+ max-width: fit-content !important;
751
+ min-height: unset !important;
752
+ height: 100% !important;
753
+ padding: 0 !important;
754
+ margin: 0 !important;
755
+ border: none !important;
756
+ background: transparent !important;
757
+ gap: 4px !important;
758
+ box-shadow: none !important;
759
+ line-height: 1 !important;
760
+ }
761
+
762
+ /* 彻底隐藏一切占位、折叠、复制等破坏行内流动性的元素:不需要折叠按钮、不需要长文本,所有按钮只显示名称与状态 */
763
+ .toolcall .chead-toggle,
764
+ .toolcall .toolcall-toggle,
765
+ .toolcall .toolcall-spacer,
766
+ .toolcall .chead-copy,
767
+ .toolcall .toolcall-copy,
768
+ .toolcall .toolcall-path,
769
+ .toolcall .toolcall-cmd,
770
+ .toolcall .toolcall-query,
771
+ .toolcall .toolcall-timeout,
772
+ .toolcall .toolcall-agent,
773
+ .toolcall .toolcall-open,
774
+ .toolcall .toolcall-kill,
775
+ .toolcall .toolcall-duration,
776
+ .thinking .chead-toggle,
777
+ .thinking .thinking-toggle,
778
+ .thinking .chead-copy,
779
+ .thinking .thinking-copy,
780
+ .thinking .thinking-spacer,
781
+ .thinking .thinking-summary-text,
782
+ .thinking .thinking-preview-live,
783
+ .thinking .thinking-preview-viewport,
784
+ .thinking .thinking-preview-track,
785
+ .thinking .thinking-preview-prefix,
786
+ .thinking .thinking-live-label,
787
+ .thinking-summary {
788
+ display: none !important;
789
+ }
790
+
791
+ .chead-icon,
792
+ .chead-icon.thinking-icon,
793
+ .chead-icon.toolcall-icon,
794
+ .toolcall-icon,
795
+ .toolcall-head svg,
796
+ .thinking-icon,
797
+ .thinking svg {
798
+ display: inline-flex !important;
799
+ align-items: center !important;
800
+ justify-content: center !important;
801
+ width: 12px !important;
802
+ height: 12px !important;
803
+ padding: 0 !important;
804
+ margin: 0 !important;
805
+ border-radius: 0 !important;
806
+ background: transparent !important;
807
+ flex: none !important;
808
+ opacity: 0.82 !important;
809
+ font-size: 10px !important;
810
+ }
811
+
812
+ .toolcall-name,
813
+ .chead-title.toolcall-name,
814
+ .thinking-name,
815
+ .thinking-label,
816
+ .chead-title.thinking-label {
817
+ display: inline-flex !important;
818
+ align-items: center !important;
819
+ justify-content: center !important;
820
+ line-height: 1 !important;
821
+ font-size: 11px !important;
822
+ font-weight: 500 !important;
823
+ color: #f1f5f9 !important;
824
+ padding: 0 !important;
825
+ margin: 0 !important;
826
+ flex: none !important;
827
+ min-width: unset !important;
828
+ max-width: unset !important;
829
+ letter-spacing: 0.02em !important;
830
+ }
831
+
832
+ .thinking .thinking-name {
833
+ color: #f1f5f9 !important;
834
+ }
835
+ .thinking .thinking-icon,
836
+ .thinking .thinking-status {
837
+ color: #c084fc !important;
838
+ filter: drop-shadow(0 0 4px rgba(192, 132, 252, 0.75)) !important;
839
+ }
840
+
841
+ /* 语义化工具微光宝石呼吸灯 */
842
+ .toolcall-icon.tc-tone-exec {
843
+ color: #38bdf8 !important;
844
+ filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.75)) !important;
845
+ }
846
+ .toolcall-icon.tc-tone-read,
847
+ .toolcall-icon.tc-tone-search {
848
+ color: #34d399 !important;
849
+ filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.75)) !important;
850
+ }
851
+ .toolcall-icon.tc-tone-edit {
852
+ color: #fbbf24 !important;
853
+ filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.75)) !important;
854
+ }
855
+ .toolcall-icon.tc-tone-code {
856
+ color: #e879f9 !important;
857
+ filter: drop-shadow(0 0 4px rgba(232, 121, 249, 0.75)) !important;
858
+ }
859
+ .toolcall-icon.tc-tone-agent {
860
+ color: #f87171 !important;
861
+ filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.75)) !important;
862
+ }
863
+
864
+ .toolcall.ok .toolcall-status {
865
+ color: #34d399 !important;
866
+ filter: drop-shadow(0 0 3px rgba(52, 211, 153, 0.6)) !important;
867
+ }
868
+ .toolcall.err .toolcall-status {
869
+ color: #f87171 !important;
870
+ filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.8)) !important;
871
+ }
872
+
873
+ .toolcall-status,
874
+ .thinking-status {
875
+ display: inline-flex !important;
876
+ align-items: center !important;
877
+ justify-content: center !important;
878
+ vertical-align: middle !important;
879
+ width: 11px !important;
880
+ height: 11px !important;
881
+ font-size: 9px !important;
882
+ flex: none !important;
883
+ margin: 0 !important;
884
+ padding: 0 !important;
885
+ }
886
+ .toolcall-status > svg,
887
+ .toolcall-status svg,
888
+ .thinking-status > svg,
889
+ .thinking-status svg {
890
+ width: 10px !important;
891
+ height: 10px !important;
892
+ margin: 0 !important;
893
+ padding: 0 !important;
894
+ }
895
+ .thinking-status .spin,
896
+ .toolcall-status .spin,
897
+ .toolcall-status .half-ring-spin,
898
+ .thinking-status .half-ring-spin,
899
+ .toolcall.run .toolcall-status svg,
900
+ .toolcall.run .toolcall-status-icon svg {
901
+ animation: spin 0.85s linear infinite !important;
902
+ transform-origin: center center !important;
903
+ }
904
+
905
+ /* 特殊输出代表性微标:图片 🖼️、Markdown 📝 等精致小徽标,行内零干扰 */
906
+ .toolcall-out-badge {
907
+ display: inline-flex !important;
908
+ align-items: center !important;
909
+ justify-content: center !important;
910
+ vertical-align: middle !important;
911
+ width: 11px !important;
912
+ height: 11px !important;
913
+ font-size: 9.5px !important;
914
+ margin: 0 !important;
915
+ padding: 0 !important;
916
+ flex: none !important;
917
+ opacity: 0.85 !important;
918
+ }
919
+ .toolcall-out-badge.img {
920
+ color: #38bdf8 !important;
921
+ }
922
+ .toolcall-out-badge.md {
923
+ color: #a78bfa !important;
924
+ }
925
+ .toolcall-out-badge svg {
926
+ width: 10px !important;
927
+ height: 10px !important;
928
+ margin: 0 !important;
929
+ padding: 0 !important;
930
+ }
931
+
932
+ /* 4. 附件也是一个“字”:排布在同一输入流中,外边距清零由 gap 管理 */
933
+ .msg-queued-atts-bar {
934
+ display: inline-flex !important;
935
+ align-items: center !important;
936
+ gap: 6px !important;
937
+ margin: 0 !important;
938
+ padding: 0 !important;
939
+ }
940
+ .queued-att-chip,
941
+ .attach-chip {
942
+ display: inline-flex !important;
943
+ align-items: center !important;
944
+ vertical-align: middle !important;
945
+ box-sizing: border-box !important;
946
+ height: 22px !important;
947
+ line-height: 20px !important;
948
+ margin: 0 !important;
949
+ padding: 0 7px !important;
950
+ font-size: 11px !important;
951
+ border-radius: 5px !important;
952
+ }
953
+
954
+ /* 5. 核心铁律:正文文本自成段落倾泻,与上方工具流保持呼吸间距 */
955
+ .msg-assistant .msg-text {
956
+ display: block !important;
957
+ padding: 0 !important;
958
+ margin: 8px 0 0 0 !important;
959
+ }
960
+ .msg-assistant .msg-text > .markdown {
961
+ display: inline !important;
962
+ }
963
+ .msg-assistant .msg-text > .markdown > p:first-child {
964
+ display: inline !important;
965
+ margin: 0 !important;
966
+ }
967
+
968
+ /* 6. 核心:彻底隐藏原地展开内容,点击由检查器弹窗全屏/居中接管 */
969
+ .toolcall-body,
970
+ .thinking-body {
971
+ display: none !important;
972
+ }
973
+
974
+ .msg-actions {
975
+ opacity: 0.3 !important;
976
+ margin-top: 2px !important;
977
+ transition: opacity 0.15s ease !important;
978
+ }
979
+ .msg-assistant:hover .msg-actions,
980
+ .msg-user:hover .msg-actions {
981
+ opacity: 1 !important;
982
+ }
983
+
984
+ pre,
985
+ code {
986
+ text-shadow: none !important;
987
+ }
988
+
989
+ /* 快捷指令/快捷短语与底部建议胶囊:悬浮、背景透明、毛玻璃磨砂浮空效果 */
990
+ .quick-chip,
991
+ .action-suggestion-chip {
992
+ background: rgba(14, 16, 24, 0.42) !important;
993
+ border: 1px solid rgba(255, 255, 255, 0.18) !important;
994
+ border-radius: 999px !important;
995
+ backdrop-filter: blur(14px) saturate(140%) !important;
996
+ -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
997
+ box-shadow:
998
+ 0 4px 16px rgba(0, 0, 0, 0.35),
999
+ 0 1px 3px rgba(0, 0, 0, 0.25),
1000
+ inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
1001
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
1002
+ transition:
1003
+ transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
1004
+ box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
1005
+ border-color 0.18s ease,
1006
+ background 0.18s ease,
1007
+ color 0.18s ease !important;
1008
+ }
1009
+
1010
+ .quick-chip:hover:not(:disabled),
1011
+ .action-suggestion-chip:hover:not(:disabled) {
1012
+ transform: translateY(-2px) !important;
1013
+ background: rgba(255, 255, 255, 0.18) !important;
1014
+ border-color: rgba(255, 255, 255, 0.45) !important;
1015
+ box-shadow:
1016
+ 0 8px 24px rgba(0, 0, 0, 0.5),
1017
+ 0 2px 6px rgba(0, 0, 0, 0.3),
1018
+ inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
1019
+ }
1020
+
1021
+ .quick-chip:active:not(:disabled),
1022
+ .action-suggestion-chip:active:not(:disabled) {
1023
+ transform: translateY(0) scale(0.97) !important;
1024
+ }
1025
+
1026
+ .dd-menu,
1027
+ .ctx-menu,
1028
+ .pm-panel,
1029
+ .modal-dialog {
1030
+ background: #111218 !important;
1031
+ border: 1px solid rgba(255, 255, 255, 0.22) !important;
1032
+ box-shadow:
1033
+ 0 12px 40px rgba(0, 0, 0, 0.85),
1034
+ 0 0 20px rgba(255, 255, 255, 0.1) !important;
1035
+ }
1036
+
1037
+ [data-pi-floating-panel],
1038
+ .floating-panel {
1039
+ background: rgba(12, 13, 18, 0.85) !important;
1040
+ border: 1px solid rgba(255, 255, 255, 0.22) !important;
1041
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
1042
+ color: #ffffff !important;
1043
+ }
1044
+
1045
+ [data-pi-floating-panel] *,
1046
+ .floating-panel * {
1047
+ color: #ffffff !important;
1048
+ text-shadow:
1049
+ 0 0 1px rgba(0, 0, 0, 0.95),
1050
+ 0 1px 1.2px rgba(0, 0, 0, 0.85) !important;
1051
+ }
1052
+
1053
+ .statusbar-right,
1054
+ .statusbar-right *,
1055
+ .statusbar .bar-item-host-metrics,
1056
+ .statusbar .bar-item-host-metrics *,
1057
+ .statusbar .status-host-metrics,
1058
+ .statusbar .status-host-metrics *,
1059
+ .statusbar .bar-item-cwd,
1060
+ .statusbar .bar-item-cwd *,
1061
+ .statusbar .status-cwd,
1062
+ .statusbar .status-cwd * {
1063
+ color: #ffffff !important;
1064
+ opacity: 0.98 !important;
1065
+ text-shadow:
1066
+ 0 0 1px rgba(0, 0, 0, 0.95),
1067
+ 0 1px 1.5px rgba(0, 0, 0, 0.85) !important;
1068
+ }
1069
+
1070
+ .statusbar-right .bar-item-icon svg,
1071
+ .statusbar .bar-item-host-metrics svg,
1072
+ .statusbar .status-host-metrics svg,
1073
+ .statusbar .bar-item-cwd svg,
1074
+ .statusbar .status-cwd svg {
1075
+ color: #ffffff !important;
1076
+ stroke: #ffffff !important;
1077
+ 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;
1078
+ }
1079
+
1080
+ span.bar-item-icon,
1081
+ span.plugin-icon-svg,
1082
+ .side-dock-btn,
1083
+ .chead-copy,
1084
+ .chead-toggle,
1085
+ .msg-actions button,
1086
+ .panel-header .icon-btn,
1087
+ .panel-collapse-btn,
1088
+ .panel-rail,
1089
+ .lp-section-action,
1090
+ .pi-we-icon-btn,
1091
+ .topbar .icon-btn,
1092
+ .icon-btn,
1093
+ .project-icon {
1094
+ background: transparent !important;
1095
+ border: none !important;
1096
+ box-shadow: none !important;
1097
+ filter: none !important;
1098
+ text-shadow: none !important;
1099
+ color: #ffffff !important;
1100
+ transition:
1101
+ filter 0.15s ease,
1102
+ transform 0.15s ease,
1103
+ color 0.15s ease;
1104
+ }
1105
+
1106
+ svg.bar-item-icon,
1107
+ .bar-item-glyph,
1108
+ .bar-item-icon svg,
1109
+ .bar-item-icon.plugin-icon-svg svg,
1110
+ .lp-section-action svg,
1111
+ .panel-collapse-btn svg,
1112
+ .panel-rail svg,
1113
+ .side-dock-btn svg,
1114
+ .project-icon svg,
1115
+ .chead-copy svg,
1116
+ .chead-copy > svg,
1117
+ .chead-toggle svg,
1118
+ .chead-toggle > svg,
1119
+ .chead-icon svg,
1120
+ .toolcall-icon svg,
1121
+ .thinking-icon svg,
1122
+ .toolcall-status svg,
1123
+ .toolcall-open svg {
1124
+ color: #ffffff !important;
1125
+ stroke: #ffffff !important;
1126
+ 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;
1127
+ transition:
1128
+ filter 0.15s ease,
1129
+ color 0.15s ease;
1130
+ }
1131
+
1132
+ svg.bar-item-icon:hover,
1133
+ .bar-item-icon:hover svg,
1134
+ .lp-section-action:hover svg,
1135
+ .panel-collapse-btn:hover svg,
1136
+ .panel-rail:hover svg,
1137
+ .side-dock-btn:hover svg,
1138
+ .project-icon:hover svg,
1139
+ .chead-copy:hover svg,
1140
+ .chead-toggle:hover svg {
1141
+ filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) !important;
1142
+ color: #ffffff !important;
1143
+ stroke: #ffffff !important;
1144
+ }
1145
+
1146
+ /* 角标防白底白字:当 --accent 为纯白时,顶栏实体胶囊角标反色为深色,后台任务保持红底白字(底栏透明徽标保持 var(--accent) 纯白高亮) */
1147
+ .topbar .bar-item-badge:not(.bg-task-badge) {
1148
+ color: #000000 !important;
1149
+ }
1150
+
1151
+ /* 主操作按钮防白底白字:--accent 为纯白时文字深色 */
1152
+ .btn.primary,
1153
+ .cwd-choose-btn.primary,
1154
+ .sandbox-banner-btn.primary,
1155
+ .worktree-banner-btn.primary,
1156
+ .chip.primary {
1157
+ color: #000000 !important;
1158
+ }