mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-05-04 03:22:39 +00:00
Major rewrite from split-pane TUI to multi-line statusline: - Remove hooks/, tui/, scripts/ directories - Add new src/ structure with TypeScript - Implement stdin JSON parser (native model/context data) - Implement transcript JSONL parser (tools, agents, todos) - Implement render system with 4 lines: - Session: model, context bar, rules, MCPs, duration - Tools: running + completed with counts - Agents: type, model, description, elapsed - Todos: current task with progress - Add context warning thresholds (70%, 85%, 95%) - Show context breakdown at high usage - Update plugin.json with statusLine config 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
631 B
JSON
20 lines
631 B
JSON
{
|
|
"name": "claude-hud",
|
|
"version": "2.0.0",
|
|
"description": "Real-time statusline HUD for Claude Code",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test:stdin": "echo '{\"model\":{\"display_name\":\"Opus\"},\"context_window\":{\"current_usage\":{\"input_tokens\":45000},\"context_window_size\":200000},\"transcript_path\":\"/tmp/test.jsonl\"}' | node dist/index.js"
|
|
},
|
|
"keywords": ["claude-code", "statusline", "hud"],
|
|
"author": "Jarrod Watts",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"typescript": "^5.0.0",
|
|
"@types/node": "^20.0.0"
|
|
}
|
|
}
|