@mastra/server 1.86.0-alpha.6 → 1.86.0-alpha.8

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.
Files changed (126) hide show
  1. package/dist/{a2a-BFN2C8f2.js → a2a-BfWMjFe2.js} +1 -1
  2. package/dist/{a2a-DlEIsCZz.cjs → a2a-DQIwTZyo.cjs} +1 -1
  3. package/dist/{agent-builder-Bd6qGrt6.js → agent-builder-DpuK5-6A.js} +2 -2
  4. package/dist/{agent-builder-Bz1beuPE.cjs → agent-builder-NSemjs4B.cjs} +2 -2
  5. package/dist/{agent-controller-BHJDvCaS.cjs → agent-controller-BP-CFfsg.cjs} +9 -9
  6. package/dist/{agent-controller-NRR6SK66.js → agent-controller-CzKnfKkw.js} +9 -9
  7. package/dist/{agent-versions-CwWhEoU5.cjs → agent-versions-0q4KKmLv.cjs} +12 -12
  8. package/dist/{agent-versions-DfcKpYNW.js → agent-versions-Pml6WNbA.js} +12 -12
  9. package/dist/{agents-DiQ_L6BU.cjs → agents-BO1mcMDf.cjs} +31 -9
  10. package/dist/{agents-BMdbohgU.js → agents-YvaBPFiS.js} +31 -9
  11. package/dist/{api-schema-manifest-BuAf53GH.cjs → api-schema-manifest-016lHJO2.cjs} +1 -1
  12. package/dist/{api-schema-manifest-CsefW4Vv.js → api-schema-manifest-CAZsA5Lk.js} +1 -1
  13. package/dist/{catalogue-CAIZ08il.cjs → catalogue-Cf7Zz7zb.cjs} +11 -11
  14. package/dist/{catalogue-BtSLF1p2.js → catalogue-DN4dvU88.js} +11 -11
  15. package/dist/{conversations-Dzpv_Cgt.js → conversations-4ZO0Pjvk.js} +1 -1
  16. package/dist/{conversations-6v0VCbif.cjs → conversations-BaYtooZZ.cjs} +1 -1
  17. package/dist/{datasets-C1XJLHN8.js → datasets-CYdtUF8e.js} +4 -1
  18. package/dist/{datasets-hqDd4IUN.cjs → datasets-CZRqni0N.cjs} +4 -1
  19. package/dist/dist-Bz6gINFc.js +1 -0
  20. package/dist/{dist-C5rwoPuL.cjs → dist-DaRCrkAU.cjs} +514 -238
  21. package/dist/{dist-C0Das1QD.cjs → dist-uiPbWl5E.cjs} +1 -1
  22. package/dist/{dist-Czbww9cr.js → dist-yny1avqv.js} +514 -238
  23. package/dist/docs/SKILL.md +1 -1
  24. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  25. package/dist/docs/references/reference-observability-tracing-advanced-queries.md +20 -0
  26. package/dist/{dynamic-workflows-DPgV6qtS.cjs → dynamic-workflows-CEKdGcSr.cjs} +4 -4
  27. package/dist/{dynamic-workflows-DmkCJ4Lp.js → dynamic-workflows-DF9X_oDG.js} +4 -4
  28. package/dist/{editor-builder-Cx9ZiHBw.cjs → editor-builder-ChYG8YTs.cjs} +1 -1
  29. package/dist/{editor-builder-DpNB1W4s.js → editor-builder-CwsIbd0F.js} +1 -1
  30. package/dist/{observability-zr7LDCQG.js → observability-URaJnI_U.js} +1 -1
  31. package/dist/{observability-Cn4P60P4.cjs → observability-zNA_CVaz.cjs} +1 -1
  32. package/dist/{plans-BoUO4vWD.js → plans-CbR8EDiT.js} +1 -1
  33. package/dist/{plans-DYNE2s8s.cjs → plans-k3UN9Nd1.cjs} +1 -1
  34. package/dist/probe-image-size-DZvSdjzK.js +13297 -0
  35. package/dist/probe-image-size-z8zXmjaH.cjs +13304 -0
  36. package/dist/{responses-ByDnfqlJ.cjs → responses-B-BKx236.cjs} +1 -1
  37. package/dist/{responses-CGv4KFQ3.js → responses-Blzxy0XP.js} +1 -1
  38. package/dist/{routes-C0TLNOPH.js → routes-D-I2voQe.js} +16 -16
  39. package/dist/{routes-BLjObOVE.cjs → routes-jiZyt9kU.cjs} +16 -16
  40. package/dist/{schedules-0ceTSdBB.cjs → schedules-CwL28Eca.cjs} +4 -4
  41. package/dist/{schedules-D_VfFdAH.js → schedules-RWgPeypN.js} +4 -4
  42. package/dist/{scorer-versions-Bhdvt-cX.cjs → scorer-versions-DK-PGj7-.cjs} +1 -1
  43. package/dist/{scorer-versions-DhT7Lj33.js → scorer-versions-oJoK2Exw.js} +1 -1
  44. package/dist/{scores-EVbkxGHy.cjs → scores-BikU9phm.cjs} +1 -1
  45. package/dist/{scores-CqNF-thA.js → scores-DAv6Uisq.js} +1 -1
  46. package/dist/server/handlers/a2a.cjs +1 -1
  47. package/dist/server/handlers/a2a.js +1 -1
  48. package/dist/server/handlers/agent-builder.cjs +1 -1
  49. package/dist/server/handlers/agent-builder.js +1 -1
  50. package/dist/server/handlers/agent-controller.cjs +1 -1
  51. package/dist/server/handlers/agent-controller.js +1 -1
  52. package/dist/server/handlers/agent-versions.cjs +1 -1
  53. package/dist/server/handlers/agent-versions.js +1 -1
  54. package/dist/server/handlers/agents.cjs +1 -1
  55. package/dist/server/handlers/agents.js +1 -1
  56. package/dist/server/handlers/auth.cjs +1 -1
  57. package/dist/server/handlers/auth.js +1 -1
  58. package/dist/server/handlers/conversations.cjs +1 -1
  59. package/dist/server/handlers/conversations.js +1 -1
  60. package/dist/server/handlers/datasets.cjs +16 -11
  61. package/dist/server/handlers/datasets.d.ts +6 -0
  62. package/dist/server/handlers/datasets.js +16 -11
  63. package/dist/server/handlers/dynamic-workflows.cjs +1 -1
  64. package/dist/server/handlers/dynamic-workflows.js +1 -1
  65. package/dist/server/handlers/editor-builder.cjs +1 -1
  66. package/dist/server/handlers/editor-builder.js +1 -1
  67. package/dist/server/handlers/favorites-enrichment.cjs +1 -1
  68. package/dist/server/handlers/favorites-enrichment.js +1 -1
  69. package/dist/server/handlers/observability.cjs +1 -1
  70. package/dist/server/handlers/observability.js +1 -1
  71. package/dist/server/handlers/plans.cjs +1 -1
  72. package/dist/server/handlers/plans.js +1 -1
  73. package/dist/server/handlers/responses.cjs +1 -1
  74. package/dist/server/handlers/responses.js +1 -1
  75. package/dist/server/handlers/schedules.cjs +1 -1
  76. package/dist/server/handlers/schedules.js +1 -1
  77. package/dist/server/handlers/scorer-versions.cjs +1 -1
  78. package/dist/server/handlers/scorer-versions.js +1 -1
  79. package/dist/server/handlers/scores.cjs +1 -1
  80. package/dist/server/handlers/scores.js +1 -1
  81. package/dist/server/handlers/stored-agent-favorites.cjs +3 -3
  82. package/dist/server/handlers/stored-agent-favorites.js +3 -3
  83. package/dist/server/handlers/stored-agents.cjs +2 -2
  84. package/dist/server/handlers/stored-agents.js +2 -2
  85. package/dist/server/handlers/stored-scorers.cjs +1 -1
  86. package/dist/server/handlers/stored-scorers.js +1 -1
  87. package/dist/server/handlers/stored-skill-favorites.cjs +2 -2
  88. package/dist/server/handlers/stored-skill-favorites.js +2 -2
  89. package/dist/server/handlers/stored-skills.cjs +1 -1
  90. package/dist/server/handlers/stored-skills.js +1 -1
  91. package/dist/server/handlers/system.cjs +1 -1
  92. package/dist/server/handlers/system.js +1 -1
  93. package/dist/server/handlers/tool-providers.cjs +2 -2
  94. package/dist/server/handlers/tool-providers.js +2 -2
  95. package/dist/server/handlers/tools.cjs +1 -1
  96. package/dist/server/handlers/tools.js +1 -1
  97. package/dist/server/handlers/voice.cjs +1 -1
  98. package/dist/server/handlers/voice.js +1 -1
  99. package/dist/server/handlers/workflows.cjs +1 -1
  100. package/dist/server/handlers/workflows.js +1 -1
  101. package/dist/server/handlers.cjs +12 -12
  102. package/dist/server/handlers.js +12 -12
  103. package/dist/server/schemas/datasets.d.ts +3 -0
  104. package/dist/server/schemas/index.cjs +6 -6
  105. package/dist/server/schemas/index.js +6 -6
  106. package/dist/server/server-adapter/index.cjs +3 -3
  107. package/dist/server/server-adapter/index.js +3 -3
  108. package/dist/server/server-adapter/routes/datasets.d.ts +6 -0
  109. package/dist/{server-adapter-BkAKl970.cjs → server-adapter-BB2Lw2Ig.cjs} +4 -4
  110. package/dist/{server-adapter-CxMHZZAv.js → server-adapter-CMJcvkpD.js} +4 -4
  111. package/dist/{stored-agents-m0Knvv29.cjs → stored-agents-BS4_LGSs.cjs} +32 -32
  112. package/dist/{stored-agents-DmN_pIIl.js → stored-agents-DcyDMKP2.js} +32 -32
  113. package/dist/{stored-scorers-2F2k6XSx.js → stored-scorers-Bdz_5k57.js} +1 -1
  114. package/dist/{stored-scorers-iM2Qq9Nh.cjs → stored-scorers-D8YYszOj.cjs} +1 -1
  115. package/dist/{tool-providers-Cq3vFqgE.js → tool-providers-BN2Ni06Z.js} +2 -2
  116. package/dist/{tool-providers-BVwRJTtB.cjs → tool-providers-BeiSkVHu.cjs} +2 -2
  117. package/dist/{tools-D07qyAT0.cjs → tools-CoamSJif.cjs} +1 -1
  118. package/dist/{tools-CZmeb9MB.js → tools-DsSk01Ti.js} +1 -1
  119. package/dist/{voice-BNwHCtxv.js → voice-BFh2Zx5m.js} +1 -1
  120. package/dist/{voice-DN72TM58.cjs → voice-CquR7YyA.cjs} +1 -1
  121. package/dist/{workflows-gIKukZ1O.cjs → workflows-CHKSHV4f.cjs} +33 -0
  122. package/dist/{workflows-D3QrUMfm.js → workflows-D5bfbang.js} +33 -0
  123. package/package.json +3 -3
  124. package/dist/dist-C_7xKME1.js +0 -1
  125. package/dist/probe-image-size-C0BvSeqt.js +0 -13297
  126. package/dist/probe-image-size-DQsyQSUh.cjs +0 -13304
@@ -1,7 +1,7 @@
1
1
  import { g as isReservedRequestContextKey } from "../../constants-C1ASuP4t.js";
2
2
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
3
3
  import { f as successResponseSchema } from "../../common-J-yUnHk9.js";
4
- import { A as listDatasetVersionsResponseSchema, B as paginationQuerySchema, C as experimentResultResponseSchema, D as generateItemsResponseSchema, E as generateItemsBodySchema, F as listExperimentsQuerySchema, H as runExperimentItemBodySchema, I as listExperimentsResponseSchema, J as triggerExperimentBodySchema, K as submitExperimentResultBodySchema, L as listItemVersionsResponseSchema, M as listDatasetsResponseSchema, N as listExperimentResultsQuerySchema, P as listExperimentResultsResponseSchema, Q as updateItemBodySchema, R as listItemsQuerySchema, S as experimentResultIdPathParams, T as experimentSummaryResponseSchema, U as runExperimentItemResponseSchema, V as reviewSummaryResponseSchema, 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, l as compareExperimentsBodySchema, m as datasetExperimentAndItemIdPathParams, o as batchInsertItemsResponseSchema, p as datasetAndItemIdPathParams, q as tenancyQuerySchema, r as batchDeleteItemsBodySchema, s as clusterFailuresBodySchema, t as addItemBodySchema, u as comparisonResponseSchema, v as datasetResponseSchema, x as experimentResponseSchema, z as listItemsResponseSchema } from "../../datasets-C1XJLHN8.js";
4
+ import { A as listDatasetVersionsResponseSchema, B as paginationQuerySchema, C as experimentResultResponseSchema, D as generateItemsResponseSchema, E as generateItemsBodySchema, F as listExperimentsQuerySchema, H as runExperimentItemBodySchema, I as listExperimentsResponseSchema, J as triggerExperimentBodySchema, K as submitExperimentResultBodySchema, L as listItemVersionsResponseSchema, M as listDatasetsResponseSchema, N as listExperimentResultsQuerySchema, P as listExperimentResultsResponseSchema, Q as updateItemBodySchema, R as listItemsQuerySchema, S as experimentResultIdPathParams, T as experimentSummaryResponseSchema, U as runExperimentItemResponseSchema, V as reviewSummaryResponseSchema, 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, l as compareExperimentsBodySchema, m as datasetExperimentAndItemIdPathParams, o as batchInsertItemsResponseSchema, p as datasetAndItemIdPathParams, q as tenancyQuerySchema, r as batchDeleteItemsBodySchema, s as clusterFailuresBodySchema, t as addItemBodySchema, u as comparisonResponseSchema, v as datasetResponseSchema, x as experimentResponseSchema, z as listItemsResponseSchema } from "../../datasets-CYdtUF8e.js";
5
5
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
6
6
  import { handleError } from "./error.js";
7
7
  import { z as z$1 } from "zod";
@@ -72,7 +72,8 @@ function getHttpStatusForMastraError(errorId) {
72
72
  case "DATASET_ITEM_NOT_FOUND": return 404;
73
73
  case "EXPERIMENT_HAS_TARGET":
74
74
  case "EXPERIMENT_HAS_NO_TARGET":
75
- case "EXPERIMENT_INVALID_TARGET": return 400;
75
+ case "EXPERIMENT_INVALID_TARGET":
76
+ case "EXPERIMENT_NOT_DURABLE": return 400;
76
77
  case "EXPERIMENT_TARGET_NOT_FOUND": return 404;
77
78
  case "DATASET_ITEM_IDENTITY_CONFLICT":
78
79
  case "EXPERIMENT_ID_CONFLICT":
@@ -630,13 +631,13 @@ const TRIGGER_EXPERIMENT_ROUTE = createRoute({
630
631
  bodySchema: triggerExperimentBodySchema,
631
632
  responseSchema: experimentSummaryResponseSchema,
632
633
  summary: "Trigger or create an experiment",
633
- description: "By default triggers a new experiment on the dataset against the specified target: returns immediately with pending status and execution happens in background. With start: false, creates the experiment without running it so the caller can drive the loop (run-item for targeted experiments, result submission for target-less ones). Create-only requests are idempotent on a caller-supplied id.",
634
+ description: "By default triggers a new experiment on the dataset against the specified target: returns immediately with pending status and execution happens in background. With durable: true it starts as a durable evented workflow instead, which runs wherever the Mastra pubsub events are handled. With start: false, creates the experiment without running it so the caller can drive the loop (run-item for targeted experiments, result submission for target-less ones). Create-only requests are idempotent on a caller-supplied id.",
634
635
  tags: ["Datasets"],
635
636
  requiresAuth: true,
636
637
  handler: async ({ mastra, datasetId, ...params }) => {
637
638
  assertDatasetsAvailable();
638
639
  try {
639
- const { start, id, targetType, targetId, name, description, metadata, scorerIds, version, agentVersion, agentModel, maxConcurrency, provenance, grouping, requestContext: rawRequestContext, versions } = params;
640
+ const { start, id, targetType, targetId, name, description, metadata, scorerIds, version, agentVersion, agentModel, maxConcurrency, itemTimeout, maxRetries, durable, provenance, grouping, requestContext: rawRequestContext, versions } = params;
640
641
  const requestContext = rawRequestContext instanceof RequestContext ? rawRequestContext.all : rawRequestContext;
641
642
  const ds = await mastra.datasets.get({ id: datasetId });
642
643
  if (start === false) {
@@ -665,6 +666,7 @@ const TRIGGER_EXPERIMENT_ROUTE = createRoute({
665
666
  };
666
667
  }
667
668
  if (!targetType || !targetId) throw new HTTPException(400, { message: "targetType and targetId are required to start an experiment" });
669
+ if (durable && typeof mastra.__ensureExperimentWorkflow !== "function") throw new HTTPException(400, { message: "durable experiments need a newer @mastra/core; upgrade it together with @mastra/server" });
668
670
  const result = await ds.startExperimentAsync({
669
671
  targetType,
670
672
  targetId,
@@ -676,10 +678,13 @@ const TRIGGER_EXPERIMENT_ROUTE = createRoute({
676
678
  agentVersion,
677
679
  agentModel: agentModel ? `${agentModel.provider}/${agentModel.modelId}` : void 0,
678
680
  maxConcurrency,
681
+ itemTimeout,
682
+ maxRetries,
679
683
  provenance,
680
684
  grouping,
681
685
  requestContext,
682
- versions
686
+ versions,
687
+ durable
683
688
  });
684
689
  return {
685
690
  experimentId: result.experimentId,
@@ -687,7 +692,7 @@ const TRIGGER_EXPERIMENT_ROUTE = createRoute({
687
692
  totalItems: result.totalItems ?? 0,
688
693
  succeededCount: 0,
689
694
  failedCount: 0,
690
- startedAt: /* @__PURE__ */ new Date(),
695
+ startedAt: durable ? null : /* @__PURE__ */ new Date(),
691
696
  completedAt: null,
692
697
  results: []
693
698
  };
@@ -1119,10 +1124,10 @@ const BATCH_DELETE_ITEMS_ROUTE = createRoute({
1119
1124
  });
1120
1125
  const GENERATE_ITEMS_SYSTEM_PROMPT = `You are a test data generation expert. Your job is to generate realistic, diverse test data items for an AI agent evaluation dataset.
1121
1126
 
1122
- You will be given context about the agent being tested — its purpose, system prompt, and available tools. Use this to generate inputs that thoroughly exercise the agent's capabilities.
1127
+ You will be given context about the agent being tested \u2014 its purpose, system prompt, and available tools. Use this to generate inputs that thoroughly exercise the agent's capabilities.
1123
1128
 
1124
1129
  Generate test items that:
1125
- 1. Are realistic and diverse — cover edge cases, different complexities, and various scenarios
1130
+ 1. Are realistic and diverse \u2014 cover edge cases, different complexities, and various scenarios
1126
1131
  2. Match the provided schemas exactly
1127
1132
  3. Include ground truth values when a ground truth schema is provided
1128
1133
  4. Vary in difficulty (easy, medium, hard cases)
@@ -1138,7 +1143,7 @@ const GENERATE_ITEMS_ROUTE = createRoute({
1138
1143
  bodySchema: generateItemsBodySchema,
1139
1144
  responseSchema: generateItemsResponseSchema,
1140
1145
  summary: "Generate dataset items using AI",
1141
- description: "Uses an LLM to generate synthetic dataset items based on the dataset schema and a user prompt. Returns generated items for review — they are NOT automatically added to the dataset.",
1146
+ description: "Uses an LLM to generate synthetic dataset items based on the dataset schema and a user prompt. Returns generated items for review \u2014 they are NOT automatically added to the dataset.",
1142
1147
  tags: ["Datasets"],
1143
1148
  requiresAuth: true,
1144
1149
  handler: async ({ mastra, datasetId, modelId, prompt, count, agentContext }) => {
@@ -1207,7 +1212,7 @@ Guidelines:
1207
1212
  - If items have scores, use low scores as signals for the failure type
1208
1213
  - Be specific about what went wrong
1209
1214
  - IMPORTANT: If existing tags are provided, PREFER reusing them over creating new ones. Only create new tags when no existing tag fits.
1210
- - Items may already have tags — consider those when assigning new ones and avoid duplicating existing tags on an item.
1215
+ - Items may already have tags \u2014 consider those when assigning new ones and avoid duplicating existing tags on an item.
1211
1216
  - The "reason" field should be 1-2 sentences explaining the specific evidence for each tag assignment.`;
1212
1217
  const CLUSTER_FAILURES_ROUTE = createRoute({
1213
1218
  method: "POST",
@@ -1254,7 +1259,7 @@ const CLUSTER_FAILURES_ROUTE = createRoute({
1254
1259
  let userMessage = `Analyze these ${items.length} failure items and group them into clusters of common failure patterns:\n\n${itemSummaries.join("\n\n")}`;
1255
1260
  if (availableTags && availableTags.length > 0) userMessage += `\n\nExisting tag vocabulary (prefer reusing these): ${availableTags.join(", ")}`;
1256
1261
  if (prompt) userMessage += `\n\nAdditional instructions from the reviewer: ${prompt}`;
1257
- userMessage += `\n\nReturn both "clusters" (grouping items by pattern) and "proposedTags" (a list mapping each item ID to the tag labels you recommend, with a "reason" explaining why). For proposedTags, only include NEW tags to add — do not repeat tags the item already has.`;
1262
+ userMessage += `\n\nReturn both "clusters" (grouping items by pattern) and "proposedTags" (a list mapping each item ID to the tag labels you recommend, with a "reason" explaining why). For proposedTags, only include NEW tags to add \u2014 do not repeat tags the item already has.`;
1258
1263
  const generated = await (await clusterAgent.generate(userMessage, { structuredOutput: { schema: outputSchema } })).object;
1259
1264
  return {
1260
1265
  clusters: generated.clusters,
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_dynamic_workflows = require("../../dynamic-workflows-DPgV6qtS.cjs");
3
+ const require_dynamic_workflows = require("../../dynamic-workflows-CEKdGcSr.cjs");
4
4
  exports.DELETE_DYNAMIC_WORKFLOW_ROUTE = require_dynamic_workflows.DELETE_DYNAMIC_WORKFLOW_ROUTE;
5
5
  exports.GET_DYNAMIC_WORKFLOW_ROUTE = require_dynamic_workflows.GET_DYNAMIC_WORKFLOW_ROUTE;
6
6
  exports.LIST_DYNAMIC_WORKFLOWS_ROUTE = require_dynamic_workflows.LIST_DYNAMIC_WORKFLOWS_ROUTE;
@@ -1 +1 @@
1
- export { t as DELETE_DYNAMIC_WORKFLOW_ROUTE, n as GET_DYNAMIC_WORKFLOW_ROUTE, r as LIST_DYNAMIC_WORKFLOWS_ROUTE, i as UPSERT_DYNAMIC_WORKFLOW_ROUTE } from "../../dynamic-workflows-DmkCJ4Lp.js";
1
+ export { t as DELETE_DYNAMIC_WORKFLOW_ROUTE, n as GET_DYNAMIC_WORKFLOW_ROUTE, r as LIST_DYNAMIC_WORKFLOWS_ROUTE, i as UPSERT_DYNAMIC_WORKFLOW_ROUTE } from "../../dynamic-workflows-DF9X_oDG.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-Cx9ZiHBw.cjs");
3
+ const require_editor_builder = require("../../editor-builder-ChYG8YTs.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-DpNB1W4s.js";
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-CwsIbd0F.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_server_handlers_authorship = require("./authorship.cjs");
4
- const require_editor_builder = require("../../editor-builder-Cx9ZiHBw.cjs");
4
+ const require_editor_builder = require("../../editor-builder-ChYG8YTs.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-DpNB1W4s.js";
2
+ import { i as isBuilderFeatureEnabled } from "../../editor-builder-CwsIbd0F.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,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_observability_new_endpoints = require("../../observability-new-endpoints-iRwQxqwY.cjs");
4
- const require_observability = require("../../observability-Cn4P60P4.cjs");
4
+ const require_observability = require("../../observability-zNA_CVaz.cjs");
5
5
  exports.AGGREGATE_SPANS = require_observability_new_endpoints.AGGREGATE_SPANS;
6
6
  exports.AGGREGATE_TRACES = require_observability_new_endpoints.AGGREGATE_TRACES;
7
7
  exports.CREATE_FEEDBACK = require_observability_new_endpoints.CREATE_FEEDBACK;
@@ -1,3 +1,3 @@
1
1
  import { A as GET_TRACE_QUERY_FIELDS, B as REPLACE_FEEDBACK, C as GET_SCORE, D as GET_SCORE_TIME_SERIES, E as GET_SCORE_PERCENTILES, F as LIST_SCORES, I as NEW_ROUTES, L as QUERY_SPANS, M as LIST_FEEDBACK, N as LIST_LOGS, O as GET_SERVICE_NAMES, P as LIST_METRICS, R as QUERY_THREADS, S as GET_METRIC_TIME_SERIES, T as GET_SCORE_BREAKDOWN, V as UPDATE_FEEDBACK_REVIEW_STATUS, _ as GET_METRIC_BREAKDOWN, a as DELETE_FEEDBACK, b as GET_METRIC_NAMES, c as GET_ENTITY_NAMES, d as GET_FEEDBACK, f as GET_FEEDBACK_AGGREGATE, g as GET_METRIC_AGGREGATE, h as GET_FEEDBACK_TIME_SERIES, i as CREATE_SCORE, j as GET_TRACE_QUERY_VALUES, k as GET_TAGS, l as GET_ENTITY_TYPES, m as GET_FEEDBACK_PERCENTILES, n as AGGREGATE_TRACES, o as DELETE_SCORES, p as GET_FEEDBACK_BREAKDOWN, r as CREATE_FEEDBACK, s as GET_CAPABILITIES, t as AGGREGATE_SPANS, u as GET_ENVIRONMENTS, v as GET_METRIC_LABEL_KEYS, w as GET_SCORE_AGGREGATE, x as GET_METRIC_PERCENTILES, y as GET_METRIC_LABEL_VALUES, z as QUERY_TRACES } from "../../observability-new-endpoints-vj6FaEcm.js";
2
- import { a as GET_TRACE_ROUTE, c as LIST_SCORES_BY_SPAN_ROUTE, d as SCORE_TRACES_ROUTE, i as GET_TRACE_LIGHT_ROUTE, l as LIST_TRACES_LIGHT_ROUTE, n as GET_BRANCH_ROUTE, o as GET_TRACE_TRAJECTORY_ROUTE, r as GET_SPAN_ROUTE, s as LIST_BRANCHES_ROUTE, t as DELETE_TRACES_ROUTE, u as LIST_TRACES_ROUTE } from "../../observability-zr7LDCQG.js";
2
+ import { a as GET_TRACE_ROUTE, c as LIST_SCORES_BY_SPAN_ROUTE, d as SCORE_TRACES_ROUTE, i as GET_TRACE_LIGHT_ROUTE, l as LIST_TRACES_LIGHT_ROUTE, n as GET_BRANCH_ROUTE, o as GET_TRACE_TRAJECTORY_ROUTE, r as GET_SPAN_ROUTE, s as LIST_BRANCHES_ROUTE, t as DELETE_TRACES_ROUTE, u as LIST_TRACES_ROUTE } from "../../observability-URaJnI_U.js";
3
3
  export { AGGREGATE_SPANS, AGGREGATE_TRACES, CREATE_FEEDBACK, CREATE_SCORE, DELETE_FEEDBACK, DELETE_SCORES, DELETE_TRACES_ROUTE, GET_BRANCH_ROUTE, GET_CAPABILITIES, GET_ENTITY_NAMES, GET_ENTITY_TYPES, GET_ENVIRONMENTS, GET_FEEDBACK, GET_FEEDBACK_AGGREGATE, GET_FEEDBACK_BREAKDOWN, GET_FEEDBACK_PERCENTILES, GET_FEEDBACK_TIME_SERIES, GET_METRIC_AGGREGATE, GET_METRIC_BREAKDOWN, GET_METRIC_LABEL_KEYS, GET_METRIC_LABEL_VALUES, GET_METRIC_NAMES, GET_METRIC_PERCENTILES, GET_METRIC_TIME_SERIES, GET_SCORE, GET_SCORE_AGGREGATE, GET_SCORE_BREAKDOWN, GET_SCORE_PERCENTILES, GET_SCORE_TIME_SERIES, GET_SERVICE_NAMES, GET_SPAN_ROUTE, GET_TAGS, GET_TRACE_LIGHT_ROUTE, GET_TRACE_QUERY_FIELDS, GET_TRACE_QUERY_VALUES, GET_TRACE_ROUTE, GET_TRACE_TRAJECTORY_ROUTE, LIST_BRANCHES_ROUTE, LIST_FEEDBACK, LIST_LOGS, LIST_METRICS, LIST_SCORES, LIST_SCORES_BY_SPAN_ROUTE, LIST_TRACES_LIGHT_ROUTE, LIST_TRACES_ROUTE, NEW_ROUTES, QUERY_SPANS, QUERY_THREADS, QUERY_TRACES, REPLACE_FEEDBACK, SCORE_TRACES_ROUTE, UPDATE_FEEDBACK_REVIEW_STATUS };
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_plans = require("../../plans-DYNE2s8s.cjs");
3
+ const require_plans = require("../../plans-k3UN9Nd1.cjs");
4
4
  exports.READ_AGENT_PLAN_ROUTE = require_plans.READ_AGENT_PLAN_ROUTE;
@@ -1 +1 @@
1
- export { t as READ_AGENT_PLAN_ROUTE } from "../../plans-BoUO4vWD.js";
1
+ export { t as READ_AGENT_PLAN_ROUTE } from "../../plans-CbR8EDiT.js";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_responses = require("../../responses-ByDnfqlJ.cjs");
3
+ const require_responses = require("../../responses-B-BKx236.cjs");
4
4
  exports.CREATE_RESPONSE_ROUTE = require_responses.CREATE_RESPONSE_ROUTE;
5
5
  exports.DELETE_RESPONSE_ROUTE = require_responses.DELETE_RESPONSE_ROUTE;
6
6
  exports.GET_RESPONSE_ROUTE = require_responses.GET_RESPONSE_ROUTE;
@@ -1 +1 @@
1
- export { t as CREATE_RESPONSE_ROUTE, n as DELETE_RESPONSE_ROUTE, r as GET_RESPONSE_ROUTE } from "../../responses-CGv4KFQ3.js";
1
+ export { t as CREATE_RESPONSE_ROUTE, n as DELETE_RESPONSE_ROUTE, r as GET_RESPONSE_ROUTE } from "../../responses-Blzxy0XP.js";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_schedules = require("../../schedules-0ceTSdBB.cjs");
3
+ const require_schedules = require("../../schedules-CwL28Eca.cjs");
4
4
  exports.CREATE_SCHEDULE_ROUTE = require_schedules.CREATE_SCHEDULE_ROUTE;
5
5
  exports.DELETE_SCHEDULE_ROUTE = require_schedules.DELETE_SCHEDULE_ROUTE;
6
6
  exports.GET_SCHEDULE_ROUTE = require_schedules.GET_SCHEDULE_ROUTE;
@@ -1 +1 @@
1
- export { t as CREATE_SCHEDULE_ROUTE, n as DELETE_SCHEDULE_ROUTE, r as GET_SCHEDULE_ROUTE, i as LIST_SCHEDULES_ROUTE, a as LIST_SCHEDULE_TRIGGERS_ROUTE, o as PAUSE_SCHEDULE_ROUTE, s as RESUME_SCHEDULE_ROUTE, c as RUN_SCHEDULE_ROUTE, l as UPDATE_SCHEDULE_ROUTE } from "../../schedules-D_VfFdAH.js";
1
+ export { t as CREATE_SCHEDULE_ROUTE, n as DELETE_SCHEDULE_ROUTE, r as GET_SCHEDULE_ROUTE, i as LIST_SCHEDULES_ROUTE, a as LIST_SCHEDULE_TRIGGERS_ROUTE, o as PAUSE_SCHEDULE_ROUTE, s as RESUME_SCHEDULE_ROUTE, c as RUN_SCHEDULE_ROUTE, l as UPDATE_SCHEDULE_ROUTE } from "../../schedules-RWgPeypN.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_scorer_versions = require("../../scorer-versions-Bhdvt-cX.cjs");
4
+ const require_scorer_versions = require("../../scorer-versions-DK-PGj7-.cjs");
5
5
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
6
6
  const require_utils = require("../../utils-DQJOBnMo.cjs");
7
7
  const require_server_handlers_error = require("./error.cjs");
@@ -1,5 +1,5 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
- import { a as createScorerVersionResponseSchema, c as listScorerVersionsQuerySchema, d as scorerVersionIdPathParams, f as scorerVersionPathParams, i as createScorerVersionBodySchema, l as listScorerVersionsResponseSchema, n as compareScorerVersionsQuerySchema, o as deleteScorerVersionResponseSchema, r as compareScorerVersionsResponseSchema, s as getScorerVersionResponseSchema, t as activateScorerVersionResponseSchema, u as restoreScorerVersionResponseSchema } from "../../scorer-versions-DhT7Lj33.js";
2
+ import { a as createScorerVersionResponseSchema, c as listScorerVersionsQuerySchema, d as scorerVersionIdPathParams, f as scorerVersionPathParams, i as createScorerVersionBodySchema, l as listScorerVersionsResponseSchema, n as compareScorerVersionsQuerySchema, o as deleteScorerVersionResponseSchema, r as compareScorerVersionsResponseSchema, s as getScorerVersionResponseSchema, t as activateScorerVersionResponseSchema, u as restoreScorerVersionResponseSchema } from "../../scorer-versions-oJoK2Exw.js";
3
3
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
4
4
  import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-C2VRtQjI.js";
5
5
  import { handleError } from "./error.js";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_scores = require("../../scores-EVbkxGHy.cjs");
3
+ const require_scores = require("../../scores-BikU9phm.cjs");
4
4
  exports.GET_SCORER_ROUTE = require_scores.GET_SCORER_ROUTE;
5
5
  exports.LIST_SCORERS_ROUTE = require_scores.LIST_SCORERS_ROUTE;
6
6
  exports.LIST_SCORES_BY_ENTITY_ID_ROUTE = require_scores.LIST_SCORES_BY_ENTITY_ID_ROUTE;
@@ -1 +1 @@
1
- export { t as GET_SCORER_ROUTE, n as LIST_SCORERS_ROUTE, r as LIST_SCORES_BY_ENTITY_ID_ROUTE, i as LIST_SCORES_BY_RUN_ID_ROUTE, a as LIST_SCORES_BY_SCORER_ID_ROUTE, o as SAVE_SCORE_ROUTE } from "../../scores-CqNF-thA.js";
1
+ export { t as GET_SCORER_ROUTE, n as LIST_SCORERS_ROUTE, r as LIST_SCORES_BY_ENTITY_ID_ROUTE, i as LIST_SCORES_BY_RUN_ID_ROUTE, a as LIST_SCORES_BY_SCORER_ID_ROUTE, o as SAVE_SCORE_ROUTE } from "../../scores-DAv6Uisq.js";
@@ -2,11 +2,11 @@ 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_favorites = require("../../favorites-D0CoxxQn.cjs");
5
- const require_stored_agents = require("../../stored-agents-m0Knvv29.cjs");
5
+ const require_stored_agents = require("../../stored-agents-BS4_LGSs.cjs");
6
6
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
7
7
  const require_utils = require("../../utils-DQJOBnMo.cjs");
8
8
  const require_server_handlers_authorship = require("./authorship.cjs");
9
- const require_editor_builder = require("../../editor-builder-Cx9ZiHBw.cjs");
9
+ const require_editor_builder = require("../../editor-builder-ChYG8YTs.cjs");
10
10
  const require_server_handlers_error = require("./error.cjs");
11
11
  // src/server/handlers/stored-agent-favorites.ts
12
12
  /**
@@ -73,7 +73,7 @@ const UNFAVORITE_STORED_AGENT_ROUTE = require_route_builder.createRoute({
73
73
  pathParamSchema: require_stored_agents.storedAgentIdPathParams,
74
74
  responseSchema: require_favorites.favoriteToggleResponseSchema,
75
75
  summary: "Unfavorite a stored agent",
76
- description: "Removes the caller’s favorite from the stored agent. Idempotent.",
76
+ description: "Removes the caller\u2019s favorite from the stored agent. Idempotent.",
77
77
  tags: ["Stored Agents"],
78
78
  requiresAuth: true,
79
79
  requiresPermission: "stored-agents:read",
@@ -1,10 +1,10 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { t as favoriteToggleResponseSchema } from "../../favorites-8aieznq3.js";
3
- import { C as storedAgentIdPathParams } from "../../stored-agents-DmN_pIIl.js";
3
+ import { C as storedAgentIdPathParams } from "../../stored-agents-DcyDMKP2.js";
4
4
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
5
5
  import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-C2VRtQjI.js";
6
6
  import { assertReadAccess, getCallerAuthorId } from "./authorship.js";
7
- import { a as requireBuilderFeature } from "../../editor-builder-DpNB1W4s.js";
7
+ import { a as requireBuilderFeature } from "../../editor-builder-CwsIbd0F.js";
8
8
  import { handleError } from "./error.js";
9
9
  // src/server/handlers/stored-agent-favorites.ts
10
10
  /**
@@ -71,7 +71,7 @@ const UNFAVORITE_STORED_AGENT_ROUTE = createRoute({
71
71
  pathParamSchema: storedAgentIdPathParams,
72
72
  responseSchema: favoriteToggleResponseSchema,
73
73
  summary: "Unfavorite a stored agent",
74
- description: "Removes the caller’s favorite from the stored agent. Idempotent.",
74
+ description: "Removes the caller\u2019s favorite from the stored agent. Idempotent.",
75
75
  tags: ["Stored Agents"],
76
76
  requiresAuth: true,
77
77
  requiresPermission: "stored-agents:read",
@@ -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_common = require("../../common-D5XxSuvu.cjs");
5
- const require_stored_agents = require("../../stored-agents-m0Knvv29.cjs");
5
+ const require_stored_agents = require("../../stored-agents-BS4_LGSs.cjs");
6
6
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
7
7
  const require_utils = require("../../utils-DQJOBnMo.cjs");
8
8
  const require_server_handlers_author_enrichment = require("./author-enrichment.cjs");
9
9
  const require_server_handlers_authorship = require("./authorship.cjs");
10
- const require_editor_builder = require("../../editor-builder-Cx9ZiHBw.cjs");
10
+ const require_editor_builder = require("../../editor-builder-ChYG8YTs.cjs");
11
11
  const require_server_handlers_error = require("./error.cjs");
12
12
  const require_server_handlers_favorites_enrichment = require("./favorites-enrichment.cjs");
13
13
  const require_server_handlers_validate_agent_instructions = require("./validate-agent-instructions.cjs");
@@ -1,11 +1,11 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { d as statusQuerySchema } from "../../common-J-yUnHk9.js";
3
- import { C as storedAgentIdPathParams, O as updateStoredAgentBodySchema, a as exportStoredAgentBodySchema, c as getStoredAgentResponseSchema, d as listStoredAgentsResponseSchema, g as previewInstructionsResponseSchema, h as previewInstructionsBodySchema, i as deleteStoredAgentResponseSchema, k as updateStoredAgentResponseSchema, m as openStoredAgentChangeRequestResponseSchema, n as createStoredAgentBodySchema, o as exportStoredAgentResponseSchema, p as openStoredAgentChangeRequestBodySchema, r as createStoredAgentResponseSchema, s as getStoredAgentDependentsResponseSchema, u as listStoredAgentsQuerySchema } from "../../stored-agents-DmN_pIIl.js";
3
+ import { C as storedAgentIdPathParams, O as updateStoredAgentBodySchema, a as exportStoredAgentBodySchema, c as getStoredAgentResponseSchema, d as listStoredAgentsResponseSchema, g as previewInstructionsResponseSchema, h as previewInstructionsBodySchema, i as deleteStoredAgentResponseSchema, k as updateStoredAgentResponseSchema, m as openStoredAgentChangeRequestResponseSchema, n as createStoredAgentBodySchema, o as exportStoredAgentResponseSchema, p as openStoredAgentChangeRequestBodySchema, r as createStoredAgentResponseSchema, s as getStoredAgentDependentsResponseSchema, u as listStoredAgentsQuerySchema } from "../../stored-agents-DcyDMKP2.js";
4
4
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
5
5
  import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-C2VRtQjI.js";
6
6
  import { attachAuthor, prepareAuthorEnrichment } from "./author-enrichment.js";
7
7
  import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
8
- import { i as isBuilderFeatureEnabled } from "../../editor-builder-DpNB1W4s.js";
8
+ import { i as isBuilderFeatureEnabled } from "../../editor-builder-CwsIbd0F.js";
9
9
  import { handleError } from "./error.js";
10
10
  import { enrichOrStripFavorites, prepareFavoritesEnrichment, stripFavoriteFields } from "./favorites-enrichment.js";
11
11
  import { validateAgentInstructionReferences } from "./validate-agent-instructions.js";
@@ -2,7 +2,7 @@ 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_common = require("../../common-D5XxSuvu.cjs");
5
- const require_stored_scorers = require("../../stored-scorers-iM2Qq9Nh.cjs");
5
+ const require_stored_scorers = require("../../stored-scorers-D8YYszOj.cjs");
6
6
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
7
7
  const require_utils = require("../../utils-DQJOBnMo.cjs");
8
8
  const require_server_handlers_error = require("./error.cjs");
@@ -1,6 +1,6 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { d as statusQuerySchema } from "../../common-J-yUnHk9.js";
3
- import { a as listStoredScorersQuerySchema, i as getStoredScorerResponseSchema, l as updateStoredScorerBodySchema, n as createStoredScorerResponseSchema, o as listStoredScorersResponseSchema, r as deleteStoredScorerResponseSchema, s as storedScorerIdPathParams, t as createStoredScorerBodySchema, u as updateStoredScorerResponseSchema } from "../../stored-scorers-2F2k6XSx.js";
3
+ import { a as listStoredScorersQuerySchema, i as getStoredScorerResponseSchema, l as updateStoredScorerBodySchema, n as createStoredScorerResponseSchema, o as listStoredScorersResponseSchema, r as deleteStoredScorerResponseSchema, s as storedScorerIdPathParams, t as createStoredScorerBodySchema, u as updateStoredScorerResponseSchema } from "../../stored-scorers-Bdz_5k57.js";
4
4
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
5
5
  import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-C2VRtQjI.js";
6
6
  import { handleError } from "./error.js";
@@ -6,7 +6,7 @@ const require_stored_skills = require("../../stored-skills-xuecapXy.cjs");
6
6
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
7
7
  const require_utils = require("../../utils-DQJOBnMo.cjs");
8
8
  const require_server_handlers_authorship = require("./authorship.cjs");
9
- const require_editor_builder = require("../../editor-builder-Cx9ZiHBw.cjs");
9
+ const require_editor_builder = require("../../editor-builder-ChYG8YTs.cjs");
10
10
  const require_server_handlers_error = require("./error.cjs");
11
11
  // src/server/handlers/stored-skill-favorites.ts
12
12
  /**
@@ -73,7 +73,7 @@ const UNFAVORITE_STORED_SKILL_ROUTE = require_route_builder.createRoute({
73
73
  pathParamSchema: require_stored_skills.storedSkillIdPathParams,
74
74
  responseSchema: require_favorites.favoriteToggleResponseSchema,
75
75
  summary: "Unfavorite a stored skill",
76
- description: "Removes the caller’s favorite from the stored skill. Idempotent.",
76
+ description: "Removes the caller\u2019s favorite from the stored skill. Idempotent.",
77
77
  tags: ["Stored Skills"],
78
78
  requiresAuth: true,
79
79
  requiresPermission: "stored-skills:read",
@@ -4,7 +4,7 @@ import { p as storedSkillIdPathParams } from "../../stored-skills-GNJMp022.js";
4
4
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
5
5
  import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-C2VRtQjI.js";
6
6
  import { assertReadAccess, getCallerAuthorId } from "./authorship.js";
7
- import { a as requireBuilderFeature } from "../../editor-builder-DpNB1W4s.js";
7
+ import { a as requireBuilderFeature } from "../../editor-builder-CwsIbd0F.js";
8
8
  import { handleError } from "./error.js";
9
9
  // src/server/handlers/stored-skill-favorites.ts
10
10
  /**
@@ -71,7 +71,7 @@ const UNFAVORITE_STORED_SKILL_ROUTE = createRoute({
71
71
  pathParamSchema: storedSkillIdPathParams,
72
72
  responseSchema: favoriteToggleResponseSchema,
73
73
  summary: "Unfavorite a stored skill",
74
- description: "Removes the caller’s favorite from the stored skill. Idempotent.",
74
+ description: "Removes the caller\u2019s favorite from the stored skill. Idempotent.",
75
75
  tags: ["Stored Skills"],
76
76
  requiresAuth: true,
77
77
  requiresPermission: "stored-skills:read",
@@ -5,7 +5,7 @@ const require_stored_skills = require("../../stored-skills-xuecapXy.cjs");
5
5
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
6
6
  const require_utils = require("../../utils-DQJOBnMo.cjs");
7
7
  const require_server_handlers_authorship = require("./authorship.cjs");
8
- const require_editor_builder = require("../../editor-builder-Cx9ZiHBw.cjs");
8
+ const require_editor_builder = require("../../editor-builder-ChYG8YTs.cjs");
9
9
  const require_server_handlers_error = require("./error.cjs");
10
10
  const require_server_handlers_favorites_enrichment = require("./favorites-enrichment.cjs");
11
11
  let _mastra_core_workspace = require("@mastra/core/workspace");
@@ -3,7 +3,7 @@ import { a as deleteStoredSkillResponseSchema, c as listStoredSkillsResponseSche
3
3
  import { n as createRoute } from "../../route-builder-Dz18c3qm.js";
4
4
  import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-C2VRtQjI.js";
5
5
  import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
6
- import { i as isBuilderFeatureEnabled } from "../../editor-builder-DpNB1W4s.js";
6
+ import { i as isBuilderFeatureEnabled } from "../../editor-builder-CwsIbd0F.js";
7
7
  import { handleError } from "./error.js";
8
8
  import { enrichOrStripFavorites, prepareFavoritesEnrichment, stripFavoriteFields } from "./favorites-enrichment.js";
9
9
  import { LocalSkillSource } from "@mastra/core/workspace";
@@ -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-BuAf53GH.cjs"));
93
+ const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-016lHJO2.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-CsefW4Vv.js");
91
+ const { buildApiSchemaManifest } = await import("../../api-schema-manifest-CAZsA5Lk.js");
92
92
  return buildApiSchemaManifest();
93
93
  }
94
94
  });
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_constants = require("../../constants-CyNbINin.cjs");
4
4
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
5
- const require_tool_providers = require("../../tool-providers-BVwRJTtB.cjs");
5
+ const require_tool_providers = require("../../tool-providers-BeiSkVHu.cjs");
6
6
  const require_route_builder = require("../../route-builder-DjTBxSZN.cjs");
7
7
  const require_server_handlers_authorship = require("./authorship.cjs");
8
8
  const require_server_handlers_error = require("./error.cjs");
@@ -46,7 +46,7 @@ let defaultBucketWarned = false;
46
46
  function warnDefaultBucketFallback(logger) {
47
47
  if (defaultBucketWarned) return;
48
48
  defaultBucketWarned = true;
49
- logger?.warn("[tool-providers] caller-supplied scope falling back to shared \"default\" bucket — wire mapUserToResourceId or set MASTRA_USER_KEY to avoid cross-tenant OAuth sharing");
49
+ logger?.warn("[tool-providers] caller-supplied scope falling back to shared \"default\" bucket \u2014 wire mapUserToResourceId or set MASTRA_USER_KEY to avoid cross-tenant OAuth sharing");
50
50
  }
51
51
  /**
52
52
  * Resolve the connection owner (provider `userId` bucket) from the caller's
@@ -1,6 +1,6 @@
1
1
  import { d as MASTRA_USER_KEY } from "../../constants-C1ASuP4t.js";
2
2
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
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-Cq3vFqgE.js";
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";
5
5
  import { hasAdminBypass } from "./authorship.js";
6
6
  import { handleError } from "./error.js";
@@ -44,7 +44,7 @@ let defaultBucketWarned = false;
44
44
  function warnDefaultBucketFallback(logger) {
45
45
  if (defaultBucketWarned) return;
46
46
  defaultBucketWarned = true;
47
- logger?.warn("[tool-providers] caller-supplied scope falling back to shared \"default\" bucket — wire mapUserToResourceId or set MASTRA_USER_KEY to avoid cross-tenant OAuth sharing");
47
+ logger?.warn("[tool-providers] caller-supplied scope falling back to shared \"default\" bucket \u2014 wire mapUserToResourceId or set MASTRA_USER_KEY to avoid cross-tenant OAuth sharing");
48
48
  }
49
49
  /**
50
50
  * Resolve the connection owner (provider `userId` bucket) from the caller's
@@ -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-D07qyAT0.cjs");
3
+ const require_tools = require("../../tools-CoamSJif.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-CZmeb9MB.js";
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-DsSk01Ti.js";
@@ -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-DN72TM58.cjs");
3
+ const require_voice = require("../../voice-CquR7YyA.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-BNwHCtxv.js";
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-BFh2Zx5m.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-gIKukZ1O.cjs");
3
+ const require_workflows = require("../../workflows-CHKSHV4f.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-D3QrUMfm.js";
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-D5bfbang.js";
@@ -1,23 +1,23 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../rolldown-runtime-10nMEhjP.cjs");
3
- const require_agent_builder = require("../agent-builder-Bz1beuPE.cjs");
3
+ const require_agent_builder = require("../agent-builder-NSemjs4B.cjs");
4
4
  const require_server_handlers_error = require("./handlers/error.cjs");
5
- const require_agents = require("../agents-DiQ_L6BU.cjs");
6
- const require_plans = require("../plans-DYNE2s8s.cjs");
7
- const require_a2a = require("../a2a-DlEIsCZz.cjs");
8
- const require_conversations = require("../conversations-6v0VCbif.cjs");
5
+ const require_agents = require("../agents-BO1mcMDf.cjs");
6
+ const require_plans = require("../plans-k3UN9Nd1.cjs");
7
+ const require_a2a = require("../a2a-DQIwTZyo.cjs");
8
+ const require_conversations = require("../conversations-BaYtooZZ.cjs");
9
9
  const require_logs = require("../logs-B0dcn5iB.cjs");
10
10
  const require_mcp = require("../mcp-C060MyHc.cjs");
11
11
  const require_memory = require("../memory-4Izw-l6v.cjs");
12
- const require_observability = require("../observability-Cn4P60P4.cjs");
13
- const require_responses = require("../responses-ByDnfqlJ.cjs");
14
- const require_scores = require("../scores-EVbkxGHy.cjs");
15
- const require_tools = require("../tools-D07qyAT0.cjs");
12
+ const require_observability = require("../observability-zNA_CVaz.cjs");
13
+ const require_responses = require("../responses-B-BKx236.cjs");
14
+ const require_scores = require("../scores-BikU9phm.cjs");
15
+ const require_tools = require("../tools-CoamSJif.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-DN72TM58.cjs");
19
- const require_workflows = require("../workflows-gIKukZ1O.cjs");
20
- const require_dynamic_workflows = require("../dynamic-workflows-DPgV6qtS.cjs");
18
+ const require_voice = require("../voice-CquR7YyA.cjs");
19
+ const require_workflows = require("../workflows-CHKSHV4f.cjs");
20
+ const require_dynamic_workflows = require("../dynamic-workflows-CEKdGcSr.cjs");
21
21
  Object.defineProperty(exports, "a2a", {
22
22
  enumerable: true,
23
23
  get: function() {
@@ -1,19 +1,19 @@
1
- import { _ as agent_builder_exports } from "../agent-builder-Bd6qGrt6.js";
1
+ import { _ as agent_builder_exports } from "../agent-builder-DpuK5-6A.js";
2
2
  import { formatZodError, isZodError } from "./handlers/error.js";
3
- import { H as agents_exports } from "../agents-BMdbohgU.js";
4
- import { n as plans_exports } from "../plans-BoUO4vWD.js";
5
- import { r as a2a_exports } from "../a2a-BFN2C8f2.js";
6
- import { a as conversations_exports } from "../conversations-Dzpv_Cgt.js";
3
+ import { H as agents_exports } from "../agents-YvaBPFiS.js";
4
+ import { n as plans_exports } from "../plans-CbR8EDiT.js";
5
+ import { r as a2a_exports } from "../a2a-BfWMjFe2.js";
6
+ import { a as conversations_exports } from "../conversations-4ZO0Pjvk.js";
7
7
  import { i as logs_exports } from "../logs-CqgT7AOV.js";
8
8
  import { y as mcp_exports } from "../mcp-DXvFogeV.js";
9
9
  import { k as memory_exports } from "../memory-03B4pe3w.js";
10
- import { f as observability_exports } from "../observability-zr7LDCQG.js";
11
- import { i as responses_exports } from "../responses-CGv4KFQ3.js";
12
- import { s as scores_exports } from "../scores-CqNF-thA.js";
13
- import { s as tools_exports } from "../tools-CZmeb9MB.js";
10
+ import { f as observability_exports } from "../observability-URaJnI_U.js";
11
+ import { i as responses_exports } from "../responses-Blzxy0XP.js";
12
+ import { s as scores_exports } from "../scores-DAv6Uisq.js";
13
+ import { s as tools_exports } from "../tools-DsSk01Ti.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-BNwHCtxv.js";
17
- import { A as workflows_exports } from "../workflows-D3QrUMfm.js";
18
- import { a as dynamic_workflows_exports } from "../dynamic-workflows-DmkCJ4Lp.js";
16
+ import { c as voice_exports } from "../voice-BFh2Zx5m.js";
17
+ import { A as workflows_exports } from "../workflows-D5bfbang.js";
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 };