@mastra/core 1.87.0-alpha.14 → 1.87.0-alpha.15
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-k4B293tu.cjs → agent-controller-DhDQXNoI.cjs} +5 -5
- package/dist/{agent-controller-FSjSZ_iD.js → agent-controller-DihwxeVJ.js} +5 -5
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/{background-tasks-ClI6oF60.js → background-tasks-BoUX5G90.js} +1 -1
- package/dist/{background-tasks-D40Y_iLc.cjs → background-tasks-udYDvnlw.cjs} +1 -1
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/{builder-C_I6l0US.cjs → builder-B2n-bUbl.cjs} +2 -2
- package/dist/{builder-D00XMm41.js → builder-Cn1lOWio.js} +2 -2
- package/dist/channels/index.cjs +2 -2
- package/dist/channels/index.js +2 -2
- package/dist/{channels-DMSae7xD.js → channels-DA3oMfhF.js} +1 -1
- package/dist/{channels-BU5_kAUO.cjs → channels-HRrlHnwF.cjs} +1 -1
- package/dist/coding-agent/index.cjs +2 -2
- package/dist/coding-agent/index.js +2 -2
- 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 +530 -530
- package/dist/docs/references/docs-signals-sending-signals.md +13 -0
- package/dist/docs/references/docs-signals-state-signals.md +1 -1
- package/dist/docs/references/reference-signals-time-signal-provider.md +35 -0
- 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/index.cjs +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/llm/index.cjs +3 -3
- package/dist/llm/index.js +3 -3
- package/dist/{llm-C1aiWB6O.cjs → llm-Bljw7LII.cjs} +2 -2
- package/dist/{llm-D5rGQSnS.js → llm-CxHzqEEI.js} +2 -2
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +2 -2
- package/dist/{manager-DxwPLhYJ.js → manager-BimN8ZdV.js} +2 -2
- package/dist/{manager-B2z5f39G.cjs → manager-DVYVB-3O.cjs} +2 -2
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-CHd7UnbI.js → mastra-BpMvri3z.js} +17 -16
- package/dist/{mastra-WMuI7TZD.cjs → mastra-k8L1lFip.cjs} +17 -16
- package/dist/memory/index.cjs +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/{model-C2CTzjMk.cjs → model-CrDuEDRq.cjs} +1 -1
- package/dist/{model-B8DlLHex.js → model-sUJDcX2v.js} +1 -1
- package/dist/{netlify-xQFmVbr4.js → netlify-BEJ96z-w.js} +1 -1
- package/dist/{netlify-Dhs0UJul.cjs → netlify-Td-JUUkt.cjs} +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-CSQPAFzz.cjs → provider-registry-CCYXykIZ.cjs} +4 -4
- package/dist/{provider-registry-FxVHWmht.js → provider-registry-DBG4hlGl.js} +4 -4
- package/dist/{registry-generator-Dsh7xcz9.cjs → registry-generator-BxiC9XcX.cjs} +1 -1
- package/dist/{registry-generator-BzsrHxrr.js → registry-generator-D2lO3JJJ.js} +1 -1
- package/dist/{rehydrate-8q7KX4rD.cjs → rehydrate-BD0zOfc8.cjs} +2 -2
- package/dist/{rehydrate-DV1iO9eZ.js → rehydrate-PRFAu8yl.js} +2 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/{run-registry-DOlZccsr.cjs → run-registry-BvMXuIb_.cjs} +451 -345
- package/dist/{run-registry-sTm40Ecv.js → run-registry-Cqp-VFdv.js} +451 -345
- package/dist/signals/index.cjs +1 -1
- package/dist/signals/index.js +1 -1
- package/dist/signals/time-signal-provider.d.ts +8 -0
- package/dist/{signals-CIwzgkvN.cjs → signals-CbmgVwL-.cjs} +74 -7
- package/dist/{signals-BTfT-6DE.js → signals-Clupx3jz.js} +74 -7
- package/dist/storage/domains/knowledge/base.d.ts +33 -1
- package/dist/storage/domains/knowledge/inmemory.d.ts +2 -0
- package/dist/storage/domains/knowledge/pages-inmemory.d.ts +20 -12
- 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-aGuW9AL8.cjs → stream-BIbVD8V8.cjs} +1 -1
- package/dist/{stream-k-Q1NLUs.js → stream-D607FmAx.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-WcRtGJHn.cjs → tool-loop-agent-Cnf7vONA.cjs} +3 -3
- package/dist/{tool-loop-agent-CJrysPOR.js → tool-loop-agent-eyoY_TEX.js} +3 -3
- package/dist/{utils-DamF4CfD.js → utils-CQkzZUcK.js} +1 -1
- package/dist/{utils-DEzQLxWP.cjs → utils-O1TXaFUl.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/{validate-CDlONK0o.cjs → validate-CEgWy7P0.cjs} +1 -1
- package/dist/{validate-rum3NMFA.js → validate-CTWjOlWp.js} +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-rwal1zI8.cjs → worker-CCDvbK3P.cjs} +2 -2
- package/dist/{worker-st16x0my.js → worker-CCNb2aJe.js} +2 -2
- package/dist/{worker-6MiKMAqB.cjs → worker-CI1joT3R.cjs} +2 -2
- package/dist/{worker-BnXipQth.js → worker-D52cos24.js} +2 -2
- package/dist/{workflow-D2-gn0U0.cjs → workflow-BJL0qlPN.cjs} +3 -3
- package/dist/{workflow-BzhYKgc_.js → workflow-DsmyWwxG.js} +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 +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-BrhgMLW6.cjs");
|
|
2
|
-
const require_netlify = require("./netlify-
|
|
2
|
+
const require_netlify = require("./netlify-Td-JUUkt.cjs");
|
|
3
3
|
const require_error = require("./error-D90lJ6M7.cjs");
|
|
4
4
|
let fs = require("fs");
|
|
5
5
|
fs = require_rolldown_runtime.__toESM(fs, 1);
|
|
@@ -25160,10 +25160,10 @@ var GatewayRegistry = class GatewayRegistry {
|
|
|
25160
25160
|
if (this.isRefreshing && !forceRefresh) return;
|
|
25161
25161
|
this.isRefreshing = true;
|
|
25162
25162
|
try {
|
|
25163
|
-
const { ModelsDevGateway } = await Promise.resolve().then(() => require("./netlify-
|
|
25164
|
-
const { NetlifyGateway } = await Promise.resolve().then(() => require("./netlify-
|
|
25163
|
+
const { ModelsDevGateway } = await Promise.resolve().then(() => require("./netlify-Td-JUUkt.cjs")).then((n) => n.models_dev_exports);
|
|
25164
|
+
const { NetlifyGateway } = await Promise.resolve().then(() => require("./netlify-Td-JUUkt.cjs")).then((n) => n.netlify_exports);
|
|
25165
25165
|
const { MastraGateway } = await Promise.resolve().then(() => mastra_exports);
|
|
25166
|
-
const { fetchProvidersFromGateways, writeRegistryFiles } = await Promise.resolve().then(() => require("./registry-generator-
|
|
25166
|
+
const { fetchProvidersFromGateways, writeRegistryFiles } = await Promise.resolve().then(() => require("./registry-generator-BxiC9XcX.cjs"));
|
|
25167
25167
|
const { providers, models, attachmentCapabilities, temperatureCapabilities, structuredOutputCapabilities, reasoningCapabilities, failedGateways } = await fetchProvidersFromGateways([...[
|
|
25168
25168
|
new ModelsDevGateway({}),
|
|
25169
25169
|
new NetlifyGateway(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-tIEjjQTE.js";
|
|
2
|
-
import { _ as getCapabilityFileName, d as createOpenRouter, f as createAnthropic, g as shouldEnableGateway, l as GATEWAY_AUTH_HEADER, m as getGatewayId, r as ModelsDevGateway, t as NetlifyGateway, u as MASTRA_USER_AGENT, y as MastraModelGateway } from "./netlify-
|
|
2
|
+
import { _ as getCapabilityFileName, d as createOpenRouter, f as createAnthropic, g as shouldEnableGateway, l as GATEWAY_AUTH_HEADER, m as getGatewayId, r as ModelsDevGateway, t as NetlifyGateway, u as MASTRA_USER_AGENT, y as MastraModelGateway } from "./netlify-BEJ96z-w.js";
|
|
3
3
|
import { i as MastraError, n as ErrorDomain, t as ErrorCategory } from "./error-oh2DLsP2.js";
|
|
4
4
|
import { createRequire } from "module";
|
|
5
5
|
import fs from "fs";
|
|
@@ -25157,10 +25157,10 @@ var GatewayRegistry = class GatewayRegistry {
|
|
|
25157
25157
|
if (this.isRefreshing && !forceRefresh) return;
|
|
25158
25158
|
this.isRefreshing = true;
|
|
25159
25159
|
try {
|
|
25160
|
-
const { ModelsDevGateway } = await import("./netlify-
|
|
25161
|
-
const { NetlifyGateway } = await import("./netlify-
|
|
25160
|
+
const { ModelsDevGateway } = await import("./netlify-BEJ96z-w.js").then((n) => n.i);
|
|
25161
|
+
const { NetlifyGateway } = await import("./netlify-BEJ96z-w.js").then((n) => n.n);
|
|
25162
25162
|
const { MastraGateway } = await Promise.resolve().then(() => mastra_exports);
|
|
25163
|
-
const { fetchProvidersFromGateways, writeRegistryFiles } = await import("./registry-generator-
|
|
25163
|
+
const { fetchProvidersFromGateways, writeRegistryFiles } = await import("./registry-generator-D2lO3JJJ.js");
|
|
25164
25164
|
const { providers, models, attachmentCapabilities, temperatureCapabilities, structuredOutputCapabilities, reasoningCapabilities, failedGateways } = await fetchProvidersFromGateways([...[
|
|
25165
25165
|
new ModelsDevGateway({}),
|
|
25166
25166
|
new NetlifyGateway(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-BrhgMLW6.cjs");
|
|
2
|
-
const require_netlify = require("./netlify-
|
|
2
|
+
const require_netlify = require("./netlify-Td-JUUkt.cjs");
|
|
3
3
|
let path = require("path");
|
|
4
4
|
path = require_rolldown_runtime.__toESM(path, 1);
|
|
5
5
|
let fs_promises = require("fs/promises");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as getCapabilityFileName, g as shouldEnableGateway, m as getGatewayId } from "./netlify-
|
|
1
|
+
import { _ as getCapabilityFileName, g as shouldEnableGateway, m as getGatewayId } from "./netlify-BEJ96z-w.js";
|
|
2
2
|
import path from "path";
|
|
3
3
|
import fs from "fs/promises";
|
|
4
4
|
// src/llm/model/registry-generator.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_run_registry = require("./run-registry-
|
|
1
|
+
const require_run_registry = require("./run-registry-BvMXuIb_.cjs");
|
|
2
2
|
const require_predicate_index = require("./predicate/index.cjs");
|
|
3
|
-
const require_validate = require("./validate-
|
|
3
|
+
const require_validate = require("./validate-CEgWy7P0.cjs");
|
|
4
4
|
let _mastra_schema_compat_schema = require("@mastra/schema-compat/schema");
|
|
5
5
|
// src/workflows/dynamic/serialize.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Gs as createEventedWorkflow, Ks as createWorkflow, Nc as mapVariable, Pc as predicateToCondition, Ws as cloneWorkflow, el as createStepFromAgent, gl as getSingleStepEntryId, nl as createStepFromTool } from "./run-registry-
|
|
1
|
+
import { Gs as createEventedWorkflow, Ks as createWorkflow, Nc as mapVariable, Pc as predicateToCondition, Ws as cloneWorkflow, el as createStepFromAgent, gl as getSingleStepEntryId, nl as createStepFromTool } from "./run-registry-Cqp-VFdv.js";
|
|
2
2
|
import { derivePredicateLabel } from "./predicate/index.js";
|
|
3
|
-
import { a as jsonSchemaToZod, l as parseMapConfig } from "./validate-
|
|
3
|
+
import { a as jsonSchemaToZod, l as parseMapConfig } from "./validate-CTWjOlWp.js";
|
|
4
4
|
import { standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
|
|
5
5
|
// src/workflows/dynamic/serialize.ts
|
|
6
6
|
/**
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-BvMXuIb_.cjs");
|
|
3
|
+
const require_stream = require("../stream-BIbVD8V8.cjs");
|
|
4
4
|
// src/relevance/relevance-score-provider.ts
|
|
5
5
|
function createSimilarityPrompt(query, text) {
|
|
6
6
|
return `Rate the semantic similarity between the following the query and the text on a scale from 0 to 1 (decimals allowed), where 1 means exactly the same meaning and 0 means completely different:
|
package/dist/relevance/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as Agent } from "../run-registry-
|
|
2
|
-
import { un as isSupportedLanguageModel } from "../stream-
|
|
1
|
+
import { F as Agent } from "../run-registry-Cqp-VFdv.js";
|
|
2
|
+
import { un as isSupportedLanguageModel } from "../stream-D607FmAx.js";
|
|
3
3
|
// src/relevance/relevance-score-provider.ts
|
|
4
4
|
function createSimilarityPrompt(query, text) {
|
|
5
5
|
return `Rate the semantic similarity between the following the query and the text on a scale from 0 to 1 (decimals allowed), where 1 means exactly the same meaning and 0 means completely different:
|