@orq-ai/node 4.10.0-rc.45 → 4.10.0-rc.47
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 +36 -41
- package/funcs/annotationsCreate.d.ts +3 -0
- package/funcs/annotationsCreate.d.ts.map +1 -1
- package/funcs/annotationsCreate.js +3 -0
- package/funcs/annotationsCreate.js.map +1 -1
- package/funcs/annotationsDelete.d.ts +3 -0
- package/funcs/annotationsDelete.d.ts.map +1 -1
- package/funcs/annotationsDelete.js +3 -0
- package/funcs/annotationsDelete.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts +1 -2
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -2
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/modelmetadata.d.ts +38 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +72 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +67 -210
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +84 -201
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +15 -15
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +440 -440
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +479 -484
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1568 -8
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1137 -12
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +56 -56
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +72 -73
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +26 -26
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/annotations.d.ts +6 -0
- package/sdk/annotations.d.ts.map +1 -1
- package/sdk/annotations.js +6 -0
- package/sdk/annotations.js.map +1 -1
- package/sdk/deployments.d.ts +1 -5
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -4
- package/sdk/deployments.js.map +1 -1
- package/src/funcs/annotationsCreate.ts +3 -0
- package/src/funcs/annotationsDelete.ts +3 -0
- package/src/funcs/deploymentsInvoke.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/src/models/components/index.ts +0 -1
- package/src/models/components/modelmetadata.ts +110 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +214 -543
- package/src/models/operations/createtool.ts +24 -28
- package/src/models/operations/deploymentgetconfig.ts +1606 -1156
- package/src/models/operations/deploymentinvoke.ts +3763 -317
- package/src/models/operations/deploymentstream.ts +285 -244
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +32 -34
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/annotations.ts +6 -0
- package/src/sdk/deployments.ts +1 -8
- package/funcs/deploymentsMetricsCreate.d.ts +0 -19
- package/funcs/deploymentsMetricsCreate.d.ts.map +0 -1
- package/funcs/deploymentsMetricsCreate.js +0 -123
- package/funcs/deploymentsMetricsCreate.js.map +0 -1
- package/models/components/invokedeploymentrequest.d.ts +0 -1573
- package/models/components/invokedeploymentrequest.d.ts.map +0 -1
- package/models/components/invokedeploymentrequest.js +0 -1137
- package/models/components/invokedeploymentrequest.js.map +0 -1
- package/models/operations/deploymentcreatemetric.d.ts +0 -1032
- package/models/operations/deploymentcreatemetric.d.ts.map +0 -1
- package/models/operations/deploymentcreatemetric.js +0 -749
- package/models/operations/deploymentcreatemetric.js.map +0 -1
- package/sdk/metrics.d.ts +0 -14
- package/sdk/metrics.d.ts.map +0 -1
- package/sdk/metrics.js +0 -24
- package/sdk/metrics.js.map +0 -1
- package/src/funcs/deploymentsMetricsCreate.ts +0 -171
- package/src/models/components/invokedeploymentrequest.ts +0 -3457
- package/src/models/operations/deploymentcreatemetric.ts +0 -2370
- package/src/sdk/metrics.ts +0 -29
|
@@ -215,7 +215,7 @@ export type CreateToolRequestBodyStatus = ClosedEnum<
|
|
|
215
215
|
/**
|
|
216
216
|
* The HTTP method to use.
|
|
217
217
|
*/
|
|
218
|
-
export const
|
|
218
|
+
export const RequestBodyMethod = {
|
|
219
219
|
Get: "GET",
|
|
220
220
|
Post: "POST",
|
|
221
221
|
Put: "PUT",
|
|
@@ -224,9 +224,7 @@ export const CreateToolRequestBodyMethod = {
|
|
|
224
224
|
/**
|
|
225
225
|
* The HTTP method to use.
|
|
226
226
|
*/
|
|
227
|
-
export type
|
|
228
|
-
typeof CreateToolRequestBodyMethod
|
|
229
|
-
>;
|
|
227
|
+
export type RequestBodyMethod = ClosedEnum<typeof RequestBodyMethod>;
|
|
230
228
|
|
|
231
229
|
export type CreateToolHeaders2 = {
|
|
232
230
|
value: string;
|
|
@@ -246,7 +244,7 @@ export type RequestBodyBlueprint = {
|
|
|
246
244
|
/**
|
|
247
245
|
* The HTTP method to use.
|
|
248
246
|
*/
|
|
249
|
-
method:
|
|
247
|
+
method: RequestBodyMethod;
|
|
250
248
|
/**
|
|
251
249
|
* The headers to send with the request. Can be a string value or an object with value and encrypted properties.
|
|
252
250
|
*/
|
|
@@ -296,7 +294,7 @@ export type RequestBodyArguments = {
|
|
|
296
294
|
defaultValue?: string | number | boolean | undefined;
|
|
297
295
|
};
|
|
298
296
|
|
|
299
|
-
export type
|
|
297
|
+
export type RequestBodyHttp = {
|
|
300
298
|
/**
|
|
301
299
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
302
300
|
*/
|
|
@@ -338,7 +336,7 @@ export type RequestBodyHTTPTool = {
|
|
|
338
336
|
*/
|
|
339
337
|
status?: CreateToolRequestBodyStatus | undefined;
|
|
340
338
|
type: "http";
|
|
341
|
-
http:
|
|
339
|
+
http: RequestBodyHttp;
|
|
342
340
|
};
|
|
343
341
|
|
|
344
342
|
/**
|
|
@@ -1382,9 +1380,9 @@ export const CreateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<
|
|
|
1382
1380
|
> = z.nativeEnum(CreateToolRequestBodyStatus);
|
|
1383
1381
|
|
|
1384
1382
|
/** @internal */
|
|
1385
|
-
export const
|
|
1386
|
-
typeof
|
|
1387
|
-
> = z.nativeEnum(
|
|
1383
|
+
export const RequestBodyMethod$outboundSchema: z.ZodNativeEnum<
|
|
1384
|
+
typeof RequestBodyMethod
|
|
1385
|
+
> = z.nativeEnum(RequestBodyMethod);
|
|
1388
1386
|
|
|
1389
1387
|
/** @internal */
|
|
1390
1388
|
export type CreateToolHeaders2$Outbound = {
|
|
@@ -1447,7 +1445,7 @@ export const RequestBodyBlueprint$outboundSchema: z.ZodType<
|
|
|
1447
1445
|
RequestBodyBlueprint
|
|
1448
1446
|
> = z.object({
|
|
1449
1447
|
url: z.string(),
|
|
1450
|
-
method:
|
|
1448
|
+
method: RequestBodyMethod$outboundSchema,
|
|
1451
1449
|
headers: z.record(
|
|
1452
1450
|
z.union([z.lazy(() => CreateToolHeaders2$outboundSchema), z.string()]),
|
|
1453
1451
|
).optional(),
|
|
@@ -1520,28 +1518,26 @@ export function requestBodyArgumentsToJSON(
|
|
|
1520
1518
|
}
|
|
1521
1519
|
|
|
1522
1520
|
/** @internal */
|
|
1523
|
-
export type
|
|
1521
|
+
export type RequestBodyHttp$Outbound = {
|
|
1524
1522
|
blueprint: RequestBodyBlueprint$Outbound;
|
|
1525
1523
|
arguments?: { [k: string]: RequestBodyArguments$Outbound } | undefined;
|
|
1526
1524
|
};
|
|
1527
1525
|
|
|
1528
1526
|
/** @internal */
|
|
1529
|
-
export const
|
|
1530
|
-
|
|
1527
|
+
export const RequestBodyHttp$outboundSchema: z.ZodType<
|
|
1528
|
+
RequestBodyHttp$Outbound,
|
|
1531
1529
|
z.ZodTypeDef,
|
|
1532
|
-
|
|
1530
|
+
RequestBodyHttp
|
|
1533
1531
|
> = z.object({
|
|
1534
1532
|
blueprint: z.lazy(() => RequestBodyBlueprint$outboundSchema),
|
|
1535
1533
|
arguments: z.record(z.lazy(() => RequestBodyArguments$outboundSchema))
|
|
1536
1534
|
.optional(),
|
|
1537
1535
|
});
|
|
1538
1536
|
|
|
1539
|
-
export function
|
|
1540
|
-
|
|
1537
|
+
export function requestBodyHttpToJSON(
|
|
1538
|
+
requestBodyHttp: RequestBodyHttp,
|
|
1541
1539
|
): string {
|
|
1542
|
-
return JSON.stringify(
|
|
1543
|
-
CreateToolRequestBodyHttp$outboundSchema.parse(createToolRequestBodyHttp),
|
|
1544
|
-
);
|
|
1540
|
+
return JSON.stringify(RequestBodyHttp$outboundSchema.parse(requestBodyHttp));
|
|
1545
1541
|
}
|
|
1546
1542
|
|
|
1547
1543
|
/** @internal */
|
|
@@ -1552,7 +1548,7 @@ export type RequestBodyHTTPTool$Outbound = {
|
|
|
1552
1548
|
description: string;
|
|
1553
1549
|
status: string;
|
|
1554
1550
|
type: "http";
|
|
1555
|
-
http:
|
|
1551
|
+
http: RequestBodyHttp$Outbound;
|
|
1556
1552
|
};
|
|
1557
1553
|
|
|
1558
1554
|
/** @internal */
|
|
@@ -1567,7 +1563,7 @@ export const RequestBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1567
1563
|
description: z.string(),
|
|
1568
1564
|
status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
|
|
1569
1565
|
type: z.literal("http"),
|
|
1570
|
-
http: z.lazy(() =>
|
|
1566
|
+
http: z.lazy(() => RequestBodyHttp$outboundSchema),
|
|
1571
1567
|
}).transform((v) => {
|
|
1572
1568
|
return remap$(v, {
|
|
1573
1569
|
displayName: "display_name",
|
|
@@ -1902,7 +1898,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1902
1898
|
z.ZodTypeDef,
|
|
1903
1899
|
unknown
|
|
1904
1900
|
> = z.object({
|
|
1905
|
-
_id: z.string().default("
|
|
1901
|
+
_id: z.string().default("tool_01KSPGF040CCKPP2Q21DQM02KR"),
|
|
1906
1902
|
path: z.string(),
|
|
1907
1903
|
key: z.string(),
|
|
1908
1904
|
display_name: z.string().optional(),
|
|
@@ -1999,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1999
1995
|
z.ZodTypeDef,
|
|
2000
1996
|
unknown
|
|
2001
1997
|
> = z.object({
|
|
2002
|
-
id: z.string().default("
|
|
1998
|
+
id: z.string().default("01KSPGF03ZXTKBH6ZYJQFHAZP0"),
|
|
2003
1999
|
name: z.string(),
|
|
2004
2000
|
description: z.string().optional(),
|
|
2005
2001
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2055,7 +2051,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2055
2051
|
z.ZodTypeDef,
|
|
2056
2052
|
unknown
|
|
2057
2053
|
> = z.object({
|
|
2058
|
-
_id: z.string().default("
|
|
2054
|
+
_id: z.string().default("tool_01KSPGF03YRX6SZ5BT4A432JB7"),
|
|
2059
2055
|
path: z.string(),
|
|
2060
2056
|
key: z.string(),
|
|
2061
2057
|
display_name: z.string().optional(),
|
|
@@ -2241,7 +2237,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2241
2237
|
z.ZodTypeDef,
|
|
2242
2238
|
unknown
|
|
2243
2239
|
> = z.object({
|
|
2244
|
-
_id: z.string().default("
|
|
2240
|
+
_id: z.string().default("tool_01KSPGF03WTSSY7QCD1S39FZ39"),
|
|
2245
2241
|
path: z.string(),
|
|
2246
2242
|
key: z.string(),
|
|
2247
2243
|
display_name: z.string().optional(),
|
|
@@ -2334,7 +2330,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2334
2330
|
z.ZodTypeDef,
|
|
2335
2331
|
unknown
|
|
2336
2332
|
> = z.object({
|
|
2337
|
-
_id: z.string().default("
|
|
2333
|
+
_id: z.string().default("tool_01KSPGF03T2ABBF159D32W0Q8Z"),
|
|
2338
2334
|
path: z.string(),
|
|
2339
2335
|
key: z.string(),
|
|
2340
2336
|
display_name: z.string().optional(),
|
|
@@ -2435,7 +2431,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2435
2431
|
z.ZodTypeDef,
|
|
2436
2432
|
unknown
|
|
2437
2433
|
> = z.object({
|
|
2438
|
-
_id: z.string().default("
|
|
2434
|
+
_id: z.string().default("tool_01KSPGF03SQED1A2R188XFR5CG"),
|
|
2439
2435
|
path: z.string(),
|
|
2440
2436
|
key: z.string(),
|
|
2441
2437
|
display_name: z.string().optional(),
|