alingalingling/ui-status-label ↗★ 21
dsh-ui-status-label
Configurable running-turn status text for dsh Web: General Settings row plus the conversationStatus provider for the chat view
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alingalingling/ui-status-label说明文档
阅读完整 README ↗dsh-ui-status-label
把你的鲸鱼娘思考时的 deep diving 自定义成任意你想要的样子。
为 dsh Web 聊天视图提供可配置的运行中轮次状态文案:General 设置区的一行文本输入,插件把聊天视图运行状态栏的文案替换为你输入的文字(支持 DOM 注入和上游 conversationStatus 服务两条路径,见兼容性)。插件注册持久的 ui-status-label settings 命名空间(默认 小难梁在0721);在设置行输入新文字后,聊天视图在轮次运行期间(等待首 token、工具执行、流式输出)显示的状态文案随之更新。选择持久化在 $DSH_HOME/settings.yaml,跟随同一个用户 home 跨越 Web 端口。
前提
- dsh Web(
dsh --profile web或自定义 Web 组合)。本插件只面向浏览器交互面;headless/TUI profile 装它没有意义。 - 依赖分两类:
@deepseek-ai/cordis、dsh-client-*等为 peer 依赖(由 dsh 安装提供);@deepseek-ai/dsh-settings、schemastery为直接依赖(从 npm 安装)。仓库内的pnpm-workspace.yaml已关闭 peer 自动安装(autoInstallPeers: false),clone 后直接pnpm install即可完成直接依赖。
安装
本包声明了 dsh.bundle,dsh plugin add 会自动激活它的 cordis.patch.yml 层(把 dsh-ui-status-label 行插入 Web roster)。
# ① tarball(需要先在仓库根执行 pnpm pack 生成 dsh-ui-status-label-0.1.0.tgz)
dsh plugin --profile web add ./dsh-ui-status-label-0.1.0.tgz
# ② git 仓库直装
dsh plugin --profile web add github:alingalingling/ui-status-label
# ③ npm(当前 npm 上尚未发布,发布后可用)
dsh plugin --profile web add dsh-ui-status-label
git 安装注意:pnpm ≥10 默认阻止运行 git 依赖的 prepare 脚本——首次 add 可能报 "Ignored build scripts",报错会打印一个包 key。把它加入 profile 目录下 pnpm-workspace.yaml 的 allowBuilds 后重新 add 即可(这是允许执行该包构建代码的授权,只对你信任的包开启):
allowBuilds:
dsh-ui-status-label: true
不过本仓库已把预构建的 lib/(含类型声明)随源码一起提交,git 安装即使跳过 prepare 也能直接用产物;allowBuilds 只在你想从源码重新构建时才需要。
卸载用 dsh plugin --profile web remove dsh-ui-status-label。
仅在使用内置了本插件的定制 dsh 构建(如 deepseek-harness 仓库本地构建)时,不要重复安装——
ui-status-labelsettings 命名空间会注册两次。官方发布版未内置本插件,正常安装即可。
安装后生效
装完需要重启 dsh web 进程(当前运行中的 GUI 不会热加载新插件 bundle),重启后刷新页面即可在设置里看到入口。
兼容性
本插件同时提供两条生效路径,官方正式版(含 0.1.0-rc.6)即可直接生效: