diff --git a/.changeset/README.md b/.changeset/README.md old mode 100644 new mode 100755 diff --git a/.changeset/config.json b/.changeset/config.json old mode 100644 new mode 100755 diff --git a/.dockerignore b/.dockerignore old mode 100644 new mode 100755 diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.npmrc b/.npmrc old mode 100644 new mode 100755 diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/assets/browserbase-mcp.png b/assets/browserbase-mcp.png old mode 100644 new mode 100755 diff --git a/assets/cover.png b/assets/cover.png old mode 100644 new mode 100755 diff --git a/assets/smithery.jpg b/assets/smithery.jpg old mode 100644 new mode 100755 diff --git a/config.d.ts b/config.d.ts old mode 100644 new mode 100755 diff --git a/eslint.config.js b/eslint.config.js old mode 100644 new mode 100755 diff --git a/evals/mcp-eval-basic.config.json b/evals/mcp-eval-basic.config.json old mode 100644 new mode 100755 diff --git a/evals/mcp-eval-minimal.config.json b/evals/mcp-eval-minimal.config.json old mode 100644 new mode 100755 diff --git a/evals/mcp-eval.config.json b/evals/mcp-eval.config.json old mode 100644 new mode 100755 diff --git a/evals/run-evals.ts b/evals/run-evals.ts old mode 100644 new mode 100755 diff --git a/gemini-extension.json b/gemini-extension.json old mode 100644 new mode 100755 diff --git a/index.d.ts b/index.d.ts old mode 100644 new mode 100755 diff --git a/index.js b/index.js old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml old mode 100644 new mode 100755 diff --git a/server.json b/server.json old mode 100644 new mode 100755 diff --git a/smithery.yaml b/smithery.yaml old mode 100644 new mode 100755 diff --git a/src/config.ts b/src/config.ts old mode 100644 new mode 100755 diff --git a/src/context.ts b/src/context.ts old mode 100644 new mode 100755 diff --git a/src/index.ts b/src/index.ts old mode 100644 new mode 100755 diff --git a/src/mcp/resources.ts b/src/mcp/resources.ts old mode 100644 new mode 100755 diff --git a/src/mcp/sampling.ts b/src/mcp/sampling.ts old mode 100644 new mode 100755 diff --git a/src/program.ts b/src/program.ts old mode 100644 new mode 100755 diff --git a/src/server.ts b/src/server.ts old mode 100644 new mode 100755 diff --git a/src/sessionManager.ts b/src/sessionManager.ts old mode 100644 new mode 100755 index 602f8695..4c72e60c --- a/src/sessionManager.ts +++ b/src/sessionManager.ts @@ -62,6 +62,9 @@ export const createStagehandInstance = async ( mcp: "true", }, }, + // Disable pino to prevent pino-pretty errors in production environments + // (pino-pretty is not available in serverless/bundled deployments) + disablePino: true, logger: (logLine) => { console.error(`Stagehand[${sessionId}]: ${logLine.message}`); }, diff --git a/src/tools/act.ts b/src/tools/act.ts old mode 100644 new mode 100755 diff --git a/src/tools/agent.ts b/src/tools/agent.ts old mode 100644 new mode 100755 diff --git a/src/tools/extract.ts b/src/tools/extract.ts old mode 100644 new mode 100755 diff --git a/src/tools/index.ts b/src/tools/index.ts old mode 100644 new mode 100755 diff --git a/src/tools/navigate.ts b/src/tools/navigate.ts old mode 100644 new mode 100755 diff --git a/src/tools/observe.ts b/src/tools/observe.ts old mode 100644 new mode 100755 diff --git a/src/tools/screenshot.ts b/src/tools/screenshot.ts old mode 100644 new mode 100755 diff --git a/src/tools/session.ts b/src/tools/session.ts old mode 100644 new mode 100755 diff --git a/src/tools/tool.ts b/src/tools/tool.ts old mode 100644 new mode 100755 diff --git a/src/tools/url.ts b/src/tools/url.ts old mode 100644 new mode 100755 diff --git a/src/transport.ts b/src/transport.ts old mode 100644 new mode 100755 diff --git a/src/types/types.ts b/src/types/types.ts old mode 100644 new mode 100755 diff --git a/tests/.gitkeep b/tests/.gitkeep old mode 100644 new mode 100755 diff --git a/tsconfig.json b/tsconfig.json old mode 100644 new mode 100755