2026-01-02 23:17:31 +11:00
|
|
|
{
|
|
|
|
|
"name": "claude-hud",
|
feat(v2): statusline architecture - Phase 1 complete
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>
2026-01-03 14:28:25 +11:00
|
|
|
"version": "2.0.0",
|
|
|
|
|
"description": "Real-time statusline HUD for Claude Code",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"main": "dist/index.js",
|
2026-01-02 23:17:31 +11:00
|
|
|
"scripts": {
|
feat(v2): statusline architecture - Phase 1 complete
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>
2026-01-03 14:28:25 +11:00
|
|
|
"build": "tsc",
|
|
|
|
|
"dev": "tsc --watch",
|
2026-01-03 18:10:26 +11:00
|
|
|
"test": "npm run build && node --test",
|
2026-01-03 18:52:12 +11:00
|
|
|
"test:coverage": "npm run build && c8 --reporter=text --reporter=lcov node --test",
|
|
|
|
|
"test:update-snapshots": "UPDATE_SNAPSHOTS=1 npm test",
|
feat(v2): statusline architecture - Phase 1 complete
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>
2026-01-03 14:28:25 +11:00
|
|
|
"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"
|
2026-01-02 23:17:31 +11:00
|
|
|
},
|
feat(v2): statusline architecture - Phase 1 complete
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>
2026-01-03 14:28:25 +11:00
|
|
|
"keywords": ["claude-code", "statusline", "hud"],
|
|
|
|
|
"author": "Jarrod Watts",
|
|
|
|
|
"license": "MIT",
|
2026-01-02 23:17:31 +11:00
|
|
|
"devDependencies": {
|
2026-01-03 18:52:12 +11:00
|
|
|
"@types/node": "^20.0.0",
|
|
|
|
|
"c8": "^9.1.0",
|
|
|
|
|
"typescript": "^5.0.0"
|
2026-01-02 23:17:31 +11:00
|
|
|
}
|
|
|
|
|
}
|