@klarkxy/dsh-font 0.2.2 → 0.2.4
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/README.md +9 -10
- package/docs/README.zh-CN.md +9 -10
- package/lib/client.inner.cjs +386 -165
- package/lib/client.inner.cjs.map +1 -1
- package/lib/client.js +386 -165
- package/lib/contracts.d.ts +34 -10
- package/lib/contracts.js +25 -10
- package/lib/contracts.js.map +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[简体中文](docs/README.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
Customize the interface, conversation, and
|
|
7
|
+
Customize the interface, conversation, code and terminal fonts and font sizes of the DeepSeek Harness Web GUI.
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
@@ -18,21 +18,20 @@ Replace `web` with your profile name, then restart the profile or reload the pag
|
|
|
18
18
|
|
|
19
19
|
## Use
|
|
20
20
|
|
|
21
|
-
Open **
|
|
21
|
+
Open **Settings → Font** — a dedicated section this plugin adds. While it is installed, the native **Font size** row in **Settings → General** is hidden so the same controls live in one place; uninstalling or disabling the plugin brings the native row back.
|
|
22
22
|
|
|
23
|
-
- **Interface font
|
|
24
|
-
- **Conversation font
|
|
25
|
-
- **
|
|
23
|
+
- **Interface font**: pick a preset, type any font name, or click **Load system fonts** to choose from fonts installed on this computer.
|
|
24
|
+
- **Conversation font** and **Font size**: the conversation's own font — **Same as interface font** keeps it following the interface font — and the size of conversation content.
|
|
25
|
+
- **Code font** and **Code font size**: applies to code blocks, inline code, and tool output.
|
|
26
|
+
- **Terminal font** and **Terminal font size**: applies to the sidebar terminal, independent of the code font.
|
|
26
27
|
|
|
27
|
-
Changes apply immediately and stay in sync with DSH settings. Choose **Default** to return to the DSH font; **Reset
|
|
28
|
-
|
|
29
|
-
Code font applies to code blocks and inline code. Terminal font and size are independent; adjust them in **Settings → General**.
|
|
28
|
+
Changes apply immediately and stay in sync with DSH settings — including the desktop Ctrl/⌘± font-size shortcut, which adjusts all three sizes. Choose **Default** to return to the DSH font; **Reset fonts** restores all font choices without touching sizes, and **Reset font sizes** restores all three sizes without touching fonts.
|
|
30
29
|
|
|
31
30
|
## Limits
|
|
32
31
|
|
|
33
32
|
- **Load system fonts** is supported in Chromium-based browsers and asks for permission.
|
|
34
|
-
- The interface
|
|
35
|
-
- The plugin uses fonts already installed on your computer
|
|
33
|
+
- The interface, code and terminal fonts and all sizes are saved by DSH; the conversation font is saved in the current browser. Every computer where you open the GUI needs the chosen fonts installed.
|
|
34
|
+
- The plugin uses fonts already installed on your computer and bundles no font files of its own.
|
|
36
35
|
|
|
37
36
|
## License
|
|
38
37
|
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[English](../README.md)
|
|
6
6
|
|
|
7
|
-
自定义 DeepSeek Harness Web GUI
|
|
7
|
+
自定义 DeepSeek Harness Web GUI 的界面字体、对话字体、代码与终端字体及字号。
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
@@ -18,21 +18,20 @@ dsh plugin --profile web add @klarkxy/dsh-font
|
|
|
18
18
|
|
|
19
19
|
## 使用
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
打开「设置 → 字体」——本插件新增的独立分区。安装期间「设置 → 通用」里的原生「字号大小」一行会被收起,同样的控件集中在这一个页面;卸载或停用插件后,原生行自动恢复。
|
|
22
22
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
23
|
+
- **界面字体**:选预设、手动输入字体名,或点「读取系统字体」从本机已装字体中选择。
|
|
24
|
+
- **对话字体**和**字号大小**:对话区独立的字体(选「跟随界面字体」则沿用界面字体)与会话内容字号。
|
|
25
|
+
- **代码字体**和**代码字号**:作用于代码块、行内代码与工具输出。
|
|
26
|
+
- **终端字体**和**终端字号**:作用于侧栏终端,与代码字体独立。
|
|
26
27
|
|
|
27
|
-
改动立即生效,并与 DSH
|
|
28
|
-
|
|
29
|
-
代码字体作用于代码块和行内代码。终端字体与字号独立设置,请在「设置 → 通用」中调整。
|
|
28
|
+
改动立即生效,并与 DSH 设置保持同步——包括桌面端 Ctrl/⌘± 字号快捷键(同时调整三项字号)。选择「默认」可恢复 DSH 原字体;「恢复默认字体」重置所有字体选择、不影响字号;「恢复默认字号」恢复三项字号默认、不影响字体。
|
|
30
29
|
|
|
31
30
|
## 限制
|
|
32
31
|
|
|
33
32
|
- 「读取系统字体」在 Chromium 系浏览器中可用,首次使用需浏览器授权。
|
|
34
|
-
-
|
|
35
|
-
-
|
|
33
|
+
- 界面、代码、终端字体与全部字号由 DSH 保存;对话字体仅保存在当前浏览器。在不同电脑打开界面时,每台电脑都需安装所选字体。
|
|
34
|
+
- 插件直接使用本机已安装的字体,本身不附带任何字体文件。
|
|
36
35
|
|
|
37
36
|
## 许可证
|
|
38
37
|
|