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(intent): stop monitoring without waking the agent

Shahriar269f54885ffd
diff --git a/lib/intent/grammar.ts b/lib/intent/grammar.ts
index 49e75fb..f5b4a90 100644
--- a/lib/intent/grammar.ts
+++ b/lib/intent/grammar.ts
@@ -4,6 +4,7 @@ import { navigate } from '@/lib/actions/page/navigate';
import { openTab } from '@/lib/actions/page/open-tab';
import { pressKey } from '@/lib/actions/page/press-key';
import { scrollTo } from '@/lib/actions/page/scroll-to';
+import { stopMonitor } from '@/lib/actions/page/stop-monitor';
import { START_RECORDING_ACTION, STOP_RECORDING_ACTION } from '@/lib/recordings/events';
export interface Rule {
@@ -201,6 +202,14 @@ export const RULES: readonly Rule[] = [
pattern: /^(?:stop|end|finish)\s+(?:the\s+)?recording$/,
build: () => built({}, 'Stop recording'),
},
+ {
+ id: 'monitor.stop',
+ action: stopMonitor.name,
+ certainty: 0.95,
+ pattern:
+ /^(?:stop|end|quit|cancel)\s+(?:the\s+)?(?:monitor(?:ing)?|watching)(?:\s+(?:the|this|that)\s+\S{1,20})?$/,
+ build: () => built({}, 'Stop monitoring'),
+ },
{
id: 'click.text',
action: clickElement.name,
diff --git a/scripts/check-intent.mjs b/scripts/check-intent.mjs
index 17d07d1..8ac78fb 100644
--- a/scripts/check-intent.mjs
+++ b/scripts/check-intent.mjs
@@ -73,6 +73,15 @@ const CASES = [
['how do i record a session', 'escalate:question'],
['click record', 'act:click.text', { target: { text: 'record' } }],
+ ['stop monitoring', 'act:monitor.stop', {}],
+ ['stop watching', 'act:monitor.stop'],
+ ['stop watching the upload', 'act:monitor.stop'],
+ ['cancel the monitor', 'act:monitor.stop'],
+ ['stop the recording', 'act:recording.stop'],
+ ['tell me when the upload finishes', 'escalate:question'],
+ ['watch this build', 'escalate:no-match'],
+ ['monitor the pipeline until it completes', 'escalate:no-match'],
+
['what is on this page', 'escalate:question'],
['summarize this article', 'escalate:question'],
['is there a login button?', 'escalate:question'],