import { TextBlockParam } from '@anthropic-ai/sdk/resources/index.mjs' import { UserBashInputMessage } from './UserBashInputMessage' import { UserKodingInputMessage } from './UserKodingInputMessage' import { UserCommandMessage } from './UserCommandMessage' import { UserPromptMessage } from './UserPromptMessage' import * as React from 'react' import { NO_CONTENT_MESSAGE } from '../../services/claude' type Props = { addMargin: boolean param: TextBlockParam } export function UserTextMessage({ addMargin, param }: Props): React.ReactNode { if (param.text.trim() === NO_CONTENT_MESSAGE) { return null } // Koding inputs! if (param.text.includes('')) { return } // Bash inputs! if (param.text.includes('')) { return } // Slash commands/ if ( param.text.includes('') || param.text.includes('') ) { return } // User prompts> return }