docs: Update Stagehand deployment docs with Functions support

Merged
AK
2mo ago
+175-7

why

  • The release of Function Secrets enables us to support Stagehand deployments on Browserbase. This PR showcases that in the new deployment guide

what changed

test plan


Summary by cubic

Updates the Stagehand deployment guide to recommend Browserbase Functions with encrypted project secrets as the primary deployment path instead of Vercel.

  • Adds setup, extension upload, Function development, local testing, publishing, secret attachment, invocation, and troubleshooting steps.
  • Uses the Model Gateway in the example, so no model provider setup is needed.
  • Moves the Vercel guide under "Other deployment options" and adds a Features section.
  • Clarifies the introduction's description of Stagehand's control layers.