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