UNPKG

capsule-ai-cli

Version:

The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing

21 lines 858 B
import React from 'react'; import { render } from 'ink'; import chalk from 'chalk'; import SimpleInteractiveCLI from './SimpleInteractiveCLI.js'; export async function startInteractiveMode(options) { console.log(chalk.yellow('\n⚡ Welcome to Capsule CLI')); console.log(chalk.dim(`Model: ${chalk.yellow(options.model || 'gpt-3.5-turbo')} | Provider: ${chalk.yellow(options.provider || 'openai')}`)); console.log(); const { waitUntilExit } = render(React.createElement(SimpleInteractiveCLI, { model: options.model || 'gpt-3.5-turbo', provider: options.provider || 'openai' })); try { await waitUntilExit(); console.log(chalk.yellow('\n👋 Thanks for using Capsule CLI!')); } catch (error) { console.error(chalk.red('Error:'), error); } } //# sourceMappingURL=interactive-ink.js.map