Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
v0.2.7 — remove figlet dep, hardcode ASCII art, eliminate commander@14 transitive warning
Salman Qureshif5433dbcce34
diff --git a/package.json b/package.jsonindex c89455f1..50a6cd49 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@cosmicstack/mercury-agent",- "version": "0.2.6",+ "version": "0.2.7","description": "Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI or Telegram.","type": "module","main": "dist/index.js",@@ -61,7 +61,6 @@"chalk": "^5.4.0","commander": "^12.1.0","dotenv": "^16.4.7",- "figlet": "^1.11.0","grammy": "^1.42.0","js-tiktoken": "^1.0.19","marked": "^14.1.4",diff --git a/src/index.ts b/src/index.tsindex 8828354d..c7717245 100644--- a/src/index.ts+++ b/src/index.ts@@ -4,7 +4,6 @@ import { dirname, join } from 'node:path';import { Command } from 'commander';import readline from 'node:readline';import chalk from 'chalk';-import figlet from 'figlet';import { loadConfig, saveConfig, isSetupComplete, getMercuryHome, ensureCreatorField } from './utils/config.js';import type { MercuryConfig } from './utils/config.js';import { logger } from './utils/logger.js';@@ -31,11 +30,18 @@ function hr() {console.log(chalk.dim('─'.repeat(50)));}+const MERCURY_ASCII = [+ ' __ _____________ ________ ________ __',+ ' / |/ / ____/ __ \\/ ____/ / / / __ \\/ < /',+ ' / /|_/ / __/ / /_/ / / / / / / /_/ /\\ / ',+ ' / / / / /___/ _, _/ /___/ /_/ / _, _/ / / ',+ '/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/ ',+].filter(l => l.trim());+function banner() {console.log('');- const art = figlet.textSync('MERCURY', { font: 'Slant', horizontalLayout: 'default' });- for (const line of art.split('\n')) {- if (line.trim()) console.log(chalk.bold.cyan(` ${line}`));+ for (const line of MERCURY_ASCII) {+ console.log(chalk.bold.cyan(` ${line}`));}console.log('');console.log(chalk.white(' an AI agent for personal tasks'));@@ -45,9 +51,8 @@ function banner() {function splashScreen() {console.log('');- const art = figlet.textSync('MERCURY', { font: 'Slant', horizontalLayout: 'default' });- for (const line of art.split('\n')) {- if (line.trim()) console.log(chalk.bold.cyan(` ${line}`));+ for (const line of MERCURY_ASCII) {+ console.log(chalk.bold.cyan(` ${line}`));}console.log('');console.log(chalk.dim(' an AI agent for personal tasks'));