stagehand-server-v3/v3.6.3

browserbase/stagehandstagehand-server-v3/v3.6.3Mar 31, 2026by github-actions[bot]

AI Summary

This release introduces CLI metadata support for sessions, connection flags for existing Browserbase sessions, and support for LLM middleware. It also adds various v4 route stubs and fixes schema parsing and OpenAI agent issues.

Key Highlights

  • Added CLI metadata to Browserbase sessions
  • Introduced `--connect` flag for existing sessions
  • Added support for LLM middleware
  • Added v4 route stubs (click, scroll, elementInfo)
  • Fixed Pydantic schema parsing bug

New Features

  • CLI metadata injection
  • Session connection flag
  • LLM middleware support
  • v4 route stubs (click, scroll, elementInfo, locator functions)
  • Local Chrome auto-discovery via CDP

Full Release Notes

## What's Changed
* Include LLM headers in ModelConfig by @miguelg719 in https://github.com/browserbase/stagehand/pull/1874
* Fix schema parsing bug for Pydantic `.model_json_schema()`  by @miguelg719 in https://github.com/browserbase/stagehand/pull/1873
* feat(cli): add browse-cli metadata to Browserbase sessions by @shrey150 in https://github.com/browserbase/stagehand/pull/1890
* STG-1669: fix(cli): clear cached state when browser connection dies by @shrey150 in https://github.com/browserbase/stagehand/pull/1887
* STG-1672: Add --connect flag to browse CLI for existing Browserbase sessions by @shrey150 in https://github.com/browserbase/stagehand/pull/1889
* chore: Decouple browse-cli release cycle from stagehand core by @shrey150 in https://github.com/browserbase/stagehand/pull/1885
* [STG-1702] fix: pass GITHUB_TOKEN to changeset version step in release-cli workflow by @shrey150 in https://github.com/browserbase/stagehand/pull/1893
* Fix  OpenAI cua agent by @tkattkat in https://github.com/browserbase/stagehand/pull/1899
* [v4]: add `method` arg to `/click` route stub by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1884
* STG-1614: add v4 llm stubs and internal schemas by @monadoid in https://github.com/browserbase/stagehand/pull/1881
* [v4]: update `/scroll` route stub by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1875
* [v4]: add `/elementInfo` route stub by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1877
* [v4]: more page route stubs for locator functions by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1882
* STG-1668: browse env local auto-discovers existing Chrome via CDP by @shrey150 in https://github.com/browserbase/stagehand/pull/1886
* [fix]: handle mapping `timeout` -> `timeoutMs` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1901
* STG-1671: chore: add prettier pre-commit hook via husky + lint-staged by @shrey150 in https://github.com/browserbase/stagehand/pull/1888
* Recover server-v4 drizzle stack onto main by @monadoid in https://github.com/browserbase/stagehand/pull/1917
* chore: switch browse-cli to merge-first release flow by @shrey150 in https://github.com/browserbase/stagehand/pull/1921
* Release @browserbasehq/browse-cli@0.4.0 by @github-actions[bot] in https://github.com/browserbase/stagehand/pull/1925
* [fix]: harden act variables prompt by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1922
* [fix]: attach to manually-created new tabs by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1924
* [STG-1733] fix: use valid metadata key for browse-cli sessions by @derekmeegan in https://github.com/browserbase/stagehand/pull/1911
* Release @browserbasehq/browse-cli@0.4.1 by @github-actions[bot] in https://github.com/browserbase/stagehand/pull/1932
* [STG-1739] fix: browse-cli releases publish under alpha instead of latest by @shrey150 in https://github.com/browserbase/stagehand/pull/1934
* Add support for LLM middleware by @tkattkat in https://github.com/browserbase/stagehand/pull/1872
* [Claimed #1844] Refactor model ID checks for GPT 5.x model family by @github-actions[bot] in https://github.com/browserbase/stagehand/pull/1852
* Add `browse get markdown` command by @derekmeegan in https://github.com/browserbase/stagehand/pull/1907
* fix: pass through server-v3 operation errors by @monadoid in https://github.com/browserbase/stagehand/pull/1937
* fix: compute server release versions from tags by @monadoid in https://github.com/browserbase/stagehand/pull/1938
* fix: trigger server release workflows on workflow changes by @monadoid in https://github.com/browserbase/stagehand/pull/1939
* fix: resolve server release versions from remote tags by @monadoid in https://github.com/browserbase/stagehand/pull/1940
* fix shell parsing in server release workflows by @monadoid in https://github.com/browserbase/stagehand/pull/1941


**Full Changelog**: https://github.com/browserbase/stagehand/compare/stagehand-server-v3/v3.6.2...stagehand-server-v3/v3.6.3