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: an About page in the extension's settings and an About tab in the Mac and Windows apps — the author, a GitHub star, every version with a bug report that fills them in, and the guide, troubleshooting and release notes

Shahriarfa19e950a7c0
diff --git a/docs/guide/mac-app.md b/docs/guide/mac-app.md
index 55520ed..3a3a874 100644
--- a/docs/guide/mac-app.md
+++ b/docs/guide/mac-app.md
@@ -59,7 +59,7 @@ itself; on later launches that takes about two seconds.
## The window
-The tabs float at the top; ⌘1–⌘7 switch between them.
+The tabs float at the top; ⌘1–⌘8 switch between them.
![The daemon running, the extension connected and in sync, a newer build waiting for a reload, and the update check.](../assets/mac-app/overview.webp "Overview")
![A one-time pairing code a click away, and Google Chrome paired, connected and ready to unpair.](../assets/mac-app/browsers.webp "Browsers")
@@ -77,6 +77,7 @@ The tabs float at the top; ⌘1–⌘7 switch between them.
| **Activity** | Your standing [approvals](approvals.md), forgettable per site, and the downloads agents captured |
| **Logs** | `~/.browsentic/daemon.log`, followed live |
| **Settings** | Light, dark or system appearance for this window; whether the daemon starts with the app; the **Browser theme** and **Guardrails** every paired browser uses, the same rows as the extension's settings page, kept in step both ways; `browsentic` in your terminal; the line that registers Browsentic with an [MCP client](mcp-clients.md); uninstall |
+| **About** | Who makes Browsentic, a GitHub star, every version on this computer with a copy button, **Report a bug** (GitHub's issue form with those versions filled in — nothing is sent until you submit it), and links to the guide, this page, [troubleshooting](troubleshooting.md) and the release notes. **Run the checks again** reruns the first-run checks |
There is also a menu bar item with the daemon’s state and the same on, off and restart.
diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md
index 77b2692..312431b 100644
--- a/docs/guide/troubleshooting.md
+++ b/docs/guide/troubleshooting.md
@@ -141,6 +141,7 @@ Full descriptions in [reference/cli.md](../reference/cli.md).
## Still stuck
+- **Report a bug** on the About page — the extension's settings page, or the About tab of the Mac or Windows app — opens GitHub's issue form with your versions already filled in
- [Limits](limits.md) — it may be a boundary rather than a bug
- [reference/errors.md](../reference/errors.md) — every code, with what it implies about the next move
- [internals/](../internals/) — how the piece that is failing actually works
diff --git a/docs/guide/windows-app.md b/docs/guide/windows-app.md
index 61f6e22..59e4088 100644
--- a/docs/guide/windows-app.md
+++ b/docs/guide/windows-app.md
@@ -56,7 +56,7 @@ runs its shell commands through.
## The window
-The tabs float at the top; Ctrl+1 to Ctrl+7 switch between them. Ctrl+Shift+D turns the daemon
+The tabs float at the top; Ctrl+1 to Ctrl+8 switch between them. Ctrl+Shift+D turns the daemon
on or off, Ctrl+Shift+R restarts it, and Ctrl+Shift+P gets a new pairing code.
| Tab | What you do there |
@@ -68,6 +68,7 @@ on or off, Ctrl+Shift+R restarts it, and Ctrl+Shift+P gets a new pairing code.
| **Activity** | Your standing [approvals](approvals.md), forgettable per site, and the downloads agents captured |
| **Logs** | `%USERPROFILE%\.browsentic\daemon.log`, followed live |
| **Settings** | Light, dark or system appearance for this window; whether the daemon starts with the app; the **Browser theme** and **Guardrails** every paired browser uses, the same rows as the extension's settings page, kept in step both ways; `browsentic` in your terminal; the line that registers Browsentic with an [MCP client](mcp-clients.md); uninstall |
+| **About** | Who makes Browsentic, a GitHub star, every version on this computer with a copy button, **Report a bug** (GitHub's issue form with those versions filled in — nothing is sent until you submit it), and links to the guide, this page, [troubleshooting](troubleshooting.md) and the release notes. **Run the checks again** reruns the first-run checks |
The Browsentic icon in the notification area shows the daemon's state and has the same on, off and
restart, and a left click opens the window.
diff --git a/docs/internals/extension.md b/docs/internals/extension.md
index 6018934..420d7c9 100644
--- a/docs/internals/extension.md
+++ b/docs/internals/extension.md
@@ -103,7 +103,7 @@ lists it as **Options** on the toolbar icon's menu, and Firefox as **Preferences
The panel's header, the popup's header and the connection sheet open it with
`runtime.openOptionsPage()`, which focuses a settings tab already open rather than adding another.
-The page is a sidebar of five sections — **Extension**, **Profile**, **Guardrails**, **Agent**, **Connection** —
+The page is a sidebar of six sections — **Extension**, **Profile**, **Guardrails**, **Agent**, **Connection**, **About** —
with the open one in the URL hash, so a reload or a link lands on it; an unknown hash,
such as the old `#appearance`, lands on **Extension**. **Agent** and **Connection** are the same
`AgentPicker` and `DaemonLink` the popup and the connection sheet show; those keep theirs, so a
@@ -117,6 +117,14 @@ page lists them with `commands.getAll()`, re-read whenever it comes back into vi
browser owns the keys and only its own page changes them — `chrome://extensions/shortcuts`
(`edge://` on Edge), or `commands.openShortcutSettings()` on Firefox.
+**About** reads, writes and sends nothing. Its links and the bug report's URL come from
+[src/lib/about.ts](../../src/lib/about.ts), which the Windows app shares; the Mac app keeps the same
+in `About.swift`. The versions are the manifest's, the build target (`import.meta.env.FIREFOX`), the
+daemon's from `DaemonState`, `SOCKET_PROTOCOL_VERSION`, the active agent, the browser's release
+(`userAgentData.brands`, or `runtime.getBrowserInfo()` on Firefox) and `runtime.getPlatformInfo()`.
+**Report a bug** opens the `bug_report.yml` issue form with those in its `environment` and `agent`
+fields; nothing leaves the browser until the reader submits it on GitHub.
+
**The theme and Guardrails are shared with the Mac app**, and the daemon keeps both in
`~/.browsentic/config.json`:
diff --git a/src/extension/components/about.tsx b/src/extension/components/about.tsx
new file mode 100644
index 0000000..faef112
--- /dev/null
+++ b/src/extension/components/about.tsx
@@ -0,0 +1,116 @@
+import { useState, type ReactNode } from 'react';
+import { BookOpen, Bug, Check, Copy, ExternalLink, LifeBuoy, Lightbulb, ScrollText, Star, type LucideIcon } from 'lucide-react';
+import { browser } from 'wxt/browser';
+
+import { Logo } from '@/extension/components/brand';
+import { Row, SettingsGroup } from '@/extension/components/extension-settings';
+import { Button } from '@/extension/components/ui/button';
+import { AUTHOR, LINKS, STAR_ASK, bugReportUrl, describeVersions } from '@/lib/about';
+import { useAbout } from '@/lib/bridge/use-about';
+
+export function About() {
+ const { versions, agent } = useAbout();
+ const environment = describeVersions(versions);
+
+ return (
+ <div className="space-y-8">
+ <div className="panel-card flex flex-wrap items-center gap-4 rounded-xl p-5">
+ <Logo className="size-11 shrink-0 text-brand" />
+ <div className="min-w-48 flex-1">
+ <p className="font-display text-lg font-semibold tracking-tight text-ink">Browsentic</p>
+ <p className="text-xs text-ink-faint">
+ v{browser.runtime.getManifest().version} · your browser’s superpower · free and open source, MIT
+ </p>
+ </div>
+ <div className="flex gap-2">
+ <ExternalButton href={LINKS.site}>browsentic.com</ExternalButton>
+ <ExternalButton href={LINKS.repository}>Source</ExternalButton>
+ </div>
+ </div>
+
+ <SettingsGroup title="Made by">
+ <Row title={AUTHOR} note="Builds and maintains Browsentic.">
+ <ExternalButton href={LINKS.author}>GitHub profile</ExternalButton>
+ </Row>
+ <Row title="Star it on GitHub" note={STAR_ASK}>
+ <ExternalButton href={LINKS.repository} variant="default" icon={Star}>
+ Star
+ </ExternalButton>
+ </Row>
+ </SettingsGroup>
+
+ <SettingsGroup
+ title="Versions"
+ note="What this browser is running. Report a bug opens GitHub’s issue form with these filled in; nothing is sent until you submit it there."
+ >
+ {versions.map(({ label, value }) => (
+ <Row key={label} title={label}>
+ <span className="font-mono text-xs text-ink-dim select-text">{value}</span>
+ </Row>
+ ))}
+ <div className="flex flex-wrap gap-2 px-4 py-3">
+ <CopyButton value={environment} />
+ <ExternalButton href={bugReportUrl({ environment, agent })} icon={Bug}>
+ Report a bug
+ </ExternalButton>
+ <ExternalButton href={LINKS.feature} icon={Lightbulb}>
+ Suggest a feature
+ </ExternalButton>
+ </div>
+ </SettingsGroup>
+
+ <SettingsGroup title="Help">
+ <LinkRow href={LINKS.guide} icon={BookOpen} title="Guide" note="Installing, pairing, the agents, and every feature step by step." />
+ <LinkRow href={LINKS.troubleshooting} icon={LifeBuoy} title="Troubleshooting" note="Symptom, cause and fix for setup, pairing, agents and pages." />
+ <LinkRow href={LINKS.changelog} icon={ScrollText} title="Release notes" note="What changed in each version." />
+ </SettingsGroup>
+ </div>
+ );
+}
+
+function ExternalButton({
+ href,
+ variant = 'outline',
+ icon: Icon = ExternalLink,
+ children,
+}: {
+ href: string;
+ variant?: 'outline' | 'default';
+ icon?: LucideIcon;
+ children: ReactNode;
+}) {
+ return (
+ <Button asChild variant={variant} size="sm">
+ <a href={href} target="_blank" rel="noreferrer">
+ <Icon /> {children}
+ </a>
+ </Button>
+ );
+}
+
+function CopyButton({ value }: { value: string }) {
+ const [copied, setCopied] = useState(false);
+ const copy = async () => {
+ await navigator.clipboard.writeText(value);
+ setCopied(true);
+ setTimeout(() => setCopied(false), 2000);
+ };
+ return (
+ <Button variant="outline" size="sm" onClick={() => void copy()}>
+ {copied ? <Check /> : <Copy />} {copied ? 'Copied' : 'Copy'}
+ </Button>
+ );
+}
+
+function LinkRow({ href, icon: Icon, title, note }: { href: string; icon: LucideIcon; title: string; note: string }) {
+ return (
+ <a href={href} target="_blank" rel="noreferrer" className="group flex items-center gap-3.5 px-4 py-3.5 transition-colors hover:bg-surface/60">
+ <Icon className="size-4 shrink-0 text-brand" />
+ <span className="min-w-0 flex-1">
+ <span className="block text-sm font-medium text-ink">{title}</span>
+ <span className="mt-0.5 block text-xs leading-relaxed text-ink-faint">{note}</span>
+ </span>
+ <ExternalLink className="size-3.5 shrink-0 text-ink-faint transition-colors group-hover:text-ink-dim" />
+ </a>
+ );
+}
diff --git a/src/extension/components/extension-settings.tsx b/src/extension/components/extension-settings.tsx
index cca66bb..0ee5600 100644
--- a/src/extension/components/extension-settings.tsx
+++ b/src/extension/components/extension-settings.tsx
@@ -123,7 +123,7 @@ export function SettingsGroup({
);
}
-function Row({ title, note, children }: { title: string; note?: string; children?: ReactNode }) {
+export function Row({ title, note, children }: { title: string; note?: string; children?: ReactNode }) {
return (
<div className={cn('flex gap-6 px-4 py-3.5', note ? 'items-start' : 'items-center')}>
<div className="min-w-0 flex-1">
diff --git a/src/extension/entrypoints/options/App.tsx b/src/extension/entrypoints/options/App.tsx
index ba0b995..c699483 100644
--- a/src/extension/entrypoints/options/App.tsx
+++ b/src/extension/entrypoints/options/App.tsx
@@ -1,7 +1,8 @@
import { useEffect, useState, type ComponentType, type ReactNode } from 'react';
-import { Link2, Puzzle, ShieldCheck, Sparkles, UserRound, type LucideIcon } from 'lucide-react';
+import { Info, Link2, Puzzle, ShieldCheck, Sparkles, UserRound, type LucideIcon } from 'lucide-react';
import { browser } from 'wxt/browser';
+import { About } from '@/extension/components/about';
import { AgentPicker } from '@/extension/components/agent-picker';
import { Wordmark } from '@/extension/components/brand';
import { DaemonLink } from '@/extension/components/daemon-link';
@@ -14,7 +15,7 @@ import { useDaemonState } from '@/lib/bridge/use-daemon-state';
import { useTheme } from '@/lib/bridge/use-theme';
import { cn } from '@/lib/utils';
-type SectionId = 'extension' | 'profile' | 'guardrails' | 'agent' | 'connection';
+type SectionId = 'extension' | 'profile' | 'guardrails' | 'agent' | 'connection' | 'about';
const SECTIONS: { id: SectionId; label: string; icon: LucideIcon; blurb: string; View: ComponentType }[] = [
{
@@ -52,6 +53,13 @@ const SECTIONS: { id: SectionId; label: string; icon: LucideIcon; blurb: string;
blurb: 'The link between this browser and the Browsentic daemon on this computer.',
View: Connection,
},
+ {
+ id: 'about',
+ label: 'About',
+ icon: Info,
+ blurb: 'Who makes Browsentic, where to get help, and exactly what this browser is running.',
+ View: About,
+ },
];
const isSection = (value: string): value is SectionId => SECTIONS.some((section) => section.id === value);
@@ -113,9 +121,9 @@ export default function App() {
<footer className="mt-auto hidden space-y-2 md:block">
<StatusPill tone={status.tone}>{status.label}</StatusPill>
- <p className="font-mono text-[10px] tracking-[0.1em] text-ink-faint">
+ <a href="#about" className="block font-mono text-[10px] tracking-[0.1em] text-ink-faint hover:text-ink-dim">
v{browser.runtime.getManifest().version}
- </p>
+ </a>
</footer>
</div>
</aside>
diff --git a/src/lib/about.test.ts b/src/lib/about.test.ts
new file mode 100644
index 0000000..1788f0a
--- /dev/null
+++ b/src/lib/about.test.ts
@@ -0,0 +1,34 @@
+import { describe, expect, test } from 'vitest';
+import { bugReportUrl, describeAgent, describeVersions } from './about';
+
+describe('the bug report the About page opens', () => {
+ test('lands on the bug form with the environment and the agent already filled in', () => {
+ const url = new URL(bugReportUrl({ environment: 'Extension 0.7.15 · Daemon 0.7.15 & up', agent: 'Codex 0.42.0' }));
+ expect(url.origin + url.pathname).toBe('https://github.com/imshaikot/browsentic/issues/new');
+ expect(Object.fromEntries(url.searchParams)).toEqual({
+ template: 'bug_report.yml',
+ environment: 'Extension 0.7.15 · Daemon 0.7.15 & up',
+ agent: 'Codex 0.42.0',
+ });
+ });
+
+ test('leaves the agent field to the reporter when no agent is known', () => {
+ expect(new URL(bugReportUrl({ environment: 'Extension 0.7.15' })).searchParams.has('agent')).toBe(false);
+ });
+
+ test('reads the versions as one line, in the order they were listed', () => {
+ expect(describeVersions([{ label: 'App', value: '0.7.15' }, { label: 'Protocol', value: '22' }])).toBe('App 0.7.15 · Protocol 22');
+ });
+
+ test('names the active agent with the release its CLI printed, and nothing when none is active', () => {
+ expect(describeAgent({ active: 'claude', runners: [{ kind: 'claude', bin: 'claude', ready: true, version: '2.1.284 (Claude Code)' }] })).toBe(
+ 'Claude Code 2.1.284',
+ );
+ expect(describeAgent({ active: 'codex', runners: [{ kind: 'codex', bin: 'codex', ready: true, version: 'codex-cli 0.155.1-beta.2' }] })).toBe(
+ 'Codex 0.155.1-beta.2',
+ );
+ expect(describeAgent({ active: 'vibe', runners: [{ kind: 'vibe', bin: 'vibe', ready: true, version: 'nightly' }] })).toBe('Mistral Vibe nightly');
+ expect(describeAgent({ active: 'codex', runners: [{ kind: 'codex', bin: 'codex', ready: false }] })).toBe('Codex');
+ expect(describeAgent(undefined)).toBeUndefined();
+ });
+});
diff --git a/src/lib/about.ts b/src/lib/about.ts
new file mode 100644
index 0000000..4220c62
--- /dev/null
+++ b/src/lib/about.ts
@@ -0,0 +1,41 @@
+import { AGENTS, activeRunner, type AgentState } from '@/lib/agents/catalog';
+
+const REPOSITORY = 'https://github.com/imshaikot/browsentic';
+
+export const LINKS = {
+ author: 'https://github.com/imshaikot',
+ repository: REPOSITORY,
+ site: 'https://browsentic.com',
+ guide: 'https://browsentic.com/docs/guide/',
+ troubleshooting: 'https://browsentic.com/docs/guide/troubleshooting/',
+ windowsApp: 'https://browsentic.com/docs/guide/windows-app/',
+ changelog: 'https://browsentic.com/changelog/',
+ feature: `${REPOSITORY}/issues/new?template=capability.yml`,
+} as const;
+
+export const AUTHOR = 'imshaikot';
+
+export const STAR_ASK =
+ 'Browsentic is free and open source — no API key, no subscription, no account. A star on GitHub is how the next person finds it.';
+
+export interface VersionRow {
+ label: string;
+ value: string;
+}
+
+export const describeVersions = (rows: readonly VersionRow[]): string =>
+ rows.map(({ label, value }) => `${label} ${value}`).join(' · ');
+
+const RELEASE = /\d+(?:\.\d+)+(?:[-+][\w.]+)?/;
+
+export function describeAgent(state: AgentState | undefined): string | undefined {
+ const runner = activeRunner(state);
+ if (!runner) return undefined;
+ const release = runner.version && (runner.version.match(RELEASE)?.[0] ?? runner.version);
+ return [AGENTS[runner.kind]?.label ?? runner.kind, release].filter(Boolean).join(' ');
+}
+
+export function bugReportUrl({ environment, agent }: { environment: string; agent?: string }): string {
+ const fields = new URLSearchParams({ template: 'bug_report.yml', environment, ...(agent ? { agent } : {}) });
+ return `${REPOSITORY}/issues/new?${fields}`;
+}
diff --git a/src/lib/bridge/identity.test.ts b/src/lib/bridge/identity.test.ts
index 2599bb1..6b825b1 100644
--- a/src/lib/bridge/identity.test.ts
+++ b/src/lib/bridge/identity.test.ts
@@ -1,5 +1,5 @@
import { describe, expect, test } from 'vitest';
-import { brandFrom } from './identity';
+import { brandFrom, releaseFrom } from './identity';
const chromium = { brand: 'Chromium' };
const placeholder = { brand: 'Not/A)Brand' };
@@ -22,3 +22,16 @@ describe("naming the browser from the brands it reports", () => {
expect(brandFrom([])).toBeUndefined();
});
});
+
+describe('naming the browser and its release for a bug report', () => {
+ test('the product and its major version, past the engine and the placeholder', () => {
+ expect(releaseFrom([{ brand: 'Not/A)Brand', version: '8' }, { brand: 'Chromium', version: '139' }, { brand: 'Google Chrome', version: '139' }])).toBe(
+ 'Google Chrome 139',
+ );
+ });
+
+ test('a brand without a version is named alone, and no brands name nothing', () => {
+ expect(releaseFrom([{ brand: 'Brave' }])).toBe('Brave');
+ expect(releaseFrom([])).toBeUndefined();
+ });
+});
diff --git a/src/lib/bridge/identity.ts b/src/lib/bridge/identity.ts
index 7f8ca7f..9299193 100644
--- a/src/lib/bridge/identity.ts
+++ b/src/lib/bridge/identity.ts
@@ -30,19 +30,46 @@ async function installId(): Promise<string> {
return minted;
}
-export function brandFrom(brands: readonly { brand: string }[]): string | undefined {
- const named = brands.map(({ brand }) => brand).filter((brand) => !PLACEHOLDER_BRAND.test(brand));
- return named.find((brand) => brand !== 'Chromium') ?? named[0];
+interface Brand {
+ brand: string;
+ version?: string;
}
+function productOf<T extends Brand>(brands: readonly T[]): T | undefined {
+ const named = brands.filter(({ brand }) => !PLACEHOLDER_BRAND.test(brand));
+ return named.find(({ brand }) => brand !== 'Chromium') ?? named[0];
+}
+
+export function brandFrom(brands: readonly Brand[]): string | undefined {
+ return productOf(brands)?.brand;
+}
+
+export function releaseFrom(brands: readonly Brand[]): string | undefined {
+ const product = productOf(brands);
+ return product && [product.brand, product.version].filter(Boolean).join(' ');
+}
+
+const geckoRuntime = () =>
+ browser.runtime as typeof browser.runtime & { getBrowserInfo(): Promise<{ name: string; version: string }> };
+
+const chromiumBrands = (): Brand[] => (navigator as Navigator & { userAgentData?: { brands?: Brand[] } }).userAgentData?.brands ?? [];
+
async function browserName(): Promise<string | undefined> {
+ try {
+ if (import.meta.env.FIREFOX) return (await geckoRuntime().getBrowserInfo()).name;
+ return brandFrom(chromiumBrands());
+ } catch {
+ return undefined;
+ }
+}
+
+export async function browserRelease(): Promise<string | undefined> {
try {
if (import.meta.env.FIREFOX) {
- const gecko = browser.runtime as typeof browser.runtime & { getBrowserInfo(): Promise<{ name: string }> };
- return (await gecko.getBrowserInfo()).name;
+ const { name, version } = await geckoRuntime().getBrowserInfo();
+ return `${name} ${version}`;
}
- const agent = navigator as Navigator & { userAgentData?: { brands?: { brand: string }[] } };
- return brandFrom(agent.userAgentData?.brands ?? []);
+ return releaseFrom(chromiumBrands());
} catch {
return undefined;
}
diff --git a/src/lib/bridge/use-about.ts b/src/lib/bridge/use-about.ts
new file mode 100644
index 0000000..e1ea9b0
--- /dev/null
+++ b/src/lib/bridge/use-about.ts
@@ -0,0 +1,47 @@
+import { useEffect, useState } from 'react';
+import { browser } from 'wxt/browser';
+
+import { describeAgent, type VersionRow } from '@/lib/about';
+import { SOCKET_PROTOCOL_VERSION } from '@/lib/actions/protocol';
+import { browserRelease } from './identity';
+import { useDaemonState } from './use-daemon-state';
+
+const SYSTEMS: Record<string, string> = { mac: 'macOS', win: 'Windows', linux: 'Linux', cros: 'ChromeOS', openbsd: 'OpenBSD' };
+
+const BUILD = import.meta.env.FIREFOX ? 'Firefox MV2' : 'Chrome MV3';
+
+interface Host {
+ browser?: string;
+ system?: string;
+}
+
+async function readHost(): Promise<Host> {
+ const [release, platform] = await Promise.all([browserRelease(), browser.runtime.getPlatformInfo().catch(() => undefined)]);
+ return { browser: release, system: platform && `${SYSTEMS[platform.os] ?? platform.os} · ${platform.arch}` };
+}
+
+export function useAbout(): { versions: VersionRow[]; agent?: string } {
+ const daemon = useDaemonState();
+ const [host, setHost] = useState<Host>({});
+
+ useEffect(() => {
+ let live = true;
+ void readHost().then((found) => live && setHost(found));
+ return () => {
+ live = false;
+ };
+ }, []);
+
+ const connected = daemon?.connected ? daemon : undefined;
+ const agent = describeAgent(connected?.agent);
+ const versions = [
+ { label: 'Extension', value: `${browser.runtime.getManifest().version} · ${BUILD}` },
+ { label: 'Daemon', value: connected?.daemonVersion ? [connected.daemonVersion, connected.port && `port ${connected.port}`].filter(Boolean).join(' · ') : 'not connected' },
+ { label: 'Protocol', value: String(SOCKET_PROTOCOL_VERSION) },
+ agent && { label: 'Agent', value: agent },
+ host.browser && { label: 'Browser', value: host.browser },
+ host.system && { label: 'System', value: host.system },
+ ].filter((row): row is VersionRow => !!row);
+
+ return { versions, agent };
+}
diff --git a/src/mac/Sources/Browsentic/App/AppModel.swift b/src/mac/Sources/Browsentic/App/AppModel.swift
index f2699e9..ea833bb 100644
--- a/src/mac/Sources/Browsentic/App/AppModel.swift
+++ b/src/mac/Sources/Browsentic/App/AppModel.swift
@@ -17,7 +17,7 @@ enum DaemonPhase: Equatable {
}
enum Tab: String, CaseIterable, Identifiable {
- case overview, browsers, agents, skills, activity, logs, settings
+ case overview, browsers, agents, skills, activity, logs, settings, about
var id: String { rawValue }
var label: String { rawValue.capitalized }
@@ -30,6 +30,7 @@ enum Tab: String, CaseIterable, Identifiable {
case .activity: "checkmark.shield"
case .logs: "text.alignleft"
case .settings: "gearshape"
+ case .about: "info.circle"
}
}
}
@@ -115,9 +116,7 @@ final class AppModel: ObservableObject {
private func evaluate(_ id: CheckID) async -> CheckState {
switch id {
case .system:
- let os = ProcessInfo.processInfo.operatingSystemVersion
- let chip = NodeRuntime.architecture == "arm64" ? "Apple silicon" : "Intel"
- return .passed("macOS \(os.majorVersion).\(os.minorVersion) · \(chip)")
+ return .passed(About.system)
case .node:
node = await NodeRuntime.locate()
guard let node else { return .missing("Version \(NodeRuntime.minimumMajor) or newer runs the daemon. A private copy goes in \(Paths.tilde(Paths.runtime)).") }
diff --git a/src/mac/Sources/Browsentic/Core/About.swift b/src/mac/Sources/Browsentic/Core/About.swift
new file mode 100644
index 0000000..eb5a7de
--- /dev/null
+++ b/src/mac/Sources/Browsentic/Core/About.swift
@@ -0,0 +1,51 @@
+import Foundation
+
+enum About {
+ static let author = "imshaikot"
+ static let starAsk = "Browsentic is free and open source — no API key, no subscription, no account. A star on GitHub is how the next person finds it."
+
+ enum Link {
+ static let author = URL(string: "https://github.com/imshaikot")!
+ static let repository = URL(string: "https://github.com/imshaikot/browsentic")!
+ static let site = URL(string: "https://browsentic.com")!
+ static let guide = URL(string: "https://browsentic.com/docs/guide/")!
+ static let macApp = URL(string: "https://browsentic.com/docs/guide/mac-app/")!
+ static let troubleshooting = URL(string: "https://browsentic.com/docs/guide/troubleshooting/")!
+ static let changelog = URL(string: "https://browsentic.com/changelog/")!
+ static let feature = URL(string: "https://github.com/imshaikot/browsentic/issues/new?template=capability.yml")!
+ }
+
+ struct Row: Identifiable, Equatable {
+ let label: String
+ let value: String
+ var id: String { label }
+ }
+
+ static var system: String {
+ let os = ProcessInfo.processInfo.operatingSystemVersion
+ let chip = NodeRuntime.architecture == "arm64" ? "Apple silicon" : "Intel"
+ return "macOS \(os.majorVersion).\(os.minorVersion) · \(chip)"
+ }
+
+ static func describe(_ rows: [Row]) -> String {
+ rows.map { "\($0.label) \($0.value)" }.joined(separator: " · ")
+ }
+
+ static func agent(_ state: AgentState?) -> String? {
+ guard let state, let runner = state.runners.first(where: { $0.kind == state.active }) else { return nil }
+ let label = state.catalog?.first { $0.kind == runner.kind }?.label ?? runner.kind
+ let release = runner.version.map { version in
+ version.range(of: #"\d+(?:\.\d+)+(?:[-+][\w.]+)?"#, options: .regularExpression).map { String(version[$0]) } ?? version
+ }
+ return [label, release].compactMap { $0 }.joined(separator: " ")
+ }
+
+ static func bugReport(environment: String, agent: String?) -> URL {
+ var components = URLComponents(url: Link.repository.appendingPathComponent("issues/new"), resolvingAgainstBaseURL: false)!
+ components.queryItems = [URLQueryItem(name: "template", value: "bug_report.yml"), URLQueryItem(name: "environment", value: environment)]
+ + (agent.map { [URLQueryItem(name: "agent", value: $0)] } ?? [])
+ // URLComponents leaves “+” as is, and GitHub reads it as a space.
+ components.percentEncodedQuery = components.percentEncodedQuery?.replacingOccurrences(of: "+", with: "%2B")
+ return components.url!
+ }
+}
diff --git a/src/mac/Sources/Browsentic/Views/AboutView.swift b/src/mac/Sources/Browsentic/Views/AboutView.swift
new file mode 100644
index 0000000..1fd700b
--- /dev/null
+++ b/src/mac/Sources/Browsentic/Views/AboutView.swift
@@ -0,0 +1,148 @@
+import SwiftUI
+
+struct AboutView: View {
+ @EnvironmentObject private var model: AppModel
+
+ private var versions: [About.Row] {
+ let status = model.status
+ let daemonVersion = status?.daemonVersion ?? model.lock?.daemonVersion
+ let loaded = status?.connected == true ? status?.extensionVersion.map { "\($0) connected" } : nil
+ let rows: [About.Row?] = [
+ About.Row(label: "App", value: model.appVersion),
+ About.Row(label: "Command", value: Payload.installedVersion ?? "not installed"),
+ About.Row(label: "Daemon", value: daemonVersion.map { [$0, status.map { "port \($0.port)" }].compactMap { $0 }.joined(separator: " · ") } ?? "off"),
+ status.map { About.Row(label: "Protocol", value: String($0.protocolVersion)) },
+ About.Row(label: "Extension", value: [model.stamp.map { "\($0.version) unpacked" }, loaded ?? "not connected"].compactMap { $0 }.joined(separator: " · ")),
+ About.agent(model.agents).map { About.Row(label: "Agent", value: $0) },
+ model.node.map { About.Row(label: "Node.js", value: $0.version) },
+ About.Row(label: "System", value: About.system),
+ ]
+ return rows.compactMap { $0 }
+ }
+
+ var body: some View {
+ let rows = versions
+ let environment = About.describe(rows)
+
+ VStack(spacing: 18) {
+ Card {
+ HStack(spacing: 16) {
+ BrandMark().frame(width: 48, height: 48)
+ SectionTitle(title: "Browsentic", subtitle: "\(model.appVersion) · your browser’s superpower · free and open source, MIT.")
+ Spacer(minLength: 0)
+ LinkButton(title: "browsentic.com", url: About.Link.site)
+ LinkButton(title: "Source", url: About.Link.repository)
+ }
+ }
+
+ Card {
+ VStack(alignment: .leading, spacing: 14) {
+ HStack(spacing: 16) {
+ SectionTitle(title: "Made by \(About.author)", subtitle: "Builds and maintains Browsentic.")
+ Spacer(minLength: 0)
+ LinkButton(title: "GitHub profile", url: About.Link.author)
+ }
+ Divider().overlay(Palette.line)
+ HStack(spacing: 16) {
+ Image(systemName: "star.fill").font(.system(size: 18, weight: .semibold)).foregroundStyle(Palette.amber)
+ SectionTitle(title: "Star it on GitHub", subtitle: About.starAsk)
+ Spacer(minLength: 0)
+ Button { NSWorkspace.shared.open(About.Link.repository) } label: { Label("Star", systemImage: "star") }
+ .buttonStyle(PrimaryButtonStyle())
+ }
+ }
+ }
+
+ Card {
+ VStack(alignment: .leading, spacing: 14) {
+ SectionTitle(
+ title: "Versions",
+ subtitle: "What this Mac is running. Report a bug opens GitHub’s issue form with these filled in; nothing is sent until you submit it there."
+ )
+ VStack(spacing: 0) {
+ ForEach(Array(rows.enumerated()), id: \.element.id) { index, row in
+ if index > 0 { Divider().overlay(Palette.line) }
+ HStack(spacing: 16) {
+ Text(row.label).font(.system(size: 12)).foregroundStyle(Palette.inkDim).frame(width: 96, alignment: .leading)
+ Text(row.value).font(.code(11.5)).foregroundStyle(Palette.ink).lineLimit(1).truncationMode(.middle).textSelection(.enabled)
+ Spacer(minLength: 0)
+ }
+ .padding(.horizontal, 14)
+ .padding(.vertical, 8)
+ }
+ }
+ .background(Palette.ground2, in: RoundedRectangle(cornerRadius: 10, style: .continuous))
+ .overlay(RoundedRectangle(cornerRadius: 10, style: .continuous).strokeBorder(Palette.line))
+ HStack(spacing: 8) {
+ CopyButton(value: environment)
+ LinkButton(title: "Report a bug", icon: "ladybug", url: About.bugReport(environment: environment, agent: About.agent(model.agents)))
+ LinkButton(title: "Suggest a feature", icon: "lightbulb", url: About.Link.feature)
+ }
+ }
+ }
+
+ Card(padding: 0) {
+ VStack(alignment: .leading, spacing: 0) {
+ SectionTitle(title: "Help")
+ .padding(.horizontal, 20)
+ .padding(.top, 20)
+ .padding(.bottom, 8)
+ HelpRow(icon: "book", title: "Guide", detail: "Installing, pairing, the agents, and every feature step by step.", url: About.Link.guide)
+ HelpRow(icon: "macwindow", title: "This app", detail: "Every tab of this window, the menu bar item, updates and uninstalling.", url: About.Link.macApp)
+ HelpRow(icon: "lifepreserver", title: "Troubleshooting", detail: "Symptom, cause and fix for setup, pairing, agents and pages.", url: About.Link.troubleshooting)
+ HelpRow(icon: "doc.text", title: "Release notes", detail: "What changed in each version.", url: About.Link.changelog)
+ Divider().overlay(Palette.line)
+ Button {
+ model.phase = .preflight
+ Task { await model.runPreflight() }
+ } label: {
+ Label("Run the checks again", systemImage: "arrow.counterclockwise")
+ }
+ .buttonStyle(QuietButtonStyle())
+ .padding(.horizontal, 20)
+ .padding(.vertical, 14)
+ }
+ }
+ }
+ }
+}
+
+private struct LinkButton: View {
+ let title: String
+ var icon = "arrow.up.right"
+ let url: URL
+
+ var body: some View {
+ Button { NSWorkspace.shared.open(url) } label: { Label(title, systemImage: icon) }
+ .buttonStyle(QuietButtonStyle())
+ }
+}
+
+private struct HelpRow: View {
+ let icon: String
+ let title: String
+ let detail: String
+ let url: URL
+ @State private var hovered = false
+
+ var body: some View {
+ Button { NSWorkspace.shared.open(url) } label: {
+ HStack(spacing: 14) {
+ Image(systemName: icon).font(.system(size: 14, weight: .semibold)).foregroundStyle(Palette.brand).frame(width: 20)
+ VStack(alignment: .leading, spacing: 2) {
+ Text(title).font(.system(size: 13, weight: .medium)).foregroundStyle(Palette.ink)
+ Text(detail).font(.system(size: 12)).foregroundStyle(Palette.inkDim)
+ }
+ Spacer(minLength: 0)
+ Image(systemName: "arrow.up.right").font(.system(size: 11, weight: .semibold)).foregroundStyle(hovered ? Palette.inkDim : Palette.inkFaint)
+ }
+ .padding(.horizontal, 20)
+ .padding(.vertical, 11)
+ .background(hovered ? Palette.surface2.opacity(0.6) : .clear)
+ .overlay(alignment: .top) { Rectangle().fill(Palette.line).frame(height: 1) }
+ .contentShape(Rectangle())
+ }
+ .buttonStyle(.plain)
+ .onHover { hovered = $0 }
+ }
+}
diff --git a/src/mac/Sources/Browsentic/Views/MainView.swift b/src/mac/Sources/Browsentic/Views/MainView.swift
index a8dcf14..5095c7e 100644
--- a/src/mac/Sources/Browsentic/Views/MainView.swift
+++ b/src/mac/Sources/Browsentic/Views/MainView.swift
@@ -15,6 +15,7 @@ struct MainView: View {
case .activity: ActivityView()
case .logs: LogsView()
case .settings: SettingsView()
+ case .about: AboutView()
}
}
.frame(maxWidth: 880)
@@ -33,7 +34,7 @@ struct MainView: View {
}
}
-/// The view switcher floats at the top centre, ⌘1…⌘7.
+/// The view switcher floats at the top centre, ⌘1…⌘8.
private struct TabCapsule: View {
@EnvironmentObject private var model: AppModel
@Namespace private var highlight
diff --git a/src/mac/Sources/Browsentic/Views/SettingsView.swift b/src/mac/Sources/Browsentic/Views/SettingsView.swift
index b9e9c8d..f95c7f0 100644
--- a/src/mac/Sources/Browsentic/Views/SettingsView.swift
+++ b/src/mac/Sources/Browsentic/Views/SettingsView.swift
@@ -74,15 +74,10 @@ struct SettingsView: View {
}
Card {
- VStack(alignment: .leading, spacing: 12) {
- SectionTitle(title: "About", subtitle: "Browsentic \(model.appVersion) · free and open source, MIT.")
- HStack(spacing: 8) {
- Button("browsentic.com") { NSWorkspace.shared.open(URL(string: "https://browsentic.com")!) }.buttonStyle(QuietButtonStyle())
- Button("Source") { NSWorkspace.shared.open(URL(string: "https://github.com/imshaikot/browsentic")!) }.buttonStyle(QuietButtonStyle())
- Button("Run the checks again") { model.phase = .preflight; Task { await model.runPreflight() } }.buttonStyle(QuietButtonStyle())
- Spacer()
- Button("Uninstall…") { confirmingUninstall = true }.buttonStyle(QuietButtonStyle(tint: Palette.danger))
- }
+ HStack(spacing: 16) {
+ SectionTitle(title: "Uninstall", subtitle: "Stops the daemon, unpairs every browser, and removes the command, the unpacked extension, keys, approvals and logs.")
+ Spacer(minLength: 0)
+ Button("Uninstall…") { confirmingUninstall = true }.buttonStyle(QuietButtonStyle(tint: Palette.danger))
}
}
}
diff --git a/src/mac/Tests/BrowsenticTests/ModelTests.swift b/src/mac/Tests/BrowsenticTests/ModelTests.swift
index 6cdb658..ce949ee 100644
--- a/src/mac/Tests/BrowsenticTests/ModelTests.swift
+++ b/src/mac/Tests/BrowsenticTests/ModelTests.swift
@@ -127,3 +127,31 @@ import Testing
#expect(!UpdatePhase.checking.isInstalling)
}
}
+
+@Suite struct AboutTests {
+ @Test func opensTheBugFormWithTheVersionsFilledIn() {
+ let url = About.bugReport(environment: "App 0.7.15+build · Daemon off & idle", agent: "Codex 0.42.0")
+ let fields = URLComponents(url: url, resolvingAgainstBaseURL: false)?.queryItems ?? []
+ #expect(url.absoluteString.hasPrefix("https://github.com/imshaikot/browsentic/issues/new?"))
+ #expect(url.query?.contains("%2Bbuild") == true)
+ #expect(fields.map(\.name) == ["template", "environment", "agent"])
+ #expect(fields.first { $0.name == "template" }?.value == "bug_report.yml")
+ }
+
+ @Test func leavesTheAgentToTheReporterWhenNoneIsKnown() {
+ let fields = URLComponents(url: About.bugReport(environment: "App 0.7.15", agent: nil), resolvingAgainstBaseURL: false)?.queryItems ?? []
+ #expect(!fields.contains { $0.name == "agent" })
+ }
+
+ @Test func namesTheActiveAgentWithTheReleaseItsCLIPrinted() throws {
+ let json = #"{"active":"claude","runners":[{"kind":"claude","bin":"claude","ready":true,"version":"2.1.284 (Claude Code)"}],"catalog":[{"kind":"claude","label":"Claude Code","vendor":"Anthropic","bin":"claude","install":"npm i -g @anthropic-ai/claude-code","docs":"https://example.com","models":[]}]}"#
+ let state = try JSONDecoder().decode(AgentState.self, from: Data(json.utf8))
+ #expect(About.agent(state) == "Claude Code 2.1.284")
+ #expect(About.agent(nil) == nil)
+ }
+
+ @Test func readsTheVersionsAsOneLine() {
+ #expect(About.describe([About.Row(label: "App", value: "0.7.15"), About.Row(label: "Protocol", value: "22")]) == "App 0.7.15 · Protocol 22")
+ }
+}
+
diff --git a/src/windows/ui/model.ts b/src/windows/ui/model.ts
index 3d1c24d..ca9c710 100644
--- a/src/windows/ui/model.ts
+++ b/src/windows/ui/model.ts
@@ -26,8 +26,8 @@ import type {
export type Phase = 'preflight' | 'main';
export type DaemonPhase = 'off' | 'starting' | 'on' | 'stopping';
-export type Tab = 'overview' | 'browsers' | 'agents' | 'skills' | 'activity' | 'logs' | 'settings';
-export const TABS: Tab[] = ['overview', 'browsers', 'agents', 'skills', 'activity', 'logs', 'settings'];
+export type Tab = 'overview' | 'browsers' | 'agents' | 'skills' | 'activity' | 'logs' | 'settings' | 'about';
+export const TABS: Tab[] = ['overview', 'browsers', 'agents', 'skills', 'activity', 'logs', 'settings', 'about'];
export type CheckId = 'system' | 'node' | 'command' | 'extensionFiles' | 'browser' | 'agent';
export const CHECKS: CheckId[] = ['system', 'node', 'command', 'extensionFiles', 'browser', 'agent'];
diff --git a/src/windows/ui/views/about.tsx b/src/windows/ui/views/about.tsx
new file mode 100644
index 0000000..266fda8
--- /dev/null
+++ b/src/windows/ui/views/about.tsx
@@ -0,0 +1,129 @@
+import { BookOpen, Bug, ExternalLink, LifeBuoy, Lightbulb, MonitorCog, RotateCcw, ScrollText, Star, type LucideIcon } from 'lucide-react';
+
+import { Logo } from '@/extension/components/brand';
+import { AUTHOR, LINKS, STAR_ASK, bugReportUrl, describeAgent, describeVersions, type VersionRow } from '@/lib/about';
+import { Card, CopyButton, PrimaryButton, QuietButton, SectionTitle } from '../components';
+import type { Model, State } from '../model';
+
+export function versionsOf(state: State): VersionRow[] {
+ const { info, status, lock, stamp, node } = state;
+ const daemonVersion = status?.daemonVersion ?? lock?.daemonVersion;
+ const agent = describeAgent(state.agents);
+ return [
+ { label: 'App', value: info?.version ?? 'unknown' },
+ { label: 'Command', value: info?.payload.installed ?? 'not installed' },
+ { label: 'Daemon', value: daemonVersion ? [daemonVersion, status && `port ${status.port}`].filter(Boolean).join(' · ') : 'off' },
+ status && { label: 'Protocol', value: String(status.protocolVersion) },
+ {
+ label: 'Extension',
+ value: [stamp && `${stamp.version} unpacked`, status?.connected && status.extensionVersion ? `${status.extensionVersion} connected` : 'not connected']
+ .filter(Boolean)
+ .join(' · '),
+ },
+ agent && { label: 'Agent', value: agent },
+ node && { label: 'Node.js', value: node.version },
+ info && { label: 'System', value: `${info.system.name} · ${info.system.architecture}` },
+ ].filter((row): row is VersionRow => !!row);
+}
+
+export function AboutView({ model, state }: { model: Model; state: State }) {
+ const versions = versionsOf(state);
+ const environment = describeVersions(versions);
+ const open = (url: string) => () => void model.openUrl(url);
+
+ return (
+ <div className="space-y-4.5">
+ <Card>
+ <div className="flex items-center gap-4">
+ <Logo className="size-12 shrink-0 text-brand" />
+ <div className="min-w-0 flex-1">
+ <SectionTitle title="Browsentic" subtitle={`${state.info?.version ?? ''} · your browser’s superpower · free and open source, MIT.`} />
+ </div>
+ <QuietButton icon={ExternalLink} onClick={open(LINKS.site)}>
+ browsentic.com
+ </QuietButton>
+ <QuietButton icon={ExternalLink} onClick={open(LINKS.repository)}>
+ Source
+ </QuietButton>
+ </div>
+ </Card>
+
+ <Card>
+ <div className="space-y-4">
+ <div className="flex items-center gap-4">
+ <div className="min-w-0 flex-1">
+ <SectionTitle title={`Made by ${AUTHOR}`} subtitle="Builds and maintains Browsentic." />
+ </div>
+ <QuietButton icon={ExternalLink} onClick={open(LINKS.author)}>
+ GitHub profile
+ </QuietButton>
+ </div>
+ <div className="border-t border-line" />
+ <div className="flex items-center gap-4">
+ <Star className="size-5 shrink-0 text-amber" strokeWidth={2.5} />
+ <div className="min-w-0 flex-1">
+ <SectionTitle title="Star it on GitHub" subtitle={STAR_ASK} />
+ </div>
+ <PrimaryButton icon={Star} onClick={open(LINKS.repository)}>
+ Star
+ </PrimaryButton>
+ </div>
+ </div>
+ </Card>
+
+ <Card>
+ <div className="space-y-3.5">
+ <SectionTitle
+ title="Versions"
+ subtitle="What this computer is running. Report a bug opens GitHub’s issue form with these filled in; nothing is sent until you submit it there."
+ />
+ <dl className="divide-y divide-line rounded-[10px] border border-line bg-ground-2">
+ {versions.map(({ label, value }) => (
+ <div key={label} className="flex items-center gap-4 px-3.5 py-2">
+ <dt className="w-24 shrink-0 text-xs text-ink-dim">{label}</dt>
+ <dd className="min-w-0 flex-1 truncate font-mono text-[11.5px] text-ink select-text">{value}</dd>
+ </div>
+ ))}
+ </dl>
+ <div className="flex flex-wrap items-center gap-2">
+ <CopyButton value={environment} />
+ <QuietButton icon={Bug} onClick={open(bugReportUrl({ environment, agent: describeAgent(state.agents) }))}>
+ Report a bug
+ </QuietButton>
+ <QuietButton icon={Lightbulb} onClick={open(LINKS.feature)}>
+ Suggest a feature
+ </QuietButton>
+ </div>
+ </div>
+ </Card>
+
+ <Card padded={false}>
+ <div className="px-5 pt-5 pb-2">
+ <SectionTitle title="Help" />
+ </div>
+ <HelpRow icon={BookOpen} title="Guide" detail="Installing, pairing, the agents, and every feature step by step." onClick={open(LINKS.guide)} />
+ <HelpRow icon={MonitorCog} title="This app" detail="Every tab of this window, the tray, updates and uninstalling." onClick={open(LINKS.windowsApp)} />
+ <HelpRow icon={LifeBuoy} title="Troubleshooting" detail="Symptom, cause and fix for setup, pairing, agents and pages." onClick={open(LINKS.troubleshooting)} />
+ <HelpRow icon={ScrollText} title="Release notes" detail="What changed in each version." onClick={open(LINKS.changelog)} />
+ <div className="border-t border-line px-5 py-3.5">
+ <QuietButton icon={RotateCcw} onClick={() => model.showPreflight()}>
+ Run the checks again
+ </QuietButton>
+ </div>
+ </Card>
+ </div>
+ );
+}
+
+function HelpRow({ icon: Icon, title, detail, onClick }: { icon: LucideIcon; title: string; detail: string; onClick: () => void }) {
+ return (
+ <button type="button" onClick={onClick} className="group flex w-full items-center gap-3.5 border-t border-line px-5 py-3 text-left transition-colors hover:bg-surface-2/60">
+ <Icon className="size-4 shrink-0 text-brand" />
+ <span className="min-w-0 flex-1">
+ <span className="block text-[13px] font-medium text-ink">{title}</span>
+ <span className="mt-0.5 block text-xs text-ink-dim">{detail}</span>
+ </span>
+ <ExternalLink className="size-3.5 shrink-0 text-ink-faint transition-colors group-hover:text-ink-dim" />
+ </button>
+ );
+}
diff --git a/src/windows/ui/views/main.tsx b/src/windows/ui/views/main.tsx
index ae7e3f1..fb67c45 100644
--- a/src/windows/ui/views/main.tsx
+++ b/src/windows/ui/views/main.tsx
@@ -1,7 +1,8 @@
-import { AlignLeft, BookOpen, Globe, Power, Settings, ShieldCheck, Sparkles, type LucideIcon } from 'lucide-react';
+import { AlignLeft, BookOpen, Globe, Info, Power, Settings, ShieldCheck, Sparkles, type LucideIcon } from 'lucide-react';
import { cn } from '@/lib/utils';
import { TABS, type Model, type State, type Tab } from '../model';
+import { AboutView } from './about';
import { ActivityView } from './activity';
import { AgentsView } from './agents';
import { BrowsersView } from './browsers';
@@ -18,6 +19,7 @@ const TAB: Record<Tab, { label: string; icon: LucideIcon; view: typeof OverviewV
activity: { label: 'Activity', icon: ShieldCheck, view: ActivityView },
logs: { label: 'Logs', icon: AlignLeft, view: LogsView },
settings: { label: 'Settings', icon: Settings, view: SettingsView },
+ about: { label: 'About', icon: Info, view: AboutView },
};
export function MainView({ model, state }: { model: Model; state: State }) {
@@ -34,7 +36,7 @@ export function MainView({ model, state }: { model: Model; state: State }) {
);
}
-/** The view switcher floats at the top centre, Ctrl+1…Ctrl+7. */
+/** The view switcher floats at the top centre, Ctrl+1…Ctrl+8. */
function TabCapsule({ model, state }: { model: Model; state: State }) {
return (
<nav className="absolute top-1.5 left-1/2 flex -translate-x-1/2 gap-0.5 rounded-full border border-line bg-surface/80 p-1 shadow-[0_6px_18px_rgb(0_0_0/0.25)] backdrop-blur-md">
diff --git a/src/windows/ui/views/settings.tsx b/src/windows/ui/views/settings.tsx
index 68bd391..94708f4 100644
--- a/src/windows/ui/views/settings.tsx
+++ b/src/windows/ui/views/settings.tsx
@@ -88,17 +88,16 @@ export function SettingsView({ model, state }: { model: Model; state: State }) {
</Card>
<Card>
- <div className="space-y-3">
- <SectionTitle title="About" subtitle={`Browsentic ${info?.version ?? ''} · free and open source, MIT.`} />
- <div className="flex flex-wrap items-center gap-2">
- <QuietButton onClick={() => void model.openUrl('https://browsentic.com')}>browsentic.com</QuietButton>
- <QuietButton onClick={() => void model.openUrl('https://github.com/imshaikot/browsentic')}>Source</QuietButton>
- <QuietButton onClick={() => model.showPreflight()}>Run the checks again</QuietButton>
- <div className="flex-1" />
- <QuietButton tint="danger" onClick={() => setConfirming(true)}>
- Uninstall…
- </QuietButton>
+ <div className="flex items-center gap-4">
+ <div className="min-w-0 flex-1">
+ <SectionTitle
+ title="Uninstall"
+ subtitle="Stops the daemon, unpairs every browser, and removes the command, the unpacked extension, keys, approvals and logs."
+ />
</div>
+ <QuietButton tint="danger" onClick={() => setConfirming(true)}>
+ Uninstall…
+ </QuietButton>
</div>
</Card>