Skip to content

Commit e372132

Browse files
build: compile dist/ [auto]
1 parent eb18f78 commit e372132

29 files changed

+662
-52
lines changed

dist/config.d.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
export type LayoutType = 'default' | 'separators';
2+
export interface HudConfig {
3+
layout: LayoutType;
4+
pathLevels: 1 | 2 | 3;
5+
gitStatus: {
6+
enabled: boolean;
7+
showDirty: boolean;
8+
showAheadBehind: boolean;
9+
};
10+
display: {
11+
showModel: boolean;
12+
showContextBar: boolean;
13+
showConfigCounts: boolean;
14+
showDuration: boolean;
15+
showTokenBreakdown: boolean;
16+
showUsage: boolean;
17+
showTools: boolean;
18+
showAgents: boolean;
19+
showTodos: boolean;
20+
};
21+
}
22+
export declare const DEFAULT_CONFIG: HudConfig;
23+
export declare function getConfigPath(): string;
24+
export declare function loadConfig(): Promise<HudConfig>;
25+
//# sourceMappingURL=config.d.ts.map

dist/config.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/config.js

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/config.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/git.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
export interface GitStatus {
2+
branch: string;
3+
isDirty: boolean;
4+
ahead: number;
5+
behind: number;
6+
}
17
export declare function getGitBranch(cwd?: string): Promise<string | null>;
8+
export declare function getGitStatus(cwd?: string): Promise<GitStatus | null>;
29
//# sourceMappingURL=git.d.ts.map

dist/git.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/git.js

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/git.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@ import { readStdin } from './stdin.js';
22
import { parseTranscript } from './transcript.js';
33
import { render } from './render/index.js';
44
import { countConfigs } from './config-reader.js';
5-
import { getGitBranch } from './git.js';
5+
import { getGitStatus } from './git.js';
6+
import { getUsage } from './usage-api.js';
7+
import { loadConfig } from './config.js';
68
export type MainDeps = {
79
readStdin: typeof readStdin;
810
parseTranscript: typeof parseTranscript;
911
countConfigs: typeof countConfigs;
10-
getGitBranch: typeof getGitBranch;
12+
getGitStatus: typeof getGitStatus;
13+
getUsage: typeof getUsage;
14+
loadConfig: typeof loadConfig;
1115
render: typeof render;
1216
now: () => number;
1317
log: (...args: unknown[]) => void;

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)