v1.0.0 - 🎉 首个正式发布
🎉 My Claude HUD v1.0.0
首个正式发布!
Claude Code 实时状态栏 HUD - 显示上下文使用量、活跃工具、Agent、Todo 进度等。
✨ 主要功能
📊 实时监控
- 上下文使用量与进度条
- 活跃工具追踪(Read、Write、Edit、Bash 等)
- 运行中的 Agent 显示
- Todo 列表进度
🌿 Git 集成
- 分支信息显示
- 未提交更改标记
- Ahead/behind 状态
🎨 主题系统
- 5 种内置主题(default、nord、dracula、monokai、solarized)
- 紧凑/扩展布局切换
- 中英文双语支持
⚙️ 智能缓存
- API 使用量缓存(60s TTL)
- Git 状态缓存(5s TTL)
- 会话统计跨会话追踪
📦 安装方式
GitHub 安装
git clone https://github.com/Link-Start/my-claude-hud.git ~/.claude/plugins/my-claude-hud
cd ~/.claude/plugins/my-claude-hud
npm install && npm run build配置 Claude Code
在 ~/.claude/settings.json 中添加:
{
"statusLine": {
"type": "command",
"command": "node ~/.claude/plugins/my-claude-hud/dist/index.js"
}
}🚀 快捷操作
# 切换布局
node dist/index.js --action=toggle-layout
# 显示统计
node dist/index.js --action=stats
# 清除缓存
node dist/index.js --action=clear-cache
# 帮助信息
node dist/index.js --action=help📚 文档
🙏 致谢
灵感来源于 Jarrod Watts 的 claude-hud 项目。