capsule-ai-cli
Version:
The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing
91 lines • 4.06 kB
JavaScript
import chalk from 'chalk';
import gradient from 'gradient-string';
export const CAPSULE_CORP_BIG = `
██████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗ ███████╗
██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██║██║ ██╔════╝
██║ ███████║██████╔╝███████╗██║ ██║██║ █████╗
██║ ██╔══██║██╔═══╝ ╚════██║██║ ██║██║ ██╔══╝
╚██████╗██║ ██║██║ ███████║╚██████╔╝███████╗███████╗
╚═════╝╚═╝ ╚═╝╚═╝ ╚══════╝ ╚═════╝ ╚══════╝╚══════╝`;
export const CAPSULE_CORP_COMPACT = `
┌─────────────────────────────┐
│ ╔═╗╔═╗╔═╗╔═╗╦ ╦╦ ╔═╗ │
│ ║ ╠═╣╠═╝╚═╗║ ║║ ║╣ │
│ ╚═╝╩ ╩╩ ╚═╝╚═╝╩═╝╚═╝ │
│ ═══════════ │
│ CORP │
│ Model Power Level: 9000+ │
└─────────────────────────────┘`;
export const POWER_LEVEL_INDICATOR = `
⚡ POWER LEVEL: `;
export const POWER_UP_FRAMES = [
'⣀⣀⣀',
'⣤⣤⣤',
'⣿⣿⣿',
'⣿⣿⣿',
'⣤⣤⣤',
'⣀⣀⣀'
];
export const CAPSULE_CORP_COLORS = {
yellow: '#FFD700',
blue: '#1E90FF',
orange: '#FF8C00',
red: '#DC143C',
purple: '#9370DB',
green: '#00FA9A',
white: '#FFFFFF',
saiyanBlue: '#00CED1'
};
export function displayCapsuleCorpLogo() {
const logoGradient = gradient([
CAPSULE_CORP_COLORS.orange,
CAPSULE_CORP_COLORS.yellow,
CAPSULE_CORP_COLORS.saiyanBlue
]);
console.log(logoGradient.multiline(CAPSULE_CORP_BIG));
console.log();
}
export async function animatePowerLevel() {
const powerLevels = [1000, 5000, 9001];
console.log(chalk.gray('>') + ' ' + chalk.yellow('Scanning power levels...'));
for (const level of powerLevels) {
await new Promise(resolve => setTimeout(resolve, 200));
console.log(chalk.gray('>') + ' ' + chalk.yellow('Power Level:') + ' ' + chalk.bold.yellow(level.toString()));
}
if (powerLevels[powerLevels.length - 1] > 9000) {
console.log(chalk.gray('>') + ' ' + chalk.red.bold('IT\'S OVER 9000!'));
}
console.log();
}
export function displayFusionAnimation() {
const fusionFrames = [
'◐ ◑',
' ◐ ◑ ',
' ◐ ◑ ',
' ⚡ ',
' 💥 ',
' 🔮 '
];
console.log(chalk.hex(CAPSULE_CORP_COLORS.purple)('\n✨ Initiating Model Fusion Dance... ✨\n'));
fusionFrames.forEach((frame, index) => {
setTimeout(() => {
process.stdout.write(`\r${chalk.hex(CAPSULE_CORP_COLORS.saiyanBlue)(frame)}`);
if (index === fusionFrames.length - 1) {
console.log(chalk.bold.hex(CAPSULE_CORP_COLORS.yellow)('\n\n🔥 FUSION COMPLETE! Models Combined! 🔥'));
}
}, index * 300);
});
}
export const DBZ_REFERENCES = [
"Your code's power level is rising!",
"Kamehameha your bugs away!",
"Training in the Hyperbolic Time Chamber...",
"Gathering the Dragon Balls of clean code...",
"This isn't even my final form!",
"Believe in the heart of the code!",
"Plus Ultra! (wait, wrong anime...)"
];
export function getRandomDBZReference() {
return DBZ_REFERENCES[Math.floor(Math.random() * DBZ_REFERENCES.length)];
}
//# sourceMappingURL=capsule-corp-logo.js.map