blob: 04dac13402c88c301c960ee62f3019ab2a4e28f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import React from 'react';
import { Box, Newline, Text } from 'ink';
import { Colors } from '../colors.js';
export const Intro: React.FC = () => (
<Box flexDirection="column" marginBottom={1}>
<Text bold color={Colors.Foreground}>Abilities:</Text>
<Text color={Colors.Foreground}> * Use tools to read and write files</Text>
<Text color={Colors.Foreground}> * Semantically search and understand code</Text>
<Text color={Colors.Foreground}> * Execute bash commands</Text>
<Newline/>
<Text bold color={Colors.Foreground}>Commands:</Text>
<Text color={Colors.SubtleComment}>
<Text bold color={Colors.AccentPurple}> /help</Text>
{' '}- prints this help
</Text>
<Text color={Colors.SubtleComment}>
<Text bold color={Colors.AccentPurple}> /clear</Text>
{' '}- clear the screen
</Text>
<Text color={Colors.SubtleComment}>
<Text bold color={Colors.AccentPurple}> /exit</Text>
</Text>
<Text color={Colors.SubtleComment}>
<Text bold color={Colors.AccentPurple}> /quit</Text>
</Text>
</Box>
);
|