/**
* InlineText renders a one-line string in which `backtick` spans become
* monospace <code> elements — for tool call titles, permission titles and
* plan entries, where full markdown would be overkill but agents routinely
* quote commands and paths.
*
* @example
* <InlineText text="Run `ls .memory/`" />
*/exportfunctionInlineText({text}:{text: string}){// Even segments are plain text, odd segments were between backticks.
constparts=text.split("`");return(<>{parts.map((part,index)=>index%2===1?(<codekey={`${index}:${part}`}className="inline-code">{part}</code>):(part),)}</>);}
One first-party cookie so a repeat visit isn't counted twice. No cross-site tracking, nothing stored until you accept. Cookie Policy.