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,743 @@
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
+ /* 回合工具集群在黑曜冷月模式下保持优雅垂直堆叠(方案 B:自上而下单列卡片,连成一体无空隙) */
158
+ .turn-tools-trail {
159
+ display: flex !important;
160
+ flex-direction: column !important;
161
+ width: 100% !important;
162
+ min-width: 0 !important;
163
+ max-width: 100% !important;
164
+ margin: 4px 0 8px 0 !important;
165
+ gap: 0 !important;
166
+ }
167
+ .turn-tools-trail > .msg,
168
+ .turn-tools-trail > .msg-assistant {
169
+ display: block !important;
170
+ width: 100% !important;
171
+ min-width: 0 !important;
172
+ margin: 0 !important;
173
+ padding: 0 !important;
174
+ }
175
+ .turn-tools-trail > .msg .msg-body,
176
+ .turn-tools-trail > .msg-assistant .msg-body {
177
+ display: block !important;
178
+ width: 100% !important;
179
+ min-width: 0 !important;
180
+ border-radius: 12px !important;
181
+ margin: 2px 0 !important;
182
+ overflow: hidden !important;
183
+ }
184
+
185
+ .msg-assistant .msg-body {
186
+ background: rgba(12, 18, 32, 0.38) !important;
187
+ border: 1px solid rgba(255, 255, 255, 0.05) !important;
188
+ border-radius: 16px !important;
189
+ box-shadow: none !important;
190
+ backdrop-filter: blur(2px) saturate(115%) !important;
191
+ -webkit-backdrop-filter: blur(2px) saturate(115%) !important;
192
+ overflow: hidden !important;
193
+ }
194
+
195
+ /* 正文消息(最终文本回复)与上方工具卡、思考块左侧完全对齐留出边距,消除顶格突兀感 */
196
+ .msg-text {
197
+ padding: 6px 12px !important;
198
+ border-radius: 8px !important;
199
+ }
200
+
201
+ .msg-assistant .msg-text {
202
+ display: block !important;
203
+ }
204
+
205
+ /* 4.1 全页面可见文字防眩光阴影(标题、项目名、会话名、正文字等),1像素紧致高锐度边缘,绝不晕染发糊 */
206
+ .topbar,
207
+ .topbar-title,
208
+ .bar-item-text,
209
+ .bar-item-badge,
210
+ .brand,
211
+ .brand *,
212
+ .lp-section-header,
213
+ .lp-section-title,
214
+ .lp-group-title,
215
+ .project-name,
216
+ .session-title,
217
+ .lp-conv-title,
218
+ .ft-name,
219
+ .quick-chip,
220
+ .msg-body p,
221
+ .msg-body li,
222
+ .msg-body h1,
223
+ .msg-body h2,
224
+ .msg-body h3,
225
+ .msg-body h4,
226
+ .msg-body h5,
227
+ .msg-body h6,
228
+ .msg-body strong,
229
+ .msg-body em,
230
+ .thinking-title,
231
+ .thinking-summary,
232
+ .tool-title,
233
+ button:not(.icon-btn):not(.lp-section-action),
234
+ .btn {
235
+ text-shadow:
236
+ 0 0 1px rgba(0, 0, 0, 0.98),
237
+ 0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
238
+ }
239
+
240
+ /* 4.2 次要与偏黑小字全面保护(项目路径、时间戳、会话副标题、分区计数、底栏所有小指标等):提亮并应用零扩散紧致微暗边缘,绝不隐形,绝不糊黑 */
241
+ .project-path,
242
+ .project-time,
243
+ .session-sub,
244
+ .session-meta,
245
+ .session-time,
246
+ .ft-path,
247
+ .ft-size,
248
+ .ft-date,
249
+ .msg-time,
250
+ .msg-role,
251
+ .bar-item-char,
252
+ .cwd-sub,
253
+ .lp-section-count,
254
+ .lp-count,
255
+ .statusbar,
256
+ .statusbar *,
257
+ .footer-bar,
258
+ .footer-bar *,
259
+ .ctx-val,
260
+ .ctx-max,
261
+ .status-conn-label,
262
+ .status-cache-label,
263
+ .engine-picker-name,
264
+ .engine-badge,
265
+ .text-dim,
266
+ .text-faint,
267
+ .version-text,
268
+ .template-desc,
269
+ .inputbox textarea {
270
+ color: #e2e8f0 !important;
271
+ opacity: 0.95 !important;
272
+ text-shadow:
273
+ 0 0 1px rgba(0, 0, 0, 0.98),
274
+ 0 1px 1px rgba(0, 0, 0, 0.88) !important;
275
+ }
276
+
277
+ .project-path,
278
+ .session-meta {
279
+ color: #f1f5f9 !important;
280
+ opacity: 0.92 !important;
281
+ }
282
+
283
+ .project-time,
284
+ .session-time {
285
+ color: #e2e8f0 !important;
286
+ opacity: 0.95 !important;
287
+ }
288
+
289
+ .msg-user {
290
+ background: transparent !important;
291
+ box-shadow: none !important;
292
+ }
293
+
294
+ .msg-user .msg-body {
295
+ background: linear-gradient(135deg, rgba(30, 32, 40, 0.68) 0%, rgba(18, 19, 24, 0.58) 100%) !important;
296
+ border: 1px solid rgba(255, 255, 255, 0.12) !important;
297
+ border-radius: 16px !important;
298
+ box-shadow: none !important;
299
+ backdrop-filter: blur(2px) saturate(115%) !important;
300
+ -webkit-backdrop-filter: blur(2px) saturate(115%) !important;
301
+ }
302
+
303
+ .inputbox {
304
+ background: rgba(12, 14, 20, 0.48) !important;
305
+ border: 1px solid rgba(255, 255, 255, 0.22) !important;
306
+ border-radius: 20px !important;
307
+ box-shadow: none !important;
308
+ backdrop-filter: blur(10px) saturate(130%) !important;
309
+ -webkit-backdrop-filter: blur(10px) saturate(130%) !important;
310
+ transition: border-color 0.2s ease;
311
+ }
312
+
313
+ .inputbox:focus-within {
314
+ border-color: rgba(255, 255, 255, 0.65) !important;
315
+ box-shadow: none !important;
316
+ }
317
+
318
+ .inputbox textarea {
319
+ background: transparent !important;
320
+ color: #ffffff !important;
321
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
322
+ }
323
+
324
+ /* 6.1 输入框底部工具条:胶囊文字(高、完全权限、全功能等)彻底提亮为纯白,防眩光锁边 */
325
+ .composer-tools,
326
+ .composer-tools-left,
327
+ .composer-tools-center,
328
+ .composer-tools-right {
329
+ color: #ffffff !important;
330
+ }
331
+
332
+ .composer-tools .chip {
333
+ background: rgba(14, 15, 22, 0.48) !important;
334
+ border: 1px solid rgba(255, 255, 255, 0.22) !important;
335
+ color: #ffffff !important;
336
+ box-shadow: none !important;
337
+ transition:
338
+ background 0.15s ease,
339
+ border-color 0.15s ease;
340
+ }
341
+
342
+ .composer-tools .chip:hover {
343
+ background: rgba(14, 15, 22, 0.7) !important;
344
+ border-color: #ffffff !important;
345
+ }
346
+
347
+ .composer-tools .chip > span,
348
+ .composer-tools .chip > span.chip-model,
349
+ .composer-tools .chip > span.chip-sub,
350
+ .composer-tools .chip-sub {
351
+ color: #ffffff !important;
352
+ opacity: 0.98 !important;
353
+ text-shadow:
354
+ 0 0 1px rgba(0, 0, 0, 0.98),
355
+ 0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
356
+ }
357
+
358
+ .composer-tools .chip > svg,
359
+ .composer-tools .dd-caret svg,
360
+ .composer-tools .dd-caret,
361
+ .inputbox .composer-tools-left button svg,
362
+ .inputbox .btn.composer-plugin-action svg,
363
+ .inputbox .composer-tools-left .btn svg {
364
+ color: #ffffff !important;
365
+ stroke: #ffffff !important;
366
+ 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;
367
+ }
368
+
369
+ .inputbox .composer-tools-left button,
370
+ .inputbox .btn.composer-plugin-action,
371
+ .inputbox .composer-tools-left .btn {
372
+ filter: none !important;
373
+ }
374
+
375
+ /* 胶囊按钮(模型、思考、权限、预设等下拉)恒定保持 8px 圆角矩形,悬停绝不变形为扁平椭圆 */
376
+ .composer-tools .chip,
377
+ .composer-tools .chip:hover,
378
+ .composer-tools .dropdown > button,
379
+ .composer-tools .dropdown > button:hover,
380
+ .dropdown > button.chip,
381
+ .dropdown > button.chip:hover {
382
+ border-radius: 8px !important;
383
+ }
384
+
385
+ /* 仅针对左侧附件等纯图标小按钮悬停时轻微高光,绝不改变任何下拉胶囊圆角 */
386
+ .inputbox .btn.composer-plugin-action:not(.chip):hover,
387
+ .inputbox .composer-tools-left > button:not(.chip):not(.dropdown):hover {
388
+ color: #ffffff !important;
389
+ background: rgba(255, 255, 255, 0.14) !important;
390
+ border-radius: 6px !important;
391
+ }
392
+
393
+ /* 发送按钮(冷白银辉高光圆钮 + 深黑箭头,高对比度清晰锋利,绝不白底隐形) */
394
+ .inputbox .btn.send {
395
+ background: #f8fafc !important;
396
+ border-color: #ffffff !important;
397
+ color: #050507 !important;
398
+ box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35) !important;
399
+ }
400
+ .inputbox .btn.send svg {
401
+ stroke: #050507 !important;
402
+ color: #050507 !important;
403
+ filter: none !important;
404
+ }
405
+ .inputbox .btn.send:hover:not(:disabled) {
406
+ background: #ffffff !important;
407
+ border-color: #ffffff !important;
408
+ color: #000000 !important;
409
+ box-shadow: 0 0 16px rgba(255, 255, 255, 0.55) !important;
410
+ transform: translateY(-1px);
411
+ }
412
+ .inputbox .btn.send:disabled {
413
+ opacity: 0.35 !important;
414
+ box-shadow: none !important;
415
+ cursor: default !important;
416
+ }
417
+ .inputbox .btn.send:disabled svg {
418
+ stroke: #050507 !important;
419
+ color: #050507 !important;
420
+ filter: none !important;
421
+ }
422
+
423
+ /* 运行中插队/排队分裂胶囊按钮(银白双段胶囊,黑箭黑单,分界清晰) */
424
+ .inputbox .split-send {
425
+ background: #f8fafc !important;
426
+ border-color: #ffffff !important;
427
+ box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35) !important;
428
+ }
429
+ .inputbox .split-send button {
430
+ color: #050507 !important;
431
+ }
432
+ .inputbox .split-send button svg {
433
+ stroke: #050507 !important;
434
+ color: #050507 !important;
435
+ filter: none !important;
436
+ }
437
+ .inputbox .split-send .split-queue {
438
+ background: rgba(0, 0, 0, 0.08) !important;
439
+ }
440
+ .inputbox .split-send button + button {
441
+ border-left: 1px solid rgba(0, 0, 0, 0.18) !important;
442
+ }
443
+ .inputbox .split-send:hover {
444
+ background: #ffffff !important;
445
+ border-color: #ffffff !important;
446
+ box-shadow: 0 0 16px rgba(255, 255, 255, 0.55) !important;
447
+ }
448
+ .inputbox .split-send button:hover:not(:disabled) {
449
+ background: rgba(0, 0, 0, 0.12) !important;
450
+ }
451
+
452
+ /* 7. 卡片、代码块与工具调用:方案 B(纯净无界微透流 · 连成一体无空隙) */
453
+ .card {
454
+ background: rgba(255, 255, 255, 0.04) !important;
455
+ border: none !important;
456
+ border-radius: 10px !important;
457
+ box-shadow: none !important;
458
+ }
459
+
460
+ /* 工具调用(.toolcall)、思考块(.thinking)彻底消除外边距,连成一体,杜绝百叶窗斑马线切碎背景 */
461
+ .toolcall,
462
+ .thinking {
463
+ background: transparent !important;
464
+ border: none !important;
465
+ border-radius: 0 !important;
466
+ margin: 0 !important;
467
+ display: block !important;
468
+ width: 100% !important;
469
+ min-width: 0 !important;
470
+ max-width: 100% !important;
471
+ box-shadow: none !important;
472
+ backdrop-filter: none !important;
473
+ -webkit-backdrop-filter: none !important;
474
+ }
475
+
476
+ /* 折叠条(.chead):紧凑平整悬浮,完全不设边框与独立外边距,内边距与 .msg-text 对齐 */
477
+ .chead {
478
+ display: flex !important;
479
+ width: 100% !important;
480
+ min-width: 0 !important;
481
+ max-width: 100% !important;
482
+ background: transparent !important;
483
+ border: none !important;
484
+ border-radius: 0 !important;
485
+ padding: 6px 12px !important;
486
+ margin: 0 !important;
487
+ position: relative !important;
488
+ box-shadow: none !important;
489
+ backdrop-filter: none !important;
490
+ -webkit-backdrop-filter: none !important;
491
+ transition: background 0.15s ease !important;
492
+ }
493
+
494
+ .chead:hover {
495
+ background: rgba(255, 255, 255, 0.06) !important;
496
+ }
497
+
498
+ /* 条目之间仅以 1px 极微弱细线无缝分割,消除任何漏景空隙 */
499
+ .toolcall + .toolcall .chead,
500
+ .thinking + .toolcall .chead,
501
+ .toolcall + .thinking .chead {
502
+ border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
503
+ }
504
+
505
+ /* 工具组首项与末项圆角封闭,整组浑然一体 */
506
+ .msg-body > .toolcall:first-child .chead,
507
+ .msg-body > .thinking:first-child .chead {
508
+ border-top-left-radius: 8px !important;
509
+ border-top-right-radius: 8px !important;
510
+ }
511
+ .msg-body > .toolcall:last-child .chead,
512
+ .msg-body > .thinking:last-child .chead {
513
+ border-bottom-left-radius: 8px !important;
514
+ border-bottom-right-radius: 8px !important;
515
+ }
516
+
517
+ .toolcall .chead::before,
518
+ .thinking .chead::before {
519
+ display: none !important;
520
+ }
521
+
522
+ pre,
523
+ code {
524
+ text-shadow: none !important;
525
+ }
526
+
527
+ pre {
528
+ background: rgba(6, 7, 10, 0.85) !important;
529
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
530
+ border-radius: 10px !important;
531
+ box-shadow: none !important;
532
+ }
533
+
534
+ /* 7.1 工具调用与思考文字:彻底提亮为高对比纯白,注入1像素紧致微暗边缘 */
535
+ .toolcall-name,
536
+ .chead-title.toolcall-name,
537
+ .toolcall-path,
538
+ .toolcall-cmd,
539
+ .toolcall-agent,
540
+ .toolcall-status,
541
+ .toolcall-output-label,
542
+ .thinking-label,
543
+ .thinking-live-label,
544
+ .thinking-preview-prefix,
545
+ .thinking-preview-track,
546
+ .thinking-preview-live,
547
+ .thinking-wait,
548
+ .thinking-body p,
549
+ .thinking-body li,
550
+ .thinking-body span,
551
+ .thinking-body strong,
552
+ .thinking-body em {
553
+ color: #ffffff !important;
554
+ opacity: 0.98 !important;
555
+ text-shadow:
556
+ 0 0 1px rgba(0, 0, 0, 0.98),
557
+ 0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
558
+ }
559
+
560
+ .toolcall-path,
561
+ .toolcall-cmd {
562
+ color: #e2e8f0 !important;
563
+ }
564
+
565
+ .quick-chip {
566
+ background: rgba(14, 16, 24, 0.45) !important;
567
+ border: 1px solid rgba(255, 255, 255, 0.16) !important;
568
+ border-radius: 14px !important;
569
+ backdrop-filter: blur(8px) saturate(130%) !important;
570
+ -webkit-backdrop-filter: blur(8px) saturate(130%) !important;
571
+ box-shadow: none !important;
572
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
573
+ }
574
+
575
+ .quick-chip:hover {
576
+ background: rgba(255, 255, 255, 0.16) !important;
577
+ border-color: rgba(255, 255, 255, 0.4) !important;
578
+ }
579
+
580
+ /* 对话底栏建议按钮行:块级独占整行,绝不与上方正文文字重叠 */
581
+ .action-suggestions {
582
+ display: block !important;
583
+ clear: both !important;
584
+ width: 100% !important;
585
+ min-width: 0 !important;
586
+ margin: 12px 0 16px 0 !important;
587
+ padding: 0 4px !important;
588
+ }
589
+
590
+ .dd-menu,
591
+ .ctx-menu,
592
+ .pm-panel,
593
+ .modal-dialog {
594
+ background: #111218 !important;
595
+ border: 1px solid rgba(255, 255, 255, 0.22) !important;
596
+ box-shadow:
597
+ 0 12px 40px rgba(0, 0, 0, 0.85),
598
+ 0 0 20px rgba(255, 255, 255, 0.1) !important;
599
+ }
600
+
601
+ [data-pi-floating-panel],
602
+ .floating-panel {
603
+ background: rgba(12, 13, 18, 0.85) !important;
604
+ border: 1px solid rgba(255, 255, 255, 0.22) !important;
605
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
606
+ color: #ffffff !important;
607
+ }
608
+
609
+ [data-pi-floating-panel] *,
610
+ .floating-panel * {
611
+ color: #ffffff !important;
612
+ text-shadow:
613
+ 0 0 1px rgba(0, 0, 0, 0.98),
614
+ 0 1px 1.2px rgba(0, 0, 0, 0.88) !important;
615
+ }
616
+
617
+ /* 9.1 右下角状态栏指标(GitHub、CPU/内存68%·32%、工作区路径等)全量高对比提亮与矢量锁边 */
618
+ .statusbar-right,
619
+ .statusbar-right *,
620
+ .statusbar .bar-item-host-metrics,
621
+ .statusbar .bar-item-host-metrics *,
622
+ .statusbar .status-host-metrics,
623
+ .statusbar .status-host-metrics *,
624
+ .statusbar .bar-item-cwd,
625
+ .statusbar .bar-item-cwd *,
626
+ .statusbar .status-cwd,
627
+ .statusbar .status-cwd * {
628
+ color: #ffffff !important;
629
+ opacity: 0.98 !important;
630
+ text-shadow:
631
+ 0 0 1px rgba(0, 0, 0, 0.98),
632
+ 0 1px 1.5px rgba(0, 0, 0, 0.88) !important;
633
+ }
634
+
635
+ .statusbar-right .bar-item-icon svg,
636
+ .statusbar .bar-item-host-metrics svg,
637
+ .statusbar .status-host-metrics svg,
638
+ .statusbar .bar-item-cwd svg,
639
+ .statusbar .status-cwd svg {
640
+ color: #ffffff !important;
641
+ stroke: #ffffff !important;
642
+ 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;
643
+ }
644
+
645
+ /* 10. 顶部按钮与所有图标:所有按钮统一度量衡,阴影唯一精准挂载在矢量笔画上,严禁父子容器双重叠加产生浓黑光晕 */
646
+ span.bar-item-icon,
647
+ span.plugin-icon-svg,
648
+ .side-dock-btn,
649
+ .chead-copy,
650
+ .chead-toggle,
651
+ .msg-actions button,
652
+ .panel-header .icon-btn,
653
+ .panel-collapse-btn,
654
+ .panel-rail,
655
+ .lp-section-action,
656
+ .pi-we-icon-btn,
657
+ .topbar .icon-btn,
658
+ .icon-btn,
659
+ .project-icon {
660
+ background: transparent !important;
661
+ border: none !important;
662
+ box-shadow: none !important;
663
+ filter: none !important;
664
+ text-shadow: none !important;
665
+ color: #f8fafc !important;
666
+ transition:
667
+ filter 0.15s ease,
668
+ transform 0.15s ease,
669
+ color 0.15s ease;
670
+ }
671
+
672
+ /* 全界面所有图标矢量元素(SVG / Glyph / 胶囊图标):统一定义唯一、精致、锐利的微黑锁边,绝不晕染;
673
+ 注意:仅对叶子节点 SVG 或字符 Glyph 施加滤镜,绝对禁止在包含 SVG 的 span 容器上挂滤镜防嵌套双重阴影 */
674
+ svg.bar-item-icon,
675
+ .bar-item-glyph,
676
+ .bar-item-icon svg,
677
+ .bar-item-icon.plugin-icon-svg svg,
678
+ .lp-section-action svg,
679
+ .panel-collapse-btn svg,
680
+ .panel-rail svg,
681
+ .side-dock-btn svg,
682
+ .project-icon svg,
683
+ .chead-copy svg,
684
+ .chead-copy > svg,
685
+ .chead-toggle svg,
686
+ .chead-toggle > svg,
687
+ .chead-icon svg,
688
+ .toolcall-icon svg,
689
+ .thinking-icon svg,
690
+ .toolcall-status svg,
691
+ .toolcall-open svg {
692
+ color: #f8fafc !important;
693
+ stroke: #f8fafc !important;
694
+ 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;
695
+ transition:
696
+ filter 0.15s ease,
697
+ color 0.15s ease;
698
+ }
699
+
700
+ /* 悬停微高光微反馈:统一只对图标自身应用光晕,容器 span 保持无滤镜 */
701
+ .bar-item:hover span.bar-item-icon,
702
+ .bar-item:hover span.plugin-icon-svg {
703
+ filter: none !important;
704
+ }
705
+
706
+ .bar-item:hover svg.bar-item-icon,
707
+ .bar-item:hover .bar-item-icon svg,
708
+ .bar-item:hover .bar-item-glyph,
709
+ .side-dock-btn:hover svg,
710
+ .chead-copy:hover svg,
711
+ .chead-toggle:hover svg,
712
+ .msg-actions button:hover svg,
713
+ .lp-section-action:hover svg,
714
+ .panel-collapse-btn:hover svg,
715
+ .panel-rail:hover svg,
716
+ .icon-btn:hover svg,
717
+ .toolcall-open:hover svg {
718
+ color: #ffffff !important;
719
+ stroke: #ffffff !important;
720
+ filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95)) !important;
721
+ }
722
+
723
+ .side-dock-btn:hover,
724
+ .chead-copy:hover,
725
+ .chead-toggle:hover,
726
+ .msg-actions button:hover,
727
+ .lp-section-action:hover,
728
+ .panel-collapse-btn:hover,
729
+ .panel-rail:hover,
730
+ .icon-btn:hover,
731
+ .toolcall-open:hover {
732
+ transform: scale(1.08);
733
+ }
734
+
735
+ /* 顶栏所有按钮(含沙盒、临时对话等)默认彻底裸幽灵化,绝不残留突兀的高亮黄色圆环或生硬外边框 */
736
+ .topbar .bar-item:not(:hover),
737
+ .topbar .chip:not(:hover),
738
+ .topbar .sandbox-chip:not(:hover),
739
+ .topbar .ephemeral-chat-btn:not(:hover) {
740
+ background: transparent !important;
741
+ border-color: transparent !important;
742
+ box-shadow: none !important;
743
+ }