interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / cli / src / brand.ts

54 lines · 2152 bytes Raw Blame History
1import chalk from 'chalk';
2
3export const CLI_VERSION = '0.1.0';
4export 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 */
10export const OMEGA_BANNER_LINES: string[] = [
11 ' ██████╗ ██████╗ ███╗ ███╗███████╗ ██████╗ █████╗ ',
12 ' ██╔═══██╗ ██╔═══██╗████╗ ████║██╔════╝██╔════╝ ██╔══██╗',
13 ' ██║ ██║ ██║ ██║██╔████╔██║█████╗ ██║ ███╗███████║',
14 ' ╚██╗ ██╔╝ ██║ ██║██║╚██╔╝██║██╔══╝ ██║ ██║██╔══██║',
15 ' ███╝ ╚███╗ ╚██████╔╝██║ ╚═╝ ██║███████╗╚██████╔╝██║ ██║',
16 ' ╚══╝ ╚══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝',
17];
18
19export const OMEGA_BANNER_COMPACT: string[] = [
20 ' ╔═╗ ╔═╗╔╦╗╔═╗╔═╗╔═╗',
21 ' ║ ║ ║ ║║║║║╣ ║ ╦╠═╣',
22 ' ╩ ╩ ╚═╝╩ ╩╚═╝╚═╝╩ ╩',
23];
24
25// Gradient palette per banner row (electric cyan -> sky -> indigo -> violet)
26const BANNER_COLORS = [
27 '#38BDF8',
28 '#60A5FA',
29 '#818CF8',
30 '#A78BFA',
31 '#C084FC',
32 '#E879F9',
33];
34
35export 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
43export 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;