@mastra/server 1.83.0-alpha.2 → 1.83.0-alpha.4
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/README.md +0 -6
- package/dist/{a2a-D3996OEF.js → a2a-BnWFvgiU.js} +2 -2
- package/dist/{a2a-D3996OEF.js.map → a2a-BnWFvgiU.js.map} +1 -1
- package/dist/{a2a-EGLeyLjI.cjs → a2a-Cu87JDM2.cjs} +2 -2
- package/dist/{a2a-EGLeyLjI.cjs.map → a2a-Cu87JDM2.cjs.map} +1 -1
- package/dist/{agent-builder-B9gEkbch.cjs → agent-builder-73cAYGts.cjs} +2 -2
- package/dist/{agent-builder-B9gEkbch.cjs.map → agent-builder-73cAYGts.cjs.map} +1 -1
- package/dist/{agent-builder-BF7OAl_R.js → agent-builder-pQaGXyFz.js} +2 -2
- package/dist/{agent-builder-BF7OAl_R.js.map → agent-builder-pQaGXyFz.js.map} +1 -1
- package/dist/{agents-CLE3kITm.js → agents-BA-MmcJN.js} +29 -7
- package/dist/agents-BA-MmcJN.js.map +1 -0
- package/dist/{agents-B4-yvYFU.cjs → agents-BMxHcsO7.cjs} +29 -7
- package/dist/agents-BMxHcsO7.cjs.map +1 -0
- package/dist/{api-schema-manifest-m9VMkNih.js → api-schema-manifest-BNmKPj1d.js} +2 -2
- package/dist/{api-schema-manifest-m9VMkNih.js.map → api-schema-manifest-BNmKPj1d.js.map} +1 -1
- package/dist/{api-schema-manifest-zVIP5lY6.cjs → api-schema-manifest-C4KWBHOE.cjs} +2 -2
- package/dist/{api-schema-manifest-zVIP5lY6.cjs.map → api-schema-manifest-C4KWBHOE.cjs.map} +1 -1
- package/dist/{background-tasks-BXTIp0QV.cjs → background-tasks-CIXrANYT.cjs} +5 -1
- package/dist/background-tasks-CIXrANYT.cjs.map +1 -0
- package/dist/{background-tasks-BIuEr2of.js → background-tasks-S__xU_pa.js} +5 -1
- package/dist/background-tasks-S__xU_pa.js.map +1 -0
- package/dist/{conversations-C2_kgBVu.cjs → conversations-CsyE18Yj.cjs} +2 -2
- package/dist/{conversations-C2_kgBVu.cjs.map → conversations-CsyE18Yj.cjs.map} +1 -1
- package/dist/{conversations-Dl6909lT.js → conversations-DtbEa1l_.js} +2 -2
- package/dist/{conversations-Dl6909lT.js.map → conversations-DtbEa1l_.js.map} +1 -1
- package/dist/dist-CQGBYe6U.js +1 -0
- package/dist/{dist-OKFDPspq.js → dist-CXxA_Jnu.js} +122 -281
- package/dist/dist-CXxA_Jnu.js.map +1 -0
- package/dist/{dist-Ctfk9X6u.cjs → dist-DIeKEdwH.cjs} +121 -280
- package/dist/dist-DIeKEdwH.cjs.map +1 -0
- package/dist/{dist-ZYvqJK9p.cjs → dist-Dhi6UZwv.cjs} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-resumable-streams.md +3 -3
- package/dist/docs/references/docs-server-custom-adapters.md +40 -11
- package/dist/docs/references/docs-server-middleware.md +1 -1
- package/dist/{editor-builder-XP9obiam.js → editor-builder-B4-g7fu_.js} +2 -2
- package/dist/{editor-builder-XP9obiam.js.map → editor-builder-B4-g7fu_.js.map} +1 -1
- package/dist/{editor-builder-o8LOkCe1.cjs → editor-builder-BTi2EIB1.cjs} +2 -2
- package/dist/{editor-builder-o8LOkCe1.cjs.map → editor-builder-BTi2EIB1.cjs.map} +1 -1
- package/dist/{observability-Cl3qZKTD.js → observability-Bc1UruQ9.js} +2 -2
- package/dist/{observability-Cl3qZKTD.js.map → observability-Bc1UruQ9.js.map} +1 -1
- package/dist/{observability-BB0DeGo4.cjs → observability-CsgWy_Jd.cjs} +2 -2
- package/dist/{observability-BB0DeGo4.cjs.map → observability-CsgWy_Jd.cjs.map} +1 -1
- package/dist/{observability-new-endpoints-DugFsWBU.cjs → observability-new-endpoints-sgqxTIAg.cjs} +8 -4
- package/dist/observability-new-endpoints-sgqxTIAg.cjs.map +1 -0
- package/dist/{observability-new-endpoints-qE2NutZ1.js → observability-new-endpoints-ynMOfgxs.js} +9 -5
- package/dist/observability-new-endpoints-ynMOfgxs.js.map +1 -0
- package/dist/{plans-DImsIR2v.js → plans-BLqnqqE0.js} +2 -2
- package/dist/{plans-DImsIR2v.js.map → plans-BLqnqqE0.js.map} +1 -1
- package/dist/{plans-jHcOmxx2.cjs → plans-LbsK1Bj0.cjs} +2 -2
- package/dist/{plans-jHcOmxx2.cjs.map → plans-LbsK1Bj0.cjs.map} +1 -1
- package/dist/{probe-image-size-bDuzMW0E.cjs → probe-image-size-C2efNs3R.cjs} +2 -2
- package/dist/{probe-image-size-bDuzMW0E.cjs.map → probe-image-size-C2efNs3R.cjs.map} +1 -1
- package/dist/{probe-image-size-Cxm5QtwO.js → probe-image-size-CO02-278.js} +2 -2
- package/dist/{probe-image-size-Cxm5QtwO.js.map → probe-image-size-CO02-278.js.map} +1 -1
- package/dist/{responses-DuSPxtip.cjs → responses-7obXjZaq.cjs} +2 -2
- package/dist/{responses-DuSPxtip.cjs.map → responses-7obXjZaq.cjs.map} +1 -1
- package/dist/{responses-B-5RuNWh.js → responses-DYPwRZ7Z.js} +2 -2
- package/dist/{responses-B-5RuNWh.js.map → responses-DYPwRZ7Z.js.map} +1 -1
- package/dist/{routes-BAn-IJa1.cjs → routes-BtJyuAGq.cjs} +13 -13
- package/dist/{routes-BAn-IJa1.cjs.map → routes-BtJyuAGq.cjs.map} +1 -1
- package/dist/{routes-BUczFZCF.js → routes-DgMuPPQr.js} +13 -13
- package/dist/{routes-BUczFZCF.js.map → routes-DgMuPPQr.js.map} +1 -1
- package/dist/{scores-sijeq4-F.cjs → scores-DxLiiwPT.cjs} +2 -2
- package/dist/{scores-sijeq4-F.cjs.map → scores-DxLiiwPT.cjs.map} +1 -1
- package/dist/{scores-D0d1KZaB.js → scores-qTduRPeX.js} +2 -2
- package/dist/{scores-D0d1KZaB.js.map → scores-qTduRPeX.js.map} +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 +4 -0
- package/dist/server/handlers/agent-controller.cjs.map +1 -1
- package/dist/server/handlers/agent-controller.d.ts.map +1 -1
- package/dist/server/handlers/agent-controller.js +4 -0
- package/dist/server/handlers/agent-controller.js.map +1 -1
- package/dist/server/handlers/agents.cjs +1 -1
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/background-tasks.cjs +1 -1
- package/dist/server/handlers/background-tasks.d.ts.map +1 -1
- package/dist/server/handlers/background-tasks.js +1 -1
- package/dist/server/handlers/conversations.cjs +1 -1
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/editor-builder.cjs +1 -1
- package/dist/server/handlers/editor-builder.js +1 -1
- package/dist/server/handlers/error.cjs +1 -0
- package/dist/server/handlers/error.cjs.map +1 -1
- package/dist/server/handlers/error.d.ts.map +1 -1
- package/dist/server/handlers/error.js +1 -0
- package/dist/server/handlers/error.js.map +1 -1
- package/dist/server/handlers/favorites-enrichment.cjs +1 -1
- package/dist/server/handlers/favorites-enrichment.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.cjs +1 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +16 -0
- package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
- package/dist/server/handlers/observability-new-endpoints.js +1 -1
- package/dist/server/handlers/observability-shared.cjs +9 -0
- package/dist/server/handlers/observability-shared.cjs.map +1 -1
- package/dist/server/handlers/observability-shared.d.ts +4 -0
- package/dist/server/handlers/observability-shared.d.ts.map +1 -1
- package/dist/server/handlers/observability-shared.js +9 -1
- package/dist/server/handlers/observability-shared.js.map +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/responses.cjs +1 -1
- package/dist/server/handlers/responses.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 +1 -1
- package/dist/server/handlers/stored-agent-favorites.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +1 -1
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/stored-skill-favorites.cjs +1 -1
- package/dist/server/handlers/stored-skill-favorites.js +1 -1
- package/dist/server/handlers/stored-skills.cjs +1 -1
- package/dist/server/handlers/stored-skills.js +1 -1
- package/dist/server/handlers/system.cjs +2 -2
- package/dist/server/handlers/system.d.ts +4 -0
- package/dist/server/handlers/system.d.ts.map +1 -1
- package/dist/server/handlers/system.js +2 -2
- package/dist/server/handlers/tools.cjs +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers.cjs +9 -9
- package/dist/server/handlers.js +9 -9
- package/dist/server/schemas/index.cjs +1 -1
- package/dist/server/schemas/index.js +1 -1
- package/dist/server/schemas/system.d.ts +4 -0
- package/dist/server/schemas/system.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +47 -1
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +1 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +46 -2
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/routes/conversations.d.ts +3 -3
- package/dist/server/server-adapter/routes/observability.d.ts +8 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/responses.d.ts +11 -11
- package/dist/server/server-adapter/routes/system.d.ts +4 -0
- package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
- package/dist/server/server-adapter/stream-disconnect.d.ts +24 -0
- package/dist/server/server-adapter/stream-disconnect.d.ts.map +1 -0
- package/dist/{system-eeBLPCu1.cjs → system-CpGJI36-.cjs} +3 -1
- package/dist/system-CpGJI36-.cjs.map +1 -0
- package/dist/{system-DT0pqJSk.js → system-D5hurfjV.js} +3 -1
- package/dist/system-D5hurfjV.js.map +1 -0
- package/dist/{tools-FukgyRS8.js → tools-DeHsVuWZ.js} +2 -2
- package/dist/{tools-FukgyRS8.js.map → tools-DeHsVuWZ.js.map} +1 -1
- package/dist/{tools-DF2XAjMu.cjs → tools-DszNVjKC.cjs} +2 -2
- package/dist/{tools-DF2XAjMu.cjs.map → tools-DszNVjKC.cjs.map} +1 -1
- package/package.json +3 -4
- package/dist/agents-B4-yvYFU.cjs.map +0 -1
- package/dist/agents-CLE3kITm.js.map +0 -1
- package/dist/background-tasks-BIuEr2of.js.map +0 -1
- package/dist/background-tasks-BXTIp0QV.cjs.map +0 -1
- package/dist/dist-Ctfk9X6u.cjs.map +0 -1
- package/dist/dist-DJjVMQiv.js +0 -1
- package/dist/dist-OKFDPspq.js.map +0 -1
- package/dist/observability-new-endpoints-DugFsWBU.cjs.map +0 -1
- package/dist/observability-new-endpoints-qE2NutZ1.js.map +0 -1
- package/dist/system-DT0pqJSk.js.map +0 -1
- package/dist/system-eeBLPCu1.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAsB,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EAKxB,MAAM,oBAAoB,CAAC;AAS5B,OAAO,KAAK,EAA+B,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEnG,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAOnE,OAAO,EAAE,CAAC,EAAE,MAAM,Q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BAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ABORT_AGENT_RUN_ROUTE, n as ABORT_AGENT_THREAD_ROUTE, r as APPROVE_NETWORK_TOOL_CALL_ROUTE, i as APPROVE_TOOL_CALL_GENERATE_ROUTE, a as APPROVE_TOOL_CALL_ROUTE, o as CANCEL_AGENT_PENDING_SIGNALS_ROUTE, s as CLONE_AGENT_ROUTE, c as DECLINE_NETWORK_TOOL_CALL_ROUTE, l as DECLINE_TOOL_CALL_GENERATE_ROUTE, u as DECLINE_TOOL_CALL_ROUTE, d as ENHANCE_INSTRUCTIONS_ROUTE, f as GENERATE_AGENT_ROUTE, p as GENERATE_AGENT_VNEXT_ROUTE, m as GENERATE_LEGACY_ROUTE, h as GET_AGENT_BY_ID_ROUTE, g as GET_AGENT_SKILL_ROUTE, _ as GET_PROVIDERS_ROUTE, v as LIST_AGENTS_ROUTE, y as LIST_SUSPENDED_RUNS_ROUTE, b as OBSERVE_AGENT_STREAM_ROUTE, x as QUEUE_AGENT_MESSAGE_ROUTE, S as QUEUE_AGENT_SIGNAL_ROUTE, C as RECOVER_ROUTE, w as REORDER_AGENT_MODEL_LIST_ROUTE, T as RESET_AGENT_MODEL_ROUTE, E as RESUME_STREAM_ROUTE, D as RESUME_STREAM_UNTIL_IDLE_ROUTE, O as SEND_AGENT_MESSAGE_ROUTE, k as SEND_AGENT_SIGNAL_ROUTE, A as SEND_TOOL_APPROVAL_ROUTE, j as STREAM_GENERATE_LEGACY_ROUTE, M as STREAM_GENERATE_ROUTE, N as STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE, P as STREAM_NETWORK_ROUTE, F as STREAM_UI_MESSAGE_DEPRECATED_ROUTE, I as STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE, L as STREAM_UNTIL_IDLE_GENERATE_ROUTE, R as STREAM_VNEXT_DEPRECATED_ROUTE, z as SUBSCRIBE_AGENT_THREAD_ROUTE, B as UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE, V as UPDATE_AGENT_MODEL_ROUTE, U as buildProvidersList, W as extractVersionOptions, G as getAgentFromSystem, K as getBrowserToolsFromAgent, q as getSerializedAgentTools, J as getSerializedProcessors, Y as getSerializedSkillsFromAgent, X as getWorkspaceToolsFromAgent, Z as isProviderConnected } from "../../agents-
|
|
1
|
+
export { t as ABORT_AGENT_RUN_ROUTE, n as ABORT_AGENT_THREAD_ROUTE, r as APPROVE_NETWORK_TOOL_CALL_ROUTE, i as APPROVE_TOOL_CALL_GENERATE_ROUTE, a as APPROVE_TOOL_CALL_ROUTE, o as CANCEL_AGENT_PENDING_SIGNALS_ROUTE, s as CLONE_AGENT_ROUTE, c as DECLINE_NETWORK_TOOL_CALL_ROUTE, l as DECLINE_TOOL_CALL_GENERATE_ROUTE, u as DECLINE_TOOL_CALL_ROUTE, d as ENHANCE_INSTRUCTIONS_ROUTE, f as GENERATE_AGENT_ROUTE, p as GENERATE_AGENT_VNEXT_ROUTE, m as GENERATE_LEGACY_ROUTE, h as GET_AGENT_BY_ID_ROUTE, g as GET_AGENT_SKILL_ROUTE, _ as GET_PROVIDERS_ROUTE, v as LIST_AGENTS_ROUTE, y as LIST_SUSPENDED_RUNS_ROUTE, b as OBSERVE_AGENT_STREAM_ROUTE, x as QUEUE_AGENT_MESSAGE_ROUTE, S as QUEUE_AGENT_SIGNAL_ROUTE, C as RECOVER_ROUTE, w as REORDER_AGENT_MODEL_LIST_ROUTE, T as RESET_AGENT_MODEL_ROUTE, E as RESUME_STREAM_ROUTE, D as RESUME_STREAM_UNTIL_IDLE_ROUTE, O as SEND_AGENT_MESSAGE_ROUTE, k as SEND_AGENT_SIGNAL_ROUTE, A as SEND_TOOL_APPROVAL_ROUTE, j as STREAM_GENERATE_LEGACY_ROUTE, M as STREAM_GENERATE_ROUTE, N as STREAM_GENERATE_VNEXT_DEPRECATED_ROUTE, P as STREAM_NETWORK_ROUTE, F as STREAM_UI_MESSAGE_DEPRECATED_ROUTE, I as STREAM_UI_MESSAGE_VNEXT_DEPRECATED_ROUTE, L as STREAM_UNTIL_IDLE_GENERATE_ROUTE, R as STREAM_VNEXT_DEPRECATED_ROUTE, z as SUBSCRIBE_AGENT_THREAD_ROUTE, B as UPDATE_AGENT_MODEL_IN_MODEL_LIST_ROUTE, V as UPDATE_AGENT_MODEL_ROUTE, U as buildProvidersList, W as extractVersionOptions, G as getAgentFromSystem, K as getBrowserToolsFromAgent, q as getSerializedAgentTools, J as getSerializedProcessors, Y as getSerializedSkillsFromAgent, X as getWorkspaceToolsFromAgent, Z as isProviderConnected } from "../../agents-BA-MmcJN.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_background_tasks = require("../../background-tasks-
|
|
3
|
+
const require_background_tasks = require("../../background-tasks-CIXrANYT.cjs");
|
|
4
4
|
exports.BACKGROUND_TASK_STREAM_ROUTE = require_background_tasks.BACKGROUND_TASK_STREAM_ROUTE;
|
|
5
5
|
exports.GET_BACKGROUND_TASK_ROUTE = require_background_tasks.GET_BACKGROUND_TASK_ROUTE;
|
|
6
6
|
exports.LIST_BACKGROUND_TASKS_ROUTE = require_background_tasks.LIST_BACKGROUND_TASKS_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-tasks.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/background-tasks.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"background-tasks.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/background-tasks.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CvC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBtC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BACKGROUND_TASK_STREAM_ROUTE, n as GET_BACKGROUND_TASK_ROUTE, r as LIST_BACKGROUND_TASKS_ROUTE, i as RESUME_BACKGROUND_TASK_ROUTE } from "../../background-tasks-
|
|
1
|
+
export { t as BACKGROUND_TASK_STREAM_ROUTE, n as GET_BACKGROUND_TASK_ROUTE, r as LIST_BACKGROUND_TASKS_ROUTE, i as RESUME_BACKGROUND_TASK_ROUTE } from "../../background-tasks-S__xU_pa.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_conversations = require("../../conversations-
|
|
3
|
+
const require_conversations = require("../../conversations-CsyE18Yj.cjs");
|
|
4
4
|
exports.CREATE_CONVERSATION_ROUTE = require_conversations.CREATE_CONVERSATION_ROUTE;
|
|
5
5
|
exports.DELETE_CONVERSATION_ROUTE = require_conversations.DELETE_CONVERSATION_ROUTE;
|
|
6
6
|
exports.GET_CONVERSATION_ITEMS_ROUTE = require_conversations.GET_CONVERSATION_ITEMS_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CREATE_CONVERSATION_ROUTE, n as DELETE_CONVERSATION_ROUTE, r as GET_CONVERSATION_ITEMS_ROUTE, i as GET_CONVERSATION_ROUTE } from "../../conversations-
|
|
1
|
+
export { t as CREATE_CONVERSATION_ROUTE, n as DELETE_CONVERSATION_ROUTE, r as GET_CONVERSATION_ITEMS_ROUTE, i as GET_CONVERSATION_ROUTE } from "../../conversations-DtbEa1l_.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_editor_builder = require("../../editor-builder-
|
|
3
|
+
const require_editor_builder = require("../../editor-builder-BTi2EIB1.cjs");
|
|
4
4
|
exports.GET_EDITOR_BUILDER_AVAILABLE_MODELS_ROUTE = require_editor_builder.GET_EDITOR_BUILDER_AVAILABLE_MODELS_ROUTE;
|
|
5
5
|
exports.GET_EDITOR_BUILDER_SETTINGS_ROUTE = require_editor_builder.GET_EDITOR_BUILDER_SETTINGS_ROUTE;
|
|
6
6
|
exports.GET_INFRASTRUCTURE_STATUS_ROUTE = require_editor_builder.GET_INFRASTRUCTURE_STATUS_ROUTE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GET_EDITOR_BUILDER_AVAILABLE_MODELS_ROUTE, n as GET_EDITOR_BUILDER_SETTINGS_ROUTE, r as GET_INFRASTRUCTURE_STATUS_ROUTE, i as isBuilderFeatureEnabled, a as requireBuilderFeature } from "../../editor-builder-
|
|
1
|
+
export { t as GET_EDITOR_BUILDER_AVAILABLE_MODELS_ROUTE, n as GET_EDITOR_BUILDER_SETTINGS_ROUTE, r as GET_INFRASTRUCTURE_STATUS_ROUTE, i as isBuilderFeatureEnabled, a as requireBuilderFeature } from "../../editor-builder-B4-g7fu_.js";
|
|
@@ -27,6 +27,7 @@ const RUN_CLAIM_CONFLICT_CODES = /* @__PURE__ */ new Set([
|
|
|
27
27
|
"AGENT_RUN_ID_ALREADY_CLAIMED",
|
|
28
28
|
"WORKFLOW_RUN_NOT_SUSPENDED",
|
|
29
29
|
"AGENT_RESUME_RUN_NOT_SUSPENDED",
|
|
30
|
+
"AGENT_RESUME_ABORTED_RUN",
|
|
30
31
|
"WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED",
|
|
31
32
|
"WORKFLOW_TIME_TRAVEL_RUN_RUNNING"
|
|
32
33
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.cjs","names":["HTTPException"],"sources":["../../../src/server/handlers/error.ts"],"sourcesContent":["import type { ZodError } from 'zod';\n\nimport { HTTPException } from '../http-exception';\nimport type { StatusCode } from '../http-exception';\nimport type { ApiError } from '../types';\n\n/**\n * Duck-typed interface for ZodError-like objects.\n * Note: Zod v4 uses PropertyKey[] (string | number | symbol) for path.\n */\nexport interface ZodErrorLike {\n issues: Array<{\n path: PropertyKey[];\n message: string;\n }>;\n}\n\n/**\n * Recognition for `ModelNotAllowedError` from `@mastra/core/agent-builder/ee`.\n *\n * Inlined as a duck check rather than imported so that `handleError` (wired\n * into every route) does not force a load-time dependency on the\n * `@mastra/core/agent-builder/ee` subpath. That subpath only ships in\n * `@mastra/core >= 1.34.0`; deploys whose bundled `@mastra/server` resolves\n * against an older core would otherwise crash at startup with\n * `ERR_MODULE_NOT_FOUND` on `@mastra/core/dist/agent-builder/ee/index.js`.\n */\nconst MODEL_NOT_ALLOWED_CODE = 'MODEL_NOT_ALLOWED';\n\ninterface ModelNotAllowedErrorLike extends Error {\n code: typeof MODEL_NOT_ALLOWED_CODE;\n allowed?: unknown;\n attempted?: unknown;\n offendingLabel?: string;\n}\n\nfunction isModelNotAllowedError(error: unknown): error is ModelNotAllowedErrorLike {\n return error instanceof Error && (error as { code?: unknown }).code === MODEL_NOT_ALLOWED_CODE;\n}\n\n// Input the caller sent failed a workflow or agent schema (including an agent's requestContextSchema),\n// so it is a bad request, not a server fault.\nconst SCHEMA_VALIDATION_FAILED_CODES = new Set([\n 'WORKFLOW_SCHEMA_VALIDATION_FAILED',\n 'AGENT_REQUEST_CONTEXT_VALIDATION_FAILED',\n]);\n\nfunction isSchemaValidationError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && SCHEMA_VALIDATION_FAILED_CODES.has(id);\n}\n\n// A resume or time travel the run can't accept: another caller claimed it, it is still running,\n// or it isn't waiting to be resumed.\nconst RUN_CLAIM_CONFLICT_CODES = new Set([\n 'WORKFLOW_RESUME_ALREADY_CLAIMED',\n 'AGENT_RESUME_ALREADY_CLAIMED',\n 'AGENT_RUN_ID_ALREADY_CLAIMED',\n 'WORKFLOW_RUN_NOT_SUSPENDED',\n 'AGENT_RESUME_RUN_NOT_SUSPENDED',\n 'WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED',\n 'WORKFLOW_TIME_TRAVEL_RUN_RUNNING',\n]);\n\nfunction isRunClaimConflictError(error: unknown): error is Error & { id: string } {\n return error instanceof Error && RUN_CLAIM_CONFLICT_CODES.has((error as { id?: unknown }).id as string);\n}\n\n/**\n * Durable agent errors for a request that conflicts with the run's state:\n * another execution owns the run, it is already being recovered, it lost a\n * concurrent claim, or it is suspended (recover). Matched by id, like the\n * other checks here, so the server doesn't depend on core exporting them.\n */\nconst DURABLE_RUN_CONFLICT_CODES = new Set([\n 'DURABLE_AGENT_RUN_ACTIVE',\n 'DURABLE_AGENT_RECOVER_RUN_ACTIVE_LOCALLY',\n 'DURABLE_AGENT_RECOVER_ALREADY_IN_PROGRESS',\n 'DURABLE_AGENT_RECOVER_RUN_SUSPENDED',\n 'DURABLE_AGENT_RECOVER_RUN_NOT_ACTIVE',\n 'DURABLE_AGENT_EXECUTION_CONFLICT',\n]);\n\nfunction isDurableRunConflictError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && DURABLE_RUN_CONFLICT_CODES.has(id);\n}\n\nconst FEEDBACK_REVIEW_STATUS_CONFLICT_CODE = 'OBSERVABILITY_UPDATE_FEEDBACK_REVIEW_STATUS_CONFLICT';\n\nfunction isFeedbackReviewStatusConflictError(error: unknown): error is Error {\n return error instanceof Error && (error as { id?: unknown }).id === FEEDBACK_REVIEW_STATUS_CONFLICT_CODE;\n}\n\n/**\n * Matches the `OBSERVABILITY_STORAGE_*_NOT_IMPLEMENTED` MastraError the base\n * observability store throws for every optional method a store doesn't\n * implement. Checked by id (not `instanceof`) so it holds across duplicated\n * `@mastra/core` installs.\n */\nfunction isObservabilityStorageNotImplementedError(error: unknown): error is Error {\n const id = error && typeof error === 'object' && 'id' in error ? error.id : undefined;\n return typeof id === 'string' && id.startsWith('OBSERVABILITY_STORAGE_') && id.endsWith('_NOT_IMPLEMENTED');\n}\n\n/**\n * Structural check for ZodError instances.\n *\n * Avoids `instanceof ZodError` because consumers can resolve `'zod'` to a\n * different package instance (e.g. `zod@^3`) than the one a server adapter is\n * bundled with (`zod@^4`). In that case `instanceof` is false and validation\n * errors fall through to a generic response that drops field-path information.\n *\n * See https://github.com/mastra-ai/mastra/issues/17167.\n */\nexport function isZodError(error: unknown): error is ZodError<any> {\n return (\n !!error &&\n typeof error === 'object' &&\n (error as { name?: unknown }).name === 'ZodError' &&\n Array.isArray((error as { issues?: unknown }).issues)\n );\n}\n\n/**\n * Formats a ZodError into a structured validation error response.\n * Returns an object with an error message and an array of field-specific issues.\n */\nexport function formatZodError(\n error: ZodErrorLike,\n context: string,\n): { error: string; issues: Array<{ field: string; message: string }> } {\n const issues = error.issues.map(e => ({\n field: e.path.length > 0 ? e.path.map(p => String(p)).join('.') : 'root',\n message: e.message,\n }));\n\n return {\n error: `Invalid ${context}`,\n issues,\n };\n}\n\n// Helper to handle errors consistently\nexport function handleError(error: unknown, defaultMessage: string): never {\n if (isModelNotAllowedError(error)) {\n const body = {\n error: {\n code: error.code,\n message: error.message,\n allowed: error.allowed,\n attempted: error.attempted,\n offendingLabel: error.offendingLabel,\n },\n };\n const res = new Response(JSON.stringify(body), {\n status: 422,\n headers: { 'content-type': 'application/json' },\n });\n throw new HTTPException(422, {\n res,\n message: error.message,\n cause: error,\n });\n }\n\n // A losing concurrent resume or time travel, or a recover of a run that is live or suspended, is\n // a conflict on run state, not a malformed request, so it maps to 409 and clients can\n // distinguish it from a 400/500 and re-read the run.\n if (isRunClaimConflictError(error) || isDurableRunConflictError(error)) {\n const res = isRunClaimConflictError(error)\n ? new Response(JSON.stringify({ error: error.message, code: error.id }), {\n status: 409,\n headers: { 'content-type': 'application/json' },\n })\n : undefined;\n throw new HTTPException(409, {\n res,\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // The feedback row changed under a review-status update, so the caller re-reads and retries;\n // that is a conflict, not a broken store.\n if (isFeedbackReviewStatusConflictError(error)) {\n throw new HTTPException(409, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n if (isSchemaValidationError(error)) {\n throw new HTTPException(400, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // Optional observability APIs (feedback, metrics, logs, scores, ...) throw\n // `*_NOT_IMPLEMENTED` on stores that don't support them. That's a missing\n // capability, not a server fault, so it maps to 501 — which server adapters\n // log as a warning instead of an error. The message is preserved because\n // clients match on it to detect unsupported operations. Clients should check\n // `GET /observability/capabilities` before calling optional routes.\n if (isObservabilityStorageNotImplementedError(error)) {\n throw new HTTPException(501, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n const apiError = error as ApiError;\n\n const apiErrorStatus = apiError.status || apiError.details?.status || 500;\n\n throw new HTTPException(apiErrorStatus as StatusCode, {\n message: apiError.message || defaultMessage,\n stack: apiError.stack,\n cause: apiError.cause,\n });\n}\n"],"mappings":";;;;;;;;;;;;;;AA2BA,MAAM,yBAAyB;AAS/B,SAAS,uBAAuB,OAAmD;CACjF,OAAO,iBAAiB,SAAU,MAA6B,SAAS;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gBAA8B;EACpD,SAAS,SAAS,WAAW;EAC7B,OAAO,SAAS;EAChB,OAAO,SAAS;CAClB,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"error.cjs","names":["HTTPException"],"sources":["../../../src/server/handlers/error.ts"],"sourcesContent":["import type { ZodError } from 'zod';\n\nimport { HTTPException } from '../http-exception';\nimport type { StatusCode } from '../http-exception';\nimport type { ApiError } from '../types';\n\n/**\n * Duck-typed interface for ZodError-like objects.\n * Note: Zod v4 uses PropertyKey[] (string | number | symbol) for path.\n */\nexport interface ZodErrorLike {\n issues: Array<{\n path: PropertyKey[];\n message: string;\n }>;\n}\n\n/**\n * Recognition for `ModelNotAllowedError` from `@mastra/core/agent-builder/ee`.\n *\n * Inlined as a duck check rather than imported so that `handleError` (wired\n * into every route) does not force a load-time dependency on the\n * `@mastra/core/agent-builder/ee` subpath. That subpath only ships in\n * `@mastra/core >= 1.34.0`; deploys whose bundled `@mastra/server` resolves\n * against an older core would otherwise crash at startup with\n * `ERR_MODULE_NOT_FOUND` on `@mastra/core/dist/agent-builder/ee/index.js`.\n */\nconst MODEL_NOT_ALLOWED_CODE = 'MODEL_NOT_ALLOWED';\n\ninterface ModelNotAllowedErrorLike extends Error {\n code: typeof MODEL_NOT_ALLOWED_CODE;\n allowed?: unknown;\n attempted?: unknown;\n offendingLabel?: string;\n}\n\nfunction isModelNotAllowedError(error: unknown): error is ModelNotAllowedErrorLike {\n return error instanceof Error && (error as { code?: unknown }).code === MODEL_NOT_ALLOWED_CODE;\n}\n\n// Input the caller sent failed a workflow or agent schema (including an agent's requestContextSchema),\n// so it is a bad request, not a server fault.\nconst SCHEMA_VALIDATION_FAILED_CODES = new Set([\n 'WORKFLOW_SCHEMA_VALIDATION_FAILED',\n 'AGENT_REQUEST_CONTEXT_VALIDATION_FAILED',\n]);\n\nfunction isSchemaValidationError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && SCHEMA_VALIDATION_FAILED_CODES.has(id);\n}\n\n// A resume or time travel the run can't accept: another caller claimed it, it is still running,\n// or it isn't waiting to be resumed.\nconst RUN_CLAIM_CONFLICT_CODES = new Set([\n 'WORKFLOW_RESUME_ALREADY_CLAIMED',\n 'AGENT_RESUME_ALREADY_CLAIMED',\n 'AGENT_RUN_ID_ALREADY_CLAIMED',\n 'WORKFLOW_RUN_NOT_SUSPENDED',\n 'AGENT_RESUME_RUN_NOT_SUSPENDED',\n 'AGENT_RESUME_ABORTED_RUN',\n 'WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED',\n 'WORKFLOW_TIME_TRAVEL_RUN_RUNNING',\n]);\n\nfunction isRunClaimConflictError(error: unknown): error is Error & { id: string } {\n return error instanceof Error && RUN_CLAIM_CONFLICT_CODES.has((error as { id?: unknown }).id as string);\n}\n\n/**\n * Durable agent errors for a request that conflicts with the run's state:\n * another execution owns the run, it is already being recovered, it lost a\n * concurrent claim, or it is suspended (recover). Matched by id, like the\n * other checks here, so the server doesn't depend on core exporting them.\n */\nconst DURABLE_RUN_CONFLICT_CODES = new Set([\n 'DURABLE_AGENT_RUN_ACTIVE',\n 'DURABLE_AGENT_RECOVER_RUN_ACTIVE_LOCALLY',\n 'DURABLE_AGENT_RECOVER_ALREADY_IN_PROGRESS',\n 'DURABLE_AGENT_RECOVER_RUN_SUSPENDED',\n 'DURABLE_AGENT_RECOVER_RUN_NOT_ACTIVE',\n 'DURABLE_AGENT_EXECUTION_CONFLICT',\n]);\n\nfunction isDurableRunConflictError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && DURABLE_RUN_CONFLICT_CODES.has(id);\n}\n\nconst FEEDBACK_REVIEW_STATUS_CONFLICT_CODE = 'OBSERVABILITY_UPDATE_FEEDBACK_REVIEW_STATUS_CONFLICT';\n\nfunction isFeedbackReviewStatusConflictError(error: unknown): error is Error {\n return error instanceof Error && (error as { id?: unknown }).id === FEEDBACK_REVIEW_STATUS_CONFLICT_CODE;\n}\n\n/**\n * Matches the `OBSERVABILITY_STORAGE_*_NOT_IMPLEMENTED` MastraError the base\n * observability store throws for every optional method a store doesn't\n * implement. Checked by id (not `instanceof`) so it holds across duplicated\n * `@mastra/core` installs.\n */\nfunction isObservabilityStorageNotImplementedError(error: unknown): error is Error {\n const id = error && typeof error === 'object' && 'id' in error ? error.id : undefined;\n return typeof id === 'string' && id.startsWith('OBSERVABILITY_STORAGE_') && id.endsWith('_NOT_IMPLEMENTED');\n}\n\n/**\n * Structural check for ZodError instances.\n *\n * Avoids `instanceof ZodError` because consumers can resolve `'zod'` to a\n * different package instance (e.g. `zod@^3`) than the one a server adapter is\n * bundled with (`zod@^4`). In that case `instanceof` is false and validation\n * errors fall through to a generic response that drops field-path information.\n *\n * See https://github.com/mastra-ai/mastra/issues/17167.\n */\nexport function isZodError(error: unknown): error is ZodError<any> {\n return (\n !!error &&\n typeof error === 'object' &&\n (error as { name?: unknown }).name === 'ZodError' &&\n Array.isArray((error as { issues?: unknown }).issues)\n );\n}\n\n/**\n * Formats a ZodError into a structured validation error response.\n * Returns an object with an error message and an array of field-specific issues.\n */\nexport function formatZodError(\n error: ZodErrorLike,\n context: string,\n): { error: string; issues: Array<{ field: string; message: string }> } {\n const issues = error.issues.map(e => ({\n field: e.path.length > 0 ? e.path.map(p => String(p)).join('.') : 'root',\n message: e.message,\n }));\n\n return {\n error: `Invalid ${context}`,\n issues,\n };\n}\n\n// Helper to handle errors consistently\nexport function handleError(error: unknown, defaultMessage: string): never {\n if (isModelNotAllowedError(error)) {\n const body = {\n error: {\n code: error.code,\n message: error.message,\n allowed: error.allowed,\n attempted: error.attempted,\n offendingLabel: error.offendingLabel,\n },\n };\n const res = new Response(JSON.stringify(body), {\n status: 422,\n headers: { 'content-type': 'application/json' },\n });\n throw new HTTPException(422, {\n res,\n message: error.message,\n cause: error,\n });\n }\n\n // A losing concurrent resume or time travel, or a recover of a run that is live or suspended, is\n // a conflict on run state, not a malformed request, so it maps to 409 and clients can\n // distinguish it from a 400/500 and re-read the run.\n if (isRunClaimConflictError(error) || isDurableRunConflictError(error)) {\n const res = isRunClaimConflictError(error)\n ? new Response(JSON.stringify({ error: error.message, code: error.id }), {\n status: 409,\n headers: { 'content-type': 'application/json' },\n })\n : undefined;\n throw new HTTPException(409, {\n res,\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // The feedback row changed under a review-status update, so the caller re-reads and retries;\n // that is a conflict, not a broken store.\n if (isFeedbackReviewStatusConflictError(error)) {\n throw new HTTPException(409, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n if (isSchemaValidationError(error)) {\n throw new HTTPException(400, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // Optional observability APIs (feedback, metrics, logs, scores, ...) throw\n // `*_NOT_IMPLEMENTED` on stores that don't support them. That's a missing\n // capability, not a server fault, so it maps to 501 — which server adapters\n // log as a warning instead of an error. The message is preserved because\n // clients match on it to detect unsupported operations. Clients should check\n // `GET /observability/capabilities` before calling optional routes.\n if (isObservabilityStorageNotImplementedError(error)) {\n throw new HTTPException(501, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n const apiError = error as ApiError;\n\n const apiErrorStatus = apiError.status || apiError.details?.status || 500;\n\n throw new HTTPException(apiErrorStatus as StatusCode, {\n message: apiError.message || defaultMessage,\n stack: apiError.stack,\n cause: apiError.cause,\n });\n}\n"],"mappings":";;;;;;;;;;;;;;AA2BA,MAAM,yBAAyB;AAS/B,SAAS,uBAAuB,OAAmD;CACjF,OAAO,iBAAiB,SAAU,MAA6B,SAAS;AAC1E;AAIA,MAAM,iDAAiC,IAAI,IAAI,CAC7C,qCACA,yCACF,CAAC;AAED,SAAS,wBAAwB,OAAgC;CAC/D,MAAM,KAAM,OAAwC;CACpD,OAAO,iBAAiB,SAAS,OAAO,OAAO,YAAY,+BAA+B,IAAI,EAAE;AAClG;AAIA,MAAM,2CAA2B,IAAI,IAAI;CACvC;CACA;C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,MAAM,KAAK,CAAC;AAMpC;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,WAAW,EAAE,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAMpC;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,WAAW,EAAE,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;CACJ;AA2FD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAAC,GAAG,CAAC,CAOjE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,MAAM,GACd;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE,CAUtE;AAGD,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,KAAK,CAiFzE"}
|
|
@@ -25,6 +25,7 @@ const RUN_CLAIM_CONFLICT_CODES = /* @__PURE__ */ new Set([
|
|
|
25
25
|
"AGENT_RUN_ID_ALREADY_CLAIMED",
|
|
26
26
|
"WORKFLOW_RUN_NOT_SUSPENDED",
|
|
27
27
|
"AGENT_RESUME_RUN_NOT_SUSPENDED",
|
|
28
|
+
"AGENT_RESUME_ABORTED_RUN",
|
|
28
29
|
"WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED",
|
|
29
30
|
"WORKFLOW_TIME_TRAVEL_RUN_RUNNING"
|
|
30
31
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","names":[],"sources":["../../../src/server/handlers/error.ts"],"sourcesContent":["import type { ZodError } from 'zod';\n\nimport { HTTPException } from '../http-exception';\nimport type { StatusCode } from '../http-exception';\nimport type { ApiError } from '../types';\n\n/**\n * Duck-typed interface for ZodError-like objects.\n * Note: Zod v4 uses PropertyKey[] (string | number | symbol) for path.\n */\nexport interface ZodErrorLike {\n issues: Array<{\n path: PropertyKey[];\n message: string;\n }>;\n}\n\n/**\n * Recognition for `ModelNotAllowedError` from `@mastra/core/agent-builder/ee`.\n *\n * Inlined as a duck check rather than imported so that `handleError` (wired\n * into every route) does not force a load-time dependency on the\n * `@mastra/core/agent-builder/ee` subpath. That subpath only ships in\n * `@mastra/core >= 1.34.0`; deploys whose bundled `@mastra/server` resolves\n * against an older core would otherwise crash at startup with\n * `ERR_MODULE_NOT_FOUND` on `@mastra/core/dist/agent-builder/ee/index.js`.\n */\nconst MODEL_NOT_ALLOWED_CODE = 'MODEL_NOT_ALLOWED';\n\ninterface ModelNotAllowedErrorLike extends Error {\n code: typeof MODEL_NOT_ALLOWED_CODE;\n allowed?: unknown;\n attempted?: unknown;\n offendingLabel?: string;\n}\n\nfunction isModelNotAllowedError(error: unknown): error is ModelNotAllowedErrorLike {\n return error instanceof Error && (error as { code?: unknown }).code === MODEL_NOT_ALLOWED_CODE;\n}\n\n// Input the caller sent failed a workflow or agent schema (including an agent's requestContextSchema),\n// so it is a bad request, not a server fault.\nconst SCHEMA_VALIDATION_FAILED_CODES = new Set([\n 'WORKFLOW_SCHEMA_VALIDATION_FAILED',\n 'AGENT_REQUEST_CONTEXT_VALIDATION_FAILED',\n]);\n\nfunction isSchemaValidationError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && SCHEMA_VALIDATION_FAILED_CODES.has(id);\n}\n\n// A resume or time travel the run can't accept: another caller claimed it, it is still running,\n// or it isn't waiting to be resumed.\nconst RUN_CLAIM_CONFLICT_CODES = new Set([\n 'WORKFLOW_RESUME_ALREADY_CLAIMED',\n 'AGENT_RESUME_ALREADY_CLAIMED',\n 'AGENT_RUN_ID_ALREADY_CLAIMED',\n 'WORKFLOW_RUN_NOT_SUSPENDED',\n 'AGENT_RESUME_RUN_NOT_SUSPENDED',\n 'WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED',\n 'WORKFLOW_TIME_TRAVEL_RUN_RUNNING',\n]);\n\nfunction isRunClaimConflictError(error: unknown): error is Error & { id: string } {\n return error instanceof Error && RUN_CLAIM_CONFLICT_CODES.has((error as { id?: unknown }).id as string);\n}\n\n/**\n * Durable agent errors for a request that conflicts with the run's state:\n * another execution owns the run, it is already being recovered, it lost a\n * concurrent claim, or it is suspended (recover). Matched by id, like the\n * other checks here, so the server doesn't depend on core exporting them.\n */\nconst DURABLE_RUN_CONFLICT_CODES = new Set([\n 'DURABLE_AGENT_RUN_ACTIVE',\n 'DURABLE_AGENT_RECOVER_RUN_ACTIVE_LOCALLY',\n 'DURABLE_AGENT_RECOVER_ALREADY_IN_PROGRESS',\n 'DURABLE_AGENT_RECOVER_RUN_SUSPENDED',\n 'DURABLE_AGENT_RECOVER_RUN_NOT_ACTIVE',\n 'DURABLE_AGENT_EXECUTION_CONFLICT',\n]);\n\nfunction isDurableRunConflictError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && DURABLE_RUN_CONFLICT_CODES.has(id);\n}\n\nconst FEEDBACK_REVIEW_STATUS_CONFLICT_CODE = 'OBSERVABILITY_UPDATE_FEEDBACK_REVIEW_STATUS_CONFLICT';\n\nfunction isFeedbackReviewStatusConflictError(error: unknown): error is Error {\n return error instanceof Error && (error as { id?: unknown }).id === FEEDBACK_REVIEW_STATUS_CONFLICT_CODE;\n}\n\n/**\n * Matches the `OBSERVABILITY_STORAGE_*_NOT_IMPLEMENTED` MastraError the base\n * observability store throws for every optional method a store doesn't\n * implement. Checked by id (not `instanceof`) so it holds across duplicated\n * `@mastra/core` installs.\n */\nfunction isObservabilityStorageNotImplementedError(error: unknown): error is Error {\n const id = error && typeof error === 'object' && 'id' in error ? error.id : undefined;\n return typeof id === 'string' && id.startsWith('OBSERVABILITY_STORAGE_') && id.endsWith('_NOT_IMPLEMENTED');\n}\n\n/**\n * Structural check for ZodError instances.\n *\n * Avoids `instanceof ZodError` because consumers can resolve `'zod'` to a\n * different package instance (e.g. `zod@^3`) than the one a server adapter is\n * bundled with (`zod@^4`). In that case `instanceof` is false and validation\n * errors fall through to a generic response that drops field-path information.\n *\n * See https://github.com/mastra-ai/mastra/issues/17167.\n */\nexport function isZodError(error: unknown): error is ZodError<any> {\n return (\n !!error &&\n typeof error === 'object' &&\n (error as { name?: unknown }).name === 'ZodError' &&\n Array.isArray((error as { issues?: unknown }).issues)\n );\n}\n\n/**\n * Formats a ZodError into a structured validation error response.\n * Returns an object with an error message and an array of field-specific issues.\n */\nexport function formatZodError(\n error: ZodErrorLike,\n context: string,\n): { error: string; issues: Array<{ field: string; message: string }> } {\n const issues = error.issues.map(e => ({\n field: e.path.length > 0 ? e.path.map(p => String(p)).join('.') : 'root',\n message: e.message,\n }));\n\n return {\n error: `Invalid ${context}`,\n issues,\n };\n}\n\n// Helper to handle errors consistently\nexport function handleError(error: unknown, defaultMessage: string): never {\n if (isModelNotAllowedError(error)) {\n const body = {\n error: {\n code: error.code,\n message: error.message,\n allowed: error.allowed,\n attempted: error.attempted,\n offendingLabel: error.offendingLabel,\n },\n };\n const res = new Response(JSON.stringify(body), {\n status: 422,\n headers: { 'content-type': 'application/json' },\n });\n throw new HTTPException(422, {\n res,\n message: error.message,\n cause: error,\n });\n }\n\n // A losing concurrent resume or time travel, or a recover of a run that is live or suspended, is\n // a conflict on run state, not a malformed request, so it maps to 409 and clients can\n // distinguish it from a 400/500 and re-read the run.\n if (isRunClaimConflictError(error) || isDurableRunConflictError(error)) {\n const res = isRunClaimConflictError(error)\n ? new Response(JSON.stringify({ error: error.message, code: error.id }), {\n status: 409,\n headers: { 'content-type': 'application/json' },\n })\n : undefined;\n throw new HTTPException(409, {\n res,\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // The feedback row changed under a review-status update, so the caller re-reads and retries;\n // that is a conflict, not a broken store.\n if (isFeedbackReviewStatusConflictError(error)) {\n throw new HTTPException(409, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n if (isSchemaValidationError(error)) {\n throw new HTTPException(400, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // Optional observability APIs (feedback, metrics, logs, scores, ...) throw\n // `*_NOT_IMPLEMENTED` on stores that don't support them. That's a missing\n // capability, not a server fault, so it maps to 501 — which server adapters\n // log as a warning instead of an error. The message is preserved because\n // clients match on it to detect unsupported operations. Clients should check\n // `GET /observability/capabilities` before calling optional routes.\n if (isObservabilityStorageNotImplementedError(error)) {\n throw new HTTPException(501, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n const apiError = error as ApiError;\n\n const apiErrorStatus = apiError.status || apiError.details?.status || 500;\n\n throw new HTTPException(apiErrorStatus as StatusCode, {\n message: apiError.message || defaultMessage,\n stack: apiError.stack,\n cause: apiError.cause,\n });\n}\n"],"mappings":";;;;;;;;;;;;AA2BA,MAAM,yBAAyB;AAS/B,SAAS,uBAAuB,OAAmD;CACjF,OAAO,iBAAiB,SAAU,MAA6B,SAAS;AAC1E;AAIA,MAAM,iDAAiC,IAAI,IAAI,CAC7C,qCACA,yCACF,CAAC;AAED,SAAS,wBAAwB,OAAgC;CAC/D,MAAM,KAAM,OAAwC;CACpD,OAAO,iBAAiB,SAAS,OAAO,OAAO,YAAY,+BAA+B,IAAI,EAAE;AAClG;AAIA,MAAM,2CAA2B,IAAI,IAAI;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,SAAS,wBAAwB,OA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,gBAAgB,mBAAmB;EAChD,CAAC;EACD,MAAM,IAAI,cAAc,KAAK;GAC3B;GACA,SAAS,MAAM;GACf,OAAO;EACT,CAAC;CACH;CAKA,IAAI,wBAAwB,KAAK,KAAK,0BAA0B,KAAK,GAAG;EACtE,MAAM,MAAM,wBAAwB,KAAK,IACrC,IAAI,SAAS,KAAK,UAAU;GAAE,OAAO,MAAM;GAAS,MAAM,MAAM;EAAG,CAAC,GAAG;GACrE,QAAQ;GACR,SAAS,EAAE,gBAAgB,mBAAmB;EAChD,CAAC,IACD,KAAA;EACJ,MAAM,IAAI,cAAc,KAAK;GAC3B;GACA,SAAS,MAAM;GACf,OAAO,MAAM;GACb,OAAO;EACT,CAAC;CACH;CAIA,IAAI,oCAAoC,KAAK,GAC3C,MAAM,IAAI,cAAc,KAAK;EAC3B,SAAS,MAAM;EACf,OAAO,MAAM;EACb,OAAO;CACT,CAAC;CAGH,IAAI,wBAAwB,KAAK,GAC/B,MAAM,IAAI,cAAc,KAAK;EAC3B,SAAS,MAAM;EACf,OAAO,MAAM;EACb,OAAO;CACT,CAAC;CASH,IAAI,0CAA0C,KAAK,GACjD,MAAM,IAAI,cAAc,KAAK;EAC3B,SAAS,MAAM;EACf,OAAO,MAAM;EACb,OAAO;CACT,CAAC;CAGH,MAAM,WAAW;CAEjB,MAAM,iBAAiB,SAAS,UAAU,SAAS,SAAS,UAAU;CAEtE,MAAM,IAAI,cAAc,gBAA8B;EACpD,SAAS,SAAS,WAAW;EAC7B,OAAO,SAAS;EAChB,OAAO,SAAS;CAClB,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"error.js","names":[],"sources":["../../../src/server/handlers/error.ts"],"sourcesContent":["import type { ZodError } from 'zod';\n\nimport { HTTPException } from '../http-exception';\nimport type { StatusCode } from '../http-exception';\nimport type { ApiError } from '../types';\n\n/**\n * Duck-typed interface for ZodError-like objects.\n * Note: Zod v4 uses PropertyKey[] (string | number | symbol) for path.\n */\nexport interface ZodErrorLike {\n issues: Array<{\n path: PropertyKey[];\n message: string;\n }>;\n}\n\n/**\n * Recognition for `ModelNotAllowedError` from `@mastra/core/agent-builder/ee`.\n *\n * Inlined as a duck check rather than imported so that `handleError` (wired\n * into every route) does not force a load-time dependency on the\n * `@mastra/core/agent-builder/ee` subpath. That subpath only ships in\n * `@mastra/core >= 1.34.0`; deploys whose bundled `@mastra/server` resolves\n * against an older core would otherwise crash at startup with\n * `ERR_MODULE_NOT_FOUND` on `@mastra/core/dist/agent-builder/ee/index.js`.\n */\nconst MODEL_NOT_ALLOWED_CODE = 'MODEL_NOT_ALLOWED';\n\ninterface ModelNotAllowedErrorLike extends Error {\n code: typeof MODEL_NOT_ALLOWED_CODE;\n allowed?: unknown;\n attempted?: unknown;\n offendingLabel?: string;\n}\n\nfunction isModelNotAllowedError(error: unknown): error is ModelNotAllowedErrorLike {\n return error instanceof Error && (error as { code?: unknown }).code === MODEL_NOT_ALLOWED_CODE;\n}\n\n// Input the caller sent failed a workflow or agent schema (including an agent's requestContextSchema),\n// so it is a bad request, not a server fault.\nconst SCHEMA_VALIDATION_FAILED_CODES = new Set([\n 'WORKFLOW_SCHEMA_VALIDATION_FAILED',\n 'AGENT_REQUEST_CONTEXT_VALIDATION_FAILED',\n]);\n\nfunction isSchemaValidationError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && SCHEMA_VALIDATION_FAILED_CODES.has(id);\n}\n\n// A resume or time travel the run can't accept: another caller claimed it, it is still running,\n// or it isn't waiting to be resumed.\nconst RUN_CLAIM_CONFLICT_CODES = new Set([\n 'WORKFLOW_RESUME_ALREADY_CLAIMED',\n 'AGENT_RESUME_ALREADY_CLAIMED',\n 'AGENT_RUN_ID_ALREADY_CLAIMED',\n 'WORKFLOW_RUN_NOT_SUSPENDED',\n 'AGENT_RESUME_RUN_NOT_SUSPENDED',\n 'AGENT_RESUME_ABORTED_RUN',\n 'WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED',\n 'WORKFLOW_TIME_TRAVEL_RUN_RUNNING',\n]);\n\nfunction isRunClaimConflictError(error: unknown): error is Error & { id: string } {\n return error instanceof Error && RUN_CLAIM_CONFLICT_CODES.has((error as { id?: unknown }).id as string);\n}\n\n/**\n * Durable agent errors for a request that conflicts with the run's state:\n * another execution owns the run, it is already being recovered, it lost a\n * concurrent claim, or it is suspended (recover). Matched by id, like the\n * other checks here, so the server doesn't depend on core exporting them.\n */\nconst DURABLE_RUN_CONFLICT_CODES = new Set([\n 'DURABLE_AGENT_RUN_ACTIVE',\n 'DURABLE_AGENT_RECOVER_RUN_ACTIVE_LOCALLY',\n 'DURABLE_AGENT_RECOVER_ALREADY_IN_PROGRESS',\n 'DURABLE_AGENT_RECOVER_RUN_SUSPENDED',\n 'DURABLE_AGENT_RECOVER_RUN_NOT_ACTIVE',\n 'DURABLE_AGENT_EXECUTION_CONFLICT',\n]);\n\nfunction isDurableRunConflictError(error: unknown): error is Error {\n const id = (error as { id?: unknown } | undefined)?.id;\n return error instanceof Error && typeof id === 'string' && DURABLE_RUN_CONFLICT_CODES.has(id);\n}\n\nconst FEEDBACK_REVIEW_STATUS_CONFLICT_CODE = 'OBSERVABILITY_UPDATE_FEEDBACK_REVIEW_STATUS_CONFLICT';\n\nfunction isFeedbackReviewStatusConflictError(error: unknown): error is Error {\n return error instanceof Error && (error as { id?: unknown }).id === FEEDBACK_REVIEW_STATUS_CONFLICT_CODE;\n}\n\n/**\n * Matches the `OBSERVABILITY_STORAGE_*_NOT_IMPLEMENTED` MastraError the base\n * observability store throws for every optional method a store doesn't\n * implement. Checked by id (not `instanceof`) so it holds across duplicated\n * `@mastra/core` installs.\n */\nfunction isObservabilityStorageNotImplementedError(error: unknown): error is Error {\n const id = error && typeof error === 'object' && 'id' in error ? error.id : undefined;\n return typeof id === 'string' && id.startsWith('OBSERVABILITY_STORAGE_') && id.endsWith('_NOT_IMPLEMENTED');\n}\n\n/**\n * Structural check for ZodError instances.\n *\n * Avoids `instanceof ZodError` because consumers can resolve `'zod'` to a\n * different package instance (e.g. `zod@^3`) than the one a server adapter is\n * bundled with (`zod@^4`). In that case `instanceof` is false and validation\n * errors fall through to a generic response that drops field-path information.\n *\n * See https://github.com/mastra-ai/mastra/issues/17167.\n */\nexport function isZodError(error: unknown): error is ZodError<any> {\n return (\n !!error &&\n typeof error === 'object' &&\n (error as { name?: unknown }).name === 'ZodError' &&\n Array.isArray((error as { issues?: unknown }).issues)\n );\n}\n\n/**\n * Formats a ZodError into a structured validation error response.\n * Returns an object with an error message and an array of field-specific issues.\n */\nexport function formatZodError(\n error: ZodErrorLike,\n context: string,\n): { error: string; issues: Array<{ field: string; message: string }> } {\n const issues = error.issues.map(e => ({\n field: e.path.length > 0 ? e.path.map(p => String(p)).join('.') : 'root',\n message: e.message,\n }));\n\n return {\n error: `Invalid ${context}`,\n issues,\n };\n}\n\n// Helper to handle errors consistently\nexport function handleError(error: unknown, defaultMessage: string): never {\n if (isModelNotAllowedError(error)) {\n const body = {\n error: {\n code: error.code,\n message: error.message,\n allowed: error.allowed,\n attempted: error.attempted,\n offendingLabel: error.offendingLabel,\n },\n };\n const res = new Response(JSON.stringify(body), {\n status: 422,\n headers: { 'content-type': 'application/json' },\n });\n throw new HTTPException(422, {\n res,\n message: error.message,\n cause: error,\n });\n }\n\n // A losing concurrent resume or time travel, or a recover of a run that is live or suspended, is\n // a conflict on run state, not a malformed request, so it maps to 409 and clients can\n // distinguish it from a 400/500 and re-read the run.\n if (isRunClaimConflictError(error) || isDurableRunConflictError(error)) {\n const res = isRunClaimConflictError(error)\n ? new Response(JSON.stringify({ error: error.message, code: error.id }), {\n status: 409,\n headers: { 'content-type': 'application/json' },\n })\n : undefined;\n throw new HTTPException(409, {\n res,\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // The feedback row changed under a review-status update, so the caller re-reads and retries;\n // that is a conflict, not a broken store.\n if (isFeedbackReviewStatusConflictError(error)) {\n throw new HTTPException(409, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n if (isSchemaValidationError(error)) {\n throw new HTTPException(400, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n // Optional observability APIs (feedback, metrics, logs, scores, ...) throw\n // `*_NOT_IMPLEMENTED` on stores that don't support them. That's a missing\n // capability, not a server fault, so it maps to 501 — which server adapters\n // log as a warning instead of an error. The message is preserved because\n // clients match on it to detect unsupported operations. Clients should check\n // `GET /observability/capabilities` before calling optional routes.\n if (isObservabilityStorageNotImplementedError(error)) {\n throw new HTTPException(501, {\n message: error.message,\n stack: error.stack,\n cause: error,\n });\n }\n\n const apiError = error as ApiError;\n\n const apiErrorStatus = apiError.status || apiError.details?.status || 500;\n\n throw new HTTPException(apiErrorStatus as StatusCode, {\n message: apiError.message || defaultMessage,\n stack: apiError.stack,\n cause: apiError.cause,\n });\n}\n"],"mappings":";;;;;;;;;;;;AA2BA,MAAM,yBAAyB;AAS/B,SAAS,uBAAuB,OAAmD;CACjF,OAAO,iBAAiB,SAAU,MAA6B,SAAS;AAC1E;AAIA,MAAM,iDAAiC,IAAI,IAAI,CAC7C,qCACA,yCACF,CAAC;AAED,SAAS,wBAAwB,OAAgC;CAC/D,MAAM,KAAM,OAAwC;CACpD,OAAO,iBAAiB,SAAS,OAAO,OAAO,YAAY,+BAA+B,IAAI,EAAE;AAClG;AAIA,MAAM,2CAA2B,IAAI,IAAI;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,SAAS,wBAAwB,OAAiD;CAChF,OAAO,iBAAiB,SAAS,yBAAyB,IAAK,MAA2B,EAAY;AACxG;;;;;;;AAQA,MAAM,6CAA6B,IAAI,IAAI;CACzC;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,SAAS,0BAA0B,OAAgC;CACjE,MAAM,KAAM,OAAwC;CACpD,OAAO,iBAAiB,SAAS,OAAO,OAAO,YAAY,2BAA2B,IAAI,EAAE;AAC9F;AAEA,MAAM,uCAAuC;AAE7C,S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AAS,EAAE,gBAAgB,mBAAmB;EAChD,CAAC,IACD,KAAA;EACJ,MAAM,IAAI,cAAc,KAAK;GAC3B;GACA,SAAS,MAAM;GACf,OAAO,MAAM;GACb,OAAO;EACT,CAAC;CACH;CAIA,IAAI,oCAAoC,KAAK,GAC3C,MAAM,IAAI,cAAc,KAAK;EAC3B,SAAS,MAAM;EACf,OAAO,MAAM;EACb,OAAO;CACT,CAAC;CAGH,IAAI,wBAAwB,KAAK,GAC/B,MAAM,IAAI,cAAc,KAAK;EAC3B,SAAS,MAAM;EACf,OAAO,MAAM;EACb,OAAO;CACT,CAAC;CASH,IAAI,0CAA0C,KAAK,GACjD,MAAM,IAAI,cAAc,KAAK;EAC3B,SAAS,MAAM;EACf,OAAO,MAAM;EACb,OAAO;CACT,CAAC;CAGH,MAAM,WAAW;CAEjB,MAAM,iBAAiB,SAAS,UAAU,SAAS,SAAS,UAAU;CAEtE,MAAM,IAAI,cAAc,gBAA8B;EACpD,SAAS,SAAS,WAAW;EAC7B,OAAO,SAAS;EAChB,OAAO,SAAS;CAClB,CAAC;AACH"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
3
|
const require_server_handlers_authorship = require("./authorship.cjs");
|
|
4
|
-
const require_editor_builder = require("../../editor-builder-
|
|
4
|
+
const require_editor_builder = require("../../editor-builder-BTi2EIB1.cjs");
|
|
5
5
|
// src/server/handlers/favorites-enrichment.ts
|
|
6
6
|
/**
|
|
7
7
|
* Resolve the EE feature flag plus the caller's favorited set for a list of
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCallerAuthorId } from "./authorship.js";
|
|
2
|
-
import { i as isBuilderFeatureEnabled } from "../../editor-builder-
|
|
2
|
+
import { i as isBuilderFeatureEnabled } from "../../editor-builder-B4-g7fu_.js";
|
|
3
3
|
// src/server/handlers/favorites-enrichment.ts
|
|
4
4
|
/**
|
|
5
5
|
* Resolve the EE feature flag plus the caller's favorited set for a list of
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../rolldown-runtime-10nMEhjP.cjs");
|
|
3
|
-
const require_observability_new_endpoints = require("../../observability-new-endpoints-
|
|
3
|
+
const require_observability_new_endpoints = require("../../observability-new-endpoints-sgqxTIAg.cjs");
|
|
4
4
|
exports.AGGREGATE_SPANS = require_observability_new_endpoints.AGGREGATE_SPANS;
|
|
5
5
|
exports.AGGREGATE_TRACES = require_observability_new_endpoints.AGGREGATE_TRACES;
|
|
6
6
|
exports.CREATE_FEEDBACK = require_observability_new_endpoints.CREATE_FEEDBACK;
|
|
@@ -9,6 +9,7 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
9
9
|
streamFormat?: 'sse' | 'stream';
|
|
10
10
|
sseFlushOnConnect?: boolean;
|
|
11
11
|
handler(params: {
|
|
12
|
+
textSearch?: string | undefined;
|
|
12
13
|
timeRange: {
|
|
13
14
|
from: string;
|
|
14
15
|
to: string;
|
|
@@ -144,6 +145,7 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
144
145
|
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
145
146
|
onValidationError?: ValidationErrorHook;
|
|
146
147
|
readonly __schemas?: import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodPreprocess<z.ZodObject<{
|
|
148
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
147
149
|
timeRange: z.ZodObject<{
|
|
148
150
|
from: z.ZodString;
|
|
149
151
|
to: z.ZodString;
|
|
@@ -620,6 +622,7 @@ export declare const QUERY_SPANS: Omit<import("@mastra/core/server").ApiRoute, "
|
|
|
620
622
|
to: string;
|
|
621
623
|
};
|
|
622
624
|
where?: coreStorage.TraceQueryScalarPredicate | undefined;
|
|
625
|
+
textSearch?: string | undefined;
|
|
623
626
|
orderBy: {
|
|
624
627
|
field: "endedAt" | "startedAt" | "timeToFirstChunkMs" | "timeToFirstTokenMs";
|
|
625
628
|
direction: "asc" | "desc";
|
|
@@ -693,6 +696,7 @@ export declare const QUERY_SPANS: Omit<import("@mastra/core/server").ApiRoute, "
|
|
|
693
696
|
to: z.ZodString;
|
|
694
697
|
}, z.core.$strict>;
|
|
695
698
|
where: z.ZodOptional<z.ZodType<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate, z.core.$ZodTypeInternals<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate>>>;
|
|
699
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
696
700
|
orderBy: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
697
701
|
field: z.ZodEnum<{
|
|
698
702
|
endedAt: "endedAt";
|
|
@@ -4205,6 +4209,8 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4205
4209
|
};
|
|
4206
4210
|
deltaPolling: boolean;
|
|
4207
4211
|
traceQuery: boolean;
|
|
4212
|
+
traceQueryTextSearch: boolean;
|
|
4213
|
+
spanQueryTextSearch: boolean;
|
|
4208
4214
|
traceQueryRootDuration: boolean;
|
|
4209
4215
|
traceQueryContextIds: boolean;
|
|
4210
4216
|
traceQueryContextFields: boolean;
|
|
@@ -4256,6 +4262,8 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4256
4262
|
}, z.core.$strip>;
|
|
4257
4263
|
deltaPolling: z.ZodBoolean;
|
|
4258
4264
|
traceQuery: z.ZodBoolean;
|
|
4265
|
+
traceQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
4266
|
+
spanQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
4259
4267
|
traceQueryRootDuration: z.ZodBoolean;
|
|
4260
4268
|
traceQueryContextIds: z.ZodBoolean;
|
|
4261
4269
|
traceQueryContextFields: z.ZodBoolean;
|
|
@@ -4293,6 +4301,7 @@ export declare const NEW_ROUTES: {
|
|
|
4293
4301
|
streamFormat?: 'sse' | 'stream';
|
|
4294
4302
|
sseFlushOnConnect?: boolean;
|
|
4295
4303
|
handler(params: {
|
|
4304
|
+
textSearch?: string | undefined;
|
|
4296
4305
|
timeRange: {
|
|
4297
4306
|
from: string;
|
|
4298
4307
|
to: string;
|
|
@@ -4428,6 +4437,7 @@ export declare const NEW_ROUTES: {
|
|
|
4428
4437
|
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
4429
4438
|
onValidationError?: ValidationErrorHook;
|
|
4430
4439
|
readonly __schemas?: import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodPreprocess<z.ZodObject<{
|
|
4440
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
4431
4441
|
timeRange: z.ZodObject<{
|
|
4432
4442
|
from: z.ZodString;
|
|
4433
4443
|
to: z.ZodString;
|
|
@@ -4781,6 +4791,7 @@ export declare const NEW_ROUTES: {
|
|
|
4781
4791
|
to: string;
|
|
4782
4792
|
};
|
|
4783
4793
|
where?: coreStorage.TraceQueryScalarPredicate | undefined;
|
|
4794
|
+
textSearch?: string | undefined;
|
|
4784
4795
|
orderBy: {
|
|
4785
4796
|
field: "endedAt" | "startedAt" | "timeToFirstChunkMs" | "timeToFirstTokenMs";
|
|
4786
4797
|
direction: "asc" | "desc";
|
|
@@ -4854,6 +4865,7 @@ export declare const NEW_ROUTES: {
|
|
|
4854
4865
|
to: z.ZodString;
|
|
4855
4866
|
}, z.core.$strict>;
|
|
4856
4867
|
where: z.ZodOptional<z.ZodType<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate, z.core.$ZodTypeInternals<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate>>>;
|
|
4868
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
4857
4869
|
orderBy: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4858
4870
|
field: z.ZodEnum<{
|
|
4859
4871
|
endedAt: "endedAt";
|
|
@@ -7962,6 +7974,8 @@ export declare const NEW_ROUTES: {
|
|
|
7962
7974
|
};
|
|
7963
7975
|
deltaPolling: boolean;
|
|
7964
7976
|
traceQuery: boolean;
|
|
7977
|
+
traceQueryTextSearch: boolean;
|
|
7978
|
+
spanQueryTextSearch: boolean;
|
|
7965
7979
|
traceQueryRootDuration: boolean;
|
|
7966
7980
|
traceQueryContextIds: boolean;
|
|
7967
7981
|
traceQueryContextFields: boolean;
|
|
@@ -8013,6 +8027,8 @@ export declare const NEW_ROUTES: {
|
|
|
8013
8027
|
}, z.core.$strip>;
|
|
8014
8028
|
deltaPolling: z.ZodBoolean;
|
|
8015
8029
|
traceQuery: z.ZodBoolean;
|
|
8030
|
+
traceQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
8031
|
+
spanQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
8016
8032
|
traceQueryRootDuration: z.ZodBoolean;
|
|
8017
8033
|
traceQueryContextIds: z.ZodBoolean;
|
|
8018
8034
|
traceQueryContextFields: z.ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observability-new-endpoints.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability-new-endpoints.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAsB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"observability-new-endpoints.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability-new-endpoints.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AGGREGATE_SPANS, n as AGGREGATE_TRACES, r as CREATE_FEEDBACK, i as CREATE_SCORE, a as DELETE_FEEDBACK, o as DELETE_SCORES, s as GET_CAPABILITIES, c as GET_ENTITY_NAMES, l as GET_ENTITY_TYPES, u as GET_ENVIRONMENTS, d as GET_FEEDBACK, f as GET_FEEDBACK_AGGREGATE, p as GET_FEEDBACK_BREAKDOWN, m as GET_FEEDBACK_PERCENTILES, h as GET_FEEDBACK_TIME_SERIES, g as GET_METRIC_AGGREGATE, _ as GET_METRIC_BREAKDOWN, v as GET_METRIC_LABEL_KEYS, y as GET_METRIC_LABEL_VALUES, b as GET_METRIC_NAMES, x as GET_METRIC_PERCENTILES, S as GET_METRIC_TIME_SERIES, C as GET_SCORE, w as GET_SCORE_AGGREGATE, T as GET_SCORE_BREAKDOWN, E as GET_SCORE_PERCENTILES, D as GET_SCORE_TIME_SERIES, O as GET_SERVICE_NAMES, k as GET_TAGS, A as GET_TRACE_QUERY_FIELDS, j as GET_TRACE_QUERY_VALUES, M as LIST_FEEDBACK, N as LIST_LOGS, P as LIST_METRICS, F as LIST_SCORES, I as NEW_ROUTES, L as QUERY_SPANS, R as QUERY_THREADS, z as QUERY_TRACES, B as UPDATE_FEEDBACK_REVIEW_STATUS } from "../../observability-new-endpoints-
|
|
1
|
+
export { t as AGGREGATE_SPANS, n as AGGREGATE_TRACES, r as CREATE_FEEDBACK, i as CREATE_SCORE, a as DELETE_FEEDBACK, o as DELETE_SCORES, s as GET_CAPABILITIES, c as GET_ENTITY_NAMES, l as GET_ENTITY_TYPES, u as GET_ENVIRONMENTS, d as GET_FEEDBACK, f as GET_FEEDBACK_AGGREGATE, p as GET_FEEDBACK_BREAKDOWN, m as GET_FEEDBACK_PERCENTILES, h as GET_FEEDBACK_TIME_SERIES, g as GET_METRIC_AGGREGATE, _ as GET_METRIC_BREAKDOWN, v as GET_METRIC_LABEL_KEYS, y as GET_METRIC_LABEL_VALUES, b as GET_METRIC_NAMES, x as GET_METRIC_PERCENTILES, S as GET_METRIC_TIME_SERIES, C as GET_SCORE, w as GET_SCORE_AGGREGATE, T as GET_SCORE_BREAKDOWN, E as GET_SCORE_PERCENTILES, D as GET_SCORE_TIME_SERIES, O as GET_SERVICE_NAMES, k as GET_TAGS, A as GET_TRACE_QUERY_FIELDS, j as GET_TRACE_QUERY_VALUES, M as LIST_FEEDBACK, N as LIST_LOGS, P as LIST_METRICS, F as LIST_SCORES, I as NEW_ROUTES, L as QUERY_SPANS, R as QUERY_THREADS, z as QUERY_TRACES, B as UPDATE_FEEDBACK_REVIEW_STATUS } from "../../observability-new-endpoints-ynMOfgxs.js";
|
|
@@ -127,6 +127,10 @@ function assertObservabilitySpanAggregateSupported(observabilityStore) {
|
|
|
127
127
|
if (getFeatures(observabilityStore)?.includes(OBSERVABILITY_SPAN_AGGREGATE_STORAGE_FEATURE)) return;
|
|
128
128
|
throw new require_http_exception.HTTPException(501, { message: "Span aggregation is not supported by the configured observability store" });
|
|
129
129
|
}
|
|
130
|
+
/** Reject unsupported search instead of silently returning unfiltered results. */
|
|
131
|
+
function assertObservabilityTextSearchSupported(observabilityStore, textSearch, kind) {
|
|
132
|
+
if (textSearch !== void 0 && !getFeatures(observabilityStore)?.includes(`${kind}-query-text-search`)) throw new require_http_exception.HTTPException(501, { message: "Text search is not supported by the configured observability store" });
|
|
133
|
+
}
|
|
130
134
|
function assertObservabilitySpanQuerySupported(observabilityStore) {
|
|
131
135
|
if (getFeatures(observabilityStore)?.includes(OBSERVABILITY_SPAN_QUERY_STORAGE_FEATURE)) return;
|
|
132
136
|
throw new require_http_exception.HTTPException(501, { message: "Span queries are not supported by the configured observability store" });
|
|
@@ -343,6 +347,7 @@ const NO_OBSERVABILITY_STORAGE_CAPABILITIES = {
|
|
|
343
347
|
},
|
|
344
348
|
deltaPolling: false,
|
|
345
349
|
traceQuery: false,
|
|
350
|
+
traceQueryTextSearch: false,
|
|
346
351
|
traceQueryRootDuration: false,
|
|
347
352
|
traceQueryContextIds: false,
|
|
348
353
|
traceQueryContextFields: false,
|
|
@@ -358,6 +363,7 @@ const NO_OBSERVABILITY_STORAGE_CAPABILITIES = {
|
|
|
358
363
|
threadQuery: false,
|
|
359
364
|
threadQueryRows: false,
|
|
360
365
|
spanQuery: false,
|
|
366
|
+
spanQueryTextSearch: false,
|
|
361
367
|
spanAggregate: false,
|
|
362
368
|
spanQueryContextFields: false,
|
|
363
369
|
spanQueryModelFields: false,
|
|
@@ -416,6 +422,7 @@ function getObservabilityStorageCapabilities(observabilityStore) {
|
|
|
416
422
|
},
|
|
417
423
|
deltaPolling: _mastra_core_features.coreFeatures.has("observability-delta-polling") && declares(OBSERVABILITY_DELTA_POLLING_STORAGE_FEATURE),
|
|
418
424
|
traceQuery,
|
|
425
|
+
traceQueryTextSearch: traceQuery && _mastra_core_storage.observabilityTextSearchSchema !== void 0 && declares("trace-query-text-search"),
|
|
419
426
|
traceQueryRootDuration: (traceQuery || threadQuery) && declares(OBSERVABILITY_TRACE_QUERY_ROOT_DURATION_STORAGE_FEATURE),
|
|
420
427
|
traceQueryContextIds: (traceQuery || threadQuery) && declares(OBSERVABILITY_TRACE_QUERY_CONTEXT_IDS_STORAGE_FEATURE),
|
|
421
428
|
traceQueryContextFields: (traceQuery || threadQuery) && declares(OBSERVABILITY_TRACE_QUERY_CONTEXT_FIELDS_STORAGE_FEATURE),
|
|
@@ -431,6 +438,7 @@ function getObservabilityStorageCapabilities(observabilityStore) {
|
|
|
431
438
|
threadQuery,
|
|
432
439
|
threadQueryRows: threadQuery && typeof _mastra_core_storage.planThreadRowsQuery === "function" && declares("thread-query-rows"),
|
|
433
440
|
spanQuery,
|
|
441
|
+
spanQueryTextSearch: spanQuery && _mastra_core_storage.observabilityTextSearchSchema !== void 0 && declares("span-query-text-search"),
|
|
434
442
|
spanQueryContextFields: spanQuery && declares("span-query-context-fields"),
|
|
435
443
|
spanQueryModelFields: spanQuery && declares(OBSERVABILITY_SPAN_QUERY_MODEL_FIELDS_STORAGE_FEATURE),
|
|
436
444
|
spanQueryOutcomeFields: spanQuery && declares(OBSERVABILITY_SPAN_QUERY_OUTCOME_FIELDS_STORAGE_FEATURE),
|
|
@@ -809,6 +817,7 @@ exports.assertObservabilitySpanQueryFieldsSupported = assertObservabilitySpanQue
|
|
|
809
817
|
exports.assertObservabilitySpanQueryModelFieldsSupported = assertObservabilitySpanQueryModelFieldsSupported;
|
|
810
818
|
exports.assertObservabilitySpanQueryOutcomeFieldsSupported = assertObservabilitySpanQueryOutcomeFieldsSupported;
|
|
811
819
|
exports.assertObservabilitySpanQuerySupported = assertObservabilitySpanQuerySupported;
|
|
820
|
+
exports.assertObservabilityTextSearchSupported = assertObservabilityTextSearchSupported;
|
|
812
821
|
exports.assertObservabilityThreadQuerySupported = assertObservabilityThreadQuerySupported;
|
|
813
822
|
exports.assertObservabilityTraceAggregateSupported = assertObservabilityTraceAggregateSupported;
|
|
814
823
|
exports.assertObservabilityTraceQueryContextFieldsSupported = assertObservabilityTraceQueryContextFieldsSupported;
|