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
fix(agent-status): tidy up the CodeBuddy and OMP additions
RoversX39ca5891d3c5
diff --git a/NOTICE b/NOTICEindex aa5766a0..016cffce 100644--- a/NOTICE+++ b/NOTICE@@ -153,11 +153,6 @@ logo is included at third_party/herdr/logo.svg, and the full license atthird_party/herdr/LICENSE. See third_party/herdr/README for the upstreamcommit.-The CodeBuddy mark at third_party/codebuddy/codebuddy.svg is the glyph from-the app icon published in Tencent's @tencent-ai/codebuddy-code package,-included to identify that agent running in a pane. It remains Tencent's-trademark; see third_party/codebuddy/README for its provenance.-Brand marks and logos appearing in this product are trademarks of theirrespective owners. They are used solely to identify the correspondingproduct or service (nominative use) and imply no affiliation with ordiff --git a/licenses/README.md b/licenses/README.mdindex e166fb73..efa70a23 100644--- a/licenses/README.md+++ b/licenses/README.md@@ -50,16 +50,15 @@ The agent manifests under `mux/src/agent_status/manifests/` are sourced from2.0, reproduced verbatim in[`mux/src/agent_status/manifests/LICENSE`](../mux/src/agent_status/manifests/LICENSE).Each bundled manifest carries an attribution header naming the upstream commit-it was taken from and any local changes. One file, `codebuddy.toml`, is not-from herdr: it is authored by ThinkTerm's contributors and carries this-repository's own license.+it was taken from and any local changes. Two files, `codebuddy.toml` and+`omp.toml`, are not from herdr: they are authored by ThinkTerm's+contributors and carry this repository's own license.## IconsIcons come from [Lucide](https://github.com/lucide-icons/lucide),[Simple Icons](https://github.com/simple-icons/simple-icons),-[Lobe Icons](https://github.com/lobehub/lobe-icons), material-icon-theme, and-the CodeBuddy Code app icon under `third_party/codebuddy`.+[Lobe Icons](https://github.com/lobehub/lobe-icons), and material-icon-theme.Their provenance and license texts are recorded in [NOTICE](../NOTICE).## Bundled Windows runtime componentsdiff --git a/mux/src/agent_status/manifest_tests/codebuddy.rs b/mux/src/agent_status/manifest_tests/codebuddy.rsindex fd19aa4a..2fa40f94 100644--- a/mux/src/agent_status/manifest_tests/codebuddy.rs+++ b/mux/src/agent_status/manifest_tests/codebuddy.rs@@ -115,6 +115,11 @@ mod tests {eval_codebuddy(screen, ""),ScreenVerdict::State(AgentState::Working)));+ // The last turn's idle marker can still be on the title.+ assert!(matches!(+ eval_codebuddy(screen, "\u{2733} add the CodeBuddy manifest"),+ ScreenVerdict::State(AgentState::Working)+ ));assert!(matches!(eval_codebuddy("● earlier output\n\n∴ Thought\n", ""),ScreenVerdict::NoMatchdiff --git a/mux/src/agent_status/manifest_tests/mod.rs b/mux/src/agent_status/manifest_tests/mod.rsindex 7ebb7006..fbe7b0c1 100644--- a/mux/src/agent_status/manifest_tests/mod.rs+++ b/mux/src/agent_status/manifest_tests/mod.rs@@ -5,3 +5,4 @@//! instead of growing the engine's generic test module.mod codebuddy;+mod omp;diff --git a/mux/src/agent_status/omp_tests.rs b/mux/src/agent_status/manifest_tests/omp.rssimilarity index 100%rename from mux/src/agent_status/omp_tests.rsrename to mux/src/agent_status/manifest_tests/omp.rsdiff --git a/mux/src/agent_status/manifests/codebuddy.toml b/mux/src/agent_status/manifests/codebuddy.tomlindex 9c4b9987..53115092 100644--- a/mux/src/agent_status/manifests/codebuddy.toml+++ b/mux/src/agent_status/manifests/codebuddy.toml@@ -71,7 +71,9 @@ regex = ['^[\x{2800}-\x{28FF}] '][[rules]]id = "osc_title_idle"state = "idle"-priority = 1000+# Below the screen's working rules, as in claude.toml: the thinking+# heading and MCP startup show while this marker is still on the title.+priority = 250region = "osc_title"visible_idle = true# U+2733, the marker the same updater leaves behind when the turn ends.diff --git a/mux/src/agent_status/mod.rs b/mux/src/agent_status/mod.rsindex 815a355f..29c382ed 100644--- a/mux/src/agent_status/mod.rs+++ b/mux/src/agent_status/mod.rs@@ -28,8 +28,6 @@ mod proc_match;#[cfg(test)]mod manifest_tests;mod windows_select;-#[cfg(test)]-mod omp_tests;use crate::pane::{Pane, PaneId};use crate::{Mux, MuxNotification};diff --git a/thinkterm-web/ui/src/icons.ts b/thinkterm-web/ui/src/icons.tsindex e2a8a43d..d9365ee0 100644--- a/thinkterm-web/ui/src/icons.ts+++ b/thinkterm-web/ui/src/icons.ts@@ -90,7 +90,7 @@ import puzzle from '../../../third_party/lucide/icons/puzzle.svg?raw';// own colours, the others single-colour (`fill="currentColor"`), as their// makers publish them.import brandClaude from '../../../third_party/lobe-icons/claude-color.svg?raw';-import brandCodeBuddy from '../../../third_party/codebuddy/codebuddy.svg?raw';+import brandCodeBuddy from '../../../third_party/lobe-icons/codebuddy.svg?raw';import brandCopilot from '../../../third_party/lobe-icons/copilot-color.svg?raw';import brandKimi from '../../../third_party/lobe-icons/kimi-color.svg?raw';import brandKimiMono from '../../../third_party/lobe-icons/kimi.svg?raw';diff --git a/third_party/codebuddy/README b/third_party/codebuddy/READMEdeleted file mode 100644index 3ad50e85..00000000--- a/third_party/codebuddy/README+++ /dev/null@@ -1,25 +0,0 @@-CodeBuddy Code-=============--This directory contains the CodeBuddy Code mark, taken from the app icon-shipped in the CLI's own npm package.--Package: @tencent-ai/codebuddy-code-Version: 2.171.0-Path: dist/web-ui/pwa-icon.svg-License: the mark is Tencent's; see the note below-- codebuddy.svg CodeBuddy Code monochrome--`pwa-icon.svg` draws the mark in white on a dark rounded square. Only the-glyph was taken: its path is copied unchanged into a 12x12 viewBox with-`fill="currentColor"`, which `SvgIcon::rasterize` turns white so the-shader can tint it with the surrounding UI color, exactly as the other-monochrome agent marks in `third_party/lobe-icons` work.--To update the mark, copy the path from a newer package and record the-version here.--The logo is the trademark of its owner. It appears here to identify which-agent is running in a pane; that is nominative use and implies no-affiliation with or endorsement by the owner.diff --git a/third_party/codebuddy/codebuddy.svg b/third_party/codebuddy/codebuddy.svgdeleted file mode 100644index e4cffa50..00000000--- a/third_party/codebuddy/codebuddy.svg+++ /dev/null@@ -1,3 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" width="12" height="12">-<path fill="currentColor" fill-rule="evenodd" d="M0.0001 5.9182L0.0001 6.0001L0.0001 6.0821C0 8.8444 0 10.2426 0.8788 11.1214C1.0848 11.3274 1.3193 11.4851 1.5932 11.6058C1.5625 11.2148 1.6512 10.8775 1.855 10.6444C1.9344 10.5539 1.9369 10.5501 1.9196 10.398C1.8909 10.149 1.878 9.7805 1.891 9.5427L1.9014 9.3205L1.5679 8.7305C1.0513 7.8115 0.7233 7.0398 0.5967 6.4501C0.5299 6.1268 0.534 5.9834 0.6161 5.8773C0.6661 5.8132 0.8298 5.7469 1.0273 5.7104C1.5245 5.6231 2.6087 5.7021 3.815 5.9151L3.9403 5.9367L4.2156 5.6931C4.6728 5.2883 4.9764 5.0612 5.5363 4.7122C6.1198 4.3471 6.7783 4.0468 7.5198 3.809L7.7578 3.7327L7.8885 3.3893C8.3568 2.1531 8.8364 1.2418 9.1784 0.9386C9.296 0.8331 9.3031 0.829 9.3894 0.8238C9.5292 0.8136 9.6572 0.8807 9.8752 1.0791C10.3844 1.5418 11.0934 2.4931 11.5342 3.3054L11.7045 3.6207L11.9451 3.7403C11.955 3.7453 11.9652 3.7505 11.9756 3.756C11.9193 2.3548 11.7335 1.4908 11.1214 0.8788C10.2426 0 8.8444 0 6.0821 0.0001L6.0001 0.0001L5.9182 0.0001C3.1558 0 1.7576 0 0.8788 0.8788C0 1.7576 0 3.1558 0.0001 5.9182ZM12.0001 5.5869C11.3059 4.9017 10.2729 4.6581 9.3399 4.9737C9.0955 5.0564 8.8304 5.2094 8.3004 5.5154L5.2558 7.2732C4.7258 7.5792 4.4608 7.7322 4.2669 7.9026C3.481 8.5933 3.1852 9.6974 3.5204 10.6886C3.6031 10.9331 3.7561 11.1981 4.0621 11.7281C4.1171 11.8234 4.1672 11.9101 4.2133 11.9894C4.7159 12.0002 5.2807 12.0001 5.9182 12.0001L6.0001 12.0001L6.0821 12.0001C8.8444 12.0002 10.2426 12.0003 11.1214 11.1214C12.0003 10.2426 12.0002 8.8444 12.0001 6.0821L12.0001 6.0001L12.0001 5.9182C12.0001 5.8055 12.0001 5.6951 12.0001 5.5869ZM9.3152 7.2263Q9.5309 7.1018 9.7715 7.1662Q10.0122 7.2307 10.1367 7.4464L10.7843 8.5681Q10.9089 8.7838 10.8444 9.0245Q10.7799 9.2651 10.5642 9.3896Q10.4606 9.4494 10.342 9.465Q10.2234 9.4806 10.1079 9.4497Q9.9923 9.4187 9.8974 9.3459Q9.8025 9.2731 9.7427 9.1695L9.0951 8.0478Q9.0353 7.9442 9.0197 7.8256Q9.0041 7.707 9.035 7.5915Q9.066 7.4759 9.1388 7.381Q9.2116 7.2861 9.3152 7.2263ZM6.5262 9.0398Q6.4107 9.0088 6.2921 9.0244Q6.1735 9.0401 6.0699 9.0999Q5.9663 9.1597 5.8935 9.2546Q5.8207 9.3495 5.7897 9.465Q5.7588 9.5806 5.7744 9.6992Q5.79 9.8177 5.8498 9.9213L6.4974 11.043Q6.6219 11.2588 6.8625 11.3232Q7.1031 11.3877 7.3189 11.2632Q7.4225 11.2033 7.4953 11.1084Q7.5681 11.0135 7.5991 10.898Q7.63 10.7825 7.6144 10.6639Q7.5988 10.5453 7.539 10.4417L6.8914 9.32Q6.8316 9.2164 6.7367 9.1436Q6.6418 9.0708 6.5262 9.0398Z"/>-</svg>diff --git a/third_party/lobe-icons/README b/third_party/lobe-icons/READMEindex 3948c9d5..ab59bd79 100644--- a/third_party/lobe-icons/README+++ b/third_party/lobe-icons/README@@ -1,7 +1,7 @@Lobe Icons==========-This directory contains a vendored snapshot of eight brand mark SVGs from+This directory contains a vendored snapshot of nine brand mark SVGs fromthe Lobe Icons project.Repository: https://github.com/lobehub/lobe-icons@@ -15,6 +15,7 @@ exports that ThinkTerm has no use for, which is why this is a copiedsnapshot rather than a submodule.claude-color.svg Claude Code colored+ codebuddy.svg CodeBuddy Code monochromecopilot-color.svg Copilot CLI coloredkimi-color.svg Kimi Code colored, dark theme onlykimi.svg Kimi Code monochrome, light themediff --git a/third_party/lobe-icons/codebuddy.svg b/third_party/lobe-icons/codebuddy.svgnew file mode 100644index 00000000..53028b93--- /dev/null+++ b/third_party/lobe-icons/codebuddy.svg@@ -0,0 +1 @@+<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>CodeBuddy</title><path d="M18.777 1.647c.28-.02.536.114.972.51 1.018.926 2.437 2.828 3.318 4.452l.34.631.482.24.11.06v3.638a5.206 5.206 0 00-5.32-1.23c-.491.166-1.021.471-2.08 1.082l-6.09 3.516c-1.057.61-1.586.916-1.975 1.259a5.208 5.208 0 00-1.493 5.572c.165.49.471 1.02 1.082 2.08l.315.543h-3.26c-.685 0-1.34-.135-1.939-.377-.169-.956-.009-1.789.469-2.335.158-.18.164-.189.13-.493a11.846 11.846 0 01-.057-1.711l.02-.444-.667-1.18C2.1 15.622 1.445 14.078 1.192 12.9c-.133-.647-.125-.934.04-1.146.1-.128.427-.261.822-.334.994-.175 3.162-.017 5.575.41l.25.043.551-.487c.915-.81 1.522-1.264 2.641-1.962 1.167-.73 2.484-1.331 3.967-1.807l.476-.152.261-.688c.937-2.471 1.896-4.293 2.58-4.9.235-.21.25-.22.422-.23z"></path><path d="M12.139 18.2a1.203 1.203 0 011.642.44l1.296 2.243a1.204 1.204 0 01-2.083 1.203l-1.296-2.243a1.203 1.203 0 01.44-1.644zM18.629 14.452a1.203 1.203 0 011.642.44l1.295 2.244a1.203 1.203 0 11-2.083 1.203l-1.295-2.243a1.203 1.203 0 01.44-1.644z"></path></svg>\ No newline at end of filediff --git a/wezterm-gui/src/termwindow/ui/icons.rs b/wezterm-gui/src/termwindow/ui/icons.rsindex 6feaf0e2..00b1bb31 100644--- a/wezterm-gui/src/termwindow/ui/icons.rs+++ b/wezterm-gui/src/termwindow/ui/icons.rs@@ -421,7 +421,7 @@ impl SvgIcon {Self::Wifi => include_bytes!("../../../../third_party/lucide/icons/wifi.svg"),Self::X => include_bytes!("../../../../third_party/lucide/icons/x.svg"),Self::AgentCodeBuddy => {- include_bytes!("../../../../third_party/codebuddy/codebuddy.svg")+ include_bytes!("../../../../third_party/lobe-icons/codebuddy.svg")}Self::AgentCodex => include_bytes!("../../../../third_party/lobe-icons/openai.svg"),Self::AgentCursor => {