JohnXu22786/statusline0

dsh-statusline

DeepSeek Harness (dsh) 状态栏:将 Python CLI 暴露为 dsh 工具,在单行中渲染模型、上下文、限额等状态。

AI 分析

核心用途是实时展示会话与系统状态。适合需要监控模型、上下文占用、速率限制及运行耗时的 dsh 用户。

包名
dsh-statusline
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/statusline

Configuration

Three-layer override: **defaults 0) |

Environment variables (prefix STATUSLINE_):

VariableMaps to
STATUSLINE_THEME / STATUSLINE_COLOR / STATUSLINE_EMIT / STATUSLINE_SEPARATORsame-named scalar keys
STATUSLINE_LAYOUTlayout, comma-separated
STATUSLINE_STATE_FILEstate file path
STATUSLINE_WIDTH / STATUSLINE_BAR / STATUSLINE_PERCENTcontext.*
STATUSLINE_WARN_AT / STATUSLINE_CRITICAL_ATthresholds.*
STATUSLINE_CLOCK_FORMATclock.format
STATUSLINE_INTERVALrefresh.interval

Validation is strict: unknown config keys, unknown display items, warn >= critical, out-of-range widths, non-positive intervals and the like all raise ConfigError (exit code 3) with a readable reason, catching typos at startup.