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,1094 @@
1
+ /* theme-name: 极简行文 */
2
+ /* theme-name-en: Pure Flow */
3
+ /* theme-group: builtin */
4
+ /*
5
+ * 极简行文(Pure Flow & Borderless Canvas)—— 现代炭黑/极简暗曜沉浸版:
6
+ * 深度复刻新一代 AI 桌面工作区(OpenAI Codex / ChatGPT Desktop)标志性的中性深炭黑实体画布;
7
+ * 搭配悬浮深炭灰双层输入岛、纯白高对比圆形动作按钮、经典电光蓝状态点睛与行书无外壳行内微胶囊流,
8
+ * 温润护眼、纯净利落、无蓝绿偏色,回答如笔墨行书、一气呵成。
9
+ */
10
+ :root {
11
+ color-scheme: dark;
12
+ --bg: #171717;
13
+ --bg-elev: #212121;
14
+ --bg-elev2: #282828;
15
+ --border: rgba(255, 255, 255, 0.08);
16
+ --border-soft: rgba(255, 255, 255, 0.04);
17
+ --text: #f2f2f2;
18
+ --text-dim: #9e9e9e;
19
+ --text-faint: #666666;
20
+ --accent: #ffffff;
21
+ --accent-contrast: #000000;
22
+ --accent-soft: rgba(255, 255, 255, 0.08);
23
+ --green: #10b981;
24
+ --green-soft: rgba(16, 185, 129, 0.12);
25
+ --red: #ef4444;
26
+ --red-soft: rgba(239, 68, 68, 0.12);
27
+ --amber: #f59e0b;
28
+ --blue: #3b82f6;
29
+ --blue-soft: rgba(59, 130, 246, 0.14);
30
+
31
+ --term-bg: #171717;
32
+ --term-fg: #f2f2f2;
33
+ --term-cursor: #ffffff;
34
+ --term-cursor-accent: #171717;
35
+ --term-selection: rgba(255, 255, 255, 0.18);
36
+ --term-black: #212121;
37
+ --term-red: #ef4444;
38
+ --term-green: #10b981;
39
+ --term-yellow: #f59e0b;
40
+ --term-blue: #3b82f6;
41
+ --term-magenta: #c084fc;
42
+ --term-cyan: #06b6d4;
43
+ --term-white: #f2f2f2;
44
+ --term-bright-black: #737373;
45
+ --term-bright-red: #f87171;
46
+ --term-bright-green: #34d399;
47
+ --term-bright-yellow: #fbbf24;
48
+ --term-bright-blue: #60a5fa;
49
+ --term-bright-magenta: #e9d5ff;
50
+ --term-bright-cyan: #22d3ee;
51
+ --term-bright-white: #ffffff;
52
+
53
+ --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
54
+ --mermaid-font-size: 12px;
55
+ --tooltip-bg: #262626;
56
+ --code-bg: #1c1c1c;
57
+ --code-text: #f2f2f2;
58
+ --code-border: rgba(255, 255, 255, 0.08);
59
+ --code-pad: 8px 10px;
60
+ --card-body-pad: 4px 14px 12px;
61
+ --err-text: #ef4444;
62
+ --red-text: #ef4444;
63
+ --amber-text: #f59e0b;
64
+ --info-blue: #3b82f6;
65
+ --link: #3b82f6;
66
+ --link-hover: #60a5fa;
67
+ --link-soft: #3b82f6;
68
+ --md-strong: #ffffff;
69
+ --skill-blue: #3b82f6;
70
+ --plugin-purple: #c084fc;
71
+ --auth-green: #10b981;
72
+ --scroll-thumb: rgba(255, 255, 255, 0.18);
73
+ --scroll-thumb-hover: rgba(255, 255, 255, 0.35);
74
+ --notice-err-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--red));
75
+ --notice-warn-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--amber));
76
+ --notice-info-bg: color-mix(in srgb, var(--bg) 95%, var(--blue));
77
+ --notice-err-border: var(--red);
78
+ --notice-warn-border: var(--amber);
79
+ --notice-info-border: var(--blue);
80
+ --send-blue: #ffffff;
81
+ --send-blue-hover: #ffffff;
82
+ --stop-red: #ef4444;
83
+ --stop-red-hover: #dc2626;
84
+ --brand-grad-a: #ffffff;
85
+ --brand-grad-b: #9e9e9e;
86
+ --on-amber: #171717;
87
+ --search-active-fg: #ffffff;
88
+ --switch-knob: #ffffff;
89
+ --switch-bg-on: #10b981;
90
+ --bg-elev3: rgba(255, 255, 255, 0.06);
91
+ --sunken-bg: rgba(0, 0, 0, 0.35);
92
+ --glow-015: rgba(255, 255, 255, 0.015);
93
+ --glow-025: rgba(255, 255, 255, 0.025);
94
+ --glow-03: rgba(255, 255, 255, 0.03);
95
+ --glow-04: rgba(255, 255, 255, 0.04);
96
+ --glow-05: rgba(255, 255, 255, 0.05);
97
+ --glow-12: rgba(255, 255, 255, 0.12);
98
+ --glow-18: rgba(255, 255, 255, 0.18);
99
+ --glow-22: rgba(255, 255, 255, 0.22);
100
+ --glow-38: rgba(255, 255, 255, 0.38);
101
+ --control-fg: #d4d4d4;
102
+ --control-bg: #1c1c1c;
103
+ --control-border: rgba(255, 255, 255, 0.08);
104
+ --bg-image: none;
105
+ --bg-image-dim: 0.85;
106
+ --bg-image-blur: 0px;
107
+
108
+ --wallpaper-panel-alpha: 100%;
109
+ --topbar-bg: #141414;
110
+ --statusbar-bg: #141414;
111
+ --panel-bg: #141414;
112
+ --card-bg: #212121;
113
+ --chip-bg: #1c1c1c;
114
+ --msgs-bg: #171717;
115
+ --inputbox-bg: #212121;
116
+ --menu-bg: #242424;
117
+ }
118
+
119
+ /* ========================================================
120
+ 骨架与层级:实体暗调结构,利落细线分割
121
+ ======================================================== */
122
+ #root,
123
+ .app,
124
+ .layout,
125
+ .view-pane,
126
+ .main,
127
+ .chat-view,
128
+ .chat-scroll,
129
+ .messages {
130
+ background: var(--bg) !important;
131
+ }
132
+
133
+ /* 输入栏与消息包裹层必须保持背景透明,确保快捷短语所在带子透出底层消息正文 */
134
+ .messages-wrap,
135
+ .inputbar {
136
+ background: transparent !important;
137
+ }
138
+
139
+ .topbar {
140
+ background: #141414 !important;
141
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
142
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
143
+ backdrop-filter: none !important;
144
+ -webkit-backdrop-filter: none !important;
145
+ z-index: 50 !important;
146
+ }
147
+
148
+ .footer-bar,
149
+ .statusbar {
150
+ background: #141414 !important;
151
+ border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
152
+ box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.4) !important;
153
+ backdrop-filter: none !important;
154
+ -webkit-backdrop-filter: none !important;
155
+ z-index: 50 !important;
156
+ }
157
+
158
+ .panel,
159
+ .drawer-left .panel,
160
+ .drawer-right .panel,
161
+ .lp-panel {
162
+ background: #141414 !important;
163
+ border-color: rgba(255, 255, 255, 0.06) !important;
164
+ backdrop-filter: none !important;
165
+ -webkit-backdrop-filter: none !important;
166
+ box-shadow: none !important;
167
+ }
168
+
169
+ .panel-header,
170
+ .lp-section-header,
171
+ .panel-convs,
172
+ .panel-sessions,
173
+ .lp-group-title,
174
+ .panel-body {
175
+ background: transparent !important;
176
+ }
177
+
178
+ .lp-conv-row:hover,
179
+ .lp-conv-row.active,
180
+ .ft-row:hover,
181
+ .panel-item:hover {
182
+ background: rgba(255, 255, 255, 0.06) !important;
183
+ border-radius: 8px !important;
184
+ }
185
+
186
+ /* 消除会话项激活与聚焦态的一切蓝色/紫蓝色外边框 */
187
+ .session-item,
188
+ .session-item.active,
189
+ .session-item:hover,
190
+ .session-item:focus,
191
+ .session-item:focus-visible,
192
+ .lp-row .session-item,
193
+ .lp-row .session-item.active {
194
+ border: none !important;
195
+ outline: none !important;
196
+ box-shadow: none !important;
197
+ }
198
+
199
+ .session-item.active,
200
+ .lp-row .session-item.active {
201
+ background: rgba(255, 255, 255, 0.08) !important;
202
+ color: #ffffff !important;
203
+ border: none !important;
204
+ border-radius: 8px !important;
205
+ padding: 8px 10px !important;
206
+ }
207
+
208
+ .session-item:hover,
209
+ .lp-row .session-item:hover {
210
+ background: rgba(255, 255, 255, 0.05) !important;
211
+ color: #ffffff !important;
212
+ border: none !important;
213
+ border-radius: 8px !important;
214
+ }
215
+
216
+ .lp-section-header,
217
+ .lp-section-title,
218
+ .lp-section-title-text,
219
+ .panel-section-title {
220
+ color: #737373 !important;
221
+ font-size: 11px !important;
222
+ text-transform: uppercase !important;
223
+ letter-spacing: 0.05em !important;
224
+ font-weight: 600 !important;
225
+ }
226
+
227
+ .lp-conv-title,
228
+ .lp-conv-row {
229
+ color: #d4d4d4 !important;
230
+ }
231
+ .lp-conv-row:hover .lp-conv-title,
232
+ .lp-conv-row.active .lp-conv-title {
233
+ color: #ffffff !important;
234
+ }
235
+
236
+ /* ========================================================
237
+ 核心:极简行文(Flow)—— 正文零气泡外壳、零边框、极致紧凑排版
238
+ ======================================================== */
239
+ .messages {
240
+ padding-top: 6px !important;
241
+ padding-bottom: calc(48px + var(--quick-row-h, 0px)) !important;
242
+ }
243
+
244
+ .msg {
245
+ background: transparent !important;
246
+ border: none !important;
247
+ box-shadow: none !important;
248
+ margin: 4px 0 !important;
249
+ padding: 0 !important;
250
+ }
251
+
252
+ .msg-assistant {
253
+ margin: 8px 0 !important;
254
+ padding: 0 !important;
255
+ }
256
+
257
+ /* 助手正文主体:完全透明无外框无圆角无遮挡,如字书印于深曜画布上 */
258
+ .msg-assistant .msg-body {
259
+ background: transparent !important;
260
+ border: none !important;
261
+ border-radius: 0 !important;
262
+ box-shadow: none !important;
263
+ backdrop-filter: none !important;
264
+ -webkit-backdrop-filter: none !important;
265
+ overflow: visible !important;
266
+ display: block !important;
267
+ padding: 0 !important;
268
+ margin: 0 !important;
269
+ line-height: 1.62 !important;
270
+ letter-spacing: 0.012em !important;
271
+ font-size: 14px !important;
272
+ color: #f2f2f2 !important;
273
+ word-break: break-word !important;
274
+ }
275
+
276
+ .msg-text,
277
+ .msg-assistant .msg-text {
278
+ background: transparent !important;
279
+ border: none !important;
280
+ box-shadow: none !important;
281
+ padding: 0 !important;
282
+ margin: 0 !important;
283
+ }
284
+
285
+ /* 正文排版:段间距、行高、列表间隙微调,彻底消灭笨重留白 */
286
+ .msg-body p {
287
+ margin: 0.36em 0 !important;
288
+ line-height: 1.62 !important;
289
+ }
290
+ .msg-body p:first-child {
291
+ margin-top: 0 !important;
292
+ }
293
+ .msg-body p:last-child {
294
+ margin-bottom: 0 !important;
295
+ }
296
+
297
+ .msg-body ul,
298
+ .msg-body ol {
299
+ margin: 0.25em 0 !important;
300
+ padding-left: 1.25em !important;
301
+ }
302
+
303
+ .msg-body li {
304
+ margin: 0.12em 0 !important;
305
+ line-height: 1.58 !important;
306
+ }
307
+ .msg-body li > p {
308
+ margin: 0 !important;
309
+ display: inline !important;
310
+ }
311
+
312
+ .msg-body h1,
313
+ .msg-body h2,
314
+ .msg-body h3,
315
+ .msg-body h4,
316
+ .msg-body h5,
317
+ .msg-body h6 {
318
+ margin: 0.55em 0 0.22em 0 !important;
319
+ line-height: 1.35 !important;
320
+ font-weight: 600 !important;
321
+ color: #ffffff !important;
322
+ }
323
+ .msg-body h1:first-child,
324
+ .msg-body h2:first-child,
325
+ .msg-body h3:first-child,
326
+ .msg-body h4:first-child {
327
+ margin-top: 0 !important;
328
+ }
329
+
330
+ .msg-body blockquote {
331
+ background: transparent !important;
332
+ border: none !important;
333
+ border-left: 2px solid rgba(255, 255, 255, 0.22) !important;
334
+ margin: 0.35em 0 !important;
335
+ padding: 2px 0 2px 10px !important;
336
+ color: #9e9e9e !important;
337
+ }
338
+
339
+ .msg-body hr {
340
+ margin: 0.5em 0 !important;
341
+ border: none !important;
342
+ border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
343
+ }
344
+
345
+ .msg-body table {
346
+ background: transparent !important;
347
+ border-collapse: collapse !important;
348
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
349
+ margin: 0.4em 0 !important;
350
+ font-size: 13.5px !important;
351
+ }
352
+
353
+ .msg-body th,
354
+ .msg-body td {
355
+ background: transparent !important;
356
+ border: 1px solid rgba(255, 255, 255, 0.06) !important;
357
+ padding: 4px 8px !important;
358
+ }
359
+
360
+ .msg-body code:not(pre code) {
361
+ background: rgba(255, 255, 255, 0.06) !important;
362
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
363
+ border-radius: 4px !important;
364
+ padding: 1px 4px !important;
365
+ font-size: 12.5px !important;
366
+ color: #f2f2f2 !important;
367
+ }
368
+
369
+ .msg-body pre {
370
+ background: #1c1c1c !important;
371
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
372
+ border-radius: 10px !important;
373
+ margin: 0.42em 0 !important;
374
+ padding: 10px 14px !important;
375
+ line-height: 1.45 !important;
376
+ font-size: 13px !important;
377
+ }
378
+
379
+ /* ========================================================
380
+ 字级输入流系统(Character-Level Inline Stream):
381
+ 对话流如同打字输入流,每个工具调用、思考、附件就是一个字。
382
+ 横向平铺流动,原位不展开,字字连贯,一点一点混排流进正文中。
383
+ ======================================================== */
384
+
385
+ .turn-tools-trail {
386
+ display: flex !important;
387
+ flex-direction: row !important;
388
+ flex-wrap: wrap !important;
389
+ align-items: center !important;
390
+ gap: 5px 6px !important;
391
+ margin: 4px 0 10px 0 !important;
392
+ width: 100% !important;
393
+ }
394
+ .turn-tools-trail > .msg,
395
+ .turn-tools-trail > .msg-assistant,
396
+ .turn-tools-trail > .msg .msg-body,
397
+ .turn-tools-trail > .msg-assistant .msg-body {
398
+ display: contents !important;
399
+ width: auto !important;
400
+ }
401
+
402
+ /* 隐藏工具流集群内的元数据行与操作栏,杜绝全宽节点打断胶囊横向流动 */
403
+ .turn-tools-trail .msg-meta,
404
+ .turn-tools-trail .msg-actions,
405
+ .turn-tools-trail > .msg > .msg-meta,
406
+ .turn-tools-trail > .msg > .msg-actions,
407
+ .turn-tools-trail > .msg-assistant > .msg-meta,
408
+ .turn-tools-trail > .msg-assistant > .msg-actions {
409
+ display: none !important;
410
+ width: 0 !important;
411
+ height: 0 !important;
412
+ margin: 0 !important;
413
+ padding: 0 !important;
414
+ }
415
+
416
+ /* 消除兄弟选择器在横向流中对卡头施加的任何 border 细线,彻底清零外边距 */
417
+ .turn-tools-trail .chead,
418
+ .turn-tools-trail .toolcall .chead,
419
+ .turn-tools-trail .thinking .chead,
420
+ .turn-tools-trail .toolcall + .toolcall .chead,
421
+ .turn-tools-trail .thinking + .toolcall .chead,
422
+ .turn-tools-trail .toolcall + .thinking .chead,
423
+ .turn-tools-trail * .chead {
424
+ border: none !important;
425
+ margin: 0 !important;
426
+ }
427
+
428
+ .turn-tools-trail .thinking,
429
+ .turn-tools-trail .toolcall,
430
+ .main.hide-model-row .turn-tools-trail .thinking,
431
+ .main.hide-model-row .turn-tools-trail .toolcall,
432
+ .main.hide-model-row .msg-assistant .turn-tools-trail .thinking,
433
+ .main.hide-model-row .msg-assistant .turn-tools-trail .toolcall {
434
+ display: inline-flex !important;
435
+ align-items: center !important;
436
+ justify-content: center !important;
437
+ vertical-align: middle !important;
438
+ box-sizing: border-box !important;
439
+ width: auto !important;
440
+ min-width: 0 !important;
441
+ max-width: fit-content !important;
442
+ flex: 0 0 auto !important;
443
+ height: 22px !important;
444
+ line-height: 20px !important;
445
+ margin: 0 !important;
446
+ padding: 0 7px !important;
447
+ overflow: hidden !important;
448
+ }
449
+
450
+ /* 工具调用与深度思考:Apple Vision 液态毛玻璃亚克力呼吸晶体微胶囊 */
451
+ .toolcall,
452
+ .thinking {
453
+ display: inline-flex !important;
454
+ align-items: center !important;
455
+ justify-content: center !important;
456
+ vertical-align: middle !important;
457
+ box-sizing: border-box !important;
458
+ width: auto !important;
459
+ min-width: 0 !important;
460
+ max-width: fit-content !important;
461
+ flex: 0 0 auto !important;
462
+ height: 23px !important;
463
+ line-height: 21px !important;
464
+ margin: 0 !important;
465
+ padding: 0 8px !important;
466
+ background: rgba(255, 255, 255, 0.05) !important;
467
+ border: 1px solid rgba(255, 255, 255, 0.09) !important;
468
+ border-radius: 999px !important;
469
+ font-family: var(--mono, monospace) !important;
470
+ font-size: 11px !important;
471
+ font-weight: 500 !important;
472
+ cursor: pointer !important;
473
+ white-space: nowrap !important;
474
+ box-shadow:
475
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.22),
476
+ 0 2px 5px rgba(0, 0, 0, 0.35) !important;
477
+ backdrop-filter: blur(12px) saturate(140%) !important;
478
+ -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
479
+ transition:
480
+ background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
481
+ border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1),
482
+ box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1),
483
+ transform 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
484
+ overflow: hidden !important;
485
+ user-select: none !important;
486
+ text-decoration: none !important;
487
+ }
488
+
489
+ .toolcall:hover,
490
+ .thinking:hover {
491
+ background: rgba(255, 255, 255, 0.09) !important;
492
+ border-color: rgba(255, 255, 255, 0.22) !important;
493
+ box-shadow:
494
+ inset 0 1px 1px rgba(255, 255, 255, 0.35),
495
+ 0 4px 10px rgba(0, 0, 0, 0.45) !important;
496
+ transform: translateY(-1px) !important;
497
+ }
498
+
499
+ /* 状态氛围点睛 */
500
+ .toolcall.run {
501
+ border-color: rgba(245, 158, 11, 0.45) !important;
502
+ box-shadow:
503
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.25),
504
+ 0 0 10px rgba(245, 158, 11, 0.25) !important;
505
+ }
506
+ .toolcall.ok {
507
+ border-color: rgba(52, 211, 153, 0.25) !important;
508
+ }
509
+ .toolcall.err {
510
+ border-color: rgba(248, 113, 113, 0.45) !important;
511
+ box-shadow:
512
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.25),
513
+ 0 0 10px rgba(239, 68, 68, 0.25) !important;
514
+ }
515
+
516
+ .thinking {
517
+ border-color: rgba(192, 132, 252, 0.25) !important;
518
+ }
519
+ .thinking:hover {
520
+ border-color: rgba(192, 132, 252, 0.45) !important;
521
+ }
522
+ .thinking.run {
523
+ border-color: rgba(192, 132, 252, 0.5) !important;
524
+ box-shadow:
525
+ inset 0 0.5px 0.5px rgba(255, 255, 255, 0.25),
526
+ 0 0 10px rgba(192, 132, 252, 0.25) !important;
527
+ }
528
+
529
+ /* 隐藏流内大图缩略图(由点击居中弹窗展示大图) */
530
+ .toolcall-images,
531
+ .toolcall-image,
532
+ .toolcall .toolcall-images {
533
+ display: none !important;
534
+ }
535
+
536
+ /* 卡头:自适应内容宽度,严格水平对齐 */
537
+ .toolcall .toolcall-head,
538
+ .toolcall .chead,
539
+ .thinking .chead {
540
+ display: inline-flex !important;
541
+ align-items: center !important;
542
+ justify-content: center !important;
543
+ vertical-align: middle !important;
544
+ box-sizing: border-box !important;
545
+ width: auto !important;
546
+ min-width: 0 !important;
547
+ max-width: fit-content !important;
548
+ min-height: unset !important;
549
+ height: 100% !important;
550
+ padding: 0 !important;
551
+ margin: 0 !important;
552
+ border: none !important;
553
+ border-top: none !important;
554
+ border-bottom: none !important;
555
+ background: transparent !important;
556
+ gap: 4px !important;
557
+ box-shadow: none !important;
558
+ line-height: 1 !important;
559
+ }
560
+
561
+ /* 隐藏原地折叠、复制、长命令与长路径等干扰元素 */
562
+ .toolcall .chead-toggle,
563
+ .toolcall .toolcall-toggle,
564
+ .toolcall .toolcall-spacer,
565
+ .toolcall .chead-copy,
566
+ .toolcall .toolcall-copy,
567
+ .toolcall .toolcall-path,
568
+ .toolcall .toolcall-cmd,
569
+ .toolcall .toolcall-query,
570
+ .toolcall .toolcall-timeout,
571
+ .toolcall .toolcall-agent,
572
+ .toolcall .toolcall-open,
573
+ .toolcall .toolcall-kill,
574
+ .toolcall .toolcall-duration,
575
+ .thinking .chead-toggle,
576
+ .thinking .thinking-toggle,
577
+ .thinking .chead-copy,
578
+ .thinking .thinking-copy,
579
+ .thinking .thinking-spacer,
580
+ .thinking .thinking-summary-text,
581
+ .thinking .thinking-preview-live,
582
+ .thinking .thinking-preview-viewport,
583
+ .thinking .thinking-preview-track,
584
+ .thinking .thinking-preview-prefix,
585
+ .thinking .thinking-live-label,
586
+ .thinking-summary {
587
+ display: none !important;
588
+ }
589
+
590
+ .chead-icon,
591
+ .chead-icon.thinking-icon,
592
+ .chead-icon.toolcall-icon,
593
+ .toolcall-icon,
594
+ .toolcall-head svg,
595
+ .thinking-icon,
596
+ .thinking svg {
597
+ display: inline-flex !important;
598
+ align-items: center !important;
599
+ justify-content: center !important;
600
+ width: 12px !important;
601
+ height: 12px !important;
602
+ padding: 0 !important;
603
+ margin: 0 !important;
604
+ border-radius: 0 !important;
605
+ background: transparent !important;
606
+ flex: none !important;
607
+ opacity: 0.85 !important;
608
+ font-size: 10px !important;
609
+ }
610
+
611
+ .toolcall-name,
612
+ .chead-title.toolcall-name,
613
+ .thinking-name,
614
+ .thinking-label,
615
+ .chead-title.thinking-label {
616
+ display: inline-flex !important;
617
+ align-items: center !important;
618
+ justify-content: center !important;
619
+ line-height: 1 !important;
620
+ font-size: 11px !important;
621
+ font-weight: 500 !important;
622
+ color: #f1f5f9 !important;
623
+ padding: 0 !important;
624
+ margin: 0 !important;
625
+ flex: none !important;
626
+ min-width: unset !important;
627
+ max-width: unset !important;
628
+ letter-spacing: 0.02em !important;
629
+ }
630
+
631
+ .thinking .thinking-name {
632
+ color: #f1f5f9 !important;
633
+ }
634
+ .thinking .thinking-icon,
635
+ .thinking .thinking-status {
636
+ color: #c084fc !important;
637
+ filter: drop-shadow(0 0 4px rgba(192, 132, 252, 0.75)) !important;
638
+ }
639
+
640
+ /* 语义化工具微光宝石呼吸灯 */
641
+ .toolcall-icon.tc-tone-exec {
642
+ color: #38bdf8 !important;
643
+ filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.75)) !important;
644
+ }
645
+ .toolcall-icon.tc-tone-read,
646
+ .toolcall-icon.tc-tone-search {
647
+ color: #34d399 !important;
648
+ filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.75)) !important;
649
+ }
650
+ .toolcall-icon.tc-tone-edit {
651
+ color: #fbbf24 !important;
652
+ filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.75)) !important;
653
+ }
654
+ .toolcall-icon.tc-tone-code {
655
+ color: #e879f9 !important;
656
+ filter: drop-shadow(0 0 4px rgba(232, 121, 249, 0.75)) !important;
657
+ }
658
+ .toolcall-icon.tc-tone-agent {
659
+ color: #f87171 !important;
660
+ filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.75)) !important;
661
+ }
662
+
663
+ .toolcall.ok .toolcall-status {
664
+ color: #34d399 !important;
665
+ filter: drop-shadow(0 0 3px rgba(52, 211, 153, 0.6)) !important;
666
+ }
667
+ .toolcall.err .toolcall-status {
668
+ color: #f87171 !important;
669
+ filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.8)) !important;
670
+ }
671
+
672
+ .toolcall-status,
673
+ .thinking-status {
674
+ display: inline-flex !important;
675
+ align-items: center !important;
676
+ justify-content: center !important;
677
+ vertical-align: middle !important;
678
+ width: 11px !important;
679
+ height: 11px !important;
680
+ font-size: 9px !important;
681
+ flex: none !important;
682
+ margin: 0 !important;
683
+ padding: 0 !important;
684
+ }
685
+ .toolcall-status > svg,
686
+ .toolcall-status svg,
687
+ .thinking-status > svg,
688
+ .thinking-status svg {
689
+ width: 10px !important;
690
+ height: 10px !important;
691
+ margin: 0 !important;
692
+ padding: 0 !important;
693
+ }
694
+ .thinking-status .spin,
695
+ .toolcall-status .spin,
696
+ .toolcall-status .half-ring-spin,
697
+ .thinking-status .half-ring-spin,
698
+ .toolcall.run .toolcall-status svg,
699
+ .toolcall.run .toolcall-status-icon svg {
700
+ animation: spin 0.85s linear infinite !important;
701
+ transform-origin: center center !important;
702
+ }
703
+
704
+ /* 输出徽标:图片 🖼️、Markdown 📝 等行内小微标 */
705
+ .toolcall-out-badge {
706
+ display: inline-flex !important;
707
+ align-items: center !important;
708
+ justify-content: center !important;
709
+ vertical-align: middle !important;
710
+ width: 11px !important;
711
+ height: 11px !important;
712
+ font-size: 9.5px !important;
713
+ margin: 0 !important;
714
+ padding: 0 !important;
715
+ flex: none !important;
716
+ opacity: 0.85 !important;
717
+ }
718
+ .toolcall-out-badge.img {
719
+ color: #3b82f6 !important;
720
+ }
721
+ .toolcall-out-badge.md {
722
+ color: #a78bfa !important;
723
+ }
724
+ .toolcall-out-badge svg {
725
+ width: 10px !important;
726
+ height: 10px !important;
727
+ margin: 0 !important;
728
+ padding: 0 !important;
729
+ }
730
+
731
+ /* 附件也是一个“字”:混排在同一输入流中,外边距清零由 gap 管理 */
732
+ .msg-queued-atts-bar {
733
+ display: inline-flex !important;
734
+ align-items: center !important;
735
+ gap: 6px !important;
736
+ margin: 0 !important;
737
+ padding: 0 !important;
738
+ }
739
+ .queued-att-chip,
740
+ .attach-chip {
741
+ display: inline-flex !important;
742
+ align-items: center !important;
743
+ vertical-align: middle !important;
744
+ box-sizing: border-box !important;
745
+ height: 22px !important;
746
+ line-height: 20px !important;
747
+ margin: 0 !important;
748
+ padding: 0 7px !important;
749
+ font-size: 11px !important;
750
+ border-radius: 6px !important;
751
+ background: #1c1c1c !important;
752
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
753
+ color: #d4d4d4 !important;
754
+ }
755
+
756
+ /* 正文自成段落倾泻,与上方工具流保持舒适间距 */
757
+ .msg-assistant .msg-text {
758
+ display: block !important;
759
+ padding: 0 !important;
760
+ margin: 8px 0 0 0 !important;
761
+ }
762
+ .msg-assistant .msg-text > .markdown {
763
+ display: inline !important;
764
+ }
765
+ .msg-assistant .msg-text > .markdown > p:first-child {
766
+ display: inline !important;
767
+ margin: 0 !important;
768
+ }
769
+
770
+ /* 彻底隐藏原地展开内容,点击由居中检查器弹窗接管 */
771
+ .toolcall-body,
772
+ .thinking-body {
773
+ display: none !important;
774
+ }
775
+
776
+ .msg-actions {
777
+ opacity: 0.3 !important;
778
+ margin-top: 2px !important;
779
+ transition: opacity 0.15s ease !important;
780
+ }
781
+ .msg-assistant:hover .msg-actions,
782
+ .msg-user:hover .msg-actions {
783
+ opacity: 1 !important;
784
+ }
785
+
786
+ /* ========================================================
787
+ 用户消息气泡:克制典雅的暗炭微卡片(无边框纯净融合)
788
+ ======================================================== */
789
+ .msg-user {
790
+ background: transparent !important;
791
+ box-shadow: none !important;
792
+ margin: 6px 0 2px 0 !important;
793
+ }
794
+
795
+ .msg-user .msg-body {
796
+ background: #212121 !important;
797
+ border: none !important;
798
+ border-radius: 14px !important;
799
+ padding: 8px 14px !important;
800
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
801
+ backdrop-filter: none !important;
802
+ -webkit-backdrop-filter: none !important;
803
+ color: #f2f2f2 !important;
804
+ }
805
+
806
+ /* ========================================================
807
+ 输入框与控件(复刻 OpenAI Codex 桌面悬浮岛)
808
+ ======================================================== */
809
+ .inputbox {
810
+ background: #212121 !important;
811
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
812
+ border-radius: 18px !important;
813
+ box-shadow:
814
+ 0 4px 24px rgba(0, 0, 0, 0.45),
815
+ 0 1px 2px rgba(0, 0, 0, 0.3) !important;
816
+ backdrop-filter: none !important;
817
+ -webkit-backdrop-filter: none !important;
818
+ transition:
819
+ border-color 0.2s ease,
820
+ box-shadow 0.2s ease !important;
821
+ }
822
+
823
+ .inputbox:focus-within {
824
+ border-color: rgba(255, 255, 255, 0.2) !important;
825
+ box-shadow:
826
+ 0 6px 32px rgba(0, 0, 0, 0.55),
827
+ 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
828
+ }
829
+
830
+ .inputbox textarea {
831
+ background: transparent !important;
832
+ color: #ffffff !important;
833
+ }
834
+
835
+ .composer-tools,
836
+ .composer-tools-left,
837
+ .composer-tools-center,
838
+ .composer-tools-right {
839
+ color: #9e9e9e !important;
840
+ }
841
+
842
+ .composer-tools .chip {
843
+ background: #181818 !important;
844
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
845
+ color: #d4d4d4 !important;
846
+ box-shadow: none !important;
847
+ border-radius: 12px !important;
848
+ transition:
849
+ background 0.15s ease,
850
+ border-color 0.15s ease,
851
+ color 0.15s ease;
852
+ }
853
+
854
+ .composer-tools .chip:hover {
855
+ background: #282828 !important;
856
+ border-color: rgba(255, 255, 255, 0.16) !important;
857
+ color: #ffffff !important;
858
+ }
859
+
860
+ .composer-tools .chip > span,
861
+ .composer-tools .chip > span.chip-model,
862
+ .composer-tools .chip > span.chip-sub,
863
+ .composer-tools .chip-sub {
864
+ color: #d4d4d4 !important;
865
+ opacity: 0.95 !important;
866
+ }
867
+
868
+ .inputbox .composer-tools-left button:hover,
869
+ .inputbox .btn.composer-plugin-action:hover,
870
+ .inputbox .composer-tools-left .btn:hover {
871
+ background: rgba(255, 255, 255, 0.08) !important;
872
+ }
873
+
874
+ .composer-tools .chip,
875
+ .composer-tools .chip:hover,
876
+ .composer-tools .dropdown > button,
877
+ .composer-tools .dropdown > button:hover,
878
+ .dropdown > button.chip,
879
+ .dropdown > button.chip:hover {
880
+ border-radius: 12px !important;
881
+ }
882
+
883
+ .inputbox .btn.send {
884
+ background: #ffffff !important;
885
+ border-color: #ffffff !important;
886
+ color: #000000 !important;
887
+ border-radius: 50% !important;
888
+ width: 32px !important;
889
+ height: 32px !important;
890
+ min-width: 32px !important;
891
+ padding: 0 !important;
892
+ display: inline-flex !important;
893
+ align-items: center !important;
894
+ justify-content: center !important;
895
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
896
+ }
897
+ .inputbox .btn.send svg {
898
+ stroke: #000000 !important;
899
+ color: #000000 !important;
900
+ stroke-width: 2.5 !important;
901
+ }
902
+ .inputbox .btn.send:hover:not(:disabled) {
903
+ background: #f4f4f4 !important;
904
+ border-color: #ffffff !important;
905
+ color: #000000 !important;
906
+ box-shadow: 0 0 14px rgba(255, 255, 255, 0.3) !important;
907
+ transform: translateY(-1px);
908
+ }
909
+ .inputbox .btn.send:disabled {
910
+ opacity: 0.35 !important;
911
+ box-shadow: none !important;
912
+ cursor: default !important;
913
+ }
914
+ .inputbox .btn.send:disabled svg {
915
+ stroke: #000000 !important;
916
+ color: #000000 !important;
917
+ }
918
+
919
+ .inputbox .split-send {
920
+ background: #ffffff !important;
921
+ border-color: #ffffff !important;
922
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
923
+ border-radius: 18px !important;
924
+ }
925
+ .inputbox .split-send button {
926
+ color: #000000 !important;
927
+ }
928
+ .inputbox .split-send button svg {
929
+ stroke: #000000 !important;
930
+ color: #000000 !important;
931
+ }
932
+ .inputbox .split-send .split-queue {
933
+ background: rgba(0, 0, 0, 0.08) !important;
934
+ }
935
+ .inputbox .split-send button + button {
936
+ border-left: 1px solid rgba(0, 0, 0, 0.15) !important;
937
+ }
938
+ .inputbox .split-send:hover {
939
+ background: #f4f4f4 !important;
940
+ border-color: #ffffff !important;
941
+ box-shadow: 0 0 14px rgba(255, 255, 255, 0.3) !important;
942
+ }
943
+ .inputbox .split-send button:hover:not(:disabled) {
944
+ background: rgba(0, 0, 0, 0.08) !important;
945
+ }
946
+
947
+ /* 快捷指令/快捷短语胶囊:悬浮、背景透明、磨砂毛玻璃浮空质感 */
948
+ .quick-chip {
949
+ background: rgba(33, 33, 33, 0.48) !important;
950
+ border: 1px solid rgba(255, 255, 255, 0.12) !important;
951
+ border-radius: 999px !important;
952
+ box-shadow:
953
+ 0 4px 16px rgba(0, 0, 0, 0.28),
954
+ 0 1px 3px rgba(0, 0, 0, 0.2),
955
+ inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
956
+ backdrop-filter: blur(14px) saturate(140%) !important;
957
+ -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
958
+ color: #e0e0e0 !important;
959
+ transition:
960
+ transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
961
+ box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
962
+ border-color 0.18s ease,
963
+ background 0.18s ease,
964
+ color 0.18s ease !important;
965
+ }
966
+
967
+ .quick-chip:hover:not(:disabled) {
968
+ transform: translateY(-2px) !important;
969
+ background: rgba(45, 45, 45, 0.72) !important;
970
+ border-color: rgba(255, 255, 255, 0.28) !important;
971
+ box-shadow:
972
+ 0 8px 24px rgba(0, 0, 0, 0.42),
973
+ 0 2px 6px rgba(0, 0, 0, 0.25),
974
+ inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
975
+ color: #ffffff !important;
976
+ }
977
+
978
+ .quick-chip:active:not(:disabled) {
979
+ transform: translateY(0) scale(0.97) !important;
980
+ box-shadow:
981
+ 0 2px 8px rgba(0, 0, 0, 0.24),
982
+ inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
983
+ }
984
+
985
+ /* 底部候选操作建议(同属快捷指令交互):悬浮透明毛玻璃 */
986
+ .action-suggestion-chip {
987
+ background: rgba(33, 33, 33, 0.48) !important;
988
+ border: 1px solid rgba(255, 255, 255, 0.12) !important;
989
+ border-radius: 999px !important;
990
+ box-shadow:
991
+ 0 4px 16px rgba(0, 0, 0, 0.28),
992
+ 0 1px 3px rgba(0, 0, 0, 0.2),
993
+ inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
994
+ backdrop-filter: blur(14px) saturate(140%) !important;
995
+ -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
996
+ color: #e0e0e0 !important;
997
+ transition:
998
+ transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
999
+ box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
1000
+ border-color 0.18s ease,
1001
+ background 0.18s ease,
1002
+ color 0.18s ease !important;
1003
+ }
1004
+
1005
+ .action-suggestion-chip:hover:not(:disabled) {
1006
+ transform: translateY(-2px) !important;
1007
+ background: rgba(45, 45, 45, 0.72) !important;
1008
+ border-color: rgba(255, 255, 255, 0.28) !important;
1009
+ box-shadow:
1010
+ 0 8px 24px rgba(0, 0, 0, 0.42),
1011
+ 0 2px 6px rgba(0, 0, 0, 0.25),
1012
+ inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
1013
+ color: #ffffff !important;
1014
+ }
1015
+
1016
+ .action-suggestion-chip:active:not(:disabled) {
1017
+ transform: translateY(0) scale(0.97) !important;
1018
+ }
1019
+
1020
+ /* 浮层与弹窗 */
1021
+ .dd-menu,
1022
+ .ctx-menu,
1023
+ .pm-panel,
1024
+ .modal-dialog {
1025
+ background: #212121 !important;
1026
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
1027
+ box-shadow:
1028
+ 0 16px 40px rgba(0, 0, 0, 0.65),
1029
+ inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
1030
+ }
1031
+
1032
+ [data-pi-floating-panel],
1033
+ .floating-panel {
1034
+ background: #212121 !important;
1035
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
1036
+ box-shadow:
1037
+ 0 12px 32px rgba(0, 0, 0, 0.55),
1038
+ inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
1039
+ color: #f2f2f2 !important;
1040
+ }
1041
+
1042
+ /* ========================================================
1043
+ 代码语法高亮(hljs)—— 极简冷冽暗调
1044
+ ======================================================== */
1045
+ .hljs {
1046
+ color: #f2f2f2;
1047
+ }
1048
+ .hljs-doctag,
1049
+ .hljs-keyword,
1050
+ .hljs-meta .hljs-keyword {
1051
+ color: #f472b6;
1052
+ }
1053
+ .hljs-title,
1054
+ .hljs-title.class_,
1055
+ .hljs-title.function_ {
1056
+ color: #38bdf8;
1057
+ }
1058
+ .hljs-attr,
1059
+ .hljs-attribute,
1060
+ .hljs-literal,
1061
+ .hljs-number {
1062
+ color: #fbbf24;
1063
+ }
1064
+ .hljs-string,
1065
+ .hljs-regexp {
1066
+ color: #34d399;
1067
+ }
1068
+ .hljs-built_in,
1069
+ .hljs-type {
1070
+ color: #c084fc;
1071
+ }
1072
+ .hljs-comment,
1073
+ .hljs-code {
1074
+ color: #737373;
1075
+ font-style: italic;
1076
+ }
1077
+ .hljs-tag,
1078
+ .hljs-name {
1079
+ color: #3b82f6;
1080
+ }
1081
+
1082
+ /* 角标防白底白字:当 --accent 为纯白时,顶栏实体胶囊角标反色为深色,后台任务保持红底白字(底栏透明徽标保持 var(--accent) 纯白高亮) */
1083
+ .topbar .bar-item-badge:not(.bg-task-badge) {
1084
+ color: #000000 !important;
1085
+ }
1086
+
1087
+ /* 主操作按钮防白底白字:--accent 为纯白时文字深色 */
1088
+ .btn.primary,
1089
+ .cwd-choose-btn.primary,
1090
+ .sandbox-banner-btn.primary,
1091
+ .worktree-banner-btn.primary,
1092
+ .chip.primary {
1093
+ color: #000000 !important;
1094
+ }