aboutsummaryrefslogtreecommitdiff
path: root/src/domains/setup.ts
diff options
context:
space:
mode:
authorPatrick Barattin <p.barattin@gmail.com>2026-10-11 20:25:38 +0200
committerGitHub <noreply@github.com>2026-10-11 23:55:38 +0530
commit014de0ec21936a7a2fd64db9d151e73c79bb44ad (patch)
tree654a0a50eb2a88a14f55458e75dfb55e1c5779f5 /src/domains/setup.ts
parent79526b01f4d3cf16c3cfb46313cf1179f0db40ac (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'src/domains/setup.ts')
-rw-r--r--src/domains/setup.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/domains/setup.ts b/src/domains/setup.ts
index 9291431..3f241a9 100644
--- a/src/domains/setup.ts
+++ b/src/domains/setup.ts
@@ -15,8 +15,6 @@ export const setupTool = defineBrowserTool({
"Call when browser tools fail with 'Browser harness not initialized'. Idempotent.",
promptSnippet: "Initialize browser connection",
promptGuidelines: [
- "Call browser_setup when you get a 'Browser harness not initialized' error from any browser tool.",
- "This tool is idempotent — calling it when already connected is harmless.",
"After browser_setup succeeds, retry the browser tool that failed.",
],
parameters: SetupArgs,