@orq-ai/node 4.1.0-rc.5 → 4.1.0-rc.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/bin/mcp-server.js +213 -213
- package/bin/mcp-server.js.map +41 -41
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagentrequest.d.ts +3 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +3 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +3 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updateagent.d.ts +3 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagentrequest.ts +3 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- 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/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +3 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +3 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updateagent.ts +3 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -974,7 +974,7 @@ exports.RetrieveDatapointEvaluations3$inboundSchema = z.object({
|
|
|
974
974
|
source: exports.RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
975
975
|
.default("orq"),
|
|
976
976
|
reviewed_by_id: z.string(),
|
|
977
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-
|
|
977
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-26T06:13:24.711Z").transform(v => new Date(v)),
|
|
978
978
|
type: exports.RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
979
979
|
values: z.array(z.string()),
|
|
980
980
|
}).transform((v) => {
|
|
@@ -993,7 +993,7 @@ exports.RetrieveDatapointEvaluations3$outboundSchema = z.object({
|
|
|
993
993
|
source: exports.RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
994
994
|
.default("orq"),
|
|
995
995
|
reviewedById: z.string(),
|
|
996
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
996
|
+
reviewedAt: z.date().default(() => new Date("2025-11-26T06:13:24.711Z"))
|
|
997
997
|
.transform(v => v.toISOString()),
|
|
998
998
|
type: exports.RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
999
999
|
values: z.array(z.string()),
|
|
@@ -1033,7 +1033,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
1033
1033
|
human_review_id: z.string(),
|
|
1034
1034
|
source: exports.RetrieveDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
1035
1035
|
reviewed_by_id: z.string(),
|
|
1036
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-
|
|
1036
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-26T06:13:24.711Z").transform(v => new Date(v)),
|
|
1037
1037
|
type: exports.RetrieveDatapointEvaluationsDatasetsType$inboundSchema,
|
|
1038
1038
|
value: z.number(),
|
|
1039
1039
|
}).transform((v) => {
|
|
@@ -1051,7 +1051,7 @@ exports.RetrieveDatapointEvaluations2$outboundSchema = z.object({
|
|
|
1051
1051
|
humanReviewId: z.string(),
|
|
1052
1052
|
source: exports.RetrieveDatapointEvaluationsDatasetsSource$outboundSchema.default("orq"),
|
|
1053
1053
|
reviewedById: z.string(),
|
|
1054
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
1054
|
+
reviewedAt: z.date().default(() => new Date("2025-11-26T06:13:24.711Z"))
|
|
1055
1055
|
.transform(v => v.toISOString()),
|
|
1056
1056
|
type: exports.RetrieveDatapointEvaluationsDatasetsType$outboundSchema,
|
|
1057
1057
|
value: z.number(),
|
|
@@ -1089,7 +1089,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
1089
1089
|
human_review_id: z.string(),
|
|
1090
1090
|
source: exports.RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
1091
1091
|
reviewed_by_id: z.string(),
|
|
1092
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-
|
|
1092
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-26T06:13:24.710Z").transform(v => new Date(v)),
|
|
1093
1093
|
type: exports.RetrieveDatapointEvaluationsType$inboundSchema,
|
|
1094
1094
|
value: z.string(),
|
|
1095
1095
|
}).transform((v) => {
|
|
@@ -1107,7 +1107,7 @@ exports.RetrieveDatapointEvaluations1$outboundSchema = z.object({
|
|
|
1107
1107
|
humanReviewId: z.string(),
|
|
1108
1108
|
source: exports.RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
1109
1109
|
reviewedById: z.string(),
|
|
1110
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
1110
|
+
reviewedAt: z.date().default(() => new Date("2025-11-26T06:13:24.710Z"))
|
|
1111
1111
|
.transform(v => v.toISOString()),
|
|
1112
1112
|
type: exports.RetrieveDatapointEvaluationsType$outboundSchema,
|
|
1113
1113
|
value: z.string(),
|
|
@@ -1167,7 +1167,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
1167
1167
|
updated_by_id: z.string().optional(),
|
|
1168
1168
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1169
1169
|
.optional(),
|
|
1170
|
-
updated: z.string().datetime({ offset: true }).default("2025-11-
|
|
1170
|
+
updated: z.string().datetime({ offset: true }).default("2025-11-26T06:13:13.969Z").transform(v => new Date(v)),
|
|
1171
1171
|
}).transform((v) => {
|
|
1172
1172
|
return (0, primitives_js_1.remap)(v, {
|
|
1173
1173
|
"_id": "id",
|
|
@@ -1202,7 +1202,7 @@ exports.RetrieveDatapointResponseBody$outboundSchema = z.object({
|
|
|
1202
1202
|
createdById: z.string().optional(),
|
|
1203
1203
|
updatedById: z.string().optional(),
|
|
1204
1204
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1205
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
1205
|
+
updated: z.date().default(() => new Date("2025-11-26T06:13:13.969Z"))
|
|
1206
1206
|
.transform(v => v.toISOString()),
|
|
1207
1207
|
}).transform((v) => {
|
|
1208
1208
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -105,7 +105,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
105
105
|
updated_by_id: z.string().optional(),
|
|
106
106
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
107
107
|
.optional(),
|
|
108
|
-
updated: z.string().datetime({ offset: true }).default("2025-11-
|
|
108
|
+
updated: z.string().datetime({ offset: true }).default("2025-11-26T06:13:13.969Z").transform(v => new Date(v)),
|
|
109
109
|
}).transform((v) => {
|
|
110
110
|
return (0, primitives_js_1.remap)(v, {
|
|
111
111
|
"_id": "id",
|
|
@@ -126,7 +126,7 @@ exports.RetrieveDatasetResponseBody$outboundSchema = z.object({
|
|
|
126
126
|
createdById: z.string().optional(),
|
|
127
127
|
updatedById: z.string().optional(),
|
|
128
128
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
129
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
129
|
+
updated: z.date().default(() => new Date("2025-11-26T06:13:13.969Z"))
|
|
130
130
|
.transform(v => v.toISOString()),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -83,7 +83,7 @@ exports.RetrieveDatasourceStatus$inboundSchema = z.nativeEnum(exports.RetrieveDa
|
|
|
83
83
|
exports.RetrieveDatasourceStatus$outboundSchema = exports.RetrieveDatasourceStatus$inboundSchema;
|
|
84
84
|
/** @internal */
|
|
85
85
|
exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
86
|
-
_id: z.string().default("
|
|
86
|
+
_id: z.string().default("01KAZCQ5GNC14ZGGG3TD2FH0VQ"),
|
|
87
87
|
display_name: z.string(),
|
|
88
88
|
description: z.string().optional(),
|
|
89
89
|
status: exports.RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -107,7 +107,7 @@ exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
|
107
107
|
});
|
|
108
108
|
/** @internal */
|
|
109
109
|
exports.RetrieveDatasourceResponseBody$outboundSchema = z.object({
|
|
110
|
-
id: z.string().default("
|
|
110
|
+
id: z.string().default("01KAZCQ5GNC14ZGGG3TD2FH0VQ"),
|
|
111
111
|
displayName: z.string(),
|
|
112
112
|
description: z.string().optional(),
|
|
113
113
|
status: exports.RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -273,7 +273,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
273
273
|
}
|
|
274
274
|
/** @internal */
|
|
275
275
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
276
|
-
_id: z.string().default("
|
|
276
|
+
_id: z.string().default("tool_01KAZCQ5CT76Y132BFT92P8C75"),
|
|
277
277
|
path: z.string(),
|
|
278
278
|
key: z.string(),
|
|
279
279
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
|
303
303
|
});
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyCodeExecutionTool$outboundSchema = z.object({
|
|
306
|
-
id: z.string().default("
|
|
306
|
+
id: z.string().default("tool_01KAZCQ5CT76Y132BFT92P8C75"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
displayName: z.string().optional(),
|
|
@@ -387,14 +387,14 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
387
387
|
}
|
|
388
388
|
/** @internal */
|
|
389
389
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
390
|
-
id: z.string().default("
|
|
390
|
+
id: z.string().default("01KAZCQ5CSNWT3BMYFACS1JSQ7"),
|
|
391
391
|
name: z.string(),
|
|
392
392
|
description: z.string().optional(),
|
|
393
393
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
394
394
|
});
|
|
395
395
|
/** @internal */
|
|
396
396
|
exports.RetrieveToolResponseBodyTools$outboundSchema = z.object({
|
|
397
|
-
id: z.string().default("
|
|
397
|
+
id: z.string().default("01KAZCQ5CSNWT3BMYFACS1JSQ7"),
|
|
398
398
|
name: z.string(),
|
|
399
399
|
description: z.string().optional(),
|
|
400
400
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -442,7 +442,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
442
442
|
}
|
|
443
443
|
/** @internal */
|
|
444
444
|
exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
445
|
-
_id: z.string().default("
|
|
445
|
+
_id: z.string().default("tool_01KAZCQ5CQBGP313CP3WEGWC5F"),
|
|
446
446
|
path: z.string(),
|
|
447
447
|
key: z.string(),
|
|
448
448
|
display_name: z.string().optional(),
|
|
@@ -470,7 +470,7 @@ exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
|
470
470
|
});
|
|
471
471
|
/** @internal */
|
|
472
472
|
exports.RetrieveToolResponseBodyMCPTool$outboundSchema = z.object({
|
|
473
|
-
id: z.string().default("
|
|
473
|
+
id: z.string().default("tool_01KAZCQ5CQBGP313CP3WEGWC5F"),
|
|
474
474
|
path: z.string(),
|
|
475
475
|
key: z.string(),
|
|
476
476
|
displayName: z.string().optional(),
|
|
@@ -624,7 +624,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
624
624
|
}
|
|
625
625
|
/** @internal */
|
|
626
626
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01KAZCQ5CMFFJMC3NW3A2BA41Y"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -652,7 +652,7 @@ exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
|
652
652
|
});
|
|
653
653
|
/** @internal */
|
|
654
654
|
exports.RetrieveToolResponseBodyHTTPTool$outboundSchema = z.object({
|
|
655
|
-
id: z.string().default("
|
|
655
|
+
id: z.string().default("tool_01KAZCQ5CMFFJMC3NW3A2BA41Y"),
|
|
656
656
|
path: z.string(),
|
|
657
657
|
key: z.string(),
|
|
658
658
|
displayName: z.string().optional(),
|
|
@@ -740,7 +740,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
740
740
|
}
|
|
741
741
|
/** @internal */
|
|
742
742
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
743
|
-
_id: z.string().default("
|
|
743
|
+
_id: z.string().default("tool_01KAZCQ5CJH1MJP68JR484H00X"),
|
|
744
744
|
path: z.string(),
|
|
745
745
|
key: z.string(),
|
|
746
746
|
display_name: z.string().optional(),
|
|
@@ -769,7 +769,7 @@ exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
|
769
769
|
});
|
|
770
770
|
/** @internal */
|
|
771
771
|
exports.RetrieveToolResponseBodyJSONSchemaTool$outboundSchema = z.object({
|
|
772
|
-
id: z.string().default("
|
|
772
|
+
id: z.string().default("tool_01KAZCQ5CJH1MJP68JR484H00X"),
|
|
773
773
|
path: z.string(),
|
|
774
774
|
key: z.string(),
|
|
775
775
|
displayName: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
864
864
|
}
|
|
865
865
|
/** @internal */
|
|
866
866
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
867
|
-
_id: z.string().default("
|
|
867
|
+
_id: z.string().default("tool_01KAZCQ5CGVW6NSE75MHSE3Y3E"),
|
|
868
868
|
path: z.string(),
|
|
869
869
|
key: z.string(),
|
|
870
870
|
display_name: z.string().optional(),
|
|
@@ -892,7 +892,7 @@ exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
|
892
892
|
});
|
|
893
893
|
/** @internal */
|
|
894
894
|
exports.RetrieveToolResponseBodyFunctionTool$outboundSchema = z.object({
|
|
895
|
-
id: z.string().default("
|
|
895
|
+
id: z.string().default("tool_01KAZCQ5CGVW6NSE75MHSE3Y3E"),
|
|
896
896
|
path: z.string(),
|
|
897
897
|
key: z.string(),
|
|
898
898
|
displayName: z.string().optional(),
|
|
@@ -1509,14 +1509,14 @@ function schemaFromJSON(jsonString) {
|
|
|
1509
1509
|
/** @internal */
|
|
1510
1510
|
exports.Tools$inboundSchema = z
|
|
1511
1511
|
.object({
|
|
1512
|
-
id: z.string().default("
|
|
1512
|
+
id: z.string().default("01KAZCQ509X8YP4B90M5MVYKBW"),
|
|
1513
1513
|
name: z.string(),
|
|
1514
1514
|
description: z.string().optional(),
|
|
1515
1515
|
schema: z.lazy(() => exports.Schema$inboundSchema),
|
|
1516
1516
|
});
|
|
1517
1517
|
/** @internal */
|
|
1518
1518
|
exports.Tools$outboundSchema = z.object({
|
|
1519
|
-
id: z.string().default("
|
|
1519
|
+
id: z.string().default("01KAZCQ509X8YP4B90M5MVYKBW"),
|
|
1520
1520
|
name: z.string(),
|
|
1521
1521
|
description: z.string().optional(),
|
|
1522
1522
|
schema: z.lazy(() => exports.Schema$outboundSchema),
|
|
@@ -1469,14 +1469,14 @@ function agentToolInputRunSchemaFromJSON(jsonString) {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
/** @internal */
|
|
1471
1471
|
exports.AgentToolInputRunTools$inboundSchema = z.object({
|
|
1472
|
-
id: z.string().default("
|
|
1472
|
+
id: z.string().default("01KAZCQ5256AN90G8NJK748N7X"),
|
|
1473
1473
|
name: z.string(),
|
|
1474
1474
|
description: z.string().optional(),
|
|
1475
1475
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$inboundSchema),
|
|
1476
1476
|
});
|
|
1477
1477
|
/** @internal */
|
|
1478
1478
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1479
|
-
id: z.string().default("
|
|
1479
|
+
id: z.string().default("01KAZCQ5256AN90G8NJK748N7X"),
|
|
1480
1480
|
name: z.string(),
|
|
1481
1481
|
description: z.string().optional(),
|
|
1482
1482
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1827,6 +1827,9 @@ export type UpdateAgentAgentsKnowledgeBases = {
|
|
|
1827
1827
|
*/
|
|
1828
1828
|
export type UpdateAgentResponseBody = {
|
|
1829
1829
|
id: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* Unique identifier for the agent within the workspace
|
|
1832
|
+
*/
|
|
1830
1833
|
key: string;
|
|
1831
1834
|
displayName: string;
|
|
1832
1835
|
workspaceId: string;
|