@orq-ai/node 4.0.0-rc.30 → 4.0.0-rc.31
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 +24 -22
- package/bin/mcp-server.js +2116 -596
- package/bin/mcp-server.js.map +50 -47
- package/docs/sdks/tools/README.md +93 -12
- package/examples/package-lock.json +1 -1
- package/funcs/toolsCreate.d.ts +2 -1
- package/funcs/toolsCreate.d.ts.map +1 -1
- package/funcs/toolsCreate.js +6 -2
- package/funcs/toolsCreate.js.map +1 -1
- package/funcs/toolsSync.d.ts +18 -0
- package/funcs/toolsSync.d.ts.map +1 -0
- package/funcs/toolsSync.js +123 -0
- package/funcs/toolsSync.js.map +1 -0
- 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 +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/toolsSync.d.ts +8 -0
- package/mcp-server/tools/toolsSync.d.ts.map +1 -0
- package/mcp-server/tools/toolsSync.js +64 -0
- package/mcp-server/tools/toolsSync.js.map +1 -0
- package/models/operations/createagent.d.ts +53 -24
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +51 -25
- package/models/operations/createagent.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.d.ts +373 -144
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +332 -133
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +8 -8
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +13 -12
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/duplicateagent.d.ts +0 -19
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +3 -21
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.d.ts +189 -49
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +172 -44
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +0 -19
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +3 -20
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +194 -54
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +176 -51
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +0 -19
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -22
- 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/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.d.ts +189 -49
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +172 -44
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +279 -23
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +274 -15
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +282 -26
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +268 -22
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/syncmcptool.d.ts +1113 -0
- package/models/operations/syncmcptool.d.ts.map +1 -0
- package/models/operations/syncmcptool.js +1070 -0
- package/models/operations/syncmcptool.js.map +1 -0
- package/models/operations/updateagent.d.ts +53 -43
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +52 -43
- 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.d.ts +394 -114
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +356 -95
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/sdk/tools.d.ts +7 -0
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +10 -0
- package/sdk/tools.js.map +1 -1
- package/src/funcs/toolsCreate.ts +11 -2
- package/src/funcs/toolsSync.ts +176 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/toolsSync.ts +37 -0
- package/src/models/operations/createagent.ts +114 -40
- 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 +873 -277
- package/src/models/operations/deploymentgetconfig.ts +29 -20
- package/src/models/operations/duplicateagent.ts +0 -37
- package/src/models/operations/duplicatetool.ts +466 -87
- 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/getagent.ts +0 -38
- package/src/models/operations/getalltools.ts +447 -96
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listagents.ts +0 -37
- 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/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 +466 -85
- package/src/models/operations/runagent.ts +656 -25
- package/src/models/operations/streamrunagent.ts +749 -34
- package/src/models/operations/syncmcptool.ts +2599 -0
- package/src/models/operations/updateagent.ts +121 -77
- 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 +910 -190
- package/src/sdk/tools.ts +18 -0
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2025-11-
|
|
122
|
+
"2025-11-14T05:44:51.382Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2025-11-
|
|
155
|
+
created: z.date().default(() => new Date("2025-11-14T05:44:51.382Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-11-
|
|
160
|
+
"2025-11-14T05:44:51.382Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-14T05:44:51.382Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-11-
|
|
199
|
+
"2025-11-14T05:44:51.382Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-14T05:44:51.382Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -848,19 +848,6 @@ export type GetAgentKnowledgeBases = {
|
|
|
848
848
|
knowledgeId: string;
|
|
849
849
|
};
|
|
850
850
|
|
|
851
|
-
export const GetAgentCollapsedConfigurationSections = {
|
|
852
|
-
Information: "information",
|
|
853
|
-
Model: "model",
|
|
854
|
-
Tools: "tools",
|
|
855
|
-
Context: "context",
|
|
856
|
-
RuntimeConstraints: "runtime_constraints",
|
|
857
|
-
Evaluators: "evaluators",
|
|
858
|
-
Guardrails: "guardrails",
|
|
859
|
-
} as const;
|
|
860
|
-
export type GetAgentCollapsedConfigurationSections = ClosedEnum<
|
|
861
|
-
typeof GetAgentCollapsedConfigurationSections
|
|
862
|
-
>;
|
|
863
|
-
|
|
864
851
|
/**
|
|
865
852
|
* Agent retrieved successfully
|
|
866
853
|
*/
|
|
@@ -911,12 +898,6 @@ export type GetAgentResponseBody = {
|
|
|
911
898
|
* Agent knowledge bases reference
|
|
912
899
|
*/
|
|
913
900
|
knowledgeBases?: Array<GetAgentKnowledgeBases> | undefined;
|
|
914
|
-
/**
|
|
915
|
-
* List of collapsed sections in configuration. Duplicates are not allowed.
|
|
916
|
-
*/
|
|
917
|
-
collapsedConfigurationSections?:
|
|
918
|
-
| Array<GetAgentCollapsedConfigurationSections>
|
|
919
|
-
| undefined;
|
|
920
901
|
};
|
|
921
902
|
|
|
922
903
|
/** @internal */
|
|
@@ -3221,16 +3202,6 @@ export function getAgentKnowledgeBasesFromJSON(
|
|
|
3221
3202
|
);
|
|
3222
3203
|
}
|
|
3223
3204
|
|
|
3224
|
-
/** @internal */
|
|
3225
|
-
export const GetAgentCollapsedConfigurationSections$inboundSchema:
|
|
3226
|
-
z.ZodNativeEnum<typeof GetAgentCollapsedConfigurationSections> = z.nativeEnum(
|
|
3227
|
-
GetAgentCollapsedConfigurationSections,
|
|
3228
|
-
);
|
|
3229
|
-
/** @internal */
|
|
3230
|
-
export const GetAgentCollapsedConfigurationSections$outboundSchema:
|
|
3231
|
-
z.ZodNativeEnum<typeof GetAgentCollapsedConfigurationSections> =
|
|
3232
|
-
GetAgentCollapsedConfigurationSections$inboundSchema;
|
|
3233
|
-
|
|
3234
3205
|
/** @internal */
|
|
3235
3206
|
export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
3236
3207
|
GetAgentResponseBody,
|
|
@@ -3260,9 +3231,6 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3260
3231
|
variables: z.record(z.any()).optional(),
|
|
3261
3232
|
knowledge_bases: z.array(z.lazy(() => GetAgentKnowledgeBases$inboundSchema))
|
|
3262
3233
|
.optional(),
|
|
3263
|
-
collapsed_configuration_sections: z.array(
|
|
3264
|
-
GetAgentCollapsedConfigurationSections$inboundSchema,
|
|
3265
|
-
).optional(),
|
|
3266
3234
|
}).transform((v) => {
|
|
3267
3235
|
return remap$(v, {
|
|
3268
3236
|
"_id": "id",
|
|
@@ -3275,7 +3243,6 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3275
3243
|
"memory_stores": "memoryStores",
|
|
3276
3244
|
"team_of_agents": "teamOfAgents",
|
|
3277
3245
|
"knowledge_bases": "knowledgeBases",
|
|
3278
|
-
"collapsed_configuration_sections": "collapsedConfigurationSections",
|
|
3279
3246
|
});
|
|
3280
3247
|
});
|
|
3281
3248
|
/** @internal */
|
|
@@ -3302,7 +3269,6 @@ export type GetAgentResponseBody$Outbound = {
|
|
|
3302
3269
|
metrics?: GetAgentMetrics$Outbound | undefined;
|
|
3303
3270
|
variables?: { [k: string]: any } | undefined;
|
|
3304
3271
|
knowledge_bases?: Array<GetAgentKnowledgeBases$Outbound> | undefined;
|
|
3305
|
-
collapsed_configuration_sections?: Array<string> | undefined;
|
|
3306
3272
|
};
|
|
3307
3273
|
|
|
3308
3274
|
/** @internal */
|
|
@@ -3334,9 +3300,6 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3334
3300
|
variables: z.record(z.any()).optional(),
|
|
3335
3301
|
knowledgeBases: z.array(z.lazy(() => GetAgentKnowledgeBases$outboundSchema))
|
|
3336
3302
|
.optional(),
|
|
3337
|
-
collapsedConfigurationSections: z.array(
|
|
3338
|
-
GetAgentCollapsedConfigurationSections$outboundSchema,
|
|
3339
|
-
).optional(),
|
|
3340
3303
|
}).transform((v) => {
|
|
3341
3304
|
return remap$(v, {
|
|
3342
3305
|
id: "_id",
|
|
@@ -3349,7 +3312,6 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3349
3312
|
memoryStores: "memory_stores",
|
|
3350
3313
|
teamOfAgents: "team_of_agents",
|
|
3351
3314
|
knowledgeBases: "knowledge_bases",
|
|
3352
|
-
collapsedConfigurationSections: "collapsed_configuration_sections",
|
|
3353
3315
|
});
|
|
3354
3316
|
});
|
|
3355
3317
|
|