Skip to content

Commit 0d5df02

Browse files
jarrodwattsclaude
andcommitted
chore: bump version to 0.0.2 and update docs
- Update version to 0.0.2 in package.json, plugin.json, marketplace.json - Update CHANGELOG.md with all changes since 0.0.1 - Document release process and plugin update mechanism in CONTRIBUTING.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1f966e0 commit 0d5df02

File tree

5 files changed

+53
-3
lines changed

5 files changed

+53
-3
lines changed

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress",
9-
"version": "0.0.1"
9+
"version": "0.0.2"
1010
},
1111
"plugins": [
1212
{

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "claude-hud",
33
"description": "Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress",
4-
"version": "0.0.1",
4+
"version": "0.0.2",
55
"author": {
66
"name": "Jarrod Watts",
77
"url": "https://github.com/jarrodwatts"

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
All notable changes to Claude HUD will be documented in this file.
44

5+
## [0.0.2] - 2025-01-04
6+
7+
### Security
8+
- Add CI workflow to build dist/ after merge - closes attack vector where malicious code could be injected via compiled output in PRs
9+
- Remove dist/ from git tracking - PRs now contain source only, CI handles compilation
10+
11+
### Fixed
12+
- Add 45k token autocompact buffer to context percentage calculation - now matches `/context` output accurately by accounting for Claude Code's reserved autocompact space
13+
- Fix CI caching with package-lock.json
14+
- Use Opus 4.5 for GitHub Actions code review
15+
16+
### Changed
17+
- Setup command now auto-detects installed plugin version (no manual path updates needed)
18+
- Setup prompts for optional GitHub star after successful configuration
19+
- Remove husky pre-commit hook (CI now handles dist/ compilation)
20+
21+
### Dependencies
22+
- Bump c8 from 9.1.0 to 10.1.3
23+
24+
---
25+
526
## [0.0.1] - 2025-01-04
627

728
Initial release of Claude HUD as a Claude Code statusline plugin.

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,32 @@ Your PR: src/ changes only → Merge → CI builds dist/ → Committed automatic
4444
- Include tests or explain why they are not needed.
4545
- Link issues when relevant.
4646
- Only modify `src/` files — CI handles `dist/` automatically.
47+
48+
## Releasing New Versions
49+
50+
When shipping a new version:
51+
52+
1. **Update version numbers** in all three files:
53+
- `package.json``"version": "X.Y.Z"`
54+
- `.claude-plugin/plugin.json``"version": "X.Y.Z"`
55+
- `.claude-plugin/marketplace.json``"version": "X.Y.Z"`
56+
57+
2. **Update CHANGELOG.md** with changes since last release
58+
59+
3. **Commit and merge** — CI builds dist/ automatically
60+
61+
### How Users Get Updates
62+
63+
Claude Code plugins support updates through the `/plugin` interface:
64+
65+
- **Update now** — Fetches latest from main branch, installs immediately
66+
- **Mark for update** — Stages update for later
67+
68+
Claude Code compares the `version` field in `plugin.json` against the installed version. Bumping the version number (e.g., 0.0.1 → 0.0.2) allows users to see an update is available.
69+
70+
### Version Strategy
71+
72+
We use semantic versioning (`MAJOR.MINOR.PATCH`):
73+
- **PATCH** (0.0.x): Bug fixes, minor improvements
74+
- **MINOR** (0.x.0): New features, non-breaking changes
75+
- **MAJOR** (x.0.0): Breaking changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-hud",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Real-time statusline HUD for Claude Code",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)