Skip to main content
Glama
display.ts939 B
/** * @fileoverview Update notification display utilities */ import boxen from 'boxen'; import chalk from 'chalk'; /** * Display upgrade notification message */ export function displayUpgradeNotification( currentVersion: string, latestVersion: string, highlights?: string[] ) { let content = `${chalk.blue.bold('Update Available!')} ${chalk.dim(currentVersion)} → ${chalk.green(latestVersion)}`; if (highlights && highlights.length > 0) { content += '\n\n' + chalk.bold("What's New:"); for (const highlight of highlights) { content += '\n' + chalk.cyan('• ') + highlight; } content += '\n\n' + 'Auto-updating to the latest version...'; } else { content += '\n\n' + 'Auto-updating to the latest version with new features and bug fixes...'; } const message = boxen(content, { padding: 1, margin: { top: 1, bottom: 1 }, borderColor: 'yellow', borderStyle: 'round' }); console.log(message); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyaltoledano/claude-task-master'

If you have feedback or need assistance with the MCP directory API, please join our Discord server