MCPcopy Create free account
hub / github.com/anus-dev/ANUS / AboutBox

Function AboutBox

packages/cli/src/ui/components/AboutBox.tsx:23–149  ·  view source on GitHub ↗
({
  cliVersion,
  osVersion,
  sandboxEnv,
  modelVersion,
  selectedAuthType,
  gcpProject,
  ideClient,
})

Source from the content-addressed store, hash-verified

21}
22
23export 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected