()
| 4 | import { Mode } from "@nightcode/shared"; |
| 5 | |
| 6 | export function StatusBar() { |
| 7 | const { mode, model } = usePromptConfig(); |
| 8 | const { colors } = useTheme(); |
| 9 | |
| 10 | return ( |
| 11 | <box flexDirection="row" gap={1}> |
| 12 | |
| 13 | <text fg={mode === Mode.PLAN ? colors.planMode : colors.primary}> |
| 14 | {mode === Mode.PLAN ? "Plan" : "Build"} |
| 15 | </text> |
| 16 | |
| 17 | <text attributes={TextAttributes.DIM} fg={colors.dimSeparator}> |
| 18 | › |
| 19 | </text> |
| 20 | <text>{model}</text> |
| 21 | </box> |
| 22 | ); |
| 23 | }; |
nothing calls this directly
no test coverage detected