mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-05-20 23:19:58 +00:00
docs: add project documentation and improve robustness
- Add ARCHITECTURE.md, FAQ.md, LLM.md documentation - Add LICENSE (MIT), CODE_OF_CONDUCT.md, PR template - Add .editorconfig for consistent formatting - Add check.sh script for validation - Fix ESLint errors in hud-config.ts and settings-reader.ts - Various test and component improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,22 +26,9 @@ REFRESH_FILE="$HUD_DIR/refresh.json"
|
||||
rm -f "$EVENT_FIFO"
|
||||
mkfifo "$EVENT_FIFO"
|
||||
|
||||
if [ ! -d "$PLUGIN_ROOT/tui/node_modules" ]; then
|
||||
cd "$PLUGIN_ROOT/tui"
|
||||
if command -v bun &> /dev/null; then
|
||||
bun install --silent 2>/dev/null || true
|
||||
elif command -v npm &> /dev/null; then
|
||||
npm install --silent 2>/dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f "$PLUGIN_ROOT/tui/dist/index.js" ]; then
|
||||
cd "$PLUGIN_ROOT/tui"
|
||||
if command -v bun &> /dev/null; then
|
||||
bun run build 2>/dev/null || true
|
||||
elif command -v npm &> /dev/null; then
|
||||
npm run build 2>/dev/null || true
|
||||
fi
|
||||
echo "claude-hud build missing. Run 'bun install' and 'bun run build' in $PLUGIN_ROOT/tui." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if command -v bun &> /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user