dsh-nyan-context-progress
界面增强 活跃维护

dsh-nyan-context-progress

fengling375/dsh-nyan-context-progress

为dsh nyan上下文提供轻量无侵入的进度展示能力,运行时可动态呈现当前任务执行进度,无需额外配置即可直观跟踪任务运行状态,完美适配各类dsh任务执行流程。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
282 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:fengling375/dsh-nyan-context-progress
git clone https://github.com/fengling375/dsh-nyan-context-progress.git
git clone git@github.com:fengling375/dsh-nyan-context-progress.git
README.md main

dsh-nyan-context-progress

Nyan Cat

dsh Web 客户端右下角上下文占用进度条,复刻 JetBrains NyanProgressBar 的确定态视觉。

效果预览

功能

  • 右下角 200x20 进度条,不遮挡下方 UI
  • 基于官方 contextPressure 投影实时显示上下文占比
  • 鼠标悬浮显示 Context 50%
  • 支持拖拽并记住位置
  • 无可用数据时自动隐藏
  • lib/ 已提交构建产物,普通安装无需编译

安装

git clone git@github.com:fengling375/dsh-nyan-context-progress.git
cd dsh-nyan-context-progress
dsh plugin --profile web add "$PWD"

$DSH_HOME/profiles/web/cordis.patch.yml 追加:

- insert:
    - id: dsh-nyan-context-progress
      name: 'dsh-nyan-context-progress'

重启 dsh web 后生效。

卸载:

dsh plugin --profile web remove dsh-nyan-context-progress

开发

node build.mjs              # 构建 lib/
node scripts/selfcheck.mjs  # 自检 bundle 契约

类型检查与二次构建依赖 sibling 目录的 deepseek-harness 源码;普通使用无需。

致谢

License

MIT