/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { Box, Text } from 'ink'; import { UI_WIDTH, BOX_PADDING_X } from '../constants.js'; import { shortenPath } from '@gemini-code/server'; interface HeaderProps { cwd: string; } export const Header: React.FC = ({ cwd }) => ( <> {/* Static Header Art */} {` ______ ________ ____ ____ _____ ____ _____ _____ .' ___ ||_ __ ||_ \\ / _||_ _||_ \\|_ _||_ _| / .' \\_| | |_ \\_| | \\/ | | | | \\ | | | | | | ____ | _| _ | |\\ /| | | | | |\\ \\| | | | \\ \`.___] |_| |__/ | _| |_\\/_| |_ _| |_ _| |_\\ |_ _| |_ \`._____.'|________||_____||_____||_____||_____|\\____||_____|`} {/* CWD Display */} cwd: {shortenPath(cwd, /*maxLength*/ 70)} );