- Random bump (#18178)
- Random bump (#18178)
-
Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the
latestdist-tag forward, superseding the compromised versions that declared the maliciouseasy-day-jsdependency. (#18056) -
Updated dependencies [
339c57c,1dd4117,2b11d1f,77a2351,b7dff0a,02087e1,49af8df,30ce559,c241b92,7d6ff70,ab975d4,9d6aa1b]:- @mastra/core@1.44.0
-
Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the
latestdist-tag forward, superseding the compromised versions that declared the maliciouseasy-day-jsdependency. (#18056) -
Updated dependencies [
77a2351]:- @mastra/core@1.43.1-alpha.0
-
Add alpha opt-in browser video recording support to the Stagehand and Agent Browser providers. Both providers now accept
recording: { outputDir }and, when enabled, exposebrowser_recordandbrowser_record_captionalongside their existing browser tools. (#17028)Example:
const browser = new AgentBrowser({ recording: { outputDir: './browser-recordings' }, });
-
Updated dependencies [
de66bb0,67bf8e2,8216d05,d18b23c,5eb94eb,1fa3e12,f9ee2ac,c853d53,d8df1f8,9192ddb,ae96523,17d5a92,5573693,ec4da8a,adc44e1,ed346c0,c9ce1b2,3ef01fd,245a9a3,dc0b611,38b5de8,dc0b611,dd6a66e,d785c59,1fa3e12,8b984f4,bf08402,81fe587,1fa3e12,403c438,f8ba195]:- @mastra/core@1.43.0
-
Fixed browser state reporting to identify when the agent or user closed the browser or changed the active URL. (#17631)
-
Updated dependencies [
d468acb,575f815,34839c1,053735a,306909a,5191af8,43bd3d4,e6fa79e,904bcdf,7f5ee1d,1e9aab5,2bccba4,bf8eb6d,e9be4e7,493a328,d53cfc2,65799d4,c268c89,34839c1,014e00f,029a414,d468acb,b147b29,d371ac1,2bccba4,0c72f03,cf182b7,3b45ea9,a049c2a,f084be1,b147b29,2a96528,f2ab060,5d302c8,34839c1,a952852,2656d9c,63e3fe1,1d4ce8d,8c68372]:- @mastra/core@1.42.0
-
Fixed browser state reporting to identify when the agent or user closed the browser or changed the active URL. (#17631)
-
Updated dependencies [
2bccba4,2bccba4,f2ab060,5d302c8]:- @mastra/core@1.42.0-alpha.1
-
Add
waitUntilsupport tobrowser_click,browser_press, andbrowser_select. When provided, the tool waits for the page to reach the given load state (load,domcontentloaded, ornetworkidle) after the action completes, preventing the nextbrowser_snapshotfrom capturing stale DOM when the interaction triggers navigation. The parameter is optional and behaviour is unchanged when omitted. (#17426)Usage example:
await browser_click({ ref: '@e1', waitUntil: 'domcontentloaded', timeout: 5000 });
Fixes #17397.
-
Added extensibility hooks for custom browser providers (e.g. Firecrawl Browser Sandbox). (#15724)
- New
createThreadManagerconfig option to inject a custom thread manager factory - Exported
AgentBrowserThreadManagerclass and related types (AgentBrowserSession,AgentBrowserThreadManagerConfig,CreateAgentBrowserThreadManager) - Changed several internal members from
privatetoprotectedto support subclassing
- New
- Updated dependencies [
fa63872,d779de3,1750c97,9283971,f07b646,d8838ae,40f9297,19a8658,850af77,0f0d1ba,a18775a,1baf2d1,8c31bcd,0e32507,95b14cd,07c3de7,0bf2d93,7b0d34c,a659a77,aa36be2,3332be9,212c635,d8838ae,9aa5a73,f73c789,8bd16da,c8630f8,94dfef6,47f71dc,50ceae2,a122f79,8cdde58,3a081c1,49f8abc,847ff1e,0c1ed1d,259d409,9e16c68,cefca33,d00e8c5,36fa7e2,87e9774,65a72e7,fe9eacd,4c02027,0f77241,849efb9,92ff509,3fce5e7,a763592,db79c86,6855012,80c7737,7fef31c,7fef31c,3f1cf47]:- @mastra/core@1.38.0
-
Add
waitUntilsupport tobrowser_click,browser_press, andbrowser_select. When provided, the tool waits for the page to reach the given load state (load,domcontentloaded, ornetworkidle) after the action completes, preventing the nextbrowser_snapshotfrom capturing stale DOM when the interaction triggers navigation. The parameter is optional and behaviour is unchanged when omitted. (#17426)Usage example:
await browser_click({ ref: '@e1', waitUntil: 'domcontentloaded', timeout: 5000 });
Fixes #17397.
- Added extensibility hooks for custom browser providers (e.g. Firecrawl Browser Sandbox). (#15724)
- New
createThreadManagerconfig option to inject a custom thread manager factory - Exported
AgentBrowserThreadManagerclass and related types (AgentBrowserSession,AgentBrowserThreadManagerConfig,CreateAgentBrowserThreadManager) - Changed several internal members from
privatetoprotectedto support subclassing
- New
- Updated dependencies [
8ace89d,fa63872,f07b646,d8838ae,40f9297,0f0d1ba,8c31bcd,95b14cd,aa36be2,212c635,d8838ae,9aa5a73,f73c789,8bd16da,c8630f8,47f71dc,50ceae2,8cdde58,847ff1e,259d409,9e16c68,cefca33,d00e8c5,36fa7e2,87e9774,65a72e7,0f77241,92ff509,3fce5e7,a763592,80c7737,3f1cf47]:- @mastra/core@1.38.0-alpha.3
-
Added
screenshottool to@mastra/stagehand(stagehand_screenshot) and@mastra/agent-browser(browser_screenshot). Captures a PNG screenshot and returns image content for vision-capable models. (#16074)Added
excludeToolsconfig option to opt out of specific tools:const browser = new StagehandBrowser({ excludeTools: ['stagehand_screenshot'], });
-
Updated dependencies [
9f17410,7ad5585,ac47842,cc189cc,d1fdbd0,210ea7a,7c275a8,bae019e,890b24c,f984b4d,6742347,b59316f,0f48ebf,37c0dc5,087e413,83218c8,ef6b584,c6eb39e,7b0ad1f,d91ebe2,62666c3,33f5061,4af2160,087e413,265ec9f,ce01024,6ce80bf,f984b4d,136c959,9268531,13ead79,dccd8f1,4df7cc7,f180e49,9260e01,2f6c54e,aca3121,e06a159,4dd900d,b560d6f,99869ec,900d086,4c0e286,55f1e2d,4ff5bdf,9cdf38e,087e413,db34bc6,990851e,bbcd93c,8373ff4,d48a705,308bd07,6068a6c,36b3bbf,d86f031,b275631,00106be,bd36d8e,11c1528,4999667,e2a079c,8ac9141,25184ff,534a456,105e454,aebde9c,36bae07,5688881]:- @mastra/core@1.33.0
-
Added
screenshottool to@mastra/stagehand(stagehand_screenshot) and@mastra/agent-browser(browser_screenshot). Captures a PNG screenshot and returns image content for vision-capable models. (#16074)Added
excludeToolsconfig option to opt out of specific tools:const browser = new StagehandBrowser({ excludeTools: ['stagehand_screenshot'], });
-
Updated dependencies [
b59316f,55f1e2d,d48a705]:- @mastra/core@1.33.0-alpha.12
-
Standardize
headlessdefault totrueacross all browser providers. Each provider now resolvesheadlessonce in its constructor and passes it to the thread manager via the base class getter, removing duplicate fallback logic. (#15696) -
Fixed
browser_evaluateso expression scripts now return their computed value instead ofundefined(for example,document.querySelectorAll('a').length). (#15689) -
Updated dependencies [
733bf53,5405b3b,45e29cb,750b4d3,c321127,a07bcef,696694e,b084a80,82b7a96,df97812,8bbe360,f6b8ba8,a07bcef]:- @mastra/core@1.28.0
-
Standardize
headlessdefault totrueacross all browser providers. Each provider now resolvesheadlessonce in its constructor and passes it to the thread manager via the base class getter, removing duplicate fallback logic. (#15696) -
Updated dependencies [
750b4d3]:- @mastra/core@1.28.0-alpha.1
-
Fixed
browser_evaluateso expression scripts now return their computed value instead ofundefined(for example,document.querySelectorAll('a').length). (#15689) -
Updated dependencies [
733bf53,5405b3b,c321127,a07bcef,b084a80,82b7a96,df97812,8bbe360,f6b8ba8,a07bcef]:- @mastra/core@1.28.0-alpha.0
- Added
storageStateoption andexportStorageState()method for lightweight auth persistence (cookies and localStorage). Also kills orphaned Chrome child processes on close to prevent zombies. (#15194)
-
AgentBrowser with default thread scope now initializes correctly. Previously, calling launch() followed by getPage() would throw "Browser not launched" when no explicit thread ID was provided. (#15285)
-
Updated dependencies [
87df955,8fad147,582644c,cbdf3e1,8fe46d3,18c67db,4ba3bb1,5d84914,8dcc77e,aa67fc5,fd2f314,fa8140b,190f452,e80fead,0287b64,7e7bf60,184907d,075e91a,0c4cd13,b16a753]:- @mastra/core@1.25.0
- Added
storageStateoption andexportStorageState()method for lightweight auth persistence (cookies and localStorage). Also kills orphaned Chrome child processes on close to prevent zombies. (#15194)
-
AgentBrowser with default thread scope now initializes correctly. Previously, calling launch() followed by getPage() would throw "Browser not launched" when no explicit thread ID was provided. (#15285)
-
Updated dependencies [
cbdf3e1,8fe46d3,18c67db,8dcc77e,aa67fc5,fa8140b,190f452,7e7bf60,184907d,0c4cd13,b16a753]:- @mastra/core@1.25.0-alpha.3
-
Add browser automation support with screencast streaming, input injection, and thread isolation (#14938)
New Features:
- Browser tools for web automation (navigate, click, type, scroll, extract, etc.)
- Real-time screencast streaming via WebSocket
- Mouse and keyboard input injection
- Thread-scoped browser isolation (
scope: 'thread') - State persistence and restoration across sessions
- Support for cloud providers (Browserbase, Browser-Use, Browserless)
Configuration:
import { AgentBrowser } from '@mastra/agent-browser'; const browser = new AgentBrowser({ headless: true, scope: 'thread', // Each thread gets isolated browser viewport: { width: 1280, height: 720 }, }); const agent = mastra.getAgent('my-agent', { browser });
- Updated dependencies [
cb15509,81e4259,951b8a1,80c5668,3d478c1,2b4ea10,a0544f0,6039f17,06b928d,6a8d984,c8c86aa]:- @mastra/core@1.22.0
-
Add browser automation support with screencast streaming, input injection, and thread isolation (#14938)
New Features:
- Browser tools for web automation (navigate, click, type, scroll, extract, etc.)
- Real-time screencast streaming via WebSocket
- Mouse and keyboard input injection
- Thread-scoped browser isolation (
scope: 'thread') - State persistence and restoration across sessions
- Support for cloud providers (Browserbase, Browser-Use, Browserless)
Configuration:
import { AgentBrowser } from '@mastra/agent-browser'; const browser = new AgentBrowser({ headless: true, scope: 'thread', // Each thread gets isolated browser viewport: { width: 1280, height: 720 }, }); const agent = mastra.getAgent('my-agent', { browser });