(input: Partial<Input>)
| 4 | import { countCharInString } from '../../utils/stringUtils.js'; |
| 5 | import type { Input, Output } from './RemoteTriggerTool.js'; |
| 6 | export function renderToolUseMessage(input: Partial<Input>): React.ReactNode { |
| 7 | return `${input.action ?? ''}${input.trigger_id ? ` ${input.trigger_id}` : ''}`; |
| 8 | } |
| 9 | export function renderToolResultMessage(output: Output): React.ReactNode { |
| 10 | const lines = countCharInString(output.json, '\n') + 1; |
| 11 | return <MessageResponse> |
nothing calls this directly
no outgoing calls
no test coverage detected