Commit Graph

36 Commits

Author SHA1 Message Date
github-actions[bot]
d9b1a3daae build: compile dist/ [auto] 2026-04-04 02:52:13 +00:00
github-actions[bot]
98a2358e3e build: compile dist/ [auto] 2026-04-04 02:28:54 +00:00
github-actions[bot]
16ce438825 build: compile dist/ [auto] 2026-04-04 02:24:24 +00:00
github-actions[bot]
30e1dfe46a build: compile dist/ [auto] 2026-03-23 04:05:49 +00:00
github-actions[bot]
891cc9baee build: compile dist/ [auto] 2026-03-23 03:47:56 +00:00
Jarrod Watts
fd9a25e35f release v0.0.10: refresh changelog and dist 2026-03-23 13:36:34 +11:00
github-actions[bot]
61a3769993 build: compile dist/ [auto] 2026-03-20 00:52:54 +00:00
github-actions[bot]
db7ea25186 build: compile dist/ [auto] 2026-03-20 00:42:28 +00:00
Pan Hu
e952a399f1 fix: stop terminal scrolling to top on tool execution (#248)
* fix: detect terminal width via stderr when stdout is piped

When Claude Code runs the statusLine as a subprocess, stdout is captured
(piped), so process.stdout.columns is undefined. With no terminal width,
long lines aren't wrapped by the HUD — the terminal wraps them silently
instead. Claude Code counts \n characters to determine how many lines to
erase on the next render, so the physical line count diverges from what
Claude Code expects. Over successive renders the cursor drifts upward into
the scrollback buffer, causing the terminal to jump to the top on every
tool execution (https://github.com/jarrodwatts/claude-hud/issues/209).

Fix: fall back to process.stderr.columns before the COLUMNS env var.
When the statusLine subprocess is spawned, only stdout is redirected;
stderr remains connected to the real TTY and returns the correct width.
With accurate width, lines are properly wrapped in the HUD output and
Claude Code's line count stays consistent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: drop dist artifacts and cover stderr width

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jarrod Watts <jarrod@cubelabs.xyz>
2026-03-20 11:41:51 +11:00
github-actions[bot]
51e6e18ca4 build: compile dist/ [auto] 2026-03-14 00:26:03 +00:00
github-actions[bot]
768346fb34 build: compile dist/ [auto] 2026-03-14 00:20:44 +00:00
github-actions[bot]
b7306dae0d build: compile dist/ [auto] 2026-03-14 00:15:20 +00:00
github-actions[bot]
202707459f build: compile dist/ [auto] 2026-03-14 00:12:00 +00:00
myaiexp
5467f29e50 feat(config): add showSessionName toggle (default off) (#170)
* feat(config): add showSessionName toggle (default off)

Session name display from #155 is now opt-in via display.showSessionName
config. This addresses user feedback requesting the ability to hide the
session name. Added to setup onboarding and configure command flows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test(docs): cover session-name default behavior

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Jarrod Watts <jarrod@cubelabs.xyz>
2026-03-06 10:44:05 +11:00
github-actions[bot]
d9c48050f8 build: compile dist/ [auto] 2026-03-03 06:00:48 +00:00
github-actions[bot]
b3dd713660 build: compile dist/ [auto] 2026-03-03 03:19:36 +00:00
github-actions[bot]
a4657530ba build: compile dist/ [auto] 2026-03-03 03:19:18 +00:00
github-actions[bot]
30c3a642b1 build: compile dist/ [auto] 2026-03-03 02:54:17 +00:00
Jarrod Watts
10193cc94a Bump marketplace version to 0.0.7 (#117)
* feat: show API billing indicator in model badge

When ANTHROPIC_API_KEY is present in the environment, display
[Opus | API] in red instead of [Opus | Max]. This helps users
who manage both Max plan and API key access (e.g., work vs personal)
immediately see when they're running on API billing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Bump marketplace version to 0.0.7

---------

Co-authored-by: Fielding Johnston <fielding@justfielding.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 13:53:01 +11:00
Jarrod Watts
9fc2858619 feat: detect bedrock provider (#111) 2026-02-03 12:47:13 +11:00
Jarrod Watts
dec6efa509 feat(render): add output speed display (#110) 2026-02-03 12:36:19 +11:00
Jarrod Watts
0ac11a1f36 fix(usage): show api failure reason (#109) 2026-02-03 12:33:07 +11:00
Jarrod Watts
eafe12d876 feat(render): allow token context display (#108) 2026-02-03 12:20:00 +11:00
Jarrod Watts
f25627d7f8 feat(config): add seven-day usage threshold (#107) 2026-02-03 12:15:13 +11:00
github-actions[bot]
59c1203a84 build: compile dist/ [auto] 2026-01-19 04:24:44 +00:00
github-actions[bot]
e8e55cd33b build: compile dist/ [auto] 2026-01-19 04:03:29 +00:00
github-actions[bot]
f2a5447b49 build: compile dist/ [auto] 2026-01-14 01:17:51 +00:00
github-actions[bot]
75128e8624 build: compile dist/ [auto] 2026-01-13 23:55:46 +00:00
github-actions[bot]
99edaf92e9 build: compile dist/ [auto] 2026-01-09 00:59:01 +00:00
github-actions[bot]
e372132a02 build: compile dist/ [auto] 2026-01-07 05:00:50 +00:00
Jarrod Watts
cb6339aee5 Remove redundant COMPACT warning at high context usage
Claude Code natively displays "X% left to autocompact" making the HUD's
COMPACT warning redundant. The context bar already turns red at high
usage to visually indicate critical state.

Closes #26

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 14:48:21 +11:00
github-actions[bot]
b59e5daacd build: compile dist/ [auto] 2026-01-05 03:37:58 +00:00
github-actions[bot]
9147cb6f59 build: compile dist/ [auto] 2026-01-05 02:32:36 +00:00
github-actions[bot]
726f762649 build: compile dist/ [auto] 2026-01-04 12:03:52 +00:00
Jarrod Watts
59f1fb81c1 security: remove dist/ from git tracking (Phase 2) (#13)
* security: remove dist/ from git tracking (Phase 2)

Completes the security hardening started in Phase 1.

Changes:
- Add dist/ to .gitignore
- Remove dist/ from git tracking (48 files)
- Remove husky pre-commit hook (no longer needed)

CI will immediately rebuild and commit dist/ after this merges.
Installation flow remains unbroken.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* docs: clarify dist/ gitignore comment

* 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>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:03:39 +11:00
Jarrod Watts
7ce11b1ea9 fix: add marketplace.json and correct plugin installation flow
The previous installation command didn't work because Claude Code
plugins require a marketplace manifest. This adds the marketplace.json
and updates install instructions to the correct two-step flow:

1. /plugin marketplace add jarrodwatts/claude-hud
2. /plugin install claude-hud@claude-hud

Also commits dist/ for plugin distribution since users can't run
npm build when installing via marketplace.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 21:51:51 +11:00