Releases: reimu-create/uiopt
Releases · reimu-create/uiopt
Release list
uiopt v1.0.0
DSH WebUI 显示优化插件(组合包 bundle,声明 dsh.bundle)
功能
- 余额实时查询(DeepSeek 官方)
- 悬浮窗圆环:上下文占用(总弧长)+ 模型消耗分布(分段着色)+ 图例
- 每条消息缓存命中率
- 提供商图标(DeepSeek 鲸鱼 / OpenCode Go)
- 设置 → 额外插件:自主插件列表 + 导入插件(zip)
安装
dsh plugin --profile web add ./uiopt-1.0.0.tgz
或直接源码: dsh plugin --profile web add github:237229953-create/uiopt
需 pnpm(npm i -g pnpm)
uiopt-mac 1.0.0 · macOS 版
macOS 版显示优化(与 Windows 版 uiopt 功能对齐)。
macOS 移植点(相对 Windows 版)
- 余额状态路径: path.join(DSH_HOME 或 ~/.dsh, ...)(原版硬编码 Windows 路径)
- 插件包解压: unzip -Z1 条目预检(防 zip-slip) + ditto -x -k;subprocess 服务缺失时回退 Node execFile
- 安装脚本: install.sh / uninstall.sh(替代 install.ps1 / uninstall.ps1)
安装
dsh plugin --profile web add ./uiopt-mac-1.0.0.tgz安装后重启 dsh。源码见本地 D:\dsh-plugins\uiopt-mac。