pi-web-ui 0.105.0 → 0.106.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 (74) hide show
  1. package/CHANGELOG.md +58 -1
  2. package/README.md +193 -797
  3. package/README.zh-CN.md +186 -625
  4. package/README.zh-TW.md +781 -0
  5. package/bin/frp-manager.mjs +1488 -0
  6. package/bin/pi-web-ui.mjs +27 -0
  7. package/deploy/nginx-subpath.conf +16 -1
  8. package/dist/server/agent-service-daemon.js +34 -0
  9. package/dist/server/agent-service.js +227 -44
  10. package/dist/server/claim-files-tool.js +8 -1
  11. package/dist/server/client-state.js +146 -32
  12. package/dist/server/conversation-read-tool.js +12 -4
  13. package/dist/server/delegate-task.js +9 -1
  14. package/dist/server/dispatch-domain-handlers.js +15 -0
  15. package/dist/server/dsh/dsh-agent-service.js +838 -241
  16. package/dist/server/dsh/dsh-client.js +59 -18
  17. package/dist/server/dsh/dsh-market-service.js +233 -0
  18. package/dist/server/dsh/dsh-serialize.js +11 -3
  19. package/dist/server/dsh/dsh-sessions.js +64 -2
  20. package/dist/server/dsh/preset-clones.js +12 -1
  21. package/dist/server/dsh/runtime/goal-rpc.mjs +183 -45
  22. package/dist/server/engine-capabilities.js +72 -0
  23. package/dist/server/engine-probe.js +243 -0
  24. package/dist/server/goal-service.js +23 -12
  25. package/dist/server/i18n.js +20 -1
  26. package/dist/server/index.js +171 -66
  27. package/dist/server/locales.js +1 -0
  28. package/dist/server/mcp-agent-tool.js +10 -7
  29. package/dist/server/mcp-bridge.js +428 -24
  30. package/dist/server/model-admin.js +172 -74
  31. package/dist/server/model-resolver.js +221 -0
  32. package/dist/server/plugin-installer.js +4 -2
  33. package/dist/server/plugins.js +71 -11
  34. package/dist/server/present-files-tool.js +10 -2
  35. package/dist/server/preset-fields.js +14 -0
  36. package/dist/server/preset-share.js +2 -0
  37. package/dist/server/protocol-version.js +1 -1
  38. package/dist/server/schedule-agent-tool.js +2 -1
  39. package/dist/server/scm-commitmsg.js +3 -2
  40. package/dist/server/settings-service.js +10 -2
  41. package/dist/server/skill-discovery.js +161 -0
  42. package/dist/server/skill-tool.js +2 -1
  43. package/dist/server/slash-commands.js +154 -73
  44. package/dist/server/subagent-templates-hant.js +215 -0
  45. package/dist/server/subagent-templates.js +49 -2
  46. package/dist/server/subagents.js +22 -12
  47. package/dist/server/terminals.js +2 -2
  48. package/dist/server/tool-manager.js +3 -0
  49. package/dist/server/universal/driver-base.js +56 -0
  50. package/dist/server/universal/drivers/claude-code.js +462 -0
  51. package/dist/server/universal/drivers/dsh-driver.js +376 -0
  52. package/dist/server/universal/drivers/mock-driver.js +103 -0
  53. package/dist/server/universal/index.js +10 -0
  54. package/dist/server/universal/session-store.js +100 -0
  55. package/dist/server/universal/universal-attachments.js +175 -0
  56. package/dist/server/universal/universal-service.js +149 -0
  57. package/dist/server/universal/universal-session.js +2610 -0
  58. package/dist/server/universal/universal-types.js +4 -0
  59. package/dist/server/update-check.js +4 -1
  60. package/dist/server/worktree-service.js +1 -1
  61. package/dist/server/worktree-tool.js +9 -7
  62. package/package.json +3 -2
  63. package/plugin-sdk/index.d.ts +12 -2
  64. package/plugins/catalog.json +39 -5
  65. package/themes/dark-teal.css +20 -23
  66. package/themes/md-preview.css +1 -2
  67. package/themes/wallpaper-obsidian.css +693 -0
  68. package/web/dist/assets/{TerminalPanel-B9exeXrl.js → TerminalPanel-CfxKLDW9.js} +2 -2
  69. package/web/dist/assets/index-BtcP6BDk.css +1 -0
  70. package/web/dist/assets/index-XVtCzcHR.js +690 -0
  71. package/web/dist/index.html +2 -2
  72. package/web/dist/sw.js +1 -1
  73. package/web/dist/assets/index-BQC6lADz.css +0 -1
  74. package/web/dist/assets/index-D79IKG33.js +0 -690
@@ -0,0 +1,4 @@
1
+ /**
2
+ * universal-types.ts — 通用 Agent 会话与状态类型定义。
3
+ */
4
+ export {};
@@ -579,6 +579,9 @@ export function collectTargets(agentDir, webuiVersion, probePiCore = defaultProb
579
579
  kind: "pi-core",
580
580
  ...(coreVersion ? {} : { error: "pluginupdate.piCore.unknown" }),
581
581
  });
582
+ if (opts?.extraTargets && opts.extraTargets.length > 0) {
583
+ targets.push(...opts.extraTargets);
584
+ }
582
585
  targets.push(...listInstalledPackages(agentDir).filter((pkg) => !isHostProvidedPackage(pkg.name)));
583
586
  targets.push(...listGitExtensions(agentDir, opts?.projectCwd));
584
587
  return targets;
@@ -784,7 +787,7 @@ gitCheck = defaultCheckGitExtension) {
784
787
  * up-to-date ones, errors last. Stable within each bucket (Array.sort is
785
788
  * stable) so registry order survives ties. */
786
789
  export function sortUpdateItems(items) {
787
- const kindRank = (k) => (k === "webui" ? 0 : k === "pi-core" ? 1 : k === "plugin" ? 2 : 3);
790
+ const kindRank = (k) => k === "webui" ? 0 : k === "pi-core" ? 1 : k === "engine" ? 2 : k === "plugin" ? 3 : 4;
788
791
  return [...items].sort((a, b) => {
789
792
  const ka = kindRank(a.kind);
790
793
  const kb = kindRank(b.kind);
@@ -225,7 +225,7 @@ export async function removeWorktree(cwd, targetPathInput, force = false, lang)
225
225
  if (!force) {
226
226
  const { isDirty, count } = await getUncommittedCount(targetPath);
227
227
  if (isDirty) {
228
- throw new Error(pick(l, `工作树「${targetPath}」包含 ${count} 个未提交的文件修改;请先提交或传入 force=true 强制删除`, `Worktree "${targetPath}" has ${count} uncommitted changes; commit them or pass force=true to remove`, "worktree.remove.dirty"));
228
+ throw new Error(pick(l, `工作树「${targetPath}」包含 ${count} 个未提交的文件修改;请先提交或传入 force=true 强制删除`, `Worktree "${targetPath}" has ${count} uncommitted changes; commit them or pass force=true to remove`, "worktree.remove.dirty", { targetPath, count }));
229
229
  }
230
230
  }
231
231
  const args = ["worktree", "remove"];
@@ -69,7 +69,7 @@ export function makeWorktreeTool(host, getLang) {
69
69
  };
70
70
  }
71
71
  const lines = [];
72
- lines.push(pick(lang, `共发现 ${list.length} 个 Git 工作树:`, `Found ${list.length} Git worktree(s):`, "worktree.list.header"));
72
+ lines.push(pick(lang, `共发现 ${list.length} 个 Git 工作树:`, `Found ${list.length} Git worktree(s):`, "worktree.list.header", { n: list.length }));
73
73
  for (const item of list) {
74
74
  const tags = [];
75
75
  if (item.isMain)
@@ -77,10 +77,10 @@ export function makeWorktreeTool(host, getLang) {
77
77
  if (item.isCurrent)
78
78
  tags.push(pick(lang, "当前工作区", "active", "worktree.tag.current"));
79
79
  if (item.isDirty) {
80
- tags.push(pick(lang, `未提交修改: ${item.uncommittedCount ?? 0} 个文件`, `dirty: ${item.uncommittedCount ?? 0} files`, "worktree.tag.dirty"));
80
+ tags.push(pick(lang, `未提交修改: ${item.uncommittedCount ?? 0} 个文件`, `dirty: ${item.uncommittedCount ?? 0} files`, "worktree.tag.dirty", { n: item.uncommittedCount ?? 0 }));
81
81
  }
82
82
  if (item.aheadCount && item.aheadCount > 0) {
83
- tags.push(pick(lang, `领先主分支 ${item.aheadCount} 个提交`, `ahead ${item.aheadCount} commit(s)`, "worktree.tag.ahead"));
83
+ tags.push(pick(lang, `领先主分支 ${item.aheadCount} 个提交`, `ahead ${item.aheadCount} commit(s)`, "worktree.tag.ahead", { n: item.aheadCount }));
84
84
  }
85
85
  const tagStr = tags.length > 0 ? ` [${tags.join(" | ")}]` : "";
86
86
  const branchStr = item.branch ? ` (${item.branch})` : "";
@@ -108,11 +108,13 @@ export function makeWorktreeTool(host, getLang) {
108
108
  const switchedText = params.switchTo
109
109
  ? pick(lang, ",并已切换当前工作区至该目录", ", and switched active workspace to it", "worktree.create.switched")
110
110
  : "";
111
+ const branchSuffixZh = res.branch ? ` (分支: ${res.branch})` : "";
112
+ const branchSuffixEn = res.branch ? ` (branch: ${res.branch})` : "";
111
113
  return {
112
114
  content: [
113
115
  {
114
116
  type: "text",
115
- text: pick(lang, `✅ 成功创建 Git 工作树:${res.path}${res.branch ? ` (分支: ${res.branch})` : ""}${switchedText}`, `✅ Successfully created Git worktree: ${res.path}${res.branch ? ` (branch: ${res.branch})` : ""}${switchedText}`, "worktree.create.success"),
117
+ text: pick(lang, `✅ 成功创建 Git 工作树:${res.path}${branchSuffixZh}${switchedText}`, `✅ Successfully created Git worktree: ${res.path}${branchSuffixEn}${switchedText}`, "worktree.create.success", { path: res.path, branch: res.branch ?? "", switched: switchedText }),
116
118
  },
117
119
  ],
118
120
  details: { path: res.path, branch: res.branch, switched: Boolean(params.switchTo) },
@@ -129,7 +131,7 @@ export function makeWorktreeTool(host, getLang) {
129
131
  content: [
130
132
  {
131
133
  type: "text",
132
- text: pick(lang, `🌿 已将当前工作区切换至 Git 工作树:${target}`, `🌿 Switched active workspace to Git worktree: ${target}`, "worktree.switch.success"),
134
+ text: pick(lang, `🌿 已将当前工作区切换至 Git 工作树:${target}`, `🌿 Switched active workspace to Git worktree: ${target}`, "worktree.switch.success", { target }),
133
135
  },
134
136
  ],
135
137
  details: { path: target },
@@ -146,7 +148,7 @@ export function makeWorktreeTool(host, getLang) {
146
148
  content: [
147
149
  {
148
150
  type: "text",
149
- text: pick(lang, `🗑️ 已安全移除 Git 工作树:${target}`, `🗑️ Successfully removed Git worktree: ${target}`, "worktree.remove.success"),
151
+ text: pick(lang, `🗑️ 已安全移除 Git 工作树:${target}`, `🗑️ Successfully removed Git worktree: ${target}`, "worktree.remove.success", { target }),
150
152
  },
151
153
  ],
152
154
  details: { path: target, removed: true },
@@ -162,7 +164,7 @@ export function makeWorktreeTool(host, getLang) {
162
164
  content: [
163
165
  {
164
166
  type: "text",
165
- text: pick(lang, `❌ 操作 Git 工作树失败:${msg}`, `❌ Worktree operation failed: ${msg}`, "worktree.op.failed"),
167
+ text: pick(lang, `❌ 操作 Git 工作树失败:${msg}`, `❌ Worktree operation failed: ${msg}`, "worktree.op.failed", { msg }),
166
168
  },
167
169
  ],
168
170
  details: { error: msg },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-web-ui",
3
- "version": "0.105.0",
3
+ "version": "0.106.0",
4
4
  "description": "Just open your browser to get all your work done — browser cockpit for AI coding agents (chat, code, files, terminal, Git in one tab)",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -13,7 +13,8 @@
13
13
  "registry": "https://registry.npmjs.org/"
14
14
  },
15
15
  "bin": {
16
- "pi-web-ui": "bin/pi-web-ui.mjs"
16
+ "pi-web-ui": "bin/pi-web-ui.mjs",
17
+ "piwebui": "bin/pi-web-ui.mjs"
17
18
  },
18
19
  "main": "bin/pi-web-ui.mjs",
19
20
  "files": [
@@ -303,8 +303,18 @@ export interface PluginHost {
303
303
  ): void;
304
304
  clear(): void;
305
305
  };
306
- /** 常驻后台任务(顶栏「后台任务」面板;返回 update/unregister)。 */
307
- registerBackgroundTask(task: { id: string; label: string; stop?: () => void; status?: string }): {
306
+ /** 常驻后台任务(顶栏「后台任务」面板;返回 update/unregister)。支持心跳探活回调 check 与间隔 intervalMs。 */
307
+ registerBackgroundTask(task: {
308
+ id: string;
309
+ label: string;
310
+ stop?: () => void;
311
+ status?: string;
312
+ check?: () =>
313
+ boolean | { alive: boolean; status?: string } | Promise<boolean | { alive: boolean; status?: string }>;
314
+ intervalMs?: number;
315
+ maxFailures?: number;
316
+ onDead?: (reason?: string) => void;
317
+ }): {
308
318
  update(next: Partial<{ label: string; status: string; stop: () => void }>): void;
309
319
  unregister(): void;
310
320
  };
@@ -213,11 +213,12 @@
213
213
  },
214
214
  {
215
215
  "id": "image-toolkit",
216
- "name": "image-toolkit",
217
- "icon": "🖼",
218
- "iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"/><circle cx=\"8.5\" cy=\"8.5\" r=\"1.5\"/><polyline points=\"21 15 16 10 5 21\"/></svg>",
219
- "description": "图片处理工作台:压缩(可按目标体积二分逼近)、裁剪、缩放、旋转/翻转、格式转换(PNG/JPEG/WebP/AVIF)、批量导出 ZIP、水印、滤镜调色、图片信息与 EXIF,可直接读写工作区图片;另给 AI 配了 4 个工具,让 agent 自己压缩/裁剪/缩放/加水印工作区里的图。",
220
- "descriptionEn": "Image workbench: compress (with target-size binary search), crop, resize, rotate/flip, format conversion (PNG/JPEG/WebP/AVIF), batch ZIP export, watermark, filters, image info + EXIF, and direct workspace read/write. Ships 4 AI tools so the agent can compress/crop/resize/watermark workspace images itself.",
216
+ "name": "图片工作台",
217
+ "nameEn": "Image Studio & Toolkit",
218
+ "icon": "🎨",
219
+ "iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z\"/><path d=\"M18 15l.9 2.1L21 18l-2.1.9L18 21l-.9-2.1L15 18l2.1-.9z\"/><path d=\"M4.5 19.5l2.5-2.5\"/></svg>",
220
+ "description": "一体化 AI 生图与图像处理工作台:一套配置同时接入通义万相、FLUX、OpenAI、Google Imagen/Gemini、智谱 CogView、火山豆包、Stability 与 ComfyUI 等主流生图服务;集成压缩(目标体积二分逼近)、裁剪、缩放、格式转换、水印、滤镜调色与 EXIF 分析;生图与处理在同一工作台内无缝流转。提供 7 个 AI 工具,让 agent 自己生图、配置供应商、分析并加工工作区图片。",
221
+ "descriptionEn": "All-in-one AI image generation & processing studio: configure DashScope (Wanx), FLUX, OpenAI, Google Imagen/Gemini, Zhipu CogView, Volcengine Seedream, Stability & ComfyUI side by side; compress (with binary search target size), crop, resize, format conversion, watermark, filters & EXIF analysis. Seamlessly flow between generation and editing in one unified workbench. Ships 7 AI tools for generation, provider configuration, analysis, and processing.",
221
222
  "source": "xing-shuyin/pi-web-ui/plugins/image-toolkit",
222
223
  "homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/image-toolkit"
223
224
  },
@@ -326,5 +327,38 @@
326
327
  "descriptionEn": "Persistent local chat archive preserving pre-compaction originals, with branch history, question navigation and a Markdown file viewer. No model calls or native-session edits.",
327
328
  "source": "engharat/pi-web-ui-md-chat",
328
329
  "homepage": "https://github.com/engharat/pi-web-ui-md-chat"
330
+ },
331
+ {
332
+ "id": "wallpaper-engine",
333
+ "name": "动态壁纸",
334
+ "nameEn": "Wallpaper Engine",
335
+ "icon": "🖼️",
336
+ "iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"/><circle cx=\"9\" cy=\"9\" r=\"2\"/><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"/></svg>",
337
+ "description": "动态壁纸:自动扫描本机 Wallpaper Engine 创意工坊壁纸,支持视频壁纸播放、液态毛玻璃磨砂效果与壁纸库抽屉。",
338
+ "descriptionEn": "Wallpaper Engine: scans Steam Workshop, supports video wallpapers, liquid frosted glass effects and a wallpaper library drawer.",
339
+ "source": "xing-shuyin/pi-web-ui/plugins/wallpaper-engine",
340
+ "homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/wallpaper-engine"
341
+ },
342
+ {
343
+ "id": "response-speed",
344
+ "name": "响应速度",
345
+ "nameEn": "Response Speed",
346
+ "icon": "⚡",
347
+ "iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"13 2 3 14 12 14 11 22 21 10 12 10 13 2\"/></svg>",
348
+ "description": "AI 响应速度监控:实时统计并显示当前回答的 AI 首字响应耗时(TTFT,发送请求到首个响应的时间)以及底部状态栏的平均响应速度,支持点击底栏查看统计明细与历史趋势。",
349
+ "descriptionEn": "AI response speed monitoring: real-time tracking of Time to First Token (TTFT) latency for the current response and the average speed in the bottom status bar, with details and history dialog.",
350
+ "source": "xing-shuyin/pi-web-ui/plugins/response-speed",
351
+ "homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/response-speed"
352
+ },
353
+ {
354
+ "id": "browser-use",
355
+ "name": "browser-use",
356
+ "nameEn": "browser-use",
357
+ "icon": "🌐",
358
+ "iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/></svg>",
359
+ "description": "常驻 Chrome 自动化:自动拉起或接管常驻浏览器窗口,支持多标签页切换、精简交互元素快照(极省 Token)、智能点击输入、反爬穿透与状态跨任务持久。",
360
+ "descriptionEn": "Persistent Chrome automation: launches or attaches to a persistent Chrome instance, supports tab management, human-visible element snapshots, smart clicks and inputs, and anti-bot resilience across tasks.",
361
+ "source": "xing-shuyin/pi-web-ui/plugins/browser-use",
362
+ "homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/browser-use"
329
363
  }
330
364
  ]
@@ -12,15 +12,15 @@
12
12
  --text-dim: #a8a8b3;
13
13
  --text-faint: #6e6e7a;
14
14
  --accent: #31ac9d;
15
- --accent-soft: #3A8C8A26;
16
- --green: #2dd4bf;
17
- --green-soft: #4ADE801F;
15
+ --accent-soft: #3a8c8a26;
16
+ --green: #2dd4bf;
17
+ --green-soft: #4ade801f;
18
18
  --amber: #eab380;
19
19
  --term-bg: #0b0b0e;
20
20
  --term-fg: #ededf0;
21
21
  --term-cursor: #2dd4bf;
22
22
  --term-cursor-accent: #0b0b0e;
23
- --term-selection: #2DD4BF47;
23
+ --term-selection: #2dd4bf47;
24
24
  --term-black: #1c1c22;
25
25
  --term-green: #4ade80;
26
26
  --term-cyan: #2dd4bf;
@@ -59,7 +59,7 @@
59
59
  --on-amber: #12121a;
60
60
  --search-active-fg: #0f0f12;
61
61
  --switch-knob: #f5f5f7;
62
- --bg-elev3: #FFFFFF0D;
62
+ --bg-elev3: #ffffff0d;
63
63
  --control-fg: #a8a8b3;
64
64
  --control-bg: #1c1c22;
65
65
  --control-border: #33333d;
@@ -137,11 +137,11 @@
137
137
  }
138
138
  .hljs-addition {
139
139
  color: #86efac;
140
- background: #4ADE8024;
140
+ background: #4ade8024;
141
141
  }
142
142
  .hljs-deletion {
143
143
  color: #fca5a5;
144
- background: #F8717124;
144
+ background: #f8717124;
145
145
  }
146
146
 
147
147
  /* 亮底上的按钮/徽标:内置写死 color:#fff,压亮青只有 1.9:1 → 统一换近黑墨色(只改颜色) */
@@ -172,7 +172,7 @@
172
172
 
173
173
  /* 模板卡悬停阴影 */
174
174
  .empty-template:hover {
175
- box-shadow: 0 8px 22px #5DC7B040;
175
+ box-shadow: 0 8px 22px #5dc7b040;
176
176
  }
177
177
 
178
178
  /* 描边 */
@@ -190,7 +190,7 @@
190
190
  .browser-control-modal .bc-cite,
191
191
  .notice-info,
192
192
  .set-catalog-custom {
193
- border-color: #5DC7B080;
193
+ border-color: #5dc7b080;
194
194
  }
195
195
  .chip.newchat {
196
196
  border-color: var(--accent);
@@ -218,21 +218,20 @@
218
218
  background: var(--accent-soft);
219
219
  }
220
220
  /* 侧栏 Hover */
221
- .lp-section-title:hover {
222
- background: var(--chip-bg);
221
+ .lp-section-header:hover {
222
+ background: var(--chip-bg);
223
223
  }
224
224
 
225
-
226
225
  /* 输入框发送\停止按钮阴影 */
227
226
  .inputbox .btn.send,
228
227
  .inputbox .btn.stop,
229
228
  .inputbox .split-send {
230
- box-shadow: 0px 2px 14px #5dc7b040;
229
+ box-shadow: 0px 2px 14px #5dc7b040;
231
230
  }
232
231
  .inputbox .btn.send:hover:not(:disabled),
233
232
  .inputbox .btn.stop:hover:not(:disabled),
234
233
  .inputbox .split-send:hover {
235
- box-shadow: 0 8px 22px #5dc7b040;
234
+ box-shadow: 0 8px 22px #5dc7b040;
236
235
  }
237
236
 
238
237
  /* 正文 */
@@ -246,21 +245,19 @@ strong {
246
245
  }
247
246
 
248
247
  /* 调整 MD 文件预览样式 */
249
- .fp-markdown :not(pre)>code,
250
- .dialog-inline .md :not(pre)>code {
248
+ .fp-markdown :not(pre) > code,
249
+ .dialog-inline .md :not(pre) > code {
251
250
  color: var(--text);
252
251
  background: #303038;
253
252
  }
254
253
  .fp-markdown blockquote {
255
- border: 1px solid #5CF6D55E;
256
- border-left-width: 4px;
257
- background: #5cd6f612;
254
+ border: 1px solid #5cf6d55e;
255
+ border-left-width: 4px;
256
+ background: #5cd6f612;
258
257
  }
259
258
  .fp-markdown thead {
260
- background: #5cd6f612;
259
+ background: #5cd6f612;
261
260
  }
262
261
  .fp-markdown {
263
- background: radial-gradient(circle at 10% 0%, #5CCBF60D, transparent 34%), #00000038;
262
+ background: radial-gradient(circle at 10% 0%, #5ccbf60d, transparent 34%), #00000038;
264
263
  }
265
-
266
-
@@ -111,8 +111,7 @@
111
111
  body {
112
112
  background:
113
113
  radial-gradient(circle at 10% 0%, rgba(139, 92, 246, 0.14), transparent 38%),
114
- radial-gradient(circle at 88% 100%, rgba(139, 92, 246, 0.07), transparent 44%),
115
- #0a0b10;
114
+ radial-gradient(circle at 88% 100%, rgba(139, 92, 246, 0.07), transparent 44%), #0a0b10;
116
115
  }
117
116
  /* 让渐变直接成为整个窗口的底色:铬件全部透明,只留边框定结构 */
118
117
  .topbar,