@orq-ai/node 3.8.5 → 3.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -84
- package/bin/mcp-server.js +679 -1077
- package/bin/mcp-server.js.map +29 -35
- package/docs/sdks/datasets/README.md +0 -83
- package/docs/sdks/deployments/README.md +0 -85
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -5
- package/mcp-server/server.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/sdk/datasets.d.ts +0 -7
- package/sdk/datasets.d.ts.map +1 -1
- package/sdk/datasets.js +0 -10
- package/sdk/datasets.js.map +1 -1
- package/sdk/deployments.d.ts +0 -7
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -10
- package/sdk/deployments.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -5
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +0 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/src/sdk/datasets.ts +0 -18
- package/src/sdk/deployments.ts +0 -18
- package/funcs/datasetsCreateExperiment.d.ts +0 -17
- package/funcs/datasetsCreateExperiment.d.ts.map +0 -1
- package/funcs/datasetsCreateExperiment.js +0 -120
- package/funcs/datasetsCreateExperiment.js.map +0 -1
- package/funcs/deploymentsCreateExperiment.d.ts +0 -17
- package/funcs/deploymentsCreateExperiment.d.ts.map +0 -1
- package/funcs/deploymentsCreateExperiment.js +0 -120
- package/funcs/deploymentsCreateExperiment.js.map +0 -1
- package/mcp-server/tools/datasetsCreateExperiment.d.ts +0 -8
- package/mcp-server/tools/datasetsCreateExperiment.d.ts.map +0 -1
- package/mcp-server/tools/datasetsCreateExperiment.js +0 -64
- package/mcp-server/tools/datasetsCreateExperiment.js.map +0 -1
- package/mcp-server/tools/deploymentsCreateExperiment.d.ts +0 -8
- package/mcp-server/tools/deploymentsCreateExperiment.d.ts.map +0 -1
- package/mcp-server/tools/deploymentsCreateExperiment.js +0 -64
- package/mcp-server/tools/deploymentsCreateExperiment.js.map +0 -1
- package/models/operations/createdatasetexperiment.d.ts +0 -140
- package/models/operations/createdatasetexperiment.d.ts.map +0 -1
- package/models/operations/createdatasetexperiment.js +0 -188
- package/models/operations/createdatasetexperiment.js.map +0 -1
- package/models/operations/createdeploymentexperiment.d.ts +0 -152
- package/models/operations/createdeploymentexperiment.d.ts.map +0 -1
- package/models/operations/createdeploymentexperiment.js +0 -189
- package/models/operations/createdeploymentexperiment.js.map +0 -1
- package/src/funcs/datasetsCreateExperiment.ts +0 -168
- package/src/funcs/deploymentsCreateExperiment.ts +0 -173
- package/src/mcp-server/tools/datasetsCreateExperiment.ts +0 -37
- package/src/mcp-server/tools/deploymentsCreateExperiment.ts +0 -37
- package/src/models/operations/createdatasetexperiment.ts +0 -307
- package/src/models/operations/createdeploymentexperiment.ts +0 -321
package/bin/mcp-server.js
CHANGED
|
@@ -34275,9 +34275,9 @@ var init_config = __esm(() => {
|
|
|
34275
34275
|
SDK_METADATA = {
|
|
34276
34276
|
language: "typescript",
|
|
34277
34277
|
openapiDocVersion: "2.0",
|
|
34278
|
-
sdkVersion: "3.8.
|
|
34279
|
-
genVersion: "2.
|
|
34280
|
-
userAgent: "speakeasy-sdk/typescript 3.8.
|
|
34278
|
+
sdkVersion: "3.8.7",
|
|
34279
|
+
genVersion: "2.634.2",
|
|
34280
|
+
userAgent: "speakeasy-sdk/typescript 3.8.7 2.634.2 2.0 @orq-ai/node"
|
|
34281
34281
|
};
|
|
34282
34282
|
});
|
|
34283
34283
|
|
|
@@ -36149,7 +36149,7 @@ var init_createcontact = __esm(() => {
|
|
|
36149
36149
|
tags: arrayType(stringType()).optional(),
|
|
36150
36150
|
metadata: recordType(anyType()).optional(),
|
|
36151
36151
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36152
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36152
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
36153
36153
|
}).transform((v2) => {
|
|
36154
36154
|
return remap(v2, {
|
|
36155
36155
|
_id: "id",
|
|
@@ -36169,7 +36169,7 @@ var init_createcontact = __esm(() => {
|
|
|
36169
36169
|
tags: arrayType(stringType()).optional(),
|
|
36170
36170
|
metadata: recordType(anyType()).optional(),
|
|
36171
36171
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36172
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36172
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
36173
36173
|
}).transform((v2) => {
|
|
36174
36174
|
return remap(v2, {
|
|
36175
36175
|
id: "_id",
|
|
@@ -36241,7 +36241,7 @@ var init_createdataset = __esm(() => {
|
|
|
36241
36241
|
updated_by_id: stringType().optional(),
|
|
36242
36242
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36243
36243
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36244
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36244
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
36245
36245
|
}).transform((v2) => {
|
|
36246
36246
|
return remap(v2, {
|
|
36247
36247
|
_id: "id",
|
|
@@ -36261,7 +36261,7 @@ var init_createdataset = __esm(() => {
|
|
|
36261
36261
|
updatedById: stringType().optional(),
|
|
36262
36262
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36263
36263
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36264
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36264
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
36265
36265
|
}).transform((v2) => {
|
|
36266
36266
|
return remap(v2, {
|
|
36267
36267
|
id: "_id",
|
|
@@ -36278,96 +36278,6 @@ var init_createdataset = __esm(() => {
|
|
|
36278
36278
|
})(CreateDatasetResponseBody$ ||= {});
|
|
36279
36279
|
});
|
|
36280
36280
|
|
|
36281
|
-
// src/models/operations/createdatasetexperiment.ts
|
|
36282
|
-
var CreateDatasetExperimentType, CreateDatasetExperimentType$inboundSchema, CreateDatasetExperimentType$outboundSchema, CreateDatasetExperimentType$, CreateDatasetExperimentRequestBody$inboundSchema, CreateDatasetExperimentRequestBody$outboundSchema, CreateDatasetExperimentRequestBody$, CreateDatasetExperimentRequest$inboundSchema, CreateDatasetExperimentRequest$outboundSchema, CreateDatasetExperimentRequest$, CreateDatasetExperimentResponseBody$inboundSchema, CreateDatasetExperimentResponseBody$outboundSchema, CreateDatasetExperimentResponseBody$;
|
|
36283
|
-
var init_createdatasetexperiment = __esm(() => {
|
|
36284
|
-
init_esm();
|
|
36285
|
-
init_primitives();
|
|
36286
|
-
CreateDatasetExperimentType = {
|
|
36287
|
-
DatasetExperiment: "dataset_experiment"
|
|
36288
|
-
};
|
|
36289
|
-
CreateDatasetExperimentType$inboundSchema = nativeEnumType(CreateDatasetExperimentType);
|
|
36290
|
-
CreateDatasetExperimentType$outboundSchema = CreateDatasetExperimentType$inboundSchema;
|
|
36291
|
-
((CreateDatasetExperimentType$) => {
|
|
36292
|
-
CreateDatasetExperimentType$.inboundSchema = CreateDatasetExperimentType$inboundSchema;
|
|
36293
|
-
CreateDatasetExperimentType$.outboundSchema = CreateDatasetExperimentType$outboundSchema;
|
|
36294
|
-
})(CreateDatasetExperimentType$ ||= {});
|
|
36295
|
-
CreateDatasetExperimentRequestBody$inboundSchema = objectType({
|
|
36296
|
-
experiment_key: stringType(),
|
|
36297
|
-
evaluators: arrayType(stringType()).optional(),
|
|
36298
|
-
path: stringType().optional(),
|
|
36299
|
-
model_ids: arrayType(stringType()).optional(),
|
|
36300
|
-
type: CreateDatasetExperimentType$inboundSchema
|
|
36301
|
-
}).transform((v2) => {
|
|
36302
|
-
return remap(v2, {
|
|
36303
|
-
experiment_key: "experimentKey",
|
|
36304
|
-
model_ids: "modelIds"
|
|
36305
|
-
});
|
|
36306
|
-
});
|
|
36307
|
-
CreateDatasetExperimentRequestBody$outboundSchema = objectType({
|
|
36308
|
-
experimentKey: stringType(),
|
|
36309
|
-
evaluators: arrayType(stringType()).optional(),
|
|
36310
|
-
path: stringType().optional(),
|
|
36311
|
-
modelIds: arrayType(stringType()).optional(),
|
|
36312
|
-
type: CreateDatasetExperimentType$outboundSchema
|
|
36313
|
-
}).transform((v2) => {
|
|
36314
|
-
return remap(v2, {
|
|
36315
|
-
experimentKey: "experiment_key",
|
|
36316
|
-
modelIds: "model_ids"
|
|
36317
|
-
});
|
|
36318
|
-
});
|
|
36319
|
-
((CreateDatasetExperimentRequestBody$) => {
|
|
36320
|
-
CreateDatasetExperimentRequestBody$.inboundSchema = CreateDatasetExperimentRequestBody$inboundSchema;
|
|
36321
|
-
CreateDatasetExperimentRequestBody$.outboundSchema = CreateDatasetExperimentRequestBody$outboundSchema;
|
|
36322
|
-
})(CreateDatasetExperimentRequestBody$ ||= {});
|
|
36323
|
-
CreateDatasetExperimentRequest$inboundSchema = objectType({
|
|
36324
|
-
dataset_id: stringType(),
|
|
36325
|
-
RequestBody: lazyType(() => CreateDatasetExperimentRequestBody$inboundSchema).optional()
|
|
36326
|
-
}).transform((v2) => {
|
|
36327
|
-
return remap(v2, {
|
|
36328
|
-
dataset_id: "datasetId",
|
|
36329
|
-
RequestBody: "requestBody"
|
|
36330
|
-
});
|
|
36331
|
-
});
|
|
36332
|
-
CreateDatasetExperimentRequest$outboundSchema = objectType({
|
|
36333
|
-
datasetId: stringType(),
|
|
36334
|
-
requestBody: lazyType(() => CreateDatasetExperimentRequestBody$outboundSchema).optional()
|
|
36335
|
-
}).transform((v2) => {
|
|
36336
|
-
return remap(v2, {
|
|
36337
|
-
datasetId: "dataset_id",
|
|
36338
|
-
requestBody: "RequestBody"
|
|
36339
|
-
});
|
|
36340
|
-
});
|
|
36341
|
-
((CreateDatasetExperimentRequest$) => {
|
|
36342
|
-
CreateDatasetExperimentRequest$.inboundSchema = CreateDatasetExperimentRequest$inboundSchema;
|
|
36343
|
-
CreateDatasetExperimentRequest$.outboundSchema = CreateDatasetExperimentRequest$outboundSchema;
|
|
36344
|
-
})(CreateDatasetExperimentRequest$ ||= {});
|
|
36345
|
-
CreateDatasetExperimentResponseBody$inboundSchema = objectType({
|
|
36346
|
-
url: stringType(),
|
|
36347
|
-
experiment_id: stringType(),
|
|
36348
|
-
experiment_run_id: stringType()
|
|
36349
|
-
}).transform((v2) => {
|
|
36350
|
-
return remap(v2, {
|
|
36351
|
-
experiment_id: "experimentId",
|
|
36352
|
-
experiment_run_id: "experimentRunId"
|
|
36353
|
-
});
|
|
36354
|
-
});
|
|
36355
|
-
CreateDatasetExperimentResponseBody$outboundSchema = objectType({
|
|
36356
|
-
url: stringType(),
|
|
36357
|
-
experimentId: stringType(),
|
|
36358
|
-
experimentRunId: stringType()
|
|
36359
|
-
}).transform((v2) => {
|
|
36360
|
-
return remap(v2, {
|
|
36361
|
-
experimentId: "experiment_id",
|
|
36362
|
-
experimentRunId: "experiment_run_id"
|
|
36363
|
-
});
|
|
36364
|
-
});
|
|
36365
|
-
((CreateDatasetExperimentResponseBody$) => {
|
|
36366
|
-
CreateDatasetExperimentResponseBody$.inboundSchema = CreateDatasetExperimentResponseBody$inboundSchema;
|
|
36367
|
-
CreateDatasetExperimentResponseBody$.outboundSchema = CreateDatasetExperimentResponseBody$outboundSchema;
|
|
36368
|
-
})(CreateDatasetExperimentResponseBody$ ||= {});
|
|
36369
|
-
});
|
|
36370
|
-
|
|
36371
36281
|
// src/models/operations/createdatasetitem.ts
|
|
36372
36282
|
var CreateDatasetItemMessagesDatasetsRequestRequestBody5Role, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole, CreateDatasetItemMessagesType, CreateDatasetItemMessagesDatasetsRequestRole, CreateDatasetItem2DatasetsRequestRequestBodyType, CreateDatasetItem2DatasetsRequestType, CreateDatasetItem2Format, CreateDatasetItem2DatasetsType, CreateDatasetItem2Detail, CreateDatasetItem2Type, CreateDatasetItemMessagesDatasetsRole, CreateDatasetItemMessagesRole, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole, CreateDatasetItemMessagesDatasetsType, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType, CreateDatasetItem2DatasetsResponse200ApplicationJSONType, CreateDatasetItem2DatasetsFormat, CreateDatasetItem2DatasetsResponse200Type, CreateDatasetItem2DatasetsDetail, CreateDatasetItem2DatasetsResponseType, CreateDatasetItemMessagesDatasetsResponse200Role, CreateDatasetItemMessagesDatasetsResponseRole, CreateDatasetItemMessagesDatasetsRequestRequestBody5Role$inboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBody5Role$outboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBody5Role$, CreateDatasetItemMessagesDatasetsRequestContent$inboundSchema, CreateDatasetItemMessagesDatasetsRequestContent$outboundSchema, CreateDatasetItemMessagesDatasetsRequestContent$, CreateDatasetItemMessagesToolMessage$inboundSchema, CreateDatasetItemMessagesToolMessage$outboundSchema, CreateDatasetItemMessagesToolMessage$, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type$inboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type$outboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type$, CreateDatasetItem2RefusalContentPart$inboundSchema, CreateDatasetItem2RefusalContentPart$outboundSchema, CreateDatasetItem2RefusalContentPart$, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType$inboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType$outboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType$, CreateDatasetItem2TextContentPart$inboundSchema, CreateDatasetItem2TextContentPart$outboundSchema, CreateDatasetItem2TextContentPart$, CreateDatasetItemContentDatasets2$inboundSchema, CreateDatasetItemContentDatasets2$outboundSchema, CreateDatasetItemContentDatasets2$, CreateDatasetItemMessagesDatasetsContent$inboundSchema, CreateDatasetItemMessagesDatasetsContent$outboundSchema, CreateDatasetItemMessagesDatasetsContent$, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole$inboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole$outboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole$, CreateDatasetItemMessagesAudio$inboundSchema, CreateDatasetItemMessagesAudio$outboundSchema, CreateDatasetItemMessagesAudio$, CreateDatasetItemMessagesType$inboundSchema, CreateDatasetItemMessagesType$outboundSchema, CreateDatasetItemMessagesType$, CreateDatasetItemMessagesFunction$inboundSchema, CreateDatasetItemMessagesFunction$outboundSchema, CreateDatasetItemMessagesFunction$, CreateDatasetItemMessagesToolCalls$inboundSchema, CreateDatasetItemMessagesToolCalls$outboundSchema, CreateDatasetItemMessagesToolCalls$, CreateDatasetItemMessagesAssistantMessage$inboundSchema, CreateDatasetItemMessagesAssistantMessage$outboundSchema, CreateDatasetItemMessagesAssistantMessage$, CreateDatasetItemMessagesDatasetsRequestRole$inboundSchema, CreateDatasetItemMessagesDatasetsRequestRole$outboundSchema, CreateDatasetItemMessagesDatasetsRequestRole$, CreateDatasetItem2DatasetsRequestRequestBodyType$inboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyType$outboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyType$, CreateDatasetItem2File$inboundSchema, CreateDatasetItem2File$outboundSchema, CreateDatasetItem2File$, CreateDatasetItem24$inboundSchema, CreateDatasetItem24$outboundSchema, CreateDatasetItem24$, CreateDatasetItem2DatasetsRequestType$inboundSchema, CreateDatasetItem2DatasetsRequestType$outboundSchema, CreateDatasetItem2DatasetsRequestType$, CreateDatasetItem2Format$inboundSchema, CreateDatasetItem2Format$outboundSchema, CreateDatasetItem2Format$, CreateDatasetItem2InputAudio$inboundSchema, CreateDatasetItem2InputAudio$outboundSchema, CreateDatasetItem2InputAudio$, CreateDatasetItem23$inboundSchema, CreateDatasetItem23$outboundSchema, CreateDatasetItem23$, CreateDatasetItem2DatasetsType$inboundSchema, CreateDatasetItem2DatasetsType$outboundSchema, CreateDatasetItem2DatasetsType$, CreateDatasetItem2Detail$inboundSchema, CreateDatasetItem2Detail$outboundSchema, CreateDatasetItem2Detail$, CreateDatasetItem2ImageUrl$inboundSchema, CreateDatasetItem2ImageUrl$outboundSchema, CreateDatasetItem2ImageUrl$, CreateDatasetItem22$inboundSchema, CreateDatasetItem22$outboundSchema, CreateDatasetItem22$, CreateDatasetItem2Type$inboundSchema, CreateDatasetItem2Type$outboundSchema, CreateDatasetItem2Type$, CreateDatasetItem21$inboundSchema, CreateDatasetItem21$outboundSchema, CreateDatasetItem21$, CreateDatasetItemContent2$inboundSchema, CreateDatasetItemContent2$outboundSchema, CreateDatasetItemContent2$, CreateDatasetItemMessagesContent$inboundSchema, CreateDatasetItemMessagesContent$outboundSchema, CreateDatasetItemMessagesContent$, CreateDatasetItemMessagesUserMessage$inboundSchema, CreateDatasetItemMessagesUserMessage$outboundSchema, CreateDatasetItemMessagesUserMessage$, CreateDatasetItemMessagesDatasetsRole$inboundSchema, CreateDatasetItemMessagesDatasetsRole$outboundSchema, CreateDatasetItemMessagesDatasetsRole$, CreateDatasetItemMessagesSystemMessage$inboundSchema, CreateDatasetItemMessagesSystemMessage$outboundSchema, CreateDatasetItemMessagesSystemMessage$, CreateDatasetItemMessagesRole$inboundSchema, CreateDatasetItemMessagesRole$outboundSchema, CreateDatasetItemMessagesRole$, CreateDatasetItemMessagesDeveloperMessage$inboundSchema, CreateDatasetItemMessagesDeveloperMessage$outboundSchema, CreateDatasetItemMessagesDeveloperMessage$, CreateDatasetItemMessages$inboundSchema, CreateDatasetItemMessages$outboundSchema, CreateDatasetItemMessages$, CreateDatasetItemRequestBody$inboundSchema, CreateDatasetItemRequestBody$outboundSchema, CreateDatasetItemRequestBody$, CreateDatasetItemRequest$inboundSchema, CreateDatasetItemRequest$outboundSchema, CreateDatasetItemRequest$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONContent$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONContent$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONContent$, CreateDatasetItemMessagesDatasetsToolMessage$inboundSchema, CreateDatasetItemMessagesDatasetsToolMessage$outboundSchema, CreateDatasetItemMessagesDatasetsToolMessage$, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$, CreateDatasetItem2DatasetsRefusalContentPart$inboundSchema, CreateDatasetItem2DatasetsRefusalContentPart$outboundSchema, CreateDatasetItem2DatasetsRefusalContentPart$, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$, CreateDatasetItem2DatasetsTextContentPart$inboundSchema, CreateDatasetItem2DatasetsTextContentPart$outboundSchema, CreateDatasetItem2DatasetsTextContentPart$, CreateDatasetItemContentDatasetsResponse2002$inboundSchema, CreateDatasetItemContentDatasetsResponse2002$outboundSchema, CreateDatasetItemContentDatasetsResponse2002$, CreateDatasetItemMessagesDatasetsResponse200Content$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200Content$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200Content$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole$, CreateDatasetItemMessagesDatasetsAudio$inboundSchema, CreateDatasetItemMessagesDatasetsAudio$outboundSchema, CreateDatasetItemMessagesDatasetsAudio$, CreateDatasetItemMessagesDatasetsType$inboundSchema, CreateDatasetItemMessagesDatasetsType$outboundSchema, CreateDatasetItemMessagesDatasetsType$, CreateDatasetItemMessagesDatasetsFunction$inboundSchema, CreateDatasetItemMessagesDatasetsFunction$outboundSchema, CreateDatasetItemMessagesDatasetsFunction$, CreateDatasetItemMessagesDatasetsToolCalls$inboundSchema, CreateDatasetItemMessagesDatasetsToolCalls$outboundSchema, CreateDatasetItemMessagesDatasetsToolCalls$, CreateDatasetItemMessagesDatasetsAssistantMessage$inboundSchema, CreateDatasetItemMessagesDatasetsAssistantMessage$outboundSchema, CreateDatasetItemMessagesDatasetsAssistantMessage$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole$, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType$, CreateDatasetItem2DatasetsFile$inboundSchema, CreateDatasetItem2DatasetsFile$outboundSchema, CreateDatasetItem2DatasetsFile$, CreateDatasetItem2Datasets4$inboundSchema, CreateDatasetItem2Datasets4$outboundSchema, CreateDatasetItem2Datasets4$, CreateDatasetItem2DatasetsResponse200ApplicationJSONType$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONType$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONType$, CreateDatasetItem2DatasetsFormat$inboundSchema, CreateDatasetItem2DatasetsFormat$outboundSchema, CreateDatasetItem2DatasetsFormat$, CreateDatasetItem2DatasetsInputAudio$inboundSchema, CreateDatasetItem2DatasetsInputAudio$outboundSchema, CreateDatasetItem2DatasetsInputAudio$, CreateDatasetItem2Datasets3$inboundSchema, CreateDatasetItem2Datasets3$outboundSchema, CreateDatasetItem2Datasets3$, CreateDatasetItem2DatasetsResponse200Type$inboundSchema, CreateDatasetItem2DatasetsResponse200Type$outboundSchema, CreateDatasetItem2DatasetsResponse200Type$, CreateDatasetItem2DatasetsDetail$inboundSchema, CreateDatasetItem2DatasetsDetail$outboundSchema, CreateDatasetItem2DatasetsDetail$, CreateDatasetItem2DatasetsImageUrl$inboundSchema, CreateDatasetItem2DatasetsImageUrl$outboundSchema, CreateDatasetItem2DatasetsImageUrl$, CreateDatasetItem2Datasets2$inboundSchema, CreateDatasetItem2Datasets2$outboundSchema, CreateDatasetItem2Datasets2$, CreateDatasetItem2DatasetsResponseType$inboundSchema, CreateDatasetItem2DatasetsResponseType$outboundSchema, CreateDatasetItem2DatasetsResponseType$, CreateDatasetItem2Datasets1$inboundSchema, CreateDatasetItem2Datasets1$outboundSchema, CreateDatasetItem2Datasets1$, CreateDatasetItemContentDatasetsResponse2$inboundSchema, CreateDatasetItemContentDatasetsResponse2$outboundSchema, CreateDatasetItemContentDatasetsResponse2$, CreateDatasetItemMessagesDatasetsResponseContent$inboundSchema, CreateDatasetItemMessagesDatasetsResponseContent$outboundSchema, CreateDatasetItemMessagesDatasetsResponseContent$, CreateDatasetItemMessagesDatasetsUserMessage$inboundSchema, CreateDatasetItemMessagesDatasetsUserMessage$outboundSchema, CreateDatasetItemMessagesDatasetsUserMessage$, CreateDatasetItemMessagesDatasetsResponse200Role$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200Role$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200Role$, CreateDatasetItemMessagesDatasetsSystemMessage$inboundSchema, CreateDatasetItemMessagesDatasetsSystemMessage$outboundSchema, CreateDatasetItemMessagesDatasetsSystemMessage$, CreateDatasetItemMessagesDatasetsResponseRole$inboundSchema, CreateDatasetItemMessagesDatasetsResponseRole$outboundSchema, CreateDatasetItemMessagesDatasetsResponseRole$, CreateDatasetItemMessagesDatasetsDeveloperMessage$inboundSchema, CreateDatasetItemMessagesDatasetsDeveloperMessage$outboundSchema, CreateDatasetItemMessagesDatasetsDeveloperMessage$, CreateDatasetItemDatasetsMessages$inboundSchema, CreateDatasetItemDatasetsMessages$outboundSchema, CreateDatasetItemDatasetsMessages$, CreateDatasetItemResponseBody$inboundSchema, CreateDatasetItemResponseBody$outboundSchema, CreateDatasetItemResponseBody$;
|
|
36373
36283
|
var init_createdatasetitem = __esm(() => {
|
|
@@ -37483,7 +37393,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37483
37393
|
created_by_id: stringType().optional(),
|
|
37484
37394
|
updated_by_id: stringType().optional(),
|
|
37485
37395
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37486
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
37396
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
37487
37397
|
}).transform((v2) => {
|
|
37488
37398
|
return remap(v2, {
|
|
37489
37399
|
_id: "id",
|
|
@@ -37510,7 +37420,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37510
37420
|
createdById: stringType().optional(),
|
|
37511
37421
|
updatedById: stringType().optional(),
|
|
37512
37422
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37513
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
37423
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
37514
37424
|
}).transform((v2) => {
|
|
37515
37425
|
return remap(v2, {
|
|
37516
37426
|
id: "_id",
|
|
@@ -37732,7 +37642,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37732
37642
|
CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
|
|
37733
37643
|
})(CreateDatasourceStatus$ ||= {});
|
|
37734
37644
|
CreateDatasourceResponseBody$inboundSchema = objectType({
|
|
37735
|
-
_id: stringType().default("
|
|
37645
|
+
_id: stringType().default("01JYGX27H0ZY6CVDM6QNH6KY5V"),
|
|
37736
37646
|
display_name: stringType(),
|
|
37737
37647
|
description: stringType().optional(),
|
|
37738
37648
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -37755,7 +37665,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37755
37665
|
});
|
|
37756
37666
|
});
|
|
37757
37667
|
CreateDatasourceResponseBody$outboundSchema = objectType({
|
|
37758
|
-
id: stringType().default("
|
|
37668
|
+
id: stringType().default("01JYGX27H0ZY6CVDM6QNH6KY5V"),
|
|
37759
37669
|
displayName: stringType(),
|
|
37760
37670
|
description: stringType().optional(),
|
|
37761
37671
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -37783,98 +37693,6 @@ var init_createdatasource = __esm(() => {
|
|
|
37783
37693
|
})(CreateDatasourceResponseBody$ ||= {});
|
|
37784
37694
|
});
|
|
37785
37695
|
|
|
37786
|
-
// src/models/operations/createdeploymentexperiment.ts
|
|
37787
|
-
var CreateDeploymentExperimentType, CreateDeploymentExperimentType$inboundSchema, CreateDeploymentExperimentType$outboundSchema, CreateDeploymentExperimentType$, CreateDeploymentExperimentRequestBody$inboundSchema, CreateDeploymentExperimentRequestBody$outboundSchema, CreateDeploymentExperimentRequestBody$, CreateDeploymentExperimentRequest$inboundSchema, CreateDeploymentExperimentRequest$outboundSchema, CreateDeploymentExperimentRequest$, CreateDeploymentExperimentResponseBody$inboundSchema, CreateDeploymentExperimentResponseBody$outboundSchema, CreateDeploymentExperimentResponseBody$;
|
|
37788
|
-
var init_createdeploymentexperiment = __esm(() => {
|
|
37789
|
-
init_esm();
|
|
37790
|
-
init_primitives();
|
|
37791
|
-
CreateDeploymentExperimentType = {
|
|
37792
|
-
DeploymentExperiment: "deployment_experiment"
|
|
37793
|
-
};
|
|
37794
|
-
CreateDeploymentExperimentType$inboundSchema = nativeEnumType(CreateDeploymentExperimentType);
|
|
37795
|
-
CreateDeploymentExperimentType$outboundSchema = CreateDeploymentExperimentType$inboundSchema;
|
|
37796
|
-
((CreateDeploymentExperimentType$) => {
|
|
37797
|
-
CreateDeploymentExperimentType$.inboundSchema = CreateDeploymentExperimentType$inboundSchema;
|
|
37798
|
-
CreateDeploymentExperimentType$.outboundSchema = CreateDeploymentExperimentType$outboundSchema;
|
|
37799
|
-
})(CreateDeploymentExperimentType$ ||= {});
|
|
37800
|
-
CreateDeploymentExperimentRequestBody$inboundSchema = objectType({
|
|
37801
|
-
experiment_key: stringType(),
|
|
37802
|
-
evaluators: arrayType(stringType()).optional(),
|
|
37803
|
-
path: stringType().optional(),
|
|
37804
|
-
dataset_id: stringType(),
|
|
37805
|
-
type: CreateDeploymentExperimentType$inboundSchema,
|
|
37806
|
-
context: recordType(anyType()).optional()
|
|
37807
|
-
}).transform((v2) => {
|
|
37808
|
-
return remap(v2, {
|
|
37809
|
-
experiment_key: "experimentKey",
|
|
37810
|
-
dataset_id: "datasetId"
|
|
37811
|
-
});
|
|
37812
|
-
});
|
|
37813
|
-
CreateDeploymentExperimentRequestBody$outboundSchema = objectType({
|
|
37814
|
-
experimentKey: stringType(),
|
|
37815
|
-
evaluators: arrayType(stringType()).optional(),
|
|
37816
|
-
path: stringType().optional(),
|
|
37817
|
-
datasetId: stringType(),
|
|
37818
|
-
type: CreateDeploymentExperimentType$outboundSchema,
|
|
37819
|
-
context: recordType(anyType()).optional()
|
|
37820
|
-
}).transform((v2) => {
|
|
37821
|
-
return remap(v2, {
|
|
37822
|
-
experimentKey: "experiment_key",
|
|
37823
|
-
datasetId: "dataset_id"
|
|
37824
|
-
});
|
|
37825
|
-
});
|
|
37826
|
-
((CreateDeploymentExperimentRequestBody$) => {
|
|
37827
|
-
CreateDeploymentExperimentRequestBody$.inboundSchema = CreateDeploymentExperimentRequestBody$inboundSchema;
|
|
37828
|
-
CreateDeploymentExperimentRequestBody$.outboundSchema = CreateDeploymentExperimentRequestBody$outboundSchema;
|
|
37829
|
-
})(CreateDeploymentExperimentRequestBody$ ||= {});
|
|
37830
|
-
CreateDeploymentExperimentRequest$inboundSchema = objectType({
|
|
37831
|
-
deployment_key: stringType(),
|
|
37832
|
-
RequestBody: lazyType(() => CreateDeploymentExperimentRequestBody$inboundSchema).optional()
|
|
37833
|
-
}).transform((v2) => {
|
|
37834
|
-
return remap(v2, {
|
|
37835
|
-
deployment_key: "deploymentKey",
|
|
37836
|
-
RequestBody: "requestBody"
|
|
37837
|
-
});
|
|
37838
|
-
});
|
|
37839
|
-
CreateDeploymentExperimentRequest$outboundSchema = objectType({
|
|
37840
|
-
deploymentKey: stringType(),
|
|
37841
|
-
requestBody: lazyType(() => CreateDeploymentExperimentRequestBody$outboundSchema).optional()
|
|
37842
|
-
}).transform((v2) => {
|
|
37843
|
-
return remap(v2, {
|
|
37844
|
-
deploymentKey: "deployment_key",
|
|
37845
|
-
requestBody: "RequestBody"
|
|
37846
|
-
});
|
|
37847
|
-
});
|
|
37848
|
-
((CreateDeploymentExperimentRequest$) => {
|
|
37849
|
-
CreateDeploymentExperimentRequest$.inboundSchema = CreateDeploymentExperimentRequest$inboundSchema;
|
|
37850
|
-
CreateDeploymentExperimentRequest$.outboundSchema = CreateDeploymentExperimentRequest$outboundSchema;
|
|
37851
|
-
})(CreateDeploymentExperimentRequest$ ||= {});
|
|
37852
|
-
CreateDeploymentExperimentResponseBody$inboundSchema = objectType({
|
|
37853
|
-
url: stringType(),
|
|
37854
|
-
experiment_id: stringType(),
|
|
37855
|
-
experiment_run_id: stringType()
|
|
37856
|
-
}).transform((v2) => {
|
|
37857
|
-
return remap(v2, {
|
|
37858
|
-
experiment_id: "experimentId",
|
|
37859
|
-
experiment_run_id: "experimentRunId"
|
|
37860
|
-
});
|
|
37861
|
-
});
|
|
37862
|
-
CreateDeploymentExperimentResponseBody$outboundSchema = objectType({
|
|
37863
|
-
url: stringType(),
|
|
37864
|
-
experimentId: stringType(),
|
|
37865
|
-
experimentRunId: stringType()
|
|
37866
|
-
}).transform((v2) => {
|
|
37867
|
-
return remap(v2, {
|
|
37868
|
-
experimentId: "experiment_id",
|
|
37869
|
-
experimentRunId: "experiment_run_id"
|
|
37870
|
-
});
|
|
37871
|
-
});
|
|
37872
|
-
((CreateDeploymentExperimentResponseBody$) => {
|
|
37873
|
-
CreateDeploymentExperimentResponseBody$.inboundSchema = CreateDeploymentExperimentResponseBody$inboundSchema;
|
|
37874
|
-
CreateDeploymentExperimentResponseBody$.outboundSchema = CreateDeploymentExperimentResponseBody$outboundSchema;
|
|
37875
|
-
})(CreateDeploymentExperimentResponseBody$ ||= {});
|
|
37876
|
-
});
|
|
37877
|
-
|
|
37878
37696
|
// src/models/operations/createeval.ts
|
|
37879
37697
|
var CreateEvalGuardrailConfigEvalsRequestRequestBody42Type, CreateEvalGuardrailConfigEvalsOperator, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type, CreateEvalRequestBodyEvalsRequestType, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type, CreateEvalGuardrailConfigOperator, CreateEvalGuardrailConfigEvalsRequestRequestBodyType, CreateEvalRequestBodyEvalsType, Method, CreateEvalGuardrailConfigEvalsRequestType, GuardrailConfigOperator, CreateEvalGuardrailConfigEvalsType, CreateEvalRequestBodyType, CreateEvalGuardrailConfigType, Operator, GuardrailConfigType, RequestBodyType, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type, CreateEvalResponseBodyEvalsResponseType, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type, CreateEvalResponseBodyEvalsType, ResponseBodyMethod, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType, CreateEvalGuardrailConfigEvalsResponse200Operator, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType, CreateEvalResponseBodyType, CreateEvalGuardrailConfigEvalsResponse200Type, CreateEvalGuardrailConfigEvalsResponseOperator, CreateEvalGuardrailConfigEvalsResponseType, ResponseBodyType, CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$, CreateEvalGuardrailConfigEvalsOperator$inboundSchema, CreateEvalGuardrailConfigEvalsOperator$outboundSchema, CreateEvalGuardrailConfigEvalsOperator$, CreateEvalGuardrailConfigEvalsNumber$inboundSchema, CreateEvalGuardrailConfigEvalsNumber$outboundSchema, CreateEvalGuardrailConfigEvalsNumber$, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type$, CreateEvalGuardrailConfigEvalsBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsBoolean$, CreateEvalRequestBodyEvalsGuardrailConfig$inboundSchema, CreateEvalRequestBodyEvalsGuardrailConfig$outboundSchema, CreateEvalRequestBodyEvalsGuardrailConfig$, CreateEvalRequestBodyEvalsRequestType$inboundSchema, CreateEvalRequestBodyEvalsRequestType$outboundSchema, CreateEvalRequestBodyEvalsRequestType$, Python$inboundSchema, Python$outboundSchema, Python$, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type$, CreateEvalGuardrailConfigOperator$inboundSchema, CreateEvalGuardrailConfigOperator$outboundSchema, CreateEvalGuardrailConfigOperator$, CreateEvalGuardrailConfigNumber$inboundSchema, CreateEvalGuardrailConfigNumber$outboundSchema, CreateEvalGuardrailConfigNumber$, CreateEvalGuardrailConfigEvalsRequestRequestBodyType$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBodyType$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBodyType$, CreateEvalGuardrailConfigBoolean$inboundSchema, CreateEvalGuardrailConfigBoolean$outboundSchema, CreateEvalGuardrailConfigBoolean$, CreateEvalRequestBodyGuardrailConfig$inboundSchema, CreateEvalRequestBodyGuardrailConfig$outboundSchema, CreateEvalRequestBodyGuardrailConfig$, CreateEvalRequestBodyEvalsType$inboundSchema, CreateEvalRequestBodyEvalsType$outboundSchema, CreateEvalRequestBodyEvalsType$, Method$inboundSchema, Method$outboundSchema, Method$, Http$inboundSchema, Http$outboundSchema, Http$, CreateEvalGuardrailConfigEvalsRequestType$inboundSchema, CreateEvalGuardrailConfigEvalsRequestType$outboundSchema, CreateEvalGuardrailConfigEvalsRequestType$, GuardrailConfigOperator$inboundSchema, GuardrailConfigOperator$outboundSchema, GuardrailConfigOperator$, GuardrailConfigNumber$inboundSchema, GuardrailConfigNumber$outboundSchema, GuardrailConfigNumber$, CreateEvalGuardrailConfigEvalsType$inboundSchema, CreateEvalGuardrailConfigEvalsType$outboundSchema, CreateEvalGuardrailConfigEvalsType$, GuardrailConfigBoolean$inboundSchema, GuardrailConfigBoolean$outboundSchema, GuardrailConfigBoolean$, RequestBodyGuardrailConfig$inboundSchema, RequestBodyGuardrailConfig$outboundSchema, RequestBodyGuardrailConfig$, CreateEvalRequestBodyType$inboundSchema, CreateEvalRequestBodyType$outboundSchema, CreateEvalRequestBodyType$, Json$inboundSchema, Json$outboundSchema, Json$, CreateEvalGuardrailConfigType$inboundSchema, CreateEvalGuardrailConfigType$outboundSchema, CreateEvalGuardrailConfigType$, Operator$inboundSchema, Operator$outboundSchema, Operator$, NumberT$inboundSchema, NumberT$outboundSchema, NumberT$, GuardrailConfigType$inboundSchema, GuardrailConfigType$outboundSchema, GuardrailConfigType$, Boolean$inboundSchema, Boolean$outboundSchema, Boolean$, GuardrailConfig$inboundSchema, GuardrailConfig$outboundSchema, GuardrailConfig$, RequestBodyType$inboundSchema, RequestBodyType$outboundSchema, RequestBodyType$, Llm$inboundSchema, Llm$outboundSchema, Llm$, CreateEvalRequestBody$inboundSchema, CreateEvalRequestBody$outboundSchema, CreateEvalRequestBody$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$, CreateEvalResponseBodyEvalsResponseGuardrailConfig$inboundSchema, CreateEvalResponseBodyEvalsResponseGuardrailConfig$outboundSchema, CreateEvalResponseBodyEvalsResponseGuardrailConfig$, CreateEvalResponseBodyEvalsResponseType$inboundSchema, CreateEvalResponseBodyEvalsResponseType$outboundSchema, CreateEvalResponseBodyEvalsResponseType$, ResponseBodyPython$inboundSchema, ResponseBodyPython$outboundSchema, ResponseBodyPython$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$, CreateEvalResponseBodyEvalsGuardrailConfig$inboundSchema, CreateEvalResponseBodyEvalsGuardrailConfig$outboundSchema, CreateEvalResponseBodyEvalsGuardrailConfig$, CreateEvalResponseBodyEvalsType$inboundSchema, CreateEvalResponseBodyEvalsType$outboundSchema, CreateEvalResponseBodyEvalsType$, ResponseBodyMethod$inboundSchema, ResponseBodyMethod$outboundSchema, ResponseBodyMethod$, ResponseBodyHTTP$inboundSchema, ResponseBodyHTTP$outboundSchema, ResponseBodyHTTP$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType$, CreateEvalGuardrailConfigEvalsResponse200Operator$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Operator$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Operator$, CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Number$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType$, CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Boolean$, CreateEvalResponseBodyGuardrailConfig$inboundSchema, CreateEvalResponseBodyGuardrailConfig$outboundSchema, CreateEvalResponseBodyGuardrailConfig$, CreateEvalResponseBodyType$inboundSchema, CreateEvalResponseBodyType$outboundSchema, CreateEvalResponseBodyType$, ResponseBodyJSON$inboundSchema, ResponseBodyJSON$outboundSchema, ResponseBodyJSON$, CreateEvalGuardrailConfigEvalsResponse200Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Type$, CreateEvalGuardrailConfigEvalsResponseOperator$inboundSchema, CreateEvalGuardrailConfigEvalsResponseOperator$outboundSchema, CreateEvalGuardrailConfigEvalsResponseOperator$, CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema, CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema, CreateEvalGuardrailConfigEvalsResponseNumber$, CreateEvalGuardrailConfigEvalsResponseType$inboundSchema, CreateEvalGuardrailConfigEvalsResponseType$outboundSchema, CreateEvalGuardrailConfigEvalsResponseType$, CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponseBoolean$, ResponseBodyGuardrailConfig$inboundSchema, ResponseBodyGuardrailConfig$outboundSchema, ResponseBodyGuardrailConfig$, ResponseBodyType$inboundSchema, ResponseBodyType$outboundSchema, ResponseBodyType$, ResponseBodyLLM$inboundSchema, ResponseBodyLLM$outboundSchema, ResponseBodyLLM$, CreateEvalResponseBody$inboundSchema, CreateEvalResponseBody$outboundSchema, CreateEvalResponseBody$;
|
|
37880
37698
|
var init_createeval = __esm(() => {
|
|
@@ -38523,8 +38341,8 @@ var init_createeval = __esm(() => {
|
|
|
38523
38341
|
ResponseBodyPython$inboundSchema = objectType({
|
|
38524
38342
|
_id: stringType(),
|
|
38525
38343
|
description: stringType(),
|
|
38526
|
-
created: stringType().default("2025-06-
|
|
38527
|
-
updated: stringType().default("2025-06-
|
|
38344
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38345
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38528
38346
|
guardrail_config: unionType([
|
|
38529
38347
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
38530
38348
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -38541,8 +38359,8 @@ var init_createeval = __esm(() => {
|
|
|
38541
38359
|
ResponseBodyPython$outboundSchema = objectType({
|
|
38542
38360
|
id: stringType(),
|
|
38543
38361
|
description: stringType(),
|
|
38544
|
-
created: stringType().default("2025-06-
|
|
38545
|
-
updated: stringType().default("2025-06-
|
|
38362
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38363
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38546
38364
|
guardrailConfig: unionType([
|
|
38547
38365
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
38548
38366
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -38635,8 +38453,8 @@ var init_createeval = __esm(() => {
|
|
|
38635
38453
|
ResponseBodyHTTP$inboundSchema = objectType({
|
|
38636
38454
|
_id: stringType(),
|
|
38637
38455
|
description: stringType(),
|
|
38638
|
-
created: stringType().default("2025-06-
|
|
38639
|
-
updated: stringType().default("2025-06-
|
|
38456
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38457
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38640
38458
|
guardrail_config: unionType([
|
|
38641
38459
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
38642
38460
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -38656,8 +38474,8 @@ var init_createeval = __esm(() => {
|
|
|
38656
38474
|
ResponseBodyHTTP$outboundSchema = objectType({
|
|
38657
38475
|
id: stringType(),
|
|
38658
38476
|
description: stringType(),
|
|
38659
|
-
created: stringType().default("2025-06-
|
|
38660
|
-
updated: stringType().default("2025-06-
|
|
38477
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38478
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38661
38479
|
guardrailConfig: unionType([
|
|
38662
38480
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
38663
38481
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -38747,8 +38565,8 @@ var init_createeval = __esm(() => {
|
|
|
38747
38565
|
ResponseBodyJSON$inboundSchema = objectType({
|
|
38748
38566
|
_id: stringType(),
|
|
38749
38567
|
description: stringType(),
|
|
38750
|
-
created: stringType().default("2025-06-
|
|
38751
|
-
updated: stringType().default("2025-06-
|
|
38568
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38569
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38752
38570
|
guardrail_config: unionType([
|
|
38753
38571
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
38754
38572
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -38765,8 +38583,8 @@ var init_createeval = __esm(() => {
|
|
|
38765
38583
|
ResponseBodyJSON$outboundSchema = objectType({
|
|
38766
38584
|
id: stringType(),
|
|
38767
38585
|
description: stringType(),
|
|
38768
|
-
created: stringType().default("2025-06-
|
|
38769
|
-
updated: stringType().default("2025-06-
|
|
38586
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38587
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38770
38588
|
guardrailConfig: unionType([
|
|
38771
38589
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
38772
38590
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -38853,8 +38671,8 @@ var init_createeval = __esm(() => {
|
|
|
38853
38671
|
ResponseBodyLLM$inboundSchema = objectType({
|
|
38854
38672
|
_id: stringType(),
|
|
38855
38673
|
description: stringType(),
|
|
38856
|
-
created: stringType().default("2025-06-
|
|
38857
|
-
updated: stringType().default("2025-06-
|
|
38674
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38675
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38858
38676
|
guardrail_config: unionType([
|
|
38859
38677
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
38860
38678
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -38872,8 +38690,8 @@ var init_createeval = __esm(() => {
|
|
|
38872
38690
|
ResponseBodyLLM$outboundSchema = objectType({
|
|
38873
38691
|
id: stringType(),
|
|
38874
38692
|
description: stringType(),
|
|
38875
|
-
created: stringType().default("2025-06-
|
|
38876
|
-
updated: stringType().default("2025-06-
|
|
38693
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38694
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
38877
38695
|
guardrailConfig: unionType([
|
|
38878
38696
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
38879
38697
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -48569,7 +48387,7 @@ var init_fileget = __esm(() => {
|
|
|
48569
48387
|
bytes: numberType(),
|
|
48570
48388
|
file_name: stringType(),
|
|
48571
48389
|
workspace_id: stringType(),
|
|
48572
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48390
|
+
created: stringType().datetime({ offset: true }).default("2025-06-24T12:02:01.052Z").transform((v2) => new Date(v2))
|
|
48573
48391
|
}).transform((v2) => {
|
|
48574
48392
|
return remap(v2, {
|
|
48575
48393
|
_id: "id",
|
|
@@ -48585,7 +48403,7 @@ var init_fileget = __esm(() => {
|
|
|
48585
48403
|
bytes: numberType(),
|
|
48586
48404
|
fileName: stringType(),
|
|
48587
48405
|
workspaceId: stringType(),
|
|
48588
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48406
|
+
created: dateType().default(() => new Date("2025-06-24T12:02:01.052Z")).transform((v2) => v2.toISOString())
|
|
48589
48407
|
}).transform((v2) => {
|
|
48590
48408
|
return remap(v2, {
|
|
48591
48409
|
id: "_id",
|
|
@@ -48656,7 +48474,7 @@ var init_filelist = __esm(() => {
|
|
|
48656
48474
|
bytes: numberType(),
|
|
48657
48475
|
file_name: stringType(),
|
|
48658
48476
|
workspace_id: stringType(),
|
|
48659
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48477
|
+
created: stringType().datetime({ offset: true }).default("2025-06-24T12:02:01.052Z").transform((v2) => new Date(v2))
|
|
48660
48478
|
}).transform((v2) => {
|
|
48661
48479
|
return remap(v2, {
|
|
48662
48480
|
_id: "id",
|
|
@@ -48672,7 +48490,7 @@ var init_filelist = __esm(() => {
|
|
|
48672
48490
|
bytes: numberType(),
|
|
48673
48491
|
fileName: stringType(),
|
|
48674
48492
|
workspaceId: stringType(),
|
|
48675
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48493
|
+
created: dateType().default(() => new Date("2025-06-24T12:02:01.052Z")).transform((v2) => v2.toISOString())
|
|
48676
48494
|
}).transform((v2) => {
|
|
48677
48495
|
return remap(v2, {
|
|
48678
48496
|
id: "_id",
|
|
@@ -48804,7 +48622,7 @@ var init_fileupload = __esm(() => {
|
|
|
48804
48622
|
bytes: numberType(),
|
|
48805
48623
|
file_name: stringType(),
|
|
48806
48624
|
workspace_id: stringType(),
|
|
48807
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48625
|
+
created: stringType().datetime({ offset: true }).default("2025-06-24T12:02:01.052Z").transform((v2) => new Date(v2))
|
|
48808
48626
|
}).transform((v2) => {
|
|
48809
48627
|
return remap(v2, {
|
|
48810
48628
|
_id: "id",
|
|
@@ -48820,7 +48638,7 @@ var init_fileupload = __esm(() => {
|
|
|
48820
48638
|
bytes: numberType(),
|
|
48821
48639
|
fileName: stringType(),
|
|
48822
48640
|
workspaceId: stringType(),
|
|
48823
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48641
|
+
created: dateType().default(() => new Date("2025-06-24T12:02:01.052Z")).transform((v2) => v2.toISOString())
|
|
48824
48642
|
}).transform((v2) => {
|
|
48825
48643
|
return remap(v2, {
|
|
48826
48644
|
id: "_id",
|
|
@@ -49823,8 +49641,8 @@ var init_getevals = __esm(() => {
|
|
|
49823
49641
|
Typescript$inboundSchema = objectType({
|
|
49824
49642
|
_id: stringType(),
|
|
49825
49643
|
description: stringType(),
|
|
49826
|
-
created: stringType().default("2025-06-
|
|
49827
|
-
updated: stringType().default("2025-06-
|
|
49644
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49645
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49828
49646
|
guardrail_config: unionType([
|
|
49829
49647
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
49830
49648
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -49841,8 +49659,8 @@ var init_getevals = __esm(() => {
|
|
|
49841
49659
|
Typescript$outboundSchema = objectType({
|
|
49842
49660
|
id: stringType(),
|
|
49843
49661
|
description: stringType(),
|
|
49844
|
-
created: stringType().default("2025-06-
|
|
49845
|
-
updated: stringType().default("2025-06-
|
|
49662
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49663
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49846
49664
|
guardrailConfig: unionType([
|
|
49847
49665
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
49848
49666
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -49935,8 +49753,8 @@ var init_getevals = __esm(() => {
|
|
|
49935
49753
|
Ragas$inboundSchema = objectType({
|
|
49936
49754
|
_id: stringType(),
|
|
49937
49755
|
description: stringType(),
|
|
49938
|
-
created: stringType().default("2025-06-
|
|
49939
|
-
updated: stringType().default("2025-06-
|
|
49756
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49757
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49940
49758
|
guardrail_config: unionType([
|
|
49941
49759
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
49942
49760
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -49955,8 +49773,8 @@ var init_getevals = __esm(() => {
|
|
|
49955
49773
|
Ragas$outboundSchema = objectType({
|
|
49956
49774
|
id: stringType(),
|
|
49957
49775
|
description: stringType(),
|
|
49958
|
-
created: stringType().default("2025-06-
|
|
49959
|
-
updated: stringType().default("2025-06-
|
|
49776
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49777
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
49960
49778
|
guardrailConfig: unionType([
|
|
49961
49779
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
49962
49780
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -50507,8 +50325,8 @@ var init_getevals = __esm(() => {
|
|
|
50507
50325
|
DataFunction$inboundSchema = objectType({
|
|
50508
50326
|
_id: stringType(),
|
|
50509
50327
|
description: stringType(),
|
|
50510
|
-
created: stringType().default("2025-06-
|
|
50511
|
-
updated: stringType().default("2025-06-
|
|
50328
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50329
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50512
50330
|
guardrail_config: unionType([
|
|
50513
50331
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
50514
50332
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -50551,8 +50369,8 @@ var init_getevals = __esm(() => {
|
|
|
50551
50369
|
DataFunction$outboundSchema = objectType({
|
|
50552
50370
|
id: stringType(),
|
|
50553
50371
|
description: stringType(),
|
|
50554
|
-
created: stringType().default("2025-06-
|
|
50555
|
-
updated: stringType().default("2025-06-
|
|
50372
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50373
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50556
50374
|
guardrailConfig: unionType([
|
|
50557
50375
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
50558
50376
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -50665,8 +50483,8 @@ var init_getevals = __esm(() => {
|
|
|
50665
50483
|
DataPython$inboundSchema = objectType({
|
|
50666
50484
|
_id: stringType(),
|
|
50667
50485
|
description: stringType(),
|
|
50668
|
-
created: stringType().default("2025-06-
|
|
50669
|
-
updated: stringType().default("2025-06-
|
|
50486
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50487
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50670
50488
|
guardrail_config: unionType([
|
|
50671
50489
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
50672
50490
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema)
|
|
@@ -50683,8 +50501,8 @@ var init_getevals = __esm(() => {
|
|
|
50683
50501
|
DataPython$outboundSchema = objectType({
|
|
50684
50502
|
id: stringType(),
|
|
50685
50503
|
description: stringType(),
|
|
50686
|
-
created: stringType().default("2025-06-
|
|
50687
|
-
updated: stringType().default("2025-06-
|
|
50504
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50505
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50688
50506
|
guardrailConfig: unionType([
|
|
50689
50507
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
50690
50508
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema)
|
|
@@ -50777,8 +50595,8 @@ var init_getevals = __esm(() => {
|
|
|
50777
50595
|
DataHTTP$inboundSchema = objectType({
|
|
50778
50596
|
_id: stringType(),
|
|
50779
50597
|
description: stringType(),
|
|
50780
|
-
created: stringType().default("2025-06-
|
|
50781
|
-
updated: stringType().default("2025-06-
|
|
50598
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50599
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50782
50600
|
guardrail_config: unionType([
|
|
50783
50601
|
lazyType(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
50784
50602
|
lazyType(() => GetEvalsGuardrailConfigBoolean$inboundSchema)
|
|
@@ -50798,8 +50616,8 @@ var init_getevals = __esm(() => {
|
|
|
50798
50616
|
DataHTTP$outboundSchema = objectType({
|
|
50799
50617
|
id: stringType(),
|
|
50800
50618
|
description: stringType(),
|
|
50801
|
-
created: stringType().default("2025-06-
|
|
50802
|
-
updated: stringType().default("2025-06-
|
|
50619
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50620
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50803
50621
|
guardrailConfig: unionType([
|
|
50804
50622
|
lazyType(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
50805
50623
|
lazyType(() => GetEvalsGuardrailConfigBoolean$outboundSchema)
|
|
@@ -50889,8 +50707,8 @@ var init_getevals = __esm(() => {
|
|
|
50889
50707
|
DataJSON$inboundSchema = objectType({
|
|
50890
50708
|
_id: stringType(),
|
|
50891
50709
|
description: stringType(),
|
|
50892
|
-
created: stringType().default("2025-06-
|
|
50893
|
-
updated: stringType().default("2025-06-
|
|
50710
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50711
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50894
50712
|
guardrail_config: unionType([
|
|
50895
50713
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
|
|
50896
50714
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema)
|
|
@@ -50907,8 +50725,8 @@ var init_getevals = __esm(() => {
|
|
|
50907
50725
|
DataJSON$outboundSchema = objectType({
|
|
50908
50726
|
id: stringType(),
|
|
50909
50727
|
description: stringType(),
|
|
50910
|
-
created: stringType().default("2025-06-
|
|
50911
|
-
updated: stringType().default("2025-06-
|
|
50728
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50729
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50912
50730
|
guardrailConfig: unionType([
|
|
50913
50731
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema),
|
|
50914
50732
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema)
|
|
@@ -50995,8 +50813,8 @@ var init_getevals = __esm(() => {
|
|
|
50995
50813
|
DataLLM$inboundSchema = objectType({
|
|
50996
50814
|
_id: stringType(),
|
|
50997
50815
|
description: stringType(),
|
|
50998
|
-
created: stringType().default("2025-06-
|
|
50999
|
-
updated: stringType().default("2025-06-
|
|
50816
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50817
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
51000
50818
|
guardrail_config: unionType([
|
|
51001
50819
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
51002
50820
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -51014,8 +50832,8 @@ var init_getevals = __esm(() => {
|
|
|
51014
50832
|
DataLLM$outboundSchema = objectType({
|
|
51015
50833
|
id: stringType(),
|
|
51016
50834
|
description: stringType(),
|
|
51017
|
-
created: stringType().default("2025-06-
|
|
51018
|
-
updated: stringType().default("2025-06-
|
|
50835
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
50836
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
51019
50837
|
guardrailConfig: unionType([
|
|
51020
50838
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
51021
50839
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -53410,7 +53228,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53410
53228
|
tags: arrayType(stringType()).optional(),
|
|
53411
53229
|
metadata: recordType(anyType()).optional(),
|
|
53412
53230
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
53413
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53231
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2)),
|
|
53414
53232
|
metrics: lazyType(() => Metrics$inboundSchema)
|
|
53415
53233
|
}).transform((v2) => {
|
|
53416
53234
|
return remap(v2, {
|
|
@@ -53429,7 +53247,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53429
53247
|
tags: arrayType(stringType()).optional(),
|
|
53430
53248
|
metadata: recordType(anyType()).optional(),
|
|
53431
53249
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
53432
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53250
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString()),
|
|
53433
53251
|
metrics: lazyType(() => Metrics$outboundSchema)
|
|
53434
53252
|
}).transform((v2) => {
|
|
53435
53253
|
return remap(v2, {
|
|
@@ -54044,7 +53862,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54044
53862
|
created_by_id: stringType().optional(),
|
|
54045
53863
|
updated_by_id: stringType().optional(),
|
|
54046
53864
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54047
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53865
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
54048
53866
|
}).transform((v2) => {
|
|
54049
53867
|
return remap(v2, {
|
|
54050
53868
|
_id: "id",
|
|
@@ -54071,7 +53889,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54071
53889
|
createdById: stringType().optional(),
|
|
54072
53890
|
updatedById: stringType().optional(),
|
|
54073
53891
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54074
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53892
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
54075
53893
|
}).transform((v2) => {
|
|
54076
53894
|
return remap(v2, {
|
|
54077
53895
|
id: "_id",
|
|
@@ -54179,7 +53997,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54179
53997
|
updated_by_id: stringType().optional(),
|
|
54180
53998
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
54181
53999
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54182
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54000
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
54183
54001
|
}).transform((v2) => {
|
|
54184
54002
|
return remap(v2, {
|
|
54185
54003
|
_id: "id",
|
|
@@ -54199,7 +54017,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54199
54017
|
updatedById: stringType().optional(),
|
|
54200
54018
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
54201
54019
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54202
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54020
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
54203
54021
|
}).transform((v2) => {
|
|
54204
54022
|
return remap(v2, {
|
|
54205
54023
|
id: "_id",
|
|
@@ -54304,7 +54122,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54304
54122
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
54305
54123
|
})(ListDatasourcesStatus$ ||= {});
|
|
54306
54124
|
ListDatasourcesData$inboundSchema = objectType({
|
|
54307
|
-
_id: stringType().default("
|
|
54125
|
+
_id: stringType().default("01JYGX27GZMAW7J65D7AWKQGQR"),
|
|
54308
54126
|
display_name: stringType(),
|
|
54309
54127
|
description: stringType().optional(),
|
|
54310
54128
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -54327,7 +54145,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54327
54145
|
});
|
|
54328
54146
|
});
|
|
54329
54147
|
ListDatasourcesData$outboundSchema = objectType({
|
|
54330
|
-
id: stringType().default("
|
|
54148
|
+
id: stringType().default("01JYGX27GZMAW7J65D7AWKQGQR"),
|
|
54331
54149
|
displayName: stringType(),
|
|
54332
54150
|
description: stringType().optional(),
|
|
54333
54151
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -55374,7 +55192,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55374
55192
|
tags: arrayType(stringType()).optional(),
|
|
55375
55193
|
metadata: recordType(anyType()).optional(),
|
|
55376
55194
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55377
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55195
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
55378
55196
|
}).transform((v2) => {
|
|
55379
55197
|
return remap(v2, {
|
|
55380
55198
|
_id: "id",
|
|
@@ -55392,7 +55210,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55392
55210
|
tags: arrayType(stringType()).optional(),
|
|
55393
55211
|
metadata: recordType(anyType()).optional(),
|
|
55394
55212
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55395
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55213
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
55396
55214
|
}).transform((v2) => {
|
|
55397
55215
|
return remap(v2, {
|
|
55398
55216
|
id: "_id",
|
|
@@ -55969,7 +55787,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
55969
55787
|
created_by_id: stringType().optional(),
|
|
55970
55788
|
updated_by_id: stringType().optional(),
|
|
55971
55789
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55972
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55790
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
55973
55791
|
}).transform((v2) => {
|
|
55974
55792
|
return remap(v2, {
|
|
55975
55793
|
_id: "id",
|
|
@@ -55996,7 +55814,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
55996
55814
|
createdById: stringType().optional(),
|
|
55997
55815
|
updatedById: stringType().optional(),
|
|
55998
55816
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55999
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55817
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
56000
55818
|
}).transform((v2) => {
|
|
56001
55819
|
return remap(v2, {
|
|
56002
55820
|
id: "_id",
|
|
@@ -56067,7 +55885,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56067
55885
|
updated_by_id: stringType().optional(),
|
|
56068
55886
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
56069
55887
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56070
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55888
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
56071
55889
|
}).transform((v2) => {
|
|
56072
55890
|
return remap(v2, {
|
|
56073
55891
|
_id: "id",
|
|
@@ -56087,7 +55905,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56087
55905
|
updatedById: stringType().optional(),
|
|
56088
55906
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
56089
55907
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56090
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55908
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
56091
55909
|
}).transform((v2) => {
|
|
56092
55910
|
return remap(v2, {
|
|
56093
55911
|
id: "_id",
|
|
@@ -56145,7 +55963,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56145
55963
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
56146
55964
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
56147
55965
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
56148
|
-
_id: stringType().default("
|
|
55966
|
+
_id: stringType().default("01JYGX27GZBSQNJ21964ME9Q36"),
|
|
56149
55967
|
display_name: stringType(),
|
|
56150
55968
|
description: stringType().optional(),
|
|
56151
55969
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -56168,7 +55986,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56168
55986
|
});
|
|
56169
55987
|
});
|
|
56170
55988
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
56171
|
-
id: stringType().default("
|
|
55989
|
+
id: stringType().default("01JYGX27GZBSQNJ21964ME9Q36"),
|
|
56172
55990
|
displayName: stringType(),
|
|
56173
55991
|
description: stringType().optional(),
|
|
56174
55992
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -57049,7 +56867,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57049
56867
|
tags: arrayType(stringType()).optional(),
|
|
57050
56868
|
metadata: recordType(anyType()).optional(),
|
|
57051
56869
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
57052
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
56870
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
57053
56871
|
}).transform((v2) => {
|
|
57054
56872
|
return remap(v2, {
|
|
57055
56873
|
_id: "id",
|
|
@@ -57067,7 +56885,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57067
56885
|
tags: arrayType(stringType()).optional(),
|
|
57068
56886
|
metadata: recordType(anyType()).optional(),
|
|
57069
56887
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
57070
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
56888
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
57071
56889
|
}).transform((v2) => {
|
|
57072
56890
|
return remap(v2, {
|
|
57073
56891
|
id: "_id",
|
|
@@ -58201,7 +58019,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58201
58019
|
created_by_id: stringType().optional(),
|
|
58202
58020
|
updated_by_id: stringType().optional(),
|
|
58203
58021
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58204
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58022
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
58205
58023
|
}).transform((v2) => {
|
|
58206
58024
|
return remap(v2, {
|
|
58207
58025
|
_id: "id",
|
|
@@ -58228,7 +58046,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58228
58046
|
createdById: stringType().optional(),
|
|
58229
58047
|
updatedById: stringType().optional(),
|
|
58230
58048
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58231
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58049
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
58232
58050
|
}).transform((v2) => {
|
|
58233
58051
|
return remap(v2, {
|
|
58234
58052
|
id: "_id",
|
|
@@ -58329,7 +58147,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58329
58147
|
parent_id: stringType().optional(),
|
|
58330
58148
|
version: stringType().optional(),
|
|
58331
58149
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58332
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58150
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T12:01:57.787Z").transform((v2) => new Date(v2))
|
|
58333
58151
|
}).transform((v2) => {
|
|
58334
58152
|
return remap(v2, {
|
|
58335
58153
|
_id: "id",
|
|
@@ -58352,7 +58170,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58352
58170
|
parentId: stringType().optional(),
|
|
58353
58171
|
version: stringType().optional(),
|
|
58354
58172
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58355
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58173
|
+
updated: dateType().default(() => new Date("2025-06-24T12:01:57.787Z")).transform((v2) => v2.toISOString())
|
|
58356
58174
|
}).transform((v2) => {
|
|
58357
58175
|
return remap(v2, {
|
|
58358
58176
|
id: "_id",
|
|
@@ -58433,7 +58251,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58433
58251
|
UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
|
|
58434
58252
|
})(UpdateDatasourceStatus$ ||= {});
|
|
58435
58253
|
UpdateDatasourceResponseBody$inboundSchema = objectType({
|
|
58436
|
-
_id: stringType().default("
|
|
58254
|
+
_id: stringType().default("01JYGX27H1WHD9DWGDXJPDKEM0"),
|
|
58437
58255
|
display_name: stringType(),
|
|
58438
58256
|
description: stringType().optional(),
|
|
58439
58257
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -58456,7 +58274,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58456
58274
|
});
|
|
58457
58275
|
});
|
|
58458
58276
|
UpdateDatasourceResponseBody$outboundSchema = objectType({
|
|
58459
|
-
id: stringType().default("
|
|
58277
|
+
id: stringType().default("01JYGX27H1WHD9DWGDXJPDKEM0"),
|
|
58460
58278
|
displayName: stringType(),
|
|
58461
58279
|
description: stringType().optional(),
|
|
58462
58280
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -59162,8 +58980,8 @@ var init_updateeval = __esm(() => {
|
|
|
59162
58980
|
UpdateEvalResponseBodyPython$inboundSchema = objectType({
|
|
59163
58981
|
_id: stringType(),
|
|
59164
58982
|
description: stringType(),
|
|
59165
|
-
created: stringType().default("2025-06-
|
|
59166
|
-
updated: stringType().default("2025-06-
|
|
58983
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
58984
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59167
58985
|
guardrail_config: unionType([
|
|
59168
58986
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
59169
58987
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -59180,8 +58998,8 @@ var init_updateeval = __esm(() => {
|
|
|
59180
58998
|
UpdateEvalResponseBodyPython$outboundSchema = objectType({
|
|
59181
58999
|
id: stringType(),
|
|
59182
59000
|
description: stringType(),
|
|
59183
|
-
created: stringType().default("2025-06-
|
|
59184
|
-
updated: stringType().default("2025-06-
|
|
59001
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59002
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59185
59003
|
guardrailConfig: unionType([
|
|
59186
59004
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
59187
59005
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -59274,8 +59092,8 @@ var init_updateeval = __esm(() => {
|
|
|
59274
59092
|
UpdateEvalResponseBodyHTTP$inboundSchema = objectType({
|
|
59275
59093
|
_id: stringType(),
|
|
59276
59094
|
description: stringType(),
|
|
59277
|
-
created: stringType().default("2025-06-
|
|
59278
|
-
updated: stringType().default("2025-06-
|
|
59095
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59096
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59279
59097
|
guardrail_config: unionType([
|
|
59280
59098
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
59281
59099
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -59295,8 +59113,8 @@ var init_updateeval = __esm(() => {
|
|
|
59295
59113
|
UpdateEvalResponseBodyHTTP$outboundSchema = objectType({
|
|
59296
59114
|
id: stringType(),
|
|
59297
59115
|
description: stringType(),
|
|
59298
|
-
created: stringType().default("2025-06-
|
|
59299
|
-
updated: stringType().default("2025-06-
|
|
59116
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59117
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59300
59118
|
guardrailConfig: unionType([
|
|
59301
59119
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
59302
59120
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -59386,8 +59204,8 @@ var init_updateeval = __esm(() => {
|
|
|
59386
59204
|
UpdateEvalResponseBodyJSON$inboundSchema = objectType({
|
|
59387
59205
|
_id: stringType(),
|
|
59388
59206
|
description: stringType(),
|
|
59389
|
-
created: stringType().default("2025-06-
|
|
59390
|
-
updated: stringType().default("2025-06-
|
|
59207
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59208
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59391
59209
|
guardrail_config: unionType([
|
|
59392
59210
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
59393
59211
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -59404,8 +59222,8 @@ var init_updateeval = __esm(() => {
|
|
|
59404
59222
|
UpdateEvalResponseBodyJSON$outboundSchema = objectType({
|
|
59405
59223
|
id: stringType(),
|
|
59406
59224
|
description: stringType(),
|
|
59407
|
-
created: stringType().default("2025-06-
|
|
59408
|
-
updated: stringType().default("2025-06-
|
|
59225
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59226
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59409
59227
|
guardrailConfig: unionType([
|
|
59410
59228
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
59411
59229
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -59492,8 +59310,8 @@ var init_updateeval = __esm(() => {
|
|
|
59492
59310
|
UpdateEvalResponseBodyLLM$inboundSchema = objectType({
|
|
59493
59311
|
_id: stringType(),
|
|
59494
59312
|
description: stringType(),
|
|
59495
|
-
created: stringType().default("2025-06-
|
|
59496
|
-
updated: stringType().default("2025-06-
|
|
59313
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59314
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59497
59315
|
guardrail_config: unionType([
|
|
59498
59316
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
59499
59317
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -59511,8 +59329,8 @@ var init_updateeval = __esm(() => {
|
|
|
59511
59329
|
UpdateEvalResponseBodyLLM$outboundSchema = objectType({
|
|
59512
59330
|
id: stringType(),
|
|
59513
59331
|
description: stringType(),
|
|
59514
|
-
created: stringType().default("2025-06-
|
|
59515
|
-
updated: stringType().default("2025-06-
|
|
59332
|
+
created: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59333
|
+
updated: stringType().default("2025-06-24T12:01:59.969Z"),
|
|
59516
59334
|
guardrailConfig: unionType([
|
|
59517
59335
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
59518
59336
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -61019,10 +60837,8 @@ var init_operations = __esm(() => {
|
|
|
61019
60837
|
init_createchunk();
|
|
61020
60838
|
init_createcontact();
|
|
61021
60839
|
init_createdataset();
|
|
61022
|
-
init_createdatasetexperiment();
|
|
61023
60840
|
init_createdatasetitem();
|
|
61024
60841
|
init_createdatasource();
|
|
61025
|
-
init_createdeploymentexperiment();
|
|
61026
60842
|
init_createeval();
|
|
61027
60843
|
init_createfeedback();
|
|
61028
60844
|
init_createknowledge();
|
|
@@ -64590,116 +64406,11 @@ Creates a new datapoint in the specified dataset.`,
|
|
|
64590
64406
|
};
|
|
64591
64407
|
});
|
|
64592
64408
|
|
|
64593
|
-
// src/funcs/datasetsCreateExperiment.ts
|
|
64594
|
-
function datasetsCreateExperiment(client, request, options) {
|
|
64595
|
-
return new APIPromise($do9(client, request, options));
|
|
64596
|
-
}
|
|
64597
|
-
async function $do9(client, request, options) {
|
|
64598
|
-
const parsed = safeParse(request, (value) => CreateDatasetExperimentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64599
|
-
if (!parsed.ok) {
|
|
64600
|
-
return [parsed, { status: "invalid" }];
|
|
64601
|
-
}
|
|
64602
|
-
const payload = parsed.value;
|
|
64603
|
-
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
64604
|
-
const pathParams = {
|
|
64605
|
-
dataset_id: encodeSimple("dataset_id", payload.dataset_id, {
|
|
64606
|
-
explode: false,
|
|
64607
|
-
charEncoding: "percent"
|
|
64608
|
-
})
|
|
64609
|
-
};
|
|
64610
|
-
const path = pathToFunc("/v2/datasets/{dataset_id}/experiment")(pathParams);
|
|
64611
|
-
const headers = new Headers(compactMap({
|
|
64612
|
-
"Content-Type": "application/json",
|
|
64613
|
-
Accept: "application/json"
|
|
64614
|
-
}));
|
|
64615
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
64616
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
64617
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
64618
|
-
const context = {
|
|
64619
|
-
options: client._options,
|
|
64620
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
64621
|
-
operationID: "CreateDatasetExperiment",
|
|
64622
|
-
oAuth2Scopes: [],
|
|
64623
|
-
resolvedSecurity: requestSecurity,
|
|
64624
|
-
securitySource: client._options.apiKey,
|
|
64625
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
64626
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
64627
|
-
};
|
|
64628
|
-
const requestRes = client._createRequest(context, {
|
|
64629
|
-
security: requestSecurity,
|
|
64630
|
-
method: "POST",
|
|
64631
|
-
baseURL: options?.serverURL,
|
|
64632
|
-
path,
|
|
64633
|
-
headers,
|
|
64634
|
-
body,
|
|
64635
|
-
userAgent: client._options.userAgent,
|
|
64636
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
64637
|
-
}, options);
|
|
64638
|
-
if (!requestRes.ok) {
|
|
64639
|
-
return [requestRes, { status: "invalid" }];
|
|
64640
|
-
}
|
|
64641
|
-
const req = requestRes.value;
|
|
64642
|
-
const doResult = await client._do(req, {
|
|
64643
|
-
context,
|
|
64644
|
-
errorCodes: ["4XX", "5XX"],
|
|
64645
|
-
retryConfig: context.retryConfig,
|
|
64646
|
-
retryCodes: context.retryCodes
|
|
64647
|
-
});
|
|
64648
|
-
if (!doResult.ok) {
|
|
64649
|
-
return [doResult, { status: "request-error", request: req }];
|
|
64650
|
-
}
|
|
64651
|
-
const response = doResult.value;
|
|
64652
|
-
const [result] = await match(json(200, CreateDatasetExperimentResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
64653
|
-
if (!result.ok) {
|
|
64654
|
-
return [result, { status: "complete", request: req, response }];
|
|
64655
|
-
}
|
|
64656
|
-
return [result, { status: "complete", request: req, response }];
|
|
64657
|
-
}
|
|
64658
|
-
var init_datasetsCreateExperiment = __esm(() => {
|
|
64659
|
-
init_encodings();
|
|
64660
|
-
init_matchers();
|
|
64661
|
-
init_primitives();
|
|
64662
|
-
init_schemas();
|
|
64663
|
-
init_security();
|
|
64664
|
-
init_url();
|
|
64665
|
-
init_operations();
|
|
64666
|
-
init_async();
|
|
64667
|
-
});
|
|
64668
|
-
|
|
64669
|
-
// src/mcp-server/tools/datasetsCreateExperiment.ts
|
|
64670
|
-
var args9, tool$datasetsCreateExperiment;
|
|
64671
|
-
var init_datasetsCreateExperiment2 = __esm(() => {
|
|
64672
|
-
init_datasetsCreateExperiment();
|
|
64673
|
-
init_operations();
|
|
64674
|
-
init_tools();
|
|
64675
|
-
args9 = {
|
|
64676
|
-
request: CreateDatasetExperimentRequest$inboundSchema
|
|
64677
|
-
};
|
|
64678
|
-
tool$datasetsCreateExperiment = {
|
|
64679
|
-
name: "datasets-create-experiment",
|
|
64680
|
-
description: `Create an experiment from a dataset
|
|
64681
|
-
|
|
64682
|
-
Create an experiment from a dataset`,
|
|
64683
|
-
args: args9,
|
|
64684
|
-
tool: async (client, args10, ctx) => {
|
|
64685
|
-
const [result, apiCall] = await datasetsCreateExperiment(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64686
|
-
if (!result.ok) {
|
|
64687
|
-
return {
|
|
64688
|
-
content: [{ type: "text", text: result.error.message }],
|
|
64689
|
-
isError: true
|
|
64690
|
-
};
|
|
64691
|
-
}
|
|
64692
|
-
const value = result.value;
|
|
64693
|
-
return formatResult(value, apiCall);
|
|
64694
|
-
}
|
|
64695
|
-
};
|
|
64696
|
-
});
|
|
64697
|
-
|
|
64698
64409
|
// src/funcs/datasetsDelete.ts
|
|
64699
64410
|
function datasetsDelete(client, request, options) {
|
|
64700
|
-
return new APIPromise($
|
|
64411
|
+
return new APIPromise($do9(client, request, options));
|
|
64701
64412
|
}
|
|
64702
|
-
async function $
|
|
64413
|
+
async function $do9(client, request, options) {
|
|
64703
64414
|
const parsed = safeParse(request, (value) => DeleteDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64704
64415
|
if (!parsed.ok) {
|
|
64705
64416
|
return [parsed, { status: "invalid" }];
|
|
@@ -64772,12 +64483,12 @@ var init_datasetsDelete = __esm(() => {
|
|
|
64772
64483
|
});
|
|
64773
64484
|
|
|
64774
64485
|
// src/mcp-server/tools/datasetsDelete.ts
|
|
64775
|
-
var
|
|
64486
|
+
var args9, tool$datasetsDelete;
|
|
64776
64487
|
var init_datasetsDelete2 = __esm(() => {
|
|
64777
64488
|
init_datasetsDelete();
|
|
64778
64489
|
init_operations();
|
|
64779
64490
|
init_tools();
|
|
64780
|
-
|
|
64491
|
+
args9 = {
|
|
64781
64492
|
request: DeleteDatasetRequest$inboundSchema
|
|
64782
64493
|
};
|
|
64783
64494
|
tool$datasetsDelete = {
|
|
@@ -64785,9 +64496,9 @@ var init_datasetsDelete2 = __esm(() => {
|
|
|
64785
64496
|
description: `Delete a dataset
|
|
64786
64497
|
|
|
64787
64498
|
Permanently deletes a dataset and all its datapoints. This action is irreversible.`,
|
|
64788
|
-
args:
|
|
64789
|
-
tool: async (client,
|
|
64790
|
-
const [result, apiCall] = await datasetsDelete(client,
|
|
64499
|
+
args: args9,
|
|
64500
|
+
tool: async (client, args10, ctx) => {
|
|
64501
|
+
const [result, apiCall] = await datasetsDelete(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64791
64502
|
if (!result.ok) {
|
|
64792
64503
|
return {
|
|
64793
64504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64801,9 +64512,9 @@ Permanently deletes a dataset and all its datapoints. This action is irreversibl
|
|
|
64801
64512
|
|
|
64802
64513
|
// src/funcs/datasetsDeleteDatapoint.ts
|
|
64803
64514
|
function datasetsDeleteDatapoint(client, request, options) {
|
|
64804
|
-
return new APIPromise($
|
|
64515
|
+
return new APIPromise($do10(client, request, options));
|
|
64805
64516
|
}
|
|
64806
|
-
async function $
|
|
64517
|
+
async function $do10(client, request, options) {
|
|
64807
64518
|
const parsed = safeParse(request, (value) => DeleteDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64808
64519
|
if (!parsed.ok) {
|
|
64809
64520
|
return [parsed, { status: "invalid" }];
|
|
@@ -64884,12 +64595,12 @@ var init_datasetsDeleteDatapoint = __esm(() => {
|
|
|
64884
64595
|
});
|
|
64885
64596
|
|
|
64886
64597
|
// src/mcp-server/tools/datasetsDeleteDatapoint.ts
|
|
64887
|
-
var
|
|
64598
|
+
var args10, tool$datasetsDeleteDatapoint;
|
|
64888
64599
|
var init_datasetsDeleteDatapoint2 = __esm(() => {
|
|
64889
64600
|
init_datasetsDeleteDatapoint();
|
|
64890
64601
|
init_operations();
|
|
64891
64602
|
init_tools();
|
|
64892
|
-
|
|
64603
|
+
args10 = {
|
|
64893
64604
|
request: DeleteDatapointRequest$inboundSchema
|
|
64894
64605
|
};
|
|
64895
64606
|
tool$datasetsDeleteDatapoint = {
|
|
@@ -64897,9 +64608,9 @@ var init_datasetsDeleteDatapoint2 = __esm(() => {
|
|
|
64897
64608
|
description: `Delete a datapoint
|
|
64898
64609
|
|
|
64899
64610
|
Permanently deletes a specific datapoint from a dataset.`,
|
|
64900
|
-
args:
|
|
64901
|
-
tool: async (client,
|
|
64902
|
-
const [result, apiCall] = await datasetsDeleteDatapoint(client,
|
|
64611
|
+
args: args10,
|
|
64612
|
+
tool: async (client, args11, ctx) => {
|
|
64613
|
+
const [result, apiCall] = await datasetsDeleteDatapoint(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64903
64614
|
if (!result.ok) {
|
|
64904
64615
|
return {
|
|
64905
64616
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64913,9 +64624,9 @@ Permanently deletes a specific datapoint from a dataset.`,
|
|
|
64913
64624
|
|
|
64914
64625
|
// src/funcs/datasetsList.ts
|
|
64915
64626
|
function datasetsList(client, request, options) {
|
|
64916
|
-
return new APIPromise($
|
|
64627
|
+
return new APIPromise($do11(client, request, options));
|
|
64917
64628
|
}
|
|
64918
|
-
async function $
|
|
64629
|
+
async function $do11(client, request, options) {
|
|
64919
64630
|
const parsed = safeParse(request, (value) => ListDatasetsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
64920
64631
|
if (!parsed.ok) {
|
|
64921
64632
|
return [parsed, { status: "invalid" }];
|
|
@@ -64987,12 +64698,12 @@ var init_datasetsList = __esm(() => {
|
|
|
64987
64698
|
});
|
|
64988
64699
|
|
|
64989
64700
|
// src/mcp-server/tools/datasetsList.ts
|
|
64990
|
-
var
|
|
64701
|
+
var args11, tool$datasetsList;
|
|
64991
64702
|
var init_datasetsList2 = __esm(() => {
|
|
64992
64703
|
init_datasetsList();
|
|
64993
64704
|
init_operations();
|
|
64994
64705
|
init_tools();
|
|
64995
|
-
|
|
64706
|
+
args11 = {
|
|
64996
64707
|
request: ListDatasetsRequest$inboundSchema.optional()
|
|
64997
64708
|
};
|
|
64998
64709
|
tool$datasetsList = {
|
|
@@ -65000,9 +64711,9 @@ var init_datasetsList2 = __esm(() => {
|
|
|
65000
64711
|
description: `List datasets
|
|
65001
64712
|
|
|
65002
64713
|
Retrieves a paginated list of datasets for the current workspace. Results can be paginated using cursor-based pagination.`,
|
|
65003
|
-
args:
|
|
65004
|
-
tool: async (client,
|
|
65005
|
-
const [result, apiCall] = await datasetsList(client,
|
|
64714
|
+
args: args11,
|
|
64715
|
+
tool: async (client, args12, ctx) => {
|
|
64716
|
+
const [result, apiCall] = await datasetsList(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65006
64717
|
if (!result.ok) {
|
|
65007
64718
|
return {
|
|
65008
64719
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65017,9 +64728,9 @@ Retrieves a paginated list of datasets for the current workspace. Results can be
|
|
|
65017
64728
|
|
|
65018
64729
|
// src/funcs/datasetsListDatapoints.ts
|
|
65019
64730
|
function datasetsListDatapoints(client, request, options) {
|
|
65020
|
-
return new APIPromise($
|
|
64731
|
+
return new APIPromise($do12(client, request, options));
|
|
65021
64732
|
}
|
|
65022
|
-
async function $
|
|
64733
|
+
async function $do12(client, request, options) {
|
|
65023
64734
|
const parsed = safeParse(request, (value) => ListDatasetDatapointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65024
64735
|
if (!parsed.ok) {
|
|
65025
64736
|
return [parsed, { status: "invalid" }];
|
|
@@ -65097,12 +64808,12 @@ var init_datasetsListDatapoints = __esm(() => {
|
|
|
65097
64808
|
});
|
|
65098
64809
|
|
|
65099
64810
|
// src/mcp-server/tools/datasetsListDatapoints.ts
|
|
65100
|
-
var
|
|
64811
|
+
var args12, tool$datasetsListDatapoints;
|
|
65101
64812
|
var init_datasetsListDatapoints2 = __esm(() => {
|
|
65102
64813
|
init_datasetsListDatapoints();
|
|
65103
64814
|
init_operations();
|
|
65104
64815
|
init_tools();
|
|
65105
|
-
|
|
64816
|
+
args12 = {
|
|
65106
64817
|
request: ListDatasetDatapointsRequest$inboundSchema
|
|
65107
64818
|
};
|
|
65108
64819
|
tool$datasetsListDatapoints = {
|
|
@@ -65110,9 +64821,9 @@ var init_datasetsListDatapoints2 = __esm(() => {
|
|
|
65110
64821
|
description: `List datapoints
|
|
65111
64822
|
|
|
65112
64823
|
Retrieves a paginated list of datapoints from a specific dataset.`,
|
|
65113
|
-
args:
|
|
65114
|
-
tool: async (client,
|
|
65115
|
-
const [result, apiCall] = await datasetsListDatapoints(client,
|
|
64824
|
+
args: args12,
|
|
64825
|
+
tool: async (client, args13, ctx) => {
|
|
64826
|
+
const [result, apiCall] = await datasetsListDatapoints(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65116
64827
|
if (!result.ok) {
|
|
65117
64828
|
return {
|
|
65118
64829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65127,9 +64838,9 @@ Retrieves a paginated list of datapoints from a specific dataset.`,
|
|
|
65127
64838
|
|
|
65128
64839
|
// src/funcs/datasetsRetrieve.ts
|
|
65129
64840
|
function datasetsRetrieve(client, request, options) {
|
|
65130
|
-
return new APIPromise($
|
|
64841
|
+
return new APIPromise($do13(client, request, options));
|
|
65131
64842
|
}
|
|
65132
|
-
async function $
|
|
64843
|
+
async function $do13(client, request, options) {
|
|
65133
64844
|
const parsed = safeParse(request, (value) => RetrieveDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65134
64845
|
if (!parsed.ok) {
|
|
65135
64846
|
return [parsed, { status: "invalid" }];
|
|
@@ -65205,12 +64916,12 @@ var init_datasetsRetrieve = __esm(() => {
|
|
|
65205
64916
|
});
|
|
65206
64917
|
|
|
65207
64918
|
// src/mcp-server/tools/datasetsRetrieve.ts
|
|
65208
|
-
var
|
|
64919
|
+
var args13, tool$datasetsRetrieve;
|
|
65209
64920
|
var init_datasetsRetrieve2 = __esm(() => {
|
|
65210
64921
|
init_datasetsRetrieve();
|
|
65211
64922
|
init_operations();
|
|
65212
64923
|
init_tools();
|
|
65213
|
-
|
|
64924
|
+
args13 = {
|
|
65214
64925
|
request: RetrieveDatasetRequest$inboundSchema
|
|
65215
64926
|
};
|
|
65216
64927
|
tool$datasetsRetrieve = {
|
|
@@ -65218,9 +64929,9 @@ var init_datasetsRetrieve2 = __esm(() => {
|
|
|
65218
64929
|
description: `Retrieve a dataset
|
|
65219
64930
|
|
|
65220
64931
|
Retrieves a specific dataset by its unique identifier`,
|
|
65221
|
-
args:
|
|
65222
|
-
tool: async (client,
|
|
65223
|
-
const [result, apiCall] = await datasetsRetrieve(client,
|
|
64932
|
+
args: args13,
|
|
64933
|
+
tool: async (client, args14, ctx) => {
|
|
64934
|
+
const [result, apiCall] = await datasetsRetrieve(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65224
64935
|
if (!result.ok) {
|
|
65225
64936
|
return {
|
|
65226
64937
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65235,9 +64946,9 @@ Retrieves a specific dataset by its unique identifier`,
|
|
|
65235
64946
|
|
|
65236
64947
|
// src/funcs/datasetsRetrieveDatapoint.ts
|
|
65237
64948
|
function datasetsRetrieveDatapoint(client, request, options) {
|
|
65238
|
-
return new APIPromise($
|
|
64949
|
+
return new APIPromise($do14(client, request, options));
|
|
65239
64950
|
}
|
|
65240
|
-
async function $
|
|
64951
|
+
async function $do14(client, request, options) {
|
|
65241
64952
|
const parsed = safeParse(request, (value) => RetrieveDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65242
64953
|
if (!parsed.ok) {
|
|
65243
64954
|
return [parsed, { status: "invalid" }];
|
|
@@ -65317,12 +65028,12 @@ var init_datasetsRetrieveDatapoint = __esm(() => {
|
|
|
65317
65028
|
});
|
|
65318
65029
|
|
|
65319
65030
|
// src/mcp-server/tools/datasetsRetrieveDatapoint.ts
|
|
65320
|
-
var
|
|
65031
|
+
var args14, tool$datasetsRetrieveDatapoint;
|
|
65321
65032
|
var init_datasetsRetrieveDatapoint2 = __esm(() => {
|
|
65322
65033
|
init_datasetsRetrieveDatapoint();
|
|
65323
65034
|
init_operations();
|
|
65324
65035
|
init_tools();
|
|
65325
|
-
|
|
65036
|
+
args14 = {
|
|
65326
65037
|
request: RetrieveDatapointRequest$inboundSchema
|
|
65327
65038
|
};
|
|
65328
65039
|
tool$datasetsRetrieveDatapoint = {
|
|
@@ -65330,9 +65041,9 @@ var init_datasetsRetrieveDatapoint2 = __esm(() => {
|
|
|
65330
65041
|
description: `Retrieve a datapoint
|
|
65331
65042
|
|
|
65332
65043
|
Retrieves a datapoint object`,
|
|
65333
|
-
args:
|
|
65334
|
-
tool: async (client,
|
|
65335
|
-
const [result, apiCall] = await datasetsRetrieveDatapoint(client,
|
|
65044
|
+
args: args14,
|
|
65045
|
+
tool: async (client, args15, ctx) => {
|
|
65046
|
+
const [result, apiCall] = await datasetsRetrieveDatapoint(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65336
65047
|
if (!result.ok) {
|
|
65337
65048
|
return {
|
|
65338
65049
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65347,9 +65058,9 @@ Retrieves a datapoint object`,
|
|
|
65347
65058
|
|
|
65348
65059
|
// src/funcs/datasetsUpdate.ts
|
|
65349
65060
|
function datasetsUpdate(client, request, options) {
|
|
65350
|
-
return new APIPromise($
|
|
65061
|
+
return new APIPromise($do15(client, request, options));
|
|
65351
65062
|
}
|
|
65352
|
-
async function $
|
|
65063
|
+
async function $do15(client, request, options) {
|
|
65353
65064
|
const parsed = safeParse(request, (value) => UpdateDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65354
65065
|
if (!parsed.ok) {
|
|
65355
65066
|
return [parsed, { status: "invalid" }];
|
|
@@ -65426,12 +65137,12 @@ var init_datasetsUpdate = __esm(() => {
|
|
|
65426
65137
|
});
|
|
65427
65138
|
|
|
65428
65139
|
// src/mcp-server/tools/datasetsUpdate.ts
|
|
65429
|
-
var
|
|
65140
|
+
var args15, tool$datasetsUpdate;
|
|
65430
65141
|
var init_datasetsUpdate2 = __esm(() => {
|
|
65431
65142
|
init_datasetsUpdate();
|
|
65432
65143
|
init_operations();
|
|
65433
65144
|
init_tools();
|
|
65434
|
-
|
|
65145
|
+
args15 = {
|
|
65435
65146
|
request: UpdateDatasetRequest$inboundSchema
|
|
65436
65147
|
};
|
|
65437
65148
|
tool$datasetsUpdate = {
|
|
@@ -65439,9 +65150,9 @@ var init_datasetsUpdate2 = __esm(() => {
|
|
|
65439
65150
|
description: `Update a dataset
|
|
65440
65151
|
|
|
65441
65152
|
Update a dataset`,
|
|
65442
|
-
args:
|
|
65443
|
-
tool: async (client,
|
|
65444
|
-
const [result, apiCall] = await datasetsUpdate(client,
|
|
65153
|
+
args: args15,
|
|
65154
|
+
tool: async (client, args16, ctx) => {
|
|
65155
|
+
const [result, apiCall] = await datasetsUpdate(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65445
65156
|
if (!result.ok) {
|
|
65446
65157
|
return {
|
|
65447
65158
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65456,9 +65167,9 @@ Update a dataset`,
|
|
|
65456
65167
|
|
|
65457
65168
|
// src/funcs/datasetsUpdateDatapoint.ts
|
|
65458
65169
|
function datasetsUpdateDatapoint(client, request, options) {
|
|
65459
|
-
return new APIPromise($
|
|
65170
|
+
return new APIPromise($do16(client, request, options));
|
|
65460
65171
|
}
|
|
65461
|
-
async function $
|
|
65172
|
+
async function $do16(client, request, options) {
|
|
65462
65173
|
const parsed = safeParse(request, (value) => UpdateDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65463
65174
|
if (!parsed.ok) {
|
|
65464
65175
|
return [parsed, { status: "invalid" }];
|
|
@@ -65539,20 +65250,20 @@ var init_datasetsUpdateDatapoint = __esm(() => {
|
|
|
65539
65250
|
});
|
|
65540
65251
|
|
|
65541
65252
|
// src/mcp-server/tools/datasetsUpdateDatapoint.ts
|
|
65542
|
-
var
|
|
65253
|
+
var args16, tool$datasetsUpdateDatapoint;
|
|
65543
65254
|
var init_datasetsUpdateDatapoint2 = __esm(() => {
|
|
65544
65255
|
init_datasetsUpdateDatapoint();
|
|
65545
65256
|
init_operations();
|
|
65546
65257
|
init_tools();
|
|
65547
|
-
|
|
65258
|
+
args16 = {
|
|
65548
65259
|
request: UpdateDatapointRequest$inboundSchema
|
|
65549
65260
|
};
|
|
65550
65261
|
tool$datasetsUpdateDatapoint = {
|
|
65551
65262
|
name: "datasets-update-datapoint",
|
|
65552
65263
|
description: `Update a datapoint`,
|
|
65553
|
-
args:
|
|
65554
|
-
tool: async (client,
|
|
65555
|
-
const [result, apiCall] = await datasetsUpdateDatapoint(client,
|
|
65264
|
+
args: args16,
|
|
65265
|
+
tool: async (client, args17, ctx) => {
|
|
65266
|
+
const [result, apiCall] = await datasetsUpdateDatapoint(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65556
65267
|
if (!result.ok) {
|
|
65557
65268
|
return {
|
|
65558
65269
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65565,24 +65276,18 @@ var init_datasetsUpdateDatapoint2 = __esm(() => {
|
|
|
65565
65276
|
};
|
|
65566
65277
|
});
|
|
65567
65278
|
|
|
65568
|
-
// src/funcs/
|
|
65569
|
-
function
|
|
65570
|
-
return new APIPromise($
|
|
65279
|
+
// src/funcs/deploymentsGetConfig.ts
|
|
65280
|
+
function deploymentsGetConfig(client, request, options) {
|
|
65281
|
+
return new APIPromise($do17(client, request, options));
|
|
65571
65282
|
}
|
|
65572
|
-
async function $
|
|
65573
|
-
const parsed = safeParse(request, (value) =>
|
|
65283
|
+
async function $do17(client, request, options) {
|
|
65284
|
+
const parsed = safeParse(request, (value) => DeploymentGetConfigRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
65574
65285
|
if (!parsed.ok) {
|
|
65575
65286
|
return [parsed, { status: "invalid" }];
|
|
65576
65287
|
}
|
|
65577
65288
|
const payload = parsed.value;
|
|
65578
|
-
const body = encodeJSON("body", payload
|
|
65579
|
-
const
|
|
65580
|
-
deployment_key: encodeSimple("deployment_key", payload.deployment_key, {
|
|
65581
|
-
explode: false,
|
|
65582
|
-
charEncoding: "percent"
|
|
65583
|
-
})
|
|
65584
|
-
};
|
|
65585
|
-
const path = pathToFunc("/v2/deployments/{deployment_key}/experiment")(pathParams);
|
|
65289
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
65290
|
+
const path = pathToFunc("/v2/deployments/get_config")();
|
|
65586
65291
|
const headers = new Headers(compactMap({
|
|
65587
65292
|
"Content-Type": "application/json",
|
|
65588
65293
|
Accept: "application/json"
|
|
@@ -65593,106 +65298,7 @@ async function $do18(client, request, options) {
|
|
|
65593
65298
|
const context = {
|
|
65594
65299
|
options: client._options,
|
|
65595
65300
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65596
|
-
operationID: "
|
|
65597
|
-
oAuth2Scopes: [],
|
|
65598
|
-
resolvedSecurity: requestSecurity,
|
|
65599
|
-
securitySource: client._options.apiKey,
|
|
65600
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
65601
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
65602
|
-
};
|
|
65603
|
-
const requestRes = client._createRequest(context, {
|
|
65604
|
-
security: requestSecurity,
|
|
65605
|
-
method: "POST",
|
|
65606
|
-
baseURL: options?.serverURL,
|
|
65607
|
-
path,
|
|
65608
|
-
headers,
|
|
65609
|
-
body,
|
|
65610
|
-
userAgent: client._options.userAgent,
|
|
65611
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
65612
|
-
}, options);
|
|
65613
|
-
if (!requestRes.ok) {
|
|
65614
|
-
return [requestRes, { status: "invalid" }];
|
|
65615
|
-
}
|
|
65616
|
-
const req = requestRes.value;
|
|
65617
|
-
const doResult = await client._do(req, {
|
|
65618
|
-
context,
|
|
65619
|
-
errorCodes: ["4XX", "5XX"],
|
|
65620
|
-
retryConfig: context.retryConfig,
|
|
65621
|
-
retryCodes: context.retryCodes
|
|
65622
|
-
});
|
|
65623
|
-
if (!doResult.ok) {
|
|
65624
|
-
return [doResult, { status: "request-error", request: req }];
|
|
65625
|
-
}
|
|
65626
|
-
const response = doResult.value;
|
|
65627
|
-
const [result] = await match(json(200, CreateDeploymentExperimentResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
65628
|
-
if (!result.ok) {
|
|
65629
|
-
return [result, { status: "complete", request: req, response }];
|
|
65630
|
-
}
|
|
65631
|
-
return [result, { status: "complete", request: req, response }];
|
|
65632
|
-
}
|
|
65633
|
-
var init_deploymentsCreateExperiment = __esm(() => {
|
|
65634
|
-
init_encodings();
|
|
65635
|
-
init_matchers();
|
|
65636
|
-
init_primitives();
|
|
65637
|
-
init_schemas();
|
|
65638
|
-
init_security();
|
|
65639
|
-
init_url();
|
|
65640
|
-
init_operations();
|
|
65641
|
-
init_async();
|
|
65642
|
-
});
|
|
65643
|
-
|
|
65644
|
-
// src/mcp-server/tools/deploymentsCreateExperiment.ts
|
|
65645
|
-
var args18, tool$deploymentsCreateExperiment;
|
|
65646
|
-
var init_deploymentsCreateExperiment2 = __esm(() => {
|
|
65647
|
-
init_deploymentsCreateExperiment();
|
|
65648
|
-
init_operations();
|
|
65649
|
-
init_tools();
|
|
65650
|
-
args18 = {
|
|
65651
|
-
request: CreateDeploymentExperimentRequest$inboundSchema
|
|
65652
|
-
};
|
|
65653
|
-
tool$deploymentsCreateExperiment = {
|
|
65654
|
-
name: "deployments-create-experiment",
|
|
65655
|
-
description: `Create an experiment from a deployment
|
|
65656
|
-
|
|
65657
|
-
Create an experiment from a deployment`,
|
|
65658
|
-
args: args18,
|
|
65659
|
-
tool: async (client, args19, ctx) => {
|
|
65660
|
-
const [result, apiCall] = await deploymentsCreateExperiment(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65661
|
-
if (!result.ok) {
|
|
65662
|
-
return {
|
|
65663
|
-
content: [{ type: "text", text: result.error.message }],
|
|
65664
|
-
isError: true
|
|
65665
|
-
};
|
|
65666
|
-
}
|
|
65667
|
-
const value = result.value;
|
|
65668
|
-
return formatResult(value, apiCall);
|
|
65669
|
-
}
|
|
65670
|
-
};
|
|
65671
|
-
});
|
|
65672
|
-
|
|
65673
|
-
// src/funcs/deploymentsGetConfig.ts
|
|
65674
|
-
function deploymentsGetConfig(client, request, options) {
|
|
65675
|
-
return new APIPromise($do19(client, request, options));
|
|
65676
|
-
}
|
|
65677
|
-
async function $do19(client, request, options) {
|
|
65678
|
-
const parsed = safeParse(request, (value) => DeploymentGetConfigRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
65679
|
-
if (!parsed.ok) {
|
|
65680
|
-
return [parsed, { status: "invalid" }];
|
|
65681
|
-
}
|
|
65682
|
-
const payload = parsed.value;
|
|
65683
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
65684
|
-
const path = pathToFunc("/v2/deployments/get_config")();
|
|
65685
|
-
const headers = new Headers(compactMap({
|
|
65686
|
-
"Content-Type": "application/json",
|
|
65687
|
-
Accept: "application/json"
|
|
65688
|
-
}));
|
|
65689
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
65690
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
65691
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
65692
|
-
const context = {
|
|
65693
|
-
options: client._options,
|
|
65694
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65695
|
-
operationID: "DeploymentGetConfig",
|
|
65301
|
+
operationID: "DeploymentGetConfig",
|
|
65696
65302
|
oAuth2Scopes: [],
|
|
65697
65303
|
resolvedSecurity: requestSecurity,
|
|
65698
65304
|
securitySource: client._options.apiKey,
|
|
@@ -65741,12 +65347,12 @@ var init_deploymentsGetConfig = __esm(() => {
|
|
|
65741
65347
|
});
|
|
65742
65348
|
|
|
65743
65349
|
// src/mcp-server/tools/deploymentsGetConfig.ts
|
|
65744
|
-
var
|
|
65350
|
+
var args17, tool$deploymentsGetConfig;
|
|
65745
65351
|
var init_deploymentsGetConfig2 = __esm(() => {
|
|
65746
65352
|
init_deploymentsGetConfig();
|
|
65747
65353
|
init_operations();
|
|
65748
65354
|
init_tools();
|
|
65749
|
-
|
|
65355
|
+
args17 = {
|
|
65750
65356
|
request: DeploymentGetConfigRequestBody$inboundSchema
|
|
65751
65357
|
};
|
|
65752
65358
|
tool$deploymentsGetConfig = {
|
|
@@ -65754,9 +65360,9 @@ var init_deploymentsGetConfig2 = __esm(() => {
|
|
|
65754
65360
|
description: `Get config
|
|
65755
65361
|
|
|
65756
65362
|
Retrieve the deployment configuration`,
|
|
65757
|
-
args:
|
|
65758
|
-
tool: async (client,
|
|
65759
|
-
const [result, apiCall] = await deploymentsGetConfig(client,
|
|
65363
|
+
args: args17,
|
|
65364
|
+
tool: async (client, args18, ctx) => {
|
|
65365
|
+
const [result, apiCall] = await deploymentsGetConfig(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65760
65366
|
if (!result.ok) {
|
|
65761
65367
|
return {
|
|
65762
65368
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67551,9 +67157,9 @@ var init_components = __esm(() => {
|
|
|
67551
67157
|
|
|
67552
67158
|
// src/funcs/deploymentsInvoke.ts
|
|
67553
67159
|
function deploymentsInvoke(client, request, options) {
|
|
67554
|
-
return new APIPromise($
|
|
67160
|
+
return new APIPromise($do18(client, request, options));
|
|
67555
67161
|
}
|
|
67556
|
-
async function $
|
|
67162
|
+
async function $do18(client, request, options) {
|
|
67557
67163
|
const parsed = safeParse(request, (value) => Deployments$outboundSchema.parse(value), "Input validation failed");
|
|
67558
67164
|
if (!parsed.ok) {
|
|
67559
67165
|
return [parsed, { status: "invalid" }];
|
|
@@ -67629,12 +67235,12 @@ var init_deploymentsInvoke = __esm(() => {
|
|
|
67629
67235
|
});
|
|
67630
67236
|
|
|
67631
67237
|
// src/mcp-server/tools/deploymentsInvoke.ts
|
|
67632
|
-
var
|
|
67238
|
+
var args18, tool$deploymentsInvoke;
|
|
67633
67239
|
var init_deploymentsInvoke2 = __esm(() => {
|
|
67634
67240
|
init_deploymentsInvoke();
|
|
67635
67241
|
init_components();
|
|
67636
67242
|
init_tools();
|
|
67637
|
-
|
|
67243
|
+
args18 = {
|
|
67638
67244
|
request: Deployments$inboundSchema
|
|
67639
67245
|
};
|
|
67640
67246
|
tool$deploymentsInvoke = {
|
|
@@ -67642,9 +67248,9 @@ var init_deploymentsInvoke2 = __esm(() => {
|
|
|
67642
67248
|
description: `Invoke
|
|
67643
67249
|
|
|
67644
67250
|
Invoke a deployment with a given payload`,
|
|
67645
|
-
args:
|
|
67646
|
-
tool: async (client,
|
|
67647
|
-
const [result, apiCall] = await deploymentsInvoke(client,
|
|
67251
|
+
args: args18,
|
|
67252
|
+
tool: async (client, args19, ctx) => {
|
|
67253
|
+
const [result, apiCall] = await deploymentsInvoke(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67648
67254
|
if (!result.ok) {
|
|
67649
67255
|
return {
|
|
67650
67256
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67659,9 +67265,9 @@ Invoke a deployment with a given payload`,
|
|
|
67659
67265
|
|
|
67660
67266
|
// src/funcs/deploymentsList.ts
|
|
67661
67267
|
function deploymentsList(client, request, options) {
|
|
67662
|
-
return new APIPromise($
|
|
67268
|
+
return new APIPromise($do19(client, request, options));
|
|
67663
67269
|
}
|
|
67664
|
-
async function $
|
|
67270
|
+
async function $do19(client, request, options) {
|
|
67665
67271
|
const parsed = safeParse(request, (value) => DeploymentsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
67666
67272
|
if (!parsed.ok) {
|
|
67667
67273
|
return [parsed, { status: "invalid" }];
|
|
@@ -67737,12 +67343,12 @@ var init_deploymentsList = __esm(() => {
|
|
|
67737
67343
|
});
|
|
67738
67344
|
|
|
67739
67345
|
// src/mcp-server/tools/deploymentsList.ts
|
|
67740
|
-
var
|
|
67346
|
+
var args19, tool$deploymentsList;
|
|
67741
67347
|
var init_deploymentsList2 = __esm(() => {
|
|
67742
67348
|
init_deploymentsList();
|
|
67743
67349
|
init_operations();
|
|
67744
67350
|
init_tools();
|
|
67745
|
-
|
|
67351
|
+
args19 = {
|
|
67746
67352
|
request: DeploymentsRequest$inboundSchema.optional()
|
|
67747
67353
|
};
|
|
67748
67354
|
tool$deploymentsList = {
|
|
@@ -67750,9 +67356,9 @@ var init_deploymentsList2 = __esm(() => {
|
|
|
67750
67356
|
description: `List all deployments
|
|
67751
67357
|
|
|
67752
67358
|
Returns a list of your deployments. The deployments are returned sorted by creation date, with the most recent deployments appearing first.`,
|
|
67753
|
-
args:
|
|
67754
|
-
tool: async (client,
|
|
67755
|
-
const [result, apiCall] = await deploymentsList(client,
|
|
67359
|
+
args: args19,
|
|
67360
|
+
tool: async (client, args20, ctx) => {
|
|
67361
|
+
const [result, apiCall] = await deploymentsList(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67756
67362
|
if (!result.ok) {
|
|
67757
67363
|
return {
|
|
67758
67364
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67767,9 +67373,9 @@ Returns a list of your deployments. The deployments are returned sorted by creat
|
|
|
67767
67373
|
|
|
67768
67374
|
// src/funcs/deploymentsMetricsCreate.ts
|
|
67769
67375
|
function deploymentsMetricsCreate(client, request, options) {
|
|
67770
|
-
return new APIPromise($
|
|
67376
|
+
return new APIPromise($do20(client, request, options));
|
|
67771
67377
|
}
|
|
67772
|
-
async function $
|
|
67378
|
+
async function $do20(client, request, options) {
|
|
67773
67379
|
const parsed = safeParse(request, (value) => DeploymentCreateMetricRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67774
67380
|
if (!parsed.ok) {
|
|
67775
67381
|
return [parsed, { status: "invalid" }];
|
|
@@ -67842,12 +67448,12 @@ var init_deploymentsMetricsCreate = __esm(() => {
|
|
|
67842
67448
|
});
|
|
67843
67449
|
|
|
67844
67450
|
// src/mcp-server/tools/deploymentsMetricsCreate.ts
|
|
67845
|
-
var
|
|
67451
|
+
var args20, tool$deploymentsMetricsCreate;
|
|
67846
67452
|
var init_deploymentsMetricsCreate2 = __esm(() => {
|
|
67847
67453
|
init_deploymentsMetricsCreate();
|
|
67848
67454
|
init_operations();
|
|
67849
67455
|
init_tools();
|
|
67850
|
-
|
|
67456
|
+
args20 = {
|
|
67851
67457
|
request: DeploymentCreateMetricRequest$inboundSchema
|
|
67852
67458
|
};
|
|
67853
67459
|
tool$deploymentsMetricsCreate = {
|
|
@@ -67855,9 +67461,9 @@ var init_deploymentsMetricsCreate2 = __esm(() => {
|
|
|
67855
67461
|
description: `Add metrics
|
|
67856
67462
|
|
|
67857
67463
|
Add metrics to a deployment`,
|
|
67858
|
-
args:
|
|
67859
|
-
tool: async (client,
|
|
67860
|
-
const [result, apiCall] = await deploymentsMetricsCreate(client,
|
|
67464
|
+
args: args20,
|
|
67465
|
+
tool: async (client, args21, ctx) => {
|
|
67466
|
+
const [result, apiCall] = await deploymentsMetricsCreate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67861
67467
|
if (!result.ok) {
|
|
67862
67468
|
return {
|
|
67863
67469
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67872,9 +67478,9 @@ Add metrics to a deployment`,
|
|
|
67872
67478
|
|
|
67873
67479
|
// src/funcs/deploymentsStream.ts
|
|
67874
67480
|
function deploymentsStream(client, request, options) {
|
|
67875
|
-
return new APIPromise($
|
|
67481
|
+
return new APIPromise($do21(client, request, options));
|
|
67876
67482
|
}
|
|
67877
|
-
async function $
|
|
67483
|
+
async function $do21(client, request, options) {
|
|
67878
67484
|
const parsed = safeParse(request, (value) => DeploymentStreamRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
67879
67485
|
if (!parsed.ok) {
|
|
67880
67486
|
return [parsed, { status: "invalid" }];
|
|
@@ -67959,12 +67565,12 @@ var init_deploymentsStream = __esm(() => {
|
|
|
67959
67565
|
});
|
|
67960
67566
|
|
|
67961
67567
|
// src/mcp-server/tools/deploymentsStream.ts
|
|
67962
|
-
var
|
|
67568
|
+
var args21, tool$deploymentsStream;
|
|
67963
67569
|
var init_deploymentsStream2 = __esm(() => {
|
|
67964
67570
|
init_deploymentsStream();
|
|
67965
67571
|
init_operations();
|
|
67966
67572
|
init_tools();
|
|
67967
|
-
|
|
67573
|
+
args21 = {
|
|
67968
67574
|
request: DeploymentStreamRequestBody$inboundSchema
|
|
67969
67575
|
};
|
|
67970
67576
|
tool$deploymentsStream = {
|
|
@@ -67972,9 +67578,9 @@ var init_deploymentsStream2 = __esm(() => {
|
|
|
67972
67578
|
description: `Stream
|
|
67973
67579
|
|
|
67974
67580
|
Stream deployment generation. Only supported for completions and chat completions.`,
|
|
67975
|
-
args:
|
|
67976
|
-
tool: async (client,
|
|
67977
|
-
const [result, apiCall] = await deploymentsStream(client,
|
|
67581
|
+
args: args21,
|
|
67582
|
+
tool: async (client, args22, ctx) => {
|
|
67583
|
+
const [result, apiCall] = await deploymentsStream(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67978
67584
|
if (!result.ok) {
|
|
67979
67585
|
return {
|
|
67980
67586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67989,9 +67595,9 @@ Stream deployment generation. Only supported for completions and chat completion
|
|
|
67989
67595
|
|
|
67990
67596
|
// src/funcs/evalsAgeAppropriate.ts
|
|
67991
67597
|
function evalsAgeAppropriate(client, request, options) {
|
|
67992
|
-
return new APIPromise($
|
|
67598
|
+
return new APIPromise($do22(client, request, options));
|
|
67993
67599
|
}
|
|
67994
|
-
async function $
|
|
67600
|
+
async function $do22(client, request, options) {
|
|
67995
67601
|
const parsed = safeParse(request, (value) => EvalsAgeAppropriateRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
67996
67602
|
if (!parsed.ok) {
|
|
67997
67603
|
return [parsed, { status: "invalid" }];
|
|
@@ -68062,20 +67668,20 @@ var init_evalsAgeAppropriate = __esm(() => {
|
|
|
68062
67668
|
});
|
|
68063
67669
|
|
|
68064
67670
|
// src/mcp-server/tools/evalsAgeAppropriate.ts
|
|
68065
|
-
var
|
|
67671
|
+
var args22, tool$evalsAgeAppropriate;
|
|
68066
67672
|
var init_evalsAgeAppropriate2 = __esm(() => {
|
|
68067
67673
|
init_evalsAgeAppropriate();
|
|
68068
67674
|
init_operations();
|
|
68069
67675
|
init_tools();
|
|
68070
|
-
|
|
67676
|
+
args22 = {
|
|
68071
67677
|
request: EvalsAgeAppropriateRequestBody$inboundSchema.optional()
|
|
68072
67678
|
};
|
|
68073
67679
|
tool$evalsAgeAppropriate = {
|
|
68074
67680
|
name: "evals-age-appropriate",
|
|
68075
67681
|
description: `Run Age Appropriate Evaluator`,
|
|
68076
|
-
args:
|
|
68077
|
-
tool: async (client,
|
|
68078
|
-
const [result, apiCall] = await evalsAgeAppropriate(client,
|
|
67682
|
+
args: args22,
|
|
67683
|
+
tool: async (client, args23, ctx) => {
|
|
67684
|
+
const [result, apiCall] = await evalsAgeAppropriate(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68079
67685
|
if (!result.ok) {
|
|
68080
67686
|
return {
|
|
68081
67687
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68090,9 +67696,9 @@ var init_evalsAgeAppropriate2 = __esm(() => {
|
|
|
68090
67696
|
|
|
68091
67697
|
// src/funcs/evalsAll.ts
|
|
68092
67698
|
function evalsAll(client, request, options) {
|
|
68093
|
-
return new APIPromise($
|
|
67699
|
+
return new APIPromise($do23(client, request, options));
|
|
68094
67700
|
}
|
|
68095
|
-
async function $
|
|
67701
|
+
async function $do23(client, request, options) {
|
|
68096
67702
|
const parsed = safeParse(request, (value) => GetEvalsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68097
67703
|
if (!parsed.ok) {
|
|
68098
67704
|
return [parsed, { status: "invalid" }];
|
|
@@ -68168,20 +67774,20 @@ var init_evalsAll = __esm(() => {
|
|
|
68168
67774
|
});
|
|
68169
67775
|
|
|
68170
67776
|
// src/mcp-server/tools/evalsAll.ts
|
|
68171
|
-
var
|
|
67777
|
+
var args23, tool$evalsAll;
|
|
68172
67778
|
var init_evalsAll2 = __esm(() => {
|
|
68173
67779
|
init_evalsAll();
|
|
68174
67780
|
init_operations();
|
|
68175
67781
|
init_tools();
|
|
68176
|
-
|
|
67782
|
+
args23 = {
|
|
68177
67783
|
request: GetEvalsRequest$inboundSchema.optional()
|
|
68178
67784
|
};
|
|
68179
67785
|
tool$evalsAll = {
|
|
68180
67786
|
name: "evals-all",
|
|
68181
67787
|
description: `Get all Evaluators`,
|
|
68182
|
-
args:
|
|
68183
|
-
tool: async (client,
|
|
68184
|
-
const [result, apiCall] = await evalsAll(client,
|
|
67788
|
+
args: args23,
|
|
67789
|
+
tool: async (client, args24, ctx) => {
|
|
67790
|
+
const [result, apiCall] = await evalsAll(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68185
67791
|
if (!result.ok) {
|
|
68186
67792
|
return {
|
|
68187
67793
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68196,9 +67802,9 @@ var init_evalsAll2 = __esm(() => {
|
|
|
68196
67802
|
|
|
68197
67803
|
// src/funcs/evalsBertScore.ts
|
|
68198
67804
|
function evalsBertScore(client, request, options) {
|
|
68199
|
-
return new APIPromise($
|
|
67805
|
+
return new APIPromise($do24(client, request, options));
|
|
68200
67806
|
}
|
|
68201
|
-
async function $
|
|
67807
|
+
async function $do24(client, request, options) {
|
|
68202
67808
|
const parsed = safeParse(request, (value) => EvalsBertScoreRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68203
67809
|
if (!parsed.ok) {
|
|
68204
67810
|
return [parsed, { status: "invalid" }];
|
|
@@ -68269,20 +67875,20 @@ var init_evalsBertScore = __esm(() => {
|
|
|
68269
67875
|
});
|
|
68270
67876
|
|
|
68271
67877
|
// src/mcp-server/tools/evalsBertScore.ts
|
|
68272
|
-
var
|
|
67878
|
+
var args24, tool$evalsBertScore;
|
|
68273
67879
|
var init_evalsBertScore2 = __esm(() => {
|
|
68274
67880
|
init_evalsBertScore();
|
|
68275
67881
|
init_operations();
|
|
68276
67882
|
init_tools();
|
|
68277
|
-
|
|
67883
|
+
args24 = {
|
|
68278
67884
|
request: EvalsBertScoreRequestBody$inboundSchema.optional()
|
|
68279
67885
|
};
|
|
68280
67886
|
tool$evalsBertScore = {
|
|
68281
67887
|
name: "evals-bert-score",
|
|
68282
67888
|
description: `Run BertScore Evaluator`,
|
|
68283
|
-
args:
|
|
68284
|
-
tool: async (client,
|
|
68285
|
-
const [result, apiCall] = await evalsBertScore(client,
|
|
67889
|
+
args: args24,
|
|
67890
|
+
tool: async (client, args25, ctx) => {
|
|
67891
|
+
const [result, apiCall] = await evalsBertScore(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68286
67892
|
if (!result.ok) {
|
|
68287
67893
|
return {
|
|
68288
67894
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68297,9 +67903,9 @@ var init_evalsBertScore2 = __esm(() => {
|
|
|
68297
67903
|
|
|
68298
67904
|
// src/funcs/evalsBleuScore.ts
|
|
68299
67905
|
function evalsBleuScore(client, request, options) {
|
|
68300
|
-
return new APIPromise($
|
|
67906
|
+
return new APIPromise($do25(client, request, options));
|
|
68301
67907
|
}
|
|
68302
|
-
async function $
|
|
67908
|
+
async function $do25(client, request, options) {
|
|
68303
67909
|
const parsed = safeParse(request, (value) => EvalsBleuScoreRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68304
67910
|
if (!parsed.ok) {
|
|
68305
67911
|
return [parsed, { status: "invalid" }];
|
|
@@ -68370,20 +67976,20 @@ var init_evalsBleuScore = __esm(() => {
|
|
|
68370
67976
|
});
|
|
68371
67977
|
|
|
68372
67978
|
// src/mcp-server/tools/evalsBleuScore.ts
|
|
68373
|
-
var
|
|
67979
|
+
var args25, tool$evalsBleuScore;
|
|
68374
67980
|
var init_evalsBleuScore2 = __esm(() => {
|
|
68375
67981
|
init_evalsBleuScore();
|
|
68376
67982
|
init_operations();
|
|
68377
67983
|
init_tools();
|
|
68378
|
-
|
|
67984
|
+
args25 = {
|
|
68379
67985
|
request: EvalsBleuScoreRequestBody$inboundSchema.optional()
|
|
68380
67986
|
};
|
|
68381
67987
|
tool$evalsBleuScore = {
|
|
68382
67988
|
name: "evals-bleu-score",
|
|
68383
67989
|
description: `Run BLEU Score Evaluator`,
|
|
68384
|
-
args:
|
|
68385
|
-
tool: async (client,
|
|
68386
|
-
const [result, apiCall] = await evalsBleuScore(client,
|
|
67990
|
+
args: args25,
|
|
67991
|
+
tool: async (client, args26, ctx) => {
|
|
67992
|
+
const [result, apiCall] = await evalsBleuScore(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68387
67993
|
if (!result.ok) {
|
|
68388
67994
|
return {
|
|
68389
67995
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68398,9 +68004,9 @@ var init_evalsBleuScore2 = __esm(() => {
|
|
|
68398
68004
|
|
|
68399
68005
|
// src/funcs/evalsBotDetection.ts
|
|
68400
68006
|
function evalsBotDetection(client, request, options) {
|
|
68401
|
-
return new APIPromise($
|
|
68007
|
+
return new APIPromise($do26(client, request, options));
|
|
68402
68008
|
}
|
|
68403
|
-
async function $
|
|
68009
|
+
async function $do26(client, request, options) {
|
|
68404
68010
|
const parsed = safeParse(request, (value) => EvalsBotDetectionRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68405
68011
|
if (!parsed.ok) {
|
|
68406
68012
|
return [parsed, { status: "invalid" }];
|
|
@@ -68471,20 +68077,20 @@ var init_evalsBotDetection = __esm(() => {
|
|
|
68471
68077
|
});
|
|
68472
68078
|
|
|
68473
68079
|
// src/mcp-server/tools/evalsBotDetection.ts
|
|
68474
|
-
var
|
|
68080
|
+
var args26, tool$evalsBotDetection;
|
|
68475
68081
|
var init_evalsBotDetection2 = __esm(() => {
|
|
68476
68082
|
init_evalsBotDetection();
|
|
68477
68083
|
init_operations();
|
|
68478
68084
|
init_tools();
|
|
68479
|
-
|
|
68085
|
+
args26 = {
|
|
68480
68086
|
request: EvalsBotDetectionRequestBody$inboundSchema.optional()
|
|
68481
68087
|
};
|
|
68482
68088
|
tool$evalsBotDetection = {
|
|
68483
68089
|
name: "evals-bot-detection",
|
|
68484
68090
|
description: `Run Bot Detection Evaluator`,
|
|
68485
|
-
args:
|
|
68486
|
-
tool: async (client,
|
|
68487
|
-
const [result, apiCall] = await evalsBotDetection(client,
|
|
68091
|
+
args: args26,
|
|
68092
|
+
tool: async (client, args27, ctx) => {
|
|
68093
|
+
const [result, apiCall] = await evalsBotDetection(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68488
68094
|
if (!result.ok) {
|
|
68489
68095
|
return {
|
|
68490
68096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68499,9 +68105,9 @@ var init_evalsBotDetection2 = __esm(() => {
|
|
|
68499
68105
|
|
|
68500
68106
|
// src/funcs/evalsContains.ts
|
|
68501
68107
|
function evalsContains(client, request, options) {
|
|
68502
|
-
return new APIPromise($
|
|
68108
|
+
return new APIPromise($do27(client, request, options));
|
|
68503
68109
|
}
|
|
68504
|
-
async function $
|
|
68110
|
+
async function $do27(client, request, options) {
|
|
68505
68111
|
const parsed = safeParse(request, (value) => EvalsContainsRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68506
68112
|
if (!parsed.ok) {
|
|
68507
68113
|
return [parsed, { status: "invalid" }];
|
|
@@ -68572,20 +68178,20 @@ var init_evalsContains = __esm(() => {
|
|
|
68572
68178
|
});
|
|
68573
68179
|
|
|
68574
68180
|
// src/mcp-server/tools/evalsContains.ts
|
|
68575
|
-
var
|
|
68181
|
+
var args27, tool$evalsContains;
|
|
68576
68182
|
var init_evalsContains2 = __esm(() => {
|
|
68577
68183
|
init_evalsContains();
|
|
68578
68184
|
init_operations();
|
|
68579
68185
|
init_tools();
|
|
68580
|
-
|
|
68186
|
+
args27 = {
|
|
68581
68187
|
request: EvalsContainsRequestBody$inboundSchema.optional()
|
|
68582
68188
|
};
|
|
68583
68189
|
tool$evalsContains = {
|
|
68584
68190
|
name: "evals-contains",
|
|
68585
68191
|
description: `Run Contains Evaluator`,
|
|
68586
|
-
args:
|
|
68587
|
-
tool: async (client,
|
|
68588
|
-
const [result, apiCall] = await evalsContains(client,
|
|
68192
|
+
args: args27,
|
|
68193
|
+
tool: async (client, args28, ctx) => {
|
|
68194
|
+
const [result, apiCall] = await evalsContains(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68589
68195
|
if (!result.ok) {
|
|
68590
68196
|
return {
|
|
68591
68197
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68600,9 +68206,9 @@ var init_evalsContains2 = __esm(() => {
|
|
|
68600
68206
|
|
|
68601
68207
|
// src/funcs/evalsContainsAll.ts
|
|
68602
68208
|
function evalsContainsAll(client, request, options) {
|
|
68603
|
-
return new APIPromise($
|
|
68209
|
+
return new APIPromise($do28(client, request, options));
|
|
68604
68210
|
}
|
|
68605
|
-
async function $
|
|
68211
|
+
async function $do28(client, request, options) {
|
|
68606
68212
|
const parsed = safeParse(request, (value) => EvalsContainsAllRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68607
68213
|
if (!parsed.ok) {
|
|
68608
68214
|
return [parsed, { status: "invalid" }];
|
|
@@ -68673,20 +68279,20 @@ var init_evalsContainsAll = __esm(() => {
|
|
|
68673
68279
|
});
|
|
68674
68280
|
|
|
68675
68281
|
// src/mcp-server/tools/evalsContainsAll.ts
|
|
68676
|
-
var
|
|
68282
|
+
var args28, tool$evalsContainsAll;
|
|
68677
68283
|
var init_evalsContainsAll2 = __esm(() => {
|
|
68678
68284
|
init_evalsContainsAll();
|
|
68679
68285
|
init_operations();
|
|
68680
68286
|
init_tools();
|
|
68681
|
-
|
|
68287
|
+
args28 = {
|
|
68682
68288
|
request: EvalsContainsAllRequestBody$inboundSchema.optional()
|
|
68683
68289
|
};
|
|
68684
68290
|
tool$evalsContainsAll = {
|
|
68685
68291
|
name: "evals-contains-all",
|
|
68686
68292
|
description: `Run Contains All Evaluator`,
|
|
68687
|
-
args:
|
|
68688
|
-
tool: async (client,
|
|
68689
|
-
const [result, apiCall] = await evalsContainsAll(client,
|
|
68293
|
+
args: args28,
|
|
68294
|
+
tool: async (client, args29, ctx) => {
|
|
68295
|
+
const [result, apiCall] = await evalsContainsAll(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68690
68296
|
if (!result.ok) {
|
|
68691
68297
|
return {
|
|
68692
68298
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68701,9 +68307,9 @@ var init_evalsContainsAll2 = __esm(() => {
|
|
|
68701
68307
|
|
|
68702
68308
|
// src/funcs/evalsContainsAny.ts
|
|
68703
68309
|
function evalsContainsAny(client, request, options) {
|
|
68704
|
-
return new APIPromise($
|
|
68310
|
+
return new APIPromise($do29(client, request, options));
|
|
68705
68311
|
}
|
|
68706
|
-
async function $
|
|
68312
|
+
async function $do29(client, request, options) {
|
|
68707
68313
|
const parsed = safeParse(request, (value) => EvalsContainsAnyRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68708
68314
|
if (!parsed.ok) {
|
|
68709
68315
|
return [parsed, { status: "invalid" }];
|
|
@@ -68774,20 +68380,20 @@ var init_evalsContainsAny = __esm(() => {
|
|
|
68774
68380
|
});
|
|
68775
68381
|
|
|
68776
68382
|
// src/mcp-server/tools/evalsContainsAny.ts
|
|
68777
|
-
var
|
|
68383
|
+
var args29, tool$evalsContainsAny;
|
|
68778
68384
|
var init_evalsContainsAny2 = __esm(() => {
|
|
68779
68385
|
init_evalsContainsAny();
|
|
68780
68386
|
init_operations();
|
|
68781
68387
|
init_tools();
|
|
68782
|
-
|
|
68388
|
+
args29 = {
|
|
68783
68389
|
request: EvalsContainsAnyRequestBody$inboundSchema.optional()
|
|
68784
68390
|
};
|
|
68785
68391
|
tool$evalsContainsAny = {
|
|
68786
68392
|
name: "evals-contains-any",
|
|
68787
68393
|
description: `Run Contains Any Evaluator`,
|
|
68788
|
-
args:
|
|
68789
|
-
tool: async (client,
|
|
68790
|
-
const [result, apiCall] = await evalsContainsAny(client,
|
|
68394
|
+
args: args29,
|
|
68395
|
+
tool: async (client, args30, ctx) => {
|
|
68396
|
+
const [result, apiCall] = await evalsContainsAny(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68791
68397
|
if (!result.ok) {
|
|
68792
68398
|
return {
|
|
68793
68399
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68802,9 +68408,9 @@ var init_evalsContainsAny2 = __esm(() => {
|
|
|
68802
68408
|
|
|
68803
68409
|
// src/funcs/evalsContainsEmail.ts
|
|
68804
68410
|
function evalsContainsEmail(client, request, options) {
|
|
68805
|
-
return new APIPromise($
|
|
68411
|
+
return new APIPromise($do30(client, request, options));
|
|
68806
68412
|
}
|
|
68807
|
-
async function $
|
|
68413
|
+
async function $do30(client, request, options) {
|
|
68808
68414
|
const parsed = safeParse(request, (value) => EvalsContainsEmailRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68809
68415
|
if (!parsed.ok) {
|
|
68810
68416
|
return [parsed, { status: "invalid" }];
|
|
@@ -68875,20 +68481,20 @@ var init_evalsContainsEmail = __esm(() => {
|
|
|
68875
68481
|
});
|
|
68876
68482
|
|
|
68877
68483
|
// src/mcp-server/tools/evalsContainsEmail.ts
|
|
68878
|
-
var
|
|
68484
|
+
var args30, tool$evalsContainsEmail;
|
|
68879
68485
|
var init_evalsContainsEmail2 = __esm(() => {
|
|
68880
68486
|
init_evalsContainsEmail();
|
|
68881
68487
|
init_operations();
|
|
68882
68488
|
init_tools();
|
|
68883
|
-
|
|
68489
|
+
args30 = {
|
|
68884
68490
|
request: EvalsContainsEmailRequestBody$inboundSchema.optional()
|
|
68885
68491
|
};
|
|
68886
68492
|
tool$evalsContainsEmail = {
|
|
68887
68493
|
name: "evals-contains-email",
|
|
68888
68494
|
description: `Run Contains Email Evaluator`,
|
|
68889
|
-
args:
|
|
68890
|
-
tool: async (client,
|
|
68891
|
-
const [result, apiCall] = await evalsContainsEmail(client,
|
|
68495
|
+
args: args30,
|
|
68496
|
+
tool: async (client, args31, ctx) => {
|
|
68497
|
+
const [result, apiCall] = await evalsContainsEmail(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68892
68498
|
if (!result.ok) {
|
|
68893
68499
|
return {
|
|
68894
68500
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68903,9 +68509,9 @@ var init_evalsContainsEmail2 = __esm(() => {
|
|
|
68903
68509
|
|
|
68904
68510
|
// src/funcs/evalsContainsNone.ts
|
|
68905
68511
|
function evalsContainsNone(client, request, options) {
|
|
68906
|
-
return new APIPromise($
|
|
68512
|
+
return new APIPromise($do31(client, request, options));
|
|
68907
68513
|
}
|
|
68908
|
-
async function $
|
|
68514
|
+
async function $do31(client, request, options) {
|
|
68909
68515
|
const parsed = safeParse(request, (value) => EvalsContainsNoneRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68910
68516
|
if (!parsed.ok) {
|
|
68911
68517
|
return [parsed, { status: "invalid" }];
|
|
@@ -68976,20 +68582,20 @@ var init_evalsContainsNone = __esm(() => {
|
|
|
68976
68582
|
});
|
|
68977
68583
|
|
|
68978
68584
|
// src/mcp-server/tools/evalsContainsNone.ts
|
|
68979
|
-
var
|
|
68585
|
+
var args31, tool$evalsContainsNone;
|
|
68980
68586
|
var init_evalsContainsNone2 = __esm(() => {
|
|
68981
68587
|
init_evalsContainsNone();
|
|
68982
68588
|
init_operations();
|
|
68983
68589
|
init_tools();
|
|
68984
|
-
|
|
68590
|
+
args31 = {
|
|
68985
68591
|
request: EvalsContainsNoneRequestBody$inboundSchema.optional()
|
|
68986
68592
|
};
|
|
68987
68593
|
tool$evalsContainsNone = {
|
|
68988
68594
|
name: "evals-contains-none",
|
|
68989
68595
|
description: `Run Contains None Evaluator`,
|
|
68990
|
-
args:
|
|
68991
|
-
tool: async (client,
|
|
68992
|
-
const [result, apiCall] = await evalsContainsNone(client,
|
|
68596
|
+
args: args31,
|
|
68597
|
+
tool: async (client, args32, ctx) => {
|
|
68598
|
+
const [result, apiCall] = await evalsContainsNone(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68993
68599
|
if (!result.ok) {
|
|
68994
68600
|
return {
|
|
68995
68601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69004,9 +68610,9 @@ var init_evalsContainsNone2 = __esm(() => {
|
|
|
69004
68610
|
|
|
69005
68611
|
// src/funcs/evalsContainsUrl.ts
|
|
69006
68612
|
function evalsContainsUrl(client, request, options) {
|
|
69007
|
-
return new APIPromise($
|
|
68613
|
+
return new APIPromise($do32(client, request, options));
|
|
69008
68614
|
}
|
|
69009
|
-
async function $
|
|
68615
|
+
async function $do32(client, request, options) {
|
|
69010
68616
|
const parsed = safeParse(request, (value) => EvalsContainsUrlRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69011
68617
|
if (!parsed.ok) {
|
|
69012
68618
|
return [parsed, { status: "invalid" }];
|
|
@@ -69077,20 +68683,20 @@ var init_evalsContainsUrl = __esm(() => {
|
|
|
69077
68683
|
});
|
|
69078
68684
|
|
|
69079
68685
|
// src/mcp-server/tools/evalsContainsUrl.ts
|
|
69080
|
-
var
|
|
68686
|
+
var args32, tool$evalsContainsUrl;
|
|
69081
68687
|
var init_evalsContainsUrl2 = __esm(() => {
|
|
69082
68688
|
init_evalsContainsUrl();
|
|
69083
68689
|
init_operations();
|
|
69084
68690
|
init_tools();
|
|
69085
|
-
|
|
68691
|
+
args32 = {
|
|
69086
68692
|
request: EvalsContainsUrlRequestBody$inboundSchema.optional()
|
|
69087
68693
|
};
|
|
69088
68694
|
tool$evalsContainsUrl = {
|
|
69089
68695
|
name: "evals-contains-url",
|
|
69090
68696
|
description: `Run Contains URL Evaluator`,
|
|
69091
|
-
args:
|
|
69092
|
-
tool: async (client,
|
|
69093
|
-
const [result, apiCall] = await evalsContainsUrl(client,
|
|
68697
|
+
args: args32,
|
|
68698
|
+
tool: async (client, args33, ctx) => {
|
|
68699
|
+
const [result, apiCall] = await evalsContainsUrl(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69094
68700
|
if (!result.ok) {
|
|
69095
68701
|
return {
|
|
69096
68702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69105,9 +68711,9 @@ var init_evalsContainsUrl2 = __esm(() => {
|
|
|
69105
68711
|
|
|
69106
68712
|
// src/funcs/evalsContainsValidLink.ts
|
|
69107
68713
|
function evalsContainsValidLink(client, request, options) {
|
|
69108
|
-
return new APIPromise($
|
|
68714
|
+
return new APIPromise($do33(client, request, options));
|
|
69109
68715
|
}
|
|
69110
|
-
async function $
|
|
68716
|
+
async function $do33(client, request, options) {
|
|
69111
68717
|
const parsed = safeParse(request, (value) => EvalsContainsValidLinkRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69112
68718
|
if (!parsed.ok) {
|
|
69113
68719
|
return [parsed, { status: "invalid" }];
|
|
@@ -69178,20 +68784,20 @@ var init_evalsContainsValidLink = __esm(() => {
|
|
|
69178
68784
|
});
|
|
69179
68785
|
|
|
69180
68786
|
// src/mcp-server/tools/evalsContainsValidLink.ts
|
|
69181
|
-
var
|
|
68787
|
+
var args33, tool$evalsContainsValidLink;
|
|
69182
68788
|
var init_evalsContainsValidLink2 = __esm(() => {
|
|
69183
68789
|
init_evalsContainsValidLink();
|
|
69184
68790
|
init_operations();
|
|
69185
68791
|
init_tools();
|
|
69186
|
-
|
|
68792
|
+
args33 = {
|
|
69187
68793
|
request: EvalsContainsValidLinkRequestBody$inboundSchema.optional()
|
|
69188
68794
|
};
|
|
69189
68795
|
tool$evalsContainsValidLink = {
|
|
69190
68796
|
name: "evals-contains-valid-link",
|
|
69191
68797
|
description: `Run Contains Valid Link Evaluator`,
|
|
69192
|
-
args:
|
|
69193
|
-
tool: async (client,
|
|
69194
|
-
const [result, apiCall] = await evalsContainsValidLink(client,
|
|
68798
|
+
args: args33,
|
|
68799
|
+
tool: async (client, args34, ctx) => {
|
|
68800
|
+
const [result, apiCall] = await evalsContainsValidLink(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69195
68801
|
if (!result.ok) {
|
|
69196
68802
|
return {
|
|
69197
68803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69206,9 +68812,9 @@ var init_evalsContainsValidLink2 = __esm(() => {
|
|
|
69206
68812
|
|
|
69207
68813
|
// src/funcs/evalsCreate.ts
|
|
69208
68814
|
function evalsCreate(client, request, options) {
|
|
69209
|
-
return new APIPromise($
|
|
68815
|
+
return new APIPromise($do34(client, request, options));
|
|
69210
68816
|
}
|
|
69211
|
-
async function $
|
|
68817
|
+
async function $do34(client, request, options) {
|
|
69212
68818
|
const parsed = safeParse(request, (value) => CreateEvalRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69213
68819
|
if (!parsed.ok) {
|
|
69214
68820
|
return [parsed, { status: "invalid" }];
|
|
@@ -69279,20 +68885,20 @@ var init_evalsCreate = __esm(() => {
|
|
|
69279
68885
|
});
|
|
69280
68886
|
|
|
69281
68887
|
// src/mcp-server/tools/evalsCreate.ts
|
|
69282
|
-
var
|
|
68888
|
+
var args34, tool$evalsCreate;
|
|
69283
68889
|
var init_evalsCreate2 = __esm(() => {
|
|
69284
68890
|
init_evalsCreate();
|
|
69285
68891
|
init_operations();
|
|
69286
68892
|
init_tools();
|
|
69287
|
-
|
|
68893
|
+
args34 = {
|
|
69288
68894
|
request: CreateEvalRequestBody$inboundSchema.optional()
|
|
69289
68895
|
};
|
|
69290
68896
|
tool$evalsCreate = {
|
|
69291
68897
|
name: "evals-create",
|
|
69292
68898
|
description: `Create an Evaluator`,
|
|
69293
|
-
args:
|
|
69294
|
-
tool: async (client,
|
|
69295
|
-
const [result, apiCall] = await evalsCreate(client,
|
|
68899
|
+
args: args34,
|
|
68900
|
+
tool: async (client, args35, ctx) => {
|
|
68901
|
+
const [result, apiCall] = await evalsCreate(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69296
68902
|
if (!result.ok) {
|
|
69297
68903
|
return {
|
|
69298
68904
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69307,9 +68913,9 @@ var init_evalsCreate2 = __esm(() => {
|
|
|
69307
68913
|
|
|
69308
68914
|
// src/funcs/evalsDelete.ts
|
|
69309
68915
|
function evalsDelete(client, request, options) {
|
|
69310
|
-
return new APIPromise($
|
|
68916
|
+
return new APIPromise($do35(client, request, options));
|
|
69311
68917
|
}
|
|
69312
|
-
async function $
|
|
68918
|
+
async function $do35(client, request, options) {
|
|
69313
68919
|
const parsed = safeParse(request, (value) => DeleteEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69314
68920
|
if (!parsed.ok) {
|
|
69315
68921
|
return [parsed, { status: "invalid" }];
|
|
@@ -69386,20 +68992,20 @@ var init_evalsDelete = __esm(() => {
|
|
|
69386
68992
|
});
|
|
69387
68993
|
|
|
69388
68994
|
// src/mcp-server/tools/evalsDelete.ts
|
|
69389
|
-
var
|
|
68995
|
+
var args35, tool$evalsDelete;
|
|
69390
68996
|
var init_evalsDelete2 = __esm(() => {
|
|
69391
68997
|
init_evalsDelete();
|
|
69392
68998
|
init_operations();
|
|
69393
68999
|
init_tools();
|
|
69394
|
-
|
|
69000
|
+
args35 = {
|
|
69395
69001
|
request: DeleteEvalRequest$inboundSchema
|
|
69396
69002
|
};
|
|
69397
69003
|
tool$evalsDelete = {
|
|
69398
69004
|
name: "evals-delete",
|
|
69399
69005
|
description: `Delete an Evaluator`,
|
|
69400
|
-
args:
|
|
69401
|
-
tool: async (client,
|
|
69402
|
-
const [result, apiCall] = await evalsDelete(client,
|
|
69006
|
+
args: args35,
|
|
69007
|
+
tool: async (client, args36, ctx) => {
|
|
69008
|
+
const [result, apiCall] = await evalsDelete(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69403
69009
|
if (!result.ok) {
|
|
69404
69010
|
return {
|
|
69405
69011
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69413,9 +69019,9 @@ var init_evalsDelete2 = __esm(() => {
|
|
|
69413
69019
|
|
|
69414
69020
|
// src/funcs/evalsEndsWith.ts
|
|
69415
69021
|
function evalsEndsWith(client, request, options) {
|
|
69416
|
-
return new APIPromise($
|
|
69022
|
+
return new APIPromise($do36(client, request, options));
|
|
69417
69023
|
}
|
|
69418
|
-
async function $
|
|
69024
|
+
async function $do36(client, request, options) {
|
|
69419
69025
|
const parsed = safeParse(request, (value) => EvalsEndsWithRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69420
69026
|
if (!parsed.ok) {
|
|
69421
69027
|
return [parsed, { status: "invalid" }];
|
|
@@ -69486,20 +69092,20 @@ var init_evalsEndsWith = __esm(() => {
|
|
|
69486
69092
|
});
|
|
69487
69093
|
|
|
69488
69094
|
// src/mcp-server/tools/evalsEndsWith.ts
|
|
69489
|
-
var
|
|
69095
|
+
var args36, tool$evalsEndsWith;
|
|
69490
69096
|
var init_evalsEndsWith2 = __esm(() => {
|
|
69491
69097
|
init_evalsEndsWith();
|
|
69492
69098
|
init_operations();
|
|
69493
69099
|
init_tools();
|
|
69494
|
-
|
|
69100
|
+
args36 = {
|
|
69495
69101
|
request: EvalsEndsWithRequestBody$inboundSchema.optional()
|
|
69496
69102
|
};
|
|
69497
69103
|
tool$evalsEndsWith = {
|
|
69498
69104
|
name: "evals-ends-with",
|
|
69499
69105
|
description: `Run Ends With Evaluator`,
|
|
69500
|
-
args:
|
|
69501
|
-
tool: async (client,
|
|
69502
|
-
const [result, apiCall] = await evalsEndsWith(client,
|
|
69106
|
+
args: args36,
|
|
69107
|
+
tool: async (client, args37, ctx) => {
|
|
69108
|
+
const [result, apiCall] = await evalsEndsWith(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69503
69109
|
if (!result.ok) {
|
|
69504
69110
|
return {
|
|
69505
69111
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69514,9 +69120,9 @@ var init_evalsEndsWith2 = __esm(() => {
|
|
|
69514
69120
|
|
|
69515
69121
|
// src/funcs/evalsExactMatch.ts
|
|
69516
69122
|
function evalsExactMatch(client, request, options) {
|
|
69517
|
-
return new APIPromise($
|
|
69123
|
+
return new APIPromise($do37(client, request, options));
|
|
69518
69124
|
}
|
|
69519
|
-
async function $
|
|
69125
|
+
async function $do37(client, request, options) {
|
|
69520
69126
|
const parsed = safeParse(request, (value) => EvalsExactMatchRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69521
69127
|
if (!parsed.ok) {
|
|
69522
69128
|
return [parsed, { status: "invalid" }];
|
|
@@ -69587,20 +69193,20 @@ var init_evalsExactMatch = __esm(() => {
|
|
|
69587
69193
|
});
|
|
69588
69194
|
|
|
69589
69195
|
// src/mcp-server/tools/evalsExactMatch.ts
|
|
69590
|
-
var
|
|
69196
|
+
var args37, tool$evalsExactMatch;
|
|
69591
69197
|
var init_evalsExactMatch2 = __esm(() => {
|
|
69592
69198
|
init_evalsExactMatch();
|
|
69593
69199
|
init_operations();
|
|
69594
69200
|
init_tools();
|
|
69595
|
-
|
|
69201
|
+
args37 = {
|
|
69596
69202
|
request: EvalsExactMatchRequestBody$inboundSchema.optional()
|
|
69597
69203
|
};
|
|
69598
69204
|
tool$evalsExactMatch = {
|
|
69599
69205
|
name: "evals-exact-match",
|
|
69600
69206
|
description: `Run Exact Match Evaluator`,
|
|
69601
|
-
args:
|
|
69602
|
-
tool: async (client,
|
|
69603
|
-
const [result, apiCall] = await evalsExactMatch(client,
|
|
69207
|
+
args: args37,
|
|
69208
|
+
tool: async (client, args38, ctx) => {
|
|
69209
|
+
const [result, apiCall] = await evalsExactMatch(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69604
69210
|
if (!result.ok) {
|
|
69605
69211
|
return {
|
|
69606
69212
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69615,9 +69221,9 @@ var init_evalsExactMatch2 = __esm(() => {
|
|
|
69615
69221
|
|
|
69616
69222
|
// src/funcs/evalsFactCheckingKnowledgeBase.ts
|
|
69617
69223
|
function evalsFactCheckingKnowledgeBase(client, request, options) {
|
|
69618
|
-
return new APIPromise($
|
|
69224
|
+
return new APIPromise($do38(client, request, options));
|
|
69619
69225
|
}
|
|
69620
|
-
async function $
|
|
69226
|
+
async function $do38(client, request, options) {
|
|
69621
69227
|
const parsed = safeParse(request, (value) => EvalsFactCheckingKnowledgeBaseRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69622
69228
|
if (!parsed.ok) {
|
|
69623
69229
|
return [parsed, { status: "invalid" }];
|
|
@@ -69688,20 +69294,20 @@ var init_evalsFactCheckingKnowledgeBase = __esm(() => {
|
|
|
69688
69294
|
});
|
|
69689
69295
|
|
|
69690
69296
|
// src/mcp-server/tools/evalsFactCheckingKnowledgeBase.ts
|
|
69691
|
-
var
|
|
69297
|
+
var args38, tool$evalsFactCheckingKnowledgeBase;
|
|
69692
69298
|
var init_evalsFactCheckingKnowledgeBase2 = __esm(() => {
|
|
69693
69299
|
init_evalsFactCheckingKnowledgeBase();
|
|
69694
69300
|
init_operations();
|
|
69695
69301
|
init_tools();
|
|
69696
|
-
|
|
69302
|
+
args38 = {
|
|
69697
69303
|
request: EvalsFactCheckingKnowledgeBaseRequestBody$inboundSchema.optional()
|
|
69698
69304
|
};
|
|
69699
69305
|
tool$evalsFactCheckingKnowledgeBase = {
|
|
69700
69306
|
name: "evals-fact-checking-knowledge-base",
|
|
69701
69307
|
description: `Run Fact Checking Knowledge Base Evaluator`,
|
|
69702
|
-
args:
|
|
69703
|
-
tool: async (client,
|
|
69704
|
-
const [result, apiCall] = await evalsFactCheckingKnowledgeBase(client,
|
|
69308
|
+
args: args38,
|
|
69309
|
+
tool: async (client, args39, ctx) => {
|
|
69310
|
+
const [result, apiCall] = await evalsFactCheckingKnowledgeBase(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69705
69311
|
if (!result.ok) {
|
|
69706
69312
|
return {
|
|
69707
69313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69716,9 +69322,9 @@ var init_evalsFactCheckingKnowledgeBase2 = __esm(() => {
|
|
|
69716
69322
|
|
|
69717
69323
|
// src/funcs/evalsGrammar.ts
|
|
69718
69324
|
function evalsGrammar(client, request, options) {
|
|
69719
|
-
return new APIPromise($
|
|
69325
|
+
return new APIPromise($do39(client, request, options));
|
|
69720
69326
|
}
|
|
69721
|
-
async function $
|
|
69327
|
+
async function $do39(client, request, options) {
|
|
69722
69328
|
const parsed = safeParse(request, (value) => EvalsGrammarRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69723
69329
|
if (!parsed.ok) {
|
|
69724
69330
|
return [parsed, { status: "invalid" }];
|
|
@@ -69789,20 +69395,20 @@ var init_evalsGrammar = __esm(() => {
|
|
|
69789
69395
|
});
|
|
69790
69396
|
|
|
69791
69397
|
// src/mcp-server/tools/evalsGrammar.ts
|
|
69792
|
-
var
|
|
69398
|
+
var args39, tool$evalsGrammar;
|
|
69793
69399
|
var init_evalsGrammar2 = __esm(() => {
|
|
69794
69400
|
init_evalsGrammar();
|
|
69795
69401
|
init_operations();
|
|
69796
69402
|
init_tools();
|
|
69797
|
-
|
|
69403
|
+
args39 = {
|
|
69798
69404
|
request: EvalsGrammarRequestBody$inboundSchema.optional()
|
|
69799
69405
|
};
|
|
69800
69406
|
tool$evalsGrammar = {
|
|
69801
69407
|
name: "evals-grammar",
|
|
69802
69408
|
description: `Run Grammar Evaluator`,
|
|
69803
|
-
args:
|
|
69804
|
-
tool: async (client,
|
|
69805
|
-
const [result, apiCall] = await evalsGrammar(client,
|
|
69409
|
+
args: args39,
|
|
69410
|
+
tool: async (client, args40, ctx) => {
|
|
69411
|
+
const [result, apiCall] = await evalsGrammar(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69806
69412
|
if (!result.ok) {
|
|
69807
69413
|
return {
|
|
69808
69414
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69817,9 +69423,9 @@ var init_evalsGrammar2 = __esm(() => {
|
|
|
69817
69423
|
|
|
69818
69424
|
// src/funcs/evalsInvoke.ts
|
|
69819
69425
|
function evalsInvoke(client, request, options) {
|
|
69820
|
-
return new APIPromise($
|
|
69426
|
+
return new APIPromise($do40(client, request, options));
|
|
69821
69427
|
}
|
|
69822
|
-
async function $
|
|
69428
|
+
async function $do40(client, request, options) {
|
|
69823
69429
|
const parsed = safeParse(request, (value) => InvokeEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69824
69430
|
if (!parsed.ok) {
|
|
69825
69431
|
return [parsed, { status: "invalid" }];
|
|
@@ -69896,20 +69502,20 @@ var init_evalsInvoke = __esm(() => {
|
|
|
69896
69502
|
});
|
|
69897
69503
|
|
|
69898
69504
|
// src/mcp-server/tools/evalsInvoke.ts
|
|
69899
|
-
var
|
|
69505
|
+
var args40, tool$evalsInvoke;
|
|
69900
69506
|
var init_evalsInvoke2 = __esm(() => {
|
|
69901
69507
|
init_evalsInvoke();
|
|
69902
69508
|
init_operations();
|
|
69903
69509
|
init_tools();
|
|
69904
|
-
|
|
69510
|
+
args40 = {
|
|
69905
69511
|
request: InvokeEvalRequest$inboundSchema
|
|
69906
69512
|
};
|
|
69907
69513
|
tool$evalsInvoke = {
|
|
69908
69514
|
name: "evals-invoke",
|
|
69909
69515
|
description: `Invoke a Custom Evaluator`,
|
|
69910
|
-
args:
|
|
69911
|
-
tool: async (client,
|
|
69912
|
-
const [result, apiCall] = await evalsInvoke(client,
|
|
69516
|
+
args: args40,
|
|
69517
|
+
tool: async (client, args41, ctx) => {
|
|
69518
|
+
const [result, apiCall] = await evalsInvoke(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69913
69519
|
if (!result.ok) {
|
|
69914
69520
|
return {
|
|
69915
69521
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69924,9 +69530,9 @@ var init_evalsInvoke2 = __esm(() => {
|
|
|
69924
69530
|
|
|
69925
69531
|
// src/funcs/evalsLengthBetween.ts
|
|
69926
69532
|
function evalsLengthBetween(client, request, options) {
|
|
69927
|
-
return new APIPromise($
|
|
69533
|
+
return new APIPromise($do41(client, request, options));
|
|
69928
69534
|
}
|
|
69929
|
-
async function $
|
|
69535
|
+
async function $do41(client, request, options) {
|
|
69930
69536
|
const parsed = safeParse(request, (value) => EvalsLengthBetweenRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69931
69537
|
if (!parsed.ok) {
|
|
69932
69538
|
return [parsed, { status: "invalid" }];
|
|
@@ -69997,20 +69603,20 @@ var init_evalsLengthBetween = __esm(() => {
|
|
|
69997
69603
|
});
|
|
69998
69604
|
|
|
69999
69605
|
// src/mcp-server/tools/evalsLengthBetween.ts
|
|
70000
|
-
var
|
|
69606
|
+
var args41, tool$evalsLengthBetween;
|
|
70001
69607
|
var init_evalsLengthBetween2 = __esm(() => {
|
|
70002
69608
|
init_evalsLengthBetween();
|
|
70003
69609
|
init_operations();
|
|
70004
69610
|
init_tools();
|
|
70005
|
-
|
|
69611
|
+
args41 = {
|
|
70006
69612
|
request: EvalsLengthBetweenRequestBody$inboundSchema.optional()
|
|
70007
69613
|
};
|
|
70008
69614
|
tool$evalsLengthBetween = {
|
|
70009
69615
|
name: "evals-length-between",
|
|
70010
69616
|
description: `Run Length Between Evaluator`,
|
|
70011
|
-
args:
|
|
70012
|
-
tool: async (client,
|
|
70013
|
-
const [result, apiCall] = await evalsLengthBetween(client,
|
|
69617
|
+
args: args41,
|
|
69618
|
+
tool: async (client, args42, ctx) => {
|
|
69619
|
+
const [result, apiCall] = await evalsLengthBetween(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70014
69620
|
if (!result.ok) {
|
|
70015
69621
|
return {
|
|
70016
69622
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70025,9 +69631,9 @@ var init_evalsLengthBetween2 = __esm(() => {
|
|
|
70025
69631
|
|
|
70026
69632
|
// src/funcs/evalsLengthGreaterThan.ts
|
|
70027
69633
|
function evalsLengthGreaterThan(client, request, options) {
|
|
70028
|
-
return new APIPromise($
|
|
69634
|
+
return new APIPromise($do42(client, request, options));
|
|
70029
69635
|
}
|
|
70030
|
-
async function $
|
|
69636
|
+
async function $do42(client, request, options) {
|
|
70031
69637
|
const parsed = safeParse(request, (value) => EvalsLengthGreaterThanRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70032
69638
|
if (!parsed.ok) {
|
|
70033
69639
|
return [parsed, { status: "invalid" }];
|
|
@@ -70098,20 +69704,20 @@ var init_evalsLengthGreaterThan = __esm(() => {
|
|
|
70098
69704
|
});
|
|
70099
69705
|
|
|
70100
69706
|
// src/mcp-server/tools/evalsLengthGreaterThan.ts
|
|
70101
|
-
var
|
|
69707
|
+
var args42, tool$evalsLengthGreaterThan;
|
|
70102
69708
|
var init_evalsLengthGreaterThan2 = __esm(() => {
|
|
70103
69709
|
init_evalsLengthGreaterThan();
|
|
70104
69710
|
init_operations();
|
|
70105
69711
|
init_tools();
|
|
70106
|
-
|
|
69712
|
+
args42 = {
|
|
70107
69713
|
request: EvalsLengthGreaterThanRequestBody$inboundSchema.optional()
|
|
70108
69714
|
};
|
|
70109
69715
|
tool$evalsLengthGreaterThan = {
|
|
70110
69716
|
name: "evals-length-greater-than",
|
|
70111
69717
|
description: `Run Length Greater Than Evaluator`,
|
|
70112
|
-
args:
|
|
70113
|
-
tool: async (client,
|
|
70114
|
-
const [result, apiCall] = await evalsLengthGreaterThan(client,
|
|
69718
|
+
args: args42,
|
|
69719
|
+
tool: async (client, args43, ctx) => {
|
|
69720
|
+
const [result, apiCall] = await evalsLengthGreaterThan(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70115
69721
|
if (!result.ok) {
|
|
70116
69722
|
return {
|
|
70117
69723
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70126,9 +69732,9 @@ var init_evalsLengthGreaterThan2 = __esm(() => {
|
|
|
70126
69732
|
|
|
70127
69733
|
// src/funcs/evalsLengthLessThan.ts
|
|
70128
69734
|
function evalsLengthLessThan(client, request, options) {
|
|
70129
|
-
return new APIPromise($
|
|
69735
|
+
return new APIPromise($do43(client, request, options));
|
|
70130
69736
|
}
|
|
70131
|
-
async function $
|
|
69737
|
+
async function $do43(client, request, options) {
|
|
70132
69738
|
const parsed = safeParse(request, (value) => EvalsLengthLessThanRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70133
69739
|
if (!parsed.ok) {
|
|
70134
69740
|
return [parsed, { status: "invalid" }];
|
|
@@ -70199,20 +69805,20 @@ var init_evalsLengthLessThan = __esm(() => {
|
|
|
70199
69805
|
});
|
|
70200
69806
|
|
|
70201
69807
|
// src/mcp-server/tools/evalsLengthLessThan.ts
|
|
70202
|
-
var
|
|
69808
|
+
var args43, tool$evalsLengthLessThan;
|
|
70203
69809
|
var init_evalsLengthLessThan2 = __esm(() => {
|
|
70204
69810
|
init_evalsLengthLessThan();
|
|
70205
69811
|
init_operations();
|
|
70206
69812
|
init_tools();
|
|
70207
|
-
|
|
69813
|
+
args43 = {
|
|
70208
69814
|
request: EvalsLengthLessThanRequestBody$inboundSchema.optional()
|
|
70209
69815
|
};
|
|
70210
69816
|
tool$evalsLengthLessThan = {
|
|
70211
69817
|
name: "evals-length-less-than",
|
|
70212
69818
|
description: `Run Length Less Than Evaluator`,
|
|
70213
|
-
args:
|
|
70214
|
-
tool: async (client,
|
|
70215
|
-
const [result, apiCall] = await evalsLengthLessThan(client,
|
|
69819
|
+
args: args43,
|
|
69820
|
+
tool: async (client, args44, ctx) => {
|
|
69821
|
+
const [result, apiCall] = await evalsLengthLessThan(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70216
69822
|
if (!result.ok) {
|
|
70217
69823
|
return {
|
|
70218
69824
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70227,9 +69833,9 @@ var init_evalsLengthLessThan2 = __esm(() => {
|
|
|
70227
69833
|
|
|
70228
69834
|
// src/funcs/evalsLocalization.ts
|
|
70229
69835
|
function evalsLocalization(client, request, options) {
|
|
70230
|
-
return new APIPromise($
|
|
69836
|
+
return new APIPromise($do44(client, request, options));
|
|
70231
69837
|
}
|
|
70232
|
-
async function $
|
|
69838
|
+
async function $do44(client, request, options) {
|
|
70233
69839
|
const parsed = safeParse(request, (value) => EvalsLocalizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70234
69840
|
if (!parsed.ok) {
|
|
70235
69841
|
return [parsed, { status: "invalid" }];
|
|
@@ -70300,20 +69906,20 @@ var init_evalsLocalization = __esm(() => {
|
|
|
70300
69906
|
});
|
|
70301
69907
|
|
|
70302
69908
|
// src/mcp-server/tools/evalsLocalization.ts
|
|
70303
|
-
var
|
|
69909
|
+
var args44, tool$evalsLocalization;
|
|
70304
69910
|
var init_evalsLocalization2 = __esm(() => {
|
|
70305
69911
|
init_evalsLocalization();
|
|
70306
69912
|
init_operations();
|
|
70307
69913
|
init_tools();
|
|
70308
|
-
|
|
69914
|
+
args44 = {
|
|
70309
69915
|
request: EvalsLocalizationRequestBody$inboundSchema.optional()
|
|
70310
69916
|
};
|
|
70311
69917
|
tool$evalsLocalization = {
|
|
70312
69918
|
name: "evals-localization",
|
|
70313
69919
|
description: `Run Localization Evaluator`,
|
|
70314
|
-
args:
|
|
70315
|
-
tool: async (client,
|
|
70316
|
-
const [result, apiCall] = await evalsLocalization(client,
|
|
69920
|
+
args: args44,
|
|
69921
|
+
tool: async (client, args45, ctx) => {
|
|
69922
|
+
const [result, apiCall] = await evalsLocalization(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70317
69923
|
if (!result.ok) {
|
|
70318
69924
|
return {
|
|
70319
69925
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70328,9 +69934,9 @@ var init_evalsLocalization2 = __esm(() => {
|
|
|
70328
69934
|
|
|
70329
69935
|
// src/funcs/evalsPii.ts
|
|
70330
69936
|
function evalsPii(client, request, options) {
|
|
70331
|
-
return new APIPromise($
|
|
69937
|
+
return new APIPromise($do45(client, request, options));
|
|
70332
69938
|
}
|
|
70333
|
-
async function $
|
|
69939
|
+
async function $do45(client, request, options) {
|
|
70334
69940
|
const parsed = safeParse(request, (value) => EvalsPiiRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70335
69941
|
if (!parsed.ok) {
|
|
70336
69942
|
return [parsed, { status: "invalid" }];
|
|
@@ -70401,20 +70007,20 @@ var init_evalsPii = __esm(() => {
|
|
|
70401
70007
|
});
|
|
70402
70008
|
|
|
70403
70009
|
// src/mcp-server/tools/evalsPii.ts
|
|
70404
|
-
var
|
|
70010
|
+
var args45, tool$evalsPii;
|
|
70405
70011
|
var init_evalsPii2 = __esm(() => {
|
|
70406
70012
|
init_evalsPii();
|
|
70407
70013
|
init_operations();
|
|
70408
70014
|
init_tools();
|
|
70409
|
-
|
|
70015
|
+
args45 = {
|
|
70410
70016
|
request: EvalsPiiRequestBody$inboundSchema.optional()
|
|
70411
70017
|
};
|
|
70412
70018
|
tool$evalsPii = {
|
|
70413
70019
|
name: "evals-pii",
|
|
70414
70020
|
description: `Run PII Evaluator`,
|
|
70415
|
-
args:
|
|
70416
|
-
tool: async (client,
|
|
70417
|
-
const [result, apiCall] = await evalsPii(client,
|
|
70021
|
+
args: args45,
|
|
70022
|
+
tool: async (client, args46, ctx) => {
|
|
70023
|
+
const [result, apiCall] = await evalsPii(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70418
70024
|
if (!result.ok) {
|
|
70419
70025
|
return {
|
|
70420
70026
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70429,9 +70035,9 @@ var init_evalsPii2 = __esm(() => {
|
|
|
70429
70035
|
|
|
70430
70036
|
// src/funcs/evalsRagasCoherence.ts
|
|
70431
70037
|
function evalsRagasCoherence(client, request, options) {
|
|
70432
|
-
return new APIPromise($
|
|
70038
|
+
return new APIPromise($do46(client, request, options));
|
|
70433
70039
|
}
|
|
70434
|
-
async function $
|
|
70040
|
+
async function $do46(client, request, options) {
|
|
70435
70041
|
const parsed = safeParse(request, (value) => EvalsRagasCoherenceRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70436
70042
|
if (!parsed.ok) {
|
|
70437
70043
|
return [parsed, { status: "invalid" }];
|
|
@@ -70502,20 +70108,20 @@ var init_evalsRagasCoherence = __esm(() => {
|
|
|
70502
70108
|
});
|
|
70503
70109
|
|
|
70504
70110
|
// src/mcp-server/tools/evalsRagasCoherence.ts
|
|
70505
|
-
var
|
|
70111
|
+
var args46, tool$evalsRagasCoherence;
|
|
70506
70112
|
var init_evalsRagasCoherence2 = __esm(() => {
|
|
70507
70113
|
init_evalsRagasCoherence();
|
|
70508
70114
|
init_operations();
|
|
70509
70115
|
init_tools();
|
|
70510
|
-
|
|
70116
|
+
args46 = {
|
|
70511
70117
|
request: EvalsRagasCoherenceRequestBody$inboundSchema.optional()
|
|
70512
70118
|
};
|
|
70513
70119
|
tool$evalsRagasCoherence = {
|
|
70514
70120
|
name: "evals-ragas-coherence",
|
|
70515
70121
|
description: `Run Coherence Evaluator`,
|
|
70516
|
-
args:
|
|
70517
|
-
tool: async (client,
|
|
70518
|
-
const [result, apiCall] = await evalsRagasCoherence(client,
|
|
70122
|
+
args: args46,
|
|
70123
|
+
tool: async (client, args47, ctx) => {
|
|
70124
|
+
const [result, apiCall] = await evalsRagasCoherence(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70519
70125
|
if (!result.ok) {
|
|
70520
70126
|
return {
|
|
70521
70127
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70530,9 +70136,9 @@ var init_evalsRagasCoherence2 = __esm(() => {
|
|
|
70530
70136
|
|
|
70531
70137
|
// src/funcs/evalsRagasConciseness.ts
|
|
70532
70138
|
function evalsRagasConciseness(client, request, options) {
|
|
70533
|
-
return new APIPromise($
|
|
70139
|
+
return new APIPromise($do47(client, request, options));
|
|
70534
70140
|
}
|
|
70535
|
-
async function $
|
|
70141
|
+
async function $do47(client, request, options) {
|
|
70536
70142
|
const parsed = safeParse(request, (value) => EvalsRagasConcisenessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70537
70143
|
if (!parsed.ok) {
|
|
70538
70144
|
return [parsed, { status: "invalid" }];
|
|
@@ -70603,20 +70209,20 @@ var init_evalsRagasConciseness = __esm(() => {
|
|
|
70603
70209
|
});
|
|
70604
70210
|
|
|
70605
70211
|
// src/mcp-server/tools/evalsRagasConciseness.ts
|
|
70606
|
-
var
|
|
70212
|
+
var args47, tool$evalsRagasConciseness;
|
|
70607
70213
|
var init_evalsRagasConciseness2 = __esm(() => {
|
|
70608
70214
|
init_evalsRagasConciseness();
|
|
70609
70215
|
init_operations();
|
|
70610
70216
|
init_tools();
|
|
70611
|
-
|
|
70217
|
+
args47 = {
|
|
70612
70218
|
request: EvalsRagasConcisenessRequestBody$inboundSchema.optional()
|
|
70613
70219
|
};
|
|
70614
70220
|
tool$evalsRagasConciseness = {
|
|
70615
70221
|
name: "evals-ragas-conciseness",
|
|
70616
70222
|
description: `Run Conciseness Evaluator`,
|
|
70617
|
-
args:
|
|
70618
|
-
tool: async (client,
|
|
70619
|
-
const [result, apiCall] = await evalsRagasConciseness(client,
|
|
70223
|
+
args: args47,
|
|
70224
|
+
tool: async (client, args48, ctx) => {
|
|
70225
|
+
const [result, apiCall] = await evalsRagasConciseness(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70620
70226
|
if (!result.ok) {
|
|
70621
70227
|
return {
|
|
70622
70228
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70631,9 +70237,9 @@ var init_evalsRagasConciseness2 = __esm(() => {
|
|
|
70631
70237
|
|
|
70632
70238
|
// src/funcs/evalsRagasContextPrecision.ts
|
|
70633
70239
|
function evalsRagasContextPrecision(client, request, options) {
|
|
70634
|
-
return new APIPromise($
|
|
70240
|
+
return new APIPromise($do48(client, request, options));
|
|
70635
70241
|
}
|
|
70636
|
-
async function $
|
|
70242
|
+
async function $do48(client, request, options) {
|
|
70637
70243
|
const parsed = safeParse(request, (value) => EvalsRagasContextPrecisionRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70638
70244
|
if (!parsed.ok) {
|
|
70639
70245
|
return [parsed, { status: "invalid" }];
|
|
@@ -70704,20 +70310,20 @@ var init_evalsRagasContextPrecision = __esm(() => {
|
|
|
70704
70310
|
});
|
|
70705
70311
|
|
|
70706
70312
|
// src/mcp-server/tools/evalsRagasContextPrecision.ts
|
|
70707
|
-
var
|
|
70313
|
+
var args48, tool$evalsRagasContextPrecision;
|
|
70708
70314
|
var init_evalsRagasContextPrecision2 = __esm(() => {
|
|
70709
70315
|
init_evalsRagasContextPrecision();
|
|
70710
70316
|
init_operations();
|
|
70711
70317
|
init_tools();
|
|
70712
|
-
|
|
70318
|
+
args48 = {
|
|
70713
70319
|
request: EvalsRagasContextPrecisionRequestBody$inboundSchema.optional()
|
|
70714
70320
|
};
|
|
70715
70321
|
tool$evalsRagasContextPrecision = {
|
|
70716
70322
|
name: "evals-ragas-context-precision",
|
|
70717
70323
|
description: `Run Context Precision Evaluator`,
|
|
70718
|
-
args:
|
|
70719
|
-
tool: async (client,
|
|
70720
|
-
const [result, apiCall] = await evalsRagasContextPrecision(client,
|
|
70324
|
+
args: args48,
|
|
70325
|
+
tool: async (client, args49, ctx) => {
|
|
70326
|
+
const [result, apiCall] = await evalsRagasContextPrecision(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70721
70327
|
if (!result.ok) {
|
|
70722
70328
|
return {
|
|
70723
70329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70732,9 +70338,9 @@ var init_evalsRagasContextPrecision2 = __esm(() => {
|
|
|
70732
70338
|
|
|
70733
70339
|
// src/funcs/evalsRagasCorrectness.ts
|
|
70734
70340
|
function evalsRagasCorrectness(client, request, options) {
|
|
70735
|
-
return new APIPromise($
|
|
70341
|
+
return new APIPromise($do49(client, request, options));
|
|
70736
70342
|
}
|
|
70737
|
-
async function $
|
|
70343
|
+
async function $do49(client, request, options) {
|
|
70738
70344
|
const parsed = safeParse(request, (value) => EvalsRagasCorrectnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70739
70345
|
if (!parsed.ok) {
|
|
70740
70346
|
return [parsed, { status: "invalid" }];
|
|
@@ -70805,20 +70411,20 @@ var init_evalsRagasCorrectness = __esm(() => {
|
|
|
70805
70411
|
});
|
|
70806
70412
|
|
|
70807
70413
|
// src/mcp-server/tools/evalsRagasCorrectness.ts
|
|
70808
|
-
var
|
|
70414
|
+
var args49, tool$evalsRagasCorrectness;
|
|
70809
70415
|
var init_evalsRagasCorrectness2 = __esm(() => {
|
|
70810
70416
|
init_evalsRagasCorrectness();
|
|
70811
70417
|
init_operations();
|
|
70812
70418
|
init_tools();
|
|
70813
|
-
|
|
70419
|
+
args49 = {
|
|
70814
70420
|
request: EvalsRagasCorrectnessRequestBody$inboundSchema.optional()
|
|
70815
70421
|
};
|
|
70816
70422
|
tool$evalsRagasCorrectness = {
|
|
70817
70423
|
name: "evals-ragas-correctness",
|
|
70818
70424
|
description: `Run Correctness Evaluator`,
|
|
70819
|
-
args:
|
|
70820
|
-
tool: async (client,
|
|
70821
|
-
const [result, apiCall] = await evalsRagasCorrectness(client,
|
|
70425
|
+
args: args49,
|
|
70426
|
+
tool: async (client, args50, ctx) => {
|
|
70427
|
+
const [result, apiCall] = await evalsRagasCorrectness(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70822
70428
|
if (!result.ok) {
|
|
70823
70429
|
return {
|
|
70824
70430
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70833,9 +70439,9 @@ var init_evalsRagasCorrectness2 = __esm(() => {
|
|
|
70833
70439
|
|
|
70834
70440
|
// src/funcs/evalsRagasFaithfulness.ts
|
|
70835
70441
|
function evalsRagasFaithfulness(client, request, options) {
|
|
70836
|
-
return new APIPromise($
|
|
70442
|
+
return new APIPromise($do50(client, request, options));
|
|
70837
70443
|
}
|
|
70838
|
-
async function $
|
|
70444
|
+
async function $do50(client, request, options) {
|
|
70839
70445
|
const parsed = safeParse(request, (value) => EvalsRagasFaithfulnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70840
70446
|
if (!parsed.ok) {
|
|
70841
70447
|
return [parsed, { status: "invalid" }];
|
|
@@ -70906,20 +70512,20 @@ var init_evalsRagasFaithfulness = __esm(() => {
|
|
|
70906
70512
|
});
|
|
70907
70513
|
|
|
70908
70514
|
// src/mcp-server/tools/evalsRagasFaithfulness.ts
|
|
70909
|
-
var
|
|
70515
|
+
var args50, tool$evalsRagasFaithfulness;
|
|
70910
70516
|
var init_evalsRagasFaithfulness2 = __esm(() => {
|
|
70911
70517
|
init_evalsRagasFaithfulness();
|
|
70912
70518
|
init_operations();
|
|
70913
70519
|
init_tools();
|
|
70914
|
-
|
|
70520
|
+
args50 = {
|
|
70915
70521
|
request: EvalsRagasFaithfulnessRequestBody$inboundSchema.optional()
|
|
70916
70522
|
};
|
|
70917
70523
|
tool$evalsRagasFaithfulness = {
|
|
70918
70524
|
name: "evals-ragas-faithfulness",
|
|
70919
70525
|
description: `Run Faithfulness Evaluator`,
|
|
70920
|
-
args:
|
|
70921
|
-
tool: async (client,
|
|
70922
|
-
const [result, apiCall] = await evalsRagasFaithfulness(client,
|
|
70526
|
+
args: args50,
|
|
70527
|
+
tool: async (client, args51, ctx) => {
|
|
70528
|
+
const [result, apiCall] = await evalsRagasFaithfulness(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70923
70529
|
if (!result.ok) {
|
|
70924
70530
|
return {
|
|
70925
70531
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70934,9 +70540,9 @@ var init_evalsRagasFaithfulness2 = __esm(() => {
|
|
|
70934
70540
|
|
|
70935
70541
|
// src/funcs/evalsRagasHarmfulness.ts
|
|
70936
70542
|
function evalsRagasHarmfulness(client, request, options) {
|
|
70937
|
-
return new APIPromise($
|
|
70543
|
+
return new APIPromise($do51(client, request, options));
|
|
70938
70544
|
}
|
|
70939
|
-
async function $
|
|
70545
|
+
async function $do51(client, request, options) {
|
|
70940
70546
|
const parsed = safeParse(request, (value) => EvalsRagasHarmfulnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70941
70547
|
if (!parsed.ok) {
|
|
70942
70548
|
return [parsed, { status: "invalid" }];
|
|
@@ -71007,20 +70613,20 @@ var init_evalsRagasHarmfulness = __esm(() => {
|
|
|
71007
70613
|
});
|
|
71008
70614
|
|
|
71009
70615
|
// src/mcp-server/tools/evalsRagasHarmfulness.ts
|
|
71010
|
-
var
|
|
70616
|
+
var args51, tool$evalsRagasHarmfulness;
|
|
71011
70617
|
var init_evalsRagasHarmfulness2 = __esm(() => {
|
|
71012
70618
|
init_evalsRagasHarmfulness();
|
|
71013
70619
|
init_operations();
|
|
71014
70620
|
init_tools();
|
|
71015
|
-
|
|
70621
|
+
args51 = {
|
|
71016
70622
|
request: EvalsRagasHarmfulnessRequestBody$inboundSchema.optional()
|
|
71017
70623
|
};
|
|
71018
70624
|
tool$evalsRagasHarmfulness = {
|
|
71019
70625
|
name: "evals-ragas-harmfulness",
|
|
71020
70626
|
description: `Run Harmfulness Evaluator`,
|
|
71021
|
-
args:
|
|
71022
|
-
tool: async (client,
|
|
71023
|
-
const [result, apiCall] = await evalsRagasHarmfulness(client,
|
|
70627
|
+
args: args51,
|
|
70628
|
+
tool: async (client, args52, ctx) => {
|
|
70629
|
+
const [result, apiCall] = await evalsRagasHarmfulness(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71024
70630
|
if (!result.ok) {
|
|
71025
70631
|
return {
|
|
71026
70632
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71035,9 +70641,9 @@ var init_evalsRagasHarmfulness2 = __esm(() => {
|
|
|
71035
70641
|
|
|
71036
70642
|
// src/funcs/evalsRagasMaliciousness.ts
|
|
71037
70643
|
function evalsRagasMaliciousness(client, request, options) {
|
|
71038
|
-
return new APIPromise($
|
|
70644
|
+
return new APIPromise($do52(client, request, options));
|
|
71039
70645
|
}
|
|
71040
|
-
async function $
|
|
70646
|
+
async function $do52(client, request, options) {
|
|
71041
70647
|
const parsed = safeParse(request, (value) => EvalsRagasMaliciousnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71042
70648
|
if (!parsed.ok) {
|
|
71043
70649
|
return [parsed, { status: "invalid" }];
|
|
@@ -71108,20 +70714,20 @@ var init_evalsRagasMaliciousness = __esm(() => {
|
|
|
71108
70714
|
});
|
|
71109
70715
|
|
|
71110
70716
|
// src/mcp-server/tools/evalsRagasMaliciousness.ts
|
|
71111
|
-
var
|
|
70717
|
+
var args52, tool$evalsRagasMaliciousness;
|
|
71112
70718
|
var init_evalsRagasMaliciousness2 = __esm(() => {
|
|
71113
70719
|
init_evalsRagasMaliciousness();
|
|
71114
70720
|
init_operations();
|
|
71115
70721
|
init_tools();
|
|
71116
|
-
|
|
70722
|
+
args52 = {
|
|
71117
70723
|
request: EvalsRagasMaliciousnessRequestBody$inboundSchema.optional()
|
|
71118
70724
|
};
|
|
71119
70725
|
tool$evalsRagasMaliciousness = {
|
|
71120
70726
|
name: "evals-ragas-maliciousness",
|
|
71121
70727
|
description: `Run Maliciousness Evaluator`,
|
|
71122
|
-
args:
|
|
71123
|
-
tool: async (client,
|
|
71124
|
-
const [result, apiCall] = await evalsRagasMaliciousness(client,
|
|
70728
|
+
args: args52,
|
|
70729
|
+
tool: async (client, args53, ctx) => {
|
|
70730
|
+
const [result, apiCall] = await evalsRagasMaliciousness(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71125
70731
|
if (!result.ok) {
|
|
71126
70732
|
return {
|
|
71127
70733
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71136,9 +70742,9 @@ var init_evalsRagasMaliciousness2 = __esm(() => {
|
|
|
71136
70742
|
|
|
71137
70743
|
// src/funcs/evalsRagasResponseRelevancy.ts
|
|
71138
70744
|
function evalsRagasResponseRelevancy(client, request, options) {
|
|
71139
|
-
return new APIPromise($
|
|
70745
|
+
return new APIPromise($do53(client, request, options));
|
|
71140
70746
|
}
|
|
71141
|
-
async function $
|
|
70747
|
+
async function $do53(client, request, options) {
|
|
71142
70748
|
const parsed = safeParse(request, (value) => EvalsRagasResponseRelevancyRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71143
70749
|
if (!parsed.ok) {
|
|
71144
70750
|
return [parsed, { status: "invalid" }];
|
|
@@ -71209,20 +70815,20 @@ var init_evalsRagasResponseRelevancy = __esm(() => {
|
|
|
71209
70815
|
});
|
|
71210
70816
|
|
|
71211
70817
|
// src/mcp-server/tools/evalsRagasResponseRelevancy.ts
|
|
71212
|
-
var
|
|
70818
|
+
var args53, tool$evalsRagasResponseRelevancy;
|
|
71213
70819
|
var init_evalsRagasResponseRelevancy2 = __esm(() => {
|
|
71214
70820
|
init_evalsRagasResponseRelevancy();
|
|
71215
70821
|
init_operations();
|
|
71216
70822
|
init_tools();
|
|
71217
|
-
|
|
70823
|
+
args53 = {
|
|
71218
70824
|
request: EvalsRagasResponseRelevancyRequestBody$inboundSchema.optional()
|
|
71219
70825
|
};
|
|
71220
70826
|
tool$evalsRagasResponseRelevancy = {
|
|
71221
70827
|
name: "evals-ragas-response-relevancy",
|
|
71222
70828
|
description: `Run Response Relevancy Evaluator`,
|
|
71223
|
-
args:
|
|
71224
|
-
tool: async (client,
|
|
71225
|
-
const [result, apiCall] = await evalsRagasResponseRelevancy(client,
|
|
70829
|
+
args: args53,
|
|
70830
|
+
tool: async (client, args54, ctx) => {
|
|
70831
|
+
const [result, apiCall] = await evalsRagasResponseRelevancy(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71226
70832
|
if (!result.ok) {
|
|
71227
70833
|
return {
|
|
71228
70834
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71237,9 +70843,9 @@ var init_evalsRagasResponseRelevancy2 = __esm(() => {
|
|
|
71237
70843
|
|
|
71238
70844
|
// src/funcs/evalsRagasSummarization.ts
|
|
71239
70845
|
function evalsRagasSummarization(client, request, options) {
|
|
71240
|
-
return new APIPromise($
|
|
70846
|
+
return new APIPromise($do54(client, request, options));
|
|
71241
70847
|
}
|
|
71242
|
-
async function $
|
|
70848
|
+
async function $do54(client, request, options) {
|
|
71243
70849
|
const parsed = safeParse(request, (value) => EvalsRagasSummarizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71244
70850
|
if (!parsed.ok) {
|
|
71245
70851
|
return [parsed, { status: "invalid" }];
|
|
@@ -71310,20 +70916,20 @@ var init_evalsRagasSummarization = __esm(() => {
|
|
|
71310
70916
|
});
|
|
71311
70917
|
|
|
71312
70918
|
// src/mcp-server/tools/evalsRagasSummarization.ts
|
|
71313
|
-
var
|
|
70919
|
+
var args54, tool$evalsRagasSummarization;
|
|
71314
70920
|
var init_evalsRagasSummarization2 = __esm(() => {
|
|
71315
70921
|
init_evalsRagasSummarization();
|
|
71316
70922
|
init_operations();
|
|
71317
70923
|
init_tools();
|
|
71318
|
-
|
|
70924
|
+
args54 = {
|
|
71319
70925
|
request: EvalsRagasSummarizationRequestBody$inboundSchema.optional()
|
|
71320
70926
|
};
|
|
71321
70927
|
tool$evalsRagasSummarization = {
|
|
71322
70928
|
name: "evals-ragas-summarization",
|
|
71323
70929
|
description: `Run Summarization Evaluator`,
|
|
71324
|
-
args:
|
|
71325
|
-
tool: async (client,
|
|
71326
|
-
const [result, apiCall] = await evalsRagasSummarization(client,
|
|
70930
|
+
args: args54,
|
|
70931
|
+
tool: async (client, args55, ctx) => {
|
|
70932
|
+
const [result, apiCall] = await evalsRagasSummarization(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71327
70933
|
if (!result.ok) {
|
|
71328
70934
|
return {
|
|
71329
70935
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71338,9 +70944,9 @@ var init_evalsRagasSummarization2 = __esm(() => {
|
|
|
71338
70944
|
|
|
71339
70945
|
// src/funcs/evalsSentimentClassification.ts
|
|
71340
70946
|
function evalsSentimentClassification(client, request, options) {
|
|
71341
|
-
return new APIPromise($
|
|
70947
|
+
return new APIPromise($do55(client, request, options));
|
|
71342
70948
|
}
|
|
71343
|
-
async function $
|
|
70949
|
+
async function $do55(client, request, options) {
|
|
71344
70950
|
const parsed = safeParse(request, (value) => EvalsSentimentClassificationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71345
70951
|
if (!parsed.ok) {
|
|
71346
70952
|
return [parsed, { status: "invalid" }];
|
|
@@ -71411,20 +71017,20 @@ var init_evalsSentimentClassification = __esm(() => {
|
|
|
71411
71017
|
});
|
|
71412
71018
|
|
|
71413
71019
|
// src/mcp-server/tools/evalsSentimentClassification.ts
|
|
71414
|
-
var
|
|
71020
|
+
var args55, tool$evalsSentimentClassification;
|
|
71415
71021
|
var init_evalsSentimentClassification2 = __esm(() => {
|
|
71416
71022
|
init_evalsSentimentClassification();
|
|
71417
71023
|
init_operations();
|
|
71418
71024
|
init_tools();
|
|
71419
|
-
|
|
71025
|
+
args55 = {
|
|
71420
71026
|
request: EvalsSentimentClassificationRequestBody$inboundSchema.optional()
|
|
71421
71027
|
};
|
|
71422
71028
|
tool$evalsSentimentClassification = {
|
|
71423
71029
|
name: "evals-sentiment-classification",
|
|
71424
71030
|
description: `Run Sentiment Classification Evaluator`,
|
|
71425
|
-
args:
|
|
71426
|
-
tool: async (client,
|
|
71427
|
-
const [result, apiCall] = await evalsSentimentClassification(client,
|
|
71031
|
+
args: args55,
|
|
71032
|
+
tool: async (client, args56, ctx) => {
|
|
71033
|
+
const [result, apiCall] = await evalsSentimentClassification(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71428
71034
|
if (!result.ok) {
|
|
71429
71035
|
return {
|
|
71430
71036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71439,9 +71045,9 @@ var init_evalsSentimentClassification2 = __esm(() => {
|
|
|
71439
71045
|
|
|
71440
71046
|
// src/funcs/evalsSummarization.ts
|
|
71441
71047
|
function evalsSummarization(client, request, options) {
|
|
71442
|
-
return new APIPromise($
|
|
71048
|
+
return new APIPromise($do56(client, request, options));
|
|
71443
71049
|
}
|
|
71444
|
-
async function $
|
|
71050
|
+
async function $do56(client, request, options) {
|
|
71445
71051
|
const parsed = safeParse(request, (value) => EvalsSummarizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71446
71052
|
if (!parsed.ok) {
|
|
71447
71053
|
return [parsed, { status: "invalid" }];
|
|
@@ -71512,20 +71118,20 @@ var init_evalsSummarization = __esm(() => {
|
|
|
71512
71118
|
});
|
|
71513
71119
|
|
|
71514
71120
|
// src/mcp-server/tools/evalsSummarization.ts
|
|
71515
|
-
var
|
|
71121
|
+
var args56, tool$evalsSummarization;
|
|
71516
71122
|
var init_evalsSummarization2 = __esm(() => {
|
|
71517
71123
|
init_evalsSummarization();
|
|
71518
71124
|
init_operations();
|
|
71519
71125
|
init_tools();
|
|
71520
|
-
|
|
71126
|
+
args56 = {
|
|
71521
71127
|
request: EvalsSummarizationRequestBody$inboundSchema.optional()
|
|
71522
71128
|
};
|
|
71523
71129
|
tool$evalsSummarization = {
|
|
71524
71130
|
name: "evals-summarization",
|
|
71525
71131
|
description: `Run Summarization Evaluator`,
|
|
71526
|
-
args:
|
|
71527
|
-
tool: async (client,
|
|
71528
|
-
const [result, apiCall] = await evalsSummarization(client,
|
|
71132
|
+
args: args56,
|
|
71133
|
+
tool: async (client, args57, ctx) => {
|
|
71134
|
+
const [result, apiCall] = await evalsSummarization(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71529
71135
|
if (!result.ok) {
|
|
71530
71136
|
return {
|
|
71531
71137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71540,9 +71146,9 @@ var init_evalsSummarization2 = __esm(() => {
|
|
|
71540
71146
|
|
|
71541
71147
|
// src/funcs/evalsToneOfVoice.ts
|
|
71542
71148
|
function evalsToneOfVoice(client, request, options) {
|
|
71543
|
-
return new APIPromise($
|
|
71149
|
+
return new APIPromise($do57(client, request, options));
|
|
71544
71150
|
}
|
|
71545
|
-
async function $
|
|
71151
|
+
async function $do57(client, request, options) {
|
|
71546
71152
|
const parsed = safeParse(request, (value) => EvalsToneOfVoiceRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71547
71153
|
if (!parsed.ok) {
|
|
71548
71154
|
return [parsed, { status: "invalid" }];
|
|
@@ -71613,20 +71219,20 @@ var init_evalsToneOfVoice = __esm(() => {
|
|
|
71613
71219
|
});
|
|
71614
71220
|
|
|
71615
71221
|
// src/mcp-server/tools/evalsToneOfVoice.ts
|
|
71616
|
-
var
|
|
71222
|
+
var args57, tool$evalsToneOfVoice;
|
|
71617
71223
|
var init_evalsToneOfVoice2 = __esm(() => {
|
|
71618
71224
|
init_evalsToneOfVoice();
|
|
71619
71225
|
init_operations();
|
|
71620
71226
|
init_tools();
|
|
71621
|
-
|
|
71227
|
+
args57 = {
|
|
71622
71228
|
request: EvalsToneOfVoiceRequestBody$inboundSchema.optional()
|
|
71623
71229
|
};
|
|
71624
71230
|
tool$evalsToneOfVoice = {
|
|
71625
71231
|
name: "evals-tone-of-voice",
|
|
71626
71232
|
description: `Run Tone of Voice Evaluator`,
|
|
71627
|
-
args:
|
|
71628
|
-
tool: async (client,
|
|
71629
|
-
const [result, apiCall] = await evalsToneOfVoice(client,
|
|
71233
|
+
args: args57,
|
|
71234
|
+
tool: async (client, args58, ctx) => {
|
|
71235
|
+
const [result, apiCall] = await evalsToneOfVoice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71630
71236
|
if (!result.ok) {
|
|
71631
71237
|
return {
|
|
71632
71238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71641,9 +71247,9 @@ var init_evalsToneOfVoice2 = __esm(() => {
|
|
|
71641
71247
|
|
|
71642
71248
|
// src/funcs/evalsTranslation.ts
|
|
71643
71249
|
function evalsTranslation(client, request, options) {
|
|
71644
|
-
return new APIPromise($
|
|
71250
|
+
return new APIPromise($do58(client, request, options));
|
|
71645
71251
|
}
|
|
71646
|
-
async function $
|
|
71252
|
+
async function $do58(client, request, options) {
|
|
71647
71253
|
const parsed = safeParse(request, (value) => EvalsTranslationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71648
71254
|
if (!parsed.ok) {
|
|
71649
71255
|
return [parsed, { status: "invalid" }];
|
|
@@ -71714,20 +71320,20 @@ var init_evalsTranslation = __esm(() => {
|
|
|
71714
71320
|
});
|
|
71715
71321
|
|
|
71716
71322
|
// src/mcp-server/tools/evalsTranslation.ts
|
|
71717
|
-
var
|
|
71323
|
+
var args58, tool$evalsTranslation;
|
|
71718
71324
|
var init_evalsTranslation2 = __esm(() => {
|
|
71719
71325
|
init_evalsTranslation();
|
|
71720
71326
|
init_operations();
|
|
71721
71327
|
init_tools();
|
|
71722
|
-
|
|
71328
|
+
args58 = {
|
|
71723
71329
|
request: EvalsTranslationRequestBody$inboundSchema.optional()
|
|
71724
71330
|
};
|
|
71725
71331
|
tool$evalsTranslation = {
|
|
71726
71332
|
name: "evals-translation",
|
|
71727
71333
|
description: `Run Translation Evaluator`,
|
|
71728
|
-
args:
|
|
71729
|
-
tool: async (client,
|
|
71730
|
-
const [result, apiCall] = await evalsTranslation(client,
|
|
71334
|
+
args: args58,
|
|
71335
|
+
tool: async (client, args59, ctx) => {
|
|
71336
|
+
const [result, apiCall] = await evalsTranslation(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71731
71337
|
if (!result.ok) {
|
|
71732
71338
|
return {
|
|
71733
71339
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71742,9 +71348,9 @@ var init_evalsTranslation2 = __esm(() => {
|
|
|
71742
71348
|
|
|
71743
71349
|
// src/funcs/evalsUpdate.ts
|
|
71744
71350
|
function evalsUpdate(client, request, options) {
|
|
71745
|
-
return new APIPromise($
|
|
71351
|
+
return new APIPromise($do59(client, request, options));
|
|
71746
71352
|
}
|
|
71747
|
-
async function $
|
|
71353
|
+
async function $do59(client, request, options) {
|
|
71748
71354
|
const parsed = safeParse(request, (value) => UpdateEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71749
71355
|
if (!parsed.ok) {
|
|
71750
71356
|
return [parsed, { status: "invalid" }];
|
|
@@ -71821,20 +71427,20 @@ var init_evalsUpdate = __esm(() => {
|
|
|
71821
71427
|
});
|
|
71822
71428
|
|
|
71823
71429
|
// src/mcp-server/tools/evalsUpdate.ts
|
|
71824
|
-
var
|
|
71430
|
+
var args59, tool$evalsUpdate;
|
|
71825
71431
|
var init_evalsUpdate2 = __esm(() => {
|
|
71826
71432
|
init_evalsUpdate();
|
|
71827
71433
|
init_operations();
|
|
71828
71434
|
init_tools();
|
|
71829
|
-
|
|
71435
|
+
args59 = {
|
|
71830
71436
|
request: UpdateEvalRequest$inboundSchema
|
|
71831
71437
|
};
|
|
71832
71438
|
tool$evalsUpdate = {
|
|
71833
71439
|
name: "evals-update",
|
|
71834
71440
|
description: `Update an Evaluator`,
|
|
71835
|
-
args:
|
|
71836
|
-
tool: async (client,
|
|
71837
|
-
const [result, apiCall] = await evalsUpdate(client,
|
|
71441
|
+
args: args59,
|
|
71442
|
+
tool: async (client, args60, ctx) => {
|
|
71443
|
+
const [result, apiCall] = await evalsUpdate(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71838
71444
|
if (!result.ok) {
|
|
71839
71445
|
return {
|
|
71840
71446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71849,9 +71455,9 @@ var init_evalsUpdate2 = __esm(() => {
|
|
|
71849
71455
|
|
|
71850
71456
|
// src/funcs/evalsValidJson.ts
|
|
71851
71457
|
function evalsValidJson(client, request, options) {
|
|
71852
|
-
return new APIPromise($
|
|
71458
|
+
return new APIPromise($do60(client, request, options));
|
|
71853
71459
|
}
|
|
71854
|
-
async function $
|
|
71460
|
+
async function $do60(client, request, options) {
|
|
71855
71461
|
const parsed = safeParse(request, (value) => EvalsValidJsonRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71856
71462
|
if (!parsed.ok) {
|
|
71857
71463
|
return [parsed, { status: "invalid" }];
|
|
@@ -71922,20 +71528,20 @@ var init_evalsValidJson = __esm(() => {
|
|
|
71922
71528
|
});
|
|
71923
71529
|
|
|
71924
71530
|
// src/mcp-server/tools/evalsValidJson.ts
|
|
71925
|
-
var
|
|
71531
|
+
var args60, tool$evalsValidJson;
|
|
71926
71532
|
var init_evalsValidJson2 = __esm(() => {
|
|
71927
71533
|
init_evalsValidJson();
|
|
71928
71534
|
init_operations();
|
|
71929
71535
|
init_tools();
|
|
71930
|
-
|
|
71536
|
+
args60 = {
|
|
71931
71537
|
request: EvalsValidJsonRequestBody$inboundSchema.optional()
|
|
71932
71538
|
};
|
|
71933
71539
|
tool$evalsValidJson = {
|
|
71934
71540
|
name: "evals-valid-json",
|
|
71935
71541
|
description: `Run JSON Validation Evaluator`,
|
|
71936
|
-
args:
|
|
71937
|
-
tool: async (client,
|
|
71938
|
-
const [result, apiCall] = await evalsValidJson(client,
|
|
71542
|
+
args: args60,
|
|
71543
|
+
tool: async (client, args61, ctx) => {
|
|
71544
|
+
const [result, apiCall] = await evalsValidJson(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71939
71545
|
if (!result.ok) {
|
|
71940
71546
|
return {
|
|
71941
71547
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71950,9 +71556,9 @@ var init_evalsValidJson2 = __esm(() => {
|
|
|
71950
71556
|
|
|
71951
71557
|
// src/funcs/feedbackCreate.ts
|
|
71952
71558
|
function feedbackCreate(client, request, options) {
|
|
71953
|
-
return new APIPromise($
|
|
71559
|
+
return new APIPromise($do61(client, request, options));
|
|
71954
71560
|
}
|
|
71955
|
-
async function $
|
|
71561
|
+
async function $do61(client, request, options) {
|
|
71956
71562
|
const parsed = safeParse(request, (value) => CreateFeedbackRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
71957
71563
|
if (!parsed.ok) {
|
|
71958
71564
|
return [parsed, { status: "invalid" }];
|
|
@@ -72019,12 +71625,12 @@ var init_feedbackCreate = __esm(() => {
|
|
|
72019
71625
|
});
|
|
72020
71626
|
|
|
72021
71627
|
// src/mcp-server/tools/feedbackCreate.ts
|
|
72022
|
-
var
|
|
71628
|
+
var args61, tool$feedbackCreate;
|
|
72023
71629
|
var init_feedbackCreate2 = __esm(() => {
|
|
72024
71630
|
init_feedbackCreate();
|
|
72025
71631
|
init_operations();
|
|
72026
71632
|
init_tools();
|
|
72027
|
-
|
|
71633
|
+
args61 = {
|
|
72028
71634
|
request: CreateFeedbackRequestBody$inboundSchema
|
|
72029
71635
|
};
|
|
72030
71636
|
tool$feedbackCreate = {
|
|
@@ -72032,9 +71638,9 @@ var init_feedbackCreate2 = __esm(() => {
|
|
|
72032
71638
|
description: `Submit feedback
|
|
72033
71639
|
|
|
72034
71640
|
Submit feedback for the LLM transaction via the API`,
|
|
72035
|
-
args:
|
|
72036
|
-
tool: async (client,
|
|
72037
|
-
const [result, apiCall] = await feedbackCreate(client,
|
|
71641
|
+
args: args61,
|
|
71642
|
+
tool: async (client, args62, ctx) => {
|
|
71643
|
+
const [result, apiCall] = await feedbackCreate(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72038
71644
|
if (!result.ok) {
|
|
72039
71645
|
return {
|
|
72040
71646
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72118,9 +71724,9 @@ function isReadableStream(val) {
|
|
|
72118
71724
|
|
|
72119
71725
|
// src/funcs/filesCreate.ts
|
|
72120
71726
|
function filesCreate(client, request, options) {
|
|
72121
|
-
return new APIPromise($
|
|
71727
|
+
return new APIPromise($do62(client, request, options));
|
|
72122
71728
|
}
|
|
72123
|
-
async function $
|
|
71729
|
+
async function $do62(client, request, options) {
|
|
72124
71730
|
const parsed = safeParse(request, (value) => FileUploadRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72125
71731
|
if (!parsed.ok) {
|
|
72126
71732
|
return [parsed, { status: "invalid" }];
|
|
@@ -72201,12 +71807,12 @@ var init_filesCreate = __esm(() => {
|
|
|
72201
71807
|
});
|
|
72202
71808
|
|
|
72203
71809
|
// src/mcp-server/tools/filesCreate.ts
|
|
72204
|
-
var
|
|
71810
|
+
var args62, tool$filesCreate;
|
|
72205
71811
|
var init_filesCreate2 = __esm(() => {
|
|
72206
71812
|
init_filesCreate();
|
|
72207
71813
|
init_operations();
|
|
72208
71814
|
init_tools();
|
|
72209
|
-
|
|
71815
|
+
args62 = {
|
|
72210
71816
|
request: FileUploadRequestBody$inboundSchema
|
|
72211
71817
|
};
|
|
72212
71818
|
tool$filesCreate = {
|
|
@@ -72214,9 +71820,9 @@ var init_filesCreate2 = __esm(() => {
|
|
|
72214
71820
|
description: `Create file
|
|
72215
71821
|
|
|
72216
71822
|
Files are used to upload documents that can be used with features like [Deployments](https://docs.orq.ai/reference/deploymentinvoke-1).`,
|
|
72217
|
-
args:
|
|
72218
|
-
tool: async (client,
|
|
72219
|
-
const [result, apiCall] = await filesCreate(client,
|
|
71823
|
+
args: args62,
|
|
71824
|
+
tool: async (client, args63, ctx) => {
|
|
71825
|
+
const [result, apiCall] = await filesCreate(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72220
71826
|
if (!result.ok) {
|
|
72221
71827
|
return {
|
|
72222
71828
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72231,9 +71837,9 @@ Files are used to upload documents that can be used with features like [Deployme
|
|
|
72231
71837
|
|
|
72232
71838
|
// src/funcs/filesDelete.ts
|
|
72233
71839
|
function filesDelete(client, request, options) {
|
|
72234
|
-
return new APIPromise($
|
|
71840
|
+
return new APIPromise($do63(client, request, options));
|
|
72235
71841
|
}
|
|
72236
|
-
async function $
|
|
71842
|
+
async function $do63(client, request, options) {
|
|
72237
71843
|
const parsed = safeParse(request, (value) => FileDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72238
71844
|
if (!parsed.ok) {
|
|
72239
71845
|
return [parsed, { status: "invalid" }];
|
|
@@ -72306,20 +71912,20 @@ var init_filesDelete = __esm(() => {
|
|
|
72306
71912
|
});
|
|
72307
71913
|
|
|
72308
71914
|
// src/mcp-server/tools/filesDelete.ts
|
|
72309
|
-
var
|
|
71915
|
+
var args63, tool$filesDelete;
|
|
72310
71916
|
var init_filesDelete2 = __esm(() => {
|
|
72311
71917
|
init_filesDelete();
|
|
72312
71918
|
init_operations();
|
|
72313
71919
|
init_tools();
|
|
72314
|
-
|
|
71920
|
+
args63 = {
|
|
72315
71921
|
request: FileDeleteRequest$inboundSchema
|
|
72316
71922
|
};
|
|
72317
71923
|
tool$filesDelete = {
|
|
72318
71924
|
name: "files-delete",
|
|
72319
71925
|
description: `Delete file`,
|
|
72320
|
-
args:
|
|
72321
|
-
tool: async (client,
|
|
72322
|
-
const [result, apiCall] = await filesDelete(client,
|
|
71926
|
+
args: args63,
|
|
71927
|
+
tool: async (client, args64, ctx) => {
|
|
71928
|
+
const [result, apiCall] = await filesDelete(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72323
71929
|
if (!result.ok) {
|
|
72324
71930
|
return {
|
|
72325
71931
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72333,9 +71939,9 @@ var init_filesDelete2 = __esm(() => {
|
|
|
72333
71939
|
|
|
72334
71940
|
// src/funcs/filesGet.ts
|
|
72335
71941
|
function filesGet(client, request, options) {
|
|
72336
|
-
return new APIPromise($
|
|
71942
|
+
return new APIPromise($do64(client, request, options));
|
|
72337
71943
|
}
|
|
72338
|
-
async function $
|
|
71944
|
+
async function $do64(client, request, options) {
|
|
72339
71945
|
const parsed = safeParse(request, (value) => FileGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72340
71946
|
if (!parsed.ok) {
|
|
72341
71947
|
return [parsed, { status: "invalid" }];
|
|
@@ -72407,12 +72013,12 @@ var init_filesGet = __esm(() => {
|
|
|
72407
72013
|
});
|
|
72408
72014
|
|
|
72409
72015
|
// src/mcp-server/tools/filesGet.ts
|
|
72410
|
-
var
|
|
72016
|
+
var args64, tool$filesGet;
|
|
72411
72017
|
var init_filesGet2 = __esm(() => {
|
|
72412
72018
|
init_filesGet();
|
|
72413
72019
|
init_operations();
|
|
72414
72020
|
init_tools();
|
|
72415
|
-
|
|
72021
|
+
args64 = {
|
|
72416
72022
|
request: FileGetRequest$inboundSchema
|
|
72417
72023
|
};
|
|
72418
72024
|
tool$filesGet = {
|
|
@@ -72420,9 +72026,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
72420
72026
|
description: `Retrieve a file
|
|
72421
72027
|
|
|
72422
72028
|
Retrieves the details of an existing file object. After you supply a unique file ID, orq.ai returns the corresponding file object`,
|
|
72423
|
-
args:
|
|
72424
|
-
tool: async (client,
|
|
72425
|
-
const [result, apiCall] = await filesGet(client,
|
|
72029
|
+
args: args64,
|
|
72030
|
+
tool: async (client, args65, ctx) => {
|
|
72031
|
+
const [result, apiCall] = await filesGet(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72426
72032
|
if (!result.ok) {
|
|
72427
72033
|
return {
|
|
72428
72034
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72437,9 +72043,9 @@ Retrieves the details of an existing file object. After you supply a unique file
|
|
|
72437
72043
|
|
|
72438
72044
|
// src/funcs/filesList.ts
|
|
72439
72045
|
function filesList(client, request, options) {
|
|
72440
|
-
return new APIPromise($
|
|
72046
|
+
return new APIPromise($do65(client, request, options));
|
|
72441
72047
|
}
|
|
72442
|
-
async function $
|
|
72048
|
+
async function $do65(client, request, options) {
|
|
72443
72049
|
const parsed = safeParse(request, (value) => FileListRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72444
72050
|
if (!parsed.ok) {
|
|
72445
72051
|
return [parsed, { status: "invalid" }];
|
|
@@ -72511,12 +72117,12 @@ var init_filesList = __esm(() => {
|
|
|
72511
72117
|
});
|
|
72512
72118
|
|
|
72513
72119
|
// src/mcp-server/tools/filesList.ts
|
|
72514
|
-
var
|
|
72120
|
+
var args65, tool$filesList;
|
|
72515
72121
|
var init_filesList2 = __esm(() => {
|
|
72516
72122
|
init_filesList();
|
|
72517
72123
|
init_operations();
|
|
72518
72124
|
init_tools();
|
|
72519
|
-
|
|
72125
|
+
args65 = {
|
|
72520
72126
|
request: FileListRequest$inboundSchema.optional()
|
|
72521
72127
|
};
|
|
72522
72128
|
tool$filesList = {
|
|
@@ -72524,9 +72130,9 @@ var init_filesList2 = __esm(() => {
|
|
|
72524
72130
|
description: `List all files
|
|
72525
72131
|
|
|
72526
72132
|
Returns a list of the files that your account has access to. orq.ai sorts and returns the files by their creation dates, placing the most recently created files at the top.`,
|
|
72527
|
-
args:
|
|
72528
|
-
tool: async (client,
|
|
72529
|
-
const [result, apiCall] = await filesList(client,
|
|
72133
|
+
args: args65,
|
|
72134
|
+
tool: async (client, args66, ctx) => {
|
|
72135
|
+
const [result, apiCall] = await filesList(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72530
72136
|
if (!result.ok) {
|
|
72531
72137
|
return {
|
|
72532
72138
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72541,9 +72147,9 @@ Returns a list of the files that your account has access to. orq.ai sorts and re
|
|
|
72541
72147
|
|
|
72542
72148
|
// src/funcs/knowledgeCreate.ts
|
|
72543
72149
|
function knowledgeCreate(client, request, options) {
|
|
72544
|
-
return new APIPromise($
|
|
72150
|
+
return new APIPromise($do66(client, request, options));
|
|
72545
72151
|
}
|
|
72546
|
-
async function $
|
|
72152
|
+
async function $do66(client, request, options) {
|
|
72547
72153
|
const parsed = safeParse(request, (value) => CreateKnowledgeRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72548
72154
|
if (!parsed.ok) {
|
|
72549
72155
|
return [parsed, { status: "invalid" }];
|
|
@@ -72610,20 +72216,20 @@ var init_knowledgeCreate = __esm(() => {
|
|
|
72610
72216
|
});
|
|
72611
72217
|
|
|
72612
72218
|
// src/mcp-server/tools/knowledgeCreate.ts
|
|
72613
|
-
var
|
|
72219
|
+
var args66, tool$knowledgeCreate;
|
|
72614
72220
|
var init_knowledgeCreate2 = __esm(() => {
|
|
72615
72221
|
init_knowledgeCreate();
|
|
72616
72222
|
init_operations();
|
|
72617
72223
|
init_tools();
|
|
72618
|
-
|
|
72224
|
+
args66 = {
|
|
72619
72225
|
request: CreateKnowledgeRequestBody$inboundSchema
|
|
72620
72226
|
};
|
|
72621
72227
|
tool$knowledgeCreate = {
|
|
72622
72228
|
name: "knowledge-create",
|
|
72623
72229
|
description: `Create a knowledge`,
|
|
72624
|
-
args:
|
|
72625
|
-
tool: async (client,
|
|
72626
|
-
const [result, apiCall] = await knowledgeCreate(client,
|
|
72230
|
+
args: args66,
|
|
72231
|
+
tool: async (client, args67, ctx) => {
|
|
72232
|
+
const [result, apiCall] = await knowledgeCreate(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72627
72233
|
if (!result.ok) {
|
|
72628
72234
|
return {
|
|
72629
72235
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72638,9 +72244,9 @@ var init_knowledgeCreate2 = __esm(() => {
|
|
|
72638
72244
|
|
|
72639
72245
|
// src/funcs/knowledgeCreateChunks.ts
|
|
72640
72246
|
function knowledgeCreateChunks(client, request, options) {
|
|
72641
|
-
return new APIPromise($
|
|
72247
|
+
return new APIPromise($do67(client, request, options));
|
|
72642
72248
|
}
|
|
72643
|
-
async function $
|
|
72249
|
+
async function $do67(client, request, options) {
|
|
72644
72250
|
const parsed = safeParse(request, (value) => CreateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72645
72251
|
if (!parsed.ok) {
|
|
72646
72252
|
return [parsed, { status: "invalid" }];
|
|
@@ -72718,20 +72324,20 @@ var init_knowledgeCreateChunks = __esm(() => {
|
|
|
72718
72324
|
});
|
|
72719
72325
|
|
|
72720
72326
|
// src/mcp-server/tools/knowledgeCreateChunks.ts
|
|
72721
|
-
var
|
|
72327
|
+
var args67, tool$knowledgeCreateChunks;
|
|
72722
72328
|
var init_knowledgeCreateChunks2 = __esm(() => {
|
|
72723
72329
|
init_knowledgeCreateChunks();
|
|
72724
72330
|
init_operations();
|
|
72725
72331
|
init_tools();
|
|
72726
|
-
|
|
72332
|
+
args67 = {
|
|
72727
72333
|
request: CreateChunkRequest$inboundSchema
|
|
72728
72334
|
};
|
|
72729
72335
|
tool$knowledgeCreateChunks = {
|
|
72730
72336
|
name: "knowledge-create-chunks",
|
|
72731
72337
|
description: `Create chunks for a datasource`,
|
|
72732
|
-
args:
|
|
72733
|
-
tool: async (client,
|
|
72734
|
-
const [result, apiCall] = await knowledgeCreateChunks(client,
|
|
72338
|
+
args: args67,
|
|
72339
|
+
tool: async (client, args68, ctx) => {
|
|
72340
|
+
const [result, apiCall] = await knowledgeCreateChunks(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72735
72341
|
if (!result.ok) {
|
|
72736
72342
|
return {
|
|
72737
72343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72746,9 +72352,9 @@ var init_knowledgeCreateChunks2 = __esm(() => {
|
|
|
72746
72352
|
|
|
72747
72353
|
// src/funcs/knowledgeCreateDatasource.ts
|
|
72748
72354
|
function knowledgeCreateDatasource(client, request, options) {
|
|
72749
|
-
return new APIPromise($
|
|
72355
|
+
return new APIPromise($do68(client, request, options));
|
|
72750
72356
|
}
|
|
72751
|
-
async function $
|
|
72357
|
+
async function $do68(client, request, options) {
|
|
72752
72358
|
const parsed = safeParse(request, (value) => CreateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72753
72359
|
if (!parsed.ok) {
|
|
72754
72360
|
return [parsed, { status: "invalid" }];
|
|
@@ -72821,20 +72427,20 @@ var init_knowledgeCreateDatasource = __esm(() => {
|
|
|
72821
72427
|
});
|
|
72822
72428
|
|
|
72823
72429
|
// src/mcp-server/tools/knowledgeCreateDatasource.ts
|
|
72824
|
-
var
|
|
72430
|
+
var args68, tool$knowledgeCreateDatasource;
|
|
72825
72431
|
var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
72826
72432
|
init_knowledgeCreateDatasource();
|
|
72827
72433
|
init_operations();
|
|
72828
72434
|
init_tools();
|
|
72829
|
-
|
|
72435
|
+
args68 = {
|
|
72830
72436
|
request: CreateDatasourceRequest$inboundSchema
|
|
72831
72437
|
};
|
|
72832
72438
|
tool$knowledgeCreateDatasource = {
|
|
72833
72439
|
name: "knowledge-create-datasource",
|
|
72834
72440
|
description: `Create a new datasource`,
|
|
72835
|
-
args:
|
|
72836
|
-
tool: async (client,
|
|
72837
|
-
const [result, apiCall] = await knowledgeCreateDatasource(client,
|
|
72441
|
+
args: args68,
|
|
72442
|
+
tool: async (client, args69, ctx) => {
|
|
72443
|
+
const [result, apiCall] = await knowledgeCreateDatasource(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72838
72444
|
if (!result.ok) {
|
|
72839
72445
|
return {
|
|
72840
72446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72849,9 +72455,9 @@ var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
|
72849
72455
|
|
|
72850
72456
|
// src/funcs/knowledgeDelete.ts
|
|
72851
72457
|
function knowledgeDelete(client, request, options) {
|
|
72852
|
-
return new APIPromise($
|
|
72458
|
+
return new APIPromise($do69(client, request, options));
|
|
72853
72459
|
}
|
|
72854
|
-
async function $
|
|
72460
|
+
async function $do69(client, request, options) {
|
|
72855
72461
|
const parsed = safeParse(request, (value) => DeleteKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72856
72462
|
if (!parsed.ok) {
|
|
72857
72463
|
return [parsed, { status: "invalid" }];
|
|
@@ -72924,12 +72530,12 @@ var init_knowledgeDelete = __esm(() => {
|
|
|
72924
72530
|
});
|
|
72925
72531
|
|
|
72926
72532
|
// src/mcp-server/tools/knowledgeDelete.ts
|
|
72927
|
-
var
|
|
72533
|
+
var args69, tool$knowledgeDelete;
|
|
72928
72534
|
var init_knowledgeDelete2 = __esm(() => {
|
|
72929
72535
|
init_knowledgeDelete();
|
|
72930
72536
|
init_operations();
|
|
72931
72537
|
init_tools();
|
|
72932
|
-
|
|
72538
|
+
args69 = {
|
|
72933
72539
|
request: DeleteKnowledgeRequest$inboundSchema
|
|
72934
72540
|
};
|
|
72935
72541
|
tool$knowledgeDelete = {
|
|
@@ -72937,9 +72543,9 @@ var init_knowledgeDelete2 = __esm(() => {
|
|
|
72937
72543
|
description: `Deletes a knowledge
|
|
72938
72544
|
|
|
72939
72545
|
Deletes a knowledge base. Deleting a knowledge base will delete all the datasources and chunks associated with it.`,
|
|
72940
|
-
args:
|
|
72941
|
-
tool: async (client,
|
|
72942
|
-
const [result, apiCall] = await knowledgeDelete(client,
|
|
72546
|
+
args: args69,
|
|
72547
|
+
tool: async (client, args70, ctx) => {
|
|
72548
|
+
const [result, apiCall] = await knowledgeDelete(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72943
72549
|
if (!result.ok) {
|
|
72944
72550
|
return {
|
|
72945
72551
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72953,9 +72559,9 @@ Deletes a knowledge base. Deleting a knowledge base will delete all the datasour
|
|
|
72953
72559
|
|
|
72954
72560
|
// src/funcs/knowledgeDeleteChunk.ts
|
|
72955
72561
|
function knowledgeDeleteChunk(client, request, options) {
|
|
72956
|
-
return new APIPromise($
|
|
72562
|
+
return new APIPromise($do70(client, request, options));
|
|
72957
72563
|
}
|
|
72958
|
-
async function $
|
|
72564
|
+
async function $do70(client, request, options) {
|
|
72959
72565
|
const parsed = safeParse(request, (value) => DeleteChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72960
72566
|
if (!parsed.ok) {
|
|
72961
72567
|
return [parsed, { status: "invalid" }];
|
|
@@ -73036,20 +72642,20 @@ var init_knowledgeDeleteChunk = __esm(() => {
|
|
|
73036
72642
|
});
|
|
73037
72643
|
|
|
73038
72644
|
// src/mcp-server/tools/knowledgeDeleteChunk.ts
|
|
73039
|
-
var
|
|
72645
|
+
var args70, tool$knowledgeDeleteChunk;
|
|
73040
72646
|
var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
73041
72647
|
init_knowledgeDeleteChunk();
|
|
73042
72648
|
init_operations();
|
|
73043
72649
|
init_tools();
|
|
73044
|
-
|
|
72650
|
+
args70 = {
|
|
73045
72651
|
request: DeleteChunkRequest$inboundSchema
|
|
73046
72652
|
};
|
|
73047
72653
|
tool$knowledgeDeleteChunk = {
|
|
73048
72654
|
name: "knowledge-delete-chunk",
|
|
73049
72655
|
description: `Delete a chunk`,
|
|
73050
|
-
args:
|
|
73051
|
-
tool: async (client,
|
|
73052
|
-
const [result, apiCall] = await knowledgeDeleteChunk(client,
|
|
72656
|
+
args: args70,
|
|
72657
|
+
tool: async (client, args71, ctx) => {
|
|
72658
|
+
const [result, apiCall] = await knowledgeDeleteChunk(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73053
72659
|
if (!result.ok) {
|
|
73054
72660
|
return {
|
|
73055
72661
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73063,9 +72669,9 @@ var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
|
73063
72669
|
|
|
73064
72670
|
// src/funcs/knowledgeDeleteDatasource.ts
|
|
73065
72671
|
function knowledgeDeleteDatasource(client, request, options) {
|
|
73066
|
-
return new APIPromise($
|
|
72672
|
+
return new APIPromise($do71(client, request, options));
|
|
73067
72673
|
}
|
|
73068
|
-
async function $
|
|
72674
|
+
async function $do71(client, request, options) {
|
|
73069
72675
|
const parsed = safeParse(request, (value) => DeleteDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73070
72676
|
if (!parsed.ok) {
|
|
73071
72677
|
return [parsed, { status: "invalid" }];
|
|
@@ -73142,12 +72748,12 @@ var init_knowledgeDeleteDatasource = __esm(() => {
|
|
|
73142
72748
|
});
|
|
73143
72749
|
|
|
73144
72750
|
// src/mcp-server/tools/knowledgeDeleteDatasource.ts
|
|
73145
|
-
var
|
|
72751
|
+
var args71, tool$knowledgeDeleteDatasource;
|
|
73146
72752
|
var init_knowledgeDeleteDatasource2 = __esm(() => {
|
|
73147
72753
|
init_knowledgeDeleteDatasource();
|
|
73148
72754
|
init_operations();
|
|
73149
72755
|
init_tools();
|
|
73150
|
-
|
|
72756
|
+
args71 = {
|
|
73151
72757
|
request: DeleteDatasourceRequest$inboundSchema
|
|
73152
72758
|
};
|
|
73153
72759
|
tool$knowledgeDeleteDatasource = {
|
|
@@ -73155,9 +72761,9 @@ var init_knowledgeDeleteDatasource2 = __esm(() => {
|
|
|
73155
72761
|
description: `Deletes a datasource
|
|
73156
72762
|
|
|
73157
72763
|
Deletes a datasource from a knowledge base. Deleting a datasource will remove it from the knowledge base and all associated chunks. This action is irreversible and cannot be undone.`,
|
|
73158
|
-
args:
|
|
73159
|
-
tool: async (client,
|
|
73160
|
-
const [result, apiCall] = await knowledgeDeleteDatasource(client,
|
|
72764
|
+
args: args71,
|
|
72765
|
+
tool: async (client, args72, ctx) => {
|
|
72766
|
+
const [result, apiCall] = await knowledgeDeleteDatasource(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73161
72767
|
if (!result.ok) {
|
|
73162
72768
|
return {
|
|
73163
72769
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73171,9 +72777,9 @@ Deletes a datasource from a knowledge base. Deleting a datasource will remove it
|
|
|
73171
72777
|
|
|
73172
72778
|
// src/funcs/knowledgeList.ts
|
|
73173
72779
|
function knowledgeList(client, request, options) {
|
|
73174
|
-
return new APIPromise($
|
|
72780
|
+
return new APIPromise($do72(client, request, options));
|
|
73175
72781
|
}
|
|
73176
|
-
async function $
|
|
72782
|
+
async function $do72(client, request, options) {
|
|
73177
72783
|
const parsed = safeParse(request, (value) => ListKnowledgeBasesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
73178
72784
|
if (!parsed.ok) {
|
|
73179
72785
|
return [parsed, { status: "invalid" }];
|
|
@@ -73245,12 +72851,12 @@ var init_knowledgeList = __esm(() => {
|
|
|
73245
72851
|
});
|
|
73246
72852
|
|
|
73247
72853
|
// src/mcp-server/tools/knowledgeList.ts
|
|
73248
|
-
var
|
|
72854
|
+
var args72, tool$knowledgeList;
|
|
73249
72855
|
var init_knowledgeList2 = __esm(() => {
|
|
73250
72856
|
init_knowledgeList();
|
|
73251
72857
|
init_operations();
|
|
73252
72858
|
init_tools();
|
|
73253
|
-
|
|
72859
|
+
args72 = {
|
|
73254
72860
|
request: ListKnowledgeBasesRequest$inboundSchema.optional()
|
|
73255
72861
|
};
|
|
73256
72862
|
tool$knowledgeList = {
|
|
@@ -73258,9 +72864,9 @@ var init_knowledgeList2 = __esm(() => {
|
|
|
73258
72864
|
description: `List all knowledge bases
|
|
73259
72865
|
|
|
73260
72866
|
Returns a list of your knowledge bases. The knowledge bases are returned sorted by creation date, with the most recent knowledge bases appearing first`,
|
|
73261
|
-
args:
|
|
73262
|
-
tool: async (client,
|
|
73263
|
-
const [result, apiCall] = await knowledgeList(client,
|
|
72867
|
+
args: args72,
|
|
72868
|
+
tool: async (client, args73, ctx) => {
|
|
72869
|
+
const [result, apiCall] = await knowledgeList(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73264
72870
|
if (!result.ok) {
|
|
73265
72871
|
return {
|
|
73266
72872
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73275,9 +72881,9 @@ Returns a list of your knowledge bases. The knowledge bases are returned sorted
|
|
|
73275
72881
|
|
|
73276
72882
|
// src/funcs/knowledgeListChunks.ts
|
|
73277
72883
|
function knowledgeListChunks(client, request, options) {
|
|
73278
|
-
return new APIPromise($
|
|
72884
|
+
return new APIPromise($do73(client, request, options));
|
|
73279
72885
|
}
|
|
73280
|
-
async function $
|
|
72886
|
+
async function $do73(client, request, options) {
|
|
73281
72887
|
const parsed = safeParse(request, (value) => ListChunksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73282
72888
|
if (!parsed.ok) {
|
|
73283
72889
|
return [parsed, { status: "invalid" }];
|
|
@@ -73361,20 +72967,20 @@ var init_knowledgeListChunks = __esm(() => {
|
|
|
73361
72967
|
});
|
|
73362
72968
|
|
|
73363
72969
|
// src/mcp-server/tools/knowledgeListChunks.ts
|
|
73364
|
-
var
|
|
72970
|
+
var args73, tool$knowledgeListChunks;
|
|
73365
72971
|
var init_knowledgeListChunks2 = __esm(() => {
|
|
73366
72972
|
init_knowledgeListChunks();
|
|
73367
72973
|
init_operations();
|
|
73368
72974
|
init_tools();
|
|
73369
|
-
|
|
72975
|
+
args73 = {
|
|
73370
72976
|
request: ListChunksRequest$inboundSchema
|
|
73371
72977
|
};
|
|
73372
72978
|
tool$knowledgeListChunks = {
|
|
73373
72979
|
name: "knowledge-list-chunks",
|
|
73374
72980
|
description: `List all chunks for a datasource`,
|
|
73375
|
-
args:
|
|
73376
|
-
tool: async (client,
|
|
73377
|
-
const [result, apiCall] = await knowledgeListChunks(client,
|
|
72981
|
+
args: args73,
|
|
72982
|
+
tool: async (client, args74, ctx) => {
|
|
72983
|
+
const [result, apiCall] = await knowledgeListChunks(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73378
72984
|
if (!result.ok) {
|
|
73379
72985
|
return {
|
|
73380
72986
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73389,9 +72995,9 @@ var init_knowledgeListChunks2 = __esm(() => {
|
|
|
73389
72995
|
|
|
73390
72996
|
// src/funcs/knowledgeListDatasources.ts
|
|
73391
72997
|
function knowledgeListDatasources(client, request, options) {
|
|
73392
|
-
return new APIPromise($
|
|
72998
|
+
return new APIPromise($do74(client, request, options));
|
|
73393
72999
|
}
|
|
73394
|
-
async function $
|
|
73000
|
+
async function $do74(client, request, options) {
|
|
73395
73001
|
const parsed = safeParse(request, (value) => ListDatasourcesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73396
73002
|
if (!parsed.ok) {
|
|
73397
73003
|
return [parsed, { status: "invalid" }];
|
|
@@ -73471,20 +73077,20 @@ var init_knowledgeListDatasources = __esm(() => {
|
|
|
73471
73077
|
});
|
|
73472
73078
|
|
|
73473
73079
|
// src/mcp-server/tools/knowledgeListDatasources.ts
|
|
73474
|
-
var
|
|
73080
|
+
var args74, tool$knowledgeListDatasources;
|
|
73475
73081
|
var init_knowledgeListDatasources2 = __esm(() => {
|
|
73476
73082
|
init_knowledgeListDatasources();
|
|
73477
73083
|
init_operations();
|
|
73478
73084
|
init_tools();
|
|
73479
|
-
|
|
73085
|
+
args74 = {
|
|
73480
73086
|
request: ListDatasourcesRequest$inboundSchema
|
|
73481
73087
|
};
|
|
73482
73088
|
tool$knowledgeListDatasources = {
|
|
73483
73089
|
name: "knowledge-list-datasources",
|
|
73484
73090
|
description: `List all datasources`,
|
|
73485
|
-
args:
|
|
73486
|
-
tool: async (client,
|
|
73487
|
-
const [result, apiCall] = await knowledgeListDatasources(client,
|
|
73091
|
+
args: args74,
|
|
73092
|
+
tool: async (client, args75, ctx) => {
|
|
73093
|
+
const [result, apiCall] = await knowledgeListDatasources(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73488
73094
|
if (!result.ok) {
|
|
73489
73095
|
return {
|
|
73490
73096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73499,9 +73105,9 @@ var init_knowledgeListDatasources2 = __esm(() => {
|
|
|
73499
73105
|
|
|
73500
73106
|
// src/funcs/knowledgeRetrieve.ts
|
|
73501
73107
|
function knowledgeRetrieve(client, request, options) {
|
|
73502
|
-
return new APIPromise($
|
|
73108
|
+
return new APIPromise($do75(client, request, options));
|
|
73503
73109
|
}
|
|
73504
|
-
async function $
|
|
73110
|
+
async function $do75(client, request, options) {
|
|
73505
73111
|
const parsed = safeParse(request, (value) => GetOneKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73506
73112
|
if (!parsed.ok) {
|
|
73507
73113
|
return [parsed, { status: "invalid" }];
|
|
@@ -73573,12 +73179,12 @@ var init_knowledgeRetrieve = __esm(() => {
|
|
|
73573
73179
|
});
|
|
73574
73180
|
|
|
73575
73181
|
// src/mcp-server/tools/knowledgeRetrieve.ts
|
|
73576
|
-
var
|
|
73182
|
+
var args75, tool$knowledgeRetrieve;
|
|
73577
73183
|
var init_knowledgeRetrieve2 = __esm(() => {
|
|
73578
73184
|
init_knowledgeRetrieve();
|
|
73579
73185
|
init_operations();
|
|
73580
73186
|
init_tools();
|
|
73581
|
-
|
|
73187
|
+
args75 = {
|
|
73582
73188
|
request: GetOneKnowledgeRequest$inboundSchema
|
|
73583
73189
|
};
|
|
73584
73190
|
tool$knowledgeRetrieve = {
|
|
@@ -73586,9 +73192,9 @@ var init_knowledgeRetrieve2 = __esm(() => {
|
|
|
73586
73192
|
description: `Retrieves a knowledge base
|
|
73587
73193
|
|
|
73588
73194
|
Retrieve a knowledge base with the settings.`,
|
|
73589
|
-
args:
|
|
73590
|
-
tool: async (client,
|
|
73591
|
-
const [result, apiCall] = await knowledgeRetrieve(client,
|
|
73195
|
+
args: args75,
|
|
73196
|
+
tool: async (client, args76, ctx) => {
|
|
73197
|
+
const [result, apiCall] = await knowledgeRetrieve(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73592
73198
|
if (!result.ok) {
|
|
73593
73199
|
return {
|
|
73594
73200
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73603,9 +73209,9 @@ Retrieve a knowledge base with the settings.`,
|
|
|
73603
73209
|
|
|
73604
73210
|
// src/funcs/knowledgeRetrieveChunk.ts
|
|
73605
73211
|
function knowledgeRetrieveChunk(client, request, options) {
|
|
73606
|
-
return new APIPromise($
|
|
73212
|
+
return new APIPromise($do76(client, request, options));
|
|
73607
73213
|
}
|
|
73608
|
-
async function $
|
|
73214
|
+
async function $do76(client, request, options) {
|
|
73609
73215
|
const parsed = safeParse(request, (value) => GetOneChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73610
73216
|
if (!parsed.ok) {
|
|
73611
73217
|
return [parsed, { status: "invalid" }];
|
|
@@ -73685,20 +73291,20 @@ var init_knowledgeRetrieveChunk = __esm(() => {
|
|
|
73685
73291
|
});
|
|
73686
73292
|
|
|
73687
73293
|
// src/mcp-server/tools/knowledgeRetrieveChunk.ts
|
|
73688
|
-
var
|
|
73294
|
+
var args76, tool$knowledgeRetrieveChunk;
|
|
73689
73295
|
var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
73690
73296
|
init_knowledgeRetrieveChunk();
|
|
73691
73297
|
init_operations();
|
|
73692
73298
|
init_tools();
|
|
73693
|
-
|
|
73299
|
+
args76 = {
|
|
73694
73300
|
request: GetOneChunkRequest$inboundSchema
|
|
73695
73301
|
};
|
|
73696
73302
|
tool$knowledgeRetrieveChunk = {
|
|
73697
73303
|
name: "knowledge-retrieve-chunk",
|
|
73698
73304
|
description: `Retrieve a chunk`,
|
|
73699
|
-
args:
|
|
73700
|
-
tool: async (client,
|
|
73701
|
-
const [result, apiCall] = await knowledgeRetrieveChunk(client,
|
|
73305
|
+
args: args76,
|
|
73306
|
+
tool: async (client, args77, ctx) => {
|
|
73307
|
+
const [result, apiCall] = await knowledgeRetrieveChunk(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73702
73308
|
if (!result.ok) {
|
|
73703
73309
|
return {
|
|
73704
73310
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73713,9 +73319,9 @@ var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
|
73713
73319
|
|
|
73714
73320
|
// src/funcs/knowledgeRetrieveDatasource.ts
|
|
73715
73321
|
function knowledgeRetrieveDatasource(client, request, options) {
|
|
73716
|
-
return new APIPromise($
|
|
73322
|
+
return new APIPromise($do77(client, request, options));
|
|
73717
73323
|
}
|
|
73718
|
-
async function $
|
|
73324
|
+
async function $do77(client, request, options) {
|
|
73719
73325
|
const parsed = safeParse(request, (value) => RetrieveDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73720
73326
|
if (!parsed.ok) {
|
|
73721
73327
|
return [parsed, { status: "invalid" }];
|
|
@@ -73791,20 +73397,20 @@ var init_knowledgeRetrieveDatasource = __esm(() => {
|
|
|
73791
73397
|
});
|
|
73792
73398
|
|
|
73793
73399
|
// src/mcp-server/tools/knowledgeRetrieveDatasource.ts
|
|
73794
|
-
var
|
|
73400
|
+
var args77, tool$knowledgeRetrieveDatasource;
|
|
73795
73401
|
var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
73796
73402
|
init_knowledgeRetrieveDatasource();
|
|
73797
73403
|
init_operations();
|
|
73798
73404
|
init_tools();
|
|
73799
|
-
|
|
73405
|
+
args77 = {
|
|
73800
73406
|
request: RetrieveDatasourceRequest$inboundSchema
|
|
73801
73407
|
};
|
|
73802
73408
|
tool$knowledgeRetrieveDatasource = {
|
|
73803
73409
|
name: "knowledge-retrieve-datasource",
|
|
73804
73410
|
description: `Retrieve a datasource`,
|
|
73805
|
-
args:
|
|
73806
|
-
tool: async (client,
|
|
73807
|
-
const [result, apiCall] = await knowledgeRetrieveDatasource(client,
|
|
73411
|
+
args: args77,
|
|
73412
|
+
tool: async (client, args78, ctx) => {
|
|
73413
|
+
const [result, apiCall] = await knowledgeRetrieveDatasource(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73808
73414
|
if (!result.ok) {
|
|
73809
73415
|
return {
|
|
73810
73416
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73819,9 +73425,9 @@ var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
|
73819
73425
|
|
|
73820
73426
|
// src/funcs/knowledgeSearch.ts
|
|
73821
73427
|
function knowledgeSearch(client, request, options) {
|
|
73822
|
-
return new APIPromise($
|
|
73428
|
+
return new APIPromise($do78(client, request, options));
|
|
73823
73429
|
}
|
|
73824
|
-
async function $
|
|
73430
|
+
async function $do78(client, request, options) {
|
|
73825
73431
|
const parsed = safeParse(request, (value) => SearchKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73826
73432
|
if (!parsed.ok) {
|
|
73827
73433
|
return [parsed, { status: "invalid" }];
|
|
@@ -73894,12 +73500,12 @@ var init_knowledgeSearch = __esm(() => {
|
|
|
73894
73500
|
});
|
|
73895
73501
|
|
|
73896
73502
|
// src/mcp-server/tools/knowledgeSearch.ts
|
|
73897
|
-
var
|
|
73503
|
+
var args78, tool$knowledgeSearch;
|
|
73898
73504
|
var init_knowledgeSearch2 = __esm(() => {
|
|
73899
73505
|
init_knowledgeSearch();
|
|
73900
73506
|
init_operations();
|
|
73901
73507
|
init_tools();
|
|
73902
|
-
|
|
73508
|
+
args78 = {
|
|
73903
73509
|
request: SearchKnowledgeRequest$inboundSchema
|
|
73904
73510
|
};
|
|
73905
73511
|
tool$knowledgeSearch = {
|
|
@@ -73907,9 +73513,9 @@ var init_knowledgeSearch2 = __esm(() => {
|
|
|
73907
73513
|
description: `Search knowledge base
|
|
73908
73514
|
|
|
73909
73515
|
Search a Knowledge Base and return the most similar chunks, along with their search and rerank scores.`,
|
|
73910
|
-
args:
|
|
73911
|
-
tool: async (client,
|
|
73912
|
-
const [result, apiCall] = await knowledgeSearch(client,
|
|
73516
|
+
args: args78,
|
|
73517
|
+
tool: async (client, args79, ctx) => {
|
|
73518
|
+
const [result, apiCall] = await knowledgeSearch(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73913
73519
|
if (!result.ok) {
|
|
73914
73520
|
return {
|
|
73915
73521
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73924,9 +73530,9 @@ Search a Knowledge Base and return the most similar chunks, along with their sea
|
|
|
73924
73530
|
|
|
73925
73531
|
// src/funcs/knowledgeUpdate.ts
|
|
73926
73532
|
function knowledgeUpdate(client, request, options) {
|
|
73927
|
-
return new APIPromise($
|
|
73533
|
+
return new APIPromise($do79(client, request, options));
|
|
73928
73534
|
}
|
|
73929
|
-
async function $
|
|
73535
|
+
async function $do79(client, request, options) {
|
|
73930
73536
|
const parsed = safeParse(request, (value) => UpdateKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73931
73537
|
if (!parsed.ok) {
|
|
73932
73538
|
return [parsed, { status: "invalid" }];
|
|
@@ -73999,20 +73605,20 @@ var init_knowledgeUpdate = __esm(() => {
|
|
|
73999
73605
|
});
|
|
74000
73606
|
|
|
74001
73607
|
// src/mcp-server/tools/knowledgeUpdate.ts
|
|
74002
|
-
var
|
|
73608
|
+
var args79, tool$knowledgeUpdate;
|
|
74003
73609
|
var init_knowledgeUpdate2 = __esm(() => {
|
|
74004
73610
|
init_knowledgeUpdate();
|
|
74005
73611
|
init_operations();
|
|
74006
73612
|
init_tools();
|
|
74007
|
-
|
|
73613
|
+
args79 = {
|
|
74008
73614
|
request: UpdateKnowledgeRequest$inboundSchema
|
|
74009
73615
|
};
|
|
74010
73616
|
tool$knowledgeUpdate = {
|
|
74011
73617
|
name: "knowledge-update",
|
|
74012
73618
|
description: `Updates a knowledge`,
|
|
74013
|
-
args:
|
|
74014
|
-
tool: async (client,
|
|
74015
|
-
const [result, apiCall] = await knowledgeUpdate(client,
|
|
73619
|
+
args: args79,
|
|
73620
|
+
tool: async (client, args80, ctx) => {
|
|
73621
|
+
const [result, apiCall] = await knowledgeUpdate(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74016
73622
|
if (!result.ok) {
|
|
74017
73623
|
return {
|
|
74018
73624
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74027,9 +73633,9 @@ var init_knowledgeUpdate2 = __esm(() => {
|
|
|
74027
73633
|
|
|
74028
73634
|
// src/funcs/knowledgeUpdateChunk.ts
|
|
74029
73635
|
function knowledgeUpdateChunk(client, request, options) {
|
|
74030
|
-
return new APIPromise($
|
|
73636
|
+
return new APIPromise($do80(client, request, options));
|
|
74031
73637
|
}
|
|
74032
|
-
async function $
|
|
73638
|
+
async function $do80(client, request, options) {
|
|
74033
73639
|
const parsed = safeParse(request, (value) => UpdateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74034
73640
|
if (!parsed.ok) {
|
|
74035
73641
|
return [parsed, { status: "invalid" }];
|
|
@@ -74110,20 +73716,20 @@ var init_knowledgeUpdateChunk = __esm(() => {
|
|
|
74110
73716
|
});
|
|
74111
73717
|
|
|
74112
73718
|
// src/mcp-server/tools/knowledgeUpdateChunk.ts
|
|
74113
|
-
var
|
|
73719
|
+
var args80, tool$knowledgeUpdateChunk;
|
|
74114
73720
|
var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
74115
73721
|
init_knowledgeUpdateChunk();
|
|
74116
73722
|
init_operations();
|
|
74117
73723
|
init_tools();
|
|
74118
|
-
|
|
73724
|
+
args80 = {
|
|
74119
73725
|
request: UpdateChunkRequest$inboundSchema
|
|
74120
73726
|
};
|
|
74121
73727
|
tool$knowledgeUpdateChunk = {
|
|
74122
73728
|
name: "knowledge-update-chunk",
|
|
74123
73729
|
description: `Update a chunk`,
|
|
74124
|
-
args:
|
|
74125
|
-
tool: async (client,
|
|
74126
|
-
const [result, apiCall] = await knowledgeUpdateChunk(client,
|
|
73730
|
+
args: args80,
|
|
73731
|
+
tool: async (client, args81, ctx) => {
|
|
73732
|
+
const [result, apiCall] = await knowledgeUpdateChunk(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74127
73733
|
if (!result.ok) {
|
|
74128
73734
|
return {
|
|
74129
73735
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74138,9 +73744,9 @@ var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
|
74138
73744
|
|
|
74139
73745
|
// src/funcs/knowledgeUpdateDatasource.ts
|
|
74140
73746
|
function knowledgeUpdateDatasource(client, request, options) {
|
|
74141
|
-
return new APIPromise($
|
|
73747
|
+
return new APIPromise($do81(client, request, options));
|
|
74142
73748
|
}
|
|
74143
|
-
async function $
|
|
73749
|
+
async function $do81(client, request, options) {
|
|
74144
73750
|
const parsed = safeParse(request, (value) => UpdateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74145
73751
|
if (!parsed.ok) {
|
|
74146
73752
|
return [parsed, { status: "invalid" }];
|
|
@@ -74217,20 +73823,20 @@ var init_knowledgeUpdateDatasource = __esm(() => {
|
|
|
74217
73823
|
});
|
|
74218
73824
|
|
|
74219
73825
|
// src/mcp-server/tools/knowledgeUpdateDatasource.ts
|
|
74220
|
-
var
|
|
73826
|
+
var args81, tool$knowledgeUpdateDatasource;
|
|
74221
73827
|
var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
74222
73828
|
init_knowledgeUpdateDatasource();
|
|
74223
73829
|
init_operations();
|
|
74224
73830
|
init_tools();
|
|
74225
|
-
|
|
73831
|
+
args81 = {
|
|
74226
73832
|
request: UpdateDatasourceRequest$inboundSchema
|
|
74227
73833
|
};
|
|
74228
73834
|
tool$knowledgeUpdateDatasource = {
|
|
74229
73835
|
name: "knowledge-update-datasource",
|
|
74230
73836
|
description: `Update a datasource`,
|
|
74231
|
-
args:
|
|
74232
|
-
tool: async (client,
|
|
74233
|
-
const [result, apiCall] = await knowledgeUpdateDatasource(client,
|
|
73837
|
+
args: args81,
|
|
73838
|
+
tool: async (client, args82, ctx) => {
|
|
73839
|
+
const [result, apiCall] = await knowledgeUpdateDatasource(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74234
73840
|
if (!result.ok) {
|
|
74235
73841
|
return {
|
|
74236
73842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74245,9 +73851,9 @@ var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
|
74245
73851
|
|
|
74246
73852
|
// src/funcs/modelsList.ts
|
|
74247
73853
|
function modelsList(client, options) {
|
|
74248
|
-
return new APIPromise($
|
|
73854
|
+
return new APIPromise($do82(client, options));
|
|
74249
73855
|
}
|
|
74250
|
-
async function $
|
|
73856
|
+
async function $do82(client, options) {
|
|
74251
73857
|
const path = pathToFunc("/v2/models")();
|
|
74252
73858
|
const headers = new Headers(compactMap({
|
|
74253
73859
|
Accept: "application/json"
|
|
@@ -74329,9 +73935,9 @@ Lists the currently available models, and provides basic information about each
|
|
|
74329
73935
|
|
|
74330
73936
|
// src/funcs/promptsCreate.ts
|
|
74331
73937
|
function promptsCreate(client, request, options) {
|
|
74332
|
-
return new APIPromise($
|
|
73938
|
+
return new APIPromise($do83(client, request, options));
|
|
74333
73939
|
}
|
|
74334
|
-
async function $
|
|
73940
|
+
async function $do83(client, request, options) {
|
|
74335
73941
|
const parsed = safeParse(request, (value) => CreatePromptRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74336
73942
|
if (!parsed.ok) {
|
|
74337
73943
|
return [parsed, { status: "invalid" }];
|
|
@@ -74398,20 +74004,20 @@ var init_promptsCreate = __esm(() => {
|
|
|
74398
74004
|
});
|
|
74399
74005
|
|
|
74400
74006
|
// src/mcp-server/tools/promptsCreate.ts
|
|
74401
|
-
var
|
|
74007
|
+
var args82, tool$promptsCreate;
|
|
74402
74008
|
var init_promptsCreate2 = __esm(() => {
|
|
74403
74009
|
init_promptsCreate();
|
|
74404
74010
|
init_operations();
|
|
74405
74011
|
init_tools();
|
|
74406
|
-
|
|
74012
|
+
args82 = {
|
|
74407
74013
|
request: CreatePromptRequestBody$inboundSchema.optional()
|
|
74408
74014
|
};
|
|
74409
74015
|
tool$promptsCreate = {
|
|
74410
74016
|
name: "prompts-create",
|
|
74411
74017
|
description: `Create a prompt`,
|
|
74412
|
-
args:
|
|
74413
|
-
tool: async (client,
|
|
74414
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
74018
|
+
args: args82,
|
|
74019
|
+
tool: async (client, args83, ctx) => {
|
|
74020
|
+
const [result, apiCall] = await promptsCreate(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74415
74021
|
if (!result.ok) {
|
|
74416
74022
|
return {
|
|
74417
74023
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74426,9 +74032,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
74426
74032
|
|
|
74427
74033
|
// src/funcs/promptsDelete.ts
|
|
74428
74034
|
function promptsDelete(client, request, options) {
|
|
74429
|
-
return new APIPromise($
|
|
74035
|
+
return new APIPromise($do84(client, request, options));
|
|
74430
74036
|
}
|
|
74431
|
-
async function $
|
|
74037
|
+
async function $do84(client, request, options) {
|
|
74432
74038
|
const parsed = safeParse(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74433
74039
|
if (!parsed.ok) {
|
|
74434
74040
|
return [parsed, { status: "invalid" }];
|
|
@@ -74501,20 +74107,20 @@ var init_promptsDelete = __esm(() => {
|
|
|
74501
74107
|
});
|
|
74502
74108
|
|
|
74503
74109
|
// src/mcp-server/tools/promptsDelete.ts
|
|
74504
|
-
var
|
|
74110
|
+
var args83, tool$promptsDelete;
|
|
74505
74111
|
var init_promptsDelete2 = __esm(() => {
|
|
74506
74112
|
init_promptsDelete();
|
|
74507
74113
|
init_operations();
|
|
74508
74114
|
init_tools();
|
|
74509
|
-
|
|
74115
|
+
args83 = {
|
|
74510
74116
|
request: DeletePromptRequest$inboundSchema
|
|
74511
74117
|
};
|
|
74512
74118
|
tool$promptsDelete = {
|
|
74513
74119
|
name: "prompts-delete",
|
|
74514
74120
|
description: `Delete a prompt`,
|
|
74515
|
-
args:
|
|
74516
|
-
tool: async (client,
|
|
74517
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
74121
|
+
args: args83,
|
|
74122
|
+
tool: async (client, args84, ctx) => {
|
|
74123
|
+
const [result, apiCall] = await promptsDelete(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74518
74124
|
if (!result.ok) {
|
|
74519
74125
|
return {
|
|
74520
74126
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74528,9 +74134,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
74528
74134
|
|
|
74529
74135
|
// src/funcs/promptsGetVersion.ts
|
|
74530
74136
|
function promptsGetVersion(client, request, options) {
|
|
74531
|
-
return new APIPromise($
|
|
74137
|
+
return new APIPromise($do85(client, request, options));
|
|
74532
74138
|
}
|
|
74533
|
-
async function $
|
|
74139
|
+
async function $do85(client, request, options) {
|
|
74534
74140
|
const parsed = safeParse(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74535
74141
|
if (!parsed.ok) {
|
|
74536
74142
|
return [parsed, { status: "invalid" }];
|
|
@@ -74610,12 +74216,12 @@ var init_promptsGetVersion = __esm(() => {
|
|
|
74610
74216
|
});
|
|
74611
74217
|
|
|
74612
74218
|
// src/mcp-server/tools/promptsGetVersion.ts
|
|
74613
|
-
var
|
|
74219
|
+
var args84, tool$promptsGetVersion;
|
|
74614
74220
|
var init_promptsGetVersion2 = __esm(() => {
|
|
74615
74221
|
init_promptsGetVersion();
|
|
74616
74222
|
init_operations();
|
|
74617
74223
|
init_tools();
|
|
74618
|
-
|
|
74224
|
+
args84 = {
|
|
74619
74225
|
request: GetPromptVersionRequest$inboundSchema
|
|
74620
74226
|
};
|
|
74621
74227
|
tool$promptsGetVersion = {
|
|
@@ -74623,9 +74229,9 @@ var init_promptsGetVersion2 = __esm(() => {
|
|
|
74623
74229
|
description: `Retrieve a prompt version
|
|
74624
74230
|
|
|
74625
74231
|
Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
74626
|
-
args:
|
|
74627
|
-
tool: async (client,
|
|
74628
|
-
const [result, apiCall] = await promptsGetVersion(client,
|
|
74232
|
+
args: args84,
|
|
74233
|
+
tool: async (client, args85, ctx) => {
|
|
74234
|
+
const [result, apiCall] = await promptsGetVersion(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74629
74235
|
if (!result.ok) {
|
|
74630
74236
|
return {
|
|
74631
74237
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74640,9 +74246,9 @@ Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
|
74640
74246
|
|
|
74641
74247
|
// src/funcs/promptsList.ts
|
|
74642
74248
|
function promptsList(client, request, options) {
|
|
74643
|
-
return new APIPromise($
|
|
74249
|
+
return new APIPromise($do86(client, request, options));
|
|
74644
74250
|
}
|
|
74645
|
-
async function $
|
|
74251
|
+
async function $do86(client, request, options) {
|
|
74646
74252
|
const parsed = safeParse(request, (value) => GetAllPromptsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74647
74253
|
if (!parsed.ok) {
|
|
74648
74254
|
return [parsed, { status: "invalid" }];
|
|
@@ -74714,12 +74320,12 @@ var init_promptsList = __esm(() => {
|
|
|
74714
74320
|
});
|
|
74715
74321
|
|
|
74716
74322
|
// src/mcp-server/tools/promptsList.ts
|
|
74717
|
-
var
|
|
74323
|
+
var args85, tool$promptsList;
|
|
74718
74324
|
var init_promptsList2 = __esm(() => {
|
|
74719
74325
|
init_promptsList();
|
|
74720
74326
|
init_operations();
|
|
74721
74327
|
init_tools();
|
|
74722
|
-
|
|
74328
|
+
args85 = {
|
|
74723
74329
|
request: GetAllPromptsRequest$inboundSchema.optional()
|
|
74724
74330
|
};
|
|
74725
74331
|
tool$promptsList = {
|
|
@@ -74727,9 +74333,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
74727
74333
|
description: `List all prompts
|
|
74728
74334
|
|
|
74729
74335
|
Returns a list of your prompts. The prompts are returned sorted by creation date, with the most recent prompts appearing first`,
|
|
74730
|
-
args:
|
|
74731
|
-
tool: async (client,
|
|
74732
|
-
const [result, apiCall] = await promptsList(client,
|
|
74336
|
+
args: args85,
|
|
74337
|
+
tool: async (client, args86, ctx) => {
|
|
74338
|
+
const [result, apiCall] = await promptsList(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74733
74339
|
if (!result.ok) {
|
|
74734
74340
|
return {
|
|
74735
74341
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74744,9 +74350,9 @@ Returns a list of your prompts. The prompts are returned sorted by creation date
|
|
|
74744
74350
|
|
|
74745
74351
|
// src/funcs/promptsListVersions.ts
|
|
74746
74352
|
function promptsListVersions(client, request, options) {
|
|
74747
|
-
return new APIPromise($
|
|
74353
|
+
return new APIPromise($do87(client, request, options));
|
|
74748
74354
|
}
|
|
74749
|
-
async function $
|
|
74355
|
+
async function $do87(client, request, options) {
|
|
74750
74356
|
const parsed = safeParse(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74751
74357
|
if (!parsed.ok) {
|
|
74752
74358
|
return [parsed, { status: "invalid" }];
|
|
@@ -74824,12 +74430,12 @@ var init_promptsListVersions = __esm(() => {
|
|
|
74824
74430
|
});
|
|
74825
74431
|
|
|
74826
74432
|
// src/mcp-server/tools/promptsListVersions.ts
|
|
74827
|
-
var
|
|
74433
|
+
var args86, tool$promptsListVersions;
|
|
74828
74434
|
var init_promptsListVersions2 = __esm(() => {
|
|
74829
74435
|
init_promptsListVersions();
|
|
74830
74436
|
init_operations();
|
|
74831
74437
|
init_tools();
|
|
74832
|
-
|
|
74438
|
+
args86 = {
|
|
74833
74439
|
request: ListPromptVersionsRequest$inboundSchema
|
|
74834
74440
|
};
|
|
74835
74441
|
tool$promptsListVersions = {
|
|
@@ -74837,9 +74443,9 @@ var init_promptsListVersions2 = __esm(() => {
|
|
|
74837
74443
|
description: `List all prompt versions
|
|
74838
74444
|
|
|
74839
74445
|
Returns a list of your prompt versions. The prompt versions are returned sorted by creation date, with the most recent prompt versions appearing first`,
|
|
74840
|
-
args:
|
|
74841
|
-
tool: async (client,
|
|
74842
|
-
const [result, apiCall] = await promptsListVersions(client,
|
|
74446
|
+
args: args86,
|
|
74447
|
+
tool: async (client, args87, ctx) => {
|
|
74448
|
+
const [result, apiCall] = await promptsListVersions(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74843
74449
|
if (!result.ok) {
|
|
74844
74450
|
return {
|
|
74845
74451
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74854,9 +74460,9 @@ Returns a list of your prompt versions. The prompt versions are returned sorted
|
|
|
74854
74460
|
|
|
74855
74461
|
// src/funcs/promptsRetrieve.ts
|
|
74856
74462
|
function promptsRetrieve(client, request, options) {
|
|
74857
|
-
return new APIPromise($
|
|
74463
|
+
return new APIPromise($do88(client, request, options));
|
|
74858
74464
|
}
|
|
74859
|
-
async function $
|
|
74465
|
+
async function $do88(client, request, options) {
|
|
74860
74466
|
const parsed = safeParse(request, (value) => GetOnePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74861
74467
|
if (!parsed.ok) {
|
|
74862
74468
|
return [parsed, { status: "invalid" }];
|
|
@@ -74928,12 +74534,12 @@ var init_promptsRetrieve = __esm(() => {
|
|
|
74928
74534
|
});
|
|
74929
74535
|
|
|
74930
74536
|
// src/mcp-server/tools/promptsRetrieve.ts
|
|
74931
|
-
var
|
|
74537
|
+
var args87, tool$promptsRetrieve;
|
|
74932
74538
|
var init_promptsRetrieve2 = __esm(() => {
|
|
74933
74539
|
init_promptsRetrieve();
|
|
74934
74540
|
init_operations();
|
|
74935
74541
|
init_tools();
|
|
74936
|
-
|
|
74542
|
+
args87 = {
|
|
74937
74543
|
request: GetOnePromptRequest$inboundSchema
|
|
74938
74544
|
};
|
|
74939
74545
|
tool$promptsRetrieve = {
|
|
@@ -74941,9 +74547,9 @@ var init_promptsRetrieve2 = __esm(() => {
|
|
|
74941
74547
|
description: `Retrieve a prompt
|
|
74942
74548
|
|
|
74943
74549
|
Retrieves a prompt object`,
|
|
74944
|
-
args:
|
|
74945
|
-
tool: async (client,
|
|
74946
|
-
const [result, apiCall] = await promptsRetrieve(client,
|
|
74550
|
+
args: args87,
|
|
74551
|
+
tool: async (client, args88, ctx) => {
|
|
74552
|
+
const [result, apiCall] = await promptsRetrieve(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74947
74553
|
if (!result.ok) {
|
|
74948
74554
|
return {
|
|
74949
74555
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74958,9 +74564,9 @@ Retrieves a prompt object`,
|
|
|
74958
74564
|
|
|
74959
74565
|
// src/funcs/promptsUpdate.ts
|
|
74960
74566
|
function promptsUpdate(client, request, options) {
|
|
74961
|
-
return new APIPromise($
|
|
74567
|
+
return new APIPromise($do89(client, request, options));
|
|
74962
74568
|
}
|
|
74963
|
-
async function $
|
|
74569
|
+
async function $do89(client, request, options) {
|
|
74964
74570
|
const parsed = safeParse(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74965
74571
|
if (!parsed.ok) {
|
|
74966
74572
|
return [parsed, { status: "invalid" }];
|
|
@@ -75037,20 +74643,20 @@ var init_promptsUpdate = __esm(() => {
|
|
|
75037
74643
|
});
|
|
75038
74644
|
|
|
75039
74645
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
75040
|
-
var
|
|
74646
|
+
var args88, tool$promptsUpdate;
|
|
75041
74647
|
var init_promptsUpdate2 = __esm(() => {
|
|
75042
74648
|
init_promptsUpdate();
|
|
75043
74649
|
init_operations();
|
|
75044
74650
|
init_tools();
|
|
75045
|
-
|
|
74651
|
+
args88 = {
|
|
75046
74652
|
request: UpdatePromptRequest$inboundSchema
|
|
75047
74653
|
};
|
|
75048
74654
|
tool$promptsUpdate = {
|
|
75049
74655
|
name: "prompts-update",
|
|
75050
74656
|
description: `Update a prompt`,
|
|
75051
|
-
args:
|
|
75052
|
-
tool: async (client,
|
|
75053
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
74657
|
+
args: args88,
|
|
74658
|
+
tool: async (client, args89, ctx) => {
|
|
74659
|
+
const [result, apiCall] = await promptsUpdate(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75054
74660
|
if (!result.ok) {
|
|
75055
74661
|
return {
|
|
75056
74662
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75065,9 +74671,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
75065
74671
|
|
|
75066
74672
|
// src/funcs/remoteconfigsRetrieve.ts
|
|
75067
74673
|
function remoteconfigsRetrieve(client, request, options) {
|
|
75068
|
-
return new APIPromise($
|
|
74674
|
+
return new APIPromise($do90(client, request, options));
|
|
75069
74675
|
}
|
|
75070
|
-
async function $
|
|
74676
|
+
async function $do90(client, request, options) {
|
|
75071
74677
|
const parsed = safeParse(request, (value) => RemoteConfigsGetConfigRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75072
74678
|
if (!parsed.ok) {
|
|
75073
74679
|
return [parsed, { status: "invalid" }];
|
|
@@ -75134,20 +74740,20 @@ var init_remoteconfigsRetrieve = __esm(() => {
|
|
|
75134
74740
|
});
|
|
75135
74741
|
|
|
75136
74742
|
// src/mcp-server/tools/remoteconfigsRetrieve.ts
|
|
75137
|
-
var
|
|
74743
|
+
var args89, tool$remoteconfigsRetrieve;
|
|
75138
74744
|
var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
75139
74745
|
init_remoteconfigsRetrieve();
|
|
75140
74746
|
init_operations();
|
|
75141
74747
|
init_tools();
|
|
75142
|
-
|
|
74748
|
+
args89 = {
|
|
75143
74749
|
request: RemoteConfigsGetConfigRequestBody$inboundSchema.optional()
|
|
75144
74750
|
};
|
|
75145
74751
|
tool$remoteconfigsRetrieve = {
|
|
75146
74752
|
name: "remoteconfigs-retrieve",
|
|
75147
74753
|
description: `Retrieve a remote config`,
|
|
75148
|
-
args:
|
|
75149
|
-
tool: async (client,
|
|
75150
|
-
const [result, apiCall] = await remoteconfigsRetrieve(client,
|
|
74754
|
+
args: args89,
|
|
74755
|
+
tool: async (client, args90, ctx) => {
|
|
74756
|
+
const [result, apiCall] = await remoteconfigsRetrieve(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75151
74757
|
if (!result.ok) {
|
|
75152
74758
|
return {
|
|
75153
74759
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75164,7 +74770,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
75164
74770
|
function createMCPServer(deps) {
|
|
75165
74771
|
const server = new McpServer({
|
|
75166
74772
|
name: "Orq",
|
|
75167
|
-
version: "3.8.
|
|
74773
|
+
version: "3.8.7"
|
|
75168
74774
|
});
|
|
75169
74775
|
const client = new OrqCore({
|
|
75170
74776
|
apiKey: deps.apiKey,
|
|
@@ -75190,7 +74796,6 @@ function createMCPServer(deps) {
|
|
|
75190
74796
|
tool(tool$deploymentsGetConfig);
|
|
75191
74797
|
tool(tool$deploymentsInvoke);
|
|
75192
74798
|
tool(tool$deploymentsStream);
|
|
75193
|
-
tool(tool$deploymentsCreateExperiment);
|
|
75194
74799
|
tool(tool$filesCreate);
|
|
75195
74800
|
tool(tool$filesList);
|
|
75196
74801
|
tool(tool$filesGet);
|
|
@@ -75209,7 +74814,6 @@ function createMCPServer(deps) {
|
|
|
75209
74814
|
tool(tool$datasetsRetrieve);
|
|
75210
74815
|
tool(tool$datasetsUpdate);
|
|
75211
74816
|
tool(tool$datasetsDelete);
|
|
75212
|
-
tool(tool$datasetsCreateExperiment);
|
|
75213
74817
|
tool(tool$datasetsListDatapoints);
|
|
75214
74818
|
tool(tool$datasetsCreateDatapoint);
|
|
75215
74819
|
tool(tool$datasetsRetrieveDatapoint);
|
|
@@ -75287,7 +74891,6 @@ var init_server2 = __esm(() => {
|
|
|
75287
74891
|
init_datasetsClear2();
|
|
75288
74892
|
init_datasetsCreate2();
|
|
75289
74893
|
init_datasetsCreateDatapoint2();
|
|
75290
|
-
init_datasetsCreateExperiment2();
|
|
75291
74894
|
init_datasetsDelete2();
|
|
75292
74895
|
init_datasetsDeleteDatapoint2();
|
|
75293
74896
|
init_datasetsList2();
|
|
@@ -75296,7 +74899,6 @@ var init_server2 = __esm(() => {
|
|
|
75296
74899
|
init_datasetsRetrieveDatapoint2();
|
|
75297
74900
|
init_datasetsUpdate2();
|
|
75298
74901
|
init_datasetsUpdateDatapoint2();
|
|
75299
|
-
init_deploymentsCreateExperiment2();
|
|
75300
74902
|
init_deploymentsGetConfig2();
|
|
75301
74903
|
init_deploymentsInvoke2();
|
|
75302
74904
|
init_deploymentsList2();
|
|
@@ -76584,7 +76186,7 @@ var routes = rn({
|
|
|
76584
76186
|
var app = Ve(routes, {
|
|
76585
76187
|
name: "mcp",
|
|
76586
76188
|
versionInfo: {
|
|
76587
|
-
currentVersion: "3.8.
|
|
76189
|
+
currentVersion: "3.8.7"
|
|
76588
76190
|
}
|
|
76589
76191
|
});
|
|
76590
76192
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -76592,5 +76194,5 @@ export {
|
|
|
76592
76194
|
app
|
|
76593
76195
|
};
|
|
76594
76196
|
|
|
76595
|
-
//# debugId=
|
|
76197
|
+
//# debugId=6C1852797D64A82B64756E2164756E21
|
|
76596
76198
|
//# sourceMappingURL=mcp-server.js.map
|