@orq-ai/node 4.13.0-rc.1 → 4.13.0-rc.2
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsecustomtoolcallinputdeltastreamevent.d.ts +35 -0
- package/models/components/responsecustomtoolcallinputdeltastreamevent.d.ts.map +1 -0
- package/models/components/responsecustomtoolcallinputdeltastreamevent.js +61 -0
- package/models/components/responsecustomtoolcallinputdeltastreamevent.js.map +1 -0
- package/models/components/responsecustomtoolcallinputdonestreamevent.d.ts +35 -0
- package/models/components/responsecustomtoolcallinputdonestreamevent.d.ts.map +1 -0
- package/models/components/responsecustomtoolcallinputdonestreamevent.js +61 -0
- package/models/components/responsecustomtoolcallinputdonestreamevent.js.map +1 -0
- package/models/components/responsemcplisttoolscompletedstreamevent.d.ts +31 -0
- package/models/components/responsemcplisttoolscompletedstreamevent.d.ts.map +1 -0
- package/models/components/responsemcplisttoolscompletedstreamevent.js +60 -0
- package/models/components/responsemcplisttoolscompletedstreamevent.js.map +1 -0
- package/models/components/responsemcplisttoolsfailedstreamevent.d.ts +31 -0
- package/models/components/responsemcplisttoolsfailedstreamevent.d.ts.map +1 -0
- package/models/components/responsemcplisttoolsfailedstreamevent.js +60 -0
- package/models/components/responsemcplisttoolsfailedstreamevent.js.map +1 -0
- package/models/components/responsemcplisttoolsinprogressstreamevent.d.ts +31 -0
- package/models/components/responsemcplisttoolsinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responsemcplisttoolsinprogressstreamevent.js +60 -0
- package/models/components/responsemcplisttoolsinprogressstreamevent.js.map +1 -0
- package/models/components/responsestreamevent.d.ts +6 -1
- package/models/components/responsestreamevent.d.ts.map +1 -1
- package/models/components/responsestreamevent.js +10 -0
- package/models/components/responsestreamevent.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createrouterresponse.d.ts +21 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +21 -0
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- 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 +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- 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 +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +8 -8
- package/sdk/feedback.d.ts +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +5 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsecustomtoolcallinputdeltastreamevent.ts +79 -0
- package/src/models/components/responsecustomtoolcallinputdonestreamevent.ts +76 -0
- package/src/models/components/responsemcplisttoolscompletedstreamevent.ts +73 -0
- package/src/models/components/responsemcplisttoolsfailedstreamevent.ts +68 -0
- package/src/models/components/responsemcplisttoolsinprogressstreamevent.ts +73 -0
- package/src/models/components/responsestreamevent.ts +30 -0
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createrouterresponse.ts +21 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- 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 +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- 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 +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
|
@@ -371,7 +371,7 @@ function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema
|
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
exports.RequestBodyTools$outboundSchema = z.object({
|
|
374
|
-
id: z.string().default("
|
|
374
|
+
id: z.string().default("01KY7C3CA9X40B98EMXKB3TSSB"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -667,7 +667,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
667
667
|
}
|
|
668
668
|
/** @internal */
|
|
669
669
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
670
|
-
_id: z.string().default("
|
|
670
|
+
_id: z.string().default("tool_01KY7C3C9WQRPR5B7KBHADZ3XC"),
|
|
671
671
|
path: z.string(),
|
|
672
672
|
key: z.string(),
|
|
673
673
|
display_name: z.string().optional(),
|
|
@@ -720,7 +720,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
720
720
|
}
|
|
721
721
|
/** @internal */
|
|
722
722
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
723
|
-
id: z.string().default("
|
|
723
|
+
id: z.string().default("01KY7C3C9VS0ADQPQWHQRCRS6A"),
|
|
724
724
|
name: z.string(),
|
|
725
725
|
description: z.string().optional(),
|
|
726
726
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -750,7 +750,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
750
750
|
}
|
|
751
751
|
/** @internal */
|
|
752
752
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
753
|
-
_id: z.string().default("
|
|
753
|
+
_id: z.string().default("tool_01KY7C3C9SS0BQJ3WCNKBP3MEB"),
|
|
754
754
|
path: z.string(),
|
|
755
755
|
key: z.string(),
|
|
756
756
|
display_name: z.string().optional(),
|
|
@@ -838,7 +838,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
838
838
|
}
|
|
839
839
|
/** @internal */
|
|
840
840
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
841
|
-
_id: z.string().default("
|
|
841
|
+
_id: z.string().default("tool_01KY7C3C96N34DV5DNPB171SCF"),
|
|
842
842
|
path: z.string(),
|
|
843
843
|
key: z.string(),
|
|
844
844
|
display_name: z.string().optional(),
|
|
@@ -888,7 +888,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
888
888
|
}
|
|
889
889
|
/** @internal */
|
|
890
890
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
891
|
-
_id: z.string().default("
|
|
891
|
+
_id: z.string().default("tool_01KY7C3C939R8HJ7T3199TXF27"),
|
|
892
892
|
path: z.string(),
|
|
893
893
|
key: z.string(),
|
|
894
894
|
display_name: z.string().optional(),
|
|
@@ -942,7 +942,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
942
942
|
}
|
|
943
943
|
/** @internal */
|
|
944
944
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
945
|
-
_id: z.string().default("
|
|
945
|
+
_id: z.string().default("tool_01KY7C3C91Q3E94BVYXYXTAXTZ"),
|
|
946
946
|
path: z.string(),
|
|
947
947
|
key: z.string(),
|
|
948
948
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.13.0-rc.
|
|
3
|
+
"version": "4.13.0-rc.2",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
".": {
|
|
7
|
-
"import": "./index.js",
|
|
8
|
-
"require": "./index.js",
|
|
9
|
-
"types": "./index.d.ts"
|
|
10
|
-
},
|
|
11
|
-
"./*": "./*",
|
|
12
6
|
"./langchain": {
|
|
13
7
|
"import": "./langchain/index.mjs",
|
|
14
8
|
"require": "./langchain/index.js",
|
|
15
9
|
"types": "./langchain/index.d.mts"
|
|
16
|
-
}
|
|
10
|
+
},
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./index.d.ts",
|
|
13
|
+
"import": "./index.js",
|
|
14
|
+
"require": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"./*": "./*"
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
package/sdk/feedback.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ export declare class Feedback extends ClientSDK {
|
|
|
5
5
|
createEvaluation(request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
6
6
|
remove(request?: operations.PostV2FeedbackRemoveRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackRemoveResponseBody>;
|
|
7
7
|
/**
|
|
8
|
-
* Create
|
|
8
|
+
* Create tool
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Creates a new tool in the workspace.
|
|
9
12
|
*/
|
|
10
13
|
create(request?: operations.PostV2FeedbackRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackResponseBody>;
|
|
11
14
|
}
|
package/sdk/feedback.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IAC/B,gBAAgB,CACpB,OAAO,CAAC,EAAE,UAAU,CAAC,yCAAyC,GAAG,SAAS,EAC1E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,OAAO,CAAC,EAAE,UAAU,CAAC,mCAAmC,GAAG,SAAS,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQV,MAAM,CACV,OAAO,CAAC,EAAE,UAAU,CAAC,+BAA+B,GAAG,SAAS,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD
|
|
1
|
+
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IAC/B,gBAAgB,CACpB,OAAO,CAAC,EAAE,UAAU,CAAC,yCAAyC,GAAG,SAAS,EAC1E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,OAAO,CAAC,EAAE,UAAU,CAAC,mCAAmC,GAAG,SAAS,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQV,MAAM,CACV,OAAO,CAAC,EAAE,UAAU,CAAC,+BAA+B,GAAG,SAAS,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;OAKG;IACG,MAAM,CACV,OAAO,CAAC,EAAE,UAAU,CAAC,yBAAyB,GAAG,SAAS,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
|
package/sdk/feedback.js
CHANGED
|
@@ -21,7 +21,10 @@ class Feedback extends sdks_js_1.ClientSDK {
|
|
|
21
21
|
return (0, fp_js_1.unwrapAsync)((0, feedbackRemove_js_1.feedbackRemove)(this, request, options));
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Create
|
|
24
|
+
* Create tool
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* Creates a new tool in the workspace.
|
|
25
28
|
*/
|
|
26
29
|
async create(request, options) {
|
|
27
30
|
return (0, fp_js_1.unwrapAsync)((0, feedbackCreate_js_1.feedbackCreate)(this, request, options));
|
package/sdk/feedback.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback.js","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kEAA4D;AAC5D,sFAAgF;AAChF,kEAA4D;AAC5D,sFAAgF;AAChF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC,KAAK,CAAC,gBAAgB,CACpB,OAA0E,EAC1E,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CACpB,OAAoE,EACpE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CACV,OAAgE,EAChE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"feedback.js","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kEAA4D;AAC5D,sFAAgF;AAChF,kEAA4D;AAC5D,sFAAgF;AAChF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC,KAAK,CAAC,gBAAgB,CACpB,OAA0E,EAC1E,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CACpB,OAAoE,EACpE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CACV,OAAgE,EAChE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAlDD,4BAkDC"}
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.13.0-rc.
|
|
61
|
+
sdkVersion: "4.13.0-rc.2",
|
|
62
62
|
genVersion: "2.918.4",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.13.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.13.0-rc.2 2.918.4 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -856,8 +856,8 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
|
|
|
856
856
|
> = z.object({
|
|
857
857
|
_id: z.string(),
|
|
858
858
|
description: z.string(),
|
|
859
|
-
created: z.string().default("2026-07-
|
|
860
|
-
updated: z.string().default("2026-07-
|
|
859
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
860
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
861
861
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
862
862
|
guardrail_config: z.any().optional(),
|
|
863
863
|
type: z.literal("function_eval"),
|
|
@@ -42,8 +42,8 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
|
|
|
42
42
|
> = z.object({
|
|
43
43
|
_id: z.string(),
|
|
44
44
|
description: z.string(),
|
|
45
|
-
created: z.string().default("2026-07-
|
|
46
|
-
updated: z.string().default("2026-07-
|
|
45
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
46
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
47
47
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
48
48
|
guardrail_config: z.any().optional(),
|
|
49
49
|
type: z.literal("http_eval"),
|
|
@@ -28,8 +28,8 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
|
|
|
28
28
|
> = z.object({
|
|
29
29
|
_id: z.string(),
|
|
30
30
|
description: z.string(),
|
|
31
|
-
created: z.string().default("2026-07-
|
|
32
|
-
updated: z.string().default("2026-07-
|
|
31
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
32
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
33
33
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
34
34
|
guardrail_config: z.any().optional(),
|
|
35
35
|
type: z.literal("json_schema"),
|
|
@@ -267,8 +267,8 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
|
|
|
267
267
|
> = z.object({
|
|
268
268
|
_id: z.string(),
|
|
269
269
|
description: z.string(),
|
|
270
|
-
created: z.string().default("2026-07-
|
|
271
|
-
updated: z.string().default("2026-07-
|
|
270
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
271
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
272
272
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
273
273
|
guardrail_config: z.any().optional(),
|
|
274
274
|
type: z.literal("llm_eval"),
|
|
@@ -28,8 +28,8 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
|
|
|
28
28
|
> = z.object({
|
|
29
29
|
_id: z.string(),
|
|
30
30
|
description: z.string(),
|
|
31
|
-
created: z.string().default("2026-07-
|
|
32
|
-
updated: z.string().default("2026-07-
|
|
31
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
32
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
33
33
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
34
34
|
guardrail_config: z.any().optional(),
|
|
35
35
|
code: z.string(),
|
|
@@ -50,8 +50,8 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
|
|
|
50
50
|
> = z.object({
|
|
51
51
|
_id: z.string(),
|
|
52
52
|
description: z.string(),
|
|
53
|
-
created: z.string().default("2026-07-
|
|
54
|
-
updated: z.string().default("2026-07-
|
|
53
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
54
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
55
55
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
56
56
|
guardrail_config: z.any().optional(),
|
|
57
57
|
type: z.literal("ragas"),
|
|
@@ -28,8 +28,8 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
|
|
|
28
28
|
> = z.object({
|
|
29
29
|
_id: z.string(),
|
|
30
30
|
description: z.string(),
|
|
31
|
-
created: z.string().default("2026-07-
|
|
32
|
-
updated: z.string().default("2026-07-
|
|
31
|
+
created: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
32
|
+
updated: z.string().default("2026-07-23T11:34:25.074Z"),
|
|
33
33
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
34
34
|
guardrail_config: z.any().optional(),
|
|
35
35
|
code: z.string(),
|
|
@@ -234,6 +234,8 @@ export * from "./responsecompletedstreamevent.js";
|
|
|
234
234
|
export * from "./responsecontentpartaddedstreamevent.js";
|
|
235
235
|
export * from "./responsecontentpartdonestreamevent.js";
|
|
236
236
|
export * from "./responsecreatedstreamevent.js";
|
|
237
|
+
export * from "./responsecustomtoolcallinputdeltastreamevent.js";
|
|
238
|
+
export * from "./responsecustomtoolcallinputdonestreamevent.js";
|
|
237
239
|
export * from "./responsedoneevent.js";
|
|
238
240
|
export * from "./responseerror.js";
|
|
239
241
|
export * from "./responseerrorstreamevent.js";
|
|
@@ -257,6 +259,9 @@ export * from "./responsemcpcallargumentsdonestreamevent.js";
|
|
|
257
259
|
export * from "./responsemcpcallcompletedstreamevent.js";
|
|
258
260
|
export * from "./responsemcpcallfailedstreamevent.js";
|
|
259
261
|
export * from "./responsemcpcallinprogressstreamevent.js";
|
|
262
|
+
export * from "./responsemcplisttoolscompletedstreamevent.js";
|
|
263
|
+
export * from "./responsemcplisttoolsfailedstreamevent.js";
|
|
264
|
+
export * from "./responsemcplisttoolsinprogressstreamevent.js";
|
|
260
265
|
export * from "./responsemeta.js";
|
|
261
266
|
export * from "./responseoutputitemaddedstreamevent.js";
|
|
262
267
|
export * from "./responseoutputitemdonestreamevent.js";
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01ky7c3bvekp7w76jyr197ee6j"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A `response.custom_tool_call_input.delta` server-sent event.
|
|
16
|
+
*/
|
|
17
|
+
export type ResponseCustomToolCallInputDeltaStreamEvent = {
|
|
18
|
+
/**
|
|
19
|
+
* Incremental text or argument chunk.
|
|
20
|
+
*/
|
|
21
|
+
delta: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the output item this event refers to.
|
|
24
|
+
*/
|
|
25
|
+
itemId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Index of the output item in the response output array.
|
|
28
|
+
*/
|
|
29
|
+
outputIndex: number;
|
|
30
|
+
/**
|
|
31
|
+
* Monotonically increasing sequence number for ordering events.
|
|
32
|
+
*/
|
|
33
|
+
sequenceNumber: number;
|
|
34
|
+
/**
|
|
35
|
+
* The event type. Discriminates the payload.
|
|
36
|
+
*/
|
|
37
|
+
type: "response.custom_tool_call_input.delta";
|
|
38
|
+
additionalProperties?: { [k: string]: any } | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ResponseCustomToolCallInputDeltaStreamEvent$inboundSchema:
|
|
43
|
+
z.ZodType<
|
|
44
|
+
ResponseCustomToolCallInputDeltaStreamEvent,
|
|
45
|
+
z.ZodTypeDef,
|
|
46
|
+
unknown
|
|
47
|
+
> = collectExtraKeys$(
|
|
48
|
+
z.object({
|
|
49
|
+
delta: z.string(),
|
|
50
|
+
item_id: z.string(),
|
|
51
|
+
output_index: z.number().int(),
|
|
52
|
+
sequence_number: z.number().int(),
|
|
53
|
+
type: z.literal("response.custom_tool_call_input.delta"),
|
|
54
|
+
}).catchall(z.any()),
|
|
55
|
+
"additionalProperties",
|
|
56
|
+
true,
|
|
57
|
+
).transform((v) => {
|
|
58
|
+
return remap$(v, {
|
|
59
|
+
"item_id": "itemId",
|
|
60
|
+
"output_index": "outputIndex",
|
|
61
|
+
"sequence_number": "sequenceNumber",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function responseCustomToolCallInputDeltaStreamEventFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<
|
|
68
|
+
ResponseCustomToolCallInputDeltaStreamEvent,
|
|
69
|
+
SDKValidationError
|
|
70
|
+
> {
|
|
71
|
+
return safeParse(
|
|
72
|
+
jsonString,
|
|
73
|
+
(x) =>
|
|
74
|
+
ResponseCustomToolCallInputDeltaStreamEvent$inboundSchema.parse(
|
|
75
|
+
JSON.parse(x),
|
|
76
|
+
),
|
|
77
|
+
`Failed to parse 'ResponseCustomToolCallInputDeltaStreamEvent' from JSON`,
|
|
78
|
+
);
|
|
79
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A `response.custom_tool_call_input.done` server-sent event.
|
|
16
|
+
*/
|
|
17
|
+
export type ResponseCustomToolCallInputDoneStreamEvent = {
|
|
18
|
+
/**
|
|
19
|
+
* The completed custom tool call input.
|
|
20
|
+
*/
|
|
21
|
+
input: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the output item this event refers to.
|
|
24
|
+
*/
|
|
25
|
+
itemId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Index of the output item in the response output array.
|
|
28
|
+
*/
|
|
29
|
+
outputIndex: number;
|
|
30
|
+
/**
|
|
31
|
+
* Monotonically increasing sequence number for ordering events.
|
|
32
|
+
*/
|
|
33
|
+
sequenceNumber: number;
|
|
34
|
+
/**
|
|
35
|
+
* The event type. Discriminates the payload.
|
|
36
|
+
*/
|
|
37
|
+
type: "response.custom_tool_call_input.done";
|
|
38
|
+
additionalProperties?: { [k: string]: any } | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ResponseCustomToolCallInputDoneStreamEvent$inboundSchema:
|
|
43
|
+
z.ZodType<ResponseCustomToolCallInputDoneStreamEvent, z.ZodTypeDef, unknown> =
|
|
44
|
+
collectExtraKeys$(
|
|
45
|
+
z.object({
|
|
46
|
+
input: z.string(),
|
|
47
|
+
item_id: z.string(),
|
|
48
|
+
output_index: z.number().int(),
|
|
49
|
+
sequence_number: z.number().int(),
|
|
50
|
+
type: z.literal("response.custom_tool_call_input.done"),
|
|
51
|
+
}).catchall(z.any()),
|
|
52
|
+
"additionalProperties",
|
|
53
|
+
true,
|
|
54
|
+
).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
"item_id": "itemId",
|
|
57
|
+
"output_index": "outputIndex",
|
|
58
|
+
"sequence_number": "sequenceNumber",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function responseCustomToolCallInputDoneStreamEventFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<
|
|
65
|
+
ResponseCustomToolCallInputDoneStreamEvent,
|
|
66
|
+
SDKValidationError
|
|
67
|
+
> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) =>
|
|
71
|
+
ResponseCustomToolCallInputDoneStreamEvent$inboundSchema.parse(
|
|
72
|
+
JSON.parse(x),
|
|
73
|
+
),
|
|
74
|
+
`Failed to parse 'ResponseCustomToolCallInputDoneStreamEvent' from JSON`,
|
|
75
|
+
);
|
|
76
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A `response.mcp_list_tools.completed` server-sent event.
|
|
16
|
+
*/
|
|
17
|
+
export type ResponseMCPListToolsCompletedStreamEvent = {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the output item this event refers to.
|
|
20
|
+
*/
|
|
21
|
+
itemId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Index of the output item in the response output array.
|
|
24
|
+
*/
|
|
25
|
+
outputIndex: number;
|
|
26
|
+
/**
|
|
27
|
+
* Monotonically increasing sequence number for ordering events.
|
|
28
|
+
*/
|
|
29
|
+
sequenceNumber: number;
|
|
30
|
+
/**
|
|
31
|
+
* The event type. Discriminates the payload.
|
|
32
|
+
*/
|
|
33
|
+
type: "response.mcp_list_tools.completed";
|
|
34
|
+
additionalProperties?: { [k: string]: any } | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ResponseMCPListToolsCompletedStreamEvent$inboundSchema: z.ZodType<
|
|
39
|
+
ResponseMCPListToolsCompletedStreamEvent,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = collectExtraKeys$(
|
|
43
|
+
z.object({
|
|
44
|
+
item_id: z.string(),
|
|
45
|
+
output_index: z.number().int(),
|
|
46
|
+
sequence_number: z.number().int(),
|
|
47
|
+
type: z.literal("response.mcp_list_tools.completed"),
|
|
48
|
+
}).catchall(z.any()),
|
|
49
|
+
"additionalProperties",
|
|
50
|
+
true,
|
|
51
|
+
).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"item_id": "itemId",
|
|
54
|
+
"output_index": "outputIndex",
|
|
55
|
+
"sequence_number": "sequenceNumber",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export function responseMCPListToolsCompletedStreamEventFromJSON(
|
|
60
|
+
jsonString: string,
|
|
61
|
+
): SafeParseResult<
|
|
62
|
+
ResponseMCPListToolsCompletedStreamEvent,
|
|
63
|
+
SDKValidationError
|
|
64
|
+
> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) =>
|
|
68
|
+
ResponseMCPListToolsCompletedStreamEvent$inboundSchema.parse(
|
|
69
|
+
JSON.parse(x),
|
|
70
|
+
),
|
|
71
|
+
`Failed to parse 'ResponseMCPListToolsCompletedStreamEvent' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A `response.mcp_list_tools.failed` server-sent event.
|
|
16
|
+
*/
|
|
17
|
+
export type ResponseMCPListToolsFailedStreamEvent = {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the output item this event refers to.
|
|
20
|
+
*/
|
|
21
|
+
itemId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Index of the output item in the response output array.
|
|
24
|
+
*/
|
|
25
|
+
outputIndex: number;
|
|
26
|
+
/**
|
|
27
|
+
* Monotonically increasing sequence number for ordering events.
|
|
28
|
+
*/
|
|
29
|
+
sequenceNumber: number;
|
|
30
|
+
/**
|
|
31
|
+
* The event type. Discriminates the payload.
|
|
32
|
+
*/
|
|
33
|
+
type: "response.mcp_list_tools.failed";
|
|
34
|
+
additionalProperties?: { [k: string]: any } | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ResponseMCPListToolsFailedStreamEvent$inboundSchema: z.ZodType<
|
|
39
|
+
ResponseMCPListToolsFailedStreamEvent,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = collectExtraKeys$(
|
|
43
|
+
z.object({
|
|
44
|
+
item_id: z.string(),
|
|
45
|
+
output_index: z.number().int(),
|
|
46
|
+
sequence_number: z.number().int(),
|
|
47
|
+
type: z.literal("response.mcp_list_tools.failed"),
|
|
48
|
+
}).catchall(z.any()),
|
|
49
|
+
"additionalProperties",
|
|
50
|
+
true,
|
|
51
|
+
).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"item_id": "itemId",
|
|
54
|
+
"output_index": "outputIndex",
|
|
55
|
+
"sequence_number": "sequenceNumber",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export function responseMCPListToolsFailedStreamEventFromJSON(
|
|
60
|
+
jsonString: string,
|
|
61
|
+
): SafeParseResult<ResponseMCPListToolsFailedStreamEvent, SDKValidationError> {
|
|
62
|
+
return safeParse(
|
|
63
|
+
jsonString,
|
|
64
|
+
(x) =>
|
|
65
|
+
ResponseMCPListToolsFailedStreamEvent$inboundSchema.parse(JSON.parse(x)),
|
|
66
|
+
`Failed to parse 'ResponseMCPListToolsFailedStreamEvent' from JSON`,
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A `response.mcp_list_tools.in_progress` server-sent event.
|
|
16
|
+
*/
|
|
17
|
+
export type ResponseMCPListToolsInProgressStreamEvent = {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the output item this event refers to.
|
|
20
|
+
*/
|
|
21
|
+
itemId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Index of the output item in the response output array.
|
|
24
|
+
*/
|
|
25
|
+
outputIndex: number;
|
|
26
|
+
/**
|
|
27
|
+
* Monotonically increasing sequence number for ordering events.
|
|
28
|
+
*/
|
|
29
|
+
sequenceNumber: number;
|
|
30
|
+
/**
|
|
31
|
+
* The event type. Discriminates the payload.
|
|
32
|
+
*/
|
|
33
|
+
type: "response.mcp_list_tools.in_progress";
|
|
34
|
+
additionalProperties?: { [k: string]: any } | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ResponseMCPListToolsInProgressStreamEvent$inboundSchema: z.ZodType<
|
|
39
|
+
ResponseMCPListToolsInProgressStreamEvent,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = collectExtraKeys$(
|
|
43
|
+
z.object({
|
|
44
|
+
item_id: z.string(),
|
|
45
|
+
output_index: z.number().int(),
|
|
46
|
+
sequence_number: z.number().int(),
|
|
47
|
+
type: z.literal("response.mcp_list_tools.in_progress"),
|
|
48
|
+
}).catchall(z.any()),
|
|
49
|
+
"additionalProperties",
|
|
50
|
+
true,
|
|
51
|
+
).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"item_id": "itemId",
|
|
54
|
+
"output_index": "outputIndex",
|
|
55
|
+
"sequence_number": "sequenceNumber",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export function responseMCPListToolsInProgressStreamEventFromJSON(
|
|
60
|
+
jsonString: string,
|
|
61
|
+
): SafeParseResult<
|
|
62
|
+
ResponseMCPListToolsInProgressStreamEvent,
|
|
63
|
+
SDKValidationError
|
|
64
|
+
> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) =>
|
|
68
|
+
ResponseMCPListToolsInProgressStreamEvent$inboundSchema.parse(
|
|
69
|
+
JSON.parse(x),
|
|
70
|
+
),
|
|
71
|
+
`Failed to parse 'ResponseMCPListToolsInProgressStreamEvent' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|