@orq-ai/node 4.16.0-rc.10 → 4.16.0-rc.12
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/funcs/projectsCreate.d.ts +1 -1
- package/funcs/projectsCreate.js +1 -1
- package/funcs/projectsDelete.d.ts +1 -1
- package/funcs/projectsDelete.js +1 -1
- package/funcs/projectsUpdate.d.ts +1 -1
- package/funcs/projectsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/apikeyrestresponse.d.ts +1 -1
- package/models/components/datasource.d.ts +2 -2
- package/models/components/datasourcesservicecreaterequest.d.ts +2 -2
- package/models/components/extendedmessage.d.ts +1 -1
- package/models/components/filesystem.d.ts +4 -4
- package/models/components/filesystem.d.ts.map +1 -1
- package/models/components/filesystem.js +2 -1
- package/models/components/filesystem.js.map +1 -1
- package/models/components/hubitem.d.ts +1 -1
- package/models/components/hubitem.d.ts.map +1 -1
- package/models/components/hubitem.js +1 -1
- package/models/components/hubitem.js.map +1 -1
- package/models/components/hubitemsummary.d.ts +1 -1
- package/models/components/knowledge.d.ts +2 -2
- package/models/components/knowledgechunk.d.ts +1 -1
- package/models/components/mcpauthconfig.d.ts +1 -1
- package/models/components/mcpauthconfigoutput.d.ts +1 -1
- package/models/components/memory.d.ts +2 -5
- package/models/components/memory.d.ts.map +1 -1
- package/models/components/memory.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfailedstreamingevent.js +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfinishedstreamingevent.js +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionstartedstreamingevent.js +1 -1
- package/models/operations/createagentrequest.d.ts +7 -7
- package/models/operations/createagentrequest.js +1 -1
- package/models/operations/createchatcompletion.d.ts +2 -2
- package/models/operations/createcompletion.d.ts +3 -3
- package/models/operations/createimage.d.ts +2 -2
- package/models/operations/createimageedit.d.ts +2 -2
- package/models/operations/createimagevariation.d.ts +2 -2
- package/models/operations/creatererank.d.ts +2 -2
- package/models/operations/createspeech.d.ts +2 -2
- package/models/operations/createtool.js +4 -4
- package/models/operations/createtranscription.d.ts +2 -2
- package/models/operations/createtranslation.d.ts +2 -2
- package/models/operations/deployments.d.ts +2 -2
- package/models/operations/getallmemories.d.ts +3 -3
- package/models/operations/getallmemorydocuments.d.ts +3 -3
- package/models/operations/getallmemorystores.d.ts +3 -3
- package/models/operations/getallprompts.d.ts +2 -2
- package/models/operations/getalltools.d.ts +2 -2
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getevals.d.ts +2 -2
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2toolstoolidversions.d.ts +2 -2
- package/models/operations/listagents.d.ts +7 -7
- package/models/operations/listagents.js +1 -1
- package/models/operations/listchunks.d.ts +3 -3
- package/models/operations/listdatasources.d.ts +3 -3
- package/models/operations/listidentities.d.ts +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -2
- package/models/operations/listpromptversions.d.ts +2 -2
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +5 -5
- package/models/operations/retrieveagentrequest.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +2 -2
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +2 -2
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +7 -7
- package/models/operations/updateagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/sdk/projects.d.ts +3 -3
- package/sdk/projects.js +3 -3
- package/src/funcs/projectsCreate.ts +1 -1
- package/src/funcs/projectsDelete.ts +1 -1
- package/src/funcs/projectsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/apikeyrestresponse.ts +1 -1
- package/src/models/components/datasource.ts +2 -2
- package/src/models/components/datasourcesservicecreaterequest.ts +2 -2
- package/src/models/components/extendedmessage.ts +1 -1
- package/src/models/components/filesystem.ts +6 -5
- package/src/models/components/hubitem.ts +2 -2
- package/src/models/components/hubitemsummary.ts +1 -1
- package/src/models/components/knowledge.ts +2 -2
- package/src/models/components/knowledgechunk.ts +1 -1
- package/src/models/components/mcpauthconfig.ts +1 -1
- package/src/models/components/mcpauthconfigoutput.ts +1 -1
- package/src/models/components/memory.ts +2 -5
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
- package/src/models/operations/createagentrequest.ts +7 -7
- package/src/models/operations/createchatcompletion.ts +2 -2
- package/src/models/operations/createcompletion.ts +3 -3
- package/src/models/operations/createimage.ts +2 -2
- package/src/models/operations/createimageedit.ts +2 -2
- package/src/models/operations/createimagevariation.ts +2 -2
- package/src/models/operations/creatererank.ts +2 -2
- package/src/models/operations/createspeech.ts +2 -2
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/createtranscription.ts +2 -2
- package/src/models/operations/createtranslation.ts +2 -2
- package/src/models/operations/deployments.ts +2 -2
- package/src/models/operations/getallmemories.ts +3 -3
- package/src/models/operations/getallmemorydocuments.ts +3 -3
- package/src/models/operations/getallmemorystores.ts +3 -3
- package/src/models/operations/getallprompts.ts +2 -2
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +2 -2
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2toolstoolidversions.ts +2 -2
- package/src/models/operations/listagents.ts +7 -7
- package/src/models/operations/listchunks.ts +3 -3
- package/src/models/operations/listdatasources.ts +3 -3
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +2 -2
- package/src/models/operations/listpromptversions.ts +2 -2
- 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/retrieveagentrequest.ts +5 -5
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +3 -3
- package/src/models/operations/streamrunagent.ts +3 -3
- package/src/models/operations/updateagent.ts +7 -7
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/projects.ts +3 -3
|
@@ -54,14 +54,14 @@ export declare const RetrieveAgentRequestEngine: {
|
|
|
54
54
|
};
|
|
55
55
|
export type RetrieveAgentRequestEngine = ClosedEnum<typeof RetrieveAgentRequestEngine>;
|
|
56
56
|
/**
|
|
57
|
-
* Agent type: internal (
|
|
57
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
58
58
|
*/
|
|
59
59
|
export declare const RetrieveAgentRequestType: {
|
|
60
60
|
readonly Internal: "internal";
|
|
61
61
|
readonly A2a: "a2a";
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
* Agent type: internal (
|
|
64
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
65
65
|
*/
|
|
66
66
|
export type RetrieveAgentRequestType = ClosedEnum<typeof RetrieveAgentRequestType>;
|
|
67
67
|
/**
|
|
@@ -481,7 +481,7 @@ export type RetrieveAgentRequestCacheControl = {
|
|
|
481
481
|
ttl: RetrieveAgentRequestTtl;
|
|
482
482
|
};
|
|
483
483
|
/**
|
|
484
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
484
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
485
485
|
*/
|
|
486
486
|
export type RetrieveAgentRequestParameters = {
|
|
487
487
|
/**
|
|
@@ -1036,7 +1036,7 @@ export type RetrieveAgentRequestModel = {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
integrationId?: string | null | undefined;
|
|
1038
1038
|
/**
|
|
1039
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1039
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1040
1040
|
*/
|
|
1041
1041
|
parameters?: RetrieveAgentRequestParameters | null | undefined;
|
|
1042
1042
|
/**
|
|
@@ -1107,7 +1107,7 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
1107
1107
|
source?: RetrieveAgentRequestSource | undefined;
|
|
1108
1108
|
engine: RetrieveAgentRequestEngine;
|
|
1109
1109
|
/**
|
|
1110
|
-
* Agent type: internal (
|
|
1110
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1111
1111
|
*/
|
|
1112
1112
|
type: RetrieveAgentRequestType;
|
|
1113
1113
|
role: string;
|
|
@@ -120,7 +120,7 @@ exports.RetrieveAgentRequestEngine = {
|
|
|
120
120
|
Mustache: "mustache",
|
|
121
121
|
};
|
|
122
122
|
/**
|
|
123
|
-
* Agent type: internal (
|
|
123
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
124
124
|
*/
|
|
125
125
|
exports.RetrieveAgentRequestType = {
|
|
126
126
|
Internal: "internal",
|
|
@@ -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_01M346Z17MT3V1JG75H4N5XDM0"),
|
|
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_01M346Z17M3FQRZ6Y39MQ0BT7R"),
|
|
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_01M346Z17KPWZ6YK6CV51V63MW"),
|
|
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_01M346Z17KA16DD01BM3XE9RQK"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -269,7 +269,7 @@ export type RunAgentModelConfigurationCacheControl = {
|
|
|
269
269
|
ttl?: RunAgentModelConfigurationTtl | undefined;
|
|
270
270
|
};
|
|
271
271
|
/**
|
|
272
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
272
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
273
273
|
*/
|
|
274
274
|
export type RunAgentModelConfigurationParameters = {
|
|
275
275
|
/**
|
|
@@ -409,7 +409,7 @@ export type RunAgentModelConfiguration2 = {
|
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
412
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
412
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
413
413
|
*/
|
|
414
414
|
parameters?: RunAgentModelConfigurationParameters | undefined;
|
|
415
415
|
/**
|
|
@@ -1098,7 +1098,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
/** @internal */
|
|
1100
1100
|
exports.Tools$outboundSchema = z.object({
|
|
1101
|
-
id: z.string().default("
|
|
1101
|
+
id: z.string().default("01M346Z15T9KBWMFE9K5G6JA4A"),
|
|
1102
1102
|
name: z.string(),
|
|
1103
1103
|
description: z.string().optional(),
|
|
1104
1104
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -269,7 +269,7 @@ export type StreamRunAgentModelConfigurationCacheControl = {
|
|
|
269
269
|
ttl?: StreamRunAgentModelConfigurationTtl | undefined;
|
|
270
270
|
};
|
|
271
271
|
/**
|
|
272
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
272
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
273
273
|
*/
|
|
274
274
|
export type StreamRunAgentModelConfigurationParameters = {
|
|
275
275
|
/**
|
|
@@ -409,7 +409,7 @@ export type StreamRunAgentModelConfiguration2 = {
|
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
412
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
412
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
413
413
|
*/
|
|
414
414
|
parameters?: StreamRunAgentModelConfigurationParameters | undefined;
|
|
415
415
|
/**
|
|
@@ -1064,7 +1064,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1064
1064
|
}
|
|
1065
1065
|
/** @internal */
|
|
1066
1066
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1067
|
-
id: z.string().default("
|
|
1067
|
+
id: z.string().default("01M346Z168A4VXE28FGX3KWA77"),
|
|
1068
1068
|
name: z.string(),
|
|
1069
1069
|
description: z.string().optional(),
|
|
1070
1070
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -269,7 +269,7 @@ export type UpdateAgentModelConfigurationCacheControl = {
|
|
|
269
269
|
ttl?: UpdateAgentModelConfigurationTtl | undefined;
|
|
270
270
|
};
|
|
271
271
|
/**
|
|
272
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
272
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
273
273
|
*/
|
|
274
274
|
export type ModelConfigurationParameters = {
|
|
275
275
|
/**
|
|
@@ -409,7 +409,7 @@ export type UpdateAgentModelConfiguration2 = {
|
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
412
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
412
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
413
413
|
*/
|
|
414
414
|
parameters?: ModelConfigurationParameters | undefined;
|
|
415
415
|
/**
|
|
@@ -1072,14 +1072,14 @@ export declare const UpdateAgentAgentsEngine: {
|
|
|
1072
1072
|
};
|
|
1073
1073
|
export type UpdateAgentAgentsEngine = ClosedEnum<typeof UpdateAgentAgentsEngine>;
|
|
1074
1074
|
/**
|
|
1075
|
-
* Agent type: internal (
|
|
1075
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1076
1076
|
*/
|
|
1077
1077
|
export declare const UpdateAgentType: {
|
|
1078
1078
|
readonly Internal: "internal";
|
|
1079
1079
|
readonly A2a: "a2a";
|
|
1080
1080
|
};
|
|
1081
1081
|
/**
|
|
1082
|
-
* Agent type: internal (
|
|
1082
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1083
1083
|
*/
|
|
1084
1084
|
export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
|
|
1085
1085
|
/**
|
|
@@ -1499,7 +1499,7 @@ export type UpdateAgentCacheControl = {
|
|
|
1499
1499
|
ttl: UpdateAgentTtl;
|
|
1500
1500
|
};
|
|
1501
1501
|
/**
|
|
1502
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1502
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1503
1503
|
*/
|
|
1504
1504
|
export type UpdateAgentParameters = {
|
|
1505
1505
|
/**
|
|
@@ -2054,7 +2054,7 @@ export type UpdateAgentModel = {
|
|
|
2054
2054
|
*/
|
|
2055
2055
|
integrationId?: string | null | undefined;
|
|
2056
2056
|
/**
|
|
2057
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
2057
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
2058
2058
|
*/
|
|
2059
2059
|
parameters?: UpdateAgentParameters | null | undefined;
|
|
2060
2060
|
/**
|
|
@@ -2125,7 +2125,7 @@ export type UpdateAgentResponseBody = {
|
|
|
2125
2125
|
source?: UpdateAgentSource | undefined;
|
|
2126
2126
|
engine: UpdateAgentAgentsEngine;
|
|
2127
2127
|
/**
|
|
2128
|
-
* Agent type: internal (
|
|
2128
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
2129
2129
|
*/
|
|
2130
2130
|
type: UpdateAgentType;
|
|
2131
2131
|
role: string;
|
|
@@ -364,7 +364,7 @@ exports.UpdateAgentAgentsEngine = {
|
|
|
364
364
|
Mustache: "mustache",
|
|
365
365
|
};
|
|
366
366
|
/**
|
|
367
|
-
* Agent type: internal (
|
|
367
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
368
368
|
*/
|
|
369
369
|
exports.UpdateAgentType = {
|
|
370
370
|
Internal: "internal",
|
|
@@ -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_01M346Z17G1PBGH1JXWTMZ538J"),
|
|
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_01M346Z17FVG45VN60FQ0KC63V"),
|
|
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_01M346Z17FW3PEHWQ08RM5CD9D"),
|
|
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_01M346Z17E2AR7A0MNAMCTBK89"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.16.0-rc.
|
|
3
|
+
"version": "4.16.0-rc.12",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./langchain": {
|
|
7
|
-
"import": "./langchain/index.mjs",
|
|
8
|
-
"require": "./langchain/index.js",
|
|
9
|
-
"types": "./langchain/index.d.mts"
|
|
10
|
-
},
|
|
11
6
|
".": {
|
|
12
7
|
"import": "./index.js",
|
|
13
8
|
"require": "./index.js",
|
|
14
9
|
"types": "./index.d.ts"
|
|
15
10
|
},
|
|
16
|
-
"./*": "./*"
|
|
11
|
+
"./*": "./*",
|
|
12
|
+
"./langchain": {
|
|
13
|
+
"import": "./langchain/index.mjs",
|
|
14
|
+
"require": "./langchain/index.js",
|
|
15
|
+
"types": "./langchain/index.d.mts"
|
|
16
|
+
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
package/sdk/projects.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class Projects extends ClientSDK {
|
|
|
13
13
|
* Create a new project
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
16
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
17
17
|
*/
|
|
18
18
|
create(request: components.CreateProjectRequest, options?: RequestOptions): Promise<components.CreateProjectResponse>;
|
|
19
19
|
/**
|
|
@@ -27,14 +27,14 @@ export declare class Projects extends ClientSDK {
|
|
|
27
27
|
* Delete a project
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
30
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
31
31
|
*/
|
|
32
32
|
delete(request: operations.ProjectDeleteRequest, options?: RequestOptions): Promise<components.DeleteProjectResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* Update a project
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
37
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
38
38
|
*/
|
|
39
39
|
update(request: operations.ProjectUpdateRequest, options?: RequestOptions): Promise<components.UpdateProjectResponse>;
|
|
40
40
|
}
|
package/sdk/projects.js
CHANGED
|
@@ -25,7 +25,7 @@ class Projects extends sdks_js_1.ClientSDK {
|
|
|
25
25
|
* Create a new project
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
28
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
29
29
|
*/
|
|
30
30
|
async create(request, options) {
|
|
31
31
|
return (0, fp_js_1.unwrapAsync)((0, projectsCreate_js_1.projectsCreate)(this, request, options));
|
|
@@ -43,7 +43,7 @@ class Projects extends sdks_js_1.ClientSDK {
|
|
|
43
43
|
* Delete a project
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
46
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
47
47
|
*/
|
|
48
48
|
async delete(request, options) {
|
|
49
49
|
return (0, fp_js_1.unwrapAsync)((0, projectsDelete_js_1.projectsDelete)(this, request, options));
|
|
@@ -52,7 +52,7 @@ class Projects extends sdks_js_1.ClientSDK {
|
|
|
52
52
|
* Update a project
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
55
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
56
56
|
*/
|
|
57
57
|
async update(request, options) {
|
|
58
58
|
return (0, fp_js_1.unwrapAsync)((0, projectsUpdate_js_1.projectsUpdate)(this, request, options));
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Create a new project
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
32
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
33
33
|
*/
|
|
34
34
|
export function projectsCreate(
|
|
35
35
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Delete a project
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
33
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
34
34
|
*/
|
|
35
35
|
export function projectsDelete(
|
|
36
36
|
client: OrqCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Update a project
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
33
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
34
34
|
*/
|
|
35
35
|
export function projectsUpdate(
|
|
36
36
|
client: OrqCore,
|
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.16.0-rc.
|
|
61
|
+
sdkVersion: "4.16.0-rc.12",
|
|
62
62
|
genVersion: "2.938.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.12 2.938.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -16,7 +16,7 @@ export type ApiKeyRestResponse = {
|
|
|
16
16
|
name: string;
|
|
17
17
|
workspaceId: string;
|
|
18
18
|
/**
|
|
19
|
-
* Raw on create
|
|
19
|
+
* Raw on create; the key prefix on retrieve and update; masked in list responses.
|
|
20
20
|
*/
|
|
21
21
|
token: string;
|
|
22
22
|
active?: boolean | undefined;
|
|
@@ -30,7 +30,7 @@ export type DatasourceStatus = ClosedEnum<typeof DatasourceStatus>;
|
|
|
30
30
|
export type Datasource = {
|
|
31
31
|
displayName: string;
|
|
32
32
|
/**
|
|
33
|
-
* The description of the
|
|
33
|
+
* The description of the datasource
|
|
34
34
|
*/
|
|
35
35
|
description?: string | null | undefined;
|
|
36
36
|
status: DatasourceStatus;
|
|
@@ -51,7 +51,7 @@ export type Datasource = {
|
|
|
51
51
|
knowledgeId: string;
|
|
52
52
|
chunksCount: number;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Processing attempts recorded for the datasource.
|
|
55
55
|
*/
|
|
56
56
|
processingAttempts?: Array<ProcessingAttempt> | undefined;
|
|
57
57
|
metadata?: CountMetadata | undefined;
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
export type DatasourcesServiceCreateRequest = {
|
|
24
24
|
displayName?: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* The description of the
|
|
26
|
+
* The description of the datasource
|
|
27
27
|
*/
|
|
28
28
|
description?: string | null | undefined;
|
|
29
29
|
fileId?: string | undefined;
|
|
30
30
|
chunkingOptions?: DatasourceChunkingOptions | undefined;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Optional datasource ID. When omitted, the server generates one.
|
|
33
33
|
*/
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
attachment?: DatasourceAttachment | undefined;
|
|
@@ -45,7 +45,7 @@ export type ExtendedMessageParts =
|
|
|
45
45
|
| ToolResultPart;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with
|
|
48
|
+
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with orq.ai-specific features.
|
|
49
49
|
*/
|
|
50
50
|
export type ExtendedMessage = {
|
|
51
51
|
kind: ExtendedMessageKind;
|
|
@@ -14,10 +14,6 @@ import {
|
|
|
14
14
|
import { Sharing, Sharing$inboundSchema } from "./sharing.js";
|
|
15
15
|
|
|
16
16
|
export type FileSystem = {
|
|
17
|
-
/**
|
|
18
|
-
* The unique identifier of the file system
|
|
19
|
-
*/
|
|
20
|
-
id?: string | undefined;
|
|
21
17
|
/**
|
|
22
18
|
* The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
|
|
23
19
|
*/
|
|
@@ -70,6 +66,10 @@ export type FileSystem = {
|
|
|
70
66
|
* When usage was last measured. Absent until first metered.
|
|
71
67
|
*/
|
|
72
68
|
lastMeteredAt?: string | null | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* The unique identifier of the file system
|
|
71
|
+
*/
|
|
72
|
+
id: string;
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
/** @internal */
|
|
@@ -78,7 +78,6 @@ export const FileSystem$inboundSchema: z.ZodType<
|
|
|
78
78
|
z.ZodTypeDef,
|
|
79
79
|
unknown
|
|
80
80
|
> = z.object({
|
|
81
|
-
id: z.string().optional(),
|
|
82
81
|
key: z.string(),
|
|
83
82
|
display_name: z.string(),
|
|
84
83
|
description: z.string(),
|
|
@@ -92,6 +91,7 @@ export const FileSystem$inboundSchema: z.ZodType<
|
|
|
92
91
|
used_bytes: z.nullable(z.string()).optional(),
|
|
93
92
|
used_inodes: z.nullable(z.string()).optional(),
|
|
94
93
|
last_metered_at: z.nullable(z.string()).optional(),
|
|
94
|
+
_id: z.string(),
|
|
95
95
|
}).transform((v) => {
|
|
96
96
|
return remap$(v, {
|
|
97
97
|
"display_name": "displayName",
|
|
@@ -102,6 +102,7 @@ export const FileSystem$inboundSchema: z.ZodType<
|
|
|
102
102
|
"used_bytes": "usedBytes",
|
|
103
103
|
"used_inodes": "usedInodes",
|
|
104
104
|
"last_metered_at": "lastMeteredAt",
|
|
105
|
+
"_id": "id",
|
|
105
106
|
});
|
|
106
107
|
});
|
|
107
108
|
|
|
@@ -22,7 +22,7 @@ export type HubItem = {
|
|
|
22
22
|
/**
|
|
23
23
|
* Unique hub item ID.
|
|
24
24
|
*/
|
|
25
|
-
id
|
|
25
|
+
id: string;
|
|
26
26
|
/**
|
|
27
27
|
* ID of the workspace entity represented by this hub item.
|
|
28
28
|
*/
|
|
@@ -103,7 +103,7 @@ export function promptFromJSON(
|
|
|
103
103
|
/** @internal */
|
|
104
104
|
export const HubItem$inboundSchema: z.ZodType<HubItem, z.ZodTypeDef, unknown> =
|
|
105
105
|
z.object({
|
|
106
|
-
id: z.string()
|
|
106
|
+
id: z.string(),
|
|
107
107
|
entity_id: z.string(),
|
|
108
108
|
display_name: z.string(),
|
|
109
109
|
description: z.string(),
|
|
@@ -14,7 +14,7 @@ export type HubItemSummary = {
|
|
|
14
14
|
*/
|
|
15
15
|
id: string;
|
|
16
16
|
/**
|
|
17
|
-
* ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the
|
|
17
|
+
* ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the search index.
|
|
18
18
|
*/
|
|
19
19
|
entityId?: string | undefined;
|
|
20
20
|
/**
|
|
@@ -127,7 +127,7 @@ export type Knowledge2 = {
|
|
|
127
127
|
retrievalSettings?: KnowledgeRetrievalSettings | undefined;
|
|
128
128
|
externalConfig: ExternalConfig;
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
|
|
131
131
|
*/
|
|
132
132
|
settings?: KnowledgeSettings | undefined;
|
|
133
133
|
metadata?: KnowledgeMetadata | undefined;
|
|
@@ -252,7 +252,7 @@ export type Knowledge1 = {
|
|
|
252
252
|
*/
|
|
253
253
|
model: string;
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
|
|
256
256
|
*/
|
|
257
257
|
settings?: KnowledgeSettings | undefined;
|
|
258
258
|
metadata?: KnowledgeMetadata | undefined;
|
|
@@ -53,7 +53,7 @@ export type KnowledgeChunk = {
|
|
|
53
53
|
*/
|
|
54
54
|
updateById?: string | null | undefined;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Processing attempts recorded for the chunk.
|
|
57
57
|
*/
|
|
58
58
|
processingAttempts?: Array<ProcessingAttempt> | undefined;
|
|
59
59
|
countMetadata?: CountMetadata | undefined;
|
|
@@ -23,7 +23,7 @@ export type McpAuthConfig = {
|
|
|
23
23
|
*/
|
|
24
24
|
staticHeaders?: Array<McpHeaderSecret> | undefined;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
|
|
27
27
|
*/
|
|
28
28
|
oauth?: McpOAuthConfig | undefined;
|
|
29
29
|
};
|
|
@@ -24,7 +24,7 @@ export type McpAuthConfigOutput = {
|
|
|
24
24
|
*/
|
|
25
25
|
staticHeaders?: Array<McpHeaderSecretOutput> | undefined;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
|
|
28
28
|
*/
|
|
29
29
|
oauth?: McpOAuthConfigOutput | undefined;
|
|
30
30
|
};
|
|
@@ -22,14 +22,11 @@ export type Memory = {
|
|
|
22
22
|
storeId: string;
|
|
23
23
|
workspaceId: string;
|
|
24
24
|
/**
|
|
25
|
-
* The number of
|
|
25
|
+
* The number of documents in the entity
|
|
26
26
|
*/
|
|
27
27
|
documentsCount: number;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @remarks
|
|
32
|
-
* though the legacy generated OpenAPI schema omitted it.
|
|
29
|
+
* Key-value metadata for the memory.
|
|
33
30
|
*/
|
|
34
31
|
metadata?: { [k: string]: string } | undefined;
|
|
35
32
|
/**
|
|
@@ -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_01m346z14scz5tepcrmd2mqyx0"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -15,7 +15,7 @@ export type ErrorT = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* orq.ai product
|
|
19
19
|
*/
|
|
20
20
|
export const ToolExecutionFailedStreamingEventProduct = {
|
|
21
21
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -38,7 +38,7 @@ export const ToolExecutionFailedStreamingEventProduct = {
|
|
|
38
38
|
McpGateway: "mcp_gateway",
|
|
39
39
|
} as const;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* orq.ai product
|
|
42
42
|
*/
|
|
43
43
|
export type ToolExecutionFailedStreamingEventProduct = ClosedEnum<
|
|
44
44
|
typeof ToolExecutionFailedStreamingEventProduct
|
|
@@ -55,7 +55,7 @@ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
|
|
|
55
55
|
agentManifestId: string;
|
|
56
56
|
agentExecutionId: string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* orq.ai product
|
|
59
59
|
*/
|
|
60
60
|
product: ToolExecutionFailedStreamingEventProduct;
|
|
61
61
|
memory?: ToolExecutionFailedStreamingEventMemory | undefined;
|