@mastra/core 0.1.27-alpha.17 → 0.1.27-alpha.19

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.
@@ -31,7 +31,7 @@ export declare class Agent<TTools, TIntegrations extends Integration[] | undefin
31
31
  messages: UserContent[];
32
32
  onStepFinish?: (step: string) => void;
33
33
  maxSteps?: number;
34
- }): Promise<import("ai").GenerateTextResult<{}>>;
34
+ }): Promise<import("ai").GenerateTextResult<{}, never>>;
35
35
  textObject({ messages, structuredOutput, onStepFinish, maxSteps, }: {
36
36
  messages: UserContent[];
37
37
  structuredOutput: StructuredOutput;
@@ -1967,8 +1967,7 @@ var Mastra = /*#__PURE__*/function () {
1967
1967
  var _config$integrations,
1968
1968
  _this = this,
1969
1969
  _config$integrations2,
1970
- _config$agents,
1971
- _config$workflows;
1970
+ _config$agents;
1972
1971
  this.engine = void 0;
1973
1972
  this.vectors = void 0;
1974
1973
  this.tools = void 0;
@@ -1977,7 +1976,6 @@ var Mastra = /*#__PURE__*/function () {
1977
1976
  this.integrations = void 0;
1978
1977
  this.logger = void 0;
1979
1978
  this.syncs = void 0;
1980
- this.workflows = new Map();
1981
1979
  this.logger = new Map();
1982
1980
  var logger = createLogger({
1983
1981
  type: 'CONSOLE'
@@ -2044,12 +2042,6 @@ var Mastra = /*#__PURE__*/function () {
2044
2042
  agent.__setLogger(agentLogger);
2045
2043
  }
2046
2044
  });
2047
- (_config$workflows = config.workflows) == null || _config$workflows.forEach(function (workflow) {
2048
- if (_this.workflows.has(workflow.name)) {
2049
- throw new Error("Workflow with name " + workflow.name + " already exists");
2050
- }
2051
- _this.workflows.set(workflow.name, workflow);
2052
- });
2053
2045
  if (config.syncs && !config.engine) {
2054
2046
  throw new Error('Engine is required to run syncs');
2055
2047
  }