Skip to content

feat(claude): track claude-hud plugin config and harden install#38

Merged
ulises-c merged 1 commit into
mainfrom
feat/claude-hud
Jun 10, 2026
Merged

feat(claude): track claude-hud plugin config and harden install#38
ulises-c merged 1 commit into
mainfrom
feat/claude-hud

Conversation

@ulises-c

Copy link
Copy Markdown
Owner

Summary

  • Adds extraKnownMarketplaces entry to register the jarrodwatts/claude-hud GitHub source
  • Enables the claude-hud@claude-hud plugin via enabledPlugins
  • Wires up the statusLine.command so the HUD renders in the terminal

Notes

statusLine.command currently hardcodes /usr/bin/node. Making it machine-agnostic (detect node/bun at install time) is left as a follow-up per issue #34 task 3.

Closes #34

Test plan

  • Fresh clone + install.sh — verify claude-hud renders in the status line
  • Confirm statusLine.command resolves the correct plugin version directory

🤖 Generated with Claude Code

Registers the claude-hud marketplace source, enables the plugin, and
wires up the statusLine command. Closes #34 (partial — node path
hardcoded; machine-agnostic detection is a follow-up).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ulises-c
ulises-c merged commit 95bc4a3 into main Jun 10, 2026
3 checks passed
@ulises-c
ulises-c deleted the feat/claude-hud branch June 10, 2026 08:13
ulises-c added a commit that referenced this pull request Jun 10, 2026
…ified stack (#36)

Merge origin/main (PRs #28 powerlevel10k/LACT, #35 railguard fixes,
#38 claude-hud) into the unification branch. The two PRs that touched the
legacy setup stack landed while this branch converted it to shims, so their
features are ported into the unified system as part of the conflict
resolution:

- packages.json gains zsh-theme-powerlevel10k (arch/yay, high) and lact
  (arch/yay, medium) — the entries main added to the now-deleted
  linux-desktop/linux_desktop_packages.json.
- The shared desktop flow (lib/core.sh) deploys ~/.p10k.zsh from
  linux-desktop/p10k.zsh.example via deploy_config — the step main added to
  the legacy linux-desktop/setup.sh, which stays a shim.
- Everything else from main merges clean: zshrc.examples, ghostty font,
  p10k.zsh.example, LACT configs/docs, railguard and claude-hud config.

Gate: per-platform full-flag dry-run diffed against the pre-merge snapshot —
macOS and server unchanged (timestamp only); ubuntu/arch show exactly the
intended additions (p10k deploy, the two arch packages, and the zshrc
update caused by main's new zshrc.example content). dryrun-smoke 4/4;
shellcheck + jq clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ulises-c added a commit that referenced this pull request Jun 10, 2026
The statusLine command hardcoded /usr/bin/node, which doesn't exist on
nvm-managed machines (issue #34 task 3, deferred by PR #38 and then
lost when the PR auto-closed the issue). Resolve via command -v node
with a newest-nvm-version glob fallback for contexts where nvm isn't
on PATH. TODO gains a tracker for the other dropped #34 task (claude-hud
display config not in the repo).

Verified live: the HUD renders through ~/.nvm/.../bin/node.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(claude): track claude-hud plugin config and harden install

1 participant