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(intent): keep Enter off the fast path so submits reach the gate
Shahriar1c81a274ab50
diff --git a/lib/intent/grammar.ts b/lib/intent/grammar.tsindex 6021dc6..9f7dfb5 100644--- a/lib/intent/grammar.ts+++ b/lib/intent/grammar.ts@@ -51,9 +51,9 @@ const SITES: Record<string, string> = {claude: 'claude.ai',};+const SUBMITTING_KEYS = new Set(['enter', 'return']);+const KEYS: Record<string, string> = {- enter: 'Enter',- return: 'Enter',escape: 'Escape',esc: 'Escape',tab: 'Tab',@@ -192,6 +192,7 @@ export const RULES: readonly Rule[] = [build: ({ label, role }) => {const text = slot(label!);if (!text) return null;+ if (!role && SUBMITTING_KEYS.has(text.value.toLowerCase())) return null;const target = role ? { text: text.value, role } : { text: text.value };return {input: { target } satisfies ClickInput,diff --git a/scripts/check-intent.mjs b/scripts/check-intent.mjsindex 5ddca8f..5e14bd7 100644--- a/scripts/check-intent.mjs+++ b/scripts/check-intent.mjs@@ -36,7 +36,10 @@ const CASES = [['page down', 'act:scroll.page', { direction: 'down' }],['scroll to the reviews', 'act:scroll.element', { target: { text: 'reviews' } }],- ['press enter', 'act:key.press', { key: 'Enter' }],+ ['press enter', 'escalate:no-match'],+ ['hit return', 'escalate:no-match'],+ ['click enter', 'escalate:no-match'],+ ['click enter button', 'act:click.text', { target: { text: 'enter', role: 'button' } }],['hit escape', 'act:key.press', { key: 'Escape' }],['press the tab key', 'act:key.press', { key: 'Tab' }],['press arrow down', 'act:key.press', { key: 'ArrowDown' }],