@mastra/server 1.87.0-alpha.4 → 1.87.0-alpha.5
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/{a2a-DBvkBF5L.cjs → a2a-BN1yr3_0.cjs} +2 -2
- package/dist/{a2a-BF24ZHHG.js → a2a-Ko42c8aO.js} +2 -2
- package/dist/{agent-builder-NQyRodXn.cjs → agent-builder-BySDH8w4.cjs} +3 -3
- package/dist/{agent-builder-C8ugTBfd.js → agent-builder-i24xZTwm.js} +3 -3
- package/dist/{agent-controller-CzKnfKkw.js → agent-controller-CviX4R-w.js} +2 -2
- package/dist/{agent-controller-BP-CFfsg.cjs → agent-controller-dORP4p-X.cjs} +2 -2
- package/dist/{agents-fc1FJDvC.js → agents-C0IdGyiL.js} +3 -3
- package/dist/{agents-pZbKdbyw.cjs → agents-D5Gfdskc.cjs} +3 -3
- package/dist/{api-schema-manifest-C2jopWPa.js → api-schema-manifest-CG30_RPu.js} +1 -1
- package/dist/{api-schema-manifest-NWyRb6Ck.cjs → api-schema-manifest-DOdengLi.cjs} +1 -1
- package/dist/{background-tasks-xkwOZ9D_.js → background-tasks-B9YLamYP.js} +1 -1
- package/dist/{background-tasks-4EZqzWvG.cjs → background-tasks-Cb6wRhsM.cjs} +1 -1
- package/dist/{builder-registry-BBI_5CBL.cjs → builder-registry-C-RaKe16.cjs} +1 -1
- package/dist/{builder-registry-WYVRUCgJ.js → builder-registry-DvnU_YM0.js} +1 -1
- package/dist/{catalogue-6fUQPgRx.cjs → catalogue-5OgOvPdj.cjs} +11 -11
- package/dist/{catalogue-BGzYIh8i.js → catalogue-Dzee6I_u.js} +11 -11
- package/dist/{channels-DlsNzITQ.cjs → channels-5aNdsEw1.cjs} +1 -1
- package/dist/{channels-bkX-zz9J.js → channels-DI1jIiLJ.js} +1 -1
- package/dist/{constants-C1ASuP4t.js → constants-BGZc2rRV.js} +1 -0
- package/dist/{constants-CyNbINin.cjs → constants-DrYn0WtO.cjs} +1 -0
- package/dist/{conversations-CmJ313KB.cjs → conversations-BgaiPkn3.cjs} +2 -2
- package/dist/{conversations-C_3CdW9R.js → conversations-Dvej1_Fz.js} +2 -2
- package/dist/{datasets-CZRqni0N.cjs → datasets-F0EduyNl.cjs} +1 -0
- package/dist/{datasets-CYdtUF8e.js → datasets-raywnGOv.js} +1 -0
- package/dist/{dist-BioCAWZZ.cjs → dist-BExtYJCh.cjs} +3 -3
- package/dist/{dist-DT4-N7GI.js → dist-CuLV2DIz.js} +3 -3
- package/dist/{dist-u1pKW3Zj.cjs → dist-CxDD21r1.cjs} +1 -1
- package/dist/dist-DbJfioW_.js +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/{editor-builder-Dx6h7vbp.js → editor-builder-C7JESHXV.js} +1 -1
- package/dist/{editor-builder-CC5TMhad.cjs → editor-builder-CrDeYS4M.cjs} +1 -1
- package/dist/{helpers-hFdKABRP.js → helpers-Cu3u8z-m.js} +1 -1
- package/dist/{helpers-Zu5ZVxSl.cjs → helpers-JABjIdEV.cjs} +1 -1
- package/dist/{knowledge-wqC0nrmu.js → knowledge-BxAzi7GS.js} +2 -2
- package/dist/{knowledge-B3768ERP.cjs → knowledge-Ca1Oa8to.cjs} +2 -2
- package/dist/{logs-B0dcn5iB.cjs → logs-B0KVAwEq.cjs} +1 -1
- package/dist/{logs-CqgT7AOV.js → logs-EbPb9KkB.js} +1 -1
- package/dist/{mcp-DXvFogeV.js → mcp-C7rIfLyo.js} +1 -1
- package/dist/{mcp-C060MyHc.cjs → mcp-Ca1BQb6m.cjs} +1 -1
- package/dist/{memory-03B4pe3w.js → memory-BCNMsZz4.js} +2 -2
- package/dist/{memory-4Izw-l6v.cjs → memory-MbUMCc-D.cjs} +2 -2
- package/dist/{observability-URaJnI_U.js → observability-BkIqjp9o.js} +1 -1
- package/dist/{observability-zNA_CVaz.cjs → observability-BurXEXQA.cjs} +1 -1
- package/dist/{observability-new-endpoints-vj6FaEcm.js → observability-new-endpoints-B8cU0TgV.js} +1 -1
- package/dist/{observability-new-endpoints-iRwQxqwY.cjs → observability-new-endpoints-BmMAKxRm.cjs} +1 -1
- package/dist/{plans-DG71R1_g.js → plans-CaSviy0J.js} +2 -2
- package/dist/{plans-NLQ66Ni4.cjs → plans-DyZvjADy.cjs} +2 -2
- package/dist/{probe-image-size-B2uqI4uZ.js → probe-image-size-D6EbqDxl.js} +1 -1
- package/dist/{probe-image-size-Bmje219o.cjs → probe-image-size-DSXA3-NW.cjs} +1 -1
- package/dist/{responses-8yLEylMP.js → responses-Bs8vk9BH.js} +2 -2
- package/dist/{responses-DSZaoF9e.cjs → responses-DZ4Cwu6V.cjs} +2 -2
- package/dist/{routes-BnqbLavV.js → routes-B-GM8Kgs.js} +24 -24
- package/dist/{routes-BQwX8qE0.cjs → routes-BGnprZYb.cjs} +24 -24
- package/dist/{schedules-RWgPeypN.js → schedules-CP8eVRES.js} +2 -2
- package/dist/{schedules-CwL28Eca.cjs → schedules-CyzFSKWs.cjs} +2 -2
- package/dist/{scores-Dvb44a34.js → scores-BAfbF8q6.js} +1 -1
- package/dist/{scores-nXPYzs7N.cjs → scores-BFPKFy2D.cjs} +1 -1
- package/dist/server/auth/index.cjs +2 -2
- package/dist/server/auth/index.js +2 -2
- package/dist/server/constants.d.ts +1 -1
- package/dist/server/handlers/a2a.cjs +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agent-controller.cjs +1 -1
- package/dist/server/handlers/agent-controller.js +1 -1
- package/dist/server/handlers/agent-versions.cjs +1 -1
- package/dist/server/handlers/agent-versions.js +1 -1
- package/dist/server/handlers/agents.cjs +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/auth.cjs +2 -2
- package/dist/server/handlers/auth.js +2 -2
- package/dist/server/handlers/authorship.cjs +1 -1
- package/dist/server/handlers/authorship.js +1 -1
- package/dist/server/handlers/background-tasks.cjs +1 -1
- package/dist/server/handlers/background-tasks.js +1 -1
- package/dist/server/handlers/builder-registry.cjs +1 -1
- package/dist/server/handlers/builder-registry.js +1 -1
- package/dist/server/handlers/channels.cjs +1 -1
- package/dist/server/handlers/channels.js +1 -1
- package/dist/server/handlers/conversations.cjs +1 -1
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/datasets.cjs +2 -2
- package/dist/server/handlers/datasets.d.ts +12 -0
- package/dist/server/handlers/datasets.js +2 -2
- package/dist/server/handlers/editor-builder.cjs +1 -1
- package/dist/server/handlers/editor-builder.js +1 -1
- package/dist/server/handlers/favorites-enrichment.cjs +1 -1
- package/dist/server/handlers/favorites-enrichment.js +1 -1
- package/dist/server/handlers/knowledge.cjs +1 -1
- package/dist/server/handlers/knowledge.js +1 -1
- package/dist/server/handlers/logs.cjs +1 -1
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp-client-versions.cjs +1 -1
- package/dist/server/handlers/mcp-client-versions.js +1 -1
- package/dist/server/handlers/mcp.cjs +1 -1
- package/dist/server/handlers/mcp.js +1 -1
- package/dist/server/handlers/memory.cjs +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.cjs +1 -1
- package/dist/server/handlers/observability-new-endpoints.js +1 -1
- package/dist/server/handlers/observability-signal-context.cjs +1 -1
- package/dist/server/handlers/observability-signal-context.js +1 -1
- package/dist/server/handlers/observability.cjs +2 -2
- package/dist/server/handlers/observability.js +2 -2
- package/dist/server/handlers/plans.cjs +1 -1
- package/dist/server/handlers/plans.js +1 -1
- package/dist/server/handlers/prompt-block-versions.cjs +1 -1
- package/dist/server/handlers/prompt-block-versions.js +1 -1
- package/dist/server/handlers/responses.cjs +1 -1
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/responses.storage.cjs +1 -1
- package/dist/server/handlers/responses.storage.js +1 -1
- package/dist/server/handlers/schedules.cjs +1 -1
- package/dist/server/handlers/schedules.js +1 -1
- package/dist/server/handlers/scorer-versions.cjs +1 -1
- package/dist/server/handlers/scorer-versions.js +1 -1
- package/dist/server/handlers/scores.cjs +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agent-favorites.cjs +2 -2
- package/dist/server/handlers/stored-agent-favorites.js +2 -2
- package/dist/server/handlers/stored-agents.cjs +2 -2
- package/dist/server/handlers/stored-agents.js +2 -2
- package/dist/server/handlers/stored-mcp-clients.cjs +1 -1
- package/dist/server/handlers/stored-mcp-clients.js +1 -1
- package/dist/server/handlers/stored-prompt-blocks.cjs +1 -1
- package/dist/server/handlers/stored-prompt-blocks.js +1 -1
- package/dist/server/handlers/stored-scorers.cjs +1 -1
- package/dist/server/handlers/stored-scorers.js +1 -1
- package/dist/server/handlers/stored-skill-favorites.cjs +2 -2
- package/dist/server/handlers/stored-skill-favorites.js +2 -2
- package/dist/server/handlers/stored-skills.cjs +2 -2
- package/dist/server/handlers/stored-skills.js +2 -2
- package/dist/server/handlers/stored-workspaces.cjs +1 -1
- package/dist/server/handlers/stored-workspaces.js +1 -1
- package/dist/server/handlers/system.cjs +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tool-providers.cjs +1 -1
- package/dist/server/handlers/tool-providers.js +1 -1
- package/dist/server/handlers/tools.cjs +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +1 -1
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/validate-agent-instructions.cjs +1 -1
- package/dist/server/handlers/validate-agent-instructions.js +1 -1
- package/dist/server/handlers/voice.cjs +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflow-builder.cjs +1 -1
- package/dist/server/handlers/workflow-builder.js +1 -1
- package/dist/server/handlers/workflows.cjs +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +14 -14
- package/dist/server/handlers.js +14 -14
- package/dist/server/schemas/datasets.d.ts +2 -0
- package/dist/server/schemas/index.cjs +1 -1
- package/dist/server/schemas/index.js +1 -1
- package/dist/server/server-adapter/index.cjs +5 -5
- package/dist/server/server-adapter/index.js +5 -5
- package/dist/server/server-adapter/routes/conversations.d.ts +3 -3
- package/dist/server/server-adapter/routes/datasets.d.ts +12 -0
- package/dist/{server-adapter-BcN0WuPX.js → server-adapter-CDN86NTj.js} +5 -5
- package/dist/{server-adapter-DkFj4WVe.cjs → server-adapter-sru9PQEI.cjs} +5 -5
- package/dist/{tools-CNqpCxFY.js → tools-CwEOkjcz.js} +3 -3
- package/dist/{tools-BrqKvvuw.cjs → tools-DqvlVXzp.cjs} +3 -3
- package/dist/{utils-C2VRtQjI.js → utils-4Rc0P7nt.js} +1 -1
- package/dist/{utils-j29NB2ZJ.cjs → utils-CUmygG-3.cjs} +1 -1
- package/dist/{utils-CvYihOoy.js → utils-D3t571cY.js} +1 -1
- package/dist/{utils-DQJOBnMo.cjs → utils-LrIIsUqL.cjs} +1 -1
- package/dist/{voice-CQyZfwgq.js → voice-D3HJhfF3.js} +1 -1
- package/dist/{voice-IkGm6Cgo.cjs → voice-dO17mzi-.cjs} +1 -1
- package/dist/{workflow-builder-DpL3Nq6T.cjs → workflow-builder-B2pNUBoW.cjs} +1 -1
- package/dist/{workflow-builder-BET96Cr_.js → workflow-builder-C0cXa5or.js} +1 -1
- package/dist/{workflows-PVrj85xM.cjs → workflows-B5CaaElk.cjs} +2 -2
- package/dist/{workflows-OjUXkjWw.js → workflows-BRJQrD4w.js} +2 -2
- package/package.json +3 -3
- package/dist/dist-CblGC7T3.js +0 -1
|
@@ -3,7 +3,7 @@ require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
|
3
3
|
const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
|
|
4
4
|
const require_stored_workspaces = require("../../stored-workspaces-g5-GKY38.cjs");
|
|
5
5
|
const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
|
|
6
|
-
const require_utils = require("../../utils-
|
|
6
|
+
const require_utils = require("../../utils-LrIIsUqL.cjs");
|
|
7
7
|
const require_server_handlers_authorship = require("./authorship.cjs");
|
|
8
8
|
const require_server_handlers_error = require("./error.cjs");
|
|
9
9
|
// src/server/handlers/stored-workspaces.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
|
|
2
2
|
import { a as listStoredWorkspacesQuerySchema, c as storedWorkspaceIdPathParams, d as updateStoredWorkspaceResponseSchema, i as getStoredWorkspaceResponseSchema, n as createStoredWorkspaceResponseSchema, o as listStoredWorkspacesResponseSchema, r as deleteStoredWorkspaceResponseSchema, t as createStoredWorkspaceBodySchema, u as updateStoredWorkspaceBodySchema } from "../../stored-workspaces-Bswuz00o.js";
|
|
3
3
|
import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
|
|
4
|
-
import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-
|
|
4
|
+
import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-4Rc0P7nt.js";
|
|
5
5
|
import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
|
|
6
6
|
import { handleError } from "./error.js";
|
|
7
7
|
// src/server/handlers/stored-workspaces.ts
|
|
@@ -90,7 +90,7 @@ const GET_API_SCHEMA_ROUTE = require_route_builder.createRoute({
|
|
|
90
90
|
tags: ["System"],
|
|
91
91
|
requiresAuth: true,
|
|
92
92
|
handler: async () => {
|
|
93
|
-
const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-
|
|
93
|
+
const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-DOdengLi.cjs"));
|
|
94
94
|
return buildApiSchemaManifest();
|
|
95
95
|
}
|
|
96
96
|
});
|
|
@@ -88,7 +88,7 @@ const GET_API_SCHEMA_ROUTE = createRoute({
|
|
|
88
88
|
tags: ["System"],
|
|
89
89
|
requiresAuth: true,
|
|
90
90
|
handler: async () => {
|
|
91
|
-
const { buildApiSchemaManifest } = await import("../../api-schema-manifest-
|
|
91
|
+
const { buildApiSchemaManifest } = await import("../../api-schema-manifest-CG30_RPu.js");
|
|
92
92
|
return buildApiSchemaManifest();
|
|
93
93
|
}
|
|
94
94
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_constants = require("../../constants-
|
|
3
|
+
const require_constants = require("../../constants-DrYn0WtO.cjs");
|
|
4
4
|
const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
|
|
5
5
|
const require_tool_providers = require("../../tool-providers-BeiSkVHu.cjs");
|
|
6
6
|
const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as MASTRA_USER_KEY } from "../../constants-
|
|
1
|
+
import { d as MASTRA_USER_KEY } from "../../constants-BGZc2rRV.js";
|
|
2
2
|
import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
|
|
3
3
|
import { C as toolProviderConnectionPathParams, D as toolSlugPathParams, O as updateConnectionBodySchema, T as toolProviderIdPathParams, _ as listToolProviderToolkitsResponseSchema, b as listToolProvidersResponseSchema, c as connectionUsageQuerySchema, d as disconnectConnectionResponseSchema, f as getToolProviderToolSchemaResponseSchema, g as listConnectionsResponseSchema, h as listConnectionsQuerySchema, k as updateConnectionResponseSchema, l as connectionUsageResponseSchema, m as listConnectionFieldsResponseSchema, n as authorizeToolProviderBodySchema, o as connectionStatusToolProviderBodySchema, p as listConnectionFieldsQuerySchema, r as authorizeToolProviderResponseSchema, s as connectionStatusToolProviderResponseSchema, t as authStatusToolProviderResponseSchema, u as disconnectConnectionQuerySchema, v as listToolProviderToolsQuerySchema, w as toolProviderHealthResponseSchema, x as toolProviderAuthStatusPathParams, y as listToolProviderToolsResponseSchema } from "../../tool-providers-BN2Ni06Z.js";
|
|
4
4
|
import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_tools = require("../../tools-
|
|
3
|
+
const require_tools = require("../../tools-DqvlVXzp.cjs");
|
|
4
4
|
exports.EXECUTE_AGENT_TOOL_ROUTE = require_tools.EXECUTE_AGENT_TOOL_ROUTE;
|
|
5
5
|
exports.EXECUTE_TOOL_ROUTE = require_tools.EXECUTE_TOOL_ROUTE;
|
|
6
6
|
exports.GET_AGENT_TOOL_ROUTE = require_tools.GET_AGENT_TOOL_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as EXECUTE_AGENT_TOOL_ROUTE, n as EXECUTE_TOOL_ROUTE, r as GET_AGENT_TOOL_ROUTE, i as GET_TOOL_BY_ID_ROUTE, a as LIST_TOOLS_ROUTE, o as findTool } from "../../tools-
|
|
1
|
+
export { t as EXECUTE_AGENT_TOOL_ROUTE, n as EXECUTE_TOOL_ROUTE, r as GET_AGENT_TOOL_ROUTE, i as GET_TOOL_BY_ID_ROUTE, a as LIST_TOOLS_ROUTE, o as findTool } from "../../tools-CwEOkjcz.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_utils = require("../../utils-
|
|
3
|
+
const require_utils = require("../../utils-CUmygG-3.cjs");
|
|
4
4
|
exports.applyEffectiveThreadId = require_utils.applyEffectiveThreadId;
|
|
5
5
|
exports.enforceThreadAccess = require_utils.enforceThreadAccess;
|
|
6
6
|
exports.getContextResourceId = require_utils.getContextResourceId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as applyEffectiveThreadId, n as enforceThreadAccess, r as getContextResourceId, i as getEffectiveResourceId, a as getEffectiveThreadId, o as getHandlerFGAProvider, s as getPublicWorkflowById, c as mergeBodyRequestContext, l as parseFilters, u as parsePerPage, d as requireEffectiveResourceId, f as sanitizeBody, p as stripClientCredentialHeaders, m as validateBody, h as validateRunOwnership, g as validateThreadOwnership } from "../../utils-
|
|
1
|
+
export { t as applyEffectiveThreadId, n as enforceThreadAccess, r as getContextResourceId, i as getEffectiveResourceId, a as getEffectiveThreadId, o as getHandlerFGAProvider, s as getPublicWorkflowById, c as mergeBodyRequestContext, l as parseFilters, u as parsePerPage, d as requireEffectiveResourceId, f as sanitizeBody, p as stripClientCredentialHeaders, m as validateBody, h as validateRunOwnership, g as validateThreadOwnership } from "../../utils-D3t571cY.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
3
|
const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
|
|
4
|
-
const require_utils = require("../../utils-
|
|
4
|
+
const require_utils = require("../../utils-LrIIsUqL.cjs");
|
|
5
5
|
// src/server/handlers/validate-agent-instructions.ts
|
|
6
6
|
const UNPUBLISHED_REFERENCES_MESSAGE = "Unable to use unpublished referenced prompt blocks: {ids}. Publish these prompt blocks and try again.";
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
|
|
2
|
-
import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-
|
|
2
|
+
import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-4Rc0P7nt.js";
|
|
3
3
|
// src/server/handlers/validate-agent-instructions.ts
|
|
4
4
|
const UNPUBLISHED_REFERENCES_MESSAGE = "Unable to use unpublished referenced prompt blocks: {ids}. Publish these prompt blocks and try again.";
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_voice = require("../../voice-
|
|
3
|
+
const require_voice = require("../../voice-dO17mzi-.cjs");
|
|
4
4
|
exports.GENERATE_SPEECH_DEPRECATED_ROUTE = require_voice.GENERATE_SPEECH_DEPRECATED_ROUTE;
|
|
5
5
|
exports.GENERATE_SPEECH_ROUTE = require_voice.GENERATE_SPEECH_ROUTE;
|
|
6
6
|
exports.GET_LISTENER_ROUTE = require_voice.GET_LISTENER_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GENERATE_SPEECH_DEPRECATED_ROUTE, n as GENERATE_SPEECH_ROUTE, r as GET_LISTENER_ROUTE, i as GET_SPEAKERS_DEPRECATED_ROUTE, a as GET_SPEAKERS_ROUTE, o as TRANSCRIBE_SPEECH_DEPRECATED_ROUTE, s as TRANSCRIBE_SPEECH_ROUTE } from "../../voice-
|
|
1
|
+
export { t as GENERATE_SPEECH_DEPRECATED_ROUTE, n as GENERATE_SPEECH_ROUTE, r as GET_LISTENER_ROUTE, i as GET_SPEAKERS_DEPRECATED_ROUTE, a as GET_SPEAKERS_ROUTE, o as TRANSCRIBE_SPEECH_DEPRECATED_ROUTE, s as TRANSCRIBE_SPEECH_ROUTE } from "../../voice-D3HJhfF3.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_workflow_builder = require("../../workflow-builder-
|
|
3
|
+
const require_workflow_builder = require("../../workflow-builder-B2pNUBoW.cjs");
|
|
4
4
|
exports.GET_WORKFLOW_BUILDER_SETTINGS_ROUTE = require_workflow_builder.GET_WORKFLOW_BUILDER_SETTINGS_ROUTE;
|
|
5
5
|
exports.STREAM_WORKFLOW_BUILDER_ROUTE = require_workflow_builder.STREAM_WORKFLOW_BUILDER_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GET_WORKFLOW_BUILDER_SETTINGS_ROUTE, n as STREAM_WORKFLOW_BUILDER_ROUTE } from "../../workflow-builder-
|
|
1
|
+
export { t as GET_WORKFLOW_BUILDER_SETTINGS_ROUTE, n as STREAM_WORKFLOW_BUILDER_ROUTE } from "../../workflow-builder-C0cXa5or.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_workflows = require("../../workflows-
|
|
3
|
+
const require_workflows = require("../../workflows-B5CaaElk.cjs");
|
|
4
4
|
exports.CANCEL_WORKFLOW_RUN_ROUTE = require_workflows.CANCEL_WORKFLOW_RUN_ROUTE;
|
|
5
5
|
exports.CREATE_WORKFLOW_RUN_ROUTE = require_workflows.CREATE_WORKFLOW_RUN_ROUTE;
|
|
6
6
|
exports.DELETE_WORKFLOW_RUN_BY_ID_ROUTE = require_workflows.DELETE_WORKFLOW_RUN_BY_ID_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CANCEL_WORKFLOW_RUN_ROUTE, n as CREATE_WORKFLOW_RUN_ROUTE, r as DELETE_WORKFLOW_RUN_BY_ID_ROUTE, i as EXECUTE_WORKFLOW_STEP_ROUTE, a as GET_WORKFLOW_BY_ID_ROUTE, o as GET_WORKFLOW_RUN_BY_ID_ROUTE, s as LIST_WORKFLOWS_ROUTE, c as LIST_WORKFLOW_RUNS_ROUTE, l as LIST_WORKFLOW_RUN_COUNTS_ROUTE, u as OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE, d as OBSERVE_STREAM_WORKFLOW_ROUTE, f as RECEIVE_WORKFLOW_EVENT_ROUTE, p as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE, m as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE, h as RESTART_ASYNC_WORKFLOW_ROUTE, g as RESTART_WORKFLOW_ROUTE, _ as RESUME_ASYNC_WORKFLOW_ROUTE, v as RESUME_NO_WAIT_WORKFLOW_ROUTE, y as RESUME_STREAM_WORKFLOW_ROUTE, b as RESUME_WORKFLOW_ROUTE, x as START_ASYNC_WORKFLOW_ROUTE, S as START_WORKFLOW_RUN_ROUTE, C as STREAM_LEGACY_WORKFLOW_ROUTE, w as STREAM_WORKFLOW_ROUTE, T as TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE, E as TIME_TRAVEL_STREAM_WORKFLOW_ROUTE, D as TIME_TRAVEL_WORKFLOW_ROUTE, O as __setWorkflowRunCountsNow, k as listWorkflowsFromSystem } from "../../workflows-
|
|
1
|
+
export { t as CANCEL_WORKFLOW_RUN_ROUTE, n as CREATE_WORKFLOW_RUN_ROUTE, r as DELETE_WORKFLOW_RUN_BY_ID_ROUTE, i as EXECUTE_WORKFLOW_STEP_ROUTE, a as GET_WORKFLOW_BY_ID_ROUTE, o as GET_WORKFLOW_RUN_BY_ID_ROUTE, s as LIST_WORKFLOWS_ROUTE, c as LIST_WORKFLOW_RUNS_ROUTE, l as LIST_WORKFLOW_RUN_COUNTS_ROUTE, u as OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE, d as OBSERVE_STREAM_WORKFLOW_ROUTE, f as RECEIVE_WORKFLOW_EVENT_ROUTE, p as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE, m as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE, h as RESTART_ASYNC_WORKFLOW_ROUTE, g as RESTART_WORKFLOW_ROUTE, _ as RESUME_ASYNC_WORKFLOW_ROUTE, v as RESUME_NO_WAIT_WORKFLOW_ROUTE, y as RESUME_STREAM_WORKFLOW_ROUTE, b as RESUME_WORKFLOW_ROUTE, x as START_ASYNC_WORKFLOW_ROUTE, S as START_WORKFLOW_RUN_ROUTE, C as STREAM_LEGACY_WORKFLOW_ROUTE, w as STREAM_WORKFLOW_ROUTE, T as TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE, E as TIME_TRAVEL_STREAM_WORKFLOW_ROUTE, D as TIME_TRAVEL_WORKFLOW_ROUTE, O as __setWorkflowRunCountsNow, k as listWorkflowsFromSystem } from "../../workflows-BRJQrD4w.js";
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_agent_builder = require("../agent-builder-
|
|
3
|
+
const require_agent_builder = require("../agent-builder-BySDH8w4.cjs");
|
|
4
4
|
const require_server_handlers_error = require("./handlers/error.cjs");
|
|
5
|
-
const require_agents = require("../agents-
|
|
6
|
-
const require_plans = require("../plans-
|
|
7
|
-
const require_a2a = require("../a2a-
|
|
8
|
-
const require_conversations = require("../conversations-
|
|
9
|
-
const require_logs = require("../logs-
|
|
10
|
-
const require_mcp = require("../mcp-
|
|
11
|
-
const require_memory = require("../memory-
|
|
12
|
-
const require_observability = require("../observability-
|
|
13
|
-
const require_responses = require("../responses-
|
|
14
|
-
const require_scores = require("../scores-
|
|
15
|
-
const require_tools = require("../tools-
|
|
5
|
+
const require_agents = require("../agents-D5Gfdskc.cjs");
|
|
6
|
+
const require_plans = require("../plans-DyZvjADy.cjs");
|
|
7
|
+
const require_a2a = require("../a2a-BN1yr3_0.cjs");
|
|
8
|
+
const require_conversations = require("../conversations-BgaiPkn3.cjs");
|
|
9
|
+
const require_logs = require("../logs-B0KVAwEq.cjs");
|
|
10
|
+
const require_mcp = require("../mcp-Ca1BQb6m.cjs");
|
|
11
|
+
const require_memory = require("../memory-MbUMCc-D.cjs");
|
|
12
|
+
const require_observability = require("../observability-BurXEXQA.cjs");
|
|
13
|
+
const require_responses = require("../responses-DZ4Cwu6V.cjs");
|
|
14
|
+
const require_scores = require("../scores-BFPKFy2D.cjs");
|
|
15
|
+
const require_tools = require("../tools-DqvlVXzp.cjs");
|
|
16
16
|
const require_workspace = require("../workspace-D-Exdj2l.cjs");
|
|
17
17
|
const require_vector = require("../vector-DIFU_fwU.cjs");
|
|
18
|
-
const require_voice = require("../voice-
|
|
19
|
-
const require_workflows = require("../workflows-
|
|
18
|
+
const require_voice = require("../voice-dO17mzi-.cjs");
|
|
19
|
+
const require_workflows = require("../workflows-B5CaaElk.cjs");
|
|
20
20
|
const require_dynamic_workflows = require("../dynamic-workflows-CEKdGcSr.cjs");
|
|
21
21
|
Object.defineProperty(exports, "a2a", {
|
|
22
22
|
enumerable: true,
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _ as agent_builder_exports } from "../agent-builder-
|
|
1
|
+
import { _ as agent_builder_exports } from "../agent-builder-i24xZTwm.js";
|
|
2
2
|
import { formatZodError, isZodError } from "./handlers/error.js";
|
|
3
|
-
import { H as agents_exports } from "../agents-
|
|
4
|
-
import { n as plans_exports } from "../plans-
|
|
5
|
-
import { r as a2a_exports } from "../a2a-
|
|
6
|
-
import { a as conversations_exports } from "../conversations-
|
|
7
|
-
import { i as logs_exports } from "../logs-
|
|
8
|
-
import { y as mcp_exports } from "../mcp-
|
|
9
|
-
import { k as memory_exports } from "../memory-
|
|
10
|
-
import { f as observability_exports } from "../observability-
|
|
11
|
-
import { i as responses_exports } from "../responses-
|
|
12
|
-
import { s as scores_exports } from "../scores-
|
|
13
|
-
import { s as tools_exports } from "../tools-
|
|
3
|
+
import { H as agents_exports } from "../agents-C0IdGyiL.js";
|
|
4
|
+
import { n as plans_exports } from "../plans-CaSviy0J.js";
|
|
5
|
+
import { r as a2a_exports } from "../a2a-Ko42c8aO.js";
|
|
6
|
+
import { a as conversations_exports } from "../conversations-Dvej1_Fz.js";
|
|
7
|
+
import { i as logs_exports } from "../logs-EbPb9KkB.js";
|
|
8
|
+
import { y as mcp_exports } from "../mcp-C7rIfLyo.js";
|
|
9
|
+
import { k as memory_exports } from "../memory-BCNMsZz4.js";
|
|
10
|
+
import { f as observability_exports } from "../observability-BkIqjp9o.js";
|
|
11
|
+
import { i as responses_exports } from "../responses-Bs8vk9BH.js";
|
|
12
|
+
import { s as scores_exports } from "../scores-BAfbF8q6.js";
|
|
13
|
+
import { s as tools_exports } from "../tools-CwEOkjcz.js";
|
|
14
14
|
import { E as workspace_exports } from "../workspace-CgIZRc2P.js";
|
|
15
15
|
import { g as vector_exports } from "../vector-Bz-glead.js";
|
|
16
|
-
import { c as voice_exports } from "../voice-
|
|
17
|
-
import { A as workflows_exports } from "../workflows-
|
|
16
|
+
import { c as voice_exports } from "../voice-D3HJhfF3.js";
|
|
17
|
+
import { A as workflows_exports } from "../workflows-BRJQrD4w.js";
|
|
18
18
|
import { a as dynamic_workflows_exports } from "../dynamic-workflows-DF9X_oDG.js";
|
|
19
19
|
export { a2a_exports as a2a, agent_builder_exports as agentBuilder, agents_exports as agents, conversations_exports as conversations, dynamic_workflows_exports as dynamicWorkflows, formatZodError, isZodError, logs_exports as logs, mcp_exports as mcp, memory_exports as memory, observability_exports as observability, plans_exports as plans, responses_exports as responses, scores_exports as scores, tools_exports as tools, vector_exports as vector, voice_exports as voice, workflows_exports as workflows, workspace_exports as workspace };
|
|
@@ -693,6 +693,7 @@ export declare const experimentResponseSchema: z.ZodObject<{
|
|
|
693
693
|
}>>;
|
|
694
694
|
targetId: z.ZodNullable<z.ZodString>;
|
|
695
695
|
scorerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
696
|
+
scorerVersions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
696
697
|
name: z.ZodOptional<z.ZodString>;
|
|
697
698
|
description: z.ZodOptional<z.ZodString>;
|
|
698
699
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1305,6 +1306,7 @@ export declare const listExperimentsResponseSchema: z.ZodObject<{
|
|
|
1305
1306
|
}>>;
|
|
1306
1307
|
targetId: z.ZodNullable<z.ZodString>;
|
|
1307
1308
|
scorerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1309
|
+
scorerVersions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1308
1310
|
name: z.ZodOptional<z.ZodString>;
|
|
1309
1311
|
description: z.ZodOptional<z.ZodString>;
|
|
1310
1312
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7,7 +7,7 @@ const require_agents = require("../../agents-CH_G37hG.cjs");
|
|
|
7
7
|
const require_auth = require("../../auth-BR7vRIrY.cjs");
|
|
8
8
|
const require_common = require("../../common-D5XxSuvu.cjs");
|
|
9
9
|
const require_conversations = require("../../conversations-BVj0Dk2Q.cjs");
|
|
10
|
-
const require_datasets = require("../../datasets-
|
|
10
|
+
const require_datasets = require("../../datasets-F0EduyNl.cjs");
|
|
11
11
|
const require_default_options = require("../../default-options-DRN81WEQ.cjs");
|
|
12
12
|
const require_editor_builder = require("../../editor-builder-eF2IetF2.cjs");
|
|
13
13
|
const require_logs = require("../../logs-YisOj8HR.cjs");
|
|
@@ -5,7 +5,7 @@ import { $ as toolCallResponseSchema, A as observeAgentBodySchema, B as sendAgen
|
|
|
5
5
|
import { _ as ssoLoginQuerySchema, a as credentialsResponseSchema, c as currentUserResponseSchema, d as permissionPatternsResponseSchema, f as publicCapabilitiesSchema, g as ssoConfigSchema, h as ssoCallbackResponseSchema, i as capabilityFlagsSchema, l as loginConfigSchema, m as ssoCallbackQuerySchema, n as authenticatedUserSchema, o as credentialsSignInBodySchema, p as refreshResponseSchema, r as capabilitiesResponseSchema, s as credentialsSignUpBodySchema, t as authenticatedCapabilitiesSchema, u as logoutResponseSchema, v as ssoLoginResponseSchema, y as userAccessSchema } from "../../auth-ChZ3dUvo.js";
|
|
6
6
|
import { a as messageResponseSchema, c as paginationNumber, d as statusQuerySchema, f as successResponseSchema, i as createPagePaginationSchema, l as partialQuerySchema, m as typedPermissive, n as coreMessageSchema, o as optionalRunIdSchema, p as tracingOptionsSchema, r as createCombinedPaginationSchema, s as paginationInfoSchema, t as baseLogMessageSchema, u as runIdSchema } from "../../common-J-yUnHk9.js";
|
|
7
7
|
import { a as createConversationBodySchema, i as conversationObjectSchema, n as conversationIdPathParams, r as conversationItemsListSchema, t as conversationDeletedSchema } from "../../conversations-DHrKTI6x.js";
|
|
8
|
-
import { A as listDatasetVersionsResponseSchema, B as paginationQuerySchema, C as experimentResultResponseSchema, D as generateItemsResponseSchema, E as generateItemsBodySchema, F as listExperimentsQuerySchema, G as scorerResultSchema, H as runExperimentItemBodySchema, I as listExperimentsResponseSchema, J as triggerExperimentBodySchema, K as submitExperimentResultBodySchema, L as listItemVersionsResponseSchema, M as listDatasetsResponseSchema, N as listExperimentResultsQuerySchema, O as itemIdPathParams, P as listExperimentResultsResponseSchema, Q as updateItemBodySchema, R as listItemsQuerySchema, S as experimentResultIdPathParams, T as experimentSummaryResponseSchema, U as runExperimentItemResponseSchema, V as reviewSummaryResponseSchema, W as scorerExperimentOutputSchema, X as updateExperimentBodySchema, Y as updateDatasetBodySchema, Z as updateExperimentResultBodySchema, _ as datasetItemVersionPathParams, a as batchInsertItemsBodySchema, b as experimentIdPathParams, c as clusterFailuresResponseSchema, d as createDatasetBodySchema, f as datasetAndExperimentIdPathParams, g as datasetItemResponseSchema, h as datasetIdPathParams, i as batchDeleteItemsResponseSchema, j as listDatasetsQuerySchema, k as itemVersionResponseSchema, l as compareExperimentsBodySchema, m as datasetExperimentAndItemIdPathParams, n as agentExperimentOutputSchema, o as batchInsertItemsResponseSchema, p as datasetAndItemIdPathParams, q as tenancyQuerySchema, r as batchDeleteItemsBodySchema, s as clusterFailuresBodySchema, t as addItemBodySchema, u as comparisonResponseSchema, v as datasetResponseSchema, w as experimentReviewCountsSchema, x as experimentResponseSchema, y as datasetVersionResponseSchema, z as listItemsResponseSchema } from "../../datasets-
|
|
8
|
+
import { A as listDatasetVersionsResponseSchema, B as paginationQuerySchema, C as experimentResultResponseSchema, D as generateItemsResponseSchema, E as generateItemsBodySchema, F as listExperimentsQuerySchema, G as scorerResultSchema, H as runExperimentItemBodySchema, I as listExperimentsResponseSchema, J as triggerExperimentBodySchema, K as submitExperimentResultBodySchema, L as listItemVersionsResponseSchema, M as listDatasetsResponseSchema, N as listExperimentResultsQuerySchema, O as itemIdPathParams, P as listExperimentResultsResponseSchema, Q as updateItemBodySchema, R as listItemsQuerySchema, S as experimentResultIdPathParams, T as experimentSummaryResponseSchema, U as runExperimentItemResponseSchema, V as reviewSummaryResponseSchema, W as scorerExperimentOutputSchema, X as updateExperimentBodySchema, Y as updateDatasetBodySchema, Z as updateExperimentResultBodySchema, _ as datasetItemVersionPathParams, a as batchInsertItemsBodySchema, b as experimentIdPathParams, c as clusterFailuresResponseSchema, d as createDatasetBodySchema, f as datasetAndExperimentIdPathParams, g as datasetItemResponseSchema, h as datasetIdPathParams, i as batchDeleteItemsResponseSchema, j as listDatasetsQuerySchema, k as itemVersionResponseSchema, l as compareExperimentsBodySchema, m as datasetExperimentAndItemIdPathParams, n as agentExperimentOutputSchema, o as batchInsertItemsResponseSchema, p as datasetAndItemIdPathParams, q as tenancyQuerySchema, r as batchDeleteItemsBodySchema, s as clusterFailuresBodySchema, t as addItemBodySchema, u as comparisonResponseSchema, v as datasetResponseSchema, w as experimentReviewCountsSchema, x as experimentResponseSchema, y as datasetVersionResponseSchema, z as listItemsResponseSchema } from "../../datasets-raywnGOv.js";
|
|
9
9
|
import { t as defaultOptionsSchema } from "../../default-options-Dir6CKnE.js";
|
|
10
10
|
import { a as builderModelPolicySchema, c as defaultModelEntrySchema, d as providerModelEntrySchema, i as builderAvailableModelsResponseSchema, l as infrastructureStatusResponseSchema, n as agentFeaturesSchema, o as builderPickerSchema, r as agentModelsSchema, s as builderSettingsResponseSchema, t as agentConfigurationSchema, u as pickerAllowlistSchema } from "../../editor-builder-CXLdplIj.js";
|
|
11
11
|
import { n as listLogsQuerySchema, r as listLogsResponseSchema, t as listLogTransportsResponseSchema } from "../../logs-Ca_q8krO.js";
|
|
@@ -2,12 +2,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
3
|
const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
|
|
4
4
|
const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
|
|
5
|
-
const require_utils = require("../../utils-
|
|
6
|
-
const require_constants = require("../../constants-
|
|
5
|
+
const require_utils = require("../../utils-LrIIsUqL.cjs");
|
|
6
|
+
const require_constants = require("../../constants-DrYn0WtO.cjs");
|
|
7
7
|
const require_server_handlers_error = require("../handlers/error.cjs");
|
|
8
|
-
const require_agent_controller = require("../../agent-controller-
|
|
9
|
-
const require_routes = require("../../routes-
|
|
10
|
-
const require_server_adapter = require("../../server-adapter-
|
|
8
|
+
const require_agent_controller = require("../../agent-controller-dORP4p-X.cjs");
|
|
9
|
+
const require_routes = require("../../routes-BGnprZYb.cjs");
|
|
10
|
+
const require_server_adapter = require("../../server-adapter-sru9PQEI.cjs");
|
|
11
11
|
exports.ALL_SERVER_ROUTES = require_routes.ALL_SERVER_ROUTES;
|
|
12
12
|
exports.BUILTIN_MCP_HTTP_ROUTE = require_routes.BUILTIN_MCP_HTTP_ROUTE;
|
|
13
13
|
exports.HTTPException = require_http_exception.HTTPException;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
|
|
2
2
|
import { a as wrapSchemaForQueryParams, i as pickParams, n as createRoute, o as convertCustomRoutesToOpenAPIPaths, r as jsonQueryParam, s as generateOpenAPIDocument, t as createPublicRoute } from "../../route-builder-Dz18c3qm.js";
|
|
3
|
-
import { o as normalizeRoutePath, t as WorkflowRegistry } from "../../utils-
|
|
4
|
-
import { _ as isStudioClientTypeHeader, a as MASTRA_KNOWLEDGE_PRINCIPALS_KEY, g as isReservedRequestContextKey, i as MASTRA_IS_STUDIO_KEY, l as MASTRA_STUDIO_CLIENT_TYPE, m as RESERVED_REQUEST_CONTEXT_KEYS, r as MASTRA_CLIENT_TYPE_HEADER, t as MASTRA_AUTH_MODE_KEY } from "../../constants-
|
|
3
|
+
import { o as normalizeRoutePath, t as WorkflowRegistry } from "../../utils-4Rc0P7nt.js";
|
|
4
|
+
import { _ as isStudioClientTypeHeader, a as MASTRA_KNOWLEDGE_PRINCIPALS_KEY, g as isReservedRequestContextKey, i as MASTRA_IS_STUDIO_KEY, l as MASTRA_STUDIO_CLIENT_TYPE, m as RESERVED_REQUEST_CONTEXT_KEYS, r as MASTRA_CLIENT_TYPE_HEADER, t as MASTRA_AUTH_MODE_KEY } from "../../constants-BGZc2rRV.js";
|
|
5
5
|
import { isZodError } from "../handlers/error.js";
|
|
6
|
-
import { L as serializeStreamChunk } from "../../agent-controller-
|
|
7
|
-
import { a as derivePermission, d as resolveServerRoute, i as deriveAction, l as KNOWLEDGE_ROUTES, n as OPT_IN_ROUTES, o as extractResource, r as SERVER_ROUTES, s as getEffectivePermission, t as ALL_SERVER_ROUTES, u as BUILTIN_MCP_HTTP_ROUTE } from "../../routes-
|
|
8
|
-
import { A as isMCPAudienceEnforced, C as writeWithBackpressure, D as buildMcpAuthInfoFromRequestContext, E as applyMcpRequestAuth, M as mcpWWWAuthenticate, O as checkMCPAudience, S as cancelReaderOnResponseClose, T as propagateRequestAbort, _ as parseRouteBody, a as checkRouteFGA, b as registerDispatchAdapter, c as getCustomHTTPExceptionResponse, d as getFGAProvider, f as getHTTPErrorResponse, g as normalizeQueryParams, h as isSafeObjectKey, i as bindDispatchAdapter, j as isMCPOAuthDiscoveryEnabled, k as createMCPOAuthMetadataRoutes, l as getCustomRouteHTTPExceptionResponse, m as invokeRoute, n as MastraServer, o as checkRouteRBAC, p as getRoutePermissionError, r as authorizeRoute, s as dispatchRoute, t as MASTRA_FRAMEWORK_PUBLIC_KEY, u as getEffectiveRBACProvider, v as parseRoutePathParams, w as redactStreamChunk, x as resolveRouteValidationError, y as parseRouteQueryParams } from "../../server-adapter-
|
|
6
|
+
import { L as serializeStreamChunk } from "../../agent-controller-CviX4R-w.js";
|
|
7
|
+
import { a as derivePermission, d as resolveServerRoute, i as deriveAction, l as KNOWLEDGE_ROUTES, n as OPT_IN_ROUTES, o as extractResource, r as SERVER_ROUTES, s as getEffectivePermission, t as ALL_SERVER_ROUTES, u as BUILTIN_MCP_HTTP_ROUTE } from "../../routes-B-GM8Kgs.js";
|
|
8
|
+
import { A as isMCPAudienceEnforced, C as writeWithBackpressure, D as buildMcpAuthInfoFromRequestContext, E as applyMcpRequestAuth, M as mcpWWWAuthenticate, O as checkMCPAudience, S as cancelReaderOnResponseClose, T as propagateRequestAbort, _ as parseRouteBody, a as checkRouteFGA, b as registerDispatchAdapter, c as getCustomHTTPExceptionResponse, d as getFGAProvider, f as getHTTPErrorResponse, g as normalizeQueryParams, h as isSafeObjectKey, i as bindDispatchAdapter, j as isMCPOAuthDiscoveryEnabled, k as createMCPOAuthMetadataRoutes, l as getCustomRouteHTTPExceptionResponse, m as invokeRoute, n as MastraServer, o as checkRouteRBAC, p as getRoutePermissionError, r as authorizeRoute, s as dispatchRoute, t as MASTRA_FRAMEWORK_PUBLIC_KEY, u as getEffectiveRBACProvider, v as parseRoutePathParams, w as redactStreamChunk, x as resolveRouteValidationError, y as parseRouteQueryParams } from "../../server-adapter-CDN86NTj.js";
|
|
9
9
|
export { ALL_SERVER_ROUTES, BUILTIN_MCP_HTTP_ROUTE, HTTPException, KNOWLEDGE_ROUTES, MASTRA_AUTH_MODE_KEY, MASTRA_CLIENT_TYPE_HEADER, MASTRA_FRAMEWORK_PUBLIC_KEY, MASTRA_IS_STUDIO_KEY, MASTRA_KNOWLEDGE_PRINCIPALS_KEY, MASTRA_STUDIO_CLIENT_TYPE, MastraServer, OPT_IN_ROUTES, RESERVED_REQUEST_CONTEXT_KEYS, SERVER_ROUTES, WorkflowRegistry, applyMcpRequestAuth, authorizeRoute, bindDispatchAdapter, buildMcpAuthInfoFromRequestContext, cancelReaderOnResponseClose, checkMCPAudience, checkRouteFGA, checkRouteRBAC, convertCustomRoutesToOpenAPIPaths, createMCPOAuthMetadataRoutes, createPublicRoute, createRoute, deriveAction, derivePermission, dispatchRoute, extractResource, generateOpenAPIDocument, getCustomHTTPExceptionResponse, getCustomRouteHTTPExceptionResponse, getEffectivePermission, getEffectiveRBACProvider, getFGAProvider, getHTTPErrorResponse, getRoutePermissionError, invokeRoute, isMCPAudienceEnforced, isMCPOAuthDiscoveryEnabled, isReservedRequestContextKey, isSafeObjectKey, isStudioClientTypeHeader, isZodError, jsonQueryParam, mcpWWWAuthenticate, normalizeQueryParams, normalizeRoutePath, parseRouteBody, parseRoutePathParams, parseRouteQueryParams, pickParams, propagateRequestAbort, redactStreamChunk, registerDispatchAdapter, resolveRouteValidationError, resolveServerRoute, serializeStreamChunk, wrapSchemaForQueryParams, writeWithBackpressure };
|
|
@@ -118,13 +118,13 @@ export declare const CONVERSATIONS_ROUTES: readonly [Omit<import("@mastra/core/s
|
|
|
118
118
|
role: "assistant" | "system" | "user";
|
|
119
119
|
status: "completed";
|
|
120
120
|
content: ({
|
|
121
|
+
type: "input_text";
|
|
122
|
+
text: string;
|
|
123
|
+
} | {
|
|
121
124
|
type: "output_text";
|
|
122
125
|
text: string;
|
|
123
126
|
annotations?: unknown[] | undefined;
|
|
124
127
|
logprobs?: unknown[] | undefined;
|
|
125
|
-
} | {
|
|
126
|
-
type: "input_text";
|
|
127
|
-
text: string;
|
|
128
128
|
})[];
|
|
129
129
|
} | {
|
|
130
130
|
id: string;
|
|
@@ -2202,6 +2202,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2202
2202
|
targetType: "agent" | "processor" | "scorer" | "workflow" | null;
|
|
2203
2203
|
targetId: string | null;
|
|
2204
2204
|
scorerIds?: string[] | null | undefined;
|
|
2205
|
+
scorerVersions?: Record<string, string> | null | undefined;
|
|
2205
2206
|
name?: string | undefined;
|
|
2206
2207
|
description?: string | undefined;
|
|
2207
2208
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2311,6 +2312,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2311
2312
|
}>>;
|
|
2312
2313
|
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2313
2314
|
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2315
|
+
scorerVersions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
2314
2316
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2315
2317
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2316
2318
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2410,6 +2412,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2410
2412
|
targetType: "agent" | "processor" | "scorer" | "workflow" | null;
|
|
2411
2413
|
targetId: string | null;
|
|
2412
2414
|
scorerIds?: string[] | null | undefined;
|
|
2415
|
+
scorerVersions?: Record<string, string> | null | undefined;
|
|
2413
2416
|
name?: string | undefined;
|
|
2414
2417
|
description?: string | undefined;
|
|
2415
2418
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2468,6 +2471,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2468
2471
|
}>>;
|
|
2469
2472
|
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2470
2473
|
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2474
|
+
scorerVersions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
2471
2475
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2472
2476
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2473
2477
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2604,6 +2608,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2604
2608
|
targetType: "agent" | "processor" | "scorer" | "workflow" | null;
|
|
2605
2609
|
targetId: string | null;
|
|
2606
2610
|
scorerIds?: string[] | null | undefined;
|
|
2611
|
+
scorerVersions?: Record<string, string> | null | undefined;
|
|
2607
2612
|
name?: string | undefined;
|
|
2608
2613
|
description?: string | undefined;
|
|
2609
2614
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2715,6 +2720,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2715
2720
|
}>>;
|
|
2716
2721
|
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2717
2722
|
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2723
|
+
scorerVersions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
2718
2724
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2719
2725
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2720
2726
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -3824,6 +3830,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
3824
3830
|
targetType: "agent" | "processor" | "scorer" | "workflow" | null;
|
|
3825
3831
|
targetId: string | null;
|
|
3826
3832
|
scorerIds?: string[] | null | undefined;
|
|
3833
|
+
scorerVersions?: Record<string, string> | null | undefined;
|
|
3827
3834
|
name?: string | undefined;
|
|
3828
3835
|
description?: string | undefined;
|
|
3829
3836
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -3880,6 +3887,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
3880
3887
|
}>>;
|
|
3881
3888
|
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3882
3889
|
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
3890
|
+
scorerVersions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
3883
3891
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3884
3892
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3885
3893
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -3932,6 +3940,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
3932
3940
|
targetType: "agent" | "processor" | "scorer" | "workflow" | null;
|
|
3933
3941
|
targetId: string | null;
|
|
3934
3942
|
scorerIds?: string[] | null | undefined;
|
|
3943
|
+
scorerVersions?: Record<string, string> | null | undefined;
|
|
3935
3944
|
name?: string | undefined;
|
|
3936
3945
|
description?: string | undefined;
|
|
3937
3946
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -3988,6 +3997,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
3988
3997
|
}>>;
|
|
3989
3998
|
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3990
3999
|
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
4000
|
+
scorerVersions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
3991
4001
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3992
4002
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3993
4003
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -4082,6 +4092,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
4082
4092
|
targetType: "agent" | "processor" | "scorer" | "workflow" | null;
|
|
4083
4093
|
targetId: string | null;
|
|
4084
4094
|
scorerIds?: string[] | null | undefined;
|
|
4095
|
+
scorerVersions?: Record<string, string> | null | undefined;
|
|
4085
4096
|
name?: string | undefined;
|
|
4086
4097
|
description?: string | undefined;
|
|
4087
4098
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -4142,6 +4153,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
4142
4153
|
}>>;
|
|
4143
4154
|
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4144
4155
|
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
4156
|
+
scorerVersions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
4145
4157
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4146
4158
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4147
4159
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as CustomRouteMatcher, a as findMatchingCustomRoute, c as isCustomRoutePublic, i as coreAuthMiddleware, n as canAccessPublicly, p as pathMatchesPattern, t as authorizeAuthenticatedUser, u as isProtectedCustomRoute } from "./helpers-
|
|
2
|
-
import { _ as isStudioClientTypeHeader, c as MASTRA_RESOURCE_ID_KEY$1, d as MASTRA_USER_KEY, f as MASTRA_USER_PERMISSIONS_KEY, g as isReservedRequestContextKey, i as MASTRA_IS_STUDIO_KEY, m as RESERVED_REQUEST_CONTEXT_KEYS, n as MASTRA_AUTH_TOKEN_KEY, r as MASTRA_CLIENT_TYPE_HEADER, t as MASTRA_AUTH_MODE_KEY } from "./constants-
|
|
1
|
+
import { _ as CustomRouteMatcher, a as findMatchingCustomRoute, c as isCustomRoutePublic, i as coreAuthMiddleware, n as canAccessPublicly, p as pathMatchesPattern, t as authorizeAuthenticatedUser, u as isProtectedCustomRoute } from "./helpers-Cu3u8z-m.js";
|
|
2
|
+
import { _ as isStudioClientTypeHeader, c as MASTRA_RESOURCE_ID_KEY$1, d as MASTRA_USER_KEY, f as MASTRA_USER_PERMISSIONS_KEY, g as isReservedRequestContextKey, i as MASTRA_IS_STUDIO_KEY, m as RESERVED_REQUEST_CONTEXT_KEYS, n as MASTRA_AUTH_TOKEN_KEY, r as MASTRA_CLIENT_TYPE_HEADER, t as MASTRA_AUTH_MODE_KEY } from "./constants-BGZc2rRV.js";
|
|
3
3
|
import { formatZodError, isZodError } from "./server/handlers/error.js";
|
|
4
4
|
import { t as HTTPException } from "./http-exception-CzaWkxMl.js";
|
|
5
5
|
import { n as createRoute, o as convertCustomRoutesToOpenAPIPaths, s as generateOpenAPIDocument } from "./route-builder-Dz18c3qm.js";
|
|
6
|
-
import { d as resolveServerRoute, f as isBuiltinMCPEnabled, n as OPT_IN_ROUTES, p as resolveBuiltinMCPPath, r as SERVER_ROUTES, s as getEffectivePermission } from "./routes-
|
|
7
|
-
import { o as normalizeRoutePath } from "./utils-
|
|
8
|
-
import "./agent-controller-
|
|
6
|
+
import { d as resolveServerRoute, f as isBuiltinMCPEnabled, n as OPT_IN_ROUTES, p as resolveBuiltinMCPPath, r as SERVER_ROUTES, s as getEffectivePermission } from "./routes-B-GM8Kgs.js";
|
|
7
|
+
import { o as normalizeRoutePath } from "./utils-4Rc0P7nt.js";
|
|
8
|
+
import "./agent-controller-CviX4R-w.js";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
10
|
import { Readable } from "stream";
|
|
11
11
|
import { hasPermission } from "@mastra/core/auth/ee";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const require_helpers = require("./helpers-
|
|
2
|
-
const require_constants = require("./constants-
|
|
1
|
+
const require_helpers = require("./helpers-JABjIdEV.cjs");
|
|
2
|
+
const require_constants = require("./constants-DrYn0WtO.cjs");
|
|
3
3
|
const require_server_handlers_error = require("./server/handlers/error.cjs");
|
|
4
4
|
const require_http_exception = require("./http-exception-Co3MbFUf.cjs");
|
|
5
5
|
const require_route_builder = require("./route-builder-DjTBxSZN.cjs");
|
|
6
|
-
const require_routes = require("./routes-
|
|
7
|
-
const require_utils = require("./utils-
|
|
8
|
-
require("./agent-controller-
|
|
6
|
+
const require_routes = require("./routes-BGnprZYb.cjs");
|
|
7
|
+
const require_utils = require("./utils-LrIIsUqL.cjs");
|
|
8
|
+
require("./agent-controller-dORP4p-X.cjs");
|
|
9
9
|
let zod_v4 = require("zod/v4");
|
|
10
10
|
let stream = require("stream");
|
|
11
11
|
let _mastra_core_auth_ee = require("@mastra/core/auth/ee");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime-CQI-hT2b.js";
|
|
2
|
-
import { l as stringify } from "./utils-
|
|
3
|
-
import { _ as MastraFGAPermissions, m as validateBody, o as getHandlerFGAProvider } from "./utils-
|
|
2
|
+
import { l as stringify } from "./utils-4Rc0P7nt.js";
|
|
3
|
+
import { _ as MastraFGAPermissions, m as validateBody, o as getHandlerFGAProvider } from "./utils-D3t571cY.js";
|
|
4
4
|
import { t as HTTPException } from "./http-exception-CzaWkxMl.js";
|
|
5
5
|
import { n as standardSchemaToJSONSchema, r as toStandardSchema } from "./schema-TQPB_dl2-CCzMcdDx.js";
|
|
6
6
|
import { D as listToolsResponseSchema, J as serializedToolSchema, S as executeToolResponseSchema, b as executeToolBodySchema, et as toolIdPathParams, u as agentToolPathParams, x as executeToolContextBodySchema } from "./agents-B0OpLdbp.js";
|
|
7
7
|
import { o as optionalRunIdSchema } from "./common-J-yUnHk9.js";
|
|
8
8
|
import { n as createRoute } from "./route-builder-Dz18c3qm.js";
|
|
9
9
|
import { listAgentsVisibleTo } from "./server/handlers/agent-access.js";
|
|
10
|
-
import { G as getAgentFromSystem } from "./agents-
|
|
10
|
+
import { G as getAgentFromSystem } from "./agents-C0IdGyiL.js";
|
|
11
11
|
import { handleError } from "./server/handlers/error.js";
|
|
12
12
|
import { stripInjectedToolOverrideFields } from "./server/handlers/tool-schema-overrides.js";
|
|
13
13
|
import { isProviderDefinedTool, isVercelTool } from "@mastra/core/tools";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-10nMEhjP.cjs");
|
|
2
|
-
const require_utils = require("./utils-
|
|
3
|
-
const require_utils$1 = require("./utils-
|
|
2
|
+
const require_utils = require("./utils-LrIIsUqL.cjs");
|
|
3
|
+
const require_utils$1 = require("./utils-CUmygG-3.cjs");
|
|
4
4
|
const require_http_exception = require("./http-exception-Co3MbFUf.cjs");
|
|
5
5
|
const require_schema_TQPB_dl2 = require("./schema-TQPB_dl2-CJX1q58F.cjs");
|
|
6
6
|
const require_agents = require("./agents-CH_G37hG.cjs");
|
|
7
7
|
const require_common = require("./common-D5XxSuvu.cjs");
|
|
8
8
|
const require_route_builder = require("./route-builder-DjTBxSZN.cjs");
|
|
9
9
|
const require_server_handlers_agent_access = require("./server/handlers/agent-access.cjs");
|
|
10
|
-
const require_agents$1 = require("./agents-
|
|
10
|
+
const require_agents$1 = require("./agents-D5Gfdskc.cjs");
|
|
11
11
|
const require_server_handlers_error = require("./server/handlers/error.cjs");
|
|
12
12
|
const require_server_handlers_tool_schema_overrides = require("./server/handlers/tool-schema-overrides.cjs");
|
|
13
13
|
let _mastra_core_tools = require("@mastra/core/tools");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as standardSchemaToJSONSchema, r as toStandardSchema } from "./schema-TQPB_dl2-CCzMcdDx.js";
|
|
2
|
-
import { c as MASTRA_RESOURCE_ID_KEY } from "./constants-
|
|
2
|
+
import { c as MASTRA_RESOURCE_ID_KEY } from "./constants-BGZc2rRV.js";
|
|
3
3
|
import { t as HTTPException } from "./http-exception-CzaWkxMl.js";
|
|
4
4
|
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/superjson/2.2.6/711cee35fda0e5a37276180e7a2ecc71bd8bb1528c27c34fa53791b52a3c4054/node_modules/superjson/dist/double-indexed-kv.js
|
|
5
5
|
var DoubleIndexedKV = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-10nMEhjP.cjs");
|
|
2
|
-
const require_constants = require("./constants-
|
|
2
|
+
const require_constants = require("./constants-DrYn0WtO.cjs");
|
|
3
3
|
const require_http_exception = require("./http-exception-Co3MbFUf.cjs");
|
|
4
4
|
let _mastra_core_auth_ee = require("@mastra/core/auth/ee");
|
|
5
5
|
_mastra_core_auth_ee = require_rolldown_runtime.__toESM(_mastra_core_auth_ee, 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as MASTRA_RESOURCE_ID_KEY, g as isReservedRequestContextKey } from "./constants-
|
|
1
|
+
import { c as MASTRA_RESOURCE_ID_KEY, g as isReservedRequestContextKey } from "./constants-BGZc2rRV.js";
|
|
2
2
|
import { t as HTTPException } from "./http-exception-CzaWkxMl.js";
|
|
3
3
|
import * as authEE from "@mastra/core/auth/ee";
|
|
4
4
|
import { MastraMemory } from "@mastra/core/memory";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_schema_TQPB_dl2 = require("./schema-TQPB_dl2-CJX1q58F.cjs");
|
|
2
|
-
const require_constants = require("./constants-
|
|
2
|
+
const require_constants = require("./constants-DrYn0WtO.cjs");
|
|
3
3
|
const require_http_exception = require("./http-exception-Co3MbFUf.cjs");
|
|
4
4
|
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/superjson/2.2.6/711cee35fda0e5a37276180e7a2ecc71bd8bb1528c27c34fa53791b52a3c4054/node_modules/superjson/dist/double-indexed-kv.js
|
|
5
5
|
var DoubleIndexedKV = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime-CQI-hT2b.js";
|
|
2
2
|
import { at as GET_LISTENER_ROUTE$1, ct as TRANSCRIBE_SPEECH_DEPRECATED_ROUTE$1, it as GENERATE_SPEECH_ROUTE$1, lt as TRANSCRIBE_SPEECH_ROUTE$1, ot as GET_SPEAKERS_DEPRECATED_ROUTE$1, rt as GENERATE_SPEECH_DEPRECATED_ROUTE$1, st as GET_SPEAKERS_ROUTE$1 } from "./agents-B0OpLdbp.js";
|
|
3
|
-
import { G as getAgentFromSystem } from "./agents-
|
|
3
|
+
import { G as getAgentFromSystem } from "./agents-C0IdGyiL.js";
|
|
4
4
|
// src/server/handlers/voice.ts
|
|
5
5
|
var voice_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
GENERATE_SPEECH_DEPRECATED_ROUTE: () => GENERATE_SPEECH_DEPRECATED_ROUTE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-10nMEhjP.cjs");
|
|
2
2
|
const require_agents = require("./agents-CH_G37hG.cjs");
|
|
3
|
-
const require_agents$1 = require("./agents-
|
|
3
|
+
const require_agents$1 = require("./agents-D5Gfdskc.cjs");
|
|
4
4
|
// src/server/handlers/voice.ts
|
|
5
5
|
var voice_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
6
6
|
GENERATE_SPEECH_DEPRECATED_ROUTE: () => GENERATE_SPEECH_DEPRECATED_ROUTE,
|
|
@@ -3,7 +3,7 @@ const require_agents = require("./agents-CH_G37hG.cjs");
|
|
|
3
3
|
const require_editor_builder = require("./editor-builder-eF2IetF2.cjs");
|
|
4
4
|
const require_route_builder = require("./route-builder-DjTBxSZN.cjs");
|
|
5
5
|
const require_server_handlers_error = require("./server/handlers/error.cjs");
|
|
6
|
-
const require_utils = require("./utils-
|
|
6
|
+
const require_utils = require("./utils-CUmygG-3.cjs");
|
|
7
7
|
let zod_v4 = require("zod/v4");
|
|
8
8
|
let _mastra_core_memory = require("@mastra/core/memory");
|
|
9
9
|
// src/server/schemas/workflow-builder.ts
|
|
@@ -3,7 +3,7 @@ import { X as streamResponseSchema, r as agentExecutionBodySchema } from "./agen
|
|
|
3
3
|
import { a as builderModelPolicySchema } from "./editor-builder-CXLdplIj.js";
|
|
4
4
|
import { n as createRoute } from "./route-builder-Dz18c3qm.js";
|
|
5
5
|
import { handleError } from "./server/handlers/error.js";
|
|
6
|
-
import { a as getEffectiveThreadId, c as mergeBodyRequestContext, d as requireEffectiveResourceId, i as getEffectiveResourceId, m as validateBody, n as enforceThreadAccess, t as applyEffectiveThreadId } from "./utils-
|
|
6
|
+
import { a as getEffectiveThreadId, c as mergeBodyRequestContext, d as requireEffectiveResourceId, i as getEffectiveResourceId, m as validateBody, n as enforceThreadAccess, t as applyEffectiveThreadId } from "./utils-D3t571cY.js";
|
|
7
7
|
import { z } from "zod/v4";
|
|
8
8
|
import { stripClientAuthoredTurnMarks } from "@mastra/core/memory";
|
|
9
9
|
// src/server/schemas/workflow-builder.ts
|