mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-05-21 15:52:37 +00:00
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>
29 lines
895 B
JavaScript
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
|