@orq-ai/node 4.17.5 → 4.17.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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/feedbackRemove.ts +3 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +1 -1
- package/packages/orq-rc/src/models/components/autorouterconfig.ts +21 -0
- package/packages/orq-rc/src/models/components/autorouterv2config.ts +54 -0
- package/packages/orq-rc/src/models/components/autorouterv2creatorconfig.ts +9 -0
- package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +18 -0
- package/packages/orq-rc/src/models/components/budgetmatch.ts +1 -1
- package/packages/orq-rc/src/models/components/classifyretryconfig.ts +5 -5
- package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +18 -0
- package/packages/orq-rc/src/models/components/createmcpserverrequest.ts +11 -0
- package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +1 -1
- package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +5 -5
- package/packages/orq-rc/src/models/components/evaluatorcalltimeout.ts +42 -0
- package/packages/orq-rc/src/models/components/evaluatorretryconfig.ts +45 -0
- package/packages/orq-rc/src/models/components/index.ts +5 -0
- package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +19 -0
- package/packages/orq-rc/src/models/components/loadbalancerconfig.ts +24 -2
- package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +1 -0
- package/packages/orq-rc/src/models/components/mcpgateway.ts +12 -0
- package/packages/orq-rc/src/models/components/mcpgatewaytool.ts +6 -0
- package/packages/orq-rc/src/models/components/mcpicon.ts +77 -0
- package/packages/orq-rc/src/models/components/mcpopenapiconfig.ts +54 -0
- package/packages/orq-rc/src/models/components/mcpopenapiconfiginput.ts +51 -0
- package/packages/orq-rc/src/models/components/mcpserver.ts +21 -0
- package/packages/orq-rc/src/models/components/mcptool.ts +46 -0
- package/packages/orq-rc/src/models/components/memorystore.ts +1 -1
- package/packages/orq-rc/src/models/components/modelmetadata.ts +6 -0
- package/packages/orq-rc/src/models/components/reasoning.ts +14 -0
- package/packages/orq-rc/src/models/components/reasoningparam.ts +14 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responseretryconfig.ts +5 -5
- package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +25 -0
- package/packages/orq-rc/src/models/components/updatemcpserverrequest.ts +11 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -1
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +3 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +6 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +6 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/feedback.ts +6 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.17.
|
|
34
|
+
readonly sdkVersion: "4.17.7";
|
|
35
35
|
readonly genVersion: "2.950.13";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.17.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.17.7 2.950.13 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.17.
|
|
31
|
+
sdkVersion: "4.17.7",
|
|
32
32
|
genVersion: "2.950.13",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.17.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.17.7 2.950.13 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m5vvav5twxbknqgvwc93bf52"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
472
472
|
}
|
|
473
473
|
/** @internal */
|
|
474
474
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
475
|
-
_id: z.string().default("
|
|
475
|
+
_id: z.string().default("tool_01M5VVAV9JNEPKN464TR5WWZ01"),
|
|
476
476
|
path: z.string(),
|
|
477
477
|
key: z.string(),
|
|
478
478
|
display_name: z.string().optional(),
|
|
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01M5VVAV9HTYF61FH9JRCV41R1"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
612
612
|
}
|
|
613
613
|
/** @internal */
|
|
614
614
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
615
|
-
_id: z.string().default("
|
|
615
|
+
_id: z.string().default("tool_01M5VVAV9H82K1DVE84Z1F1D88"),
|
|
616
616
|
path: z.string(),
|
|
617
617
|
key: z.string(),
|
|
618
618
|
display_name: z.string().optional(),
|
|
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
|
|
|
665
665
|
}
|
|
666
666
|
/** @internal */
|
|
667
667
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
668
|
-
_id: z.string().default("
|
|
668
|
+
_id: z.string().default("tool_01M5VVAV9GEXQCWVN6DKWM8NT7"),
|
|
669
669
|
path: z.string(),
|
|
670
670
|
key: z.string(),
|
|
671
671
|
display_name: z.string().optional(),
|
|
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
172
172
|
}
|
|
173
173
|
/** @internal */
|
|
174
174
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("tool_01M5VVAV9CVAG3H2GJQ16NV9D7"),
|
|
176
176
|
path: z.string(),
|
|
177
177
|
key: z.string(),
|
|
178
178
|
display_name: z.string().optional(),
|
|
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
|
|
|
261
261
|
}
|
|
262
262
|
/** @internal */
|
|
263
263
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
264
|
-
_id: z.string().default("
|
|
264
|
+
_id: z.string().default("tool_01M5VVAV9CQZP4SZHQEZM895SY"),
|
|
265
265
|
path: z.string(),
|
|
266
266
|
key: z.string(),
|
|
267
267
|
display_name: z.string().optional(),
|
|
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
311
311
|
}
|
|
312
312
|
/** @internal */
|
|
313
313
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
314
|
-
_id: z.string().default("
|
|
314
|
+
_id: z.string().default("tool_01M5VVAV9BVZ87EYWSHQCE11NT"),
|
|
315
315
|
path: z.string(),
|
|
316
316
|
key: z.string(),
|
|
317
317
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01M5VVAV9A4XZAAXDX1FDXJQDP"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
67
67
|
updated_by_id: z.string().optional(),
|
|
68
68
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
69
|
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
71
71
|
filter_type: z.literal("name"),
|
|
72
72
|
filter_value: z.string(),
|
|
73
73
|
}).transform((v) => {
|
|
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
98
98
|
updated_by_id: z.string().optional(),
|
|
99
99
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
100
|
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
102
102
|
filter_type: z.literal("span_type"),
|
|
103
103
|
filter_values: z.array(z.string()),
|
|
104
104
|
}).transform((v) => {
|
|
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
63
63
|
updated_by_id: z.string().optional(),
|
|
64
64
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
65
|
.optional(),
|
|
66
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
67
67
|
filter_type: z.literal("name"),
|
|
68
68
|
filter_value: z.string(),
|
|
69
69
|
}).transform((v) => {
|
|
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
94
94
|
updated_by_id: z.string().optional(),
|
|
95
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
96
|
.optional(),
|
|
97
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
98
98
|
filter_type: z.literal("span_type"),
|
|
99
99
|
filter_values: z.array(z.string()),
|
|
100
100
|
}).transform((v) => {
|
|
@@ -1013,7 +1013,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
/** @internal */
|
|
1015
1015
|
exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
|
|
1016
|
-
id: z.string().default("
|
|
1016
|
+
id: z.string().default("01M5VVAV4PG5XQ23SW726Z1NZA"),
|
|
1017
1017
|
knowledge_id: z.string(),
|
|
1018
1018
|
configuration: z.union([
|
|
1019
1019
|
z.lazy(() => exports.KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-26T10:15:34.108Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
164
164
|
}
|
|
165
165
|
/** @internal */
|
|
166
166
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
167
|
-
_id: z.string().default("
|
|
167
|
+
_id: z.string().default("tool_01M5VVAV9XNGA416JE6WPHVVZS"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M5VVAV9XHVMP0S7E9KRMXD3D"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M5VVAV9WTZVWFDFT4RVTJ3WN"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M5VVAV9WJK6ARW1BJSPKT9T4"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -1104,7 +1104,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
/** @internal */
|
|
1106
1106
|
exports.Tools$outboundSchema = z.object({
|
|
1107
|
-
id: z.string().default("
|
|
1107
|
+
id: z.string().default("01M5VVAV7BABKS0Q1C2ANYBNQ1"),
|
|
1108
1108
|
name: z.string(),
|
|
1109
1109
|
description: z.string().optional(),
|
|
1110
1110
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1070,7 +1070,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1070
1070
|
}
|
|
1071
1071
|
/** @internal */
|
|
1072
1072
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1073
|
-
id: z.string().default("
|
|
1073
|
+
id: z.string().default("01M5VVAV7WXN61AR1BCKDMR28D"),
|
|
1074
1074
|
name: z.string(),
|
|
1075
1075
|
description: z.string().optional(),
|
|
1076
1076
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
536
536
|
}
|
|
537
537
|
/** @internal */
|
|
538
538
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
539
|
-
_id: z.string().default("
|
|
539
|
+
_id: z.string().default("tool_01M5VVAV9QN9TZBPCDZTZV57RX"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M5VVAV9PG29EH2EDWPCGYSG0"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M5VVAV9N4Y3RTRERVGB92GD6"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M5VVAV9NVX0755G5TYZF2N6J"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.7",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
},
|
|
11
11
|
"./*": "./*",
|
|
12
12
|
"./langchain": {
|
|
13
|
-
"types": "./langchain/index.d.mts",
|
|
14
13
|
"import": "./langchain/index.mjs",
|
|
15
|
-
"require": "./langchain/index.js"
|
|
14
|
+
"require": "./langchain/index.js",
|
|
15
|
+
"types": "./langchain/index.d.mts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
@@ -26,6 +26,9 @@ import * as operations from "../models/operations/index.js";
|
|
|
26
26
|
import { APICall, APIPromise } from "../types/async.js";
|
|
27
27
|
import { Result } from "../types/fp.js";
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Submit feedback
|
|
31
|
+
*/
|
|
29
32
|
export function feedbackCreate(
|
|
30
33
|
client: OrqCore,
|
|
31
34
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
@@ -26,6 +26,9 @@ import * as operations from "../models/operations/index.js";
|
|
|
26
26
|
import { APICall, APIPromise } from "../types/async.js";
|
|
27
27
|
import { Result } from "../types/fp.js";
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Remove feedback
|
|
31
|
+
*/
|
|
29
32
|
export function feedbackRemove(
|
|
30
33
|
client: OrqCore,
|
|
31
34
|
request?: operations.PostV2FeedbackRemoveRequestBody | undefined,
|
|
@@ -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.18.0-rc.
|
|
62
|
-
genVersion: "2.950.
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.18.0-rc.
|
|
61
|
+
sdkVersion: "4.18.0-rc.3",
|
|
62
|
+
genVersion: "2.950.13",
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.18.0-rc.3 2.950.13 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -185,7 +185,7 @@ export type Guardrails = {
|
|
|
185
185
|
|
|
186
186
|
export type Settings = {
|
|
187
187
|
/**
|
|
188
|
-
* Maximum iterations(
|
|
188
|
+
* Maximum iterations (LLM calls) before the agent will stop executing.
|
|
189
189
|
*/
|
|
190
190
|
maxIterations: number;
|
|
191
191
|
/**
|
|
@@ -21,14 +21,35 @@ import {
|
|
|
21
21
|
} from "./sessionaffinityconfig.js";
|
|
22
22
|
|
|
23
23
|
export type AutoRouterConfig = {
|
|
24
|
+
/**
|
|
25
|
+
* Catalog model whose benchmarks this private model copies to join Smart Router pools.
|
|
26
|
+
*/
|
|
24
27
|
benchmarkModel?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Model used when the router classifies a request as simple.
|
|
30
|
+
*/
|
|
25
31
|
economicalModel?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Identifier of the Smart Router configuration.
|
|
34
|
+
*/
|
|
26
35
|
id?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Models the router chooses from, written as provider/model_id.
|
|
38
|
+
*/
|
|
27
39
|
models?: Array<string> | null | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Routing preference: quality, balanced, or cost.
|
|
42
|
+
*/
|
|
28
43
|
profile?: string | undefined;
|
|
29
44
|
sessionAffinity?: SessionAffinityConfig | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Model used when the router classifies a request as complex.
|
|
47
|
+
*/
|
|
30
48
|
strongModel?: string | undefined;
|
|
31
49
|
v2?: AutoRouterV2Config | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Version of the Smart Router configuration format.
|
|
52
|
+
*/
|
|
32
53
|
version?: string | undefined;
|
|
33
54
|
};
|
|
34
55
|
|
|
@@ -22,23 +22,77 @@ import {
|
|
|
22
22
|
|
|
23
23
|
export type AutoRouterV2Config = {
|
|
24
24
|
aaCreator?: AutoRouterV2CreatorConfig | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Benchmark scores reported by Artificial Analysis, keyed by evaluation.
|
|
27
|
+
*/
|
|
25
28
|
aaEvaluations?: { [k: string]: number | null } | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the intelligence index is estimated rather than measured.
|
|
31
|
+
*/
|
|
26
32
|
aaIndexIsEstimated?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Version of the intelligence index the score came from.
|
|
35
|
+
*/
|
|
27
36
|
aaIndexVersion?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Whether Artificial Analysis classifies the model as a reasoning model.
|
|
39
|
+
*/
|
|
28
40
|
aaIsReasoning?: boolean | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Median output tokens per second measured by Artificial Analysis.
|
|
43
|
+
*/
|
|
29
44
|
aaMedianOutputTokensPerSecond?: number | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Median time to the first answer token measured by Artificial Analysis.
|
|
47
|
+
*/
|
|
30
48
|
aaMedianTimeToFirstAnswerToken?: number | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Median time to first token in seconds measured by Artificial Analysis.
|
|
51
|
+
*/
|
|
31
52
|
aaMedianTimeToFirstTokenSeconds?: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Artificial Analysis model identifier.
|
|
55
|
+
*/
|
|
32
56
|
aaModelId?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Model name reported by Artificial Analysis.
|
|
59
|
+
*/
|
|
33
60
|
aaName?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Token prices reported by Artificial Analysis, keyed by price type.
|
|
63
|
+
*/
|
|
34
64
|
aaPricing?: { [k: string]: number | null } | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Reasoning effort the benchmarked score applies to.
|
|
67
|
+
*/
|
|
35
68
|
aaReasoningEffort?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Model release date reported by Artificial Analysis.
|
|
71
|
+
*/
|
|
36
72
|
aaReleaseDate?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Artificial Analysis slug of the model.
|
|
75
|
+
*/
|
|
37
76
|
aaSlug?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Reasoning effort applied when a request does not set one.
|
|
79
|
+
*/
|
|
38
80
|
defaultEffort?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the default effort has a benchmarked score.
|
|
83
|
+
*/
|
|
39
84
|
defaultEffortScored?: boolean | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Artificial Analysis intelligence index the router ranks the model by.
|
|
87
|
+
*/
|
|
40
88
|
intelligenceIndex: number;
|
|
89
|
+
/**
|
|
90
|
+
* Blended price per million tokens, in USD.
|
|
91
|
+
*/
|
|
41
92
|
price: number;
|
|
93
|
+
/**
|
|
94
|
+
* Benchmark data for each reasoning effort the model exposes.
|
|
95
|
+
*/
|
|
42
96
|
reasoningEfforts?: { [k: string]: AutoRouterV2EffortConfig } | undefined;
|
|
43
97
|
};
|
|
44
98
|
|
|
@@ -8,8 +8,17 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type AutoRouterV2CreatorConfig = {
|
|
11
|
+
/**
|
|
12
|
+
* Artificial Analysis identifier of the creator.
|
|
13
|
+
*/
|
|
11
14
|
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* Creator name reported by Artificial Analysis.
|
|
17
|
+
*/
|
|
12
18
|
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* Artificial Analysis slug of the creator.
|
|
21
|
+
*/
|
|
13
22
|
slug?: string | undefined;
|
|
14
23
|
};
|
|
15
24
|
|
|
@@ -9,11 +9,29 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type AutoRouterV2EffortConfig = {
|
|
12
|
+
/**
|
|
13
|
+
* Whether the score at this effort is estimated.
|
|
14
|
+
*/
|
|
12
15
|
aaIndexIsEstimated?: boolean | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Version of the intelligence index measured at this effort.
|
|
18
|
+
*/
|
|
13
19
|
aaIndexVersion?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the model runs as a reasoning model at this effort.
|
|
22
|
+
*/
|
|
14
23
|
aaIsReasoning?: boolean | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Reasoning effort label Artificial Analysis reports for this entry.
|
|
26
|
+
*/
|
|
15
27
|
aaReasoningEffort?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Artificial Analysis slug of the model at this effort.
|
|
30
|
+
*/
|
|
16
31
|
aaSlug?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Intelligence index measured at this effort.
|
|
34
|
+
*/
|
|
17
35
|
intelligenceIndex: number;
|
|
18
36
|
};
|
|
19
37
|
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* CEL expression that decides whether a budget applies to a request. Available variables: `model`, `provider`, `model_id`, `api_key`, `identity`, `project`, `metadata` (map), `headers` (map, lowercase keys).
|
|
11
|
+
* CEL expression that decides whether a budget applies to a request. Available variables: `model`, `provider`, `model_id`, `api_key`, `identity`, `project`, `metadata` (map), `headers` (map, lowercase keys). Required unless the budget is created from a `scope`, and rejected on update when left empty. A workspace-wide budget stores an empty expression, which matches every request in the workspace. Expressions are syntax-validated at write time.
|
|
12
12
|
*/
|
|
13
13
|
export type BudgetMatch = {
|
|
14
14
|
cel?: string | undefined;
|
|
@@ -7,19 +7,19 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
|
|
8
8
|
export type ClassifyRetryConfig = {
|
|
9
9
|
/**
|
|
10
|
-
* Number of retries per model after the initial attempt (
|
|
10
|
+
* Number of retries per model after the initial attempt (0-5). Set 0 to disable retries. When retry is omitted, the gateway retries twice.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
/**
|
|
14
|
-
* HTTP status codes that trigger retries, between 100 and 599. Retry-After is honored; otherwise the gateway
|
|
14
|
+
* HTTP status codes that trigger retries, between 100 and 599. Defaults to [408, 429, 500, 502, 503, 504, 529]. Retry-After is honored; otherwise the gateway backs off exponentially.
|
|
15
15
|
*/
|
|
16
|
-
onCodes
|
|
16
|
+
onCodes?: Array<number> | undefined;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
/** @internal */
|
|
20
20
|
export type ClassifyRetryConfig$Outbound = {
|
|
21
21
|
count: number;
|
|
22
|
-
on_codes
|
|
22
|
+
on_codes?: Array<number> | undefined;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
/** @internal */
|
|
@@ -29,7 +29,7 @@ export const ClassifyRetryConfig$outboundSchema: z.ZodType<
|
|
|
29
29
|
ClassifyRetryConfig
|
|
30
30
|
> = z.object({
|
|
31
31
|
count: z.number().int(),
|
|
32
|
-
onCodes: z.array(z.number().int()),
|
|
32
|
+
onCodes: z.array(z.number().int()).optional(),
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
35
|
onCodes: "on_codes",
|
|
@@ -18,6 +18,11 @@ import {
|
|
|
18
18
|
McpGatewayServerLink$Outbound,
|
|
19
19
|
McpGatewayServerLink$outboundSchema,
|
|
20
20
|
} from "./mcpgatewayserverlink.js";
|
|
21
|
+
import {
|
|
22
|
+
McpIcon,
|
|
23
|
+
McpIcon$Outbound,
|
|
24
|
+
McpIcon$outboundSchema,
|
|
25
|
+
} from "./mcpicon.js";
|
|
21
26
|
import {
|
|
22
27
|
McpToolNaming,
|
|
23
28
|
McpToolNaming$outboundSchema,
|
|
@@ -59,6 +64,14 @@ export type CreateMcpGatewayRequest = {
|
|
|
59
64
|
* Workspace skills this gateway serves to MCP clients through the MCP Skills extension.
|
|
60
65
|
*/
|
|
61
66
|
skillIds?: Array<string> | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Icons advertised to MCP clients; defaults to ORQ branding when empty.
|
|
69
|
+
*/
|
|
70
|
+
icons?: Array<McpIcon> | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Website advertised to MCP clients; defaults to ORQ documentation when empty.
|
|
73
|
+
*/
|
|
74
|
+
websiteUrl?: string | undefined;
|
|
62
75
|
};
|
|
63
76
|
|
|
64
77
|
/** @internal */
|
|
@@ -72,6 +85,8 @@ export type CreateMcpGatewayRequest$Outbound = {
|
|
|
72
85
|
sharing?: Sharing$Outbound | undefined;
|
|
73
86
|
plugins?: Array<McpGatewayPlugin$Outbound> | undefined;
|
|
74
87
|
skill_ids?: Array<string> | undefined;
|
|
88
|
+
icons?: Array<McpIcon$Outbound> | undefined;
|
|
89
|
+
website_url?: string | undefined;
|
|
75
90
|
};
|
|
76
91
|
|
|
77
92
|
/** @internal */
|
|
@@ -89,12 +104,15 @@ export const CreateMcpGatewayRequest$outboundSchema: z.ZodType<
|
|
|
89
104
|
sharing: Sharing$outboundSchema.optional(),
|
|
90
105
|
plugins: z.array(McpGatewayPlugin$outboundSchema).optional(),
|
|
91
106
|
skillIds: z.array(z.string()).optional(),
|
|
107
|
+
icons: z.array(McpIcon$outboundSchema).optional(),
|
|
108
|
+
websiteUrl: z.string().optional(),
|
|
92
109
|
}).transform((v) => {
|
|
93
110
|
return remap$(v, {
|
|
94
111
|
displayName: "display_name",
|
|
95
112
|
serverLinks: "server_links",
|
|
96
113
|
toolNaming: "tool_naming",
|
|
97
114
|
skillIds: "skill_ids",
|
|
115
|
+
websiteUrl: "website_url",
|
|
98
116
|
});
|
|
99
117
|
});
|
|
100
118
|
|
|
@@ -14,6 +14,11 @@ import {
|
|
|
14
14
|
McpConnection$Outbound,
|
|
15
15
|
McpConnection$outboundSchema,
|
|
16
16
|
} from "./mcpconnection.js";
|
|
17
|
+
import {
|
|
18
|
+
McpOpenApiConfigInput,
|
|
19
|
+
McpOpenApiConfigInput$Outbound,
|
|
20
|
+
McpOpenApiConfigInput$outboundSchema,
|
|
21
|
+
} from "./mcpopenapiconfiginput.js";
|
|
17
22
|
import {
|
|
18
23
|
McpToolExposure,
|
|
19
24
|
McpToolExposure$Outbound,
|
|
@@ -54,6 +59,10 @@ export type CreateMcpServerRequest = {
|
|
|
54
59
|
* Which projects in the workspace may use this server. Defaults to every project.
|
|
55
60
|
*/
|
|
56
61
|
sharing?: Sharing | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Required when `connection.type` is `MCP_CONNECTION_TYPE_OPENAPI`; set `document` or `document_url`.
|
|
64
|
+
*/
|
|
65
|
+
openapi?: McpOpenApiConfigInput | undefined;
|
|
57
66
|
};
|
|
58
67
|
|
|
59
68
|
/** @internal */
|
|
@@ -65,6 +74,7 @@ export type CreateMcpServerRequest$Outbound = {
|
|
|
65
74
|
auth: McpAuthConfig$Outbound;
|
|
66
75
|
default_tool_exposure: McpToolExposure$Outbound;
|
|
67
76
|
sharing?: Sharing$Outbound | undefined;
|
|
77
|
+
openapi?: McpOpenApiConfigInput$Outbound | undefined;
|
|
68
78
|
};
|
|
69
79
|
|
|
70
80
|
/** @internal */
|
|
@@ -80,6 +90,7 @@ export const CreateMcpServerRequest$outboundSchema: z.ZodType<
|
|
|
80
90
|
auth: McpAuthConfig$outboundSchema,
|
|
81
91
|
defaultToolExposure: McpToolExposure$outboundSchema,
|
|
82
92
|
sharing: Sharing$outboundSchema.optional(),
|
|
93
|
+
openapi: McpOpenApiConfigInput$outboundSchema.optional(),
|
|
83
94
|
}).transform((v) => {
|
|
84
95
|
return remap$(v, {
|
|
85
96
|
displayName: "display_name",
|