UNPKG

@every-env/cli

Version:

Multi-agent orchestrator for AI-powered development workflows

19 lines 823 B
import React from 'react'; import { Box, Text } from 'ink'; export function InputBar({ state }) { const getPlaceholder = () => { // Only show placeholder in Plan view when empty and not typing if (state.currentPhase === 1 && state.tasks.plan.length === 0 && state.inputMode === 'idle') { return "Make it slap"; } return ""; }; return (React.createElement(Box, null, React.createElement(Text, { color: "gray" }, '> '), state.inputMode === 'typing' ? (React.createElement(React.Fragment, null, React.createElement(Text, null, state.inputValue), React.createElement(Text, { color: "gray" }, "_"))) : (React.createElement(Text, { color: "gray" }, getPlaceholder())))); } //# sourceMappingURL=InputBar.js.map