chuan d4b42f706a docs: add README and adjust rate separator
- add concise Chinese README
- rate: use "-" instead of "/" between 5h/7d usage
d4b42f706a · 2026-06-25 19:00:45 +08:00
3 Commits

statusline

显示内容

示例 说明
模型 + 思考 H opus-4.8 思考等级(L/M/H/XH)+ 模型名;等级按高低绿→红配色
上下文 8.9% 已用上下文百分比,按用量绿→红渐变(80% 纯红)
目录 project 在项目根显示目录名,否则显示末两级 parent/current
Git main ~15 +595 分支 + 改动文件数 + 增删行数(为 0 不显示)
速度 ↑ 1.2k ↓ 134.4 t/s 最近 8 次请求的输入/输出 token 速度
额度 10% - 40% · 1:45 5h 已用 - 7 天已用 · 5h 刷新倒计时(越近越红)

接入 Claude Code

编辑 ~/.claude/settings.json,把 statusLine.command 指向构建产物(用正斜杠路径):

{
  "statusLine": {
    "type": "command",
    "command": "statusline"
  }
}
S
Description
No description provided
Readme 89 KiB
Languages
Rust 100%