@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
9 lines (7 loc) • 446 B
JavaScript
import { B as theme, z as isRich } from "./utils-CP9YLh6M.js";
//#region src/terminal/prompt-style.ts
const stylePromptMessage = (message) => isRich() ? theme.accent(message) : message;
const stylePromptTitle = (title) => title && isRich() ? theme.heading(title) : title;
const stylePromptHint = (hint) => hint && isRich() ? theme.muted(hint) : hint;
//#endregion
export { stylePromptMessage as n, stylePromptTitle as r, stylePromptHint as t };