omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
omega-harness / cli / src / brand.ts
| 1 | import chalk from 'chalk'; |
| 2 | |
| 3 | export const CLI_VERSION = '0.1.0'; |
| 4 | export const SYMBOL = 'Ω'; |
| 5 | |
| 6 | /** |
| 7 | * Custom Omega Harness banner — inspired by Gemini CLI's clean block aesthetic, |
| 8 | * branded exclusively with Drake's Ω symbol. |
| 9 | */ |
| 10 | export const OMEGA_BANNER_LINES: string[] = [ |
| 11 | ' ██████╗ ██████╗ ███╗ ███╗███████╗ ██████╗ █████╗ ', |
| 12 | ' ██╔═══██╗ ██╔═══██╗████╗ ████║██╔════╝██╔════╝ ██╔══██╗', |
| 13 | ' ██║ ██║ ██║ ██║██╔████╔██║█████╗ ██║ ███╗███████║', |
| 14 | ' ╚██╗ ██╔╝ ██║ ██║██║╚██╔╝██║██╔══╝ ██║ ██║██╔══██║', |
| 15 | ' ███╝ ╚███╗ ╚██████╔╝██║ ╚═╝ ██║███████╗╚██████╔╝██║ ██║', |
| 16 | ' ╚══╝ ╚══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝', |
| 17 | ]; |
| 18 | |
| 19 | export const OMEGA_BANNER_COMPACT: string[] = [ |
| 20 | ' ╔═╗ ╔═╗╔╦╗╔═╗╔═╗╔═╗', |
| 21 | ' ║ ║ ║ ║║║║║╣ ║ ╦╠═╣', |
| 22 | ' ╩ ╩ ╚═╝╩ ╩╚═╝╚═╝╩ ╩', |
| 23 | ]; |
| 24 | |
| 25 | // Gradient palette per banner row (electric cyan -> sky -> indigo -> violet) |
| 26 | const BANNER_COLORS = [ |
| 27 | '#38BDF8', |
| 28 | '#60A5FA', |
| 29 | '#818CF8', |
| 30 | '#A78BFA', |
| 31 | '#C084FC', |
| 32 | '#E879F9', |
| 33 | ]; |
| 34 | |
| 35 | export function renderBanner(columns = 80): string[] { |
| 36 | const lines = columns >= 64 ? OMEGA_BANNER_LINES : OMEGA_BANNER_COMPACT; |
| 37 | return lines.map((line, i) => { |
| 38 | const hex = BANNER_COLORS[i % BANNER_COLORS.length]; |
| 39 | return chalk.hex(hex).bold(line); |
| 40 | }); |
| 41 | } |
| 42 | |
| 43 | export const THEME = { |
| 44 | symbol: '#38BDF8', |
| 45 | accent: '#818CF8', |
| 46 | muted: '#64748B', |
| 47 | border: '#334155', |
| 48 | borderActive: '#38BDF8', |
| 49 | success: '#34D399', |
| 50 | warning: '#FBBF24', |
| 51 | error: '#F87171', |
| 52 | userPrompt: '#E2E8F0', |
| 53 | code: '#FDE68A', |
| 54 | } as const; |