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.
TypeScript agentic-browseragentic-browsingagy-cliaiai-agentai-browser-extensionai-toolsbrave-extensionbrowser-agentbrowser-automationbrowser-extensionbrowser-usebrowserskillchrome-extensionclaude-codecodexfirefox-addonmcp-servernanobrowserweb-automation
feat(extension): the pairing card links to the install guide’s pairing step, for anyone who added the extension from its store page and never saw what a pairing code is
Shahriarf75b6a8cea6a
diff --git a/src/extension/components/daemon-link.tsx b/src/extension/components/daemon-link.tsxindex 86b5ce9..f87bbff 100644--- a/src/extension/components/daemon-link.tsx+++ b/src/extension/components/daemon-link.tsx@@ -4,6 +4,7 @@ import { browser } from 'wxt/browser';import { Button } from '@/extension/components/ui/button';import { Input } from '@/extension/components/ui/input';+import { LINKS } from '@/lib/about';import { BRIDGE_CHANNEL, type ActionResult } from '@/lib/actions/protocol';import { useDaemonState } from '@/lib/bridge/use-daemon-state';@@ -60,7 +61,15 @@ export function DaemonLink() {<><p className="text-[11px] leading-relaxed text-ink-dim">Run <code className="rounded bg-surface px-1 py-px font-mono text-ink">browsentic pair</code> in a- terminal and paste the code it prints.+ terminal and paste the code it prints.{' '}+ <a+ href={LINKS.pairing}+ target="_blank"+ rel="noreferrer"+ className="text-ink underline decoration-line-strong underline-offset-2 transition-colors hover:text-brand"+ >+ Learn more+ </a></p><formclassName="flex gap-1.5"diff --git a/src/lib/about.test.ts b/src/lib/about.test.tsindex 1788f0a..018b23c 100644--- a/src/lib/about.test.ts+++ b/src/lib/about.test.ts@@ -1,5 +1,27 @@+import { readFileSync } from 'node:fs';import { describe, expect, test } from 'vitest';-import { bugReportUrl, describeAgent, describeVersions } from './about';+import { LINKS, bugReportUrl, describeAgent, describeVersions } from './about';++const siteSlug = (heading: string): string =>+ heading+ .trim()+ .toLowerCase()+ .replace(/[^\w\s-]/g, '')+ .replace(/\s+/g, '-')+ .replace(/-+/g, '-')+ .replace(/^-|-$/g, '');++describe('the pairing link', () => {+ test('lands on a heading the install guide still has, as browsentic.com anchors it', () => {+ const url = new URL(LINKS.pairing);+ expect(url.origin + url.pathname).toBe('https://browsentic.com/docs/guide/install/');+ const headings = readFileSync(new URL('../../docs/guide/install.md', import.meta.url), 'utf8')+ .split('\n')+ .filter((line) => line.startsWith('## '))+ .map((line) => siteSlug(line.slice(3)));+ expect(headings).toContain(url.hash.slice(1));+ });+});describe('the bug report the About page opens', () => {test('lands on the bug form with the environment and the agent already filled in', () => {diff --git a/src/lib/about.ts b/src/lib/about.tsindex 4220c62..3ee8dfb 100644--- a/src/lib/about.ts+++ b/src/lib/about.ts@@ -7,6 +7,7 @@ export const LINKS = {repository: REPOSITORY,site: 'https://browsentic.com',guide: 'https://browsentic.com/docs/guide/',+ pairing: 'https://browsentic.com/docs/guide/install/#3-pair-them-once',troubleshooting: 'https://browsentic.com/docs/guide/troubleshooting/',windowsApp: 'https://browsentic.com/docs/guide/windows-app/',changelog: 'https://browsentic.com/changelog/',