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
@@ -11,15 +11,17 @@
11
11
  --border-soft: rgba(255, 255, 255, 0.04);
12
12
  --text: #f0f3f8;
13
13
  --text-dim: #8e96aa;
14
- --text-faint: #525a70;
14
+ --text-faint: #5a637c;
15
15
  --accent: #00f5d4;
16
+ --accent-contrast: #0a0c13;
16
17
  --accent-soft: rgba(0, 245, 212, 0.12);
17
18
  --green: #10b981;
18
19
  --green-soft: rgba(16, 185, 129, 0.12);
19
20
  --red: #ff4a6e;
21
+ --on-red: #1a1a1a;
20
22
  --red-soft: rgba(255, 74, 110, 0.12);
21
23
  --amber: #fbbf24;
22
- --blue: #6366f1;
24
+ --blue: #6c6ff2;
23
25
  --blue-soft: rgba(99, 102, 241, 0.12);
24
26
 
25
27
  /* 终端 ANSI 调色板 */
@@ -73,12 +75,13 @@
73
75
  --notice-warn-border: #fbbf24;
74
76
  --notice-info-border: #6366f1;
75
77
  --send-blue: #00f5d4;
78
+ --on-send-blue: #1a1a1a;
76
79
  --send-blue-hover: #2dd4bf;
77
80
  --stop-red: #ff4a6e;
78
81
  --stop-red-hover: #e11d48;
79
82
  --brand-grad-a: #00f5d4;
80
83
  --brand-grad-b: #6366f1;
81
- --on-amber: #040507;
84
+ --on-amber: #1a1a1a;
82
85
  --search-active-fg: #040507;
83
86
  --switch-knob: #ffffff;
84
87
  --sunken-bg: rgba(0, 0, 0, 0.45);
@@ -129,28 +132,59 @@ body,
129
132
 
130
133
  /* ---------------- 2. 悬浮机载平显顶栏 (Avionics HUD Topbar) ---------------- */
131
134
  .topbar {
132
- background: rgba(4, 5, 7, 0.6) !important;
133
- backdrop-filter: blur(24px) saturate(180%) !important;
134
- -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
135
- border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
136
- box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
135
+ background: rgba(4, 5, 7, 0.6);
136
+ backdrop-filter: blur(24px) saturate(180%);
137
+ -webkit-backdrop-filter: blur(24px) saturate(180%);
138
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
139
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
137
140
  }
138
141
 
139
142
  .topbar .chip,
140
143
  .topbar .tb-tab,
141
144
  .topbar .plugin-topbar-item {
142
- border-radius: 8px !important;
143
- border: 1px solid rgba(255, 255, 255, 0.06) !important;
144
- background: rgba(255, 255, 255, 0.02) !important;
145
- transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
145
+ border-radius: 8px;
146
+ border: 1px solid rgba(255, 255, 255, 0.06);
147
+ background: rgba(255, 255, 255, 0.02);
148
+ transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
149
+ }
150
+
151
+ /* 与基线「顶栏归一」契约对齐(分层后的显式复刻):
152
+ 基线 `@layer base` 里那三条顶栏归一规则(裸幽灵化常态 / .active 强调底 /
153
+ .newchat·.github 圆角组)原本靠优先级补丁与更具体的子选择器压过本主题的芯片底;
154
+ 分层后 theme 恒胜,上面那块 HUD 芯片底会盖到它们身上。这里把它们**当时实际
155
+ 生效的值**显式写回,与重构前的渲染结果逐像素一致(普通 `.chip` 当时就是本主题
156
+ 的灰底,不受影响)。 */
157
+ .topbar button.chip,
158
+ .topbar .chip.active,
159
+ .topbar .tb-tab.active,
160
+ .topbar .plugin-topbar-item.active,
161
+ .topbar .chip.github,
162
+ .topbar .chip.newchat,
163
+ .topbar .chip.ephemeral-chat-btn,
164
+ .topbar .chip.sandbox-chip {
165
+ border-color: transparent;
166
+ }
167
+
168
+ .topbar button.chip,
169
+ .topbar .chip.github,
170
+ .topbar .chip.newchat,
171
+ .topbar .chip.ephemeral-chat-btn,
172
+ .topbar .chip.sandbox-chip {
173
+ background: transparent;
174
+ }
175
+
176
+ .topbar .chip.active,
177
+ .topbar .tb-tab.active,
178
+ .topbar .plugin-topbar-item.active {
179
+ background: var(--accent-soft);
146
180
  }
147
181
 
148
182
  .topbar .chip:hover,
149
183
  .topbar .tb-tab:hover,
150
184
  .topbar .plugin-topbar-item:hover {
151
- border-color: rgba(0, 245, 212, 0.35) !important;
152
- background: rgba(0, 245, 212, 0.07) !important;
153
- box-shadow: 0 0 16px rgba(0, 245, 212, 0.12) !important;
185
+ border-color: rgba(0, 245, 212, 0.35);
186
+ background: rgba(0, 245, 212, 0.07);
187
+ box-shadow: 0 0 16px rgba(0, 245, 212, 0.12);
154
188
  transform: translateY(-1px);
155
189
  }
156
190
 
@@ -166,124 +200,124 @@ body,
166
200
  /* ---------------- 3. 悬浮指挥中岛 (Floating Command Dock) ---------------- */
167
201
  /* 彻底打破贴底通栏传统,将输入框重构为居中浮空战术控制台 */
168
202
  .inputbar {
169
- background: transparent !important;
203
+ background: transparent;
170
204
  /* 上内边距走 --composer-pad-top(消息区的负 margin 按同一个值算),
171
205
  这个主题只是把下留白加大。 */
172
- padding: var(--composer-pad-top) var(--chat-inset) 28px !important;
173
- position: relative !important;
174
- z-index: 30 !important;
175
- border-top: none !important;
206
+ padding: var(--composer-pad-top) var(--chat-inset) 28px;
207
+ position: relative;
208
+ z-index: 30;
209
+ border-top: none;
176
210
  }
177
211
 
178
212
  .inputbox {
179
- background: rgba(10, 12, 20, 0.84) !important;
180
- backdrop-filter: blur(36px) saturate(220%) !important;
181
- -webkit-backdrop-filter: blur(36px) saturate(220%) !important;
182
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
183
- border-radius: 22px !important;
184
- padding: 14px 16px 12px !important;
213
+ background: rgba(10, 12, 20, 0.84);
214
+ backdrop-filter: blur(36px) saturate(220%);
215
+ -webkit-backdrop-filter: blur(36px) saturate(220%);
216
+ border: 1px solid rgba(255, 255, 255, 0.1);
217
+ border-radius: 22px;
218
+ padding: 14px 16px 12px;
185
219
  box-shadow:
186
220
  0 28px 70px -12px rgba(0, 0, 0, 0.85),
187
221
  0 0 0 1px rgba(255, 255, 255, 0.04),
188
- inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
222
+ inset 0 1px 0 rgba(255, 255, 255, 0.16);
189
223
  transition:
190
224
  border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
191
225
  box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
192
- transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
226
+ transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
193
227
  }
194
228
 
195
229
  .inputbox:focus-within {
196
- border-color: rgba(0, 245, 212, 0.5) !important;
230
+ border-color: rgba(0, 245, 212, 0.5);
197
231
  box-shadow:
198
232
  0 36px 85px -12px rgba(0, 0, 0, 0.95),
199
233
  0 0 35px rgba(0, 245, 212, 0.24),
200
- inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
234
+ inset 0 1px 0 rgba(255, 255, 255, 0.28);
201
235
  transform: translateY(-3px);
202
236
  }
203
237
 
204
238
  .composer-textarea {
205
- font-size: 14.5px !important;
206
- line-height: 1.65 !important;
239
+ font-size: 14.5px;
240
+ line-height: 1.65;
207
241
  }
208
242
 
209
243
  /* 发送按键高阶能量发光体 */
210
244
  .btn-send {
211
- background: linear-gradient(135deg, #00f5d4 0%, #05d5b9 100%) !important;
212
- color: #040507 !important;
213
- font-weight: 700 !important;
214
- border-radius: 12px !important;
215
- box-shadow: 0 4px 16px rgba(0, 245, 212, 0.35) !important;
216
- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
245
+ background: linear-gradient(135deg, #00f5d4 0%, #05d5b9 100%);
246
+ color: #040507;
247
+ font-weight: 700;
248
+ border-radius: 12px;
249
+ box-shadow: 0 4px 16px rgba(0, 245, 212, 0.35);
250
+ transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
217
251
  }
218
252
 
219
253
  .btn-send:hover {
220
254
  transform: scale(1.05) translateY(-1px);
221
- box-shadow: 0 6px 24px rgba(0, 245, 212, 0.6) !important;
255
+ box-shadow: 0 6px 24px rgba(0, 245, 212, 0.6);
222
256
  }
223
257
 
224
258
  /* ---------------- 4. 任务目标工单化 (Mission Objective Directives) ---------------- */
225
259
  /* 颠覆微信式右侧聊天气泡:用户提问直接升级为任务工程指令卡片 */
226
260
  .msg-user {
227
- margin-top: 28px !important;
228
- margin-bottom: 28px !important;
229
- max-width: 100% !important;
261
+ margin-top: 28px;
262
+ margin-bottom: 28px;
263
+ max-width: 100%;
230
264
  }
231
265
 
232
266
  .msg-user .msg-meta {
233
- display: flex !important;
234
- align-items: center !important;
235
- gap: 8px !important;
236
- margin-bottom: 8px !important;
267
+ display: flex;
268
+ align-items: center;
269
+ gap: 8px;
270
+ margin-bottom: 8px;
237
271
  }
238
272
 
239
273
  .msg-user .msg-role::before {
240
- content: "MISSION DIRECTIVE // " !important;
241
- font-family: var(--mono) !important;
242
- font-size: 10px !important;
243
- letter-spacing: 0.15em !important;
244
- font-weight: 700 !important;
245
- color: var(--accent) !important;
274
+ content: "MISSION DIRECTIVE // ";
275
+ font-family: var(--mono);
276
+ font-size: 10px;
277
+ letter-spacing: 0.15em;
278
+ font-weight: 700;
279
+ color: var(--accent);
246
280
  opacity: 0.9;
247
281
  }
248
282
 
249
283
  .msg-user .msg-body {
250
- position: relative !important;
251
- background: linear-gradient(145deg, rgba(16, 20, 32, 0.9) 0%, rgba(9, 11, 19, 0.9) 100%) !important;
252
- border: 1px solid rgba(0, 245, 212, 0.24) !important;
253
- border-left: 4px solid var(--accent) !important;
254
- border-radius: 14px !important;
255
- padding: 16px 20px !important;
284
+ position: relative;
285
+ background: linear-gradient(145deg, rgba(16, 20, 32, 0.9) 0%, rgba(9, 11, 19, 0.9) 100%);
286
+ border: 1px solid rgba(0, 245, 212, 0.24);
287
+ border-left: 4px solid var(--accent);
288
+ border-radius: 14px;
289
+ padding: 16px 20px;
256
290
  box-shadow:
257
291
  0 14px 36px -6px rgba(0, 0, 0, 0.55),
258
292
  0 0 28px rgba(0, 245, 212, 0.06),
259
- inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
260
- backdrop-filter: blur(18px) !important;
261
- -webkit-backdrop-filter: blur(18px) !important;
293
+ inset 0 1px 0 rgba(255, 255, 255, 0.12);
294
+ backdrop-filter: blur(18px);
295
+ -webkit-backdrop-filter: blur(18px);
262
296
  }
263
297
 
264
298
  /* ---------------- 5. 神经主导线与自动化流水线 (Execution Neural Spine) ---------------- */
265
299
  /* 为 Agent 回复构建统一的垂直神经脉络导轨,将零散的 toolcall 串联为高科技流水线 */
266
300
  .msg-assistant .msg-body {
267
- position: relative !important;
268
- padding-left: 20px !important;
269
- border-left: 2px solid rgba(0, 245, 212, 0.2) !important;
270
- margin-left: 6px !important;
301
+ position: relative;
302
+ padding-left: 20px;
303
+ border-left: 2px solid rgba(0, 245, 212, 0.2);
304
+ margin-left: 6px;
271
305
  }
272
306
 
273
307
  /* 工具调用节点微芯片化 */
274
308
  .toolcall {
275
- position: relative !important;
276
- border-radius: 10px !important;
277
- border: 1px solid rgba(255, 255, 255, 0.08) !important;
278
- background: rgba(9, 11, 18, 0.72) !important;
279
- backdrop-filter: blur(14px) !important;
280
- -webkit-backdrop-filter: blur(14px) !important;
281
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
282
- margin: 8px 0 !important;
309
+ position: relative;
310
+ border-radius: 10px;
311
+ border: 1px solid rgba(255, 255, 255, 0.08);
312
+ background: rgba(9, 11, 18, 0.72);
313
+ backdrop-filter: blur(14px);
314
+ -webkit-backdrop-filter: blur(14px);
315
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
316
+ margin: 8px 0;
283
317
  transition:
284
318
  border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
285
319
  box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
286
- transform 0.15s ease !important;
320
+ transform 0.15s ease;
287
321
  }
288
322
 
289
323
  /* 钉在神经导轨上的微型量子状态芯片引脚 */
@@ -303,29 +337,29 @@ body,
303
337
  }
304
338
 
305
339
  .toolcall:hover {
306
- border-color: rgba(255, 255, 255, 0.2) !important;
340
+ border-color: rgba(255, 255, 255, 0.2);
307
341
  transform: translateX(2px);
308
342
  }
309
343
 
310
344
  .toolcall-head {
311
- padding: 6px 14px !important;
312
- font-family: var(--mono) !important;
313
- font-size: 13px !important;
345
+ padding: 6px 14px;
346
+ font-family: var(--mono);
347
+ font-size: 13px;
314
348
  }
315
349
 
316
350
  .toolcall-name {
317
- color: #00f5d4 !important;
318
- font-weight: 600 !important;
319
- letter-spacing: 0.04em !important;
351
+ color: #00f5d4;
352
+ font-weight: 600;
353
+ letter-spacing: 0.04em;
320
354
  }
321
355
 
322
356
  /* 运行态量子发光流水线 */
323
357
  .toolcall.run {
324
- border-color: rgba(0, 245, 212, 0.55) !important;
358
+ border-color: rgba(0, 245, 212, 0.55);
325
359
  box-shadow:
326
360
  0 0 24px rgba(0, 245, 212, 0.16),
327
- inset 0 0 16px rgba(0, 245, 212, 0.06) !important;
328
- animation: aetheris-pulse 2s ease-in-out infinite alternate !important;
361
+ inset 0 0 16px rgba(0, 245, 212, 0.06);
362
+ animation: aetheris-pulse 2s ease-in-out infinite alternate;
329
363
  }
330
364
 
331
365
  .msg-assistant .toolcall.run::before {
@@ -348,7 +382,7 @@ body,
348
382
  }
349
383
 
350
384
  .toolcall.ok {
351
- border-color: rgba(16, 185, 129, 0.35) !important;
385
+ border-color: rgba(16, 185, 129, 0.35);
352
386
  }
353
387
 
354
388
  .msg-assistant .toolcall.ok::before {
@@ -358,13 +392,13 @@ body,
358
392
  }
359
393
 
360
394
  .toolcall.ok .toolcall-status {
361
- color: #10b981 !important;
395
+ color: #10b981;
362
396
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
363
397
  }
364
398
 
365
399
  .toolcall.err {
366
- border-color: rgba(255, 74, 110, 0.5) !important;
367
- box-shadow: 0 0 20px rgba(255, 74, 110, 0.18) !important;
400
+ border-color: rgba(255, 74, 110, 0.5);
401
+ box-shadow: 0 0 20px rgba(255, 74, 110, 0.18);
368
402
  }
369
403
 
370
404
  .msg-assistant .toolcall.err::before {
@@ -374,67 +408,67 @@ body,
374
408
  }
375
409
 
376
410
  .toolcall.err .toolcall-status {
377
- color: #ff4a6e !important;
411
+ color: #ff4a6e;
378
412
  text-shadow: 0 0 10px rgba(255, 74, 110, 0.65);
379
413
  }
380
414
 
381
415
  /* ---------------- 6. 神经思维链暗舱 (Neural Synapse Vault) ---------------- */
382
416
  .thinking {
383
- position: relative !important;
384
- border-radius: 12px !important;
385
- border: 1px dashed rgba(99, 102, 241, 0.35) !important;
386
- background: rgba(8, 10, 16, 0.65) !important;
387
- backdrop-filter: blur(14px) !important;
388
- -webkit-backdrop-filter: blur(14px) !important;
389
- margin: 12px 0 !important;
390
- transition: border-color 0.25s ease !important;
417
+ position: relative;
418
+ border-radius: 12px;
419
+ border: 1px dashed rgba(99, 102, 241, 0.35);
420
+ background: rgba(8, 10, 16, 0.65);
421
+ backdrop-filter: blur(14px);
422
+ -webkit-backdrop-filter: blur(14px);
423
+ margin: 12px 0;
424
+ transition: border-color 0.25s ease;
391
425
  }
392
426
 
393
427
  .thinking:hover {
394
- border-color: rgba(99, 102, 241, 0.55) !important;
428
+ border-color: rgba(99, 102, 241, 0.55);
395
429
  }
396
430
 
397
431
  .thinking-head {
398
- font-family: var(--mono) !important;
399
- font-size: 12.5px !important;
400
- letter-spacing: 0.05em !important;
401
- color: #818cf8 !important;
432
+ font-family: var(--mono);
433
+ font-size: 12.5px;
434
+ letter-spacing: 0.05em;
435
+ color: #818cf8;
402
436
  }
403
437
 
404
438
  /* ---------------- 7. 工件画布与代码沉浸舱 (Artifact Canvas) ---------------- */
405
439
  /* 将代码产出物提升为主画布核心工件视觉 */
406
440
  .codeblock {
407
- border-radius: 12px !important;
408
- border: 1px solid rgba(255, 255, 255, 0.09) !important;
409
- background: #06070c !important;
441
+ border-radius: 12px;
442
+ border: 1px solid rgba(255, 255, 255, 0.09);
443
+ background: #06070c;
410
444
  box-shadow:
411
445
  0 10px 30px -4px rgba(0, 0, 0, 0.65),
412
- inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
413
- overflow: hidden !important;
414
- margin: 14px 0 !important;
446
+ inset 0 1px 0 rgba(255, 255, 255, 0.08);
447
+ overflow: hidden;
448
+ margin: 14px 0;
415
449
  }
416
450
 
417
451
  .codeblock-head {
418
- background: rgba(255, 255, 255, 0.035) !important;
419
- border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
420
- font-family: var(--mono) !important;
421
- font-size: 12px !important;
422
- letter-spacing: 0.04em !important;
452
+ background: rgba(255, 255, 255, 0.035);
453
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
454
+ font-family: var(--mono);
455
+ font-size: 12px;
456
+ letter-spacing: 0.04em;
423
457
  }
424
458
 
425
459
  .codeblock pre {
426
- background: #06070c !important;
460
+ background: #06070c;
427
461
  }
428
462
 
429
463
  /* ---------------- 8. 遥测指示底栏 (Avionics Statusbar) ---------------- */
430
464
  .statusbar {
431
- background: rgba(4, 5, 7, 0.75) !important;
432
- backdrop-filter: blur(24px) !important;
433
- -webkit-backdrop-filter: blur(24px) !important;
434
- border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
435
- font-family: var(--mono) !important;
436
- font-size: 11.5px !important;
437
- letter-spacing: 0.03em !important;
465
+ background: rgba(4, 5, 7, 0.75);
466
+ backdrop-filter: blur(24px);
467
+ -webkit-backdrop-filter: blur(24px);
468
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
469
+ font-family: var(--mono);
470
+ font-size: 11.5px;
471
+ letter-spacing: 0.03em;
438
472
  }
439
473
 
440
474
  /* ---------------- 9. 极客悬浮滚动条 (Quiet Cybernetic Scrollbar) ---------------- */
@@ -11,14 +11,17 @@
11
11
  --text: #5c6166;
12
12
  --text-dim: #66727f;
13
13
  --text-faint: #6a7582;
14
- --accent: #f29718;
14
+ --accent: #b36d0a;
15
+ --accent-contrast: #0f1419;
15
16
  --accent-soft: rgba(242, 151, 24, 0.14);
16
- --green: #86b300;
17
+ --green: #587600;
18
+ --on-green: #ffffff;
17
19
  --green-soft: rgba(134, 179, 0, 0.12);
18
- --red: #f07171;
20
+ --red: #da1717;
21
+ --on-red: #ffffff;
19
22
  --red-soft: rgba(240, 113, 113, 0.1);
20
- --amber: #e59645;
21
- --blue: #3b82f6;
23
+ --amber: #9f5b16;
24
+ --blue: #0b63f3;
22
25
  --blue-soft: rgba(59, 130, 246, 0.12);
23
26
  --term-bg: #fcfcfc;
24
27
  --term-fg: #5c6166;
@@ -49,17 +52,17 @@
49
52
  --code-border: var(--border-soft);
50
53
  --code-pad: 8px 10px;
51
54
  --card-body-pad: 4px 14px 12px;
52
- --err-text: #e55a5a;
53
- --red-text: #e55a5a;
54
- --amber-text: #c77e24;
55
- --info-blue: #22a4e6;
56
- --link: #22a4e6;
55
+ --err-text: #d62222;
56
+ --red-text: #d62222;
57
+ --amber-text: #97601b;
58
+ --info-blue: #1373a4;
59
+ --link: #1373a4;
57
60
  --link-hover: #1a8fc4;
58
- --link-soft: #22a4e6;
61
+ --link-soft: #1373a4;
59
62
  --md-strong: #5c6166;
60
- --skill-blue: #22a4e6;
61
- --plugin-purple: #b58cff;
62
- --auth-green: #18a97c;
63
+ --skill-blue: #1373a4;
64
+ --plugin-purple: #803aff;
65
+ --auth-green: #127c5b;
63
66
  --scroll-thumb: #d8dade;
64
67
  --scroll-thumb-hover: #b9bcc2;
65
68
  --notice-err-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--red));
@@ -69,12 +72,13 @@
69
72
  --notice-warn-border: var(--amber);
70
73
  --notice-info-border: var(--info-blue);
71
74
  --send-blue: #f29718;
75
+ --on-send-blue: #1a1a1a;
72
76
  --send-blue-hover: #e08a0d;
73
77
  --stop-red: #ef4444;
74
78
  --stop-red-hover: #dc2626;
75
79
  --brand-grad-a: #f29718;
76
80
  --brand-grad-b: #f07171;
77
- --on-amber: #1a1a1a;
81
+ --on-amber: #ffffff;
78
82
  --search-active-fg: #1a1d26;
79
83
  --switch-knob: #ffffff;
80
84
  --bg-elev3: rgba(255, 255, 255, 0.06);