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
fix(extension): a tab's title is sealed before it is clipped, so a secret cut in two is never sent in part, and a conversation of more than 20 tabs keeps the one the run is on in what the agent is told
Shahriar3732aa4106c3
diff --git a/src/lib/bridge/run-port.ts b/src/lib/bridge/run-port.tsindex 74e766e..28ba3d6 100644--- a/src/lib/bridge/run-port.ts+++ b/src/lib/bridge/run-port.ts@@ -725,16 +725,22 @@ async function rosterOf(session: TabSession, current: Browser.tabs.Tab | null):const host = hostOf(tab.url);const isCurrent = tab.id === session.currentTabId;if (!host && !isCurrent) continue;- const { value: title } = await sealForPage((tab.title ?? '').replace(/\s+/g, ' ').trim().slice(0, MAX_ROSTER_TITLE), host);+ const { value: sealed } = await sealForPage((tab.title ?? '').replace(/\s+/g, ' ').trim(), host);roster.push({tabId: tab.id!,- title,+ title: sealed.slice(0, MAX_ROSTER_TITLE),...(host ? { host } : {}),...(isCurrent ? { current: true as const } : {}),...(session.userTabIds.includes(tab.id!) ? { chosen: true as const } : {}),});}- return roster.length > 1 ? roster.slice(0, MAX_ROSTER) : undefined;+ return roster.length > 1 ? keepingCurrent(roster) : undefined;+}++/** The first tabs in tab-strip order, up to the limit, with the one the run is on kept wherever it sits. */+function keepingCurrent(roster: ConversationTab[]): ConversationTab[] {+ const current = roster.findIndex((tab) => tab.current);+ return current < MAX_ROSTER ? roster.slice(0, MAX_ROSTER) : [...roster.slice(0, MAX_ROSTER - 1), roster[current]];}async function handledLocally(text: string, session: TabSession): Promise<boolean> {