Skip to content

Commit 9c4a533

Browse files
committed
zod fix
1 parent ff674aa commit 9c4a533

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"@browserbasehq/stagehand": "^2.4.0",
3737
"@modelcontextprotocol/sdk": "^1.13.1",
3838
"@playwright/test": "^1.49.0",
39-
"commander": "^14.0.0"
39+
"commander": "^14.0.0",
40+
"zod": "^3.25.67"
4041
},
4142
"devDependencies": {
4243
"@eslint/js": "^9.29.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ const cookieSchema = z.object({
3232
});
3333

3434
// Configuration schema for Smithery - matches existing Config interface
35-
// @ts-expect-error Type instantiation is excessively deep and possibly infinite with complex Zod schemas
3635
export const configSchema = z.object({
3736
browserbaseApiKey: z.string().describe("The Browserbase API Key to use"),
3837
browserbaseProjectId: z

src/mcp/prompts.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ BEST PRACTICES:
7272
- Always close sessions when done to free resources
7373
- Take screenshots for visual confirmation or debugging
7474
- Each session maintains independent state and authentication
75+
- No need to create backup sessions - sessions are reliable and persistent
7576
7677
When using this server, think of it as controlling real browsers in the cloud. You can navigate, click, type, extract data, and capture screenshots just like a human would, but with the precision and scale of automation.`,
7778
},
@@ -113,6 +114,7 @@ IMPORTANT RULES:
113114
- Each session maintains independent cookies, authentication, and browser state
114115
- Always close sessions when finished to free resources
115116
- Use descriptive session names for easier tracking
117+
- No need to create backup sessions - sessions are reliable and persistent
116118
117119
SINGLE VS MULTI-SESSION:
118120
- Single: "browserbase_session_create" → "browserbase_stagehand_navigate"

0 commit comments

Comments
 (0)