@mastra/server 1.83.0-alpha.0 → 1.83.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{a2a-DCpd3CTv.js → a2a-CQlJ-SZr.js} +2 -2
- package/dist/{a2a-DCpd3CTv.js.map → a2a-CQlJ-SZr.js.map} +1 -1
- package/dist/{a2a-kz7NjjCg.cjs → a2a-mDspNbWX.cjs} +2 -2
- package/dist/{a2a-kz7NjjCg.cjs.map → a2a-mDspNbWX.cjs.map} +1 -1
- package/dist/{agent-builder-uDstZROq.cjs → agent-builder-B9gEkbch.cjs} +3 -3
- package/dist/{agent-builder-uDstZROq.cjs.map → agent-builder-B9gEkbch.cjs.map} +1 -1
- package/dist/{agent-builder-CocfOSi8.js → agent-builder-BF7OAl_R.js} +3 -3
- package/dist/{agent-builder-CocfOSi8.js.map → agent-builder-BF7OAl_R.js.map} +1 -1
- package/dist/{agent-versions-BccL4mEW.cjs → agent-versions-CwWhEoU5.cjs} +2 -2
- package/dist/{agent-versions-BccL4mEW.cjs.map → agent-versions-CwWhEoU5.cjs.map} +1 -1
- package/dist/{agent-versions-DFJyxWY1.js → agent-versions-DfcKpYNW.js} +2 -2
- package/dist/{agent-versions-DFJyxWY1.js.map → agent-versions-DfcKpYNW.js.map} +1 -1
- package/dist/{agents-BXqMKoOz.js → agents-BCgiMlDq.js} +2 -2
- package/dist/{agents-BXqMKoOz.js.map → agents-BCgiMlDq.js.map} +1 -1
- package/dist/{agents-DsfsDhIT.cjs → agents-CMEeZr5y.cjs} +217 -57
- package/dist/agents-CMEeZr5y.cjs.map +1 -0
- package/dist/{agents-DbnPZXIN.cjs → agents-CjcvdF2e.cjs} +2 -2
- package/dist/{agents-DbnPZXIN.cjs.map → agents-CjcvdF2e.cjs.map} +1 -1
- package/dist/{agents-BI8ez-FT.js → agents-DXlVewzD.js} +217 -57
- package/dist/agents-DXlVewzD.js.map +1 -0
- package/dist/{api-schema-manifest-DtYTPvh9.cjs → api-schema-manifest-BKnghL_k.cjs} +2 -2
- package/dist/{api-schema-manifest-DtYTPvh9.cjs.map → api-schema-manifest-BKnghL_k.cjs.map} +1 -1
- package/dist/{api-schema-manifest-ChxbN16M.js → api-schema-manifest-DOuSq4rG.js} +2 -2
- package/dist/{api-schema-manifest-ChxbN16M.js.map → api-schema-manifest-DOuSq4rG.js.map} +1 -1
- package/dist/{conversations-QuKJVEFe.cjs → conversations-CFj4BnNb.cjs} +2 -2
- package/dist/{conversations-QuKJVEFe.cjs.map → conversations-CFj4BnNb.cjs.map} +1 -1
- package/dist/{conversations-BbZYXKIa.js → conversations-DjTKtaUi.js} +2 -2
- package/dist/{conversations-BbZYXKIa.js.map → conversations-DjTKtaUi.js.map} +1 -1
- package/dist/docs/SKILL.md +3 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-resumable-streams.md +140 -0
- package/dist/docs/references/docs-server-server-adapters.md +679 -0
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +47 -58
- package/dist/{editor-builder-CjJlqR9a.cjs → editor-builder-CBBZxQhO.cjs} +3 -3
- package/dist/{editor-builder-CjJlqR9a.cjs.map → editor-builder-CBBZxQhO.cjs.map} +1 -1
- package/dist/{editor-builder-Bln4Pg1U.js → editor-builder-fe70YP8g.js} +2 -2
- package/dist/{editor-builder-Bln4Pg1U.js.map → editor-builder-fe70YP8g.js.map} +1 -1
- package/dist/{editor-builder-CbfX5bvL.js → editor-builder-o9xJHa96.js} +3 -3
- package/dist/{editor-builder-CbfX5bvL.js.map → editor-builder-o9xJHa96.js.map} +1 -1
- package/dist/{editor-builder-BaI8pttR.cjs → editor-builder-xQmDgVgJ.cjs} +2 -2
- package/dist/{editor-builder-BaI8pttR.cjs.map → editor-builder-xQmDgVgJ.cjs.map} +1 -1
- package/dist/{observability-mnHHbnoc.cjs → observability-BB0DeGo4.cjs} +3 -2
- package/dist/{observability-mnHHbnoc.cjs.map → observability-BB0DeGo4.cjs.map} +1 -1
- package/dist/{observability-BCTkIhJT.js → observability-Cl3qZKTD.js} +3 -2
- package/dist/{observability-BCTkIhJT.js.map → observability-Cl3qZKTD.js.map} +1 -1
- package/dist/{observability-new-endpoints-B6fo20v5.cjs → observability-new-endpoints-DugFsWBU.cjs} +27 -3
- package/dist/observability-new-endpoints-DugFsWBU.cjs.map +1 -0
- package/dist/{observability-new-endpoints-DHn8uKyr.js → observability-new-endpoints-qE2NutZ1.js} +22 -4
- package/dist/observability-new-endpoints-qE2NutZ1.js.map +1 -0
- package/dist/{plans-DMs8SVBG.cjs → plans-CQijj_Am.cjs} +3 -3
- package/dist/{plans-DMs8SVBG.cjs.map → plans-CQijj_Am.cjs.map} +1 -1
- package/dist/{plans-9hdkc-t8.js → plans-DVx9N2re.js} +3 -3
- package/dist/{plans-9hdkc-t8.js.map → plans-DVx9N2re.js.map} +1 -1
- package/dist/{responses-CNKJoC5a.cjs → responses-DYGS0aiI.cjs} +2 -2
- package/dist/{responses-CNKJoC5a.cjs.map → responses-DYGS0aiI.cjs.map} +1 -1
- package/dist/{responses-B5_syoSo.js → responses-NM-kLq8b.js} +2 -2
- package/dist/{responses-B5_syoSo.js.map → responses-NM-kLq8b.js.map} +1 -1
- package/dist/{routes-C0pgNcG-.js → routes-B2XGdvlv.js} +15 -14
- package/dist/routes-B2XGdvlv.js.map +1 -0
- package/dist/{routes-BYQ38dFx.cjs → routes-CWrdLnBc.cjs} +15 -14
- package/dist/routes-CWrdLnBc.cjs.map +1 -0
- package/dist/{scorer-versions-vQVWyYWA.cjs → scorer-versions-Bhdvt-cX.cjs} +2 -2
- package/dist/{scorer-versions-vQVWyYWA.cjs.map → scorer-versions-Bhdvt-cX.cjs.map} +1 -1
- package/dist/{scorer-versions-BZ58s09W.js → scorer-versions-DhT7Lj33.js} +2 -2
- package/dist/{scorer-versions-BZ58s09W.js.map → scorer-versions-DhT7Lj33.js.map} +1 -1
- package/dist/{scores-Dxa8dDfV.cjs → scores-CWx6H3Z8.cjs} +2 -2
- package/dist/{scores-Dxa8dDfV.cjs.map → scores-CWx6H3Z8.cjs.map} +1 -1
- package/dist/{scores-B3mS6vqB.js → scores-DTVV_OaX.js} +2 -2
- package/dist/{scores-B3mS6vqB.js.map → scores-DTVV_OaX.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 +13 -2
- 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 +13 -2
- package/dist/server/handlers/agent-controller.js.map +1 -1
- package/dist/server/handlers/agent-versions.cjs +1 -1
- package/dist/server/handlers/agent-versions.js +1 -1
- package/dist/server/handlers/agents.cjs +1 -1
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/conversations.cjs +1 -1
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/datasets.cjs +4 -2
- package/dist/server/handlers/datasets.cjs.map +1 -1
- package/dist/server/handlers/datasets.d.ts.map +1 -1
- package/dist/server/handlers/datasets.js +4 -2
- package/dist/server/handlers/datasets.js.map +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 +2 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +244 -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 +6 -0
- package/dist/server/handlers/observability-shared.cjs.map +1 -1
- package/dist/server/handlers/observability-shared.d.ts +6 -0
- package/dist/server/handlers/observability-shared.d.ts.map +1 -1
- package/dist/server/handlers/observability-shared.js +6 -0
- package/dist/server/handlers/observability-shared.js.map +1 -1
- package/dist/server/handlers/observability.cjs +3 -2
- package/dist/server/handlers/observability.js +3 -3
- 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/scorer-versions.cjs +1 -1
- package/dist/server/handlers/scorer-versions.js +1 -1
- package/dist/server/handlers/scores.cjs +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agent-favorites.cjs +2 -2
- package/dist/server/handlers/stored-agent-favorites.js +2 -2
- package/dist/server/handlers/stored-agents.cjs +4 -3
- package/dist/server/handlers/stored-agents.cjs.map +1 -1
- package/dist/server/handlers/stored-agents.d.ts +2 -6
- package/dist/server/handlers/stored-agents.d.ts.map +1 -1
- package/dist/server/handlers/stored-agents.js +4 -3
- package/dist/server/handlers/stored-agents.js.map +1 -1
- package/dist/server/handlers/stored-scorers.cjs +1 -1
- package/dist/server/handlers/stored-scorers.js +1 -1
- package/dist/server/handlers/stored-skill-favorites.cjs +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 +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tools.cjs +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/workflow-builder.cjs +1 -1
- package/dist/server/handlers/workflow-builder.js +1 -1
- package/dist/server/handlers/workflows.cjs +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +10 -10
- package/dist/server/handlers.js +10 -10
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/feedback.d.ts +49 -0
- package/dist/server/schemas/feedback.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +6 -6
- package/dist/server/schemas/index.js +6 -6
- package/dist/server/schemas/stored-agents.d.ts +5 -10
- package/dist/server/schemas/stored-agents.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +1 -1
- package/dist/server/server-adapter/index.js +1 -1
- package/dist/server/server-adapter/routes/observability.d.ts +121 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
- package/dist/server/utils/agent-stream-events.d.ts +2 -0
- package/dist/server/utils/agent-stream-events.d.ts.map +1 -1
- package/dist/{stored-agents-DA8Zx6o9.js → stored-agents-DmN_pIIl.js} +10 -10
- package/dist/stored-agents-DmN_pIIl.js.map +1 -0
- package/dist/{stored-agents-TQ2lIFbx.cjs → stored-agents-m0Knvv29.cjs} +10 -10
- package/dist/stored-agents-m0Knvv29.cjs.map +1 -0
- package/dist/{stored-scorers-DhOq8ZQC.js → stored-scorers-2F2k6XSx.js} +2 -2
- package/dist/{stored-scorers-DhOq8ZQC.js.map → stored-scorers-2F2k6XSx.js.map} +1 -1
- package/dist/{stored-scorers-FJOs5774.cjs → stored-scorers-iM2Qq9Nh.cjs} +2 -2
- package/dist/{stored-scorers-FJOs5774.cjs.map → stored-scorers-iM2Qq9Nh.cjs.map} +1 -1
- package/dist/{tools-C9W7WvyI.cjs → tools-7O8cd_4u.cjs} +3 -3
- package/dist/{tools-C9W7WvyI.cjs.map → tools-7O8cd_4u.cjs.map} +1 -1
- package/dist/{tools-Ce7SFoT1.js → tools-Bf3vq-HD.js} +3 -3
- package/dist/{tools-Ce7SFoT1.js.map → tools-Bf3vq-HD.js.map} +1 -1
- package/dist/{workflow-builder-BNk301jl.js → workflow-builder-BUQfzD4L.js} +3 -3
- package/dist/{workflow-builder-BNk301jl.js.map → workflow-builder-BUQfzD4L.js.map} +1 -1
- package/dist/{workflow-builder-CsOEskDo.cjs → workflow-builder-C6J_1s56.cjs} +3 -3
- package/dist/{workflow-builder-CsOEskDo.cjs.map → workflow-builder-C6J_1s56.cjs.map} +1 -1
- package/dist/{workflows-BAFGmHCW.js → workflows-BkTNzH-i.js} +2 -2
- package/dist/{workflows-BAFGmHCW.js.map → workflows-BkTNzH-i.js.map} +1 -1
- package/dist/{workflows-CJz5Eh0B.cjs → workflows-CHUG5jh4.cjs} +2 -2
- package/dist/{workflows-CJz5Eh0B.cjs.map → workflows-CHUG5jh4.cjs.map} +1 -1
- package/package.json +5 -5
- package/dist/agents-BI8ez-FT.js.map +0 -1
- package/dist/agents-DsfsDhIT.cjs.map +0 -1
- package/dist/observability-new-endpoints-B6fo20v5.cjs.map +0 -1
- package/dist/observability-new-endpoints-DHn8uKyr.js.map +0 -1
- package/dist/routes-BYQ38dFx.cjs.map +0 -1
- package/dist/routes-C0pgNcG-.js.map +0 -1
- package/dist/stored-agents-DA8Zx6o9.js.map +0 -1
- package/dist/stored-agents-TQ2lIFbx.cjs.map +0 -1
|
@@ -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 '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;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,SAAS,oCAAoC,OAAgC;CAC3E,OAAO,iBAAiB,SAAU,MAA2B,OAAO;AACtE;;;;;;;AAQA,SAAS,0CAA0C,OAAgC;CACjF,MAAM,KAAK,SAAS,OAAO,UAAU,YAAY,QAAQ,QAAQ,MAAM,KAAK,KAAA;CAC5E,OAAO,OAAO,OAAO,YAAY,GAAG,WAAW,wBAAwB,KAAK,GAAG,SAAS,kBAAkB;AAC5G;;;;;;;;;;;AAYA,SAAgB,WAAW,OAAwC;CACjE,OACE,CAAC,CAAC,SACF,OAAO,UAAU,YAChB,MA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O,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 '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,IA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@@ -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-CBBZxQhO.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-o9xJHa96.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-DugFsWBU.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;
|
|
@@ -11,6 +11,7 @@ exports.GET_CAPABILITIES = require_observability_new_endpoints.GET_CAPABILITIES;
|
|
|
11
11
|
exports.GET_ENTITY_NAMES = require_observability_new_endpoints.GET_ENTITY_NAMES;
|
|
12
12
|
exports.GET_ENTITY_TYPES = require_observability_new_endpoints.GET_ENTITY_TYPES;
|
|
13
13
|
exports.GET_ENVIRONMENTS = require_observability_new_endpoints.GET_ENVIRONMENTS;
|
|
14
|
+
exports.GET_FEEDBACK = require_observability_new_endpoints.GET_FEEDBACK;
|
|
14
15
|
exports.GET_FEEDBACK_AGGREGATE = require_observability_new_endpoints.GET_FEEDBACK_AGGREGATE;
|
|
15
16
|
exports.GET_FEEDBACK_BREAKDOWN = require_observability_new_endpoints.GET_FEEDBACK_BREAKDOWN;
|
|
16
17
|
exports.GET_FEEDBACK_PERCENTILES = require_observability_new_endpoints.GET_FEEDBACK_PERCENTILES;
|
|
@@ -2184,6 +2184,128 @@ export declare const GET_SCORE_PERCENTILES: Omit<import("@mastra/core/server").A
|
|
|
2184
2184
|
} & {
|
|
2185
2185
|
readonly _mastraSchemaRoute: true;
|
|
2186
2186
|
};
|
|
2187
|
+
export declare const GET_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
2188
|
+
method: string;
|
|
2189
|
+
path: `/${string}`;
|
|
2190
|
+
responseType: "json";
|
|
2191
|
+
streamFormat?: 'sse' | 'stream';
|
|
2192
|
+
sseFlushOnConnect?: boolean;
|
|
2193
|
+
handler(params: {
|
|
2194
|
+
feedbackId: string;
|
|
2195
|
+
} & ServerContext): Promise<{
|
|
2196
|
+
feedback: {
|
|
2197
|
+
entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2198
|
+
entityId?: string | null | undefined;
|
|
2199
|
+
entityName?: string | null | undefined;
|
|
2200
|
+
parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2201
|
+
parentEntityId?: string | null | undefined;
|
|
2202
|
+
parentEntityName?: string | null | undefined;
|
|
2203
|
+
rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2204
|
+
rootEntityId?: string | null | undefined;
|
|
2205
|
+
rootEntityName?: string | null | undefined;
|
|
2206
|
+
userId?: string | null | undefined;
|
|
2207
|
+
organizationId?: string | null | undefined;
|
|
2208
|
+
resourceId?: string | null | undefined;
|
|
2209
|
+
runId?: string | null | undefined;
|
|
2210
|
+
sessionId?: string | null | undefined;
|
|
2211
|
+
threadId?: string | null | undefined;
|
|
2212
|
+
requestId?: string | null | undefined;
|
|
2213
|
+
environment?: string | null | undefined;
|
|
2214
|
+
serviceName?: string | null | undefined;
|
|
2215
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
2216
|
+
entityVersionId?: string | null | undefined;
|
|
2217
|
+
parentEntityVersionId?: string | null | undefined;
|
|
2218
|
+
rootEntityVersionId?: string | null | undefined;
|
|
2219
|
+
experimentId?: string | null | undefined;
|
|
2220
|
+
executionSource?: string | null | undefined;
|
|
2221
|
+
tags?: string[] | null | undefined;
|
|
2222
|
+
feedbackId?: string | null | undefined;
|
|
2223
|
+
timestamp: Date;
|
|
2224
|
+
traceId?: string | null | undefined;
|
|
2225
|
+
spanId?: string | null | undefined;
|
|
2226
|
+
feedbackSource?: string | null | undefined;
|
|
2227
|
+
source?: string | null | undefined;
|
|
2228
|
+
feedbackType: string;
|
|
2229
|
+
value: string | number;
|
|
2230
|
+
comment?: string | null | undefined;
|
|
2231
|
+
feedbackUserId?: string | null | undefined;
|
|
2232
|
+
sourceId?: string | null | undefined;
|
|
2233
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2234
|
+
reviewStatus: "needs-review" | "reviewed";
|
|
2235
|
+
author?: {
|
|
2236
|
+
id: string;
|
|
2237
|
+
name?: string | undefined;
|
|
2238
|
+
email?: string | undefined;
|
|
2239
|
+
avatarUrl?: string | undefined;
|
|
2240
|
+
} | undefined;
|
|
2241
|
+
} | null;
|
|
2242
|
+
}>;
|
|
2243
|
+
pathParamSchema?: z.ZodSchema;
|
|
2244
|
+
queryParamSchema?: z.ZodSchema;
|
|
2245
|
+
bodySchema?: z.ZodSchema;
|
|
2246
|
+
responseSchema?: z.ZodSchema;
|
|
2247
|
+
openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
|
|
2248
|
+
maxBodySize?: number;
|
|
2249
|
+
deprecated?: boolean;
|
|
2250
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
2251
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
2252
|
+
onValidationError?: ValidationErrorHook;
|
|
2253
|
+
readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
2254
|
+
feedbackId: z.ZodString;
|
|
2255
|
+
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
|
|
2256
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
2257
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2258
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2259
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2260
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2261
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2262
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2263
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2264
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2265
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2266
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2267
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2268
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2269
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2270
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2271
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2272
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2273
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2274
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2275
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2276
|
+
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2277
|
+
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2278
|
+
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2279
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2280
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2281
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2282
|
+
feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2283
|
+
timestamp: z.ZodDate;
|
|
2284
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2285
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2286
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2287
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2288
|
+
feedbackType: z.ZodString;
|
|
2289
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2290
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2291
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2292
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2293
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2294
|
+
reviewStatus: z.ZodEnum<{
|
|
2295
|
+
"needs-review": "needs-review";
|
|
2296
|
+
reviewed: "reviewed";
|
|
2297
|
+
}>;
|
|
2298
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
2299
|
+
id: z.ZodString;
|
|
2300
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2301
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2303
|
+
}, z.core.$strip>>;
|
|
2304
|
+
}, z.core.$strip>>;
|
|
2305
|
+
}, z.core.$strip>> | undefined;
|
|
2306
|
+
} & {
|
|
2307
|
+
readonly _mastraSchemaRoute: true;
|
|
2308
|
+
};
|
|
2187
2309
|
export declare const LIST_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
2188
2310
|
method: string;
|
|
2189
2311
|
path: `/${string}`;
|
|
@@ -5963,6 +6085,128 @@ export declare const NEW_ROUTES: {
|
|
|
5963
6085
|
} & {
|
|
5964
6086
|
readonly _mastraSchemaRoute: true;
|
|
5965
6087
|
};
|
|
6088
|
+
GET_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
6089
|
+
method: string;
|
|
6090
|
+
path: `/${string}`;
|
|
6091
|
+
responseType: "json";
|
|
6092
|
+
streamFormat?: 'sse' | 'stream';
|
|
6093
|
+
sseFlushOnConnect?: boolean;
|
|
6094
|
+
handler(params: {
|
|
6095
|
+
feedbackId: string;
|
|
6096
|
+
} & ServerContext): Promise<{
|
|
6097
|
+
feedback: {
|
|
6098
|
+
entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6099
|
+
entityId?: string | null | undefined;
|
|
6100
|
+
entityName?: string | null | undefined;
|
|
6101
|
+
parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6102
|
+
parentEntityId?: string | null | undefined;
|
|
6103
|
+
parentEntityName?: string | null | undefined;
|
|
6104
|
+
rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6105
|
+
rootEntityId?: string | null | undefined;
|
|
6106
|
+
rootEntityName?: string | null | undefined;
|
|
6107
|
+
userId?: string | null | undefined;
|
|
6108
|
+
organizationId?: string | null | undefined;
|
|
6109
|
+
resourceId?: string | null | undefined;
|
|
6110
|
+
runId?: string | null | undefined;
|
|
6111
|
+
sessionId?: string | null | undefined;
|
|
6112
|
+
threadId?: string | null | undefined;
|
|
6113
|
+
requestId?: string | null | undefined;
|
|
6114
|
+
environment?: string | null | undefined;
|
|
6115
|
+
serviceName?: string | null | undefined;
|
|
6116
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
6117
|
+
entityVersionId?: string | null | undefined;
|
|
6118
|
+
parentEntityVersionId?: string | null | undefined;
|
|
6119
|
+
rootEntityVersionId?: string | null | undefined;
|
|
6120
|
+
experimentId?: string | null | undefined;
|
|
6121
|
+
executionSource?: string | null | undefined;
|
|
6122
|
+
tags?: string[] | null | undefined;
|
|
6123
|
+
feedbackId?: string | null | undefined;
|
|
6124
|
+
timestamp: Date;
|
|
6125
|
+
traceId?: string | null | undefined;
|
|
6126
|
+
spanId?: string | null | undefined;
|
|
6127
|
+
feedbackSource?: string | null | undefined;
|
|
6128
|
+
source?: string | null | undefined;
|
|
6129
|
+
feedbackType: string;
|
|
6130
|
+
value: string | number;
|
|
6131
|
+
comment?: string | null | undefined;
|
|
6132
|
+
feedbackUserId?: string | null | undefined;
|
|
6133
|
+
sourceId?: string | null | undefined;
|
|
6134
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
6135
|
+
reviewStatus: "needs-review" | "reviewed";
|
|
6136
|
+
author?: {
|
|
6137
|
+
id: string;
|
|
6138
|
+
name?: string | undefined;
|
|
6139
|
+
email?: string | undefined;
|
|
6140
|
+
avatarUrl?: string | undefined;
|
|
6141
|
+
} | undefined;
|
|
6142
|
+
} | null;
|
|
6143
|
+
}>;
|
|
6144
|
+
pathParamSchema?: z.ZodSchema;
|
|
6145
|
+
queryParamSchema?: z.ZodSchema;
|
|
6146
|
+
bodySchema?: z.ZodSchema;
|
|
6147
|
+
responseSchema?: z.ZodSchema;
|
|
6148
|
+
openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
|
|
6149
|
+
maxBodySize?: number;
|
|
6150
|
+
deprecated?: boolean;
|
|
6151
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
6152
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
6153
|
+
onValidationError?: ValidationErrorHook;
|
|
6154
|
+
readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
6155
|
+
feedbackId: z.ZodString;
|
|
6156
|
+
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
|
|
6157
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
6158
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6159
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6160
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6161
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6162
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6163
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6164
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6165
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6166
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6167
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6168
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6169
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6170
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6171
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6172
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6173
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6174
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6175
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6176
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6177
|
+
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6178
|
+
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6179
|
+
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6180
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6181
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6182
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6183
|
+
feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6184
|
+
timestamp: z.ZodDate;
|
|
6185
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6186
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6187
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6188
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6189
|
+
feedbackType: z.ZodString;
|
|
6190
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6191
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6192
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6193
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6194
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6195
|
+
reviewStatus: z.ZodEnum<{
|
|
6196
|
+
"needs-review": "needs-review";
|
|
6197
|
+
reviewed: "reviewed";
|
|
6198
|
+
}>;
|
|
6199
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
6200
|
+
id: z.ZodString;
|
|
6201
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6202
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6203
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6204
|
+
}, z.core.$strip>>;
|
|
6205
|
+
}, z.core.$strip>>;
|
|
6206
|
+
}, z.core.$strip>> | undefined;
|
|
6207
|
+
} & {
|
|
6208
|
+
readonly _mastraSchemaRoute: true;
|
|
6209
|
+
};
|
|
5966
6210
|
CREATE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
5967
6211
|
method: string;
|
|
5968
6212
|
path: `/${string}`;
|
|
@@ -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,C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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
|
|
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-qE2NutZ1.js";
|
|
@@ -592,6 +592,12 @@ const NEW_ROUTE_DEFS = {
|
|
|
592
592
|
summary: "List feedback",
|
|
593
593
|
description: "Returns a paginated list of feedback with optional filtering and sorting"
|
|
594
594
|
},
|
|
595
|
+
GET_FEEDBACK: {
|
|
596
|
+
method: "GET",
|
|
597
|
+
path: "/observability/feedback/:feedbackId",
|
|
598
|
+
summary: "Get feedback",
|
|
599
|
+
description: "Returns a single feedback record by feedbackId"
|
|
600
|
+
},
|
|
595
601
|
CREATE_FEEDBACK: {
|
|
596
602
|
method: "POST",
|
|
597
603
|
path: "/observability/feedback",
|