Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(brand-logos): ship only ledgered, unmodified third-party marks (#1013)

Ruben Lütke028ac45aa308
diff --git a/dodaios/marketplace/seed_catalog.json b/dodaios/marketplace/seed_catalog.json
index 45c4b010e8..caade4fb05 100644
--- a/dodaios/marketplace/seed_catalog.json
+++ b/dodaios/marketplace/seed_catalog.json
@@ -138,7 +138,6 @@
"category": "Messaging",
"logo_slug": "slack",
"logo_color": "4A154B",
- "logo_url": "/plugin-assets/slack-logo.svg",
"featured": true,
"longevity": "self_renewing",
"oauth_client_family": "slack",
diff --git a/dodaios/ui/web/frontend/public/THIRD_PARTY_NOTICES.txt b/dodaios/ui/web/frontend/public/THIRD_PARTY_NOTICES.txt
index ab1b747905..1e6811d304 100644
--- a/dodaios/ui/web/frontend/public/THIRD_PARTY_NOTICES.txt
+++ b/dodaios/ui/web/frontend/public/THIRD_PARTY_NOTICES.txt
@@ -297,7 +297,8 @@ SOFTWARE.
Lobe Icons SVG artwork
Source license: https://github.com/lobehub/lobe-icons/blob/49a2130df7bfa5eb1b088261bff20a37e2967789/LICENSE
-The 1.95.1 snapshot covers the recorded Hermes and OpenClaw assets. Earlier SVG
+The 1.95.1 snapshot covers the recorded Hermes and OpenClaw assets; the 1.101.0
+snapshot (@lobehub/icons-static-svg) covers src/assets/agents/zai.svg. Earlier SVG
retrievals did not record a package version; the original per-asset source ledger
is reproduced below without assigning them a guessed version.
@@ -380,7 +381,7 @@ src/assets/brands
| gmail | gilbarbara/logos `google-gmail.svg` | CC0 | 2026-07-25 |
| google_calendar | gilbarbara/logos `google-calendar.svg` | CC0 | 2026-07-25 |
| google_drive | gilbarbara/logos `google-drive.svg` | CC0 | 2026-07-25 |
-| higgsfield | vendor app icon `https://higgsfield.ai/icon.png` (vectorized outline of the official lime-and-snake mark; Higgsfield publishes no SVG) | vendor asset | 2026-08-19 |
+| higgsfield | vendor app icon `https://higgsfield.ai/icon.png`, byte-for-byte (PNG, 192 px; Higgsfield publishes no SVG) | vendor asset | 2026-10-27 |
| home_assistant | svgl `home-assistant.svg` | MIT | 2026-07-25 |
| linear | svgl `linear.svg` (brand purple, legible on dark) | MIT | 2026-07-25 |
| notion | svgl `notion.svg` (the light variant, for dark backgrounds) | MIT | 2026-07-25 |
@@ -534,22 +535,36 @@ src/assets/editors
| Asset | Source | License |
| --- | --- | --- |
| `vscode.svg` | [gilbarbara/logos visual-studio-code](https://raw.githubusercontent.com/gilbarbara/logos/37a6b807fd71c622efea27a9309b5d4edc792969/logos/visual-studio-code.svg) | CC0 (drawing) |
-| `cursor.svg` | Redrawn from the app icon Cursor ships in its installer (`resources/app/out/media/logo.png`): the shaded cube on its black tile | Trademark of Anysphere |
+| `cursor.svg` | [Simple Icons cursor](https://cdn.jsdelivr.net/npm/[email protected]/icons/cursor.svg), byte-for-byte; drawn as a mask over the menu's text ink | CC0 (drawing) |
----------------------------------------------------------------------
-Public SVG copies
+src/assets/agents
-Verified recorded provenance:
-public/provider-logos/grok.svg is the gilbarbara/logos grok-icon, CC0, recolored
-for monochrome display. This source is recorded in repository commit
-66ef6534352531ac03dbc750e30cd66fc13c3dbe.
+| agent | Source | Legal basis | Render | Added |
+| --- | --- | --- | --- | --- |
+| cursor | simple-icons 16.30.0 `icons/cursor.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| deepseek | simple-icons 16.30.0 `icons/deepseek.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| kimi | simple-icons 16.30.0 `icons/kimi.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| opencode | simple-icons 16.30.0 `icons/opencode.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| zai | lobehub/lobe-icons, `@lobehub/icons-static-svg` 1.101.0 `icons/zai.svg` (root width/height/style dropped) | MIT | mono | 2026-10-27 |
+
+Claude, Codex (OpenAI), Antigravity and Grok (xAI) agent marks reuse the
+src/assets/providers files recorded above.
+
+----------------------------------------------------------------------
+
+public/plugin-assets
+
+| Asset | Source | Legal basis | Added |
+| --- | --- | --- | --- |
+| `agentmail.ico` | AgentMail's own favicon, `https://www.agentmail.to/favicon.ico`, byte-for-byte (same source as `src/assets/brands/agentmail.png`) | vendor asset | 2026-09-10 |
-The original retrieval source and drawing license were not recorded for the
-remaining public/provider-logos and public/agent-logos SVGs, or for
-public/plugin-assets/slack-logo.svg. Their provenance remains unverified;
-the source ledgers above do not assign a license to these separate files.
-Vendor names and trademarks belong to their owners.
+The former public/provider-logos and public/agent-logos copies and
+public/plugin-assets/slack-logo.svg, whose sources were never recorded, have
+been removed. The app now draws those marks from the ledgered src/assets files
+above, unmodified; single-colour marks render in neutral monochrome. Vendor
+names and trademarks belong to their owners.
----------------------------------------------------------------------
diff --git a/dodaios/ui/web/frontend/public/agent-logos/cursor.svg b/dodaios/ui/web/frontend/public/agent-logos/cursor.svg
deleted file mode 100644
index c37b601034..0000000000
--- a/dodaios/ui/web/frontend/public/agent-logos/cursor.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Cursor</title><path d="M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/public/agent-logos/deepseek.svg b/dodaios/ui/web/frontend/public/agent-logos/deepseek.svg
deleted file mode 100644
index 3b058c5de1..0000000000
--- a/dodaios/ui/web/frontend/public/agent-logos/deepseek.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>DeepSeek</title><path d="M23.748 4.651c-.254-.124-.364.113-.512.233-.051.04-.094.09-.137.137-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.155-.708-.311-.955-.65-.172-.24-.219-.509-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.094.172.187.129.323-.082.28-.18.553-.266.833-.055.179-.137.218-.328.14a5.5 5.5 0 0 1-1.737-1.179c-.857-.828-1.631-1.743-2.597-2.46a12 12 0 0 0-.689-.47c-.985-.957.13-1.743.387-1.836.27-.098.094-.433-.778-.428-.872.003-1.67.295-2.687.685a3 3 0 0 1-.465.136 9.6 9.6 0 0 0-2.883-.101c-1.885.21-3.39 1.1-4.497 2.622C.082 8.776-.231 10.854.152 13.02c.403 2.284 1.568 4.175 3.36 5.653 1.857 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.132-.284 4.994-1.86.47.234.962.328 1.78.398.629.058 1.235-.031 1.705-.129.735-.155.684-.836.418-.961-2.155-1.004-1.682-.595-2.112-.926 1.095-1.295 2.768-3.598 3.284-6.733.05-.346.115-.834.108-1.114-.004-.171.035-.238.23-.257a4.2 4.2 0 0 0 1.545-.475c1.397-.763 1.96-2.016 2.093-3.517.02-.23-.004-.467-.247-.588M11.58 18.168c-2.088-1.642-3.101-2.183-3.52-2.16-.39.024-.32.472-.234.763.09.288.207.487.371.74.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.168-1.361-.801-2.5-1.86-3.301-3.306-.775-1.393-1.225-2.888-1.299-4.482-.02-.385.094-.522.477-.592a4.7 4.7 0 0 1 1.53-.038c2.131.311 3.946 1.264 5.467 2.774.868.86 1.525 1.887 2.202 2.89.72 1.066 1.494 2.082 2.48 2.915.348.291.626.513.892.677-.802.09-2.14.109-3.055-.615zm1.001-6.44a.306.306 0 0 1 .415-.287.3.3 0 0 1 .113.074.3.3 0 0 1 .086.214c0 .17-.136.307-.308.307a.303.303 0 0 1-.306-.307m3.11 1.596c-.2.081-.4.151-.591.16a1.25 1.25 0 0 1-.798-.254c-.274-.23-.47-.358-.551-.758a1.7 1.7 0 0 1 .015-.588c.07-.327-.007-.537-.238-.727-.188-.156-.426-.199-.689-.199a.6.6 0 0 1-.254-.078.253.253 0 0 1-.114-.358 1 1 0 0 1 .192-.21c.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.392.451.462.576.685.915.176.264.336.536.446.848.066.194-.02.353-.25.45"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/public/agent-logos/grok.svg b/dodaios/ui/web/frontend/public/agent-logos/grok.svg
deleted file mode 100644
index 9ed45d1c2e..0000000000
--- a/dodaios/ui/web/frontend/public/agent-logos/grok.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M395.479 633.828L735.91 381.105C752.599 368.715 776.454 373.548 784.406 392.792C826.26 494.285 807.561 616.253 724.288 699.996C641.016 783.739 525.151 802.104 419.247 760.277L303.556 814.143C469.49 928.202 670.987 899.995 796.901 773.282C896.776 672.843 927.708 535.937 898.785 412.476L899.047 412.739C857.105 231.37 909.358 158.874 1016.4 10.6326C1018.93 7.11771 1021.47 3.60279 1024 0L883.144 141.651V141.212L395.392 633.916" fill="#F4F4F5"/>
-<path d="M325.226 695.251C206.128 580.84 226.662 403.776 328.285 301.668C403.431 226.097 526.549 195.254 634.026 240.596L749.454 186.994C728.657 171.88 702.007 155.623 671.424 144.2C533.19 86.9942 367.693 115.465 255.323 228.382C147.234 337.081 113.244 504.215 171.613 646.833C215.216 753.423 143.739 828.818 71.7385 904.916C46.2237 931.893 20.6216 958.87 0 987.429L325.139 695.339" fill="#F4F4F5"/>
-</svg>
diff --git a/dodaios/ui/web/frontend/public/agent-logos/kimi.svg b/dodaios/ui/web/frontend/public/agent-logos/kimi.svg
deleted file mode 100644
index fd5e4c5a3d..0000000000
--- a/dodaios/ui/web/frontend/public/agent-logos/kimi.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M21.7202 0.939941C22.9502 0.939941 23.9502 1.93994 23.9502 3.16994C23.9502 4.39994 22.9502 5.39994 21.7202 5.39994H19.7502C19.6002 5.39994 19.4902 5.27994 19.4902 5.13994V3.16994C19.4902 1.93994 20.4902 0.939941 21.7202 0.939941Z" fill="#1783FF"/>
- <path d="M9.39 13.9501L17.82 5.59012C17.98 5.43012 17.89 5.12012 17.68 5.12012H13.14C13.14 5.12012 13.04 5.14012 13 5.18012L3.92 14.1901C3.78 14.3301 3.57 14.2101 3.57 13.9801V5.39012C3.57 5.24012 3.47 5.12012 3.35 5.12012H0.219999C0.0999993 5.12012 0 5.24012 0 5.39012V23.9201C0 24.0701 0.0999993 24.1901 0.219999 24.1901H3.35C3.47 24.1901 3.57 24.0701 3.57 23.9201V20.1401C3.57 20.0601 3.6 19.9801 3.65 19.9301L6.47 17.1401C6.54 17.0701 6.63 17.0601 6.71 17.1101L14.24 22.6501C15.47 23.4801 16.85 23.9901 18.25 24.1401C18.37 24.1501 18.48 24.0301 18.48 23.8701V20.3101C18.48 20.1701 18.4 20.0601 18.29 20.0501C17.47 19.9201 16.66 19.6001 15.94 19.1101L9.42 14.3901C9.28 14.3001 9.27 14.0701 9.39 13.9501Z" fill="white"/>
-</svg>
diff --git a/dodaios/ui/web/frontend/public/agent-logos/opencode.svg b/dodaios/ui/web/frontend/public/agent-logos/opencode.svg
deleted file mode 100644
index e4be0cdf52..0000000000
--- a/dodaios/ui/web/frontend/public/agent-logos/opencode.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg">
- <g transform="translate(30 0)">
- <g clip-path="url(#opencode-clip)">
- <mask id="opencode-mask" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="240" height="300">
- <path d="M240 0H0V300H240V0Z" fill="white"/>
- </mask>
- <g mask="url(#opencode-mask)">
- <path d="M180 240H60V120H180V240Z" fill="#4B4646"/>
- <path d="M180 60H60V240H180V60ZM240 300H0V0H240V300Z" fill="#F1ECEC"/>
- </g>
- </g>
- </g>
- <defs>
- <clipPath id="opencode-clip">
- <rect width="240" height="300" fill="white"/>
- </clipPath>
- </defs>
-</svg>
diff --git a/dodaios/ui/web/frontend/public/agent-logos/zai.svg b/dodaios/ui/web/frontend/public/agent-logos/zai.svg
deleted file mode 100644
index 8a41b27a53..0000000000
--- a/dodaios/ui/web/frontend/public/agent-logos/zai.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30">
- <path d="M24.51 28.51H5.49a4 4 0 0 1-4-4V5.49a4 4 0 0 1 4-4h19.03a4 4 0 0 1 4 4v19.03a4 4 0 0 1-4.01 3.99Z" fill="#2D2D2D" stroke="#FFFFFF" stroke-width=".6317"/>
- <path d="m15.47 7.1-1.3 1.85c-.2.29-.54.47-.9.47h-7.1V7.09l9.3.01Zm8.83 0L13.14 22.91H5.7L16.86 7.1H24.3Zm-9.77 15.81 1.31-1.86c.2-.29.54-.47.9-.47h7.09v2.33h-9.3Z" fill="#FFFFFF"/>
-</svg>
diff --git a/dodaios/ui/web/frontend/public/plugin-assets/LOGOS.md b/dodaios/ui/web/frontend/public/plugin-assets/LOGOS.md
new file mode 100644
index 0000000000..7ae438decb
--- /dev/null
+++ b/dodaios/ui/web/frontend/public/plugin-assets/LOGOS.md
@@ -0,0 +1,14 @@
+# Public plugin marks
+
+Files here are served verbatim at `/plugin-assets/…` so a plugin manifest's
+`logo_url` can point at them. The Plugins and Marketplace views prefer the
+ledgered mark in `src/assets/brands/` whenever one exists; a file here is only
+the manifest's own reference. Every logo file needs a row below, and
+`scripts/ci/check_brand_logos.py` fails on one without it.
+
+Every mark belongs to its owner and is used solely to identify the service a
+plugin connects to (nominative use). It does not imply endorsement.
+
+| Asset | Source | Legal basis | Added |
+| --- | --- | --- | --- |
+| `agentmail.ico` | AgentMail's own favicon, `https://www.agentmail.to/favicon.ico`, byte-for-byte (same source as `src/assets/brands/agentmail.png`) | vendor asset | 2026-09-10 |
diff --git a/dodaios/ui/web/frontend/public/plugin-assets/slack-logo.svg b/dodaios/ui/web/frontend/public/plugin-assets/slack-logo.svg
deleted file mode 100644
index b552138631..0000000000
--- a/dodaios/ui/web/frontend/public/plugin-assets/slack-logo.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="73 73 124 124" aria-label="Slack" role="img">
- <path d="M99.4 168.3a13.1 13.1 0 1 1-13.1-13.1h13.1zM105.9 168.3a13.1 13.1 0 0 1 26.2 0v32.8a13.1 13.1 0 0 1-26.2 0z" fill="#E01E5A"/>
- <path d="M118.9 99.4A13.1 13.1 0 1 1 132 86.3v13.1zM118.9 105.9a13.1 13.1 0 0 1 0 26.2H86.1a13.1 13.1 0 0 1 0-26.2z" fill="#36C5F0"/>
- <path d="M170.6 118.9A13.1 13.1 0 1 1 183.7 132h-13.1zM164.1 118.9a13.1 13.1 0 0 1-26.2 0V86.1a13.1 13.1 0 0 1 26.2 0z" fill="#2EB67D"/>
- <path d="M151.1 170.6a13.1 13.1 0 1 1-13.1 13.1v-13.1zM151.1 164.1a13.1 13.1 0 0 1 0-26.2h32.8a13.1 13.1 0 0 1 0 26.2z" fill="#ECB22E"/>
-</svg>
diff --git a/dodaios/ui/web/frontend/public/provider-logos/antigravity.svg b/dodaios/ui/web/frontend/public/provider-logos/antigravity.svg
deleted file mode 100644
index 4b57abfbe4..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/antigravity.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#F4F4F5" d="M19.94 20.59c1.09.82 2.73.27 1.23-1.23C16.67 15 17.62 3 12.03 3S7.39 15 2.89 19.36c-1.64 1.64.14 2.05 1.23 1.23c4.23-2.86 3.95-7.91 7.91-7.91s3.68 5.05 7.91 7.91"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/public/provider-logos/claude.svg b/dodaios/ui/web/frontend/public/provider-logos/claude.svg
deleted file mode 100644
index 5afba8ed11..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/claude.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Claude</title><path d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/public/provider-logos/gemini.svg b/dodaios/ui/web/frontend/public/provider-logos/gemini.svg
deleted file mode 100644
index b1e2cc4820..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/gemini.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Gemini</title><path d="M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/public/provider-logos/grok.svg b/dodaios/ui/web/frontend/public/provider-logos/grok.svg
deleted file mode 100644
index 46caced8b1..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/grok.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 246" role="img"><title>Grok</title><path fill="#F4F4F5" d="M63.831 56.843C91.299 29.363 131.465 21.978 165.542 34.973l2.314.917c7.645 2.844 14.309 6.89 19.507 10.651l-28.857 13.342C131.637 48.597 100.857 56.274 82.071 75.083c-25.405 25.414-30.539 69.484-.764 97.96L0 245.764c4.296-5.923 9.457-11.573 14.749-17.178l5.816-6.13 2.608-2.775c15.531-16.654 28.81-33.77 20.496-56.708l-.766-1.981C28.311 125.496 36.809 83.897 63.831 56.843zm156.955-21.587L256 0l-10.128 14.069c-21.094 29.716-30.456 48.424-21.11 88.659c7.231 30.728-.502 64.803-25.47 89.802C167.747 224.003 117.373 231.023 75.889 202.635l28.923-13.407c26.476 10.41 55.442 5.839 76.26-15.003 20.818-20.843 25.493-51.2 15.03-76.461-1.988-4.79-7.952-5.993-12.125-2.91L98.87 157.755 220.786 35.147z"/></svg>
diff --git a/dodaios/ui/web/frontend/public/provider-logos/nvidia.svg b/dodaios/ui/web/frontend/public/provider-logos/nvidia.svg
deleted file mode 100644
index d218c7a999..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/nvidia.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>NVIDIA</title><path d="M8.948 8.798v-1.43a6.7 6.7 0 0 1 .424-.018c3.922-.124 6.493 3.374 6.493 3.374s-2.774 3.851-5.75 3.851c-.398 0-.787-.062-1.158-.185v-4.346c1.528.185 1.837.857 2.747 2.385l2.04-1.714s-1.492-1.952-4-1.952a6.016 6.016 0 0 0-.796.035m0-4.735v2.138l.424-.027c5.45-.185 9.01 4.47 9.01 4.47s-4.08 4.964-8.33 4.964c-.37 0-.733-.035-1.095-.097v1.325c.3.035.61.062.91.062 3.957 0 6.82-2.023 9.593-4.408.459.371 2.34 1.263 2.73 1.652-2.633 2.208-8.772 3.984-12.253 3.984-.335 0-.653-.018-.971-.053v1.864H24V4.063zm0 10.326v1.131c-3.657-.654-4.673-4.46-4.673-4.46s1.758-1.944 4.673-2.262v1.237H8.94c-1.528-.186-2.73 1.245-2.73 1.245s.68 2.412 2.739 3.11M2.456 10.9s2.164-3.197 6.5-3.533V6.201C4.153 6.59 0 10.653 0 10.653s2.35 6.802 8.948 7.42v-1.237c-4.84-.6-6.492-5.936-6.492-5.936z"/></svg>
diff --git a/dodaios/ui/web/frontend/public/provider-logos/openai.svg b/dodaios/ui/web/frontend/public/provider-logos/openai.svg
deleted file mode 100644
index 856c5ee2d5..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/openai.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#F4F4F5" d="M22.282 9.821a6 6 0 0 0-.516-4.91a6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a6 6 0 0 0-3.998 2.9a6.05 6.05 0 0 0 .743 7.097a5.98 5.98 0 0 0 .51 4.911a6.05 6.05 0 0 0 6.515 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206a6 6 0 0 0 3.997-2.9a6.06 6.06 0 0 0-.747-7.073M13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081l4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085l4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354l-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667m2.01-3.023l-.141-.085l-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.8.8 0 0 0-.393.681zm1.097-2.365l2.602-1.5l2.607 1.5v2.999l-2.597 1.5l-2.607-1.5Z"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/public/provider-logos/openrouter.svg b/dodaios/ui/web/frontend/public/provider-logos/openrouter.svg
deleted file mode 100644
index 5b8af63282..0000000000
--- a/dodaios/ui/web/frontend/public/provider-logos/openrouter.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>OpenRouter</title><path d="M16.778 1.844v1.919q-.569-.026-1.138-.032-.708-.008-1.415.037c-1.93.126-4.023.728-6.149 2.237-2.911 2.066-2.731 1.95-4.14 2.75-.396.223-1.342.574-2.185.798-.841.225-1.753.333-1.751.333v4.229s.768.108 1.61.333c.842.224 1.789.575 2.185.799 1.41.798 1.228.683 4.14 2.75 2.126 1.509 4.22 2.11 6.148 2.236.88.058 1.716.041 2.555.005v1.918l7.222-4.168-7.222-4.17v2.176c-.86.038-1.611.065-2.278.021-1.364-.09-2.417-.357-3.979-1.465-2.244-1.593-2.866-2.027-3.68-2.508.889-.518 1.449-.906 3.822-2.59 1.56-1.109 2.614-1.377 3.978-1.466.667-.044 1.418-.017 2.278.02v2.176L24 6.014Z"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/agents/LOGOS.md b/dodaios/ui/web/frontend/src/assets/agents/LOGOS.md
new file mode 100644
index 0000000000..a5992074b5
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/assets/agents/LOGOS.md
@@ -0,0 +1,32 @@
+# Coding-agent marks
+
+The marks of the terminal coding agents a workspace pane can run (Cursor,
+DeepSeek, Kimi, OpenCode, Z.ai), bundled so a pane header, an agent picker and
+the tool chips render offline. Agents whose vendor is also a provider family
+(Claude, Codex, Antigravity, Grok) reuse the files in `../providers/` instead
+of keeping a copy here.
+
+Every mark belongs to its owner and is used **solely to identify the agent a
+pane runs** (nominative use). It does not imply that the owner endorses,
+sponsors or is affiliated with this project. If you own a mark listed here and
+want it removed, open an issue and it will be taken out.
+
+> A CC0 or MIT licence on an SVG settles the **copyright in the drawing**. It
+> does not grant **trademark** rights, and no entry below claims otherwise.
+
+## Rules
+
+* Files are taken unmodified from the recorded source. The only edit allowed is
+ dropping root-level `width`/`height`/`style`, because the tile sizes the mark.
+* Every file here is a single-colour glyph. It is drawn as a CSS mask over the
+ current text ink (neutral monochrome), never in a palette colour of ours.
+* `scripts/ci/check_brand_logos.py` fails on a file without a row, and on a row
+ that describes a redrawn or recoloured mark.
+
+| agent | Source | Legal basis | Render | Added |
+| --- | --- | --- | --- | --- |
+| cursor | simple-icons 16.30.0 `icons/cursor.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| deepseek | simple-icons 16.30.0 `icons/deepseek.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| kimi | simple-icons 16.30.0 `icons/kimi.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| opencode | simple-icons 16.30.0 `icons/opencode.svg` (byte-for-byte) | CC0-1.0 | mono | 2026-10-27 |
+| zai | lobehub/lobe-icons, `@lobehub/icons-static-svg` 1.101.0 `icons/zai.svg` (root width/height/style dropped) | MIT | mono | 2026-10-27 |
diff --git a/dodaios/ui/web/frontend/src/assets/agents/cursor.svg b/dodaios/ui/web/frontend/src/assets/agents/cursor.svg
new file mode 100644
index 0000000000..61303fbcc3
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/assets/agents/cursor.svg
@@ -0,0 +1 @@
+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Cursor</title><path d="M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/agents/deepseek.svg b/dodaios/ui/web/frontend/src/assets/agents/deepseek.svg
new file mode 100644
index 0000000000..e19a4597fe
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/assets/agents/deepseek.svg
@@ -0,0 +1 @@
+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>DeepSeek</title><path d="M23.748 4.651c-.254-.124-.364.113-.512.233-.051.04-.094.09-.137.137-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.155-.708-.311-.955-.65-.172-.24-.219-.509-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.094.172.187.129.323-.082.28-.18.553-.266.833-.055.179-.137.218-.328.14a5.5 5.5 0 0 1-1.737-1.179c-.857-.828-1.631-1.743-2.597-2.46a12 12 0 0 0-.689-.47c-.985-.957.13-1.743.387-1.836.27-.098.094-.433-.778-.428-.872.003-1.67.295-2.687.685a3 3 0 0 1-.465.136 9.6 9.6 0 0 0-2.883-.101c-1.885.21-3.39 1.1-4.497 2.622C.082 8.776-.231 10.854.152 13.02c.403 2.284 1.568 4.175 3.36 5.653 1.857 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.132-.284 4.994-1.86.47.234.962.328 1.78.398.629.058 1.235-.031 1.705-.129.735-.155.684-.836.418-.961-2.155-1.004-1.682-.595-2.112-.926 1.095-1.295 2.768-3.598 3.284-6.733.05-.346.115-.834.108-1.114-.004-.171.035-.238.23-.257a4.2 4.2 0 0 0 1.545-.475c1.397-.763 1.96-2.016 2.093-3.517.02-.23-.004-.467-.247-.588M11.58 18.168c-2.088-1.642-3.101-2.183-3.52-2.16-.39.024-.32.472-.234.763.09.288.207.487.371.74.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.168-1.361-.801-2.5-1.86-3.301-3.306-.775-1.393-1.225-2.888-1.299-4.482-.02-.385.094-.522.477-.592a4.7 4.7 0 0 1 1.53-.038c2.131.311 3.946 1.264 5.467 2.774.868.86 1.525 1.887 2.202 2.89.72 1.066 1.494 2.082 2.48 2.915.348.291.626.513.892.677-.802.09-2.14.109-3.055-.615zm1.001-6.44a.306.306 0 0 1 .415-.287.3.3 0 0 1 .113.074.3.3 0 0 1 .086.214c0 .17-.136.307-.308.307a.303.303 0 0 1-.306-.307m3.11 1.596c-.2.081-.4.151-.591.16a1.25 1.25 0 0 1-.798-.254c-.274-.23-.47-.358-.551-.758a1.7 1.7 0 0 1 .015-.588c.07-.327-.007-.537-.238-.727-.188-.156-.426-.199-.689-.199a.6.6 0 0 1-.254-.078.253.253 0 0 1-.114-.358 1 1 0 0 1 .192-.21c.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.392.451.462.576.685.915.176.264.336.536.446.848.066.194-.02.353-.25.45"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/agents/kimi.svg b/dodaios/ui/web/frontend/src/assets/agents/kimi.svg
new file mode 100644
index 0000000000..815a87a0ed
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/assets/agents/kimi.svg
@@ -0,0 +1 @@
+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Kimi</title><path d="M21.765.351C22.998.351 24 1.353 24 2.586S22.998 4.82 21.765 4.82h-1.974c-.15 0-.26-.12-.26-.26V2.586A2.237 2.237 0 0 1 21.765.35M9.41 13.388l8.447-8.377c.16-.16.07-.471-.14-.471h-4.55s-.1.02-.14.06l-9.099 9.029c-.14.14-.35.02-.35-.21V4.81c0-.15-.1-.27-.221-.27H.22c-.12 0-.22.12-.22.27v18.57c0 .15.1.27.22.27h3.137c.12 0 .22-.12.22-.27v-3.79c0-.08.03-.16.08-.21l2.826-2.796c.07-.07.16-.08.241-.03l7.546 5.551a8.9 8.9 0 0 0 4.018 1.493c.12.01.23-.11.23-.27V19.76c0-.14-.08-.25-.19-.26a5.8 5.8 0 0 1-2.355-.942l-6.533-4.73c-.14-.09-.15-.32-.03-.441"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/agents/opencode.svg b/dodaios/ui/web/frontend/src/assets/agents/opencode.svg
new file mode 100644
index 0000000000..1e0da06f97
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/assets/agents/opencode.svg
@@ -0,0 +1 @@
+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>OpenCode</title><path d="M22 24H2V0h20zM17 4.8H7v14.4h10z"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/agents/zai.svg b/dodaios/ui/web/frontend/src/assets/agents/zai.svg
new file mode 100644
index 0000000000..b6fe1f5aad
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/assets/agents/zai.svg
@@ -0,0 +1 @@
+<svg fill="currentColor" fill-rule="evenodd" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Z.ai</title><path d="M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"></path></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/brands/LOGOS.md b/dodaios/ui/web/frontend/src/assets/brands/LOGOS.md
index a1089bf42f..2d949c8603 100644
--- a/dodaios/ui/web/frontend/src/assets/brands/LOGOS.md
+++ b/dodaios/ui/web/frontend/src/assets/brands/LOGOS.md
@@ -80,7 +80,7 @@ we could not obtain. Record it below with `own work` as the legal basis.
| gmail | gilbarbara/logos `google-gmail.svg` | CC0 | 2026-07-25 |
| google_calendar | gilbarbara/logos `google-calendar.svg` | CC0 | 2026-07-25 |
| google_drive | gilbarbara/logos `google-drive.svg` | CC0 | 2026-07-25 |
-| higgsfield | vendor app icon `https://higgsfield.ai/icon.png` (vectorized outline of the official lime-and-snake mark; Higgsfield publishes no SVG) | vendor asset | 2026-08-19 |
+| higgsfield | vendor app icon `https://higgsfield.ai/icon.png`, byte-for-byte (PNG, 192 px; Higgsfield publishes no SVG) | vendor asset | 2026-10-27 |
| home_assistant | svgl `home-assistant.svg` | MIT | 2026-07-25 |
| linear | svgl `linear.svg` (brand purple, legible on dark) | MIT | 2026-07-25 |
| notion | svgl `notion.svg` (the light variant, for dark backgrounds) | MIT | 2026-07-25 |
diff --git a/dodaios/ui/web/frontend/src/assets/brands/higgsfield.png b/dodaios/ui/web/frontend/src/assets/brands/higgsfield.png
new file mode 100644
index 0000000000..0740b95039
Binary files /dev/null and b/dodaios/ui/web/frontend/src/assets/brands/higgsfield.png differ
diff --git a/dodaios/ui/web/frontend/src/assets/brands/higgsfield.svg b/dodaios/ui/web/frontend/src/assets/brands/higgsfield.svg
deleted file mode 100644
index dd97fc96de..0000000000
--- a/dodaios/ui/web/frontend/src/assets/brands/higgsfield.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 192">
-<rect width="192" height="192" rx="20" fill="#D1FE17"/>
-<path fill="#131313" d="M70 33L80 33L91 40L93 57L88 66L78 76L56 93L54 97L55 105L62 110L71 107L95 78L109 65L123 60L134 62L147 74L153 94L165 95L165 110L153 111L150 130L142 146L130 156L114 158L105 154L97 142L99 126L110 110L120 102L140 94L139 86L131 78L121 77L110 82L81 117L70 126L56 128L42 120L37 107L39 94L53 78L76 61L80 51L72 45L50 63L40 67L26 65L26 52L40 52L61 36L69 34Z"/>
-</svg>
diff --git a/dodaios/ui/web/frontend/src/assets/editors/LOGOS.md b/dodaios/ui/web/frontend/src/assets/editors/LOGOS.md
index bfe1f0b1a5..2f137958e7 100644
--- a/dodaios/ui/web/frontend/src/assets/editors/LOGOS.md
+++ b/dodaios/ui/web/frontend/src/assets/editors/LOGOS.md
@@ -12,4 +12,4 @@ a mark listed here and want it removed, open an issue and it will be taken out.
| Asset | Source | License |
| --- | --- | --- |
| `vscode.svg` | [gilbarbara/logos visual-studio-code](https://raw.githubusercontent.com/gilbarbara/logos/37a6b807fd71c622efea27a9309b5d4edc792969/logos/visual-studio-code.svg) | CC0 (drawing) |
-| `cursor.svg` | Redrawn from the app icon Cursor ships in its installer (`resources/app/out/media/logo.png`): the shaded cube on its black tile | Trademark of Anysphere |
+| `cursor.svg` | [Simple Icons cursor](https://cdn.jsdelivr.net/npm/[email protected]/icons/cursor.svg), byte-for-byte; drawn as a mask over the menu's text ink | CC0 (drawing) |
diff --git a/dodaios/ui/web/frontend/src/assets/editors/cursor.svg b/dodaios/ui/web/frontend/src/assets/editors/cursor.svg
index 5756c47c70..61303fbcc3 100644
--- a/dodaios/ui/web/frontend/src/assets/editors/cursor.svg
+++ b/dodaios/ui/web/frontend/src/assets/editors/cursor.svg
@@ -1,20 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <title>Cursor</title>
- <defs>
- <linearGradient id="top-left" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#9b9b9b"/><stop offset="1" stop-color="#3a3a3a"/></linearGradient>
- <linearGradient id="top-right" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#121212"/><stop offset="1" stop-color="#5a5a5a"/></linearGradient>
- <linearGradient id="left" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#565656"/><stop offset="1" stop-color="#2c2c2c"/></linearGradient>
- <linearGradient id="bottom-left" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#5a5a5a"/><stop offset="1" stop-color="#d2d2d2"/></linearGradient>
- <linearGradient id="right" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#1c1c1c"/><stop offset="1" stop-color="#3c3c3c"/></linearGradient>
- <linearGradient id="bottom-right" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#9a9a9a"/><stop offset="1" stop-color="#e8e8e8"/></linearGradient>
- </defs>
- <rect width="24" height="24" rx="5.4" fill="#000"/>
- <path d="M12 4.26 5.292 8.13H12z" fill="url(#top-left)"/>
- <path d="M12 4.26V8.13h6.708z" fill="url(#top-right)"/>
- <path d="M5.292 8.13 12 12 5.292 15.87z" fill="url(#left)"/>
- <path d="M5.292 15.87 12 12v7.74z" fill="url(#bottom-left)"/>
- <path d="M18.708 8.13v7.74l-3.32-1.995z" fill="url(#right)"/>
- <path d="M15.388 13.875 18.708 15.87 12 19.74z" fill="url(#bottom-right)"/>
- <path d="M12 12 18.708 8.13 12 19.74z" fill="#e3e3e3"/>
- <path d="M5.292 8.13h13.416L12 12z" fill="#fff"/>
-</svg>
+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Cursor</title><path d="M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"/></svg>
\ No newline at end of file
diff --git a/dodaios/ui/web/frontend/src/assets/tool-brands/LOGOS.md b/dodaios/ui/web/frontend/src/assets/tool-brands/LOGOS.md
index a97e1f46a5..c2f2411df1 100644
--- a/dodaios/ui/web/frontend/src/assets/tool-brands/LOGOS.md
+++ b/dodaios/ui/web/frontend/src/assets/tool-brands/LOGOS.md
@@ -5,7 +5,8 @@ come from gilbarbara/logos; single-colour glyphs come from Simple Icons.
Retrieved 2026-09-07 from the Simple Icons npm package, version 16.30.0.
The glyphs are CC0; the brand names and trademarks belong to their owners.
These marks identify services and do not imply endorsement. Single-colour
-glyphs use each service's hue; neutral glyphs follow the light/dark theme.
+glyphs render in neutral monochrome (the current text ink, so they follow the
+light/dark theme); they are never tinted with a palette colour of ours.
| Asset | Source | License |
| --- | --- | --- |
diff --git a/dodaios/ui/web/frontend/src/components/agentchat/ToolChoiceChips.tsx b/dodaios/ui/web/frontend/src/components/agentchat/ToolChoiceChips.tsx
index 5219283a06..6ede59342c 100644
--- a/dodaios/ui/web/frontend/src/components/agentchat/ToolChoiceChips.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentchat/ToolChoiceChips.tsx
@@ -12,7 +12,6 @@ export function ToolChoiceIcon({ row, size = 20 }: { row: ToolChoice; size?: num
return (
<span
className="tool-choice-icon"
- data-plate={mark === "plate"}
style={{ width: size, height: size }}
aria-hidden
>
diff --git a/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.css b/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.css
index 61087a09a6..1eae1918e2 100644
--- a/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.css
+++ b/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.css
@@ -78,19 +78,15 @@
height: 100%;
object-fit: contain;
}
-.tool-choice-icon[data-plate="true"] {
- border-radius: 3px;
- background: hsl(var(--foreground));
- padding: 1px;
-}
-.dark .tool-choice-icon[data-plate="true"] {
- background: hsl(var(--secondary));
-}
+/* A single-colour brand glyph renders in neutral monochrome — the plain text
+ ink — never in the chip's brand-hue ink: a vendor glyph recoloured to one of
+ our palette colours is a modified logo (brand guidelines and nominative use
+ both require the mark as provided). */
.tool-choice-mask {
display: block;
width: 100%;
height: 100%;
- background: currentColor;
+ background: hsl(var(--foreground));
mask: var(--tool-logo) center / contain no-repeat;
-webkit-mask: var(--tool-logo) center / contain no-repeat;
}
diff --git a/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.test.tsx b/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.test.tsx
index fb17d4a017..38ee8d4d2d 100644
--- a/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.test.tsx
@@ -69,6 +69,17 @@ describe("tool visual identities", () => {
expect(amd.mark).toBe("mono");
});
+ it.each(["cursor", "deepseek", "kimi", "opencode", "zai"])(
+ "draws the %s agent glyph from the ledgered folder as a neutral mask",
+ (brand) => {
+ const identity = toolIdentity(row({ id: `cli:${brand}`, brand, label: brand, category: "cli" }));
+ expect(identity.key).toBe(brand);
+ expect(identity.logo).toBeTruthy();
+ expect(identity.logo).not.toMatch(/agent-logos|provider-logos/);
+ expect(identity.mark).toBe("mono");
+ },
+ );
+
it("has a local mark for every shipped marketplace connector", () => {
for (const plugin of seedCatalog.plugins) {
const identity = toolIdentity(
diff --git a/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.ts b/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.ts
index db0c658cd3..10a8f6fb3e 100644
--- a/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.ts
+++ b/dodaios/ui/web/frontend/src/components/agentchat/toolIdentity.ts
@@ -33,16 +33,16 @@ import { brandIdVariants, bundledPluginLogo, isRasterLogo } from "@/lib/pluginLo
import type { ToolCategory, ToolChoice } from "./toolChoices";
type Palette = readonly [string, string];
-type Mark = "colour" | "mono" | "plate";
+type Mark = "colour" | "mono";
interface Brand {
palette: Palette;
aliases?: string[];
mark?: Mark;
- asset?: string;
}
-// Ink pairs retain each brand's hue with contrast on paper and charcoal.
-// Original colour SVGs stay intact; monochrome marks use the text ink.
+// Ink pairs tint the chip around a mark (its wash and selected label), never
+// the mark itself: original colour artwork stays intact and single-colour
+// glyphs render in neutral monochrome (see .tool-choice-mask).
const NEUTRAL: Palette = ["#24292e", "#e6edf3"];
const BLUE: Palette = ["#1558b0", "#8ab4f8"];
const VIOLET: Palette = ["#6840bb", "#c4abff"];
@@ -106,19 +106,14 @@ const BRANDS: Record<string, Brand> = {
cartesia: { palette: GREEN },
inworld: { palette: VIOLET },
xai: { palette: NEUTRAL, mark: "mono", aliases: ["grok", "grok-build"] },
- cursor: { palette: NEUTRAL, mark: "mono", asset: "/agent-logos/cursor.svg" },
- deepseek: {
- palette: BLUE,
- mark: "mono",
- asset: "/agent-logos/deepseek.svg",
- aliases: ["deepseek-harness"],
- },
- kimi: { palette: BLUE, mark: "plate", asset: "/agent-logos/kimi.svg" },
- opencode: { palette: NEUTRAL, mark: "plate", asset: "/agent-logos/opencode.svg" },
- zai: { palette: NEUTRAL, asset: "/agent-logos/zai.svg", aliases: ["glm", "z.ai"] },
+ cursor: { palette: NEUTRAL, mark: "mono" },
+ deepseek: { palette: BLUE, mark: "mono", aliases: ["deepseek-harness"] },
+ kimi: { palette: BLUE, mark: "mono" },
+ opencode: { palette: NEUTRAL, mark: "mono" },
+ zai: { palette: NEUTRAL, mark: "mono", aliases: ["glm", "z.ai"] },
};
-const assets = import.meta.glob("../../assets/{brands,providers,tool-brands,clis}/*.{svg,png}", {
+const assets = import.meta.glob("../../assets/{brands,providers,tool-brands,clis,agents}/*.{svg,png}", {
eager: true,
query: "?url",
import: "default",
@@ -130,13 +125,13 @@ function assetFor(key: string, preferCli = false): string | undefined {
const cli = assets[`../../assets/clis/${cliFile}`] || assets[`../../assets/clis/${id}.svg`];
if (preferCli && cli) return cli;
const found =
- BRANDS[id]?.asset ||
bundledPluginLogo(id) ||
assets[`../../assets/brands/${id}.svg`] ||
assets[`../../assets/brands/${id}.png`] ||
assets[`../../assets/tool-brands/${id}.svg`] ||
assets[`../../assets/providers/${id}.svg`] ||
assets[`../../assets/providers/${id}.png`] ||
+ assets[`../../assets/agents/${id}.svg`] ||
cli;
if (found) return found;
}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/AgentAllocation.test.tsx b/dodaios/ui/web/frontend/src/components/agentic/AgentAllocation.test.tsx
index 86273d263b..9e101d51e9 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/AgentAllocation.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/AgentAllocation.test.tsx
@@ -4,6 +4,12 @@ import { afterEach, describe, expect, it, vi } from "vitest";
import type { AgentAccount } from "@/lib/agentAccountsApi";
import type { AgentStatus } from "@/lib/agenticIdeApi";
import { AgentAllocation, type PlannedTerminal } from "./AgentAllocation";
+import kimiLogo from "@/assets/agents/kimi.svg?url";
+import opencodeLogo from "@/assets/agents/opencode.svg?url";
+import zaiLogo from "@/assets/agents/zai.svg?url";
+import claudeLogo from "@/assets/providers/claude.svg?url";
+import openaiLogo from "@/assets/providers/openai.svg?url";
+import xaiLogo from "@/assets/providers/xai.svg?url";
const COPY: Record<string, string> = {
"workspace_launcher.agents.all": "All",
@@ -160,39 +166,19 @@ describe("AgentAllocation", () => {
// `data-logo` rather than the <img>: a single-colour mark is drawn as a
// CSS mask so it can follow the theme, and jsdom does not model masks.
+ // Every file comes from the ledgered asset folders, not a public copy.
+ const logo = (agent: string) =>
+ screen.getByTestId(`agent-mark-${agent}`).getAttribute("data-logo");
const claudeMark = screen.getByTestId("agent-mark-claude");
- expect(claudeMark.getAttribute("data-logo")).toBe(
- "/provider-logos/claude.svg",
- );
- expect(
- screen.getByTestId("agent-mark-codex").getAttribute("data-logo"),
- ).toBe("/provider-logos/openai.svg");
- expect(
- screen
- .getByTestId("agent-mark-opencode")
- .querySelector("img")
- ?.getAttribute("src"),
- ).toBe("/agent-logos/opencode.svg");
- expect(
- screen
- .getByTestId("agent-mark-kimi")
- .querySelector("img")
- ?.getAttribute("src"),
- ).toBe("/agent-logos/kimi.svg");
- expect(
- screen
- .getByTestId("agent-mark-glm")
- .querySelector("img")
- ?.getAttribute("src"),
- ).toBe("/agent-logos/zai.svg");
- expect(
- screen.getByTestId("agent-mark-grok-build").getAttribute("data-logo"),
- ).toBe("/provider-logos/grok.svg");
+ expect(claudeMark.getAttribute("data-logo")).toBe(claudeLogo);
+ expect(logo("codex")).toBe(openaiLogo);
+ expect(logo("opencode")).toBe(opencodeLogo);
+ expect(logo("kimi")).toBe(kimiLogo);
+ expect(logo("glm")).toBe(zaiLogo);
+ expect(logo("grok-build")).toBe(xaiLogo);
fireEvent.click(screen.getAllByRole("button", { name: "All" })[0]);
- expect(claudeMark.getAttribute("data-logo")).toBe(
- "/provider-logos/claude.svg",
- );
+ expect(claudeMark.getAttribute("data-logo")).toBe(claudeLogo);
});
it("presents a wide keyboard-friendly count field without native spinners", () => {
diff --git a/dodaios/ui/web/frontend/src/components/agentic/AgentMark.test.tsx b/dodaios/ui/web/frontend/src/components/agentic/AgentMark.test.tsx
index e5128eee4f..b87e2684d6 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/AgentMark.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/AgentMark.test.tsx
@@ -2,6 +2,15 @@ import { cleanup, render, screen } from "@testing-library/react";
import { afterEach, describe, expect, it } from "vitest";
import { AgentMark } from "./AgentMark";
+import cursorLogo from "@/assets/agents/cursor.svg?url";
+import deepseekLogo from "@/assets/agents/deepseek.svg?url";
+import kimiLogo from "@/assets/agents/kimi.svg?url";
+import opencodeLogo from "@/assets/agents/opencode.svg?url";
+import zaiLogo from "@/assets/agents/zai.svg?url";
+import antigravityLogo from "@/assets/providers/antigravity.svg?url";
+import claudeLogo from "@/assets/providers/claude.svg?url";
+import openaiLogo from "@/assets/providers/openai.svg?url";
+import xaiLogo from "@/assets/providers/xai.svg?url";
afterEach(cleanup);
@@ -12,7 +21,7 @@ afterEach(cleanup);
* started as, and on the light theme the restore screen showed seven terminals
* with no sign of which CLI each was running (maintainer, 2026-08-11). The
* marks are not all broken the same way, so what is pinned here is the routing:
- * which file gets redrawn in the theme's ink, which one keeps its colours and
+ * which file is drawn in the theme's ink, which one keeps its colours and
* gets the dark ground it was painted against, and which one is left alone.
*
* `data-ground` and `data-logo` are asserted rather than the DOM shape, because
@@ -24,74 +33,42 @@ function mark(agent: string): HTMLElement {
}
describe("AgentMark", () => {
- it("redraws a single-colour silhouette in the theme's own ink", () => {
- // Claude and OpenAI ship as one near-white fill. Nothing about that colour
- // is brand, so the mark is a mask and follows light/dark by itself.
- const { unmount } = render(<AgentMark agent="claude" label="Claude Code" />);
- expect(mark("claude").getAttribute("data-ground")).toBe("ink");
- expect(mark("claude").getAttribute("data-logo")).toBe(
- "/provider-logos/claude.svg",
- );
- // The <img> is what made it invisible on paper; it must be gone.
- expect(mark("claude").querySelector("img")).toBeNull();
- unmount();
-
- const grok = render(<AgentMark agent="grok-build" label="Grok Build" />);
- expect(mark("grok-build").getAttribute("data-ground")).toBe("ink");
- expect(mark("grok-build").getAttribute("data-logo")).toBe(
- "/provider-logos/grok.svg",
- );
- expect(mark("grok-build").querySelector("img")).toBeNull();
- grok.unmount();
-
- render(<AgentMark agent="antigravity" label="Antigravity" />);
- expect(mark("antigravity").getAttribute("data-ground")).toBe("ink");
- expect(mark("antigravity").getAttribute("data-logo")).toBe(
- "/provider-logos/antigravity.svg",
- );
- expect(mark("antigravity").querySelector("img")).toBeNull();
-
- const cursor = render(<AgentMark agent="cursor" label="Cursor CLI" />);
- expect(mark("cursor").getAttribute("data-ground")).toBe("ink");
- expect(mark("cursor").getAttribute("data-logo")).toBe(
- "/agent-logos/cursor.svg",
- );
- expect(mark("cursor").querySelector("img")).toBeNull();
- cursor.unmount();
- });
-
- it("knows the harness whose own interface is not the terminal", () => {
- // Registered like every other CLI, so the picker must not fall back to a
- // two-letter monogram for it — an unbranded tile in a list of brands reads
- // as the entry being half-finished.
- render(<AgentMark agent="deepseek-harness" label="DeepSeek Harness" />);
- expect(mark("deepseek-harness").getAttribute("data-ground")).toBe("ink");
- expect(mark("deepseek-harness").getAttribute("data-logo")).toBe(
- "/agent-logos/deepseek.svg",
- );
- expect(mark("deepseek-harness").querySelector("img")).toBeNull();
+ it.each([
+ ["codex", openaiLogo],
+ ["grok-build", xaiLogo],
+ ["cursor", cursorLogo],
+ ["deepseek-harness", deepseekLogo],
+ ["kimi", kimiLogo],
+ ["opencode", opencodeLogo],
+ ["glm", zaiLogo],
+ ])("draws the single-colour %s glyph in the theme's own ink", (agent, file) => {
+ // A mono glyph is a mask over the text ink: neutral monochrome that follows
+ // light/dark by itself, never a palette colour of ours.
+ render(<AgentMark agent={agent} label={agent} />);
+ expect(mark(agent).getAttribute("data-ground")).toBe("ink");
+ expect(mark(agent).getAttribute("data-logo")).toBe(file);
+ // The <img> is what made a mono mark invisible on paper; it must be gone.
+ expect(mark(agent).querySelector("img")).toBeNull();
});
- it("gives a lockup with a white background the dark ground it was drawn on", () => {
- // OpenCode is a white square with a dark inner shape. On paper the square
- // IS the paper and the mark collapsed to an unlabelled grey dot.
- render(<AgentMark agent="opencode" label="OpenCode" />);
- expect(mark("opencode").getAttribute("data-ground")).toBe("dark");
- expect(mark("opencode").querySelector("img")?.getAttribute("src")).toBe(
- "/agent-logos/opencode.svg",
- );
- expect(mark("opencode").className).toContain("bg-scrim");
+ it.each([
+ ["claude", claudeLogo],
+ ["antigravity", antigravityLogo],
+ ])("draws the %s mark in its own colours, untouched", (agent, file) => {
+ // A full-colour mark on a transparent ground reads on both themes; it is
+ // shown exactly as the vendor drew it rather than flattened to a silhouette.
+ render(<AgentMark agent={agent} label={agent} />);
+ expect(mark(agent).getAttribute("data-ground")).toBe("any");
+ expect(mark(agent).querySelector("img")?.getAttribute("src")).toBe(file);
+ expect(mark(agent).className).not.toContain("bg-scrim");
});
- it("leaves a lockup that carries its own ground untouched", () => {
- // Z.ai is already a dark tile with a white glyph, so it reads on either
- // theme — a canvas behind it would only be a box inside a box.
- render(<AgentMark agent="glm" label="GLM" />);
- expect(mark("glm").getAttribute("data-ground")).toBe("any");
- expect(mark("glm").querySelector("img")?.getAttribute("src")).toBe(
- "/agent-logos/zai.svg",
- );
- expect(mark("glm").className).not.toContain("bg-scrim");
+ it("never points at an unsourced public copy", () => {
+ for (const agent of ["claude", "codex", "cursor", "glm", "grok-build", "kimi", "opencode"]) {
+ const { unmount } = render(<AgentMark agent={agent} label={agent} />);
+ expect(mark(agent).getAttribute("data-logo")).not.toMatch(/provider-logos|agent-logos/);
+ unmount();
+ }
});
it("does not guess a ground for a logo the user uploaded", () => {
@@ -113,7 +90,7 @@ describe("AgentMark", () => {
expect(mark("mystery").textContent).toBe("MY");
});
- it("keeps the plain variant tile-free unless the mark needs a canvas", () => {
+ it("keeps the plain variant tile-free for colour and ink marks alike", () => {
const { unmount } = render(
<AgentMark agent="claude" label="Claude Code" variant="plain" />,
);
@@ -121,6 +98,6 @@ describe("AgentMark", () => {
unmount();
render(<AgentMark agent="kimi" label="Kimi" variant="plain" />);
- expect(mark("kimi").className).toContain("bg-scrim");
+ expect(mark("kimi").className).not.toContain("bg-scrim");
});
});
diff --git a/dodaios/ui/web/frontend/src/components/agentic/AgentMark.tsx b/dodaios/ui/web/frontend/src/components/agentic/AgentMark.tsx
index 344f1d03c0..48de6982b7 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/AgentMark.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/AgentMark.tsx
@@ -3,27 +3,33 @@ import { SquareTerminal } from "lucide-react";
import { cn } from "@/lib/utils";
+import antigravityLogo from "@/assets/providers/antigravity.svg?url";
+import claudeLogo from "@/assets/providers/claude.svg?url";
+import openaiLogo from "@/assets/providers/openai.svg?url";
+import xaiLogo from "@/assets/providers/xai.svg?url";
+import cursorLogo from "@/assets/agents/cursor.svg?url";
+import deepseekLogo from "@/assets/agents/deepseek.svg?url";
+import kimiLogo from "@/assets/agents/kimi.svg?url";
+import opencodeLogo from "@/assets/agents/opencode.svg?url";
+import zaiLogo from "@/assets/agents/zai.svg?url";
+
/**
* What ground a brand file needs in order to be legible.
*
- * Every mark that ships with the app was drawn for the dark product this
- * started as, and they are not all broken in the same way on paper — so one
- * blanket treatment cannot fix them (maintainer, 2026-08-11: a light-mode
- * restore screen showed seven terminals with no sign of which CLI each was
- * running).
+ * Every file comes from a ledgered source (`src/assets/providers/LOGOS.md`,
+ * `src/assets/agents/LOGOS.md`) and is drawn unmodified. A mark is shown either
+ * in its own colours or in neutral monochrome, never recoloured.
*
- * * `ink` — a single-colour silhouette; the file is one `fill="#F4F4F5"` and
- * nothing about that colour is brand. It is drawn as a MASK over the current
- * text ink, so it follows the theme by itself: the same near-white on the
- * dark app, near-black on paper, from one asset and with no theme prop
- * threaded through the tree.
- * * `dark` — a full-colour lockup whose own background is white or near-white
- * (OpenCode's outer square; the body of the Kimi glyph). On paper those
- * shapes ARE the paper, and the mark collapses to whichever fragment happens
- * to be dark — OpenCode became an unlabelled grey dot. These keep their
- * colours and get a constant dark canvas: the ground they were drawn on.
- * * `any` — a lockup that already carries its own ground (Z.ai is a dark tile
- * with a white glyph) and reads on either theme untouched.
+ * * `ink` — a single-colour glyph. It is drawn as a MASK over the current
+ * text ink, so it follows the theme by itself: near-white on the dark app,
+ * near-black on paper, from one asset and with no theme prop threaded
+ * through the tree.
+ * * `dark` — a full-colour lockup whose own background is white or near-white.
+ * On paper those shapes ARE the paper, so it keeps its colours and gets a
+ * constant dark canvas: the ground it was drawn on. No shipped mark needs
+ * it today; it stays for that shape of logo.
+ * * `any` — a full-colour mark on a transparent ground (Claude's spark,
+ * Antigravity's arch) that reads on either theme in its own colours.
*/
type LogoGround = "ink" | "dark" | "any";
@@ -33,15 +39,15 @@ interface LogoAsset {
}
const AGENT_LOGOS: Record<string, LogoAsset> = {
- antigravity: { url: "/provider-logos/antigravity.svg", ground: "ink" },
- claude: { url: "/provider-logos/claude.svg", ground: "ink" },
- codex: { url: "/provider-logos/openai.svg", ground: "ink" },
- cursor: { url: "/agent-logos/cursor.svg", ground: "ink" },
- "deepseek-harness": { url: "/agent-logos/deepseek.svg", ground: "ink" },
- glm: { url: "/agent-logos/zai.svg", ground: "any" },
- "grok-build": { url: "/provider-logos/grok.svg", ground: "ink" },
- kimi: { url: "/agent-logos/kimi.svg", ground: "dark" },
- opencode: { url: "/agent-logos/opencode.svg", ground: "dark" },
+ antigravity: { url: antigravityLogo, ground: "any" },
+ claude: { url: claudeLogo, ground: "any" },
+ codex: { url: openaiLogo, ground: "ink" },
+ cursor: { url: cursorLogo, ground: "ink" },
+ "deepseek-harness": { url: deepseekLogo, ground: "ink" },
+ glm: { url: zaiLogo, ground: "ink" },
+ "grok-build": { url: xaiLogo, ground: "ink" },
+ kimi: { url: kimiLogo, ground: "ink" },
+ opencode: { url: opencodeLogo, ground: "ink" },
};
/**
@@ -176,9 +182,7 @@ export function AgentMark({
/*
* `bg-foreground` rather than `bg-current`: the wrapper's ink is the
* muted channel, which is right for the monogram beside a title and
- * wrong for a brand mark. Foreground is #F4F4F5 on the dark theme —
- * the exact colour the file was authored in, so the dark app is
- * pixel-identical to before this split existed.
+ * too faint for a brand mark. Neutral monochrome either way.
*/
<span
className={cn("block bg-foreground", glyphClass)}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx b/dodaios/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
index 08ce1c5504..c0219984b9 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
@@ -724,7 +724,7 @@ export function IdeProjectTree() {
const items: TreeMenuItem[] = found.editors.map((editor) => {
const installed = editor.installed !== false;
return {
- id: `editor-${editor.id}`, label: fill(t("ide_projects.open_in"), { editor: editor.label }), icon: SquareCode, image: EDITOR_LOGOS[editor.id],
+ id: `editor-${editor.id}`, label: fill(t("ide_projects.open_in"), { editor: editor.label }), icon: SquareCode, image: EDITOR_LOGOS[editor.id], imageMono: MONO_EDITOR_LOGOS.has(editor.id),
testId: `ide-${scope}-menu-editor-${editor.id}`, disabled: !installed, hint: installed ? undefined : t("ide_projects.not_installed"),
onSelect: run(() => void openIn(project.id, editor.id, editor.label)),
};
@@ -913,6 +913,8 @@ const FILE_MANAGER_LABEL = (() => {
const TREE_MENU_MARGIN = 8;
/** Each featured editor's own app icon, in its real colours. */
const EDITOR_LOGOS: Record<string, string> = { code: vscodeLogo, cursor: cursorLogo };
+/** Single-colour editor glyphs (src/assets/editors/LOGOS.md), drawn in the text ink. */
+const MONO_EDITOR_LOGOS = new Set(["cursor"]);
/** One row of the sidebar's action menu. */
interface TreeMenuItem {
@@ -921,6 +923,8 @@ interface TreeMenuItem {
icon: LucideIcon;
/** A brand mark drawn instead of `icon`; greyed out with the item when disabled. */
image?: string;
+ /** The mark is a single-colour glyph: drawn as a mask over the text ink, never recoloured. */
+ imageMono?: boolean;
testId: string;
onSelect: () => void;
disabled?: boolean;
@@ -1042,7 +1046,16 @@ function TreeContextMenu({
: "text-foreground hover:bg-muted focus-visible:bg-muted"
}`}
>
- {item.image
+ {item.image && item.imageMono
+ ? <span aria-hidden data-testid={`${item.testId}-logo`} data-logo={item.image}
+ className={`h-4 w-4 shrink-0 bg-foreground ${item.disabled ? "grayscale" : ""}`}
+ style={{
+ WebkitMaskImage: `url("${item.image}")`, maskImage: `url("${item.image}")`,
+ WebkitMaskRepeat: "no-repeat", maskRepeat: "no-repeat",
+ WebkitMaskPosition: "center", maskPosition: "center",
+ WebkitMaskSize: "contain", maskSize: "contain",
+ }} />
+ : item.image
? <img src={item.image} alt="" aria-hidden draggable={false} data-testid={`${item.testId}-logo`}
className={`h-4 w-4 shrink-0 object-contain ${item.disabled ? "grayscale" : ""}`} />
: <Icon aria-hidden className={`h-4 w-4 shrink-0 ${item.destructive ? "" : "text-muted-foreground"}`} />}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx b/dodaios/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx
index 6fcb0dae8f..d4a79d343c 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx
@@ -12,6 +12,8 @@ import type {
ResumeTerminalOffer,
ResumeWorkspaceOffer,
} from "@/lib/agenticIdeApi";
+import claudeLogo from "@/assets/providers/claude.svg?url";
+import openaiLogo from "@/assets/providers/openai.svg?url";
function pane(
name: string,
@@ -202,13 +204,9 @@ describe("ResumeCard", () => {
// `data-logo` rather than the <img>: both of these are single-colour marks
// and are drawn as a CSS mask so they follow the theme's ink.
const codexMark = screen.getAllByTestId("agent-mark-codex")[0];
- expect(codexMark.getAttribute("data-logo")).toBe(
- "/provider-logos/openai.svg",
- );
+ expect(codexMark.getAttribute("data-logo")).toBe(openaiLogo);
const claudeMark = screen.getAllByTestId("agent-mark-claude")[0];
- expect(claudeMark.getAttribute("data-logo")).toBe(
- "/provider-logos/claude.svg",
- );
+ expect(claudeMark.getAttribute("data-logo")).toBe(claudeLogo);
});
it("shows prompt history count and original grid position on each tile", () => {
diff --git a/dodaios/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.test.tsx b/dodaios/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.test.tsx
index 0c94902900..4be165f67e 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/WorkspaceAgentSetup.test.tsx
@@ -3,6 +3,7 @@ import { cleanup, fireEvent, render, screen, within } from "@testing-library/rea
import { afterEach, describe, expect, it, vi } from "vitest";
import type { AgentStatus } from "@/lib/agenticIdeApi";
import { WorkspaceAgentSetup } from "./WorkspaceAgentSetup";
+import openaiLogo from "@/assets/providers/openai.svg?url";
vi.mock("@/lib/agenticIdeApi", () => ({
fetchLaunchPresets: vi.fn().mockResolvedValue({ presets: [], stored: true }),
@@ -26,7 +27,7 @@ describe("Workspace agent selection", () => {
it("chooses a logo tile and expands that choice with the count buttons", () => {
render(<Setup />);
const codex = screen.getByRole("button", { name: "Codex" });
- expect(within(codex).getByTestId("agent-mark-codex").getAttribute("data-logo")).toBe("/provider-logos/openai.svg");
+ expect(within(codex).getByTestId("agent-mark-codex").getAttribute("data-logo")).toBe(openaiLogo);
fireEvent.click(codex);
fireEvent.click(screen.getByRole("button", { name: "6 sessions" }));
expect(screen.getByTestId("plan").textContent).toBe(Array(6).fill("codex").join(","));
diff --git a/dodaios/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx b/dodaios/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx
index 9f7c24f522..e96770efa1 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx
@@ -2,6 +2,7 @@ import { act, fireEvent, render, screen, within } from "@testing-library/react";
import { describe, expect, it, vi } from "vitest";
import { WorkspaceTerminalHeader } from "./WorkspaceTerminalHeader";
import { PANE_BRAND, PANE_CHROME, PANE_TILE, themeFor } from "./terminalThemes";
+import openaiLogo from "@/assets/providers/openai.svg?url";
const BASE = { name: "Dana", agent: "codex", displayName: "Codex", appearance: "dark" as const, status: "live" as const };
@@ -73,7 +74,7 @@ describe("compact workspace terminal header", () => {
expect(header.className).toContain("h-9");
expect(within(header).getByText("Dana")).toBeTruthy();
expect(within(header).getByRole("img", { name: "Dana: live" }).style.background).toBeTruthy();
- expect(screen.getByTestId("agent-mark-codex").dataset.logo).toContain("openai.svg");
+ expect(screen.getByTestId("agent-mark-codex").dataset.logo).toBe(openaiLogo);
expect(within(header).getAllByRole("button")).toHaveLength(5);
expect(screen.queryByRole("menu")).toBeNull();
});
diff --git a/dodaios/ui/web/frontend/src/components/society/chat/CodingComposer.test.tsx b/dodaios/ui/web/frontend/src/components/society/chat/CodingComposer.test.tsx
index 41ce730d1a..d4487fd460 100644
--- a/dodaios/ui/web/frontend/src/components/society/chat/CodingComposer.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/chat/CodingComposer.test.tsx
@@ -3,6 +3,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import type { SocietyAgent } from "../data";
import { fetchIdeAgents } from "@/lib/agenticIdeApi";
import { Composer } from "./AgentChatPanel";
+import openaiLogo from "@/assets/providers/openai.svg?url";
vi.mock("../data", async (load) => ({
...await load<typeof import("../data")>(),
@@ -54,7 +55,7 @@ async function chooseCodex() {
fireEvent.click(row);
await waitFor(() => expect(box.textContent).toContain("@codex"));
expect(screen.getByRole("status").textContent).toContain("Assignment for");
- expect(screen.getByTestId("agent-mark-codex").getAttribute("data-logo")).toBe("/provider-logos/openai.svg");
+ expect(screen.getByTestId("agent-mark-codex").getAttribute("data-logo")).toBe(openaiLogo);
return box;
}
diff --git a/dodaios/ui/web/frontend/src/components/society/chat/MentionPicker.test.tsx b/dodaios/ui/web/frontend/src/components/society/chat/MentionPicker.test.tsx
index 79d23da3f8..9ecef2ea6d 100644
--- a/dodaios/ui/web/frontend/src/components/society/chat/MentionPicker.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/chat/MentionPicker.test.tsx
@@ -6,6 +6,8 @@ import type { Capability } from "@/components/society/data";
import { MentionPicker } from "./MentionPicker";
import { buildMentionCatalog, filterMentions } from "./mentionItems";
+import claudeLogo from "@/assets/providers/claude.svg?url";
+import openaiLogo from "@/assets/providers/openai.svg?url";
afterEach(cleanup);
@@ -36,8 +38,8 @@ describe("MentionPicker", () => {
render(<><div ref={anchor} /><MentionPicker anchorRef={anchor} open items={items} loading={false}
activeIndex={0} onHover={() => {}} onPick={(item) => picked.push(item.value)} /></>);
expect(screen.getByText("Coding Agents")).toBeTruthy();
- expect(screen.getByTestId("agent-mark-codex").getAttribute("data-logo")).toBe("/provider-logos/openai.svg");
- expect(screen.getByTestId("agent-mark-claude").getAttribute("data-logo")).toBe("/provider-logos/claude.svg");
+ expect(screen.getByTestId("agent-mark-codex").getAttribute("data-logo")).toBe(openaiLogo);
+ expect(screen.getByTestId("agent-mark-claude").getAttribute("data-logo")).toBe(claudeLogo);
expect(screen.getByTestId("agent-mark-custom-cli").getAttribute("data-logo")).toBe("/uploads/custom.svg");
const missing = screen.getByText("Missing CLI").closest('[role="option"]')!;
expect(missing.getAttribute("aria-disabled")).toBe("true");
diff --git a/dodaios/ui/web/frontend/src/lib/toolBrand.ts b/dodaios/ui/web/frontend/src/lib/toolBrand.ts
index 84f950611e..a664d6c07f 100644
--- a/dodaios/ui/web/frontend/src/lib/toolBrand.ts
+++ b/dodaios/ui/web/frontend/src/lib/toolBrand.ts
@@ -19,7 +19,7 @@
import { CLI_VENDOR_LOGOS, cliVendor } from "./cliVendors";
-const BUNDLED_BRAND_LOGOS = import.meta.glob("../assets/brands/*.svg", {
+const BUNDLED_BRAND_LOGOS = import.meta.glob("../assets/brands/*.{svg,png}", {
eager: true,
query: "?url",
import: "default",
@@ -67,7 +67,7 @@ function humanise(tokens: string[]): string {
/** Every bundled brand, most specific (most tokens, then longest) first. */
const BRANDS: Brand[] = Object.entries(BUNDLED_BRAND_LOGOS)
.map(([path, logoUrl]) => {
- const id = path.replace(/^.*\//, "").replace(/\.svg$/, "");
+ const id = path.replace(/^.*\//, "").replace(/\.(svg|png)$/, "");
const tokens = id.split("_");
return {
id,
@@ -78,7 +78,11 @@ const BRANDS: Brand[] = Object.entries(BUNDLED_BRAND_LOGOS)
})
.concat(
Object.entries(CLI_VENDOR_LOGOS)
- .filter(([id]) => !BUNDLED_BRAND_LOGOS[`../assets/brands/${id}.svg`])
+ .filter(
+ ([id]) =>
+ !BUNDLED_BRAND_LOGOS[`../assets/brands/${id}.svg`] &&
+ !BUNDLED_BRAND_LOGOS[`../assets/brands/${id}.png`],
+ )
.map(([id, spec]) => ({
id,
tokens: id.split(/[-_]/),
diff --git a/scripts/ci/check_brand_logos.py b/scripts/ci/check_brand_logos.py
index c051fe968b..d7c7385dab 100644
--- a/scripts/ci/check_brand_logos.py
+++ b/scripts/ci/check_brand_logos.py
@@ -1,17 +1,27 @@
#!/usr/bin/env python3
-"""Gate the bundled brand marks in the Plugins store.
+"""Gate every third-party brand mark the frontend ships.
-Three failure modes this catches, all of which shipped at least once:
+Failure modes this catches, all of which shipped at least once:
1. **An unsafe SVG.** An SVG is executable content: it can carry a script, an
event handler, or a reference that phones a third party on render. These
files come from outside the project, so they are checked rather than
trusted.
-2. **A licence gap.** A mark in the folder with no row in ``LOGOS.md`` is an
+2. **A licence gap.** A mark in a folder with no row in its ``LOGOS.md`` is an
asset whose provenance nobody can reconstruct later.
3. **A wordmark in a square tile.** A horizontal logotype squeezed into 40 px
is unreadable. Vendors publish both; the icon variant is the one that
belongs here.
+4. **A modified mark.** Brand guidelines (and nominative use) require a logo
+ exactly as the vendor provides it. A ledger row that records a redrawn,
+ traced or recoloured file fails, and so does an SVG carrying the app's own
+ ink colour (``#F4F4F5``) - the fingerprint of the old recoloured copies.
+ Single-colour marks are drawn as a mask over neutral text ink instead.
+5. **An unsourced public copy.** ``public/`` is served verbatim, outside the
+ ledgered ``src/assets`` folders. A logo file there needs its own ``LOGOS.md``
+ row next to it; the retired ``public/provider-logos`` and
+ ``public/agent-logos`` folders must stay gone (import the ledgered file from
+ ``src/assets`` instead).
Run standalone or from the pre-push hook. Exit 0 = clean, 1 = findings.
"""
@@ -23,19 +33,27 @@ import sys
from pathlib import Path
_ROOT = Path(__file__).resolve().parents[2]
-_FRONTEND_ASSETS = _ROOT / "dodaios" / "ui" / "web" / "frontend" / "src" / "assets"
-# Three folders, one rulebook: the plugin-store marks, the provider-card marks
-# and the CLI-row marks. Each keeps its own LOGOS.md ledger next to the files
-# it records.
+_FRONTEND = _ROOT / "dodaios" / "ui" / "web" / "frontend"
+_FRONTEND_ASSETS = _FRONTEND / "src" / "assets"
+_PUBLIC = _FRONTEND / "public"
+# One rulebook for every third-party mark folder. Each keeps its own LOGOS.md
+# ledger next to the files it records.
_FOLDERS = (
_FRONTEND_ASSETS / "brands",
_FRONTEND_ASSETS / "providers",
_FRONTEND_ASSETS / "clis",
+ _FRONTEND_ASSETS / "tool-brands",
+ _FRONTEND_ASSETS / "editors",
+ _FRONTEND_ASSETS / "agents",
)
+# Folders that held unsourced, recoloured duplicates. They must not come back.
+_RETIRED_PUBLIC = (_PUBLIC / "provider-logos", _PUBLIC / "agent-logos")
+# First-party files in public/ (the app's own mark and icons) need no ledger.
+_FIRST_PARTY_PREFIX = "dodaios"
# Generous: a real icon is square, but a few legitimate marks are slightly
# rectangular. Anything past this is a logotype.
-_MIN_ASPECT, _MAX_ASPECT = 0.7, 1.45
+_MIN_ASPECT, _MAX_ASPECT = 0.65, 1.45 # Figma's icon is a 2:3 stack
_MAX_BYTES = 60_000
_ACTIVE = re.compile(r"<\s*(script|foreignObject|iframe|animate|set)\b", re.I)
@@ -43,6 +61,14 @@ _EVENT_ATTR = re.compile(r"\son[a-z]+\s*=", re.I)
_EXTERNAL = re.compile(r"(href|xlink:href|src)\s*=\s*[\"']\s*(https?:|//)", re.I)
_RASTER = re.compile(r"<\s*image\b", re.I)
_VIEWBOX = re.compile(r'viewBox\s*=\s*["\']([\d.eE+\-\s]+)["\']', re.I)
+# The app's dark-theme ink. Vendor files never use it; every recoloured copy did.
+_APP_INK = re.compile(r"#f4f4f5\b", re.I)
+# A ledger row that admits the file is not the vendor's own drawing.
+_MODIFIED = re.compile(
+ r"\b(re-?drawn|redraw\w*|re-?colou?r\w*|vectori[sz]\w*|traced|hand-?drawn|tint\w*)\b",
+ re.I,
+)
+_LOGO_SUFFIXES = {".svg", ".png", ".ico", ".webp", ".jpg", ".jpeg"}
def _aspect(svg: str) -> float | None:
@@ -58,48 +84,108 @@ def _aspect(svg: str) -> float | None:
return parts[2] / parts[3]
+def _ledger_row(ledger: str, path: Path) -> str | None:
+ """The table row that records ``path``: ``| id |`` or ``| `file.ext` |``."""
+ keys = (f"| {path.stem} |", f"| `{path.name}` |")
+ for line in ledger.splitlines():
+ if line.lstrip().startswith("|") and any(key in line for key in keys):
+ return line
+ return None
+
+
+def _check_ledger(ledger: str, path: Path, problems: list[str]) -> None:
+ where = path.relative_to(_ROOT).as_posix()
+ row = _ledger_row(ledger, path)
+ if row is None:
+ problems.append(
+ f"{where}: no row in LOGOS.md - every bundled mark needs its "
+ "source and legal basis recorded"
+ )
+ elif _MODIFIED.search(row):
+ problems.append(
+ f"{where}: its LOGOS.md row records a redrawn or recoloured mark - "
+ "ship the vendor's file unmodified, or a neutral icon instead"
+ )
+
+
+def _check_svg(path: Path, problems: list[str], *, require_icon_shape: bool) -> None:
+ svg = path.read_text(encoding="utf-8", errors="replace")
+ where = path.relative_to(_ROOT).as_posix()
+
+ if _ACTIVE.search(svg):
+ problems.append(f"{where}: contains active content (script/animation/embed)")
+ if _EVENT_ATTR.search(svg):
+ problems.append(f"{where}: carries an inline event handler")
+ if _EXTERNAL.search(svg):
+ problems.append(f"{where}: references a third-party URL at render time")
+ if _RASTER.search(svg):
+ problems.append(f"{where}: embeds a raster image (use vector paths)")
+ if _APP_INK.search(svg):
+ problems.append(
+ f"{where}: painted in the app's ink #F4F4F5, i.e. recoloured - ship the "
+ "vendor's file and draw a single-colour mark as a mask instead"
+ )
+ if len(svg.encode("utf-8")) > _MAX_BYTES:
+ problems.append(f"{where}: {len(svg)} bytes exceeds the {_MAX_BYTES} limit")
+
+ if not require_icon_shape:
+ return
+ ratio = _aspect(svg)
+ if ratio is None:
+ problems.append(f"{where}: no usable viewBox, so it cannot be laid out")
+ elif not (_MIN_ASPECT <= ratio <= _MAX_ASPECT):
+ problems.append(
+ f"{where}: aspect {ratio:.2f} is a wordmark, not an icon - "
+ "use the vendor's icon variant"
+ )
+
+
+def _read_ledger(folder: Path) -> str:
+ ledger_path = folder / "LOGOS.md"
+ return ledger_path.read_text(encoding="utf-8") if ledger_path.exists() else ""
+
+
def _check_folder(folder: Path, problems: list[str]) -> int:
"""Append findings for one folder; return how many marks it holds."""
- ledger_path = folder / "LOGOS.md"
- ledger = ledger_path.read_text(encoding="utf-8") if ledger_path.exists() else ""
+ ledger = _read_ledger(folder)
marks = sorted(folder.glob("*.svg"))
for path in marks:
- mark_id = path.stem
- svg = path.read_text(encoding="utf-8", errors="replace")
- where = path.relative_to(_ROOT).as_posix()
-
- if _ACTIVE.search(svg):
- problems.append(f"{where}: contains active content (script/animation/embed)")
- if _EVENT_ATTR.search(svg):
- problems.append(f"{where}: carries an inline event handler")
- if _EXTERNAL.search(svg):
- problems.append(f"{where}: references a third-party URL at render time")
- if _RASTER.search(svg):
- problems.append(f"{where}: embeds a raster image (use vector paths)")
- if len(svg.encode("utf-8")) > _MAX_BYTES:
- problems.append(f"{where}: {len(svg)} bytes exceeds the {_MAX_BYTES} limit")
-
- ratio = _aspect(svg)
- if ratio is None:
- problems.append(f"{where}: no usable viewBox, so it cannot be laid out")
- elif not (_MIN_ASPECT <= ratio <= _MAX_ASPECT):
- problems.append(
- f"{where}: aspect {ratio:.2f} is a wordmark, not an icon - "
- "use the vendor's icon variant"
- )
+ _check_svg(path, problems, require_icon_shape=True)
+ _check_ledger(ledger, path, problems)
+ # A raster mark is allowed only as a standalone file (a vendor that ships
+ # no vector icon), and it still needs its row.
+ rasters = sorted(folder.glob("*.png"))
+ for path in rasters:
+ _check_ledger(ledger, path, problems)
+ return len(marks) + len(rasters)
+
- if f"| {mark_id} |" not in ledger:
+def _check_public(problems: list[str]) -> int:
+ """Every logo-shaped file under public/ is first-party or ledgered."""
+ for retired in _RETIRED_PUBLIC:
+ if retired.exists() and any(p.is_file() for p in retired.rglob("*")):
+ where = retired.relative_to(_ROOT).as_posix()
problems.append(
- f"{where}: no row in LOGOS.md - every bundled mark needs its "
- "source and legal basis recorded"
+ f"{where}/: unledgered public logo copies are retired - import the "
+ "ledgered file from src/assets instead"
)
- # A raster mark is allowed only as a standalone file (a vendor that ships
- # no vector icon), and it still needs its row.
- for path in sorted(folder.glob("*.png")):
- if f"| {path.stem} |" not in ledger:
- where = path.relative_to(_ROOT).as_posix()
- problems.append(f"{where}: no row in LOGOS.md - record source and legal basis")
- return len(marks) + len(list(folder.glob("*.png")))
+ if not _PUBLIC.is_dir():
+ return 0
+ count = 0
+ for path in sorted(_PUBLIC.rglob("*")):
+ if not path.is_file() or path.name.lower().startswith(_FIRST_PARTY_PREFIX):
+ continue
+ suffix = path.suffix.lower()
+ logo_like = suffix in {".svg", ".ico"} or (
+ suffix in _LOGO_SUFFIXES and "logo" in path.name.lower()
+ )
+ if not logo_like:
+ continue
+ count += 1
+ if suffix == ".svg":
+ _check_svg(path, problems, require_icon_shape=False)
+ _check_ledger(_read_ledger(path.parent), path, problems)
+ return count
def main() -> int:
@@ -111,6 +197,7 @@ def main() -> int:
continue
checked += 1
count += _check_folder(folder, problems)
+ count += _check_public(problems)
if checked == 0:
print("check_brand_logos: no brand folders - nothing to check.")
return 0
diff --git a/tests/unit/ci/test_check_brand_logos.py b/tests/unit/ci/test_check_brand_logos.py
new file mode 100644
index 0000000000..c22c062921
--- /dev/null
+++ b/tests/unit/ci/test_check_brand_logos.py
@@ -0,0 +1,92 @@
+"""The brand-logo gate fails on unsourced, recoloured or public-copy marks."""
+
+from __future__ import annotations
+
+from pathlib import Path
+
+import pytest
+
+from scripts.ci import check_brand_logos as gate
+
+_ICON = (
+ '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">'
+ '<path d="M0 0h24v24H0z"/></svg>'
+)
+_HEADER = "| id | Source | Legal basis |\n| --- | --- | --- |\n"
+
+
+def tree(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Path:
+ """A miniature frontend: one ledgered folder and a public/ folder."""
+ assets = tmp_path / "frontend" / "src" / "assets" / "agents"
+ public = tmp_path / "frontend" / "public"
+ assets.mkdir(parents=True)
+ public.mkdir(parents=True)
+ monkeypatch.setattr(gate, "_ROOT", tmp_path)
+ monkeypatch.setattr(gate, "_FOLDERS", (assets,))
+ monkeypatch.setattr(gate, "_PUBLIC", public)
+ monkeypatch.setattr(
+ gate, "_RETIRED_PUBLIC", (public / "provider-logos", public / "agent-logos")
+ )
+ return tmp_path
+
+
+def _assets(tree: Path) -> Path:
+ return tree / "frontend" / "src" / "assets" / "agents"
+
+
+def test_a_ledgered_unmodified_mark_passes(tree: Path) -> None:
+ (_assets(tree) / "kimi.svg").write_text(_ICON, encoding="utf-8")
+ (_assets(tree) / "LOGOS.md").write_text(
+ _HEADER + "| kimi | simple-icons `kimi.svg` | CC0-1.0 |\n", encoding="utf-8"
+ )
+ assert gate.main() == 0
+
+
+def test_a_mark_without_a_row_fails(tree: Path) -> None:
+ (_assets(tree) / "kimi.svg").write_text(_ICON, encoding="utf-8")
+ assert gate.main() == 1
+
+
+def test_a_row_that_records_a_redrawn_mark_fails(tree: Path) -> None:
+ (_assets(tree) / "cursor.svg").write_text(_ICON, encoding="utf-8")
+ (_assets(tree) / "LOGOS.md").write_text(
+ _HEADER + "| cursor | Redrawn from the app icon | vendor |\n", encoding="utf-8"
+ )
+ assert gate.main() == 1
+
+
+def test_a_mark_painted_in_the_app_ink_fails(tree: Path) -> None:
+ (_assets(tree) / "grok.svg").write_text(
+ _ICON.replace("<path ", '<path fill="#F4F4F5" '), encoding="utf-8"
+ )
+ (_assets(tree) / "LOGOS.md").write_text(
+ _HEADER + "| grok | lobe-icons `grok.svg` | MIT |\n", encoding="utf-8"
+ )
+ assert gate.main() == 1
+
+
+def test_a_retired_public_logo_folder_fails(tree: Path) -> None:
+ retired = tree / "frontend" / "public" / "provider-logos"
+ retired.mkdir()
+ (retired / "claude.svg").write_text(_ICON, encoding="utf-8")
+ assert gate.main() == 1
+
+
+def test_a_public_logo_needs_a_row_but_first_party_files_do_not(tree: Path) -> None:
+ public = tree / "frontend" / "public"
+ (public / "dodaios.ico").write_bytes(b"\x00\x00\x01\x00")
+ plugin_assets = public / "plugin-assets"
+ plugin_assets.mkdir()
+ (plugin_assets / "slack-logo.svg").write_text(_ICON, encoding="utf-8")
+ assert gate.main() == 1
+
+ (plugin_assets / "LOGOS.md").write_text(
+ "| Asset | Source |\n| --- | --- |\n| `slack-logo.svg` | gilbarbara/logos |\n",
+ encoding="utf-8",
+ )
+ assert gate.main() == 0
+
+
+def test_the_repository_is_clean() -> None:
+ assert gate.main() == 0