dsh-statusline
DeepSeek Harness (dsh) 状态栏:将 Python CLI 暴露为 dsh 工具,在单行中渲染模型、上下文、限额等状态。
AI 分析
核心用途是实时展示会话与系统状态。适合需要监控模型、上下文占用、速率限制及运行耗时的 dsh 用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/statusline說明文件
閱讀完整 README ↗Configuration
Three-layer override: **defaults 0) |
Environment variables (prefix STATUSLINE_):
| Variable | Maps to |
|---|---|
STATUSLINE_THEME / STATUSLINE_COLOR / STATUSLINE_EMIT / STATUSLINE_SEPARATOR | same-named scalar keys |
STATUSLINE_LAYOUT | layout, comma-separated |
STATUSLINE_STATE_FILE | state file path |
STATUSLINE_WIDTH / STATUSLINE_BAR / STATUSLINE_PERCENT | context.* |
STATUSLINE_WARN_AT / STATUSLINE_CRITICAL_AT | thresholds.* |
STATUSLINE_CLOCK_FORMAT | clock.format |
STATUSLINE_INTERVAL | refresh.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.