Skip to content

An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.

feat(extension): show each agent's mark and a beta tag in the picker and the context card, so which vendor a row is and how far it is trusted are seen rather than read

Shahriar4977b1877c1f
diff --git a/src/extension/components/agent-marks.tsx b/src/extension/components/agent-marks.tsx
new file mode 100644
index 0000000..72151f6
--- /dev/null
+++ b/src/extension/components/agent-marks.tsx
@@ -0,0 +1,37 @@
+import type { AgentKind } from '@/lib/agents/catalog';
+import { cn } from '@/lib/utils';
+
+// Each vendor's own mark, as published, in one colour. They are trademarks used to say
+// "works with", so the geometry is untouched; only the fill follows the text around it.
+const MARKS: Record<AgentKind, { viewBox: string; path: string }> = {
+ claude: {
+ viewBox: '0 0 24 24',
+ path: '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',
+ },
+ codex: {
+ viewBox: '1.68 1.75 16.65 16.5',
+ path: 'M11.248 18.25q-.825 0-1.568-.314a4.3 4.3 0 0 1-1.32-.874 4 4 0 0 1-1.304.214 4 4 0 0 1-2.046-.544 4.27 4.27 0 0 1-1.518-1.485 4 4 0 0 1-.56-2.095q0-.48.131-1.04A4.4 4.4 0 0 1 2.04 10.71a4.07 4.07 0 0 1 .017-3.4 4.2 4.2 0 0 1 1.056-1.418 3.8 3.8 0 0 1 1.6-.842 3.9 3.9 0 0 1 .76-1.683q.593-.759 1.451-1.188a4.04 4.04 0 0 1 1.832-.429q.825 0 1.567.313.742.314 1.32.875a4 4 0 0 1 1.304-.215q1.106 0 2.046.545a4.14 4.14 0 0 1 1.501 1.485q.578.941.578 2.095 0 .48-.132 1.04.66.61 1.023 1.419.363.792.363 1.666 0 .892-.38 1.717a4.3 4.3 0 0 1-1.072 1.435 3.8 3.8 0 0 1-1.584.825 3.8 3.8 0 0 1-.775 1.683 4.06 4.06 0 0 1-1.436 1.188 4.04 4.04 0 0 1-1.832.429m-4.076-2.062q.825 0 1.435-.347l3.103-1.782a.36.36 0 0 0 .164-.313v-1.42L7.881 14.62a.67.67 0 0 1-.726 0l-3.118-1.798a.5.5 0 0 1-.017.115v.198q0 .841.396 1.551.413.693 1.139 1.089a3.2 3.2 0 0 0 1.617.412m.165-2.69a.4.4 0 0 0 .181.05q.083 0 .165-.05l1.238-.71-3.977-2.31a.7.7 0 0 1-.363-.643v-3.58q-.825.362-1.32 1.122a2.9 2.9 0 0 0-.495 1.65q0 .809.413 1.55.412.743 1.072 1.123zm3.91 3.663q.875 0 1.585-.396a2.96 2.96 0 0 0 1.534-2.64v-3.564a.32.32 0 0 0-.165-.297l-1.254-.726v4.604a.7.7 0 0 1-.363.643l-3.119 1.799a3 3 0 0 0 1.783.577m.627-6.039V8.878L10.01 7.822 8.129 8.878v2.244l1.881 1.056zM7.057 5.859a.7.7 0 0 1 .363-.644l3.119-1.798a3 3 0 0 0-1.782-.578q-.874 0-1.584.396A2.96 2.96 0 0 0 6.05 4.324a3.07 3.07 0 0 0-.396 1.551v3.547q0 .199.165.314l1.237.726zm8.383 7.887q.825-.364 1.303-1.123.495-.758.495-1.65a3.15 3.15 0 0 0-.412-1.55q-.413-.743-1.073-1.123l-3.086-1.782q-.099-.065-.181-.049a.3.3 0 0 0-.165.05l-1.238.692 3.993 2.327a.6.6 0 0 1 .264.264.64.64 0 0 1 .1.363zm-3.317-8.382a.63.63 0 0 1 .726 0l3.135 1.831v-.297q0-.792-.396-1.501a2.86 2.86 0 0 0-1.105-1.155q-.71-.43-1.65-.43-.825 0-1.436.347L8.294 5.941a.36.36 0 0 0-.165.314v1.418z',
+ },
+ antigravity: {
+ viewBox: '0 0 125 113',
+ path: 'M89.6992 93.695C94.3659 97.195 101.366 94.8617 94.9492 88.445C75.6992 69.7783 79.7825 18.445 55.8659 18.445C31.9492 18.445 36.0325 69.7783 16.7825 88.445C9.78251 95.445 17.3658 97.195 22.0325 93.695C40.1159 81.445 38.9492 59.8617 55.8659 59.8617C72.7825 59.8617 71.6159 81.445 89.6992 93.695Z',
+ },
+ vibe: {
+ viewBox: '0 0 24 24',
+ path: 'M17.143 3.429v3.428h-3.429v3.429h-3.428V6.857H6.857V3.43H3.43v13.714H0v3.428h10.286v-3.428H6.857v-3.429h3.429v3.429h3.429v-3.429h3.428v3.429h-3.428v3.428H24v-3.428h-3.43V3.429z',
+ },
+ grok: {
+ viewBox: '0 0 466.04 516.93',
+ path: 'M0.12 182.71L234.14 516.92H338.15L104.13 182.71ZM0 516.92H104.08L156.08 442.67L104.04 368.34ZM466.04 0H361.96L182.1 256.86L234.15 331.18ZM380.78 516.92H466.04V37.16L380.78 158.92Z',
+ },
+};
+
+/** The vendor's mark in the current text colour, so it follows the row's state and the theme. */
+export function AgentMark({ kind, className }: { kind: AgentKind; className?: string }) {
+ const mark = MARKS[kind];
+ return (
+ <svg viewBox={mark.viewBox} fill="currentColor" className={cn('size-3.5 shrink-0', className)} aria-hidden>
+ <path d={mark.path} />
+ </svg>
+ );
+}
diff --git a/src/extension/components/agent-picker.tsx b/src/extension/components/agent-picker.tsx
index 33f18d7..a22ea0e 100644
--- a/src/extension/components/agent-picker.tsx
+++ b/src/extension/components/agent-picker.tsx
@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
import { Check, Loader2, RefreshCw, ShieldCheck, TriangleAlert } from 'lucide-react';
import { browser } from 'wxt/browser';
+import { AgentMark } from '@/extension/components/agent-marks';
import { StatusDot } from '@/extension/components/status-pill';
import { Button } from '@/extension/components/ui/button';
import {
@@ -154,7 +155,15 @@ function AgentRow({
)}
>
<StatusDot tone={runner.ready ? 'live' : 'warn'} />
- <span className="min-w-0 flex-1 truncate text-xs">{agent.label}</span>
+ <AgentMark kind={runner.kind} className="opacity-90" />
+ <span className="min-w-0 flex-1 truncate text-xs">
+ {agent.label}
+ {agent.beta && (
+ <span className="ml-1.5 rounded-sm border border-line px-1 font-mono text-[9px] tracking-wider text-ink-faint uppercase">
+ beta
+ </span>
+ )}
+ </span>
<span className="font-mono text-[10px] tracking-wider uppercase opacity-70">{describe(runner)}</span>
{busy ? <Loader2 className="size-3 animate-spin" /> : active && <Check className="size-3" />}
</button>
diff --git a/src/extension/components/context-card.tsx b/src/extension/components/context-card.tsx
index e586d21..3e00dc1 100644
--- a/src/extension/components/context-card.tsx
+++ b/src/extension/components/context-card.tsx
@@ -1,6 +1,7 @@
import type { ReactNode } from 'react';
import { Clapperboard, Cpu, FileText, Globe, Layers, type LucideIcon } from 'lucide-react';
+import { AgentMark } from '@/extension/components/agent-marks';
import { AGENTS } from '@/lib/agents/catalog';
import type { ContextBreakdown } from '@/lib/bridge/commands';
import { cn } from '@/lib/utils';
@@ -24,7 +25,8 @@ export function ContextCard({ breakdown }: { breakdown: ContextBreakdown }) {
<span className="flex-1 truncate font-mono text-[10px] tracking-[0.14em] text-ink uppercase">
Session context
</span>
- <span className="shrink-0 rounded-full bg-ground/60 px-2 py-0.5 font-mono text-[9px] tracking-[0.1em] text-ink-faint uppercase">
+ <span className="flex shrink-0 items-center gap-1 rounded-full bg-ground/60 px-2 py-0.5 font-mono text-[9px] tracking-[0.1em] text-ink-faint uppercase">
+ {breakdown.agent && <AgentMark kind={breakdown.agent} className="size-2.5" />}
{agentLabel(breakdown)}
</span>
</div>
diff --git a/src/lib/agents/catalog.ts b/src/lib/agents/catalog.ts
index 8215a16..4d43085 100644
--- a/src/lib/agents/catalog.ts
+++ b/src/lib/agents/catalog.ts
@@ -13,6 +13,8 @@ export interface AgentDescriptor {
docs: string;
/** Model ids the picker offers, strongest first. Curated, not queried — the CLIs have no list command. */
models: string[];
+ /** Shipped before a whole conversation was run against the real CLI; the picker and the docs say so. */
+ beta?: boolean;
}
export const AGENTS: Record<AgentKind, AgentDescriptor> = {
@@ -51,6 +53,7 @@ export const AGENTS: Record<AgentKind, AgentDescriptor> = {
install: 'uv tool install mistral-vibe',
docs: 'https://github.com/mistralai/mistral-vibe',
models: ['mistral-medium-3.5'],
+ beta: true,
},
grok: {
kind: 'grok',
@@ -60,6 +63,7 @@ export const AGENTS: Record<AgentKind, AgentDescriptor> = {
install: 'curl -fsSL https://x.ai/cli/install.sh | bash',
docs: 'https://docs.x.ai/build/overview',
models: ['grok-4.7'],
+ beta: true,
},
};