A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.
Rust agentagent-orchestrationaiai-agentsclaude-codecodexcoding-agentlinuxmacosmultiplayermultiplexerrustterminalterminal-emulatorterminal-multiplexertmuxtuiweztermwindows
feat(tab-icons): dress CodeBuddy and OMP
Mirro Choudaa04203a2bb
diff --git a/thinkterm-tab-icons/src/lib.rs b/thinkterm-tab-icons/src/lib.rsindex d232e951..f8579e16 100644--- a/thinkterm-tab-icons/src/lib.rs+++ b/thinkterm-tab-icons/src/lib.rs@@ -43,6 +43,7 @@ pub enum BuiltinGlyph {Bot,Bun,Claude,+ CodeBuddy,Copilot,Cursor,Deno,@@ -116,6 +117,7 @@ impl BuiltinGlyph {Self::Bot => lucide!("bot"),Self::Bun => simple!("bun"),Self::Claude => simple!("claude"),+ Self::CodeBuddy => lobe!("codebuddy"),Self::Copilot => simple!("githubcopilot"),Self::Cursor => lobe!("cursor"),Self::Deno => simple!("deno"),@@ -253,6 +255,16 @@ pub const BUILTIN_CARDS: &[BuiltinCard] = &[agents: &["claude"],programs: &["claude"],},+ BuiltinCard {+ id: "codebuddy",+ name: "CodeBuddy",+ glyph: BuiltinGlyph::CodeBuddy,+ // CodeBuddy's own mint, from its app mark.+ circle: Rgb(0x00, 0xBC, 0x90),+ glyph_color: WHITE,+ agents: &["codebuddy"],+ programs: &["codebuddy", "codebuddy-code", "cbc", "codebuddy-lowmem"],+ },BuiltinCard {id: "codex",name: "Codex",@@ -298,6 +310,17 @@ pub const BUILTIN_CARDS: &[BuiltinCard] = &[agents: &["kimi"],programs: &["kimi"],},+ BuiltinCard {+ id: "omp",+ // OMP is a Pi fork and borrows Pi's mark, as the agents panel+ // does; the circle is the violet of its own gradient.+ name: "OMP",+ glyph: BuiltinGlyph::Pi,+ circle: Rgb(0x9B, 0x4D, 0xFF),+ glyph_color: WHITE,+ agents: &["omp"],+ programs: &["omp"],+ },BuiltinCard {id: "opencode",name: "OpenCode",@@ -1100,6 +1123,37 @@ mod tests {assert_eq!(catalog.terminal_card().id, TERMINAL_CARD);}+ #[test]+ fn every_agent_the_status_panel_names_gets_its_own_card() {+ let catalog = build(&TabIconSettings::default());+ for id in [+ "claude", "codebuddy", "codex", "copilot", "cursor", "kimi", "omp", "opencode", "pi",+ ] {+ assert_eq!(catalog.card_for(Some(id), None).id, id, "{id}");+ }+ // Soul is native and ships no mark of its own, so it keeps the+ // catch-all rather than wearing a brand it does not have.+ assert_eq!(catalog.card_for(Some("soul"), None).id, "agent");+ }++ #[test]+ fn a_launcher_is_dressed_before_its_agent_is_classified() {+ // A pane has an icon from the moment its program leads it, which+ // is often before the agent's rules have said what it is.+ let catalog = build(&TabIconSettings::default());+ for name in ["codebuddy", "codebuddy-code", "cbc", "codebuddy-lowmem"] {+ assert_eq!(card_id(&catalog, &program(name, None)), "codebuddy", "{name}");+ }+ // Both ship as scripts under a runtime: `node .../codebuddy`, and+ // `bun .../omp`. The script names the agent; the runtime does not.+ assert_eq!(+ card_id(&catalog, &program("node", Some("codebuddy"))),+ "codebuddy"+ );+ assert_eq!(card_id(&catalog, &program("omp", None)), "omp");+ assert_eq!(card_id(&catalog, &program("bun", Some("omp"))), "omp");+ }+#[test]fn a_card_of_the_users_own_wins_over_a_built_in() {let settings = TabIconSettings {diff --git a/wezterm-gui/src/agent_status/mod.rs b/wezterm-gui/src/agent_status/mod.rsindex 25f19760..99930eea 100644--- a/wezterm-gui/src/agent_status/mod.rs+++ b/wezterm-gui/src/agent_status/mod.rs@@ -910,6 +910,24 @@ mod tests {}}+ /// Every agent the settings list calls supported must have a tab icon+ /// of its own, or a pane's tab would keep the generic bot while its+ /// agents row says which agent it is. Soul is native and has no mark;+ /// it keeps the catch-all.+ #[test]+ fn every_supported_agent_has_a_tab_icon_card() {+ let catalog =+ thinkterm_tab_icons::Catalog::build(&Default::default(), |key| key.to_string());+ for (id, _, _) in super::SUPPORTED_AGENTS {+ let card = catalog.card_for(Some(id), None);+ if *id == "soul" {+ assert_eq!(card.id, "agent", "soul should keep the catch-all");+ } else {+ assert_eq!(card.id, *id, "{id} has no tab icon card");+ }+ }+ }+#[test]fn display_name_falls_back_to_the_raw_id() {assert_eq!(display_name("claude"), "Claude Code");