This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/openclaw/dist/prompt-style-D5D7b3cX.js
T

9 lines
437 B
JavaScript

import { O as isRich, k as theme } from "./entry.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 };