UNPKG

@vibe-kit/grok-cli

Version:

An open-source AI agent that brings the power of Grok directly into your terminal.

17 lines 860 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChatInput = void 0; const react_1 = __importDefault(require("react")); const ink_1 = require("ink"); function ChatInput({ input, isProcessing, isStreaming, }) { return (react_1.default.createElement(ink_1.Box, { borderStyle: "round", borderColor: "gray", paddingX: 1, marginTop: 1 }, react_1.default.createElement(ink_1.Text, { color: "gray" }, "\u276F "), react_1.default.createElement(ink_1.Text, null, input, !isProcessing && !isStreaming && react_1.default.createElement(ink_1.Text, { color: "white" }, "\u2588")))); } exports.ChatInput = ChatInput; //# sourceMappingURL=chat-input.js.map