@mastra/core 1.87.0-alpha.1 → 1.87.0-alpha.2
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.
- package/dist/agent/durable/index.cjs +1 -1
- package/dist/agent/durable/index.js +1 -1
- package/dist/agent/index.cjs +2 -2
- package/dist/agent/index.js +2 -2
- package/dist/agent-builder/ee/index.cjs +1 -1
- package/dist/agent-builder/ee/index.js +1 -1
- package/dist/agent-controller/index.cjs +1 -1
- package/dist/agent-controller/index.js +1 -1
- package/dist/{agent-controller-C1bK0CXm.js → agent-controller-Dc58ARqw.js} +5 -5
- package/dist/{agent-controller-BTIxiD1u.cjs → agent-controller-v64JbuDa.cjs} +5 -5
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/{background-tasks-CVl6e0Jo.cjs → background-tasks-DgiQNKh7.cjs} +1 -1
- package/dist/{background-tasks-BbVsBghi.js → background-tasks-E-Jjxks4.js} +1 -1
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/{builder-BRJPSTig.cjs → builder-Dfp6Ckjr.cjs} +2 -2
- package/dist/{builder-C8XzrtBQ.js → builder-Dh175HnQ.js} +2 -2
- package/dist/channels/index.cjs +2 -2
- package/dist/channels/index.js +2 -2
- package/dist/{channels-DegTNzaq.js → channels-0AO7PMJF.js} +1 -1
- package/dist/{channels-Cl-pRrWB.cjs → channels-BZL9RT2i.cjs} +1 -1
- package/dist/coding-agent/index.cjs +1 -1
- package/dist/coding-agent/index.js +1 -1
- package/dist/datasets/index.cjs +2 -2
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +452 -452
- package/dist/evals/index.cjs +1 -1
- package/dist/evals/index.js +1 -1
- package/dist/evals/scoreTraces/index.cjs +1 -1
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +1 -1
- package/dist/harness/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/knowledge/importers/host.d.ts +7 -1
- package/dist/knowledge/importers/runner.d.ts +12 -0
- package/dist/knowledge/importers/types.d.ts +2 -0
- package/dist/knowledge/index.cjs +82 -6
- package/dist/knowledge/index.js +82 -6
- package/dist/llm/index.cjs +3 -3
- package/dist/llm/index.js +3 -3
- package/dist/{llm-CMkzIFAk.js → llm-B46V7Mi7.js} +2 -2
- package/dist/{llm-BKxlS9Kk.cjs → llm-B4AeSFvV.cjs} +2 -2
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +2 -2
- package/dist/{manager-C-eQXmRq.js → manager-BRAvwB9b.js} +2 -2
- package/dist/{manager-CasaT35Q.cjs → manager-BwDxA1Nn.cjs} +2 -2
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-5EEmN3Ok.js → mastra-CIx6qEq2.js} +16 -16
- package/dist/{mastra-C7Tj4U8c.cjs → mastra-DBhdD172.cjs} +16 -16
- package/dist/memory/index.cjs +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/{model-DCLUL-8a.js → model-CJMsDU8w.js} +1 -1
- package/dist/{model-9HA-W0tg.cjs → model-CYhAa5qO.cjs} +1 -1
- package/dist/{netlify-Cq3H-A9I.cjs → netlify-Bw7Vd58y.cjs} +1 -1
- package/dist/{netlify-DaWURNSU.js → netlify-C9aJA6Cv.js} +1 -1
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/processor-provider/index.cjs +1 -1
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +2 -2
- package/dist/processors/index.js +2 -2
- package/dist/{provider-registry-a649fS5r.cjs → provider-registry-Bn_7VvZ8.cjs} +4 -4
- package/dist/{provider-registry-DWixjFX7.js → provider-registry-DOfYSEju.js} +4 -4
- package/dist/{registry-generator-BuKC7UKd.cjs → registry-generator-BnK5Npgr.cjs} +1 -1
- package/dist/{registry-generator-BYJC7p8M.js → registry-generator-Cw594Ttt.js} +1 -1
- package/dist/{rehydrate-DR2_WAz2.cjs → rehydrate-BWnd_TEx.cjs} +2 -2
- package/dist/{rehydrate-DPhmASM6.js → rehydrate-Dgqkw7Py.js} +2 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/{run-registry-D3X7XvUL.js → run-registry-DhOKJtlb.js} +7 -7
- package/dist/{run-registry-oUNF6szW.cjs → run-registry-lLRc7EE6.cjs} +7 -7
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.js +2 -2
- package/dist/stream/index.cjs +2 -2
- package/dist/stream/index.js +2 -2
- package/dist/{stream-DQC1vpvl.cjs → stream-BIDts1fZ.cjs} +1 -1
- package/dist/{stream-DoZ6F41o.js → stream-C8HKG3qC.js} +1 -1
- package/dist/test-utils/llm-mock.cjs +1 -1
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +1 -1
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/{tool-loop-agent-C9YkvDRd.js → tool-loop-agent-DM5V_0XS.js} +3 -3
- package/dist/{tool-loop-agent-Cy4NDOMS.cjs → tool-loop-agent-PEY5a1R6.cjs} +3 -3
- package/dist/{utils-Bs2IYyOb.cjs → utils-CxMSu_wc.cjs} +1 -1
- package/dist/{utils-9JyiKu5r.js → utils-DcnKVK34.js} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/{validate-8j0phWFV.js → validate-Dn750ciE.js} +1 -1
- package/dist/{validate-BE3mVxVy.cjs → validate-RVKgazCf.cjs} +1 -1
- package/dist/vector/index.cjs +1 -1
- package/dist/vector/index.js +1 -1
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/{worker-BiK1kfMa.cjs → worker-CFPu9qwV.cjs} +2 -2
- package/dist/{worker-DIRdEwih.js → worker-DJPAdazC.js} +2 -2
- package/dist/{worker-DwdgU6E9.cjs → worker-Dx0ZHMGX.cjs} +2 -2
- package/dist/{worker-BfWFqSH2.js → worker-SDi9jbP5.js} +2 -2
- package/dist/{workflow-ni-keg2i.js → workflow-DkBqNn7X.js} +3 -3
- package/dist/{workflow-CxQMcTbT.cjs → workflow-ZFOz_365.cjs} +3 -3
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/index.cjs +1 -1
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +4 -4
- package/dist/workflows/index.js +4 -4
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as MastraError, n as ErrorDomain, o as getErrorFromUnknown, t as ErrorCategory } from "./error-oh2DLsP2.js";
|
|
2
2
|
import { c as registerToolOutputValidationSchema, d as validateToolOutput, f as validateToolSuspendData, h as markBuilderValidatedInput, i as createStandardSchemaIssuesError, n as Tool, o as getValidationIssuePaths, p as createToolObserve, s as isValidationError, u as validateToolInput } from "./tool-Z3bykc1m.js";
|
|
3
3
|
import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
|
|
4
|
-
import { i as isToolBackgroundEligible, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-
|
|
4
|
+
import { i as isToolBackgroundEligible, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-E-Jjxks4.js";
|
|
5
5
|
import { t as MastraBase } from "./base-CKLWBhDo.js";
|
|
6
6
|
import { O as executionFailureTermination, b as wrapMastra, x as createObservabilityContext } from "./observability-D7RNOAPx.js";
|
|
7
7
|
import { a as getOrCreateSpan, t as executeWithContext } from "./utils-DU_pU5SK.js";
|
package/dist/utils.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const require_deep_equal = require("./deep-equal-TMDmByBC.cjs");
|
|
|
4
4
|
const require_zod_utils = require("./zod-utils-Cl5jw5N_.cjs");
|
|
5
5
|
const require_fetchWithRetry = require("./fetchWithRetry-f5k4p7_1.cjs");
|
|
6
6
|
const require_dynamic_argument = require("./dynamic-argument-CUc1BBOS.cjs");
|
|
7
|
-
const require_utils = require("./utils-
|
|
7
|
+
const require_utils = require("./utils-CxMSu_wc.cjs");
|
|
8
8
|
exports.boundedStringify = require_utils_safe_stringify.boundedStringify;
|
|
9
9
|
exports.checkEvalStorageFields = require_utils.checkEvalStorageFields;
|
|
10
10
|
exports.createMastraProxy = require_utils.createMastraProxy;
|
package/dist/utils.js
CHANGED
|
@@ -3,5 +3,5 @@ import { t as deepEqual } from "./deep-equal-d1xU02ag.js";
|
|
|
3
3
|
import { a as isZodObject, i as isZodArray, r as getZodTypeName, t as getZodDef } from "./zod-utils-BDDS_mxU.js";
|
|
4
4
|
import { t as fetchWithRetry } from "./fetchWithRetry-DFSvpYDT.js";
|
|
5
5
|
import { n as resolveDynamicArgument, t as getRequestUser } from "./dynamic-argument-BzPK3qPN.js";
|
|
6
|
-
import { C as setNestedValue, S as selectFields, _ as parseSqlIdentifier, a as ensureToolProperties, b as removeUndefinedValues, c as isCoreMessage, d as makeCoreTool, f as makeCoreToolV5, g as parseFieldKey, h as omitKeys, i as delay, l as isUiMessage, m as maskStreamTags, n as createMastraProxy, o as generateEmptyFromSchema, p as makeProcessorCoreTool, r as deepMerge, s as getNestedValue, t as checkEvalStorageFields, u as isZodType, v as readPositiveIntEnv, x as resolveSerializedZodOutput, y as rebindProcessorTools } from "./utils-
|
|
6
|
+
import { C as setNestedValue, S as selectFields, _ as parseSqlIdentifier, a as ensureToolProperties, b as removeUndefinedValues, c as isCoreMessage, d as makeCoreTool, f as makeCoreToolV5, g as parseFieldKey, h as omitKeys, i as delay, l as isUiMessage, m as maskStreamTags, n as createMastraProxy, o as generateEmptyFromSchema, p as makeProcessorCoreTool, r as deepMerge, s as getNestedValue, t as checkEvalStorageFields, u as isZodType, v as readPositiveIntEnv, x as resolveSerializedZodOutput, y as rebindProcessorTools } from "./utils-DcnKVK34.js";
|
|
7
7
|
export { boundedStringify, checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureSerializable, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, getRequestUser, getZodDef, getZodTypeName, isBoundedSerializable, isCoreMessage, isUiMessage, isZodArray, isZodObject, isZodType, makeCoreTool, makeCoreToolV5, makeProcessorCoreTool, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, readPositiveIntEnv, rebindProcessorTools, removeUndefinedValues, resolveDynamicArgument, resolveSerializedZodOutput, safeStringify, selectFields, setNestedValue };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
|
|
2
|
-
import { Et as validateTemplate, St as collectTemplateStepIds } from "./stream-
|
|
2
|
+
import { Et as validateTemplate, St as collectTemplateStepIds } from "./stream-C8HKG3qC.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
// src/workflows/dynamic/graph.ts
|
|
5
5
|
/**
|
package/dist/vector/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_base = require("../base-BIzR1D3_.cjs");
|
|
3
3
|
const require_error = require("../error-D90lJ6M7.cjs");
|
|
4
|
-
const require_run_registry = require("../run-registry-
|
|
4
|
+
const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
|
|
5
5
|
const require_message_list = require("../message-list-DfN9mWeN.cjs");
|
|
6
6
|
const require_dist = require("../dist-P2rjrlmj.cjs");
|
|
7
7
|
const require_dist$1 = require("../dist-CXeCeeW7.cjs");
|
package/dist/vector/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as MastraBase } from "../base-CKLWBhDo.js";
|
|
2
2
|
import { i as MastraError, n as ErrorDomain, t as ErrorCategory } from "../error-oh2DLsP2.js";
|
|
3
|
-
import { un as embed$3, ya as createVectorErrorId } from "../run-registry-
|
|
3
|
+
import { un as embed$3, ya as createVectorErrorId } from "../run-registry-DhOKJtlb.js";
|
|
4
4
|
import { P as embed$2 } from "../message-list-wI71UGxk.js";
|
|
5
5
|
import { r as embed$1 } from "../dist-TPVqg8oV.js";
|
|
6
6
|
import { n as embed } from "../dist-D3cKCUe-.js";
|
package/dist/worker/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_worker = require("../worker-
|
|
2
|
+
const require_worker = require("../worker-CFPu9qwV.cjs");
|
|
3
3
|
exports.BackgroundTaskWorker = require_worker.BackgroundTaskWorker;
|
|
4
4
|
exports.HttpRemoteStrategy = require_worker.HttpRemoteStrategy;
|
|
5
5
|
exports.InProcessStrategy = require_worker.InProcessStrategy;
|
package/dist/worker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as BackgroundTaskWorker, o as HttpRemoteStrategy, t as InProcessStrategy, c as MastraWorker, i as OrchestrationWorker, a as PullTransport, r as SchedulerWorker, s as StepExecutionError } from "../worker-
|
|
1
|
+
export { n as BackgroundTaskWorker, o as HttpRemoteStrategy, t as InProcessStrategy, c as MastraWorker, i as OrchestrationWorker, a as PullTransport, r as SchedulerWorker, s as StepExecutionError } from "../worker-SDi9jbP5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_run_registry = require("./run-registry-
|
|
1
|
+
const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
|
|
2
2
|
const require_scheduler = require("./scheduler-D00X03jQ.cjs");
|
|
3
|
-
const require_background_tasks = require("./background-tasks-
|
|
3
|
+
const require_background_tasks = require("./background-tasks-DgiQNKh7.cjs");
|
|
4
4
|
const require_request_context = require("./request-context-D9RXYCy8.cjs");
|
|
5
5
|
// src/worker/worker.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { yt as resolveAgentById } from "./run-registry-
|
|
1
|
+
import { yt as resolveAgentById } from "./run-registry-DhOKJtlb.js";
|
|
2
2
|
import { u as RequestContext } from "./request-context-COnZHt2-.js";
|
|
3
|
-
import { a as PullTransport, c as MastraWorker } from "./worker-
|
|
3
|
+
import { a as PullTransport, c as MastraWorker } from "./worker-SDi9jbP5.js";
|
|
4
4
|
import { l as parseFsAgentScheduleRowId } from "./schedules-DZfSx-7P.js";
|
|
5
5
|
// src/schedules/worker.ts
|
|
6
6
|
/** PubSub topic on which the scheduler publishes `agent-schedule.fire` events. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_run_registry = require("./run-registry-
|
|
1
|
+
const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
|
|
2
2
|
const require_request_context = require("./request-context-D9RXYCy8.cjs");
|
|
3
|
-
const require_worker = require("./worker-
|
|
3
|
+
const require_worker = require("./worker-CFPu9qwV.cjs");
|
|
4
4
|
const require_schedules = require("./schedules-BZS8McF7.cjs");
|
|
5
5
|
// src/schedules/worker.ts
|
|
6
6
|
/** PubSub topic on which the scheduler publishes `agent-schedule.fire` events. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cl as assertDrainTimeout, Gs as StepExecutor, Ks as computeScheduleDefinitionHash, Ws as WorkflowEventProcessor, gc as getStepEntry, hc as getNestedWorkflow, wl as waitMs, yt as resolveAgentById } from "./run-registry-
|
|
1
|
+
import { Cl as assertDrainTimeout, Gs as StepExecutor, Ks as computeScheduleDefinitionHash, Ws as WorkflowEventProcessor, gc as getStepEntry, hc as getNestedWorkflow, wl as waitMs, yt as resolveAgentById } from "./run-registry-DhOKJtlb.js";
|
|
2
2
|
import { t as Scheduler } from "./scheduler-B-VZUvv_.js";
|
|
3
|
-
import { s as BackgroundTaskManager } from "./background-tasks-
|
|
3
|
+
import { s as BackgroundTaskManager } from "./background-tasks-E-Jjxks4.js";
|
|
4
4
|
import { u as RequestContext } from "./request-context-COnZHt2-.js";
|
|
5
5
|
// src/worker/worker.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { un as resolveSuspendedToolRunId } from "./stream-
|
|
1
|
+
import { un as resolveSuspendedToolRunId } from "./stream-C8HKG3qC.js";
|
|
2
2
|
import "./utils-DU_pU5SK.js";
|
|
3
3
|
import { m as slimProgressChunk } from "./output-helpers-CVzhy1Y0.js";
|
|
4
|
-
import { Ls as createWorkflow, bc as createStep } from "./run-registry-
|
|
5
|
-
import { c as BACKGROUND_TASK_WORKFLOW_ID } from "./background-tasks-
|
|
4
|
+
import { Ls as createWorkflow, bc as createStep } from "./run-registry-DhOKJtlb.js";
|
|
5
|
+
import { c as BACKGROUND_TASK_WORKFLOW_ID } from "./background-tasks-E-Jjxks4.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
// src/background-tasks/workflow.ts
|
|
8
8
|
const inputSchema = z.object({ taskId: z.string() });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_stream = require("./stream-
|
|
1
|
+
const require_stream = require("./stream-BIDts1fZ.cjs");
|
|
2
2
|
require("./utils-D-eNsgDM.cjs");
|
|
3
3
|
const require_output_helpers = require("./output-helpers-DgsH4aTb.cjs");
|
|
4
|
-
const require_run_registry = require("./run-registry-
|
|
5
|
-
const require_background_tasks = require("./background-tasks-
|
|
4
|
+
const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
|
|
5
|
+
const require_background_tasks = require("./background-tasks-DgiQNKh7.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
7
|
// src/background-tasks/workflow.ts
|
|
8
8
|
const inputSchema = zod.z.object({ taskId: zod.z.string() });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_builder = require("../../builder-
|
|
2
|
+
const require_builder = require("../../builder-Dfp6Ckjr.cjs");
|
|
3
3
|
exports.WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS = require_builder.WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS;
|
|
4
4
|
exports.WORKFLOW_BUILDER_AUTHORING_PLAYBOOK = require_builder.WORKFLOW_BUILDER_AUTHORING_PLAYBOOK;
|
|
5
5
|
exports.WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION = require_builder.WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS, W as WORKFLOW_BUILDER_AUTHORING_PLAYBOOK, i as WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION, t as WORKFLOW_BUILDER_SUPPORTED_STEP_TYPES, B as compareWorkflowBuilderSchemas, r as createWorkflowBuilderAgent, a as deleteStoredWorkflowResponseSchema, V as inspectWorkflowBuilderSchemas, o as listStoredWorkflowsResponseSchema, n as normalizeWorkflowBuilderDefinition, H as preflightWorkflowDefinition, s as storedWorkflowDefinitionSchema, c as upsertStoredWorkflowResponseSchema, l as workflowBuilderAgentEntryInputSchema, u as workflowBuilderAgentEntrySchema, d as workflowBuilderClassifierEntryInputSchema, f as workflowBuilderClassifierEntrySchema, p as workflowBuilderConditionalEntryInputSchema, m as workflowBuilderConditionalEntrySchema, h as workflowBuilderDefinitionInputSchema, g as workflowBuilderDefinitionSchema, _ as workflowBuilderForeachEntryInputSchema, v as workflowBuilderForeachEntrySchema, y as workflowBuilderGraphEntryInputSchema, b as workflowBuilderGraphEntrySchema, x as workflowBuilderLoopEntryInputSchema, S as workflowBuilderLoopEntrySchema, C as workflowBuilderMappingConfigSchema, w as workflowBuilderMappingDescriptorSchema, T as workflowBuilderMappingEntryInputSchema, E as workflowBuilderMappingEntrySchema, D as workflowBuilderNestedWorkflowEntryInputSchema, O as workflowBuilderNestedWorkflowEntrySchema, k as workflowBuilderParallelEntryInputSchema, A as workflowBuilderParallelEntrySchema, j as workflowBuilderPredicateSchema, M as workflowBuilderScheduleConfigSchema, N as workflowBuilderScheduleSchema, P as workflowBuilderSleepEntryInputSchema, F as workflowBuilderSleepEntrySchema, I as workflowBuilderSleepUntilEntryInputSchema, L as workflowBuilderSleepUntilEntrySchema, R as workflowBuilderToolEntryInputSchema, z as workflowBuilderToolEntrySchema } from "../../builder-
|
|
1
|
+
export { U as WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS, W as WORKFLOW_BUILDER_AUTHORING_PLAYBOOK, i as WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION, t as WORKFLOW_BUILDER_SUPPORTED_STEP_TYPES, B as compareWorkflowBuilderSchemas, r as createWorkflowBuilderAgent, a as deleteStoredWorkflowResponseSchema, V as inspectWorkflowBuilderSchemas, o as listStoredWorkflowsResponseSchema, n as normalizeWorkflowBuilderDefinition, H as preflightWorkflowDefinition, s as storedWorkflowDefinitionSchema, c as upsertStoredWorkflowResponseSchema, l as workflowBuilderAgentEntryInputSchema, u as workflowBuilderAgentEntrySchema, d as workflowBuilderClassifierEntryInputSchema, f as workflowBuilderClassifierEntrySchema, p as workflowBuilderConditionalEntryInputSchema, m as workflowBuilderConditionalEntrySchema, h as workflowBuilderDefinitionInputSchema, g as workflowBuilderDefinitionSchema, _ as workflowBuilderForeachEntryInputSchema, v as workflowBuilderForeachEntrySchema, y as workflowBuilderGraphEntryInputSchema, b as workflowBuilderGraphEntrySchema, x as workflowBuilderLoopEntryInputSchema, S as workflowBuilderLoopEntrySchema, C as workflowBuilderMappingConfigSchema, w as workflowBuilderMappingDescriptorSchema, T as workflowBuilderMappingEntryInputSchema, E as workflowBuilderMappingEntrySchema, D as workflowBuilderNestedWorkflowEntryInputSchema, O as workflowBuilderNestedWorkflowEntrySchema, k as workflowBuilderParallelEntryInputSchema, A as workflowBuilderParallelEntrySchema, j as workflowBuilderPredicateSchema, M as workflowBuilderScheduleConfigSchema, N as workflowBuilderScheduleSchema, P as workflowBuilderSleepEntryInputSchema, F as workflowBuilderSleepEntrySchema, I as workflowBuilderSleepUntilEntryInputSchema, L as workflowBuilderSleepUntilEntrySchema, R as workflowBuilderToolEntryInputSchema, z as workflowBuilderToolEntrySchema } from "../../builder-Dh175HnQ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../../run-registry-
|
|
2
|
+
const require_run_registry = require("../../run-registry-lLRc7EE6.cjs");
|
|
3
3
|
exports.EventedExecutionEngine = require_run_registry.EventedExecutionEngine;
|
|
4
4
|
exports.EventedRun = require_run_registry.EventedRun;
|
|
5
5
|
exports.EventedWorkflow = require_run_registry.EventedWorkflow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { mc as EventedExecutionEngine, Rs as EventedRun, zs as EventedWorkflow, Gs as StepExecutor, Ws as WorkflowEventProcessor, Bs as cloneStep, Vs as cloneWorkflow, Hs as createStep, Us as createWorkflow } from "../../run-registry-
|
|
1
|
+
export { mc as EventedExecutionEngine, Rs as EventedRun, zs as EventedWorkflow, Gs as StepExecutor, Ws as WorkflowEventProcessor, Bs as cloneStep, Vs as cloneWorkflow, Hs as createStep, Us as createWorkflow } from "../../run-registry-DhOKJtlb.js";
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
3
|
-
const require_stream = require("../stream-
|
|
2
|
+
const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
|
|
3
|
+
const require_stream = require("../stream-BIDts1fZ.cjs");
|
|
4
4
|
const require_predicate_index = require("../predicate/index.cjs");
|
|
5
5
|
const require_schedules = require("../schedules-BZS8McF7.cjs");
|
|
6
6
|
const require_scheduler = require("../scheduler-D00X03jQ.cjs");
|
|
7
|
-
const require_validate = require("../validate-
|
|
8
|
-
const require_rehydrate = require("../rehydrate-
|
|
7
|
+
const require_validate = require("../validate-RVKgazCf.cjs");
|
|
8
|
+
const require_rehydrate = require("../rehydrate-BWnd_TEx.cjs");
|
|
9
9
|
// src/workflows/state-reader.ts
|
|
10
10
|
const getStep = (state, stepId) => state.steps?.[stepId];
|
|
11
11
|
const getFirstStepResult = (step) => {
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $c as createRestartExecutionParams, Ac as DefaultExecutionEngine, Cc as predicateToCondition, Fs as cloneWorkflow, Gc as createStepFromTool, Hc as createMappingStep, Is as createEventedWorkflow, Jc as abortableSleep, Kc as RESUME_SNAPSHOT_POLL_INTERVAL_MS, Ks as computeScheduleDefinitionHash, Ls as createWorkflow, Qc as createDeprecationProxy, Rc as ExecutionEngine, Sc as mapVariable, Sl as getEntryWorkflow, Tl as workflowTermination, Uc as createStepFromAgent, Wc as createStepFromClassifier, Xc as assertTimeTravelGraphMatchesSnapshot, Yc as applyStateDelta, Zc as cleanStepResult, _c as Run, _l as validateStepResumeData, al as getSingleStepEntryId, bc as createStep, bl as waitForSuspendedSnapshot, cl as isEntryFinished, dl as omitPriorSuspensionFields, el as createTimeTravelExecutionParams, fl as resolveForeachConcurrency, gl as validateStepRequestContext, hl as validateStepInput, il as getResumeLabelsByStepId, ll as isSingleStepEntry, ml as setLongTimeout, nl as defineStateAccessors, ol as getStepIds, pl as runCountDeprecationMessage, qc as RESUME_SNAPSHOT_WAIT_STATUSES, rl as getRestartStartIndex, sl as hydrateSerializedStepErrors, tl as defineLazyWriter, ul as omitPriorCompletionFields, vc as Workflow, vl as validateStepStateData, wc as evaluatePredicate, xc as isProcessor, xl as getEntryId, yc as cloneStep, yl as validateStepSuspendData } from "../run-registry-
|
|
2
|
-
import { Dt as getStepResult, Ot as getStepResultAsync } from "../stream-
|
|
1
|
+
import { $c as createRestartExecutionParams, Ac as DefaultExecutionEngine, Cc as predicateToCondition, Fs as cloneWorkflow, Gc as createStepFromTool, Hc as createMappingStep, Is as createEventedWorkflow, Jc as abortableSleep, Kc as RESUME_SNAPSHOT_POLL_INTERVAL_MS, Ks as computeScheduleDefinitionHash, Ls as createWorkflow, Qc as createDeprecationProxy, Rc as ExecutionEngine, Sc as mapVariable, Sl as getEntryWorkflow, Tl as workflowTermination, Uc as createStepFromAgent, Wc as createStepFromClassifier, Xc as assertTimeTravelGraphMatchesSnapshot, Yc as applyStateDelta, Zc as cleanStepResult, _c as Run, _l as validateStepResumeData, al as getSingleStepEntryId, bc as createStep, bl as waitForSuspendedSnapshot, cl as isEntryFinished, dl as omitPriorSuspensionFields, el as createTimeTravelExecutionParams, fl as resolveForeachConcurrency, gl as validateStepRequestContext, hl as validateStepInput, il as getResumeLabelsByStepId, ll as isSingleStepEntry, ml as setLongTimeout, nl as defineStateAccessors, ol as getStepIds, pl as runCountDeprecationMessage, qc as RESUME_SNAPSHOT_WAIT_STATUSES, rl as getRestartStartIndex, sl as hydrateSerializedStepErrors, tl as defineLazyWriter, ul as omitPriorCompletionFields, vc as Workflow, vl as validateStepStateData, wc as evaluatePredicate, xc as isProcessor, xl as getEntryId, yc as cloneStep, yl as validateStepSuspendData } from "../run-registry-DhOKJtlb.js";
|
|
2
|
+
import { Dt as getStepResult, Ot as getStepResultAsync } from "../stream-C8HKG3qC.js";
|
|
3
3
|
import { derivePredicateLabel, predicateSchema } from "../predicate/index.js";
|
|
4
4
|
import { _ as validateCron, h as computeNextFireAt } from "../schedules-DZfSx-7P.js";
|
|
5
5
|
import { n as WorkflowScheduler, t as Scheduler } from "../scheduler-B-VZUvv_.js";
|
|
6
|
-
import { a as jsonSchemaToZod, c as analyzeMapConfig, d as toJsonSchemaOrUndefined, f as validateWorkflowRefs, h as forEachSingleStepEntryWithPath, i as validateWorkflowSchemas, l as parseMapConfig, m as forEachSingleStepEntry, n as validateDynamicWorkflow, o as validateStorableJsonSchema, p as collectNestedWorkflowIds, r as validateWorkflowStructure, s as inferGraphSchemas, t as assertValidDynamicWorkflow, u as schemaCompatibility } from "../validate-
|
|
7
|
-
import { n as entryOptionFields, r as toStorableGraph, t as rehydrateWorkflow } from "../rehydrate-
|
|
6
|
+
import { a as jsonSchemaToZod, c as analyzeMapConfig, d as toJsonSchemaOrUndefined, f as validateWorkflowRefs, h as forEachSingleStepEntryWithPath, i as validateWorkflowSchemas, l as parseMapConfig, m as forEachSingleStepEntry, n as validateDynamicWorkflow, o as validateStorableJsonSchema, p as collectNestedWorkflowIds, r as validateWorkflowStructure, s as inferGraphSchemas, t as assertValidDynamicWorkflow, u as schemaCompatibility } from "../validate-Dn750ciE.js";
|
|
7
|
+
import { n as entryOptionFields, r as toStorableGraph, t as rehydrateWorkflow } from "../rehydrate-Dgqkw7Py.js";
|
|
8
8
|
// src/workflows/state-reader.ts
|
|
9
9
|
const getStep = (state, stepId) => state.steps?.[stepId];
|
|
10
10
|
const getFirstStepResult = (step) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "1.87.0-alpha.
|
|
3
|
+
"version": "1.87.0-alpha.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -968,17 +968,17 @@
|
|
|
968
968
|
"zod-v3": "npm:zod@3.25.76",
|
|
969
969
|
"@internal/ai-sdk-v4": "0.0.99",
|
|
970
970
|
"@internal/ai-sdk-v5": "0.0.99",
|
|
971
|
+
"@internal/core": "0.1.4",
|
|
971
972
|
"@internal/auth": "0.0.40",
|
|
972
973
|
"@internal/ai-v7": "0.0.99",
|
|
973
|
-
"@internal/ai-v6": "0.0.99",
|
|
974
|
-
"@internal/core": "0.1.4",
|
|
975
974
|
"@internal/deployer": "0.0.5",
|
|
976
|
-
"@internal/lint": "0.0.152",
|
|
977
|
-
"@internal/external-types": "0.0.102",
|
|
978
975
|
"@internal/llm-recorder": "0.0.88",
|
|
979
|
-
"@internal/types
|
|
976
|
+
"@internal/external-types": "0.0.102",
|
|
980
977
|
"@internal/test-utils": "0.0.88",
|
|
981
|
-
"@internal/
|
|
978
|
+
"@internal/lint": "0.0.152",
|
|
979
|
+
"@internal/types-builder": "0.0.127",
|
|
980
|
+
"@internal/voice": "0.0.48",
|
|
981
|
+
"@internal/ai-v6": "0.0.99"
|
|
982
982
|
},
|
|
983
983
|
"engines": {
|
|
984
984
|
"node": ">=22.13.0"
|