Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

ui: every plugin by its own mark on the Plugins page (#360)

github-actions[bot]6ebfb8674d84
diff --git a/ui/public/plugs/browser.svg b/ui/public/plugs/browser.svg
new file mode 100644
index 00000000..c98aa5e9
--- /dev/null
+++ b/ui/public/plugs/browser.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#1c1917" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="4" width="19" height="16" rx="3"/><path d="M2.5 9h19"/><path d="M6 6.5h.01M9 6.5h.01"/></svg>
diff --git a/ui/public/plugs/github.svg b/ui/public/plugs/github.svg
new file mode 100644
index 00000000..1cb8c4d4
--- /dev/null
+++ b/ui/public/plugs/github.svg
@@ -0,0 +1 @@
+<svg fill="#000000" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
\ No newline at end of file
diff --git a/ui/public/plugs/insforge.png b/ui/public/plugs/insforge.png
new file mode 100644
index 00000000..fb1345a6
Binary files /dev/null and b/ui/public/plugs/insforge.png differ
diff --git a/ui/public/plugs/microsoft365.svg b/ui/public/plugs/microsoft365.svg
new file mode 100644
index 00000000..aa6e0f0e
--- /dev/null
+++ b/ui/public/plugs/microsoft365.svg
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<svg xmlns="http://www.w3.org/2000/svg" id="image-2" fill="none" viewBox="4 2 40 44">
+<title>Microsoft 365 logo (2022)</title>
+ <path d="M20.0842 3.02588L19.8595 3.16179C19.5021 3.37799 19.1654 3.61972 18.8512 3.88385L19.4993 3.42798H25L26 11L21 16L16 19.4754V23.4829C16 26.2819 17.4629 28.8774 19.8574 30.3268L25.1211 33.5129L14 40.0002H11.8551L7.85737 37.5804C5.46286 36.131 4 33.5355 4 30.7365V17.2606C4 14.4607 5.46379 11.8645 7.85952 10.4154L19.8595 3.15687C19.9339 3.11189 20.0088 3.06823 20.0842 3.02588Z" fill="url(#paint0_radial_2994_8373)"/>
+ <path d="M20.0842 3.02588L19.8595 3.16179C19.5021 3.37799 19.1654 3.61972 18.8512 3.88385L19.4993 3.42798H25L26 11L21 16L16 19.4754V23.4829C16 26.2819 17.4629 28.8774 19.8574 30.3268L25.1211 33.5129L14 40.0002H11.8551L7.85737 37.5804C5.46286 36.131 4 33.5355 4 30.7365V17.2606C4 14.4607 5.46379 11.8645 7.85952 10.4154L19.8595 3.15687C19.9339 3.11189 20.0088 3.06823 20.0842 3.02588Z" fill="url(#paint1_linear_2994_8373)"/>
+ <path d="M32 19V23.4803C32 26.2793 30.5371 28.8748 28.1426 30.3242L16.1426 37.5878C13.6878 39.0737 10.6335 39.1273 8.1355 37.7487L19.8573 44.844C22.4039 46.3855 25.5959 46.3855 28.1426 44.844L40.1426 37.5803C42.5371 36.1309 43.9999 33.5354 43.9999 30.7364V27.5L42.9999 26L32 19Z" fill="url(#paint2_radial_2994_8373)"/>
+ <path d="M32 19V23.4803C32 26.2793 30.5371 28.8748 28.1426 30.3242L16.1426 37.5878C13.6878 39.0737 10.6335 39.1273 8.1355 37.7487L19.8573 44.844C22.4039 46.3855 25.5959 46.3855 28.1426 44.844L40.1426 37.5803C42.5371 36.1309 43.9999 33.5354 43.9999 30.7364V27.5L42.9999 26L32 19Z" fill="url(#paint3_linear_2994_8373)"/>
+ <path d="M40.1405 10.4153L28.1405 3.15678C25.6738 1.66471 22.6021 1.61849 20.0979 3.01811L19.8595 3.16231C17.4638 4.61143 16 7.20757 16 10.0075V19.4914L19.8595 17.1568C22.4051 15.6171 25.5949 15.6171 28.1405 17.1568L40.1405 24.4153C42.4613 25.8192 43.9076 28.2994 43.9957 30.9985C43.9986 30.9113 44 30.824 44 30.7364V17.2605C44 14.4606 42.5362 11.8644 40.1405 10.4153Z" fill="url(#paint4_radial_2994_8373)"/>
+ <path d="M40.1405 10.4153L28.1405 3.15678C25.6738 1.66471 22.6021 1.61849 20.0979 3.01811L19.8595 3.16231C17.4638 4.61143 16 7.20757 16 10.0075V19.4914L19.8595 17.1568C22.4051 15.6171 25.5949 15.6171 28.1405 17.1568L40.1405 24.4153C42.4613 25.8192 43.9076 28.2994 43.9957 30.9985C43.9986 30.9113 44 30.824 44 30.7364V17.2605C44 14.4606 42.5362 11.8644 40.1405 10.4153Z" fill="url(#paint5_linear_2994_8373)"/>
+ <path d="M4.00428 30.9984C4.00428 30.9984 4.00428 30.9984 4.00428 30.9984Z" fill="url(#paint6_radial_2994_8373)"/>
+ <path d="M4.00428 30.9984C4.00428 30.9984 4.00428 30.9984 4.00428 30.9984Z" fill="url(#paint7_linear_2994_8373)"/>
+ <defs>
+ <radialGradient id="paint0_radial_2994_8373" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.4186 10.6383) rotate(110.528) scale(33.3657 58.1966)">
+ <stop offset="0.06441" stop-color="#AE7FE2"/>
+ <stop offset="1" stop-color="#0078D4"/>
+ </radialGradient>
+ <linearGradient id="paint1_linear_2994_8373" x1="17.5119" y1="37.8685" x2="12.7513" y2="29.6347" gradientUnits="userSpaceOnUse">
+ <stop offset="0" stop-color="#114A8B"/>
+ <stop offset="1" stop-color="#0078D4" stop-opacity="0"/>
+ </linearGradient>
+ <radialGradient id="paint2_radial_2994_8373" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(10.4299 36.3511) rotate(-8.36717) scale(31.0503 20.5108)">
+ <stop offset="0.133928" stop-color="#D59DFF"/>
+ <stop offset="1" stop-color="#5E438F"/>
+ </radialGradient>
+ <linearGradient id="paint3_linear_2994_8373" x1="40.3566" y1="25.3768" x2="35.2552" y2="32.6916" gradientUnits="userSpaceOnUse">
+ <stop offset="0" stop-color="#493474"/>
+ <stop offset="1" stop-color="#8C66BA" stop-opacity="0"/>
+ </linearGradient>
+ <radialGradient id="paint4_radial_2994_8373" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(41.0552 26.504) rotate(-165.772) scale(24.9228 41.9552)">
+ <stop offset="0.0584996" stop-color="#50E6FF"/>
+ <stop offset="1" stop-color="#436DCD"/>
+ </radialGradient>
+ <linearGradient id="paint5_linear_2994_8373" x1="16.9758" y1="3.05655" x2="24.4868" y2="3.05655" gradientUnits="userSpaceOnUse">
+ <stop offset="0" stop-color="#2D3F80"/>
+ <stop offset="1" stop-color="#436DCD" stop-opacity="0"/>
+ </linearGradient>
+ <radialGradient id="paint6_radial_2994_8373" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(41.0552 26.504) rotate(-165.772) scale(24.9228 41.9552)">
+ <stop offset="0.0584996" stop-color="#50E6FF"/>
+ <stop offset="1" stop-color="#436DCD"/>
+ </radialGradient>
+ <linearGradient id="paint7_linear_2994_8373" x1="16.9758" y1="3.05655" x2="24.4868" y2="3.05655" gradientUnits="userSpaceOnUse">
+ <stop offset="0" stop-color="#2D3F80"/>
+ <stop offset="1" stop-color="#436DCD" stop-opacity="0"/>
+ </linearGradient>
+ </defs>
+ </svg>
\ No newline at end of file
diff --git a/ui/public/plugs/vercel.svg b/ui/public/plugs/vercel.svg
new file mode 100644
index 00000000..d0ebd321
--- /dev/null
+++ b/ui/public/plugs/vercel.svg
@@ -0,0 +1 @@
+<svg fill="#000000" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Vercel</title><path d="m12 1.608 12 20.784H0Z"/></svg>
\ No newline at end of file
diff --git a/ui/src/app/(app)/plugins/page.tsx b/ui/src/app/(app)/plugins/page.tsx
index e127ea49..9bd8c7c1 100644
--- a/ui/src/app/(app)/plugins/page.tsx
+++ b/ui/src/app/(app)/plugins/page.tsx
@@ -9,7 +9,13 @@ import { useRouter, useSearchParams } from 'next/navigation';
import { SkelRows } from '@/components/Skel';
import { listPlugs, setPlug, plugAttachments, microsoftStart, microsoftComplete, microsoftSignout, type Plug } from '@/lib/harness';
-const ICON: Record<string, string> = { browser: 'tabler:world', github: 'tabler:brand-github', vercel: 'tabler:triangle', insforge: 'tabler:database', microsoft365: 'tabler:brand-office' };
+/** Each service by its own mark (public/plugs): the GitHub and Vercel glyphs, Microsoft 365's logo,
+ * InsForge's app icon (drawn full-bleed, it carries its own ground), our browser glyph. A type
+ * without one shows a plug. */
+const MARK: Record<string, { src: string; app?: boolean }> = {
+ github: { src: '/plugs/github.svg' }, vercel: { src: '/plugs/vercel.svg' }, microsoft365: { src: '/plugs/microsoft365.svg' },
+ insforge: { src: '/plugs/insforge.png', app: true }, browser: { src: '/plugs/browser.svg' },
+};
const BLURB: Record<string, string> = {
browser: 'A real web browser the agent can open, read, click through and screenshot.',
github: 'The repository this workspace connects: files, branches and pull requests.',
@@ -119,7 +125,12 @@ export default function PluginsPage() {
const price = p.pricing ? `$${p.pricing.usd_per_unit.toFixed(2)} per ${p.pricing.unit}, billed at the service's own price` : 'No charge';
return (
<div key={p.type} className="capability-row">
- <span className="capability-icon"><iconify-icon icon={ICON[p.type] || 'lucide:plug'}></iconify-icon></span>
+ <span className={'capability-icon' + (MARK[p.type]?.app ? ' is-app' : '')} aria-hidden="true">
+ {MARK[p.type]
+ // eslint-disable-next-line @next/next/no-img-element -- a static brand mark
+ ? <img src={MARK[p.type].src} alt="" />
+ : <iconify-icon icon="lucide:plug"></iconify-icon>}
+ </span>
<div className="capability-copy">
<strong>{p.label} {p.official && <span className="status neutral">Official</span>} <span className={'status ' + (on ? 'healthy' : p.status === 'needs_auth' ? 'warning' : 'neutral')}>{STATUS_LABEL[p.status]}</span></strong>
<span>{BLURB[p.type] || ''} {p.tools} tools · {price}{c ? ` · ${c.attached} of ${c.harnesses} Harnesses include it` : ''}</span>
diff --git a/ui/src/app/revamp.css b/ui/src/app/revamp.css
index 7583ed78..45440c09 100644
--- a/ui/src/app/revamp.css
+++ b/ui/src/app/revamp.css
@@ -742,6 +742,9 @@
.capability-list { display: grid; gap: 8px; }
.capability-row { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.capability-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-subtle); color: var(--muted); }
+ .capability-icon img { display: block; width: 16px; height: 16px; }
+ .capability-icon.is-app { background: none; overflow: hidden; }
+ .capability-icon.is-app img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.capability-copy strong, .capability-copy span { display: block; }
.capability-copy strong { font-size: 12.5px; }
.capability-copy span { margin-top: 3px; color: var(--muted); font-size: 10.5px; }