- 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
-
Added structured output support for Claude and OpenAI SDK agents using their provider-native structured output APIs. Cursor SDK agent calls now fail clearly when structuredOutput is requested because the Cursor TypeScript SDK does not expose a schema-constrained output API. SDK agents now implement provider-native resume through Mastra's existing resumeGenerate/resumeStream methods by accepting provider-specific resumeData with a message payload. Cursor SDK agent options now use the same clear source split as OpenAI: pass either a pre-created agent or SDK options for wrapper-created agents. (#17580)
Example:
await claudeAgent.resumeGenerate({ message: 'Continue the task.', sessionId: 'claude-session-id', }); await openAIAgent.resumeStream({ message: 'Continue the task.', previousResponseId: 'resp_123', }); const result = await openAIAgent.generate('Return the answer as JSON.', { structuredOutput: { schema: z.object({ answer: z.string() }), }, }); // result.object has shape { answer: string }
Claude and OpenAI SDK agents support
structuredOutputthrough their native SDK APIs.CursorSDKAgentthrows a clear error whenstructuredOutputis requested because the Cursor TypeScript SDK does not expose schema-constrained output.
-
Fixed Claude SDK agent generate responses to include renderable message text. (#17581)
-
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
-
Added structured output support for Claude and OpenAI SDK agents using their provider-native structured output APIs. Cursor SDK agent calls now fail clearly when structuredOutput is requested because the Cursor TypeScript SDK does not expose a schema-constrained output API. SDK agents now implement provider-native resume through Mastra's existing resumeGenerate/resumeStream methods by accepting provider-specific resumeData with a message payload. Cursor SDK agent options now use the same clear source split as OpenAI: pass either a pre-created agent or SDK options for wrapper-created agents. (#17580)
Example:
await claudeAgent.resumeGenerate({ message: 'Continue the task.', sessionId: 'claude-session-id', }); await openAIAgent.resumeStream({ message: 'Continue the task.', previousResponseId: 'resp_123', }); const result = await openAIAgent.generate('Return the answer as JSON.', { structuredOutput: { schema: z.object({ answer: z.string() }), }, }); // result.object has shape { answer: string }
Claude and OpenAI SDK agents support
structuredOutputthrough their native SDK APIs.CursorSDKAgentthrows a clear error whenstructuredOutputis requested because the Cursor TypeScript SDK does not expose schema-constrained output.
- Updated dependencies [
575f815,306909a,5191af8,43bd3d4,e6fa79e,904bcdf,7f5ee1d,1e9aab5,bf8eb6d,493a328,029a414,b147b29,d371ac1,cf182b7,a049c2a,b147b29,2a96528,2656d9c,63e3fe1,1d4ce8d,8c68372]:- @mastra/core@1.42.0-alpha.4
-
Fixed Claude SDK agent generate responses to include renderable message text. (#17581)
-
Updated dependencies [
d468acb,e9be4e7,d53cfc2,65799d4,c268c89,d468acb,0c72f03,3b45ea9,f084be1]:- @mastra/core@1.42.0-alpha.0
-
Added
@mastra/claude, a package for running Claude Agent SDK agents through Mastra. (#16906)Create a Claude SDK agent, register it with Mastra, and call
generate()orstream()with Mastra-compatible outputs. Runs keep Claude SDK usage, cost estimates, and observability data available to Mastra.import { ClaudeSDKAgent } from '@mastra/claude'; export const claudeAgent = new ClaudeSDKAgent({ id: 'claude-sdk-agent', description: 'Use Claude Agent SDK through Mastra.', sdkOptions: { model: process.env.CLAUDE_CODE_MODEL, cwd: process.cwd(), }, });
- 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
-
Added
@mastra/claude, a package for running Claude Agent SDK agents through Mastra. (#16906)Create a Claude SDK agent, register it with Mastra, and call
generate()orstream()with Mastra-compatible outputs. Runs keep Claude SDK usage, cost estimates, and observability data available to Mastra.import { ClaudeSDKAgent } from '@mastra/claude'; export const claudeAgent = new ClaudeSDKAgent({ id: 'claude-sdk-agent', description: 'Use Claude Agent SDK through Mastra.', sdkOptions: { model: process.env.CLAUDE_CODE_MODEL, cwd: process.cwd(), }, });
- Updated dependencies:
- @mastra/core@1.38.0-alpha.7
Initial release.