@orq-ai/node 3.13.4 → 3.13.6
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 +96 -93
- package/bin/mcp-server.js +1618 -1100
- package/bin/mcp-server.js.map +50 -46
- package/docs/sdks/agents/README.md +95 -20
- package/examples/package-lock.json +1 -1
- package/funcs/agentsListTasks.d.ts +18 -0
- package/funcs/agentsListTasks.d.ts.map +1 -0
- package/funcs/agentsListTasks.js +130 -0
- package/funcs/agentsListTasks.js.map +1 -0
- package/funcs/agentsRetrieve.d.ts +1 -1
- package/funcs/agentsRetrieve.js +3 -3
- package/funcs/agentsRetrieve.js.map +1 -1
- 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 +4 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsListTasks.d.ts +8 -0
- package/mcp-server/tools/agentsListTasks.d.ts.map +1 -0
- package/mcp-server/tools/agentsListTasks.js +64 -0
- package/mcp-server/tools/agentsListTasks.js.map +1 -0
- package/mcp-server/tools/agentsRetrieve.js +1 -1
- package/mcp-server/tools/agentsRetrieve.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/listagenttasks.d.ts +41 -0
- package/models/errors/listagenttasks.d.ts.map +1 -0
- package/models/errors/listagenttasks.js +85 -0
- package/models/errors/listagenttasks.js.map +1 -0
- 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 +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- 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 +7 -7
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +16 -8
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- 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 +4 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +6 -6
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +523 -0
- package/models/operations/listagenttasks.d.ts.map +1 -0
- package/models/operations/listagenttasks.js +609 -0
- package/models/operations/listagenttasks.js.map +1 -0
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +13 -13
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +16 -16
- package/models/operations/listchunks.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.d.ts +13 -13
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +18 -19
- package/models/operations/listdatasources.js.map +1 -1
- 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/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.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 +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +96 -93
- package/packages/orq-rc/docs/sdks/agents/README.md +95 -20
- package/packages/orq-rc/examples/package-lock.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/funcs/agentsListTasks.ts +183 -0
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +3 -3
- 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 +4 -2
- package/packages/orq-rc/src/mcp-server/tools/agentsListTasks.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/errors/listagenttasks.ts +80 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +6 -6
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +701 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- 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/getagent.ts +23 -15
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +1099 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +785 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +6 -6
- package/packages/orq-rc/src/models/operations/listdatasources.ts +29 -22
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +767 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +6 -6
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +763 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +6 -22
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/src/sdk/agents.ts +25 -7
- package/sdk/agents.d.ts +11 -4
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +15 -5
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsListTasks.ts +183 -0
- package/src/funcs/agentsRetrieve.ts +3 -3
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +4 -2
- package/src/mcp-server/tools/agentsListTasks.ts +37 -0
- package/src/mcp-server/tools/agentsRetrieve.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/listagenttasks.ts +80 -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 +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- 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 +23 -15
- package/src/models/operations/getalltools.ts +10 -10
- 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 +10 -10
- package/src/models/operations/listagenttasks.ts +1099 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +21 -21
- 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 +29 -22
- 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/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.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 +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +25 -7
|
@@ -51,6 +51,7 @@ export type ListDatasetsData = {
|
|
|
51
51
|
* The unique identifier of the workspace it belongs to
|
|
52
52
|
*/
|
|
53
53
|
workspaceId: string;
|
|
54
|
+
metadata: ListDatasetsMetadata;
|
|
54
55
|
/**
|
|
55
56
|
* The unique identifier of the user who created the dataset
|
|
56
57
|
*/
|
|
@@ -59,7 +60,6 @@ export type ListDatasetsData = {
|
|
|
59
60
|
* The unique identifier of the user who last updated the dataset
|
|
60
61
|
*/
|
|
61
62
|
updatedById?: string | undefined;
|
|
62
|
-
metadata: ListDatasetsMetadata;
|
|
63
63
|
/**
|
|
64
64
|
* The date and time the resource was created
|
|
65
65
|
*/
|
|
@@ -247,13 +247,13 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
247
247
|
display_name: z.string(),
|
|
248
248
|
project_id: z.string(),
|
|
249
249
|
workspace_id: z.string(),
|
|
250
|
+
metadata: z.lazy(() => ListDatasetsMetadata$inboundSchema),
|
|
250
251
|
created_by_id: z.string().optional(),
|
|
251
252
|
updated_by_id: z.string().optional(),
|
|
252
|
-
metadata: z.lazy(() => ListDatasetsMetadata$inboundSchema),
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-10-
|
|
256
|
+
"2025-10-06T13:58:33.810Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -272,9 +272,9 @@ export type ListDatasetsData$Outbound = {
|
|
|
272
272
|
display_name: string;
|
|
273
273
|
project_id: string;
|
|
274
274
|
workspace_id: string;
|
|
275
|
+
metadata: ListDatasetsMetadata$Outbound;
|
|
275
276
|
created_by_id?: string | undefined;
|
|
276
277
|
updated_by_id?: string | undefined;
|
|
277
|
-
metadata: ListDatasetsMetadata$Outbound;
|
|
278
278
|
created?: string | undefined;
|
|
279
279
|
updated: string;
|
|
280
280
|
};
|
|
@@ -289,11 +289,11 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
289
289
|
displayName: z.string(),
|
|
290
290
|
projectId: z.string(),
|
|
291
291
|
workspaceId: z.string(),
|
|
292
|
+
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
292
293
|
createdById: z.string().optional(),
|
|
293
294
|
updatedById: z.string().optional(),
|
|
294
|
-
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-10-06T13:58:33.810Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
/**
|
|
13
13
|
* Filter datasources by status.
|
|
14
14
|
*/
|
|
15
|
-
export type
|
|
15
|
+
export type QueryParamStatus = Array<string> | string;
|
|
16
16
|
|
|
17
17
|
export type ListDatasourcesRequest = {
|
|
18
18
|
/**
|
|
@@ -109,43 +109,50 @@ export type ListDatasourcesResponseBody = {
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
/** @internal */
|
|
112
|
-
export const
|
|
113
|
-
|
|
112
|
+
export const QueryParamStatus$inboundSchema: z.ZodType<
|
|
113
|
+
QueryParamStatus,
|
|
114
|
+
z.ZodTypeDef,
|
|
115
|
+
unknown
|
|
116
|
+
> = z.union([z.array(z.string()), z.string()]);
|
|
114
117
|
|
|
115
118
|
/** @internal */
|
|
116
|
-
export type
|
|
119
|
+
export type QueryParamStatus$Outbound = Array<string> | string;
|
|
117
120
|
|
|
118
121
|
/** @internal */
|
|
119
|
-
export const
|
|
120
|
-
|
|
122
|
+
export const QueryParamStatus$outboundSchema: z.ZodType<
|
|
123
|
+
QueryParamStatus$Outbound,
|
|
121
124
|
z.ZodTypeDef,
|
|
122
|
-
|
|
125
|
+
QueryParamStatus
|
|
123
126
|
> = z.union([z.array(z.string()), z.string()]);
|
|
124
127
|
|
|
125
128
|
/**
|
|
126
129
|
* @internal
|
|
127
130
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
131
|
*/
|
|
129
|
-
export namespace
|
|
130
|
-
/** @deprecated use `
|
|
131
|
-
export const inboundSchema =
|
|
132
|
-
/** @deprecated use `
|
|
133
|
-
export const outboundSchema =
|
|
134
|
-
/** @deprecated use `
|
|
135
|
-
export type Outbound =
|
|
132
|
+
export namespace QueryParamStatus$ {
|
|
133
|
+
/** @deprecated use `QueryParamStatus$inboundSchema` instead. */
|
|
134
|
+
export const inboundSchema = QueryParamStatus$inboundSchema;
|
|
135
|
+
/** @deprecated use `QueryParamStatus$outboundSchema` instead. */
|
|
136
|
+
export const outboundSchema = QueryParamStatus$outboundSchema;
|
|
137
|
+
/** @deprecated use `QueryParamStatus$Outbound` instead. */
|
|
138
|
+
export type Outbound = QueryParamStatus$Outbound;
|
|
136
139
|
}
|
|
137
140
|
|
|
138
|
-
export function
|
|
139
|
-
|
|
141
|
+
export function queryParamStatusToJSON(
|
|
142
|
+
queryParamStatus: QueryParamStatus,
|
|
143
|
+
): string {
|
|
144
|
+
return JSON.stringify(
|
|
145
|
+
QueryParamStatus$outboundSchema.parse(queryParamStatus),
|
|
146
|
+
);
|
|
140
147
|
}
|
|
141
148
|
|
|
142
|
-
export function
|
|
149
|
+
export function queryParamStatusFromJSON(
|
|
143
150
|
jsonString: string,
|
|
144
|
-
): SafeParseResult<
|
|
151
|
+
): SafeParseResult<QueryParamStatus, SDKValidationError> {
|
|
145
152
|
return safeParse(
|
|
146
153
|
jsonString,
|
|
147
|
-
(x) =>
|
|
148
|
-
`Failed to parse '
|
|
154
|
+
(x) => QueryParamStatus$inboundSchema.parse(JSON.parse(x)),
|
|
155
|
+
`Failed to parse 'QueryParamStatus' from JSON`,
|
|
149
156
|
);
|
|
150
157
|
}
|
|
151
158
|
|
|
@@ -278,7 +285,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
285
|
z.ZodTypeDef,
|
|
279
286
|
unknown
|
|
280
287
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
288
|
+
_id: z.string().default("01K6WX2GR79RX00K8W016G9E0H"),
|
|
282
289
|
display_name: z.string(),
|
|
283
290
|
description: z.string().optional(),
|
|
284
291
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +329,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
329
|
z.ZodTypeDef,
|
|
323
330
|
ListDatasourcesData
|
|
324
331
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
332
|
+
id: z.string().default("01K6WX2GR79RX00K8W016G9E0H"),
|
|
326
333
|
displayName: z.string(),
|
|
327
334
|
description: z.string().optional(),
|
|
328
335
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
127
127
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
128
128
|
.optional(),
|
|
129
129
|
updated: z.string().datetime({ offset: true }).default(
|
|
130
|
-
"2025-10-
|
|
130
|
+
"2025-10-06T13:58:33.810Z",
|
|
131
131
|
).transform(v => new Date(v)),
|
|
132
132
|
}).transform((v) => {
|
|
133
133
|
return remap$(v, {
|
|
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
165
165
|
tags: z.array(z.string()).optional(),
|
|
166
166
|
metadata: z.record(z.any()).optional(),
|
|
167
167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-10-06T13:58:33.810Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|