pi-web-ui 0.114.1 → 0.114.2

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 (117) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +187 -187
  3. package/README.zh-CN.md +227 -227
  4. package/README.zh-TW.md +227 -227
  5. package/bin/device-hub-cli.mjs +577 -577
  6. package/bin/frp-manager.mjs +1573 -1573
  7. package/bin/pi-device-hub.mjs +9 -9
  8. package/bin/pi-web-ui.mjs +4081 -4081
  9. package/deploy/nginx-subpath.conf +100 -100
  10. package/deploy/pi-web-ui.service +36 -36
  11. package/dist/server/agent-service.js +59 -10
  12. package/dist/server/attachments.js +6 -6
  13. package/dist/server/canvas/canvas-orchestrator.js +3 -3
  14. package/dist/server/communicate-tool.js +37 -11
  15. package/dist/server/compaction-instructions.js +8 -8
  16. package/dist/server/device-center/desktop-page.js +228 -228
  17. package/dist/server/device-center/hub-page.js +64 -64
  18. package/dist/server/device-center/native-desktop/macos.js +190 -190
  19. package/dist/server/device-center/native-desktop/windows.js +116 -116
  20. package/dist/server/dsh/runtime/cordis.yml +1 -1
  21. package/dist/server/dsh/runtime/custom-prompt.mjs +33 -33
  22. package/dist/server/dsh/runtime/goal-rpc.mjs +1309 -1309
  23. package/dist/server/dsh/runtime/launcher.mjs +235 -235
  24. package/dist/server/dsh/runtime/override.patch.yml +89 -89
  25. package/dist/server/dsh/runtime/runtime-root.mjs +405 -405
  26. package/dist/server/durable/durable-event-projector.js +19 -3
  27. package/dist/server/durable/durable-models.js +134 -65
  28. package/dist/server/eval-tool.js +135 -135
  29. package/dist/server/model-resolver.js +4 -1
  30. package/dist/server/patch-bash-process.js +89 -89
  31. package/dist/server/patch-tool.js +9 -9
  32. package/dist/server/patch-turn-end-boundary.js +3 -3
  33. package/dist/server/persona-chain.js +8 -8
  34. package/dist/server/remote-ssh-service.js +39 -39
  35. package/dist/server/schedule-agent-tool.js +11 -6
  36. package/dist/server/scheduler-tasks.js +84 -2
  37. package/dist/server/scm-commitmsg.js +10 -10
  38. package/dist/server/setup-page.js +620 -620
  39. package/dist/server/universal/universal-session.js +19 -18
  40. package/dist/server/vision-bridge.js +18 -18
  41. package/docs/device-center.md +148 -148
  42. package/docs/device-desktop.md +48 -48
  43. package/docs/dsh-engine.md +493 -493
  44. package/extensions/webui.ts +335 -335
  45. package/package.json +1 -1
  46. package/plugin-sdk/README.md +174 -174
  47. package/plugin-sdk/client-utils.mjs +279 -279
  48. package/plugin-sdk/import-check.mjs +210 -210
  49. package/plugin-sdk/index.d.ts +698 -698
  50. package/plugin-sdk/index.mjs +696 -696
  51. package/plugin-sdk/package.json +13 -13
  52. package/plugin-sdk/ssh-host-trust.mjs +225 -225
  53. package/themes/aetheris.css +501 -501
  54. package/themes/ayu-light.css +116 -116
  55. package/themes/bases/flow-base.css +1357 -1357
  56. package/themes/bases/obsidian-base.css +895 -895
  57. package/themes/bases/statusbar-flat-base.css +112 -112
  58. package/themes/bases/zhujian-base.css +688 -688
  59. package/themes/bases/zhupi-base.css +660 -660
  60. package/themes/catppuccin-latte.css +119 -119
  61. package/themes/catppuccin.css +116 -116
  62. package/themes/claude-code-dark.css +147 -147
  63. package/themes/codex.css +114 -114
  64. package/themes/cyberpunk.css +50 -50
  65. package/themes/dark-teal.css +264 -264
  66. package/themes/dazzle.css +38 -38
  67. package/themes/everforest-light.css +115 -115
  68. package/themes/flow-light.css +164 -164
  69. package/themes/flow.css +161 -161
  70. package/themes/geist.css +114 -114
  71. package/themes/gruvbox-light.css +115 -115
  72. package/themes/kanagawa-lotus.css +115 -115
  73. package/themes/md-preview.css +24 -24
  74. package/themes/mist.css +166 -166
  75. package/themes/nord.css +107 -107
  76. package/themes/one-dark.css +106 -106
  77. package/themes/paper.css +174 -174
  78. package/themes/rose-pine-dawn.css +114 -114
  79. package/themes/sakura.css +166 -166
  80. package/themes/solarized-light.css +114 -114
  81. package/themes/tokyo-night.css +115 -115
  82. package/themes/translucent.css +85 -85
  83. package/themes/transparent.css +116 -116
  84. package/themes/vs-code-dark.css +147 -147
  85. package/themes/wallpaper-flow.css +382 -382
  86. package/themes/wallpaper-obsidian.css +74 -74
  87. package/themes/white.css +164 -164
  88. package/themes/zhujian-dark.css +115 -115
  89. package/themes/zhujian.css +114 -114
  90. package/themes/zhupi-dark.css +115 -115
  91. package/themes/zhupi.css +114 -114
  92. package/web/dist/.build-assets.json +1 -1
  93. package/web/dist/assets/{BgTasksModal-BcXJ20RO.js → BgTasksModal-BIlQ89vr.js} +1 -1
  94. package/web/dist/assets/{BgTasksModal-DjQmiKnE.js → BgTasksModal-Ck2sjlPM.js} +1 -1
  95. package/web/dist/assets/{CanvasStudio-PI9pid0Y.js → CanvasStudio-B3W6b_rA.js} +1 -1
  96. package/web/dist/assets/{CanvasStudio-nf5-HxLM.js → CanvasStudio-Csv1Sj1-.js} +1 -1
  97. package/web/dist/assets/{DeviceCenter-CYttJw2a.js → DeviceCenter-BQdDcO8A.js} +1 -1
  98. package/web/dist/assets/{DeviceCenter-DPe4sz74.js → DeviceCenter-CHRKL0Vy.js} +1 -1
  99. package/web/dist/assets/{FilePreview-C9Ut4Lq6.js → FilePreview-B9xoU6ON.js} +1 -1
  100. package/web/dist/assets/{FilePreview-CvK3ZzX5.js → FilePreview-DUQpVZkH.js} +1 -1
  101. package/web/dist/assets/{GlobalSearchModal-C5e-OCw2.js → GlobalSearchModal-BXEGvUZq.js} +1 -1
  102. package/web/dist/assets/{GlobalSearchModal-H7pFK2UC.js → GlobalSearchModal-CnVPmfOI.js} +1 -1
  103. package/web/dist/assets/{GroupConversation-C2wNM0dQ.js → GroupConversation-CyIpQzDd.js} +1 -1
  104. package/web/dist/assets/{GroupConversation-ChN3TWQK.js → GroupConversation-DgYV3uYS.js} +1 -1
  105. package/web/dist/assets/{SCMPanel-buTGziDB.js → SCMPanel-imYI2Ecw.js} +1 -1
  106. package/web/dist/assets/{SCMPanel-kx-SCL2s.js → SCMPanel-sVZcV7dR.js} +1 -1
  107. package/web/dist/assets/{SettingsModal-BsUF8jqr.js → SettingsModal-Xw1Yoi3_.js} +1 -1
  108. package/web/dist/assets/{SettingsModal-D357Ky7P.js → SettingsModal-mb4e34-0.js} +1 -1
  109. package/web/dist/assets/{TerminalPanel-BBuM_Sez.js → TerminalPanel-CLkJJvxg.js} +1 -1
  110. package/web/dist/assets/{TerminalPanel-D6x6xz8Q.js → TerminalPanel-DpcIellm.js} +1 -1
  111. package/web/dist/assets/{TuiOverlayModal-CdbGV3Za.js → TuiOverlayModal-4-fFAZe7.js} +1 -1
  112. package/web/dist/assets/{TuiOverlayModal-d6x9u25n.js → TuiOverlayModal-DCu01lks.js} +1 -1
  113. package/web/dist/assets/{index-D6u8xH0o.js → index-Cdh3sibd.js} +4 -4
  114. package/web/dist/assets/{index-BPvpea8t.js → index-DWw_SxRq.js} +4 -4
  115. package/web/dist/index.html +29 -29
  116. package/web/dist/sw.js +179 -179
  117. package/web/public/sw.js +179 -179
@@ -1,501 +1,501 @@
1
- /* theme-name: 以太座舱 */
2
- /* theme-name-en: Aetheris HUD */
3
- /* theme-group: builtin */
4
- @import "./bases/statusbar-flat-base.css";
5
- :root {
6
- color-scheme: dark;
7
- --bg: #040507;
8
- --bg-elev: #0a0c13;
9
- --bg-elev2: #10131d;
10
- --bg-elev3: rgba(255, 255, 255, 0.05);
11
- --border: rgba(255, 255, 255, 0.08);
12
- --border-soft: rgba(255, 255, 255, 0.04);
13
- --text: #f0f3f8;
14
- --text-dim: #8e96aa;
15
- --text-faint: #5a637c;
16
- --accent: #00f5d4;
17
- --accent-contrast: #0a0c13;
18
- --accent-soft: rgba(0, 245, 212, 0.12);
19
- --green: #10b981;
20
- --green-soft: rgba(16, 185, 129, 0.12);
21
- --red: #ff4a6e;
22
- --on-red: #1a1a1a;
23
- --red-soft: rgba(255, 74, 110, 0.12);
24
- --amber: #fbbf24;
25
- --blue: #6c6ff2;
26
- --blue-soft: rgba(99, 102, 241, 0.12);
27
-
28
- /* 终端 ANSI 调色板 */
29
- --term-bg: #040507;
30
- --term-fg: #f0f3f8;
31
- --term-cursor: #00f5d4;
32
- --term-cursor-accent: #040507;
33
- --term-selection: rgba(0, 245, 212, 0.32);
34
- --term-black: #10131d;
35
- --term-red: #ff4a6e;
36
- --term-green: #10b981;
37
- --term-yellow: #fbbf24;
38
- --term-blue: #6366f1;
39
- --term-magenta: #c084fc;
40
- --term-cyan: #00f5d4;
41
- --term-white: #f0f3f8;
42
- --term-bright-black: #525a70;
43
- --term-bright-red: #ff6b8b;
44
- --term-bright-green: #34d399;
45
- --term-bright-yellow: #fde047;
46
- --term-bright-blue: #818cf8;
47
- --term-bright-magenta: #e879f9;
48
- --term-bright-cyan: #5eead4;
49
- --term-bright-white: #ffffff;
50
-
51
- --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
52
- --mermaid-font-size: 12px;
53
- --tooltip-bg: #141722;
54
- --code-bg: #06070c;
55
- --code-text: #e2e8f0;
56
- --code-border: var(--border-soft);
57
- --code-pad: 8px 10px;
58
- --card-body-pad: 4px 14px 12px;
59
- --err-text: #ff859c;
60
- --red-text: #ffa3b4;
61
- --amber-text: #fde68a;
62
- --info-blue: #818cf8;
63
- --link: #00f5d4;
64
- --link-hover: #5eead4;
65
- --link-soft: #99f6e4;
66
- --md-strong: #ffffff;
67
- --skill-blue: #818cf8;
68
- --plugin-purple: #c084fc;
69
- --auth-green: #34d399;
70
- --scroll-thumb: rgba(255, 255, 255, 0.1);
71
- --scroll-thumb-hover: rgba(0, 245, 212, 0.45);
72
- --notice-err-bg: #2d0e16;
73
- --notice-warn-bg: #281a0b;
74
- --notice-info-bg: #11152a;
75
- --notice-err-border: #ff4a6e;
76
- --notice-warn-border: #fbbf24;
77
- --notice-info-border: #6366f1;
78
- --send-blue: #00f5d4;
79
- --on-send-blue: #1a1a1a;
80
- --send-blue-hover: #2dd4bf;
81
- --stop-red: #ff4a6e;
82
- --stop-red-hover: #e11d48;
83
- --brand-grad-a: #00f5d4;
84
- --brand-grad-b: #6366f1;
85
- --on-amber: #1a1a1a;
86
- --search-active-fg: #040507;
87
- --switch-knob: #ffffff;
88
- --sunken-bg: rgba(0, 0, 0, 0.45);
89
- --glow-015: rgba(0, 245, 212, 0.015);
90
- --glow-025: rgba(0, 245, 212, 0.025);
91
- --glow-03: rgba(0, 245, 212, 0.03);
92
- --glow-04: rgba(0, 245, 212, 0.04);
93
- --glow-05: rgba(0, 245, 212, 0.05);
94
- --glow-12: rgba(0, 245, 212, 0.12);
95
- --glow-18: rgba(0, 245, 212, 0.18);
96
- --glow-22: rgba(0, 245, 212, 0.22);
97
- --glow-38: rgba(0, 245, 212, 0.38);
98
- --control-fg: #8e96aa;
99
- --control-bg: #10131d;
100
- --control-border: rgba(255, 255, 255, 0.08);
101
- --bg-image: none;
102
- --bg-image-dim: 0.84;
103
- --bg-image-blur: 0px;
104
- --wallpaper-panel-alpha: 65%;
105
- --topbar-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
106
- --statusbar-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
107
- --panel-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
108
- --card-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
109
- --chip-bg: color-mix(in srgb, var(--bg-elev2) var(--wallpaper-panel-alpha, 65%), transparent);
110
- --msgs-bg: color-mix(in srgb, var(--bg) var(--wallpaper-panel-alpha, 65%), transparent);
111
- --inputbox-bg: color-mix(in srgb, var(--bg-elev2) var(--wallpaper-panel-alpha, 65%), transparent);
112
- --menu-bg: #10131d;
113
- }
114
-
115
- /* =========================================================================
116
- Aetheris HUD — 颠覆性全境空间与交互重塑 (Mission Control Paradigm)
117
- ========================================================================= */
118
-
119
- /* ---------------- 1. 虚空点阵场与空间景深 (Cyber Matrix Backdrop) ---------------- */
120
- body,
121
- .app-root {
122
- background-color: var(--bg);
123
- background-image:
124
- radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
125
- radial-gradient(ellipse 70% 55% at 20% 0%, rgba(0, 245, 212, 0.045) 0%, transparent 70%),
126
- radial-gradient(ellipse 70% 55% at 80% 100%, rgba(99, 102, 241, 0.055) 0%, transparent 70%);
127
- background-size:
128
- 32px 32px,
129
- 100% 100%,
130
- 100% 100%;
131
- background-attachment: fixed;
132
- }
133
-
134
- /* ---------------- 2. 悬浮机载平显顶栏 (Avionics HUD Topbar) ---------------- */
135
- .topbar {
136
- background: rgba(4, 5, 7, 0.6);
137
- backdrop-filter: blur(24px) saturate(180%);
138
- -webkit-backdrop-filter: blur(24px) saturate(180%);
139
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
140
- box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
141
- }
142
-
143
- .topbar .chip,
144
- .topbar .tb-tab,
145
- .topbar .plugin-topbar-item {
146
- border-radius: 8px;
147
- border: 1px solid rgba(255, 255, 255, 0.06);
148
- background: rgba(255, 255, 255, 0.02);
149
- transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
150
- }
151
-
152
- /* 与基线「顶栏归一」契约对齐(分层后的显式复刻):
153
- 基线 `@layer base` 里那三条顶栏归一规则(裸幽灵化常态 / .active 强调底 /
154
- .newchat·.github 圆角组)原本靠优先级补丁与更具体的子选择器压过本主题的芯片底;
155
- 分层后 theme 恒胜,上面那块 HUD 芯片底会盖到它们身上。这里把它们**当时实际
156
- 生效的值**显式写回,与重构前的渲染结果逐像素一致(普通 `.chip` 当时就是本主题
157
- 的灰底,不受影响)。 */
158
- .topbar button.chip,
159
- .topbar .chip.active,
160
- .topbar .tb-tab.active,
161
- .topbar .plugin-topbar-item.active,
162
- .topbar .chip.github,
163
- .topbar .chip.newchat,
164
- .topbar .chip.ephemeral-chat-btn,
165
- .topbar .chip.sandbox-chip {
166
- border-color: transparent;
167
- }
168
-
169
- .topbar button.chip,
170
- .topbar .chip.github,
171
- .topbar .chip.newchat,
172
- .topbar .chip.ephemeral-chat-btn,
173
- .topbar .chip.sandbox-chip {
174
- background: transparent;
175
- }
176
-
177
- .topbar .chip.active,
178
- .topbar .tb-tab.active,
179
- .topbar .plugin-topbar-item.active {
180
- background: var(--accent-soft);
181
- }
182
-
183
- .topbar .chip:hover,
184
- .topbar .tb-tab:hover,
185
- .topbar .plugin-topbar-item:hover {
186
- border-color: rgba(0, 245, 212, 0.35);
187
- background: rgba(0, 245, 212, 0.07);
188
- box-shadow: 0 0 16px rgba(0, 245, 212, 0.12);
189
- transform: translateY(-1px);
190
- }
191
-
192
- .brand-name {
193
- letter-spacing: 0.08em;
194
- text-transform: uppercase;
195
- font-weight: 700;
196
- background: linear-gradient(135deg, #00f5d4 0%, #6366f1 100%);
197
- -webkit-background-clip: text;
198
- -webkit-text-fill-color: transparent;
199
- }
200
-
201
- /* ---------------- 3. 悬浮指挥中岛 (Floating Command Dock) ---------------- */
202
- /* 彻底打破贴底通栏传统,将输入框重构为居中浮空战术控制台 */
203
- .inputbar {
204
- background: transparent;
205
- /* 上内边距走 --composer-pad-top(消息区的负 margin 按同一个值算),
206
- 这个主题只是把下留白加大。 */
207
- padding: var(--composer-pad-top) var(--chat-inset) 28px;
208
- position: relative;
209
- z-index: 30;
210
- border-top: none;
211
- }
212
-
213
- .inputbox {
214
- background: rgba(10, 12, 20, 0.84);
215
- backdrop-filter: blur(36px) saturate(220%);
216
- -webkit-backdrop-filter: blur(36px) saturate(220%);
217
- border: 1px solid rgba(255, 255, 255, 0.1);
218
- border-radius: 22px;
219
- padding: 14px 16px 12px;
220
- box-shadow:
221
- 0 28px 70px -12px rgba(0, 0, 0, 0.85),
222
- 0 0 0 1px rgba(255, 255, 255, 0.04),
223
- inset 0 1px 0 rgba(255, 255, 255, 0.16);
224
- transition:
225
- border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
226
- box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
227
- transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
228
- }
229
-
230
- .inputbox:focus-within {
231
- border-color: rgba(0, 245, 212, 0.5);
232
- box-shadow:
233
- 0 36px 85px -12px rgba(0, 0, 0, 0.95),
234
- 0 0 35px rgba(0, 245, 212, 0.24),
235
- inset 0 1px 0 rgba(255, 255, 255, 0.28);
236
- transform: translateY(-3px);
237
- }
238
-
239
- .composer-textarea {
240
- font-size: 14.5px;
241
- line-height: 1.65;
242
- }
243
-
244
- /* 发送按键高阶能量发光体 */
245
- .btn-send {
246
- background: linear-gradient(135deg, #00f5d4 0%, #05d5b9 100%);
247
- color: #040507;
248
- font-weight: 700;
249
- border-radius: 12px;
250
- box-shadow: 0 4px 16px rgba(0, 245, 212, 0.35);
251
- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
252
- }
253
-
254
- .btn-send:hover {
255
- transform: scale(1.05) translateY(-1px);
256
- box-shadow: 0 6px 24px rgba(0, 245, 212, 0.6);
257
- }
258
-
259
- /* ---------------- 4. 任务目标工单化 (Mission Objective Directives) ---------------- */
260
- /* 颠覆微信式右侧聊天气泡:用户提问直接升级为任务工程指令卡片 */
261
- .msg-user {
262
- margin-top: 28px;
263
- margin-bottom: 28px;
264
- max-width: 100%;
265
- }
266
-
267
- .msg-user .msg-meta {
268
- display: flex;
269
- align-items: center;
270
- gap: 8px;
271
- margin-bottom: 8px;
272
- }
273
-
274
- .msg-user .msg-role::before {
275
- content: "MISSION DIRECTIVE // ";
276
- font-family: var(--mono);
277
- font-size: 10px;
278
- letter-spacing: 0.15em;
279
- font-weight: 700;
280
- color: var(--accent);
281
- opacity: 0.9;
282
- }
283
-
284
- .msg-user .msg-body {
285
- position: relative;
286
- background: linear-gradient(145deg, rgba(16, 20, 32, 0.9) 0%, rgba(9, 11, 19, 0.9) 100%);
287
- border: 1px solid rgba(0, 245, 212, 0.24);
288
- border-left: 4px solid var(--accent);
289
- border-radius: 14px;
290
- padding: 16px 20px;
291
- box-shadow:
292
- 0 14px 36px -6px rgba(0, 0, 0, 0.55),
293
- 0 0 28px rgba(0, 245, 212, 0.06),
294
- inset 0 1px 0 rgba(255, 255, 255, 0.12);
295
- backdrop-filter: blur(18px);
296
- -webkit-backdrop-filter: blur(18px);
297
- }
298
-
299
- /* ---------------- 5. 神经主导线与自动化流水线 (Execution Neural Spine) ---------------- */
300
- /* 为 Agent 回复构建统一的垂直神经脉络导轨,将零散的 toolcall 串联为高科技流水线 */
301
- .msg-assistant .msg-body {
302
- position: relative;
303
- padding-left: 20px;
304
- border-left: 2px solid rgba(0, 245, 212, 0.2);
305
- margin-left: 6px;
306
- }
307
-
308
- /* 工具调用节点微芯片化 */
309
- .toolcall {
310
- position: relative;
311
- border-radius: 10px;
312
- border: 1px solid rgba(255, 255, 255, 0.08);
313
- background: rgba(9, 11, 18, 0.72);
314
- backdrop-filter: blur(14px);
315
- -webkit-backdrop-filter: blur(14px);
316
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
317
- margin: 8px 0;
318
- transition:
319
- border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
320
- box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
321
- transform 0.15s ease;
322
- }
323
-
324
- /* 钉在神经导轨上的微型量子状态芯片引脚 */
325
- .msg-assistant .toolcall::before {
326
- content: "";
327
- position: absolute;
328
- left: -26px;
329
- top: 14px;
330
- width: 10px;
331
- height: 10px;
332
- border-radius: 50%;
333
- background: #040507;
334
- border: 2px solid rgba(255, 255, 255, 0.25);
335
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
336
- transition: all 0.25s ease;
337
- z-index: 2;
338
- }
339
-
340
- .toolcall:hover {
341
- border-color: rgba(255, 255, 255, 0.2);
342
- transform: translateX(2px);
343
- }
344
-
345
- .toolcall-head {
346
- padding: 6px 14px;
347
- font-family: var(--mono);
348
- font-size: 13px;
349
- }
350
-
351
- .toolcall-name {
352
- color: #00f5d4;
353
- font-weight: 600;
354
- letter-spacing: 0.04em;
355
- }
356
-
357
- /* 运行态量子发光流水线 */
358
- .toolcall.run {
359
- border-color: rgba(0, 245, 212, 0.55);
360
- box-shadow:
361
- 0 0 24px rgba(0, 245, 212, 0.16),
362
- inset 0 0 16px rgba(0, 245, 212, 0.06);
363
- animation: aetheris-pulse 2s ease-in-out infinite alternate;
364
- }
365
-
366
- .msg-assistant .toolcall.run::before {
367
- border-color: var(--accent);
368
- background: var(--accent);
369
- box-shadow:
370
- 0 0 12px var(--accent),
371
- 0 0 20px var(--accent);
372
- }
373
-
374
- @keyframes aetheris-pulse {
375
- 0% {
376
- border-color: rgba(0, 245, 212, 0.3);
377
- box-shadow: 0 0 12px rgba(0, 245, 212, 0.08);
378
- }
379
- 100% {
380
- border-color: rgba(0, 245, 212, 0.65);
381
- box-shadow: 0 0 30px rgba(0, 245, 212, 0.25);
382
- }
383
- }
384
-
385
- .toolcall.ok {
386
- border-color: rgba(16, 185, 129, 0.35);
387
- }
388
-
389
- .msg-assistant .toolcall.ok::before {
390
- border-color: #10b981;
391
- background: #10b981;
392
- box-shadow: 0 0 8px #10b981;
393
- }
394
-
395
- .toolcall.ok .toolcall-status {
396
- color: #10b981;
397
- text-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
398
- }
399
-
400
- .toolcall.err {
401
- border-color: rgba(255, 74, 110, 0.5);
402
- box-shadow: 0 0 20px rgba(255, 74, 110, 0.18);
403
- }
404
-
405
- .msg-assistant .toolcall.err::before {
406
- border-color: #ff4a6e;
407
- background: #ff4a6e;
408
- box-shadow: 0 0 10px #ff4a6e;
409
- }
410
-
411
- .toolcall.err .toolcall-status {
412
- color: #ff4a6e;
413
- text-shadow: 0 0 10px rgba(255, 74, 110, 0.65);
414
- }
415
-
416
- /* ---------------- 6. 神经思维链暗舱 (Neural Synapse Vault) ---------------- */
417
- .thinking {
418
- position: relative;
419
- border-radius: 12px;
420
- border: 1px dashed rgba(99, 102, 241, 0.35);
421
- background: rgba(8, 10, 16, 0.65);
422
- backdrop-filter: blur(14px);
423
- -webkit-backdrop-filter: blur(14px);
424
- margin: 12px 0;
425
- transition: border-color 0.25s ease;
426
- }
427
-
428
- .thinking:hover {
429
- border-color: rgba(99, 102, 241, 0.55);
430
- }
431
-
432
- .thinking-head {
433
- font-family: var(--mono);
434
- font-size: 12.5px;
435
- letter-spacing: 0.05em;
436
- color: #818cf8;
437
- }
438
-
439
- /* ---------------- 7. 工件画布与代码沉浸舱 (Artifact Canvas) ---------------- */
440
- /* 将代码产出物提升为主画布核心工件视觉 */
441
- .codeblock {
442
- border-radius: 12px;
443
- border: 1px solid rgba(255, 255, 255, 0.09);
444
- background: #06070c;
445
- box-shadow:
446
- 0 10px 30px -4px rgba(0, 0, 0, 0.65),
447
- inset 0 1px 0 rgba(255, 255, 255, 0.08);
448
- overflow: hidden;
449
- margin: 14px 0;
450
- }
451
-
452
- .codeblock-head {
453
- background: rgba(255, 255, 255, 0.035);
454
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
455
- font-family: var(--mono);
456
- font-size: 12px;
457
- letter-spacing: 0.04em;
458
- }
459
-
460
- .codeblock pre {
461
- background: #06070c;
462
- }
463
-
464
- /* ---------------- 8. 遥测指示底栏 (Avionics Statusbar) ---------------- */
465
- .statusbar {
466
- background: rgba(4, 5, 7, 0.75);
467
- backdrop-filter: blur(24px);
468
- -webkit-backdrop-filter: blur(24px);
469
- border-top: 1px solid rgba(255, 255, 255, 0.06);
470
- font-family: var(--mono);
471
- font-size: 11.5px;
472
- letter-spacing: 0.03em;
473
- }
474
-
475
- /* 底部状态栏按钮同步极简行文(基线方案 C 纯平流):按钮只走基线形态 */
476
- .statusbar .bar-item,
477
- .statusbar .bar-item.chip,
478
- .statusbar .chip {
479
- letter-spacing: normal;
480
- }
481
-
482
- /* ---------------- 9. 极客悬浮滚动条 (Quiet Cybernetic Scrollbar) ---------------- */
483
- ::-webkit-scrollbar {
484
- width: 5px;
485
- height: 5px;
486
- }
487
-
488
- ::-webkit-scrollbar-track {
489
- background: transparent;
490
- }
491
-
492
- ::-webkit-scrollbar-thumb {
493
- background: rgba(255, 255, 255, 0.08);
494
- border-radius: 999px;
495
- transition: background 0.2s ease;
496
- }
497
-
498
- ::-webkit-scrollbar-thumb:hover {
499
- background: rgba(0, 245, 212, 0.5);
500
- box-shadow: 0 0 10px rgba(0, 245, 212, 0.45);
501
- }
1
+ /* theme-name: 以太座舱 */
2
+ /* theme-name-en: Aetheris HUD */
3
+ /* theme-group: builtin */
4
+ @import "./bases/statusbar-flat-base.css";
5
+ :root {
6
+ color-scheme: dark;
7
+ --bg: #040507;
8
+ --bg-elev: #0a0c13;
9
+ --bg-elev2: #10131d;
10
+ --bg-elev3: rgba(255, 255, 255, 0.05);
11
+ --border: rgba(255, 255, 255, 0.08);
12
+ --border-soft: rgba(255, 255, 255, 0.04);
13
+ --text: #f0f3f8;
14
+ --text-dim: #8e96aa;
15
+ --text-faint: #5a637c;
16
+ --accent: #00f5d4;
17
+ --accent-contrast: #0a0c13;
18
+ --accent-soft: rgba(0, 245, 212, 0.12);
19
+ --green: #10b981;
20
+ --green-soft: rgba(16, 185, 129, 0.12);
21
+ --red: #ff4a6e;
22
+ --on-red: #1a1a1a;
23
+ --red-soft: rgba(255, 74, 110, 0.12);
24
+ --amber: #fbbf24;
25
+ --blue: #6c6ff2;
26
+ --blue-soft: rgba(99, 102, 241, 0.12);
27
+
28
+ /* 终端 ANSI 调色板 */
29
+ --term-bg: #040507;
30
+ --term-fg: #f0f3f8;
31
+ --term-cursor: #00f5d4;
32
+ --term-cursor-accent: #040507;
33
+ --term-selection: rgba(0, 245, 212, 0.32);
34
+ --term-black: #10131d;
35
+ --term-red: #ff4a6e;
36
+ --term-green: #10b981;
37
+ --term-yellow: #fbbf24;
38
+ --term-blue: #6366f1;
39
+ --term-magenta: #c084fc;
40
+ --term-cyan: #00f5d4;
41
+ --term-white: #f0f3f8;
42
+ --term-bright-black: #525a70;
43
+ --term-bright-red: #ff6b8b;
44
+ --term-bright-green: #34d399;
45
+ --term-bright-yellow: #fde047;
46
+ --term-bright-blue: #818cf8;
47
+ --term-bright-magenta: #e879f9;
48
+ --term-bright-cyan: #5eead4;
49
+ --term-bright-white: #ffffff;
50
+
51
+ --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
52
+ --mermaid-font-size: 12px;
53
+ --tooltip-bg: #141722;
54
+ --code-bg: #06070c;
55
+ --code-text: #e2e8f0;
56
+ --code-border: var(--border-soft);
57
+ --code-pad: 8px 10px;
58
+ --card-body-pad: 4px 14px 12px;
59
+ --err-text: #ff859c;
60
+ --red-text: #ffa3b4;
61
+ --amber-text: #fde68a;
62
+ --info-blue: #818cf8;
63
+ --link: #00f5d4;
64
+ --link-hover: #5eead4;
65
+ --link-soft: #99f6e4;
66
+ --md-strong: #ffffff;
67
+ --skill-blue: #818cf8;
68
+ --plugin-purple: #c084fc;
69
+ --auth-green: #34d399;
70
+ --scroll-thumb: rgba(255, 255, 255, 0.1);
71
+ --scroll-thumb-hover: rgba(0, 245, 212, 0.45);
72
+ --notice-err-bg: #2d0e16;
73
+ --notice-warn-bg: #281a0b;
74
+ --notice-info-bg: #11152a;
75
+ --notice-err-border: #ff4a6e;
76
+ --notice-warn-border: #fbbf24;
77
+ --notice-info-border: #6366f1;
78
+ --send-blue: #00f5d4;
79
+ --on-send-blue: #1a1a1a;
80
+ --send-blue-hover: #2dd4bf;
81
+ --stop-red: #ff4a6e;
82
+ --stop-red-hover: #e11d48;
83
+ --brand-grad-a: #00f5d4;
84
+ --brand-grad-b: #6366f1;
85
+ --on-amber: #1a1a1a;
86
+ --search-active-fg: #040507;
87
+ --switch-knob: #ffffff;
88
+ --sunken-bg: rgba(0, 0, 0, 0.45);
89
+ --glow-015: rgba(0, 245, 212, 0.015);
90
+ --glow-025: rgba(0, 245, 212, 0.025);
91
+ --glow-03: rgba(0, 245, 212, 0.03);
92
+ --glow-04: rgba(0, 245, 212, 0.04);
93
+ --glow-05: rgba(0, 245, 212, 0.05);
94
+ --glow-12: rgba(0, 245, 212, 0.12);
95
+ --glow-18: rgba(0, 245, 212, 0.18);
96
+ --glow-22: rgba(0, 245, 212, 0.22);
97
+ --glow-38: rgba(0, 245, 212, 0.38);
98
+ --control-fg: #8e96aa;
99
+ --control-bg: #10131d;
100
+ --control-border: rgba(255, 255, 255, 0.08);
101
+ --bg-image: none;
102
+ --bg-image-dim: 0.84;
103
+ --bg-image-blur: 0px;
104
+ --wallpaper-panel-alpha: 65%;
105
+ --topbar-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
106
+ --statusbar-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
107
+ --panel-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
108
+ --card-bg: color-mix(in srgb, var(--bg-elev) var(--wallpaper-panel-alpha, 65%), transparent);
109
+ --chip-bg: color-mix(in srgb, var(--bg-elev2) var(--wallpaper-panel-alpha, 65%), transparent);
110
+ --msgs-bg: color-mix(in srgb, var(--bg) var(--wallpaper-panel-alpha, 65%), transparent);
111
+ --inputbox-bg: color-mix(in srgb, var(--bg-elev2) var(--wallpaper-panel-alpha, 65%), transparent);
112
+ --menu-bg: #10131d;
113
+ }
114
+
115
+ /* =========================================================================
116
+ Aetheris HUD — 颠覆性全境空间与交互重塑 (Mission Control Paradigm)
117
+ ========================================================================= */
118
+
119
+ /* ---------------- 1. 虚空点阵场与空间景深 (Cyber Matrix Backdrop) ---------------- */
120
+ body,
121
+ .app-root {
122
+ background-color: var(--bg);
123
+ background-image:
124
+ radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
125
+ radial-gradient(ellipse 70% 55% at 20% 0%, rgba(0, 245, 212, 0.045) 0%, transparent 70%),
126
+ radial-gradient(ellipse 70% 55% at 80% 100%, rgba(99, 102, 241, 0.055) 0%, transparent 70%);
127
+ background-size:
128
+ 32px 32px,
129
+ 100% 100%,
130
+ 100% 100%;
131
+ background-attachment: fixed;
132
+ }
133
+
134
+ /* ---------------- 2. 悬浮机载平显顶栏 (Avionics HUD Topbar) ---------------- */
135
+ .topbar {
136
+ background: rgba(4, 5, 7, 0.6);
137
+ backdrop-filter: blur(24px) saturate(180%);
138
+ -webkit-backdrop-filter: blur(24px) saturate(180%);
139
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
140
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
141
+ }
142
+
143
+ .topbar .chip,
144
+ .topbar .tb-tab,
145
+ .topbar .plugin-topbar-item {
146
+ border-radius: 8px;
147
+ border: 1px solid rgba(255, 255, 255, 0.06);
148
+ background: rgba(255, 255, 255, 0.02);
149
+ transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
150
+ }
151
+
152
+ /* 与基线「顶栏归一」契约对齐(分层后的显式复刻):
153
+ 基线 `@layer base` 里那三条顶栏归一规则(裸幽灵化常态 / .active 强调底 /
154
+ .newchat·.github 圆角组)原本靠优先级补丁与更具体的子选择器压过本主题的芯片底;
155
+ 分层后 theme 恒胜,上面那块 HUD 芯片底会盖到它们身上。这里把它们**当时实际
156
+ 生效的值**显式写回,与重构前的渲染结果逐像素一致(普通 `.chip` 当时就是本主题
157
+ 的灰底,不受影响)。 */
158
+ .topbar button.chip,
159
+ .topbar .chip.active,
160
+ .topbar .tb-tab.active,
161
+ .topbar .plugin-topbar-item.active,
162
+ .topbar .chip.github,
163
+ .topbar .chip.newchat,
164
+ .topbar .chip.ephemeral-chat-btn,
165
+ .topbar .chip.sandbox-chip {
166
+ border-color: transparent;
167
+ }
168
+
169
+ .topbar button.chip,
170
+ .topbar .chip.github,
171
+ .topbar .chip.newchat,
172
+ .topbar .chip.ephemeral-chat-btn,
173
+ .topbar .chip.sandbox-chip {
174
+ background: transparent;
175
+ }
176
+
177
+ .topbar .chip.active,
178
+ .topbar .tb-tab.active,
179
+ .topbar .plugin-topbar-item.active {
180
+ background: var(--accent-soft);
181
+ }
182
+
183
+ .topbar .chip:hover,
184
+ .topbar .tb-tab:hover,
185
+ .topbar .plugin-topbar-item:hover {
186
+ border-color: rgba(0, 245, 212, 0.35);
187
+ background: rgba(0, 245, 212, 0.07);
188
+ box-shadow: 0 0 16px rgba(0, 245, 212, 0.12);
189
+ transform: translateY(-1px);
190
+ }
191
+
192
+ .brand-name {
193
+ letter-spacing: 0.08em;
194
+ text-transform: uppercase;
195
+ font-weight: 700;
196
+ background: linear-gradient(135deg, #00f5d4 0%, #6366f1 100%);
197
+ -webkit-background-clip: text;
198
+ -webkit-text-fill-color: transparent;
199
+ }
200
+
201
+ /* ---------------- 3. 悬浮指挥中岛 (Floating Command Dock) ---------------- */
202
+ /* 彻底打破贴底通栏传统,将输入框重构为居中浮空战术控制台 */
203
+ .inputbar {
204
+ background: transparent;
205
+ /* 上内边距走 --composer-pad-top(消息区的负 margin 按同一个值算),
206
+ 这个主题只是把下留白加大。 */
207
+ padding: var(--composer-pad-top) var(--chat-inset) 28px;
208
+ position: relative;
209
+ z-index: 30;
210
+ border-top: none;
211
+ }
212
+
213
+ .inputbox {
214
+ background: rgba(10, 12, 20, 0.84);
215
+ backdrop-filter: blur(36px) saturate(220%);
216
+ -webkit-backdrop-filter: blur(36px) saturate(220%);
217
+ border: 1px solid rgba(255, 255, 255, 0.1);
218
+ border-radius: 22px;
219
+ padding: 14px 16px 12px;
220
+ box-shadow:
221
+ 0 28px 70px -12px rgba(0, 0, 0, 0.85),
222
+ 0 0 0 1px rgba(255, 255, 255, 0.04),
223
+ inset 0 1px 0 rgba(255, 255, 255, 0.16);
224
+ transition:
225
+ border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
226
+ box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
227
+ transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
228
+ }
229
+
230
+ .inputbox:focus-within {
231
+ border-color: rgba(0, 245, 212, 0.5);
232
+ box-shadow:
233
+ 0 36px 85px -12px rgba(0, 0, 0, 0.95),
234
+ 0 0 35px rgba(0, 245, 212, 0.24),
235
+ inset 0 1px 0 rgba(255, 255, 255, 0.28);
236
+ transform: translateY(-3px);
237
+ }
238
+
239
+ .composer-textarea {
240
+ font-size: 14.5px;
241
+ line-height: 1.65;
242
+ }
243
+
244
+ /* 发送按键高阶能量发光体 */
245
+ .btn-send {
246
+ background: linear-gradient(135deg, #00f5d4 0%, #05d5b9 100%);
247
+ color: #040507;
248
+ font-weight: 700;
249
+ border-radius: 12px;
250
+ box-shadow: 0 4px 16px rgba(0, 245, 212, 0.35);
251
+ transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
252
+ }
253
+
254
+ .btn-send:hover {
255
+ transform: scale(1.05) translateY(-1px);
256
+ box-shadow: 0 6px 24px rgba(0, 245, 212, 0.6);
257
+ }
258
+
259
+ /* ---------------- 4. 任务目标工单化 (Mission Objective Directives) ---------------- */
260
+ /* 颠覆微信式右侧聊天气泡:用户提问直接升级为任务工程指令卡片 */
261
+ .msg-user {
262
+ margin-top: 28px;
263
+ margin-bottom: 28px;
264
+ max-width: 100%;
265
+ }
266
+
267
+ .msg-user .msg-meta {
268
+ display: flex;
269
+ align-items: center;
270
+ gap: 8px;
271
+ margin-bottom: 8px;
272
+ }
273
+
274
+ .msg-user .msg-role::before {
275
+ content: "MISSION DIRECTIVE // ";
276
+ font-family: var(--mono);
277
+ font-size: 10px;
278
+ letter-spacing: 0.15em;
279
+ font-weight: 700;
280
+ color: var(--accent);
281
+ opacity: 0.9;
282
+ }
283
+
284
+ .msg-user .msg-body {
285
+ position: relative;
286
+ background: linear-gradient(145deg, rgba(16, 20, 32, 0.9) 0%, rgba(9, 11, 19, 0.9) 100%);
287
+ border: 1px solid rgba(0, 245, 212, 0.24);
288
+ border-left: 4px solid var(--accent);
289
+ border-radius: 14px;
290
+ padding: 16px 20px;
291
+ box-shadow:
292
+ 0 14px 36px -6px rgba(0, 0, 0, 0.55),
293
+ 0 0 28px rgba(0, 245, 212, 0.06),
294
+ inset 0 1px 0 rgba(255, 255, 255, 0.12);
295
+ backdrop-filter: blur(18px);
296
+ -webkit-backdrop-filter: blur(18px);
297
+ }
298
+
299
+ /* ---------------- 5. 神经主导线与自动化流水线 (Execution Neural Spine) ---------------- */
300
+ /* 为 Agent 回复构建统一的垂直神经脉络导轨,将零散的 toolcall 串联为高科技流水线 */
301
+ .msg-assistant .msg-body {
302
+ position: relative;
303
+ padding-left: 20px;
304
+ border-left: 2px solid rgba(0, 245, 212, 0.2);
305
+ margin-left: 6px;
306
+ }
307
+
308
+ /* 工具调用节点微芯片化 */
309
+ .toolcall {
310
+ position: relative;
311
+ border-radius: 10px;
312
+ border: 1px solid rgba(255, 255, 255, 0.08);
313
+ background: rgba(9, 11, 18, 0.72);
314
+ backdrop-filter: blur(14px);
315
+ -webkit-backdrop-filter: blur(14px);
316
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
317
+ margin: 8px 0;
318
+ transition:
319
+ border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
320
+ box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
321
+ transform 0.15s ease;
322
+ }
323
+
324
+ /* 钉在神经导轨上的微型量子状态芯片引脚 */
325
+ .msg-assistant .toolcall::before {
326
+ content: "";
327
+ position: absolute;
328
+ left: -26px;
329
+ top: 14px;
330
+ width: 10px;
331
+ height: 10px;
332
+ border-radius: 50%;
333
+ background: #040507;
334
+ border: 2px solid rgba(255, 255, 255, 0.25);
335
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
336
+ transition: all 0.25s ease;
337
+ z-index: 2;
338
+ }
339
+
340
+ .toolcall:hover {
341
+ border-color: rgba(255, 255, 255, 0.2);
342
+ transform: translateX(2px);
343
+ }
344
+
345
+ .toolcall-head {
346
+ padding: 6px 14px;
347
+ font-family: var(--mono);
348
+ font-size: 13px;
349
+ }
350
+
351
+ .toolcall-name {
352
+ color: #00f5d4;
353
+ font-weight: 600;
354
+ letter-spacing: 0.04em;
355
+ }
356
+
357
+ /* 运行态量子发光流水线 */
358
+ .toolcall.run {
359
+ border-color: rgba(0, 245, 212, 0.55);
360
+ box-shadow:
361
+ 0 0 24px rgba(0, 245, 212, 0.16),
362
+ inset 0 0 16px rgba(0, 245, 212, 0.06);
363
+ animation: aetheris-pulse 2s ease-in-out infinite alternate;
364
+ }
365
+
366
+ .msg-assistant .toolcall.run::before {
367
+ border-color: var(--accent);
368
+ background: var(--accent);
369
+ box-shadow:
370
+ 0 0 12px var(--accent),
371
+ 0 0 20px var(--accent);
372
+ }
373
+
374
+ @keyframes aetheris-pulse {
375
+ 0% {
376
+ border-color: rgba(0, 245, 212, 0.3);
377
+ box-shadow: 0 0 12px rgba(0, 245, 212, 0.08);
378
+ }
379
+ 100% {
380
+ border-color: rgba(0, 245, 212, 0.65);
381
+ box-shadow: 0 0 30px rgba(0, 245, 212, 0.25);
382
+ }
383
+ }
384
+
385
+ .toolcall.ok {
386
+ border-color: rgba(16, 185, 129, 0.35);
387
+ }
388
+
389
+ .msg-assistant .toolcall.ok::before {
390
+ border-color: #10b981;
391
+ background: #10b981;
392
+ box-shadow: 0 0 8px #10b981;
393
+ }
394
+
395
+ .toolcall.ok .toolcall-status {
396
+ color: #10b981;
397
+ text-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
398
+ }
399
+
400
+ .toolcall.err {
401
+ border-color: rgba(255, 74, 110, 0.5);
402
+ box-shadow: 0 0 20px rgba(255, 74, 110, 0.18);
403
+ }
404
+
405
+ .msg-assistant .toolcall.err::before {
406
+ border-color: #ff4a6e;
407
+ background: #ff4a6e;
408
+ box-shadow: 0 0 10px #ff4a6e;
409
+ }
410
+
411
+ .toolcall.err .toolcall-status {
412
+ color: #ff4a6e;
413
+ text-shadow: 0 0 10px rgba(255, 74, 110, 0.65);
414
+ }
415
+
416
+ /* ---------------- 6. 神经思维链暗舱 (Neural Synapse Vault) ---------------- */
417
+ .thinking {
418
+ position: relative;
419
+ border-radius: 12px;
420
+ border: 1px dashed rgba(99, 102, 241, 0.35);
421
+ background: rgba(8, 10, 16, 0.65);
422
+ backdrop-filter: blur(14px);
423
+ -webkit-backdrop-filter: blur(14px);
424
+ margin: 12px 0;
425
+ transition: border-color 0.25s ease;
426
+ }
427
+
428
+ .thinking:hover {
429
+ border-color: rgba(99, 102, 241, 0.55);
430
+ }
431
+
432
+ .thinking-head {
433
+ font-family: var(--mono);
434
+ font-size: 12.5px;
435
+ letter-spacing: 0.05em;
436
+ color: #818cf8;
437
+ }
438
+
439
+ /* ---------------- 7. 工件画布与代码沉浸舱 (Artifact Canvas) ---------------- */
440
+ /* 将代码产出物提升为主画布核心工件视觉 */
441
+ .codeblock {
442
+ border-radius: 12px;
443
+ border: 1px solid rgba(255, 255, 255, 0.09);
444
+ background: #06070c;
445
+ box-shadow:
446
+ 0 10px 30px -4px rgba(0, 0, 0, 0.65),
447
+ inset 0 1px 0 rgba(255, 255, 255, 0.08);
448
+ overflow: hidden;
449
+ margin: 14px 0;
450
+ }
451
+
452
+ .codeblock-head {
453
+ background: rgba(255, 255, 255, 0.035);
454
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
455
+ font-family: var(--mono);
456
+ font-size: 12px;
457
+ letter-spacing: 0.04em;
458
+ }
459
+
460
+ .codeblock pre {
461
+ background: #06070c;
462
+ }
463
+
464
+ /* ---------------- 8. 遥测指示底栏 (Avionics Statusbar) ---------------- */
465
+ .statusbar {
466
+ background: rgba(4, 5, 7, 0.75);
467
+ backdrop-filter: blur(24px);
468
+ -webkit-backdrop-filter: blur(24px);
469
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
470
+ font-family: var(--mono);
471
+ font-size: 11.5px;
472
+ letter-spacing: 0.03em;
473
+ }
474
+
475
+ /* 底部状态栏按钮同步极简行文(基线方案 C 纯平流):按钮只走基线形态 */
476
+ .statusbar .bar-item,
477
+ .statusbar .bar-item.chip,
478
+ .statusbar .chip {
479
+ letter-spacing: normal;
480
+ }
481
+
482
+ /* ---------------- 9. 极客悬浮滚动条 (Quiet Cybernetic Scrollbar) ---------------- */
483
+ ::-webkit-scrollbar {
484
+ width: 5px;
485
+ height: 5px;
486
+ }
487
+
488
+ ::-webkit-scrollbar-track {
489
+ background: transparent;
490
+ }
491
+
492
+ ::-webkit-scrollbar-thumb {
493
+ background: rgba(255, 255, 255, 0.08);
494
+ border-radius: 999px;
495
+ transition: background 0.2s ease;
496
+ }
497
+
498
+ ::-webkit-scrollbar-thumb:hover {
499
+ background: rgba(0, 245, 212, 0.5);
500
+ box-shadow: 0 0 10px rgba(0, 245, 212, 0.45);
501
+ }