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>
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
export interface StdinData {
|
|
transcript_path?: string;
|
|
cwd?: string;
|
|
model?: {
|
|
id?: string;
|
|
display_name?: string;
|
|
};
|
|
context_window?: {
|
|
context_window_size?: number;
|
|
current_usage?: {
|
|
input_tokens?: number;
|
|
cache_creation_input_tokens?: number;
|
|
cache_read_input_tokens?: number;
|
|
};
|
|
};
|
|
}
|
|
export interface ToolEntry {
|
|
id: string;
|
|
name: string;
|
|
target?: string;
|
|
status: 'running' | 'completed' | 'error';
|
|
startTime: Date;
|
|
endTime?: Date;
|
|
}
|
|
export interface AgentEntry {
|
|
id: string;
|
|
type: string;
|
|
model?: string;
|
|
description?: string;
|
|
status: 'running' | 'completed';
|
|
startTime: Date;
|
|
endTime?: Date;
|
|
}
|
|
export interface TodoItem {
|
|
content: string;
|
|
status: 'pending' | 'in_progress' | 'completed';
|
|
}
|
|
export interface TranscriptData {
|
|
tools: ToolEntry[];
|
|
agents: AgentEntry[];
|
|
todos: TodoItem[];
|
|
sessionStart?: Date;
|
|
}
|
|
export interface RenderContext {
|
|
stdin: StdinData;
|
|
transcript: TranscriptData;
|
|
claudeMdCount: number;
|
|
rulesCount: number;
|
|
mcpCount: number;
|
|
hooksCount: number;
|
|
sessionDuration: string;
|
|
}
|
|
//# sourceMappingURL=types.d.ts.map
|