({
cliVersion,
osVersion,
sandboxEnv,
modelVersion,
selectedAuthType,
gcpProject,
ideClient,
})
| 21 | } |
| 22 | |
| 23 | export const AboutBox: React.FC<AboutBoxProps> = ({ |
| 24 | cliVersion, |
| 25 | osVersion, |
| 26 | sandboxEnv, |
| 27 | modelVersion, |
| 28 | selectedAuthType, |
| 29 | gcpProject, |
| 30 | ideClient, |
| 31 | }) => ( |
| 32 | <Box |
| 33 | borderStyle="round" |
| 34 | borderColor={Colors.Gray} |
| 35 | flexDirection="column" |
| 36 | padding={1} |
| 37 | marginY={1} |
| 38 | width="100%" |
| 39 | > |
| 40 | <Box marginBottom={1}> |
| 41 | <Text bold color={Colors.AccentPurple}> |
| 42 | About ANUS |
| 43 | </Text> |
| 44 | </Box> |
| 45 | <Box flexDirection="row"> |
| 46 | <Box width="35%"> |
| 47 | <Text bold color={Colors.LightBlue}> |
| 48 | CLI Version |
| 49 | </Text> |
| 50 | </Box> |
| 51 | <Box> |
| 52 | <Text>{cliVersion}</Text> |
| 53 | </Box> |
| 54 | </Box> |
| 55 | {GIT_COMMIT_INFO && !['N/A'].includes(GIT_COMMIT_INFO) && ( |
| 56 | <Box flexDirection="row"> |
| 57 | <Box width="35%"> |
| 58 | <Text bold color={Colors.LightBlue}> |
| 59 | Git Commit |
| 60 | </Text> |
| 61 | </Box> |
| 62 | <Box> |
| 63 | <Text>{GIT_COMMIT_INFO}</Text> |
| 64 | </Box> |
| 65 | </Box> |
| 66 | )} |
| 67 | <Box flexDirection="row"> |
| 68 | <Box width="35%"> |
| 69 | <Text bold color={Colors.LightBlue}> |
| 70 | Model |
| 71 | </Text> |
| 72 | </Box> |
| 73 | <Box> |
| 74 | <Text>{modelVersion}</Text> |
| 75 | </Box> |
| 76 | </Box> |
| 77 | <Box flexDirection="row"> |
| 78 | <Box width="35%"> |
| 79 | <Text bold color={Colors.LightBlue}> |
| 80 | Provider |
nothing calls this directly
no outgoing calls
no test coverage detected