mastracode 0.26.0 → 0.26.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -723,7 +723,7 @@ function getDynamicWorkspace({ requestContext, mastra: mastra2 }) {
723
723
  return existing;
724
724
  }
725
725
  const userLsp = chunkKGBCGF6C_cjs.loadSettings().lsp ?? {};
726
- const mcModulePath = path.join(path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-Z3HFSXTB.cjs', document.baseURI).href)))), "..");
726
+ const mcModulePath = path.join(path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-YPTGVE6M.cjs', document.baseURI).href)))), "..");
727
727
  const lspConfig = {
728
728
  ...userLsp,
729
729
  packageRunner: userLsp.packageRunner || detectPackageRunner(projectPath),
@@ -4404,6 +4404,7 @@ async function createMastraCodeAgentController(config) {
4404
4404
  // config (a custom settings file would otherwise diverge).
4405
4405
  judge: (ctx) => getGoalJudgeModel(ctx, config?.settingsPath),
4406
4406
  maxRuns: globalSettings.models.goalMaxTurns ?? 50,
4407
+ maxSteps: 1e3,
4407
4408
  prompt: tools.DEFAULT_GOAL_JUDGE_PROMPT,
4408
4409
  // Read-only workspace tools the default goal judge may call to verify the
4409
4410
  // agent's work against the actual filesystem (view, search_content,
@@ -4692,5 +4693,5 @@ exports.createMastraCode = createMastraCode;
4692
4693
  exports.createMastraCodeAgentController = createMastraCodeAgentController;
4693
4694
  exports.mountAgentControllerOnMastra = mountAgentControllerOnMastra;
4694
4695
  exports.wireSessionConcerns = wireSessionConcerns;
4695
- //# sourceMappingURL=chunk-Z3HFSXTB.cjs.map
4696
- //# sourceMappingURL=chunk-Z3HFSXTB.cjs.map
4696
+ //# sourceMappingURL=chunk-YPTGVE6M.cjs.map
4697
+ //# sourceMappingURL=chunk-YPTGVE6M.cjs.map