文件历史

33 次代码提交

作者 SHA1 备注 提交日期
github-actions[bot] 75236d781a build: compile dist/ [auto] 2026-07-20 07:29:17 +00:00
github-actions[bot] e84fa59d7a build: compile dist/ [auto] 2026-07-13 00:06:33 +00:00
github-actions[bot] e73e6d8d35 build: compile dist/ [auto] 2026-07-13 00:02:45 +00:00
github-actions[bot] 5707866c3e build: compile dist/ [auto] 2026-07-12 23:57:31 +00:00
github-actions[bot] 60a6a51fd3 build: compile dist/ [auto] 2026-06-19 15:37:15 +00:00
github-actions[bot] d26cec90a8 build: compile dist/ [auto] 2026-06-19 15:30:38 +00:00
github-actions[bot] 8c9ed2558d build: compile dist/ [auto] 2026-06-19 15:29:00 +00:00
github-actions[bot] 8660884d4b build: compile dist/ [auto] 2026-06-18 19:52:39 +00:00
github-actions[bot] 9ce08ea943 build: compile dist/ [auto] 2026-06-15 13:14:45 +00:00
github-actions[bot] eca41b6515 build: compile dist/ [auto] 2026-06-09 14:57:05 +00:00
github-actions[bot] a84e0ecc40 build: compile dist/ [auto] 2026-06-09 14:54:10 +00:00
github-actions[bot] 5d29a1f7a3 build: compile dist/ [auto] 2026-06-04 09:02:59 +00:00
github-actions[bot] be9902a594 build: compile dist/ [auto] 2026-05-22 02:43:39 +00:00
github-actions[bot] 6f7d07323c build: compile dist/ [auto] 2026-05-13 23:40:47 +00:00
github-actions[bot] 64a80990ca build: compile dist/ [auto] 2026-04-26 03:45:11 +00:00
github-actions[bot] 2decbdfce4 build: compile dist/ [auto] 2026-04-24 04:11:15 +00:00
github-actions[bot] 66ca6a0cf3 build: compile dist/ [auto] 2026-04-22 11:04:03 +00:00
github-actions[bot] cbdf37d87b build: compile dist/ [auto] 2026-04-22 10:52:41 +00:00
github-actions[bot] 1480712651 build: compile dist/ [auto] 2026-04-20 13:55:43 +00:00
github-actions[bot] b62ddc2ca5 build: compile dist/ [auto] 2026-04-20 08:32:20 +00:00
github-actions[bot] 5e72fe9ba1 build: compile dist/ [auto] 2026-04-04 03:53:54 +00:00
github-actions[bot] d1c2babac2 build: compile dist/ [auto] 2026-04-04 03:10:30 +00:00
github-actions[bot] 3c4a2c1976 build: compile dist/ [auto] 2026-04-04 02:26:18 +00:00
Jarrod Watts fd9a25e35f release v0.0.10: refresh changelog and dist 2026-03-23 13:36:34 +11: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] 30c3a642b1 build: compile dist/ [auto] 2026-03-03 02:54:17 +00:00
Jarrod Watts 44adb2631d fix(transcript): support task todo updates (#106) 2026-02-03 12:14:27 +11:00
github-actions[bot] 756912c26a build: compile dist/ [auto] 2026-01-05 04:06:24 +00:00
Jarrod Watts db9e275c5d chore: remove dist/ from git tracking
dist/ was already in .gitignore but was still tracked because it was
added before the gitignore entry. This removes it from the index so
.gitignore takes effect.

After this:
- PRs will no longer include dist/ changes
- CI workflow rebuilds dist/ on main after each merge
- Contributors run `npm run build` locally to test

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 14:52:20 +11: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