Files
claude-hud/dist/render/index.js
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

29 lines
895 B
JavaScript

import { renderSessionLine } from './session-line.js';
import { renderToolsLine } from './tools-line.js';
import { renderAgentsLine } from './agents-line.js';
import { renderTodosLine } from './todos-line.js';
import { RESET } from './colors.js';
export function render(ctx) {
const lines = [];
const sessionLine = renderSessionLine(ctx);
if (sessionLine) {
lines.push(sessionLine);
}
const toolsLine = renderToolsLine(ctx);
if (toolsLine) {
lines.push(toolsLine);
}
const agentsLine = renderAgentsLine(ctx);
if (agentsLine) {
lines.push(agentsLine);
}
const todosLine = renderTodosLine(ctx);
if (todosLine) {
lines.push(todosLine);
}
for (const line of lines) {
const outputLine = `${RESET}${line.replace(/ /g, '\u00A0')}`;
console.log(outputLine);
}
}
//# sourceMappingURL=index.js.map