fengling375/dsh-nyan-context-progress0

dsh-nyan-context-progress

Out-of-tree dsh web plugin: a Nyan-style context-length progress bar in the bottom-right shell overlay

包名
dsh-nyan-context-progress
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

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