From e7e5bd103a23cecde2e2ea970ba740e3a9007ff0 Mon Sep 17 00:00:00 2001 From: Pasteley Absurda Date: Thu, 12 Nov 2026 16:04:03 +0100 Subject: [PATCH] fix(icon): use omp.sh favicon for oh-my-pi harness (#1243) * fix(agents): draw Oh My Pi from omp.sh's favicon geometry * fix(agents): use omp.sh's favicon colors --------- Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> --- assets/icons/agents/omp.svg | 25 ++++++++++++------------- crates/tty7-core/src/core/cli_agent.rs | 9 ++++++--- mobile/src/assets/agents/omp.svg | 25 ++++++++++++------------- mobile/src/icons.ts | 2 +- 4 files changed, 31 insertions(+), 30 deletions(-) diff --git a/assets/icons/agents/omp.svg b/assets/icons/agents/omp.svg index 8a5d6462..6d3fefbb 100644 --- a/assets/icons/agents/omp.svg +++ b/assets/icons/agents/omp.svg @@ -1,15 +1,14 @@ - + - - - - + + + diff --git a/crates/tty7-core/src/core/cli_agent.rs b/crates/tty7-core/src/core/cli_agent.rs index de327cc9..fffb3371 100644 --- a/crates/tty7-core/src/core/cli_agent.rs +++ b/crates/tty7-core/src/core/cli_agent.rs @@ -641,7 +641,9 @@ impl CLIAgent { CLIAgent::Antigravity => 0x3186FF, CLIAgent::Grok => 0x000000, CLIAgent::Qwen => 0x6D44E8, - CLIAgent::OhMyPi => 0xF97316, + // The near-black field omp.sh's favicon sits on; the mark wears + // the violet midpoint of the site's pink-to-cyan gradient. + CLIAgent::OhMyPi => 0x0F0A14, // The blue of the flame in Kimi's brand mark; the glyph itself is // black, which Codex and Grok already have covered. CLIAgent::Kimi => 0x027AFF, @@ -669,11 +671,12 @@ impl CLIAgent { /// agent wearing two faces. /// /// White for every mark that is a silhouette sitting on its brand colour. - /// TraeCode is the one whose mark is the coloured half of the pair, on an - /// accent that is deliberately black. + /// TraeCode and Oh My Pi are the ones whose mark is the coloured half of + /// the pair, on an accent that is deliberately near-black. pub fn icon_rgb(self) -> u32 { match self { CLIAgent::TraeCode => 0x32F08C, + CLIAgent::OhMyPi => 0x9B4DFF, CLIAgent::QoderCLI | CLIAgent::QoderCLICn => 0x000000, _ => 0xFFFFFF, } diff --git a/mobile/src/assets/agents/omp.svg b/mobile/src/assets/agents/omp.svg index 8a5d6462..6d3fefbb 100644 --- a/mobile/src/assets/agents/omp.svg +++ b/mobile/src/assets/agents/omp.svg @@ -1,15 +1,14 @@ - + - - - - + + + diff --git a/mobile/src/icons.ts b/mobile/src/icons.ts index 2dd68c92..73e2fe89 100644 --- a/mobile/src/icons.ts +++ b/mobile/src/icons.ts @@ -70,7 +70,7 @@ const AGENTS: Record