import { H as theme, V as isRich } from "./agent-paths-DUHGyU1s.js";

//#region src/terminal/prompt-style.ts
const WIZARD_ASCII = [
	"  _____   _     ____   _____  ____",
	" |  ___| / \\   / ___| | ____||  _ \\",
	" | |_   / _ \\  \\___ \\ |  _|  | | | |",
	" |  _| / ___ \\  ___) || |___ | |_| |",
	" |_|  /_/   \\_\\|____/ |_____||____/"
].join("\n");
const DISPLAY_MESSAGE_OVERRIDES = new Map([
	["Wallet setup action", "Wallet setup"],
	["Set up model providers?", "Model providers"],
	["Set up chat channels?", "Chat channels"],
	["Set up skills?", "Skills"],
	["Set up hooks?", "Hooks"]
]);
function displayPromptMessage(message) {
	const trimmed = message.trim();
	return DISPLAY_MESSAGE_OVERRIDES.get(trimmed) ?? message;
}
function normalizeSectionTitle(value) {
	return value.trim().toUpperCase();
}
function sectionHeading(value) {
	const text = normalizeSectionTitle(value);
	return isRich() ? theme.heading(text) : text;
}
function formatWizardIntro(title) {
	const heading = sectionHeading(title);
	if (process.env.FASED_INSTALLER_ONBOARD === "1") return heading;
	return `${isRich() ? theme.accentBright(WIZARD_ASCII) : WIZARD_ASCII}\n\n${heading}`;
}
const stylePromptMessage = (message) => sectionHeading(displayPromptMessage(message));
const stylePromptTitle = (title) => title ? sectionHeading(title) : title;
const styleProgressTitle = (title) => sectionHeading(title);
const stylePromptHint = (hint) => hint && isRich() ? theme.muted(hint) : hint;

//#endregion
export { stylePromptTitle as a, stylePromptMessage as i, styleProgressTitle as n, stylePromptHint as r, formatWizardIntro as t };