/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { Box, Text } from 'ink'; import { Colors } from '../../colors.js'; interface UserShellMessageProps { text: string; } export const UserShellMessage: React.FC = ({ text }) => { // Remove leading '!' if present, as App.tsx adds it for the processor. const commandToDisplay = text.startsWith('!') ? text.substring(1) : text; return ( $ {commandToDisplay} ); };