docs: Update Stagehand deployment docs with Functions support
Merged
AK
2mo ago+175+175+012345678901234567890123456789-7-7-0123456789
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.