pi-web-ui 0.108.0 → 0.110.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 (83) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +21 -1
  3. package/README.zh-CN.md +21 -1
  4. package/README.zh-TW.md +201 -677
  5. package/dist/server/agent-service-daemon.js +2 -2
  6. package/dist/server/agent-service.js +47 -36
  7. package/dist/server/attachments.js +26 -6
  8. package/dist/server/client-state.js +4 -3
  9. package/dist/server/dispatch-domain-handlers.js +2 -0
  10. package/dist/server/dispatch-plugin-handlers.js +1 -0
  11. package/dist/server/dsh/dsh-agent-service.js +2 -2
  12. package/dist/server/durable/durable-driver.js +1 -1
  13. package/dist/server/durable/durable-tools.js +4 -1
  14. package/dist/server/files-service.js +23 -4
  15. package/dist/server/goal-service.js +12 -3
  16. package/dist/server/index.js +39 -10
  17. package/dist/server/locales.js +33 -0
  18. package/dist/server/marker-service.js +7 -13
  19. package/dist/server/markers/builtins/action.js +5 -6
  20. package/dist/server/markers/builtins/notify.js +2 -2
  21. package/dist/server/markers/builtins/rename.js +2 -2
  22. package/dist/server/markers/registry.js +5 -1
  23. package/dist/server/message-window.js +190 -0
  24. package/dist/server/model-admin.js +0 -4
  25. package/dist/server/plugin-catalog-sync.js +10 -2
  26. package/dist/server/plugin-catalog.js +63 -10
  27. package/dist/server/plugins.js +47 -6
  28. package/dist/server/preset-share.js +2 -3
  29. package/dist/server/process-utils.js +58 -24
  30. package/dist/server/protocol-version.js +1 -1
  31. package/dist/server/settings-service.js +8 -3
  32. package/dist/server/slash-commands.js +16 -4
  33. package/dist/server/text-sniff.js +10 -7
  34. package/dist/server/themes.js +36 -1
  35. package/dist/server/universal/drivers/dsh-driver.js +1 -1
  36. package/dist/server/universal/universal-session.js +12 -4
  37. package/dist/server/worktree-service.js +1 -1
  38. package/package.json +7 -2
  39. package/plugin-sdk/index.d.ts +20 -0
  40. package/plugin-sdk/index.mjs +14 -0
  41. package/plugins/catalog.json +22 -2
  42. package/themes/aetheris.css +155 -121
  43. package/themes/ayu-light.css +19 -15
  44. package/themes/bases/flow-base.css +1363 -0
  45. package/themes/bases/obsidian-base.css +679 -0
  46. package/themes/bases/zhujian-base.css +687 -0
  47. package/themes/bases/zhupi-base.css +659 -0
  48. package/themes/catppuccin-latte.css +17 -15
  49. package/themes/catppuccin.css +5 -2
  50. package/themes/claude-code-dark.css +2 -0
  51. package/themes/codex.css +16 -14
  52. package/themes/cyberpunk.css +4 -1
  53. package/themes/dark-teal.css +4 -1
  54. package/themes/dazzle.css +3 -0
  55. package/themes/everforest-light.css +17 -15
  56. package/themes/flow-light.css +10 -931
  57. package/themes/flow.css +13 -946
  58. package/themes/geist.css +16 -14
  59. package/themes/gruvbox-light.css +13 -11
  60. package/themes/kanagawa-lotus.css +16 -14
  61. package/themes/mist.css +18 -16
  62. package/themes/nord.css +16 -12
  63. package/themes/one-dark.css +9 -5
  64. package/themes/paper.css +9 -7
  65. package/themes/rose-pine-dawn.css +14 -12
  66. package/themes/sakura.css +15 -13
  67. package/themes/solarized-light.css +19 -17
  68. package/themes/tokyo-night.css +4 -2
  69. package/themes/vs-code-dark.css +4 -3
  70. package/themes/wallpaper-flow.css +73 -1031
  71. package/themes/wallpaper-obsidian.css +4 -673
  72. package/themes/white.css +8 -6
  73. package/themes/zhujian-dark.css +6 -608
  74. package/themes/zhujian.css +6 -657
  75. package/themes/zhupi-dark.css +6 -579
  76. package/themes/zhupi.css +6 -629
  77. package/web/dist/assets/{TerminalPanel-CslRhcS7.js → TerminalPanel-BHjM6pzY.js} +1 -1
  78. package/web/dist/assets/index-DwInT7-a.css +1 -0
  79. package/web/dist/assets/index-GfVFIgIL.js +693 -0
  80. package/web/dist/index.html +2 -2
  81. package/web/dist/sw.js +1 -1
  82. package/web/dist/assets/index-C_2Fl6f6.js +0 -690
  83. package/web/dist/assets/index-D0BtO5dn.css +0 -1
@@ -15,6 +15,7 @@
15
15
  --text-dim: #cbd5e1;
16
16
  --text-faint: #64748b;
17
17
  --accent: #e2e8f0;
18
+ --accent-contrast: #0c0d11;
18
19
  --accent-soft: rgba(255, 255, 255, 0.14);
19
20
  --green: #4ade80;
20
21
  --green-soft: rgba(74, 222, 128, 0.12);
@@ -22,6 +23,7 @@
22
23
  --red-soft: rgba(248, 113, 113, 0.12);
23
24
  --amber: #fbbf24;
24
25
  --blue: #94a3b8;
26
+ --on-blue: #1a1a1a;
25
27
  --blue-soft: rgba(148, 163, 184, 0.14);
26
28
 
27
29
  --term-bg: rgba(8, 8, 10, 0.72);
@@ -65,679 +67,8 @@
65
67
  --scroll-thumb: rgba(255, 255, 255, 0.22);
66
68
  --scroll-thumb-hover: rgba(255, 255, 255, 0.45);
67
69
  --send-blue: #f8fafc;
70
+ --on-send-blue: #1a1a1a;
68
71
  --send-blue-hover: #ffffff;
69
72
  }
70
73
 
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
- }
74
+ @import "./bases/obsidian-base.css";