Commit Graph

4 Commits

Author SHA1 Message Date
Jarrod Watts
efabc82b5b feat: Add ESLint, Prettier, and pre-commit hooks
Phase 3 Foundation:
- Add ESLint with TypeScript, React, React Hooks, and Prettier config
- Add Prettier with project-standard settings
- Set up Husky pre-commit hooks with lint-staged
- Fix all ESLint errors and warnings in codebase
- Format all files with Prettier
- Fix type errors in usage-reader.test.ts

All 133 tests passing, lint clean, builds successfully.

Note: GitHub Actions CI workflow saved locally but requires
manual push with workflow scope or direct upload to GitHub.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 23:17:31 +11:00
Jarrod Watts
0d96ec71f6 test: Add comprehensive tests for event parsing and Sparkline
Phase 4 of v2 upgrade:
- Add event-parser.test.ts with edge cases for all event types
- Add Sparkline.test.tsx for component testing
- Add ink-testing-library for component tests
- Test malformed JSON, unicode, long paths, special characters
- 65 tests total, all passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 15:20:05 +11:00
Jarrod Watts
c51e054066 feat: Add vitest testing infrastructure with context tracker tests
- Add vitest and @testing-library/react
- Create vitest.config.ts
- Add test scripts to package.json
- Write comprehensive tests for ContextTracker:
  - Token estimation
  - Event processing
  - Health status calculation
  - Reset functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 13:35:37 +11:00
Jarrod Watts
fc0128ac73 Initial commit: Claude HUD plugin
Real-time terminal HUD for Claude Code showing:
- Context usage meter
- Tool activity stream
- Subagent visualization
- MCP status indicators
- Todo list tracking
- Modified files

Built with React/Ink for terminal UI.
Supports tmux, iTerm2, Kitty, WezTerm, Zellij, Windows Terminal.
2026-01-02 12:41:08 +11:00