/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { Box, Text } from 'ink'; import { Colors } from '../colors.js'; import { SlashCommand } from '../hooks/slashCommandProcessor.js'; interface Intro { commands: SlashCommand[]; } export const Intro: React.FC = ({ commands }) => ( Abilities: * Use tools to read and write files {' '} * Semantically search and explain code * Execute bash commands Commands: {commands.map((command: SlashCommand) => ( {' '} /{command.name} {command.description && ' - ' + command.description} ))} {' '} !{' '} shell command {' '} ${' '} echo hello world );