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
@@ -132,28 +132,59 @@ body,
132
132
 
133
133
  /* ---------------- 2. 悬浮机载平显顶栏 (Avionics HUD Topbar) ---------------- */
134
134
  .topbar {
135
- background: rgba(4, 5, 7, 0.6) !important;
136
- backdrop-filter: blur(24px) saturate(180%) !important;
137
- -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
138
- border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
139
- 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);
140
140
  }
141
141
 
142
142
  .topbar .chip,
143
143
  .topbar .tb-tab,
144
144
  .topbar .plugin-topbar-item {
145
- border-radius: 8px !important;
146
- border: 1px solid rgba(255, 255, 255, 0.06) !important;
147
- background: rgba(255, 255, 255, 0.02) !important;
148
- 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);
149
180
  }
150
181
 
151
182
  .topbar .chip:hover,
152
183
  .topbar .tb-tab:hover,
153
184
  .topbar .plugin-topbar-item:hover {
154
- border-color: rgba(0, 245, 212, 0.35) !important;
155
- background: rgba(0, 245, 212, 0.07) !important;
156
- 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);
157
188
  transform: translateY(-1px);
158
189
  }
159
190
 
@@ -169,124 +200,124 @@ body,
169
200
  /* ---------------- 3. 悬浮指挥中岛 (Floating Command Dock) ---------------- */
170
201
  /* 彻底打破贴底通栏传统,将输入框重构为居中浮空战术控制台 */
171
202
  .inputbar {
172
- background: transparent !important;
203
+ background: transparent;
173
204
  /* 上内边距走 --composer-pad-top(消息区的负 margin 按同一个值算),
174
205
  这个主题只是把下留白加大。 */
175
- padding: var(--composer-pad-top) var(--chat-inset) 28px !important;
176
- position: relative !important;
177
- z-index: 30 !important;
178
- 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;
179
210
  }
180
211
 
181
212
  .inputbox {
182
- background: rgba(10, 12, 20, 0.84) !important;
183
- backdrop-filter: blur(36px) saturate(220%) !important;
184
- -webkit-backdrop-filter: blur(36px) saturate(220%) !important;
185
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
186
- border-radius: 22px !important;
187
- 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;
188
219
  box-shadow:
189
220
  0 28px 70px -12px rgba(0, 0, 0, 0.85),
190
221
  0 0 0 1px rgba(255, 255, 255, 0.04),
191
- inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
222
+ inset 0 1px 0 rgba(255, 255, 255, 0.16);
192
223
  transition:
193
224
  border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
194
225
  box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
195
- transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
226
+ transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
196
227
  }
197
228
 
198
229
  .inputbox:focus-within {
199
- border-color: rgba(0, 245, 212, 0.5) !important;
230
+ border-color: rgba(0, 245, 212, 0.5);
200
231
  box-shadow:
201
232
  0 36px 85px -12px rgba(0, 0, 0, 0.95),
202
233
  0 0 35px rgba(0, 245, 212, 0.24),
203
- inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
234
+ inset 0 1px 0 rgba(255, 255, 255, 0.28);
204
235
  transform: translateY(-3px);
205
236
  }
206
237
 
207
238
  .composer-textarea {
208
- font-size: 14.5px !important;
209
- line-height: 1.65 !important;
239
+ font-size: 14.5px;
240
+ line-height: 1.65;
210
241
  }
211
242
 
212
243
  /* 发送按键高阶能量发光体 */
213
244
  .btn-send {
214
- background: linear-gradient(135deg, #00f5d4 0%, #05d5b9 100%) !important;
215
- color: #040507 !important;
216
- font-weight: 700 !important;
217
- border-radius: 12px !important;
218
- box-shadow: 0 4px 16px rgba(0, 245, 212, 0.35) !important;
219
- 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);
220
251
  }
221
252
 
222
253
  .btn-send:hover {
223
254
  transform: scale(1.05) translateY(-1px);
224
- box-shadow: 0 6px 24px rgba(0, 245, 212, 0.6) !important;
255
+ box-shadow: 0 6px 24px rgba(0, 245, 212, 0.6);
225
256
  }
226
257
 
227
258
  /* ---------------- 4. 任务目标工单化 (Mission Objective Directives) ---------------- */
228
259
  /* 颠覆微信式右侧聊天气泡:用户提问直接升级为任务工程指令卡片 */
229
260
  .msg-user {
230
- margin-top: 28px !important;
231
- margin-bottom: 28px !important;
232
- max-width: 100% !important;
261
+ margin-top: 28px;
262
+ margin-bottom: 28px;
263
+ max-width: 100%;
233
264
  }
234
265
 
235
266
  .msg-user .msg-meta {
236
- display: flex !important;
237
- align-items: center !important;
238
- gap: 8px !important;
239
- margin-bottom: 8px !important;
267
+ display: flex;
268
+ align-items: center;
269
+ gap: 8px;
270
+ margin-bottom: 8px;
240
271
  }
241
272
 
242
273
  .msg-user .msg-role::before {
243
- content: "MISSION DIRECTIVE // " !important;
244
- font-family: var(--mono) !important;
245
- font-size: 10px !important;
246
- letter-spacing: 0.15em !important;
247
- font-weight: 700 !important;
248
- 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);
249
280
  opacity: 0.9;
250
281
  }
251
282
 
252
283
  .msg-user .msg-body {
253
- position: relative !important;
254
- background: linear-gradient(145deg, rgba(16, 20, 32, 0.9) 0%, rgba(9, 11, 19, 0.9) 100%) !important;
255
- border: 1px solid rgba(0, 245, 212, 0.24) !important;
256
- border-left: 4px solid var(--accent) !important;
257
- border-radius: 14px !important;
258
- 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;
259
290
  box-shadow:
260
291
  0 14px 36px -6px rgba(0, 0, 0, 0.55),
261
292
  0 0 28px rgba(0, 245, 212, 0.06),
262
- inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
263
- backdrop-filter: blur(18px) !important;
264
- -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);
265
296
  }
266
297
 
267
298
  /* ---------------- 5. 神经主导线与自动化流水线 (Execution Neural Spine) ---------------- */
268
299
  /* 为 Agent 回复构建统一的垂直神经脉络导轨,将零散的 toolcall 串联为高科技流水线 */
269
300
  .msg-assistant .msg-body {
270
- position: relative !important;
271
- padding-left: 20px !important;
272
- border-left: 2px solid rgba(0, 245, 212, 0.2) !important;
273
- 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;
274
305
  }
275
306
 
276
307
  /* 工具调用节点微芯片化 */
277
308
  .toolcall {
278
- position: relative !important;
279
- border-radius: 10px !important;
280
- border: 1px solid rgba(255, 255, 255, 0.08) !important;
281
- background: rgba(9, 11, 18, 0.72) !important;
282
- backdrop-filter: blur(14px) !important;
283
- -webkit-backdrop-filter: blur(14px) !important;
284
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
285
- 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;
286
317
  transition:
287
318
  border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
288
319
  box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
289
- transform 0.15s ease !important;
320
+ transform 0.15s ease;
290
321
  }
291
322
 
292
323
  /* 钉在神经导轨上的微型量子状态芯片引脚 */
@@ -306,29 +337,29 @@ body,
306
337
  }
307
338
 
308
339
  .toolcall:hover {
309
- border-color: rgba(255, 255, 255, 0.2) !important;
340
+ border-color: rgba(255, 255, 255, 0.2);
310
341
  transform: translateX(2px);
311
342
  }
312
343
 
313
344
  .toolcall-head {
314
- padding: 6px 14px !important;
315
- font-family: var(--mono) !important;
316
- font-size: 13px !important;
345
+ padding: 6px 14px;
346
+ font-family: var(--mono);
347
+ font-size: 13px;
317
348
  }
318
349
 
319
350
  .toolcall-name {
320
- color: #00f5d4 !important;
321
- font-weight: 600 !important;
322
- letter-spacing: 0.04em !important;
351
+ color: #00f5d4;
352
+ font-weight: 600;
353
+ letter-spacing: 0.04em;
323
354
  }
324
355
 
325
356
  /* 运行态量子发光流水线 */
326
357
  .toolcall.run {
327
- border-color: rgba(0, 245, 212, 0.55) !important;
358
+ border-color: rgba(0, 245, 212, 0.55);
328
359
  box-shadow:
329
360
  0 0 24px rgba(0, 245, 212, 0.16),
330
- inset 0 0 16px rgba(0, 245, 212, 0.06) !important;
331
- 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;
332
363
  }
333
364
 
334
365
  .msg-assistant .toolcall.run::before {
@@ -351,7 +382,7 @@ body,
351
382
  }
352
383
 
353
384
  .toolcall.ok {
354
- border-color: rgba(16, 185, 129, 0.35) !important;
385
+ border-color: rgba(16, 185, 129, 0.35);
355
386
  }
356
387
 
357
388
  .msg-assistant .toolcall.ok::before {
@@ -361,13 +392,13 @@ body,
361
392
  }
362
393
 
363
394
  .toolcall.ok .toolcall-status {
364
- color: #10b981 !important;
395
+ color: #10b981;
365
396
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
366
397
  }
367
398
 
368
399
  .toolcall.err {
369
- border-color: rgba(255, 74, 110, 0.5) !important;
370
- 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);
371
402
  }
372
403
 
373
404
  .msg-assistant .toolcall.err::before {
@@ -377,67 +408,181 @@ body,
377
408
  }
378
409
 
379
410
  .toolcall.err .toolcall-status {
380
- color: #ff4a6e !important;
411
+ color: #ff4a6e;
381
412
  text-shadow: 0 0 10px rgba(255, 74, 110, 0.65);
382
413
  }
383
414
 
384
415
  /* ---------------- 6. 神经思维链暗舱 (Neural Synapse Vault) ---------------- */
385
416
  .thinking {
386
- position: relative !important;
387
- border-radius: 12px !important;
388
- border: 1px dashed rgba(99, 102, 241, 0.35) !important;
389
- background: rgba(8, 10, 16, 0.65) !important;
390
- backdrop-filter: blur(14px) !important;
391
- -webkit-backdrop-filter: blur(14px) !important;
392
- margin: 12px 0 !important;
393
- 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;
394
425
  }
395
426
 
396
427
  .thinking:hover {
397
- border-color: rgba(99, 102, 241, 0.55) !important;
428
+ border-color: rgba(99, 102, 241, 0.55);
398
429
  }
399
430
 
400
431
  .thinking-head {
401
- font-family: var(--mono) !important;
402
- font-size: 12.5px !important;
403
- letter-spacing: 0.05em !important;
404
- color: #818cf8 !important;
432
+ font-family: var(--mono);
433
+ font-size: 12.5px;
434
+ letter-spacing: 0.05em;
435
+ color: #818cf8;
405
436
  }
406
437
 
407
438
  /* ---------------- 7. 工件画布与代码沉浸舱 (Artifact Canvas) ---------------- */
408
439
  /* 将代码产出物提升为主画布核心工件视觉 */
409
440
  .codeblock {
410
- border-radius: 12px !important;
411
- border: 1px solid rgba(255, 255, 255, 0.09) !important;
412
- background: #06070c !important;
441
+ border-radius: 12px;
442
+ border: 1px solid rgba(255, 255, 255, 0.09);
443
+ background: #06070c;
413
444
  box-shadow:
414
445
  0 10px 30px -4px rgba(0, 0, 0, 0.65),
415
- inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
416
- overflow: hidden !important;
417
- margin: 14px 0 !important;
446
+ inset 0 1px 0 rgba(255, 255, 255, 0.08);
447
+ overflow: hidden;
448
+ margin: 14px 0;
418
449
  }
419
450
 
420
451
  .codeblock-head {
421
- background: rgba(255, 255, 255, 0.035) !important;
422
- border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
423
- font-family: var(--mono) !important;
424
- font-size: 12px !important;
425
- 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;
426
457
  }
427
458
 
428
459
  .codeblock pre {
429
- background: #06070c !important;
460
+ background: #06070c;
430
461
  }
431
462
 
432
463
  /* ---------------- 8. 遥测指示底栏 (Avionics Statusbar) ---------------- */
433
464
  .statusbar {
434
- background: rgba(4, 5, 7, 0.75) !important;
435
- backdrop-filter: blur(24px) !important;
436
- -webkit-backdrop-filter: blur(24px) !important;
437
- border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
438
- font-family: var(--mono) !important;
439
- font-size: 11.5px !important;
440
- 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;
472
+ }
473
+
474
+ /* 底部状态栏按钮同步极简行文(基线方案 C 纯平流):按钮只走基线形态 */
475
+ .statusbar .bar-item,
476
+ .statusbar .bar-item.chip,
477
+ .statusbar .chip {
478
+ height: 18px;
479
+ min-height: 18px;
480
+ padding: 0 4px;
481
+ font-size: 11px;
482
+ line-height: 18px;
483
+ gap: 3px;
484
+ color: var(--text-dim);
485
+ background: transparent;
486
+ border: 1px solid transparent;
487
+ border-radius: 2px;
488
+ box-shadow: none;
489
+ opacity: 1;
490
+ filter: none;
491
+ text-shadow: none;
492
+ cursor: pointer;
493
+ transform: none;
494
+ letter-spacing: normal;
495
+ }
496
+ .statusbar .bar-item:hover,
497
+ .statusbar .bar-item.chip:hover,
498
+ .statusbar .chip:hover {
499
+ background: var(--glow-12);
500
+ color: var(--text);
501
+ border-color: transparent;
502
+ border-radius: 2px;
503
+ box-shadow: none;
504
+ opacity: 1;
505
+ filter: none;
506
+ text-shadow: none;
507
+ transform: none;
508
+ }
509
+ .statusbar .bar-item.active,
510
+ .statusbar .bar-item.chip.active,
511
+ .statusbar .chip.active {
512
+ background: var(--bg-elev2);
513
+ color: var(--text);
514
+ }
515
+ .statusbar .bar-item-text {
516
+ font-size: 11px;
517
+ line-height: 1.2;
518
+ color: inherit;
519
+ opacity: 1;
520
+ text-shadow: none;
521
+ }
522
+ .statusbar .bar-item-char {
523
+ font-size: 11px;
524
+ line-height: 1;
525
+ font-weight: 600;
526
+ color: var(--text-faint);
527
+ opacity: 0.85;
528
+ text-shadow: none;
529
+ }
530
+ .statusbar .bar-item.status-cost {
531
+ gap: 0;
532
+ }
533
+ .statusbar .bar-item-icon {
534
+ font-size: 11px;
535
+ width: 11px;
536
+ height: 11px;
537
+ min-width: 11px;
538
+ opacity: 0.75;
539
+ color: inherit;
540
+ filter: none;
541
+ text-shadow: none;
542
+ }
543
+ .statusbar .bar-item:hover .bar-item-icon {
544
+ opacity: 1;
545
+ color: inherit;
546
+ filter: none;
547
+ }
548
+ .statusbar .bar-item-icon svg,
549
+ .statusbar .bar-item-glyph {
550
+ width: 11px;
551
+ height: 11px;
552
+ color: inherit;
553
+ stroke: currentColor;
554
+ filter: none;
555
+ text-shadow: none;
556
+ }
557
+ .statusbar .bar-item-badge {
558
+ background: none;
559
+ color: var(--accent);
560
+ font-size: 10px;
561
+ font-weight: 700;
562
+ min-width: 0;
563
+ height: auto;
564
+ padding: 0;
565
+ margin-left: 0;
566
+ border-radius: 0;
567
+ opacity: 1;
568
+ text-shadow: none;
569
+ box-shadow: none;
570
+ }
571
+ .statusbar .engine-picker-btn {
572
+ background: transparent;
573
+ border: 1px solid transparent;
574
+ border-radius: 2px;
575
+ padding: 0 4px;
576
+ color: var(--text-dim);
577
+ box-shadow: none;
578
+ opacity: 1;
579
+ filter: none;
580
+ text-shadow: none;
581
+ }
582
+ .statusbar .engine-picker-btn:hover {
583
+ background: var(--glow-12);
584
+ border-color: transparent;
585
+ color: var(--text);
441
586
  }
442
587
 
443
588
  /* ---------------- 9. 极客悬浮滚动条 (Quiet Cybernetic Scrollbar) ---------------- */