@janvitos/pi-plan-build 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils.ts +2 -1
package/package.json
CHANGED
package/utils.ts
CHANGED
|
@@ -9,6 +9,7 @@ const MODE_LABELS: Record<Mode, { color: string; text: string }> = {
|
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export interface ModeStatusTheme {
|
|
12
|
+
bold(text: string): string;
|
|
12
13
|
fg(color: "dim", text: string): string;
|
|
13
14
|
}
|
|
14
15
|
|
|
@@ -56,7 +57,7 @@ export function formatModeMetadata(
|
|
|
56
57
|
options?: PromptMetadataOptions,
|
|
57
58
|
): string {
|
|
58
59
|
const label = MODE_LABELS[mode];
|
|
59
|
-
const modeText = `\x1b[${label.color}m${label.text}${ANSI_RESET}`;
|
|
60
|
+
const modeText = `\x1b[${label.color}m${theme.bold(label.text)}${ANSI_RESET}`;
|
|
60
61
|
const modelText = options
|
|
61
62
|
? `${theme.fg("dim", " • ")}${options.modelName}${
|
|
62
63
|
options.modelProvider ? theme.fg("dim", ` [${options.modelProvider}]`) : ""
|