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.
- package/CHANGELOG.md +31 -0
- package/README.md +21 -1
- package/README.zh-CN.md +21 -1
- package/README.zh-TW.md +201 -677
- package/bin/frp-manager.mjs +85 -7
- package/dist/server/agent-formatters.js +10 -6
- package/dist/server/agent-service-daemon.js +29 -11
- package/dist/server/agent-service.js +160 -54
- package/dist/server/attachments.js +140 -37
- package/dist/server/canvas/canvas-agent-tool.js +587 -0
- package/dist/server/canvas/canvas-cards.js +144 -0
- package/dist/server/canvas/canvas-dispatch.js +155 -0
- package/dist/server/canvas/canvas-orchestrator.js +1027 -0
- package/dist/server/canvas/canvas-store.js +260 -0
- package/dist/server/client-id-utils.js +2 -2
- package/dist/server/client-state.js +24 -0
- package/dist/server/context-budget.js +6 -3
- package/dist/server/dispatch-domain-handlers.js +2 -0
- package/dist/server/dispatch-plugin-handlers.js +1 -0
- package/dist/server/dsh/dsh-agent-service.js +115 -9
- package/dist/server/dsh/dsh-client.js +10 -1
- package/dist/server/dsh/runtime/goal-rpc.mjs +128 -3
- package/dist/server/dsh/runtime/launcher.mjs +59 -5
- package/dist/server/dsh/runtime/runtime-root.mjs +353 -40
- package/dist/server/durable/durable-agent-service.js +3 -0
- package/dist/server/durable/durable-driver.js +1 -1
- package/dist/server/durable/durable-tools.js +4 -1
- package/dist/server/file-transfer-routes.js +8 -2
- package/dist/server/files-service.js +33 -6
- package/dist/server/goal-service.js +12 -3
- package/dist/server/index.js +175 -13
- package/dist/server/locales.js +33 -0
- package/dist/server/marker-service.js +10 -14
- package/dist/server/markers/builtins/action.js +5 -6
- package/dist/server/markers/builtins/notify.js +2 -2
- package/dist/server/markers/builtins/rename.js +2 -2
- package/dist/server/markers/marker.js +45 -4
- package/dist/server/markers/registry.js +36 -1
- package/dist/server/message-window.js +193 -0
- package/dist/server/model-admin.js +0 -4
- package/dist/server/office-parse.js +394 -7
- package/dist/server/plugin-api-catalog.js +6 -0
- package/dist/server/plugin-catalog-sync.js +10 -2
- package/dist/server/plugin-catalog.js +63 -10
- package/dist/server/plugins.js +144 -26
- package/dist/server/preset-fields.js +35 -1
- package/dist/server/preset-share.js +5 -3
- package/dist/server/process-utils.js +58 -24
- package/dist/server/prompt-assembler.js +7 -1
- package/dist/server/prompt-composer.js +66 -36
- package/dist/server/protocol-version.js +1 -1
- package/dist/server/remote-ssh-service.js +16 -4
- package/dist/server/settings-service.js +24 -3
- package/dist/server/slash-commands.js +16 -4
- package/dist/server/text-sniff.js +10 -7
- package/dist/server/themes.js +36 -1
- package/dist/server/tool-manager.js +30 -0
- package/dist/server/univer-service.js +448 -0
- package/dist/server/universal/drivers/claude-code.js +19 -2
- package/dist/server/universal/drivers/dsh-driver.js +1 -1
- package/dist/server/universal/universal-attachments.js +5 -0
- package/dist/server/universal/universal-service.js +5 -0
- package/dist/server/universal/universal-session.js +38 -15
- package/dist/server/update-check.js +90 -5
- package/dist/server/workspace-snapshot.js +33 -2
- package/dist/server/worktree-service.js +1 -1
- package/docs/dsh-engine.md +497 -0
- package/package.json +11 -5
- package/plugin-sdk/index.d.ts +37 -0
- package/plugin-sdk/index.mjs +19 -0
- package/plugins/catalog.json +44 -2
- package/themes/aetheris.css +263 -118
- package/themes/bases/flow-base.css +1363 -0
- package/themes/bases/obsidian-base.css +895 -0
- package/themes/bases/zhujian-base.css +687 -0
- package/themes/bases/zhupi-base.css +659 -0
- package/themes/flow-light.css +2 -925
- package/themes/flow.css +1 -936
- package/themes/md-preview.css +113 -0
- package/themes/wallpaper-flow.css +251 -1029
- package/themes/wallpaper-obsidian.css +1 -673
- package/themes/zhujian-dark.css +1 -605
- package/themes/zhujian.css +1 -654
- package/themes/zhupi-dark.css +1 -576
- package/themes/zhupi.css +1 -626
- package/web/dist/assets/{TerminalPanel-BD3a9o-a.js → TerminalPanel-BiUNySMA.js} +2 -2
- package/web/dist/assets/index-B0ajS__T.js +697 -0
- package/web/dist/assets/index-BHik5WGG.css +1 -0
- package/web/dist/assets/{markdown-DXwnfD9T.js → markdown-BJZlfvdP.js} +24 -24
- package/web/dist/assets/markdown-DSNUiDzp.css +1 -0
- package/web/dist/index.html +4 -4
- package/web/dist/sw.js +1 -1
- package/web/dist/assets/es-DIDZppIF.js +0 -2
- package/web/dist/assets/index-AccytlpP.css +0 -1
- package/web/dist/assets/index-B3dar1BK.js +0 -690
- package/web/dist/assets/markdown-CCeVCbci.css +0 -1
package/themes/zhupi-dark.css
CHANGED
|
@@ -111,579 +111,4 @@
|
|
|
111
111
|
--menu-bg: #2a2a2a;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
朱批·夜 · Vermilion Night
|
|
116
|
-
「朱批」的暖墨夜用版:同一套稿纸排版语言(无气泡 / 台账行 / ※脚注 /
|
|
117
|
-
命令栏),色板换成深暖墨底 + 纸色文字,朱红提亮保对比。
|
|
118
|
-
========================================================================= */
|
|
119
|
-
|
|
120
|
-
/* ---- 0. 夜纸底色:墨面的天头微光与角落沉暗 ---- */
|
|
121
|
-
body,
|
|
122
|
-
.app-root {
|
|
123
|
-
background-color: var(--bg);
|
|
124
|
-
background-image:
|
|
125
|
-
radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%),
|
|
126
|
-
radial-gradient(ellipse 100% 70% at 108% 112%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
|
|
127
|
-
background-attachment: fixed;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
::selection {
|
|
131
|
-
background: rgba(224, 90, 53, 0.32);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/* ---- 1. 顶栏隐形化:无底色层次,只一条 hairline,印章品牌 ---- */
|
|
135
|
-
.topbar {
|
|
136
|
-
background: var(--topbar-bg) !important;
|
|
137
|
-
border-bottom: 1px solid var(--border-soft) !important;
|
|
138
|
-
box-shadow: none !important;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.brand-name {
|
|
142
|
-
font-family: var(--serif);
|
|
143
|
-
font-weight: 700;
|
|
144
|
-
letter-spacing: 0.06em;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/* 顶栏控件全部素色化:无底无框,hover 才现 hairline。兜底所有 button /
|
|
148
|
-
* [role=button]——不管类名是谁(基线 chip / 插件注入 / capsule 等),顶栏里
|
|
149
|
-
* 一律裸图标,dropdown 触发器不许再带盒子。 */
|
|
150
|
-
.topbar button,
|
|
151
|
-
.topbar [role="button"],
|
|
152
|
-
.topbar a.chip,
|
|
153
|
-
.topbar .chip {
|
|
154
|
-
background: transparent !important;
|
|
155
|
-
border: 1px solid transparent !important;
|
|
156
|
-
border-radius: 3px !important;
|
|
157
|
-
box-shadow: none !important;
|
|
158
|
-
transition:
|
|
159
|
-
border-color 0.15s ease,
|
|
160
|
-
color 0.15s ease !important;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.topbar button:hover,
|
|
164
|
-
.topbar [role="button"]:hover,
|
|
165
|
-
.topbar a.chip:hover,
|
|
166
|
-
.topbar .chip:hover {
|
|
167
|
-
border-color: var(--border) !important;
|
|
168
|
-
background: transparent !important;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.topbar .dropdown {
|
|
172
|
-
background: transparent !important;
|
|
173
|
-
border: none !important;
|
|
174
|
-
box-shadow: none !important;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/* ---- 2. 消息区:文档化排版 ----
|
|
178
|
-
* 消息区左右边缘与输入框/快捷短语行保持一致严丝合缝对齐(继承基线列几何)。 */
|
|
179
|
-
|
|
180
|
-
.msg {
|
|
181
|
-
position: relative;
|
|
182
|
-
padding: 2px 0 10px;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.msg-user {
|
|
186
|
-
padding-bottom: 2px !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.msg-user .msg-actions {
|
|
190
|
-
margin-top: 2px !important;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.msg-user + .msg-assistant {
|
|
194
|
-
padding-top: 2px !important;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.msg-user + .msg-assistant .msg-body > :first-child {
|
|
198
|
-
margin-top: 2px !important;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/* 操作按钮:卡头只有自己的复制键(.chead-copy),消息级按钮(复制三件套 /
|
|
202
|
-
分叉 / 回滚 / 朗读)统一在底部 .msg-actions 行,流内排在消息气泡/正文下边,
|
|
203
|
-
桌面端与手机端保持一致。 */
|
|
204
|
-
|
|
205
|
-
/* 角色行:书目式小标 */
|
|
206
|
-
.msg-meta {
|
|
207
|
-
margin-bottom: 4px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/* head 行左右内边距归零:折叠三角贴齐列左缘(文字同一条线),右侧复制
|
|
211
|
-
* 按钮贴右缘——head 无边框后,钮与缘之间不能悬空。三角形 28px 盒内 16px
|
|
212
|
-
* 图标居中内缩 6px,用负外边距做光学对齐。 */
|
|
213
|
-
.chead {
|
|
214
|
-
padding-left: 0;
|
|
215
|
-
padding-right: 0;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.chead-toggle {
|
|
219
|
-
margin-left: -6px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/* 正文块上的单一复制键去重:卡头现在只有自己的复制键,消息级复制
|
|
223
|
-
(纯文本 / Markdown / 长图三件套)统一在底部 .msg-actions 行里。 */
|
|
224
|
-
.msg-text-copy {
|
|
225
|
-
display: none !important;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/* head 悬浮不再出现底色块:纸面保持完全平整(键盘 focus 的 outline 保留,
|
|
229
|
-
* 只服务键盘导航) */
|
|
230
|
-
div.chead[role="button"]:hover,
|
|
231
|
-
.chead-toggle:hover {
|
|
232
|
-
background: transparent !important;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.msg-role {
|
|
236
|
-
font-size: 10.5px;
|
|
237
|
-
font-weight: 600;
|
|
238
|
-
letter-spacing: 0.18em;
|
|
239
|
-
color: var(--text-faint);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.msg-time {
|
|
243
|
-
font-family: var(--mono);
|
|
244
|
-
font-size: 10.5px;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* ---- 3. 用户输入:去气泡,「起手式,夜纸批注体 ---- */
|
|
248
|
-
.msg-user .msg-body {
|
|
249
|
-
position: relative;
|
|
250
|
-
background: transparent !important;
|
|
251
|
-
border: none !important;
|
|
252
|
-
border-radius: 0 !important;
|
|
253
|
-
padding: 0 0 0 1.5em !important;
|
|
254
|
-
font-family: var(--serif);
|
|
255
|
-
font-size: 15.5px;
|
|
256
|
-
font-weight: 600;
|
|
257
|
-
line-height: 1.8;
|
|
258
|
-
color: var(--text);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.msg-user .msg-body::before {
|
|
262
|
-
content: "「";
|
|
263
|
-
position: absolute;
|
|
264
|
-
left: 0;
|
|
265
|
-
top: -0.12em;
|
|
266
|
-
font-family: var(--serif);
|
|
267
|
-
font-size: 1.3em;
|
|
268
|
-
font-weight: 700;
|
|
269
|
-
color: var(--accent);
|
|
270
|
-
line-height: 1;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/* ---- 4. 助手正文:衬线文档体 ---- */
|
|
274
|
-
.msg-assistant .msg-text {
|
|
275
|
-
font-family: var(--serif);
|
|
276
|
-
font-size: 15px;
|
|
277
|
-
line-height: 1.85;
|
|
278
|
-
color: var(--text);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.msg-assistant .msg-text p:first-child {
|
|
282
|
-
margin-top: 0;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.msg-assistant .msg-text h1,
|
|
286
|
-
.msg-assistant .msg-text h2,
|
|
287
|
-
.msg-assistant .msg-text h3,
|
|
288
|
-
.msg-assistant .msg-text h4 {
|
|
289
|
-
font-family: var(--serif);
|
|
290
|
-
font-weight: 700;
|
|
291
|
-
color: var(--md-strong);
|
|
292
|
-
letter-spacing: 0.02em;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.msg-assistant .msg-text blockquote {
|
|
296
|
-
border-left: 2px solid var(--accent-soft);
|
|
297
|
-
font-style: normal;
|
|
298
|
-
color: var(--text-dim);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.msg-assistant .msg-text a {
|
|
302
|
-
color: var(--link);
|
|
303
|
-
text-decoration: underline dotted;
|
|
304
|
-
text-decoration-color: rgba(224, 90, 53, 0.5);
|
|
305
|
-
text-underline-offset: 3px;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.msg-assistant .msg-text hr {
|
|
309
|
-
border: none;
|
|
310
|
-
border-top: 1px dotted var(--border);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.msg-assistant .msg-text code {
|
|
314
|
-
background: #2a2a2a;
|
|
315
|
-
color: #e5957a;
|
|
316
|
-
border-radius: 2px;
|
|
317
|
-
padding: 1px 5px;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/* ---- 5. 工具调用 = 台账行:无框无底,点线引导符填空 ---- */
|
|
321
|
-
.toolcall {
|
|
322
|
-
margin: 1px 0 !important;
|
|
323
|
-
border: none !important;
|
|
324
|
-
border-radius: 0 !important;
|
|
325
|
-
background: transparent !important;
|
|
326
|
-
box-shadow: none !important;
|
|
327
|
-
overflow: visible !important;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.toolcall-head {
|
|
331
|
-
display: flex;
|
|
332
|
-
align-items: center;
|
|
333
|
-
min-height: 24px;
|
|
334
|
-
padding: 2px 0;
|
|
335
|
-
font-family: var(--mono);
|
|
336
|
-
font-size: 12px;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.toolcall-name {
|
|
340
|
-
font-family: var(--mono) !important;
|
|
341
|
-
font-weight: 500 !important;
|
|
342
|
-
font-size: 12px !important;
|
|
343
|
-
letter-spacing: 0.02em;
|
|
344
|
-
color: var(--text-dim) !important;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/* 点线引导符:账本目录式填空 */
|
|
348
|
-
.toolcall .toolcall-spacer {
|
|
349
|
-
border-bottom: 1px dotted #3f3f3f;
|
|
350
|
-
height: 0.7em;
|
|
351
|
-
margin: 0 10px;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.toolcall-status {
|
|
355
|
-
color: var(--text-faint) !important;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.toolcall.run .toolcall-name {
|
|
359
|
-
color: var(--accent) !important;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.toolcall.run .toolcall-status {
|
|
363
|
-
color: var(--accent) !important;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.toolcall.ok .toolcall-status {
|
|
367
|
-
color: var(--green) !important;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.toolcall.err .toolcall-status {
|
|
371
|
-
color: var(--red) !important;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.toolcall.err .toolcall-name {
|
|
375
|
-
color: var(--red) !important;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/* 展开的参数/输出:并入台账,无框零内边距平面文本(--code-border/--code-pad
|
|
379
|
-
已按全透明主题机制置 transparent/0,连带 .termline 一并生效) */
|
|
380
|
-
.toolcall-args pre,
|
|
381
|
-
.toolcall-output pre {
|
|
382
|
-
background: transparent !important;
|
|
383
|
-
border: none !important;
|
|
384
|
-
border-radius: 0 !important;
|
|
385
|
-
padding: 0 !important;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/* 工具卡体:去掉分隔线与内边距,参数/输出与卡头同距平铺 */
|
|
389
|
-
.toolcall-body {
|
|
390
|
-
border-top: none !important;
|
|
391
|
-
padding: 0 0 6px !important;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/* 卡内重复的终端图标只剩噪音(卡头已有工具图标),参照全透明主题隐藏 */
|
|
395
|
-
.termline-icon {
|
|
396
|
-
display: none;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.toolcall-output-label {
|
|
400
|
-
margin-top: 6px;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.toolcall-kill {
|
|
404
|
-
border-radius: 3px;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/* ---- 6. 思考流 = 脚注:※ 起手,淡墨小字 ---- */
|
|
408
|
-
.thinking {
|
|
409
|
-
margin: 4px 0 !important;
|
|
410
|
-
border: none !important;
|
|
411
|
-
border-radius: 0 !important;
|
|
412
|
-
background: transparent !important;
|
|
413
|
-
box-shadow: none !important;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
.thinking-head {
|
|
417
|
-
font-size: 12px;
|
|
418
|
-
color: var(--text-faint);
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.thinking-body {
|
|
422
|
-
border-top: none !important;
|
|
423
|
-
font-style: normal !important;
|
|
424
|
-
font-size: 12.5px !important;
|
|
425
|
-
color: var(--text-dim) !important;
|
|
426
|
-
background: transparent;
|
|
427
|
-
position: relative;
|
|
428
|
-
padding: 2px 14px 2px 1.6em !important;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.thinking-body::before {
|
|
432
|
-
content: "※";
|
|
433
|
-
position: absolute;
|
|
434
|
-
left: 0;
|
|
435
|
-
top: 2px;
|
|
436
|
-
color: var(--text-faint);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.thinking-live .thinking-toggle,
|
|
440
|
-
.thinking-live-label {
|
|
441
|
-
color: var(--accent) !important;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
/* ---- 7. 折叠摘要行 / 报错:并入台账体系 ---- */
|
|
445
|
-
.msg-collapsed {
|
|
446
|
-
background: transparent !important;
|
|
447
|
-
border: none !important;
|
|
448
|
-
border-bottom: 1px dotted var(--border-soft) !important;
|
|
449
|
-
border-radius: 0 !important;
|
|
450
|
-
box-shadow: none !important;
|
|
451
|
-
padding-left: 0 !important;
|
|
452
|
-
padding-right: 0 !important;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.msg-collapsed-action::before {
|
|
456
|
-
margin-left: 0 !important;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.msg-error {
|
|
460
|
-
background: var(--red-soft) !important;
|
|
461
|
-
border: none !important;
|
|
462
|
-
border-left: 3px solid var(--red) !important;
|
|
463
|
-
border-radius: 0 !important;
|
|
464
|
-
font-family: var(--serif);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
/* ---- 8. 输入区 = 命令栏:与其他主题同构——只动颜色不动几何,
|
|
468
|
-
朱笔以 inset 阴影画在边框内侧,外缘与消息列/chips 恒对齐 ---- */
|
|
469
|
-
.inputbar {
|
|
470
|
-
background: transparent !important;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.inputbox {
|
|
474
|
-
background: var(--inputbox-bg) !important;
|
|
475
|
-
border: none !important;
|
|
476
|
-
border-radius: 3px !important;
|
|
477
|
-
box-shadow: inset 3px 0 0 0 rgba(224, 90, 53, 0.4) !important;
|
|
478
|
-
transition:
|
|
479
|
-
border-color 0.2s ease,
|
|
480
|
-
box-shadow 0.2s ease !important;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.inputbox:focus-within {
|
|
484
|
-
border: none !important;
|
|
485
|
-
box-shadow: inset 3px 0 0 0 var(--accent) !important;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.btn.send {
|
|
489
|
-
background: var(--send-blue) !important;
|
|
490
|
-
color: #131313 !important;
|
|
491
|
-
border-radius: 50% !important;
|
|
492
|
-
box-shadow: none !important;
|
|
493
|
-
font-weight: 600;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.btn.send:hover {
|
|
497
|
-
background: var(--send-blue-hover) !important;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.btn.stop {
|
|
501
|
-
background: var(--stop-red) !important;
|
|
502
|
-
color: #131313 !important;
|
|
503
|
-
border-radius: 50% !important;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/* 输入框底部模型选择、思考强度、预设等按钮:去边框、透明底,hover 现 hairline */
|
|
507
|
-
.composer-tools {
|
|
508
|
-
border-top: none !important;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.composer-tools .chip,
|
|
512
|
-
.composer-tools .capsule-segment {
|
|
513
|
-
font-size: 13px !important;
|
|
514
|
-
padding: 4px 10px !important;
|
|
515
|
-
gap: 6px !important;
|
|
516
|
-
background: transparent !important;
|
|
517
|
-
border: 1px solid transparent !important;
|
|
518
|
-
box-shadow: none !important;
|
|
519
|
-
border-radius: 3px !important;
|
|
520
|
-
transition:
|
|
521
|
-
border-color 0.15s ease,
|
|
522
|
-
background 0.15s ease !important;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.composer-tools .model-thinking-capsule {
|
|
526
|
-
background: transparent !important;
|
|
527
|
-
border: none !important;
|
|
528
|
-
box-shadow: none !important;
|
|
529
|
-
padding: 0 !important;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
.composer-tools .model-thinking-capsule .capsule-divider {
|
|
533
|
-
display: none !important;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.composer-tools .chip:hover,
|
|
537
|
-
.composer-tools .capsule-segment:hover {
|
|
538
|
-
border-color: var(--border) !important;
|
|
539
|
-
background: transparent !important;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.composer-tools-left {
|
|
543
|
-
gap: 6px !important;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.composer-tools .chip-model,
|
|
547
|
-
.composer-tools .chip-sub,
|
|
548
|
-
.composer-tools .capsule-model-name,
|
|
549
|
-
.composer-tools .capsule-thinking-text {
|
|
550
|
-
font-size: 12.5px !important;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/* ---- 9. 底栏 / 状态栏:hairline 收边 ---- */
|
|
554
|
-
.statusbar {
|
|
555
|
-
background: var(--statusbar-bg) !important;
|
|
556
|
-
border-top: 1px solid var(--border-soft) !important;
|
|
557
|
-
box-shadow: none !important;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
.goalbar {
|
|
561
|
-
background: transparent !important;
|
|
562
|
-
border-top: 1px solid var(--border-soft) !important;
|
|
563
|
-
box-shadow: none !important;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/* ---- 10. 左右面板:素纸文件栏 ----
|
|
567
|
-
* 激活态不做红洗(accent-soft 洗在墨底上是一块脏褐),改为中性纸面 7% +
|
|
568
|
-
* 左缘 2px 朱标;圆角统一 8px。 */
|
|
569
|
-
.panel {
|
|
570
|
-
background: var(--panel-bg) !important;
|
|
571
|
-
border-color: var(--border-soft) !important;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
.session-item,
|
|
575
|
-
.project-item,
|
|
576
|
-
.file-item,
|
|
577
|
-
.scm-file {
|
|
578
|
-
border-radius: 8px;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.session-item.active,
|
|
582
|
-
.project-item.active {
|
|
583
|
-
background: rgba(255, 255, 255, 0.07);
|
|
584
|
-
border: none;
|
|
585
|
-
box-shadow: inset 2px 0 0 var(--accent);
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
.session-item.active {
|
|
589
|
-
padding: 8px 10px;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.project-item.active {
|
|
593
|
-
padding: 7px 10px;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/* ---- 11. 代码块:墨面凹版 ---- */
|
|
597
|
-
.codeblock {
|
|
598
|
-
background: var(--code-bg) !important;
|
|
599
|
-
border: 1px solid var(--border-soft) !important;
|
|
600
|
-
border-radius: 3px !important;
|
|
601
|
-
box-shadow: none !important;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.codeblock pre,
|
|
605
|
-
.msg-text pre {
|
|
606
|
-
background: var(--code-bg) !important;
|
|
607
|
-
color: var(--code-text) !important;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/* ---- 11b. 语法高亮去蓝底,转暖墨 ---- */
|
|
611
|
-
.hljs {
|
|
612
|
-
color: #d8d0bd;
|
|
613
|
-
background: transparent !important;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
.hljs-deletion {
|
|
617
|
-
color: #f0a896;
|
|
618
|
-
background: rgba(224, 106, 80, 0.16);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.hljs-addition {
|
|
622
|
-
color: #a8d4a8;
|
|
623
|
-
background: rgba(111, 174, 127, 0.16);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/* ---- 12. 弹层与菜单:实底 + hairline,方角家族 ---- */
|
|
627
|
-
.modal,
|
|
628
|
-
.tool-info-modal,
|
|
629
|
-
.settings-modal,
|
|
630
|
-
.model-modal,
|
|
631
|
-
.tpl-modal,
|
|
632
|
-
.dd-menu,
|
|
633
|
-
.dialog-inline {
|
|
634
|
-
border-radius: 4px !important;
|
|
635
|
-
border: 1px solid var(--border) !important;
|
|
636
|
-
box-shadow:
|
|
637
|
-
0 1px 2px rgba(0, 0, 0, 0.3),
|
|
638
|
-
0 16px 40px -12px rgba(0, 0, 0, 0.55) !important;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.dd-menu {
|
|
642
|
-
background: var(--menu-bg) !important;
|
|
643
|
-
border: 1px solid var(--border) !important;
|
|
644
|
-
border-radius: 4px !important;
|
|
645
|
-
box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6) !important;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
.dd-item:hover,
|
|
649
|
-
.dd-all-item:hover {
|
|
650
|
-
background: var(--accent-soft) !important;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
/* ---- 13. chips / 徽标:账目标签体 ---- */
|
|
654
|
-
.chip {
|
|
655
|
-
background: var(--chip-bg) !important;
|
|
656
|
-
border: 1px solid var(--border-soft) !important;
|
|
657
|
-
border-radius: 2px !important;
|
|
658
|
-
box-shadow: none !important;
|
|
659
|
-
font-family: var(--mono);
|
|
660
|
-
font-size: 11px;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/* ---- 14. 滚动条:细墨线 ---- */
|
|
664
|
-
::-webkit-scrollbar {
|
|
665
|
-
width: 6px;
|
|
666
|
-
height: 6px;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
::-webkit-scrollbar-track {
|
|
670
|
-
background: transparent;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
::-webkit-scrollbar-thumb {
|
|
674
|
-
background: var(--scroll-thumb);
|
|
675
|
-
border-radius: 0;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
::-webkit-scrollbar-thumb:hover {
|
|
679
|
-
background: var(--scroll-thumb-hover);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/* ---- 15. 通知条:hairline 左线式 ---- */
|
|
683
|
-
.notice-err,
|
|
684
|
-
.notice-warn,
|
|
685
|
-
.notice-info {
|
|
686
|
-
border-radius: 0 !important;
|
|
687
|
-
border-width: 1px !important;
|
|
688
|
-
border-left-width: 3px !important;
|
|
689
|
-
}
|
|
114
|
+
@import "./bases/zhupi-base.css";
|