({ path }: { path: string })
| 371 | } |
| 372 | |
| 373 | function MemoryFileRow({ path }: { path: string }): React.ReactNode { |
| 374 | const [hover, setHover] = useState(false); |
| 375 | return ( |
| 376 | <MessageResponse> |
| 377 | <Box onClick={() => void openPath(path)} onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)}> |
| 378 | <Text dimColor={!hover} underline={hover}> |
| 379 | <FilePathLink filePath={path}>{basename(path)}</FilePathLink> |
| 380 | </Text> |
| 381 | </Box> |
| 382 | </MessageResponse> |
| 383 | ); |
| 384 | } |
| 385 | |
| 386 | function ThinkingMessage({ |
| 387 | message, |
nothing calls this directly
no test coverage detected