Back to home

TableRogue

dsh-fusion-pixel-ui-adapt

让 DeepSeek Harness GUI 适配 Fusion Pixel 像素字体的 UI 排版适配插件

Stars
0
Language
JavaScript
Created
Aug 16, 2026
Updated
Aug 16, 2026

Introduction

dsh-fusion-pixel-ui-adapt

让 DeepSeek Harness Web GUI 适配 Fusion Pixel 像素字体的 UI 适配插件。

用处

  • 关闭次像素抗锯齿、字距归零,让像素字边缘锐利。
  • 全部圆角归零(方形化),与像素风统一。
  • 隐藏左上角品牌标识,并把「收起侧边栏」移到「新建会话」右侧同一行。
  • 全部 --dsw-font-* 排版 token 字号/行高吸附到 12px 像素网格(正文 12/18、标题 24/36),避免非整数倍发虚。

安装(每次启动自动加载)

# 本地 checkout
dsh plugin --profile web add ./dsh-fusion-pixel-ui-adapt

# 或从 GitHub(纯 JS,无构建步骤)
dsh plugin --profile web add github:TableRogue/dsh-fusion-pixel-ui-adapt

需先安装 dsh-fusion-pixel-font(本插件不加载字体,只做排版适配)。安装后自动追加进 profile 的 dsh.profile.bundles,启动 dsh --profile web 即生效。验证 / 卸载:

dsh --profile web --dump-config        # 应看到 # == dsh-fusion-pixel-ui-adapt 层
dsh plugin --profile web remove dsh-fusion-pixel-ui-adapt

临时方式(动态插件,单次进程):把 src/client.js 头注释以下的内容填入 cordis_definecode.clientcordis_run,详见文件头注释。

文件

  • index.js — Host 半:空 apply(纯 client 插件)。
  • src/client.js — 动态插件源码(文档参考)。
  • lib/client.js — 发布 bundle(client-modules 加载)。
  • cordis.patch.yml — profile 组合补丁行。

License

MIT © 2026 TableRogue