kc0ed/dsh-bottom-bar ↗★ 1

dsh-bottom-bar

底栏统计设置(开发中):可组装的输入框下方统计行 + 预估费用标注 + 设置页(底栏)。⚠️ 静态固化包未完成、不可安装;当前仅动态插件形态可用(见 dynamic/README.md)。 核心用途是在输入框下方实时展示 Token 统计和预估费用,并支持拖拽排序和口径切换。适合需要精细化控制和预览单次对话成本的用户。注意:目前仅支持动态插件加载。

Package
dsh-bottom-bar
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用(动态插件形态)

在 DSH 会话里让 agent 把 dynamic/host.js 与 dynamic/client.js 定义为动态插件(code.host / code.client)并运行即可;配置与预估持久化在 settings 文档同目录(cost-estimate.composition.json / cost-estimate.estimates.json),会话重启后重跑插件即恢复。

设置 → 底栏:

  • 段开关 / 拖拽排序 / ↑↓ 换序、效果预览(悬停字段高亮)
  • 输入/缓存口径(separate = 纯未命中输入 + 命中 token 数;combined = 官方口径 + 命中率)
  • 黑条行为(auto = 仅截断时显示 / always)、费用精度(compact / full)
  • 价格表(最底部折叠):增删模型、改价、恢复默认