From 014de0ec21936a7a2fd64db9d151e73c79bb44ad Mon Sep 17 00:00:00 2001
From: Patrick Barattin
Date: Sun, 11 Oct 2026 20:25:38 +0200
Subject: refactor: remove duplicate browser prompt instructions (#35)
Remove browser instruction text repeated across tool descriptions, parameter schemas, tool
guidelines and the global browser prompt. Tool names, schemas, handlers and concurrency are
unchanged; shared recovery and ownership guidance is now available before and after the browser
connects, and the prompt names which tools are serialized versus observations.
Co-Authored-By: Claude Fable 5.1
---
src/domains/console.ts | 2 --
1 file changed, 2 deletions(-)
(limited to 'src/domains/console.ts')
diff --git a/src/domains/console.ts b/src/domains/console.ts
index 7809f77..799fe2e 100644
--- a/src/domains/console.ts
+++ b/src/domains/console.ts
@@ -158,8 +158,6 @@ export const consoleTool = defineBrowserTool({
"Read JS errors and console messages from the active tab. Diagnostic — use when an action looks broken or silent.",
promptSnippet: "Read JS errors / console output on the current tab",
promptGuidelines: [
- "Use after a click, submit, or navigate produced no visible change — errors often explain it.",
- "Pass `sinceSeq` from the previous call's `nextCursor` to see only new messages after an action.",
"Buffer is reset on tab switch (capacity 500 records). bufferOverflowed:true means older entries were dropped.",
"Don't use as a default observation tool — prefer browser_snapshot for page structure.",
],
--
cgit v1.2.3