@mastra/server 1.69.0-alpha.2 → 1.69.0-alpha.3

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 (38) hide show
  1. package/dist/{api-schema-manifest-DpV6M73y.js → api-schema-manifest-BMWj_GGC.js} +2 -2
  2. package/dist/{api-schema-manifest-DpV6M73y.js.map → api-schema-manifest-BMWj_GGC.js.map} +1 -1
  3. package/dist/{api-schema-manifest-DVtaKu5u.cjs → api-schema-manifest-DISUY9l4.cjs} +2 -2
  4. package/dist/{api-schema-manifest-DVtaKu5u.cjs.map → api-schema-manifest-DISUY9l4.cjs.map} +1 -1
  5. package/dist/{builder-registry-D1nqm8Ck.js → builder-registry-3umPdxtK.js} +2 -2
  6. package/dist/{builder-registry-D1nqm8Ck.js.map → builder-registry-3umPdxtK.js.map} +1 -1
  7. package/dist/{builder-registry-eWIWmOJ3.cjs → builder-registry-iosdGN35.cjs} +2 -2
  8. package/dist/{builder-registry-eWIWmOJ3.cjs.map → builder-registry-iosdGN35.cjs.map} +1 -1
  9. package/dist/docs/SKILL.md +1 -1
  10. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  11. package/dist/{routes-Du6HIzep.cjs → routes-BZCR2qlf.cjs} +2 -2
  12. package/dist/{routes-Du6HIzep.cjs.map → routes-BZCR2qlf.cjs.map} +1 -1
  13. package/dist/{routes-Q94Qpwsn.js → routes-Dh_8m2w8.js} +2 -2
  14. package/dist/{routes-Q94Qpwsn.js.map → routes-Dh_8m2w8.js.map} +1 -1
  15. package/dist/server/handlers/agents.cjs +2 -2
  16. package/dist/server/handlers/agents.cjs.map +1 -1
  17. package/dist/server/handlers/agents.js +2 -2
  18. package/dist/server/handlers/agents.js.map +1 -1
  19. package/dist/server/handlers/builder-registry.cjs +1 -1
  20. package/dist/server/handlers/builder-registry.js +1 -1
  21. package/dist/server/handlers/system.cjs +1 -1
  22. package/dist/server/handlers/system.js +1 -1
  23. package/dist/server/handlers/workspace.cjs +12 -18
  24. package/dist/server/handlers/workspace.cjs.map +1 -1
  25. package/dist/server/handlers/workspace.d.ts.map +1 -1
  26. package/dist/server/handlers/workspace.js +12 -18
  27. package/dist/server/handlers/workspace.js.map +1 -1
  28. package/dist/server/schemas/index.cjs +1 -1
  29. package/dist/server/schemas/index.js +1 -1
  30. package/dist/server/server-adapter/index.cjs +1 -1
  31. package/dist/server/server-adapter/index.js +1 -1
  32. package/dist/{workspace-SmQR_sZ4.js → workspace-4dBGFdV2.js} +4 -4
  33. package/dist/workspace-4dBGFdV2.js.map +1 -0
  34. package/dist/{workspace-BE_j73fm.cjs → workspace-BJYV2lkt.cjs} +4 -4
  35. package/dist/workspace-BJYV2lkt.cjs.map +1 -0
  36. package/package.json +4 -4
  37. package/dist/workspace-BE_j73fm.cjs.map +0 -1
  38. package/dist/workspace-SmQR_sZ4.js.map +0 -1
@@ -9,7 +9,7 @@ import { f as WORKSPACE_TOOLS, h as resolveToolConfig, i as MASTRA_IS_STUDIO_KEY
9
9
  import { handleError } from "./error.js";
10
10
  import { a as mergeBodyRequestContext, c as requireEffectiveResourceId, d as validateRunOwnership, f as validateThreadOwnership, i as getEffectiveThreadId, l as sanitizeBody, p as MastraFGAPermissions, r as getEffectiveResourceId, t as enforceThreadAccess, u as validateBody } from "../../utils-KsERfbhc.js";
11
11
  import { r as createStoredAgentResponseSchema } from "../../stored-agents-CuEn_6cd.js";
12
- import { O as skillDisambiguationQuerySchema, h as getAgentSkillResponseSchema } from "../../workspace-SmQR_sZ4.js";
12
+ import { O as skillDisambiguationQuerySchema, h as getAgentSkillResponseSchema } from "../../workspace-4dBGFdV2.js";
13
13
  import { stripInjectedToolOverrideFields } from "./tool-schema-overrides.js";
14
14
  import { z } from "zod/v4";
15
15
  import { zodToJsonSchema } from "@mastra/core/utils/zod-to-json";
@@ -2527,7 +2527,7 @@ const GET_AGENT_SKILL_ROUTE = createRoute({
2527
2527
  try {
2528
2528
  const agent = agentId ? mastra.getAgentById(agentId) : null;
2529
2529
  if (!agent) throw new HTTPException(404, { message: "Agent not found" });
2530
- const identifier = path ? decodeURIComponent(path) : skillName;
2530
+ const identifier = path ?? skillName;
2531
2531
  const skill = await agent.getSkill(identifier, { requestContext });
2532
2532
  if (!skill) throw new HTTPException(404, { message: `Skill "${identifier}" not found` });
2533
2533
  return {