fengling375/dsh-nyan-context-progress0

dsh-nyan-context-progress

DSH Web 客户端右下角上下文占用进度条插件,复刻 JetBrains NyanProgressBar 的彩虹猫视觉效果。

AI 分析

核心用途是可视化展示当前会话的上下文长度占用比例。适合喜欢个性化 UI 且需要直观监控上下文余量的用户。支持拖拽位置和悬浮显示百分比。

套件
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