@mastra/server 1.61.0-alpha.2 → 1.61.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/dist/{api-schema-manifest-Bx_zU5qw.js → api-schema-manifest-BxnLWV5l.js} +2 -2
- package/dist/{api-schema-manifest-Bx_zU5qw.js.map → api-schema-manifest-BxnLWV5l.js.map} +1 -1
- package/dist/{api-schema-manifest-DPgfugJT.cjs → api-schema-manifest-Cbonk0PF.cjs} +2 -2
- package/dist/{api-schema-manifest-DPgfugJT.cjs.map → api-schema-manifest-Cbonk0PF.cjs.map} +1 -1
- package/dist/{datasets-D2JdQI44.cjs → datasets-CNtKg_3d.cjs} +80 -6
- package/dist/datasets-CNtKg_3d.cjs.map +1 -0
- package/dist/{datasets-Dr1pCC6P.js → datasets-DmN9V4rU.js} +57 -7
- package/dist/datasets-DmN9V4rU.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-server-routes.md +111 -0
- package/dist/{routes-Bh2p-WqG.js → routes-B6F4QBgN.js} +5 -2
- package/dist/routes-B6F4QBgN.js.map +1 -0
- package/dist/{routes-CdbboDwv.cjs → routes-DGwUTyHr.cjs} +4 -1
- package/dist/routes-DGwUTyHr.cjs.map +1 -0
- package/dist/server/handlers/datasets.cjs +125 -6
- package/dist/server/handlers/datasets.cjs.map +1 -1
- package/dist/server/handlers/datasets.d.ts +470 -22
- package/dist/server/handlers/datasets.d.ts.map +1 -1
- package/dist/server/handlers/datasets.js +123 -7
- package/dist/server/handlers/datasets.js.map +1 -1
- package/dist/server/handlers/system.cjs +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/schemas/datasets.d.ts +117 -10
- package/dist/server/schemas/datasets.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +5 -1
- package/dist/server/schemas/index.js +2 -2
- package/dist/server/server-adapter/index.cjs +1 -1
- package/dist/server/server-adapter/index.js +1 -1
- package/dist/server/server-adapter/routes/datasets.d.ts +467 -22
- package/dist/server/server-adapter/routes/datasets.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/datasets-D2JdQI44.cjs.map +0 -1
- package/dist/datasets-Dr1pCC6P.js.map +0 -1
- package/dist/routes-Bh2p-WqG.js.map +0 -1
- package/dist/routes-CdbboDwv.cjs.map +0 -1
|
@@ -17,6 +17,11 @@ export declare const experimentResultIdPathParams: z.ZodObject<{
|
|
|
17
17
|
experimentId: z.ZodString;
|
|
18
18
|
resultId: z.ZodString;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
|
+
export declare const datasetExperimentAndItemIdPathParams: z.ZodObject<{
|
|
21
|
+
datasetId: z.ZodString;
|
|
22
|
+
experimentId: z.ZodString;
|
|
23
|
+
itemId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
20
25
|
export declare const datasetAndItemIdPathParams: z.ZodObject<{
|
|
21
26
|
datasetId: z.ZodString;
|
|
22
27
|
itemId: z.ZodString;
|
|
@@ -374,12 +379,14 @@ export declare const updateItemBodySchema: z.ZodObject<{
|
|
|
374
379
|
}, z.core.$strip>>;
|
|
375
380
|
}, z.core.$strip>;
|
|
376
381
|
export declare const triggerExperimentBodySchema: z.ZodObject<{
|
|
377
|
-
|
|
382
|
+
start: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
targetType: z.ZodOptional<z.ZodEnum<{
|
|
378
384
|
agent: "agent";
|
|
379
385
|
workflow: "workflow";
|
|
380
386
|
scorer: "scorer";
|
|
381
|
-
}
|
|
382
|
-
targetId: z.ZodString
|
|
387
|
+
}>>;
|
|
388
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
389
|
+
id: z.ZodOptional<z.ZodString>;
|
|
383
390
|
name: z.ZodOptional<z.ZodString>;
|
|
384
391
|
description: z.ZodOptional<z.ZodString>;
|
|
385
392
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -415,6 +422,32 @@ export declare const triggerExperimentBodySchema: z.ZodObject<{
|
|
|
415
422
|
}>>;
|
|
416
423
|
}, z.core.$strip>>;
|
|
417
424
|
}, z.core.$strip>;
|
|
425
|
+
export declare const runExperimentItemBodySchema: z.ZodObject<{
|
|
426
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
428
|
+
}, z.core.$strip>;
|
|
429
|
+
export declare const submitExperimentResultBodySchema: z.ZodObject<{
|
|
430
|
+
itemId: z.ZodString;
|
|
431
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
433
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
434
|
+
groundTruth: z.ZodOptional<z.ZodUnknown>;
|
|
435
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
436
|
+
message: z.ZodString;
|
|
437
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
438
|
+
code: z.ZodOptional<z.ZodString>;
|
|
439
|
+
}, z.core.$strip>>>;
|
|
440
|
+
startedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
441
|
+
completedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
442
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
443
|
+
scores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
444
|
+
scorerId: z.ZodString;
|
|
445
|
+
scorerName: z.ZodOptional<z.ZodString>;
|
|
446
|
+
score: z.ZodNumber;
|
|
447
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
448
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
449
|
+
}, z.core.$strip>>>;
|
|
450
|
+
}, z.core.$strip>;
|
|
418
451
|
export declare const compareExperimentsBodySchema: z.ZodObject<{
|
|
419
452
|
experimentIdA: z.ZodString;
|
|
420
453
|
experimentIdB: z.ZodString;
|
|
@@ -478,13 +511,14 @@ export declare const experimentResponseSchema: z.ZodObject<{
|
|
|
478
511
|
datasetId: z.ZodNullable<z.ZodString>;
|
|
479
512
|
datasetVersion: z.ZodNullable<z.ZodNumber>;
|
|
480
513
|
agentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
481
|
-
targetType: z.ZodEnum<{
|
|
514
|
+
targetType: z.ZodNullable<z.ZodEnum<{
|
|
482
515
|
agent: "agent";
|
|
483
516
|
workflow: "workflow";
|
|
484
517
|
scorer: "scorer";
|
|
485
518
|
processor: "processor";
|
|
486
|
-
}
|
|
487
|
-
targetId: z.ZodString
|
|
519
|
+
}>>;
|
|
520
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
521
|
+
scorerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
488
522
|
name: z.ZodOptional<z.ZodString>;
|
|
489
523
|
description: z.ZodOptional<z.ZodString>;
|
|
490
524
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -542,6 +576,7 @@ export declare const experimentResultResponseSchema: z.ZodObject<{
|
|
|
542
576
|
startedAt: z.ZodCoercedDate<unknown>;
|
|
543
577
|
completedAt: z.ZodCoercedDate<unknown>;
|
|
544
578
|
retryCount: z.ZodNumber;
|
|
579
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
545
580
|
traceId: z.ZodNullable<z.ZodString>;
|
|
546
581
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
547
582
|
complete: "complete";
|
|
@@ -577,6 +612,75 @@ export declare const experimentResultResponseSchema: z.ZodObject<{
|
|
|
577
612
|
}, z.core.$strip>>>;
|
|
578
613
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
579
614
|
}, z.core.$strip>;
|
|
615
|
+
export declare const runExperimentItemResponseSchema: z.ZodObject<{
|
|
616
|
+
result: z.ZodObject<{
|
|
617
|
+
id: z.ZodString;
|
|
618
|
+
experimentId: z.ZodString;
|
|
619
|
+
itemId: z.ZodString;
|
|
620
|
+
itemDatasetVersion: z.ZodNullable<z.ZodNumber>;
|
|
621
|
+
input: z.ZodUnknown;
|
|
622
|
+
output: z.ZodNullable<z.ZodUnknown>;
|
|
623
|
+
groundTruth: z.ZodNullable<z.ZodUnknown>;
|
|
624
|
+
expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
|
|
625
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
626
|
+
message: z.ZodString;
|
|
627
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
628
|
+
code: z.ZodOptional<z.ZodString>;
|
|
629
|
+
}, z.core.$strip>>;
|
|
630
|
+
startedAt: z.ZodCoercedDate<unknown>;
|
|
631
|
+
completedAt: z.ZodCoercedDate<unknown>;
|
|
632
|
+
retryCount: z.ZodNumber;
|
|
633
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
634
|
+
traceId: z.ZodNullable<z.ZodString>;
|
|
635
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
636
|
+
complete: "complete";
|
|
637
|
+
"needs-review": "needs-review";
|
|
638
|
+
reviewed: "reviewed";
|
|
639
|
+
}>>>;
|
|
640
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
641
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
642
|
+
toolMockReport: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
643
|
+
served: z.ZodArray<z.ZodObject<{
|
|
644
|
+
mockIndex: z.ZodNumber;
|
|
645
|
+
toolName: z.ZodString;
|
|
646
|
+
args: z.ZodUnknown;
|
|
647
|
+
}, z.core.$strip>>;
|
|
648
|
+
unconsumed: z.ZodArray<z.ZodObject<{
|
|
649
|
+
mockIndex: z.ZodNumber;
|
|
650
|
+
toolName: z.ZodString;
|
|
651
|
+
args: z.ZodUnknown;
|
|
652
|
+
}, z.core.$strip>>;
|
|
653
|
+
liveCalls: z.ZodArray<z.ZodObject<{
|
|
654
|
+
toolName: z.ZodString;
|
|
655
|
+
args: z.ZodUnknown;
|
|
656
|
+
}, z.core.$strip>>;
|
|
657
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
658
|
+
code: z.ZodEnum<{
|
|
659
|
+
TOOL_MOCK_MISMATCH: "TOOL_MOCK_MISMATCH";
|
|
660
|
+
TOOL_MOCK_EXHAUSTED: "TOOL_MOCK_EXHAUSTED";
|
|
661
|
+
TOOL_MOCK_NOT_DECLARED: "TOOL_MOCK_NOT_DECLARED";
|
|
662
|
+
}>;
|
|
663
|
+
toolName: z.ZodString;
|
|
664
|
+
args: z.ZodUnknown;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
}, z.core.$strip>>>;
|
|
667
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
scores: z.ZodArray<z.ZodObject<{
|
|
670
|
+
scorerId: z.ZodString;
|
|
671
|
+
scorerName: z.ZodString;
|
|
672
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
673
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
674
|
+
error: z.ZodNullable<z.ZodString>;
|
|
675
|
+
failedStep: z.ZodOptional<z.ZodString>;
|
|
676
|
+
completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
677
|
+
targetScope: z.ZodOptional<z.ZodEnum<{
|
|
678
|
+
span: "span";
|
|
679
|
+
trajectory: "trajectory";
|
|
680
|
+
}>>;
|
|
681
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strip>>;
|
|
683
|
+
}, z.core.$strip>;
|
|
580
684
|
export declare const updateExperimentResultBodySchema: z.ZodObject<{
|
|
581
685
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
582
686
|
complete: "complete";
|
|
@@ -609,7 +713,8 @@ export declare const experimentSummaryResponseSchema: z.ZodObject<{
|
|
|
609
713
|
totalItems: z.ZodNumber;
|
|
610
714
|
succeededCount: z.ZodNumber;
|
|
611
715
|
failedCount: z.ZodNumber;
|
|
612
|
-
|
|
716
|
+
datasetVersion: z.ZodOptional<z.ZodNumber>;
|
|
717
|
+
startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
613
718
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
614
719
|
results: z.ZodArray<z.ZodObject<{
|
|
615
720
|
itemId: z.ZodString;
|
|
@@ -731,13 +836,14 @@ export declare const listExperimentsResponseSchema: z.ZodObject<{
|
|
|
731
836
|
datasetId: z.ZodNullable<z.ZodString>;
|
|
732
837
|
datasetVersion: z.ZodNullable<z.ZodNumber>;
|
|
733
838
|
agentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
734
|
-
targetType: z.ZodEnum<{
|
|
839
|
+
targetType: z.ZodNullable<z.ZodEnum<{
|
|
735
840
|
agent: "agent";
|
|
736
841
|
workflow: "workflow";
|
|
737
842
|
scorer: "scorer";
|
|
738
843
|
processor: "processor";
|
|
739
|
-
}
|
|
740
|
-
targetId: z.ZodString
|
|
844
|
+
}>>;
|
|
845
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
846
|
+
scorerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
741
847
|
name: z.ZodOptional<z.ZodString>;
|
|
742
848
|
description: z.ZodOptional<z.ZodString>;
|
|
743
849
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -796,6 +902,7 @@ export declare const listExperimentResultsResponseSchema: z.ZodObject<{
|
|
|
796
902
|
startedAt: z.ZodCoercedDate<unknown>;
|
|
797
903
|
completedAt: z.ZodCoercedDate<unknown>;
|
|
798
904
|
retryCount: z.ZodNumber;
|
|
905
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
799
906
|
traceId: z.ZodNullable<z.ZodString>;
|
|
800
907
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
801
908
|
complete: "complete";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAkO3B,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;iBAE3B,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;iBAIvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAC;AAMH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;iBAKrC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;iBAK/B,CAAC;AAMH,eAAO,MAAM,uBAAuB;;;;;;;;;;iBAUlC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;iBAWlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU/B,CAAC;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/datasets.ts"],"names":[],"mappings":"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"}
|
|
@@ -22,7 +22,7 @@ const require_scores = require("../../scores-C_Au9jSw.cjs");
|
|
|
22
22
|
const require_vectors = require("../../vectors-D6uZn2f1.cjs");
|
|
23
23
|
const require_version_common = require("../../version-common-AtNRQ5xH.cjs");
|
|
24
24
|
const require_agent_versions = require("../../agent-versions-MYjO6Wl1.cjs");
|
|
25
|
-
const require_datasets = require("../../datasets-
|
|
25
|
+
const require_datasets = require("../../datasets-CNtKg_3d.cjs");
|
|
26
26
|
const require_editor_builder = require("../../editor-builder-DNRVszU-.cjs");
|
|
27
27
|
const require_mcp_client_versions = require("../../mcp-client-versions-CG7po4hq.cjs");
|
|
28
28
|
const require_processor_providers = require("../../processor-providers-DHvTA9AL.cjs");
|
|
@@ -154,6 +154,7 @@ exports.credentialsSignUpBodySchema = require_auth.credentialsSignUpBodySchema;
|
|
|
154
154
|
exports.currentUserResponseSchema = require_auth.currentUserResponseSchema;
|
|
155
155
|
exports.datasetAndExperimentIdPathParams = require_datasets.datasetAndExperimentIdPathParams;
|
|
156
156
|
exports.datasetAndItemIdPathParams = require_datasets.datasetAndItemIdPathParams;
|
|
157
|
+
exports.datasetExperimentAndItemIdPathParams = require_datasets.datasetExperimentAndItemIdPathParams;
|
|
157
158
|
exports.datasetIdPathParams = require_datasets.datasetIdPathParams;
|
|
158
159
|
exports.datasetItemResponseSchema = require_datasets.datasetItemResponseSchema;
|
|
159
160
|
exports.datasetItemVersionPathParams = require_datasets.datasetItemVersionPathParams;
|
|
@@ -403,6 +404,8 @@ exports.resumeStreamUntilIdleBodySchema = require_agents.resumeStreamUntilIdleBo
|
|
|
403
404
|
exports.reviewSummaryResponseSchema = require_datasets.reviewSummaryResponseSchema;
|
|
404
405
|
exports.ruleGroupSchema = require_rule_group.ruleGroupSchema;
|
|
405
406
|
exports.ruleSchema = require_rule_group.ruleSchema;
|
|
407
|
+
exports.runExperimentItemBodySchema = require_datasets.runExperimentItemBodySchema;
|
|
408
|
+
exports.runExperimentItemResponseSchema = require_datasets.runExperimentItemResponseSchema;
|
|
406
409
|
exports.runIdSchema = require_common.runIdSchema;
|
|
407
410
|
exports.saveMessagesBodySchema = require_memory.saveMessagesBodySchema;
|
|
408
411
|
exports.saveMessagesNetworkQuerySchema = require_memory.saveMessagesNetworkQuerySchema;
|
|
@@ -494,6 +497,7 @@ exports.streamAgentBuilderBodySchema = require_agent_builder.streamAgentBuilderB
|
|
|
494
497
|
exports.streamLegacyAgentBuilderBodySchema = require_agent_builder.streamLegacyAgentBuilderBodySchema;
|
|
495
498
|
exports.streamResponseSchema = require_agents.streamResponseSchema;
|
|
496
499
|
exports.streamUntilIdleBodySchema = require_agents.streamUntilIdleBodySchema;
|
|
500
|
+
exports.submitExperimentResultBodySchema = require_datasets.submitExperimentResultBodySchema;
|
|
497
501
|
exports.subscribeAgentThreadBodySchema = require_agents.subscribeAgentThreadBodySchema;
|
|
498
502
|
exports.successResponseSchema = require_common.successResponseSchema;
|
|
499
503
|
exports.systemPackagesResponseSchema = require_system.systemPackagesResponseSchema;
|
|
@@ -20,7 +20,7 @@ import { a as listScoresByScorerIdQuerySchema, c as scorerEntrySchema, i as list
|
|
|
20
20
|
import { a as listEmbeddersResponseSchema, c as queryVectorsBodySchema, d as upsertVectorsResponseSchema, f as vectorIndexPathParams, i as describeIndexResponseSchema, l as queryVectorsResponseSchema, n as createIndexResponseSchema, o as listIndexesResponseSchema, p as vectorNamePathParams, r as deleteIndexResponseSchema, s as listVectorsResponseSchema, t as createIndexBodySchema, u as upsertVectorsBodySchema } from "../../vectors-Ck7Qu6yz.js";
|
|
21
21
|
import { a as createVersionBodySchema, c as versionDiffEntrySchema, i as createListVersionsResponseSchema, l as versionOrderBySchema, n as compareVersionsQuerySchema, o as deleteVersionResponseSchema, r as createCompareVersionsResponseSchema, s as listVersionsQuerySchema, t as activateVersionResponseSchema } from "../../version-common-CudZ_WuW.js";
|
|
22
22
|
import { a as getVersionResponseSchema, c as versionIdPathParams, i as createVersionResponseSchema, n as agentVersionSchema, o as listVersionsResponseSchema, r as compareVersionsResponseSchema, s as restoreVersionResponseSchema, t as agentVersionPathParams } from "../../agent-versions-mFXaw5ma.js";
|
|
23
|
-
import { A as
|
|
23
|
+
import { A as listDatasetsResponseSchema, B as runExperimentItemResponseSchema, C as experimentReviewCountsSchema, D as itemIdPathParams, E as generateItemsResponseSchema, F as listItemsQuerySchema, G as updateDatasetBodySchema, H as submitExperimentResultBodySchema, I as listItemsResponseSchema, K as updateExperimentResultBodySchema, L as paginationQuerySchema, M as listExperimentsQuerySchema, N as listExperimentsResponseSchema, O as itemVersionResponseSchema, P as listItemVersionsResponseSchema, R as reviewSummaryResponseSchema, S as experimentResultResponseSchema, T as generateItemsBodySchema, U as tenancyQuerySchema, V as scorerResultSchema, W as triggerExperimentBodySchema, _ as datasetResponseSchema, a as batchInsertItemsResponseSchema, b as experimentResponseSchema, c as compareExperimentsBodySchema, d as datasetAndExperimentIdPathParams, f as datasetAndItemIdPathParams, g as datasetItemVersionPathParams, h as datasetItemResponseSchema, i as batchInsertItemsBodySchema, j as listExperimentResultsResponseSchema, k as listDatasetVersionsResponseSchema, l as comparisonResponseSchema, m as datasetIdPathParams, n as batchDeleteItemsBodySchema, o as clusterFailuresBodySchema, p as datasetExperimentAndItemIdPathParams, q as updateItemBodySchema, r as batchDeleteItemsResponseSchema, s as clusterFailuresResponseSchema, t as addItemBodySchema, u as createDatasetBodySchema, v as datasetVersionResponseSchema, w as experimentSummaryResponseSchema, x as experimentResultIdPathParams, y as experimentIdPathParams, z as runExperimentItemBodySchema } from "../../datasets-DmN9V4rU.js";
|
|
24
24
|
import { a as builderModelPolicySchema, c as defaultModelEntrySchema, d as providerModelEntrySchema, i as builderAvailableModelsResponseSchema, l as infrastructureStatusResponseSchema, n as agentFeaturesSchema, o as builderPickerSchema, r as agentModelsSchema, s as builderSettingsResponseSchema, t as agentConfigurationSchema, u as pickerAllowlistSchema } from "../../editor-builder-BDEm-gZe.js";
|
|
25
25
|
import { a as createMCPClientVersionResponseSchema, c as listMCPClientVersionsQuerySchema, d as mcpClientVersionPathParams, f as mcpClientVersionSchema, i as createMCPClientVersionBodySchema, l as listMCPClientVersionsResponseSchema, n as compareMCPClientVersionsQuerySchema, o as deleteMCPClientVersionResponseSchema, p as restoreMCPClientVersionResponseSchema, r as compareMCPClientVersionsResponseSchema, s as getMCPClientVersionResponseSchema, t as activateMCPClientVersionResponseSchema, u as mcpClientVersionIdPathParams } from "../../mcp-client-versions-Co8d39A6.js";
|
|
26
26
|
import { n as getProcessorProvidersResponseSchema, r as processorProviderIdPathParams, t as getProcessorProviderResponseSchema } from "../../processor-providers-DBhZC6-4.js";
|
|
@@ -32,4 +32,4 @@ import { a as listStoredPromptBlocksQuerySchema, c as storedPromptBlockSchema, i
|
|
|
32
32
|
import { a as listStoredScorersQuerySchema, c as storedScorerSchema, 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-BA4suzgn.js";
|
|
33
33
|
import { a as deleteStoredSkillResponseSchema, c as listStoredSkillsResponseSchema, d as readSkillOrigin, f as skillOriginSchema, g as updateStoredSkillResponseSchema, h as updateStoredSkillBodySchema, i as createStoredSkillResponseSchema, l as publishStoredSkillBodySchema, m as storedSkillSchema, n as buildOriginMetadata, o as getStoredSkillResponseSchema, p as storedSkillIdPathParams, r as createStoredSkillBodySchema, s as listStoredSkillsQuerySchema, t as SKILL_ORIGIN_METADATA_KEY, u as publishStoredSkillResponseSchema } from "../../stored-skills-JTWbMybs.js";
|
|
34
34
|
import { a as editorSourceSchema, c as observabilityStorageCapabilitiesSchema, i as editorSourceCapabilitiesSchema, l as systemPackagesResponseSchema, n as apiSchemaManifestRouteSchema, o as mastraPackageSchema, r as apiSchemaResponseShapeSchema, s as observabilityRuntimeStrategySchema, t as apiSchemaManifestResponseSchema } from "../../system-0TbTYKJY.js";
|
|
35
|
-
export { SKILL_ORIGIN_METADATA_KEY, agentExecutionBodySchema as a2aAgentExecutionBodySchema, a2aAgentIdPathParams, a2aTaskPathParams, abortAgentThreadBodySchema, abortAgentThreadResponseSchema, actionIdPathParams, actionRunPathParams, activateMCPClientVersionResponseSchema, activatePromptBlockVersionResponseSchema, activateScorerVersionResponseSchema, activateVersionResponseSchema, addItemBodySchema, agentCardResponseSchema, agentConfigurationSchema, agentExecutionBodySchema$1 as agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentExecutionResponseSchema, agentFeaturesSchema, agentIdPathParams, agentIdQuerySchema, agentModelsSchema, agentPlanQuerySchema, agentPlanResponseSchema, agentSkillPathParams, agentToolPathParams, agentVersionPathParams, agentVersionQuerySchema, agentVersionSchema, apiSchemaManifestResponseSchema, apiSchemaManifestRouteSchema, apiSchemaResponseShapeSchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, authStatusToolProviderResponseSchema, authenticatedCapabilitiesSchema, authenticatedUserSchema, authorizeToolProviderBodySchema, authorizeToolProviderResponseSchema, awaitBufferStatusBodySchema, awaitBufferStatusResponseSchema, baseLogMessageSchema, batchDeleteItemsBodySchema, batchDeleteItemsResponseSchema, batchInsertItemsBodySchema, batchInsertItemsResponseSchema, buildOriginMetadata, builderAvailableModelsResponseSchema, builderModelPolicySchema, builderPickerSchema, builderSettingsResponseSchema, capabilitiesResponseSchema, capabilityFlagsSchema, cloneThreadBodySchema, cloneThreadResponseSchema, clusterFailuresBodySchema, clusterFailuresResponseSchema, compareExperimentsBodySchema, compareMCPClientVersionsQuerySchema, compareMCPClientVersionsResponseSchema, comparePromptBlockVersionsQuerySchema, comparePromptBlockVersionsResponseSchema, compareScorerVersionsQuerySchema, compareScorerVersionsResponseSchema, compareVersionsQuerySchema, compareVersionsResponseSchema, comparisonResponseSchema, conditionalFieldSchema, connectionSchema, connectionScopeSchema, connectionStatusToolProviderBodySchema, connectionStatusToolProviderResponseSchema, connectionUsageQuerySchema, connectionUsageResponseSchema, conversationDeletedSchema, conversationIdPathParams, conversationItemMessageSchema, conversationItemSchema, conversationItemsListSchema, conversationMessageContentSchema, conversationObjectSchema, coreMessageSchema, createCombinedPaginationSchema, createCompareVersionsResponseSchema, createConversationBodySchema, createDatasetBodySchema, createIndexBodySchema, createIndexResponseSchema, createListVersionsResponseSchema, createMCPClientVersionBodySchema, createMCPClientVersionResponseSchema, createPagePaginationSchema, createPromptBlockVersionBodySchema, createPromptBlockVersionResponseSchema, createResponseBodySchema, createScorerVersionBodySchema, createScorerVersionResponseSchema, createStoredAgentBodySchema, createStoredAgentResponseSchema, createStoredMCPClientBodySchema, createStoredMCPClientResponseSchema, createStoredPromptBlockBodySchema, createStoredPromptBlockResponseSchema, createStoredScorerBodySchema, createStoredScorerResponseSchema, createStoredSkillBodySchema, createStoredSkillResponseSchema, createStoredWorkspaceBodySchema, createStoredWorkspaceResponseSchema, createThreadBodySchema, createThreadNetworkQuerySchema, createVersionBodySchema, createVersionResponseSchema, createWorkflowRunResponseSchema, credentialsResponseSchema, credentialsSignInBodySchema, credentialsSignUpBodySchema, currentUserResponseSchema, datasetAndExperimentIdPathParams, datasetAndItemIdPathParams, datasetIdPathParams, datasetItemResponseSchema, datasetItemVersionPathParams, datasetResponseSchema, datasetVersionResponseSchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, defaultModelEntrySchema, defaultOptionsSchema, deleteIndexResponseSchema, deleteMCPClientVersionResponseSchema, deleteMessagesBodySchema, deleteMessagesNetworkQuerySchema, deleteMessagesQuerySchema, deleteMessagesResponseSchema, deletePromptBlockVersionResponseSchema, deleteResponseSchema, deleteScorerVersionResponseSchema, deleteStoredAgentResponseSchema, deleteStoredMCPClientResponseSchema, deleteStoredPromptBlockResponseSchema, deleteStoredScorerResponseSchema, deleteStoredSkillResponseSchema, deleteStoredWorkspaceResponseSchema, deleteThreadNetworkQuerySchema, deleteThreadQuerySchema, deleteThreadResponseSchema, deleteVersionResponseSchema, describeIndexResponseSchema, disconnectConnectionQuerySchema, disconnectConnectionResponseSchema, editorSourceCapabilitiesSchema, editorSourceSchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, entityPathParams, executeProcessorBodySchema, executeProcessorResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, experimentIdPathParams, experimentResponseSchema, experimentResultIdPathParams, experimentResultResponseSchema, experimentReviewCountsSchema, experimentSummaryResponseSchema, exportStoredAgentBodySchema, exportStoredAgentResponseSchema, fileEntrySchema, fsDeleteQuerySchema, fsDeleteResponseSchema, fsListQuerySchema, fsListResponseSchema, fsMkdirBodySchema, fsMkdirResponseSchema, fsPathParams, fsReadQuerySchema, fsReadResponseSchema, fsStatQuerySchema, fsStatResponseSchema, fsWriteBodySchema, fsWriteResponseSchema, generateItemsBodySchema, generateItemsResponseSchema, generateResponseSchema, generateSpeechBodySchema, getAgentSkillResponseSchema, getListenerResponseSchema, getMCPClientVersionResponseSchema, getMcpServerDetailQuerySchema, getMemoryConfigQuerySchema, getMemoryStatusNetworkQuerySchema, getMemoryStatusQuerySchema, getObservationalMemoryQuerySchema, getObservationalMemoryResponseSchema, getProcessorProviderResponseSchema, getProcessorProvidersResponseSchema, getPromptBlockVersionResponseSchema, getScorerVersionResponseSchema, getSkillResponseSchema, getStoredAgentDependentsResponseSchema, getStoredAgentResponseSchema, getStoredMCPClientResponseSchema, getStoredPromptBlockResponseSchema, getStoredScorerResponseSchema, getStoredSkillResponseSchema, getStoredWorkspaceResponseSchema, getThreadByIdNetworkQuerySchema, getThreadByIdQuerySchema, getThreadByIdResponseSchema, getToolProviderToolSchemaResponseSchema, getVersionResponseSchema, getWorkingMemoryQuerySchema, getWorkingMemoryResponseSchema, indexBodySchema, indexResponseSchema, infrastructureStatusResponseSchema, instructionsSchema, itemIdPathParams, itemVersionResponseSchema, jsonRpcErrorSchema, listAgentsResponseSchema, listConnectionFieldsQuerySchema, listConnectionFieldsResponseSchema, listConnectionsQuerySchema, listConnectionsResponseSchema, listDatasetVersionsResponseSchema, listDatasetsResponseSchema, listEmbeddersResponseSchema, listExperimentResultsResponseSchema, listExperimentsQuerySchema, listExperimentsResponseSchema, listIndexesResponseSchema, listItemVersionsResponseSchema, listItemsQuerySchema, listItemsResponseSchema, listLogTransportsResponseSchema, listLogsQuerySchema, listLogsResponseSchema, listMCPClientVersionsQuerySchema, listMCPClientVersionsResponseSchema, listMcpServerToolsResponseSchema, listMcpServersQuerySchema, listMcpServersResponseSchema, listMessagesNetworkQuerySchema, listMessagesQuerySchema, listMessagesResponseSchema, listProcessorsResponseSchema, listPromptBlockVersionsQuerySchema, listPromptBlockVersionsResponseSchema, listReferencesResponseSchema, listScorerVersionsQuerySchema, listScorerVersionsResponseSchema, listScorersResponseSchema, listScoresByEntityIdQuerySchema, listScoresByRunIdQuerySchema, listScoresByScorerIdQuerySchema, listSkillsResponseSchema, listStoredAgentsQuerySchema, listStoredAgentsResponseSchema, listStoredMCPClientsQuerySchema, listStoredMCPClientsResponseSchema, listStoredPromptBlocksQuerySchema, listStoredPromptBlocksResponseSchema, listStoredScorersQuerySchema, listStoredScorersResponseSchema, listStoredSkillsQuerySchema, listStoredSkillsResponseSchema, listStoredWorkspacesQuerySchema, listStoredWorkspacesResponseSchema, listSuspendedRunsQuerySchema, listSuspendedRunsResponseSchema, listThreadsNetworkQuerySchema, listThreadsQuerySchema, listThreadsResponseSchema, listToolProviderToolkitsResponseSchema, listToolProviderToolsQuerySchema, listToolProviderToolsResponseSchema, listToolProvidersResponseSchema, listToolsResponseSchema, listVectorsResponseSchema, listVersionsQuerySchema, listVersionsResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, listWorkspacesResponseSchema, loginConfigSchema, logoutResponseSchema, mastraPackageSchema, mcpClientVersionIdPathParams, mcpClientVersionPathParams, mcpClientVersionSchema, executeToolBodySchema$1 as mcpExecuteToolBodySchema, executeToolResponseSchema$1 as mcpExecuteToolResponseSchema, mcpServerDetailPathParams, mcpServerIdPathParams, mcpServerToolPathParams, mcpToolInfoSchema, memoryConfigResponseSchema, memoryStatusResponseSchema, messageResponseSchema, messageSendBodySchema, modelConfigIdPathParams, modelConfigSchema, modelManagementResponseSchema, mountInfoSchema, observabilityRuntimeStrategySchema, observabilityStorageCapabilitiesSchema, observeAgentBodySchema, observeAgentResponseSchema, openStoredAgentChangeRequestBodySchema, openStoredAgentChangeRequestResponseSchema, optionalAgentIdQuerySchema, optionalRunIdSchema, paginationInfoSchema, paginationQuerySchema, partialQuerySchema, permissionPatternsResponseSchema, pickerAllowlistSchema, previewInstructionsBodySchema, previewInstructionsResponseSchema, processorConfigurationSchema, processorGraphEntrySchema, processorGraphStepSchema, processorIdPathParams, processorPhaseSchema, processorProviderIdPathParams, serializedProcessorSchema as processorSerializedSchema, promptBlockVersionIdPathParams, promptBlockVersionPathParams, promptBlockVersionSchema, providerModelEntrySchema, providerSchema, providersResponseSchema, publicCapabilitiesSchema, publishStoredSkillBodySchema, publishStoredSkillResponseSchema, queryVectorsBodySchema, queryVectorsResponseSchema, queueAgentMessageBodySchema, readSkillOrigin, recoverBodySchema, refreshResponseSchema, reorderAgentModelListBodySchema, resolvedAuthorSchema, responseIdPathParams, responseInputMessageSchema, responseInputTextContentSchema, responseInputTextPartSchema, responseObjectSchema, responseOutputFunctionCallOutputSchema, responseOutputFunctionCallSchema, responseOutputItemSchema, responseOutputMessageSchema, responseOutputTextSchema, responseTextFormatSchema, responseToolSchema, responseUsageSchema, restoreMCPClientVersionResponseSchema, restorePromptBlockVersionResponseSchema, restoreScorerVersionResponseSchema, restoreVersionResponseSchema, resumeAgentBuilderBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, reviewSummaryResponseSchema, ruleGroupSchema, ruleSchema, runIdSchema, saveMessagesBodySchema, saveMessagesNetworkQuerySchema, saveMessagesResponseSchema, saveScoreBodySchema, saveScoreResponseSchema, scorerConfigSchema, scorerEntrySchema, scorerIdPathParams, scorerResultSchema, scorerVersionIdPathParams, scorerVersionPathParams, scorerVersionSchema, scoresWithPaginationResponseSchema, searchMemoryQuerySchema, searchMemoryResponseSchema, searchQuerySchema, searchResponseSchema, searchResultSchema, searchSkillsQuerySchema, searchSkillsResponseSchema, semanticRecallSchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, sendWorkflowRunEventBodySchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedMemoryConfigSchema, serializedObservationConfigSchema, serializedObservationalMemoryConfigObjectSchema, serializedObservationalMemoryConfigSchema, serializedProcessorDetailSchema, serializedProcessorSchema$1 as serializedProcessorSchema, serializedReflectionConfigSchema, serializedToolSchema, serializedWorkflowSchema, serverDetailSchema, serverInfoSchema, skillDisambiguationQuerySchema, skillMetadataSchema, skillMetadataWithPathSchema, skillNamePathParams, skillOriginSchema, skillReferencePathParams, skillReferenceResponseSchema, skillSchema, skillSearchResultSchema, skillSourceSchema, skillsShInstallBodySchema, skillsShInstallResponseSchema, skillsShListResponseSchema, skillsShPopularQuerySchema, skillsShPreviewQuerySchema, skillsShPreviewResponseSchema, skillsShRemoveBodySchema, skillsShRemoveResponseSchema, skillsShSearchQuerySchema, skillsShSearchResponseSchema, skillsShSkillSchema, skillsShSourceSchema, skillsShUpdateBodySchema, skillsShUpdateResponseSchema, snapshotConfigSchema, speakResponseSchema, ssoCallbackQuerySchema, ssoCallbackResponseSchema, ssoConfigSchema, ssoLoginQuerySchema, ssoLoginResponseSchema, startAsyncAgentBuilderBodySchema, statusQuerySchema, storedAgentIdPathParams, storedAgentSchema, storedMCPClientIdPathParams, storedMCPClientSchema, storedProcessorGraphSchema, storedPromptBlockIdPathParams, storedPromptBlockSchema, storedScorerIdPathParams, storedScorerSchema, storedSkillIdPathParams, storedSkillSchema, storedWorkspaceIdPathParams, storedWorkspaceSchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, successResponseSchema, systemPackagesResponseSchema, taskQueryBodySchema, taskResponseSchema, tenancyQuerySchema, threadIdPathParams, titleGenerationSchema, toolCallResponseSchema, toolConfigSchema, toolIdPathParams, toolProviderAuthStatusPathParams, toolProviderConfigSchema, toolProviderConnectionPathParams, toolProviderHealthResponseSchema, toolProviderIdPathParams, toolProvidersSchema, toolSlugPathParams, toolsConfigSchema, tracingOptionsSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, triggerExperimentBodySchema, typedPermissive, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema, updateConnectionBodySchema, updateConnectionResponseSchema, updateDatasetBodySchema, updateExperimentResultBodySchema, updateItemBodySchema, updateStoredAgentBodySchema, updateStoredAgentResponseSchema, updateStoredMCPClientBodySchema, updateStoredMCPClientResponseSchema, updateStoredPromptBlockBodySchema, updateStoredPromptBlockResponseSchema, updateStoredScorerBodySchema, updateStoredScorerResponseSchema, updateStoredSkillBodySchema, updateStoredSkillResponseSchema, updateStoredWorkspaceBodySchema, updateStoredWorkspaceResponseSchema, updateThreadBodySchema, updateThreadNetworkQuerySchema, updateWorkingMemoryBodySchema, updateWorkingMemoryResponseSchema, upsertVectorsBodySchema, upsertVectorsResponseSchema, userAccessSchema, vectorIndexPathParams, vectorNamePathParams, versionDetailSchema, versionDiffEntrySchema, versionIdPathParams, versionOrderBySchema, voiceSpeakersResponseSchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema, workspaceIdPathParams, workspaceInfoResponseSchema, snapshotConfigSchema$1 as workspaceSnapshotConfigSchema };
|
|
35
|
+
export { SKILL_ORIGIN_METADATA_KEY, agentExecutionBodySchema as a2aAgentExecutionBodySchema, a2aAgentIdPathParams, a2aTaskPathParams, abortAgentThreadBodySchema, abortAgentThreadResponseSchema, actionIdPathParams, actionRunPathParams, activateMCPClientVersionResponseSchema, activatePromptBlockVersionResponseSchema, activateScorerVersionResponseSchema, activateVersionResponseSchema, addItemBodySchema, agentCardResponseSchema, agentConfigurationSchema, agentExecutionBodySchema$1 as agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentExecutionResponseSchema, agentFeaturesSchema, agentIdPathParams, agentIdQuerySchema, agentModelsSchema, agentPlanQuerySchema, agentPlanResponseSchema, agentSkillPathParams, agentToolPathParams, agentVersionPathParams, agentVersionQuerySchema, agentVersionSchema, apiSchemaManifestResponseSchema, apiSchemaManifestRouteSchema, apiSchemaResponseShapeSchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, authStatusToolProviderResponseSchema, authenticatedCapabilitiesSchema, authenticatedUserSchema, authorizeToolProviderBodySchema, authorizeToolProviderResponseSchema, awaitBufferStatusBodySchema, awaitBufferStatusResponseSchema, baseLogMessageSchema, batchDeleteItemsBodySchema, batchDeleteItemsResponseSchema, batchInsertItemsBodySchema, batchInsertItemsResponseSchema, buildOriginMetadata, builderAvailableModelsResponseSchema, builderModelPolicySchema, builderPickerSchema, builderSettingsResponseSchema, capabilitiesResponseSchema, capabilityFlagsSchema, cloneThreadBodySchema, cloneThreadResponseSchema, clusterFailuresBodySchema, clusterFailuresResponseSchema, compareExperimentsBodySchema, compareMCPClientVersionsQuerySchema, compareMCPClientVersionsResponseSchema, comparePromptBlockVersionsQuerySchema, comparePromptBlockVersionsResponseSchema, compareScorerVersionsQuerySchema, compareScorerVersionsResponseSchema, compareVersionsQuerySchema, compareVersionsResponseSchema, comparisonResponseSchema, conditionalFieldSchema, connectionSchema, connectionScopeSchema, connectionStatusToolProviderBodySchema, connectionStatusToolProviderResponseSchema, connectionUsageQuerySchema, connectionUsageResponseSchema, conversationDeletedSchema, conversationIdPathParams, conversationItemMessageSchema, conversationItemSchema, conversationItemsListSchema, conversationMessageContentSchema, conversationObjectSchema, coreMessageSchema, createCombinedPaginationSchema, createCompareVersionsResponseSchema, createConversationBodySchema, createDatasetBodySchema, createIndexBodySchema, createIndexResponseSchema, createListVersionsResponseSchema, createMCPClientVersionBodySchema, createMCPClientVersionResponseSchema, createPagePaginationSchema, createPromptBlockVersionBodySchema, createPromptBlockVersionResponseSchema, createResponseBodySchema, createScorerVersionBodySchema, createScorerVersionResponseSchema, createStoredAgentBodySchema, createStoredAgentResponseSchema, createStoredMCPClientBodySchema, createStoredMCPClientResponseSchema, createStoredPromptBlockBodySchema, createStoredPromptBlockResponseSchema, createStoredScorerBodySchema, createStoredScorerResponseSchema, createStoredSkillBodySchema, createStoredSkillResponseSchema, createStoredWorkspaceBodySchema, createStoredWorkspaceResponseSchema, createThreadBodySchema, createThreadNetworkQuerySchema, createVersionBodySchema, createVersionResponseSchema, createWorkflowRunResponseSchema, credentialsResponseSchema, credentialsSignInBodySchema, credentialsSignUpBodySchema, currentUserResponseSchema, datasetAndExperimentIdPathParams, datasetAndItemIdPathParams, datasetExperimentAndItemIdPathParams, datasetIdPathParams, datasetItemResponseSchema, datasetItemVersionPathParams, datasetResponseSchema, datasetVersionResponseSchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, defaultModelEntrySchema, defaultOptionsSchema, deleteIndexResponseSchema, deleteMCPClientVersionResponseSchema, deleteMessagesBodySchema, deleteMessagesNetworkQuerySchema, deleteMessagesQuerySchema, deleteMessagesResponseSchema, deletePromptBlockVersionResponseSchema, deleteResponseSchema, deleteScorerVersionResponseSchema, deleteStoredAgentResponseSchema, deleteStoredMCPClientResponseSchema, deleteStoredPromptBlockResponseSchema, deleteStoredScorerResponseSchema, deleteStoredSkillResponseSchema, deleteStoredWorkspaceResponseSchema, deleteThreadNetworkQuerySchema, deleteThreadQuerySchema, deleteThreadResponseSchema, deleteVersionResponseSchema, describeIndexResponseSchema, disconnectConnectionQuerySchema, disconnectConnectionResponseSchema, editorSourceCapabilitiesSchema, editorSourceSchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, entityPathParams, executeProcessorBodySchema, executeProcessorResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, experimentIdPathParams, experimentResponseSchema, experimentResultIdPathParams, experimentResultResponseSchema, experimentReviewCountsSchema, experimentSummaryResponseSchema, exportStoredAgentBodySchema, exportStoredAgentResponseSchema, fileEntrySchema, fsDeleteQuerySchema, fsDeleteResponseSchema, fsListQuerySchema, fsListResponseSchema, fsMkdirBodySchema, fsMkdirResponseSchema, fsPathParams, fsReadQuerySchema, fsReadResponseSchema, fsStatQuerySchema, fsStatResponseSchema, fsWriteBodySchema, fsWriteResponseSchema, generateItemsBodySchema, generateItemsResponseSchema, generateResponseSchema, generateSpeechBodySchema, getAgentSkillResponseSchema, getListenerResponseSchema, getMCPClientVersionResponseSchema, getMcpServerDetailQuerySchema, getMemoryConfigQuerySchema, getMemoryStatusNetworkQuerySchema, getMemoryStatusQuerySchema, getObservationalMemoryQuerySchema, getObservationalMemoryResponseSchema, getProcessorProviderResponseSchema, getProcessorProvidersResponseSchema, getPromptBlockVersionResponseSchema, getScorerVersionResponseSchema, getSkillResponseSchema, getStoredAgentDependentsResponseSchema, getStoredAgentResponseSchema, getStoredMCPClientResponseSchema, getStoredPromptBlockResponseSchema, getStoredScorerResponseSchema, getStoredSkillResponseSchema, getStoredWorkspaceResponseSchema, getThreadByIdNetworkQuerySchema, getThreadByIdQuerySchema, getThreadByIdResponseSchema, getToolProviderToolSchemaResponseSchema, getVersionResponseSchema, getWorkingMemoryQuerySchema, getWorkingMemoryResponseSchema, indexBodySchema, indexResponseSchema, infrastructureStatusResponseSchema, instructionsSchema, itemIdPathParams, itemVersionResponseSchema, jsonRpcErrorSchema, listAgentsResponseSchema, listConnectionFieldsQuerySchema, listConnectionFieldsResponseSchema, listConnectionsQuerySchema, listConnectionsResponseSchema, listDatasetVersionsResponseSchema, listDatasetsResponseSchema, listEmbeddersResponseSchema, listExperimentResultsResponseSchema, listExperimentsQuerySchema, listExperimentsResponseSchema, listIndexesResponseSchema, listItemVersionsResponseSchema, listItemsQuerySchema, listItemsResponseSchema, listLogTransportsResponseSchema, listLogsQuerySchema, listLogsResponseSchema, listMCPClientVersionsQuerySchema, listMCPClientVersionsResponseSchema, listMcpServerToolsResponseSchema, listMcpServersQuerySchema, listMcpServersResponseSchema, listMessagesNetworkQuerySchema, listMessagesQuerySchema, listMessagesResponseSchema, listProcessorsResponseSchema, listPromptBlockVersionsQuerySchema, listPromptBlockVersionsResponseSchema, listReferencesResponseSchema, listScorerVersionsQuerySchema, listScorerVersionsResponseSchema, listScorersResponseSchema, listScoresByEntityIdQuerySchema, listScoresByRunIdQuerySchema, listScoresByScorerIdQuerySchema, listSkillsResponseSchema, listStoredAgentsQuerySchema, listStoredAgentsResponseSchema, listStoredMCPClientsQuerySchema, listStoredMCPClientsResponseSchema, listStoredPromptBlocksQuerySchema, listStoredPromptBlocksResponseSchema, listStoredScorersQuerySchema, listStoredScorersResponseSchema, listStoredSkillsQuerySchema, listStoredSkillsResponseSchema, listStoredWorkspacesQuerySchema, listStoredWorkspacesResponseSchema, listSuspendedRunsQuerySchema, listSuspendedRunsResponseSchema, listThreadsNetworkQuerySchema, listThreadsQuerySchema, listThreadsResponseSchema, listToolProviderToolkitsResponseSchema, listToolProviderToolsQuerySchema, listToolProviderToolsResponseSchema, listToolProvidersResponseSchema, listToolsResponseSchema, listVectorsResponseSchema, listVersionsQuerySchema, listVersionsResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, listWorkspacesResponseSchema, loginConfigSchema, logoutResponseSchema, mastraPackageSchema, mcpClientVersionIdPathParams, mcpClientVersionPathParams, mcpClientVersionSchema, executeToolBodySchema$1 as mcpExecuteToolBodySchema, executeToolResponseSchema$1 as mcpExecuteToolResponseSchema, mcpServerDetailPathParams, mcpServerIdPathParams, mcpServerToolPathParams, mcpToolInfoSchema, memoryConfigResponseSchema, memoryStatusResponseSchema, messageResponseSchema, messageSendBodySchema, modelConfigIdPathParams, modelConfigSchema, modelManagementResponseSchema, mountInfoSchema, observabilityRuntimeStrategySchema, observabilityStorageCapabilitiesSchema, observeAgentBodySchema, observeAgentResponseSchema, openStoredAgentChangeRequestBodySchema, openStoredAgentChangeRequestResponseSchema, optionalAgentIdQuerySchema, optionalRunIdSchema, paginationInfoSchema, paginationQuerySchema, partialQuerySchema, permissionPatternsResponseSchema, pickerAllowlistSchema, previewInstructionsBodySchema, previewInstructionsResponseSchema, processorConfigurationSchema, processorGraphEntrySchema, processorGraphStepSchema, processorIdPathParams, processorPhaseSchema, processorProviderIdPathParams, serializedProcessorSchema as processorSerializedSchema, promptBlockVersionIdPathParams, promptBlockVersionPathParams, promptBlockVersionSchema, providerModelEntrySchema, providerSchema, providersResponseSchema, publicCapabilitiesSchema, publishStoredSkillBodySchema, publishStoredSkillResponseSchema, queryVectorsBodySchema, queryVectorsResponseSchema, queueAgentMessageBodySchema, readSkillOrigin, recoverBodySchema, refreshResponseSchema, reorderAgentModelListBodySchema, resolvedAuthorSchema, responseIdPathParams, responseInputMessageSchema, responseInputTextContentSchema, responseInputTextPartSchema, responseObjectSchema, responseOutputFunctionCallOutputSchema, responseOutputFunctionCallSchema, responseOutputItemSchema, responseOutputMessageSchema, responseOutputTextSchema, responseTextFormatSchema, responseToolSchema, responseUsageSchema, restoreMCPClientVersionResponseSchema, restorePromptBlockVersionResponseSchema, restoreScorerVersionResponseSchema, restoreVersionResponseSchema, resumeAgentBuilderBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, reviewSummaryResponseSchema, ruleGroupSchema, ruleSchema, runExperimentItemBodySchema, runExperimentItemResponseSchema, runIdSchema, saveMessagesBodySchema, saveMessagesNetworkQuerySchema, saveMessagesResponseSchema, saveScoreBodySchema, saveScoreResponseSchema, scorerConfigSchema, scorerEntrySchema, scorerIdPathParams, scorerResultSchema, scorerVersionIdPathParams, scorerVersionPathParams, scorerVersionSchema, scoresWithPaginationResponseSchema, searchMemoryQuerySchema, searchMemoryResponseSchema, searchQuerySchema, searchResponseSchema, searchResultSchema, searchSkillsQuerySchema, searchSkillsResponseSchema, semanticRecallSchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, sendWorkflowRunEventBodySchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedMemoryConfigSchema, serializedObservationConfigSchema, serializedObservationalMemoryConfigObjectSchema, serializedObservationalMemoryConfigSchema, serializedProcessorDetailSchema, serializedProcessorSchema$1 as serializedProcessorSchema, serializedReflectionConfigSchema, serializedToolSchema, serializedWorkflowSchema, serverDetailSchema, serverInfoSchema, skillDisambiguationQuerySchema, skillMetadataSchema, skillMetadataWithPathSchema, skillNamePathParams, skillOriginSchema, skillReferencePathParams, skillReferenceResponseSchema, skillSchema, skillSearchResultSchema, skillSourceSchema, skillsShInstallBodySchema, skillsShInstallResponseSchema, skillsShListResponseSchema, skillsShPopularQuerySchema, skillsShPreviewQuerySchema, skillsShPreviewResponseSchema, skillsShRemoveBodySchema, skillsShRemoveResponseSchema, skillsShSearchQuerySchema, skillsShSearchResponseSchema, skillsShSkillSchema, skillsShSourceSchema, skillsShUpdateBodySchema, skillsShUpdateResponseSchema, snapshotConfigSchema, speakResponseSchema, ssoCallbackQuerySchema, ssoCallbackResponseSchema, ssoConfigSchema, ssoLoginQuerySchema, ssoLoginResponseSchema, startAsyncAgentBuilderBodySchema, statusQuerySchema, storedAgentIdPathParams, storedAgentSchema, storedMCPClientIdPathParams, storedMCPClientSchema, storedProcessorGraphSchema, storedPromptBlockIdPathParams, storedPromptBlockSchema, storedScorerIdPathParams, storedScorerSchema, storedSkillIdPathParams, storedSkillSchema, storedWorkspaceIdPathParams, storedWorkspaceSchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema, streamResponseSchema, streamUntilIdleBodySchema, submitExperimentResultBodySchema, subscribeAgentThreadBodySchema, successResponseSchema, systemPackagesResponseSchema, taskQueryBodySchema, taskResponseSchema, tenancyQuerySchema, threadIdPathParams, titleGenerationSchema, toolCallResponseSchema, toolConfigSchema, toolIdPathParams, toolProviderAuthStatusPathParams, toolProviderConfigSchema, toolProviderConnectionPathParams, toolProviderHealthResponseSchema, toolProviderIdPathParams, toolProvidersSchema, toolSlugPathParams, toolsConfigSchema, tracingOptionsSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, triggerExperimentBodySchema, typedPermissive, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema, updateConnectionBodySchema, updateConnectionResponseSchema, updateDatasetBodySchema, updateExperimentResultBodySchema, updateItemBodySchema, updateStoredAgentBodySchema, updateStoredAgentResponseSchema, updateStoredMCPClientBodySchema, updateStoredMCPClientResponseSchema, updateStoredPromptBlockBodySchema, updateStoredPromptBlockResponseSchema, updateStoredScorerBodySchema, updateStoredScorerResponseSchema, updateStoredSkillBodySchema, updateStoredSkillResponseSchema, updateStoredWorkspaceBodySchema, updateStoredWorkspaceResponseSchema, updateThreadBodySchema, updateThreadNetworkQuerySchema, updateWorkingMemoryBodySchema, updateWorkingMemoryResponseSchema, upsertVectorsBodySchema, upsertVectorsResponseSchema, userAccessSchema, vectorIndexPathParams, vectorNamePathParams, versionDetailSchema, versionDiffEntrySchema, versionIdPathParams, versionOrderBySchema, voiceSpeakersResponseSchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema, workspaceIdPathParams, workspaceInfoResponseSchema, snapshotConfigSchema$1 as workspaceSnapshotConfigSchema };
|
|
@@ -5,7 +5,7 @@ const require_utils = require("../../utils-CmYnjLcY.cjs");
|
|
|
5
5
|
const require_constants = require("../../constants-4IJp_uzj.cjs");
|
|
6
6
|
const require_server_handlers_error = require("../handlers/error.cjs");
|
|
7
7
|
const require_helpers = require("../../helpers-BWxRRShz.cjs");
|
|
8
|
-
const require_routes = require("../../routes-
|
|
8
|
+
const require_routes = require("../../routes-DGwUTyHr.cjs");
|
|
9
9
|
let zod_v4 = require("zod/v4");
|
|
10
10
|
let stream = require("stream");
|
|
11
11
|
let _mastra_core_utils = require("@mastra/core/utils");
|
|
@@ -3,7 +3,7 @@ import { o as normalizeRoutePath, t as WorkflowRegistry } from "../../utils-B2vd
|
|
|
3
3
|
import { i as MASTRA_IS_STUDIO_KEY, l as MASTRA_USER_KEY, m as isStudioClientTypeHeader, n as MASTRA_AUTH_TOKEN_KEY, o as MASTRA_RESOURCE_ID_KEY$1, p as isReservedRequestContextKey, r as MASTRA_CLIENT_TYPE_HEADER, s as MASTRA_STUDIO_CLIENT_TYPE, t as MASTRA_AUTH_MODE_KEY } from "../../constants-0jFCWoex.js";
|
|
4
4
|
import { formatZodError, isZodError } from "../handlers/error.js";
|
|
5
5
|
import { d as pathMatchesPattern, i as findMatchingCustomRoute, o as isCustomRoutePublic, r as coreAuthMiddleware } from "../../helpers-DBAYsA50.js";
|
|
6
|
-
import { t as SERVER_ROUTES } from "../../routes-
|
|
6
|
+
import { t as SERVER_ROUTES } from "../../routes-B6F4QBgN.js";
|
|
7
7
|
import { z } from "zod/v4";
|
|
8
8
|
import { Readable } from "stream";
|
|
9
9
|
import { safeStringify } from "@mastra/core/utils";
|