Minor Changes
-
#2283
871ca7eThanks @seanmcguire12! - addcontext.setDomainPolicy({ allowedDomains: ["allowed.domain"] })which allows users to define a set of domains that are accessible to stagehand -
#2274
f31980fThanks @seanmcguire12! - addcontext.setDomainPolicy({blockedDomains: ["some.domain"]})which allows users to define a list of domains that will be blocked by stagehand
Patch Changes
-
#2305
cd1daadThanks @shrey150! - Remove the noisy AI SDK "system message in messages" warning logged on every hybrid/DOMagent.execute()call. -
#2328
d287ff4Thanks @miguelg719! - Allow modelName "auto" in the constructor and per-primitive model overrides when running through the Stagehand API -
#2294
3938590Thanks @seanmcguire12! - automatically close popups that violate user defined domain policy -
#2298
892701aThanks @seanmcguire12! - Fix CUAkeypressactions to press key combinations as a single chord. -
#2345
21826c7Thanks @monadoid! - Repair malformed UTF-16 snapshot text before it reaches model prompts. -
#2306
8dcef1bThanks @seanmcguire12! - Use the screenshot provider's declared media type when sending CUA image payloads. ThesetScreenshotProvidercallback now returnsScreenshotProviderResult({ base64, mediaType }) instead of a bare base64 string. -
#2273
93a23d3Thanks @miguelg719! - Add support for the newgoogle/gemini-3.5-flashcomputer-use tools model -
#2278
022d68fThanks @shrey150! - FixTypeError: Converting circular structure to JSONwhen creating an agent with MCPintegrationsthat include aClientinstance (e.g. a local/stdio server fromconnectToMCPServer). The agent-creation log serialized the rawintegrationsarray, and a live MCPClientis circular. It now logs a safe descriptor (URL strings kept, client instances summarized) soagent({ integrations: [client] })works. -
#2288
bb5ffa6Thanks @seanmcguire12! - clean up cdp session event handlers on target detach