@orq-ai/node 4.17.0-rc.46 → 4.17.0-rc.48
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/actionreviewrequestedstreamingevent.d.ts +4 -0
- package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -1
- package/models/components/actionreviewrequestedstreamingevent.js +2 -0
- package/models/components/actionreviewrequestedstreamingevent.js.map +1 -1
- package/models/components/agentstartedstreamingevent.d.ts +4 -0
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +2 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/cachewritetokensdetails.d.ts +11 -0
- package/models/components/cachewritetokensdetails.d.ts.map +1 -0
- package/models/components/cachewritetokensdetails.js +57 -0
- package/models/components/cachewritetokensdetails.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/inputtokensdetails.d.ts +2 -0
- package/models/components/inputtokensdetails.d.ts.map +1 -1
- package/models/components/inputtokensdetails.js +3 -0
- package/models/components/inputtokensdetails.js.map +1 -1
- package/models/components/mcptoolinput.d.ts +6 -6
- package/models/components/mcptoolinput.d.ts.map +1 -1
- package/models/components/mcptoolinput.js +1 -1
- package/models/components/mcptoolinput.js.map +1 -1
- package/models/components/openaipromptcacheoptions.d.ts +1 -0
- package/models/components/openaipromptcacheoptions.d.ts.map +1 -1
- package/models/components/openaipromptcacheoptions.js +1 -0
- package/models/components/openaipromptcacheoptions.js.map +1 -1
- package/models/components/pricing.d.ts +2 -0
- package/models/components/pricing.d.ts.map +1 -1
- package/models/components/pricing.js +4 -0
- package/models/components/pricing.js.map +1 -1
- package/models/components/pricingvariant.d.ts +2 -0
- package/models/components/pricingvariant.d.ts.map +1 -1
- package/models/components/pricingvariant.js +4 -0
- package/models/components/pricingvariant.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +4 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +2 -0
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +107 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +81 -9
- package/models/operations/createrouterresponse.js.map +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/listagents.d.ts +4 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +4 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -0
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +4 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +2 -0
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +8 -8
- package/src/lib/config.ts +2 -2
- package/src/models/components/actionreviewrequestedstreamingevent.ts +6 -0
- package/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/src/models/components/cachewritetokensdetails.ts +39 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/inputtokensdetails.ts +7 -0
- package/src/models/components/mcptoolinput.ts +7 -7
- package/src/models/components/openaipromptcacheoptions.ts +1 -0
- package/src/models/components/pricing.ts +6 -0
- package/src/models/components/pricingvariant.ts +6 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +6 -0
- package/src/models/operations/createrouterresponse.ts +222 -17
- 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/listagents.ts +6 -0
- 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/retrieveagentrequest.ts +6 -0
- 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/updateagent.ts +6 -0
- package/src/models/operations/updatetool.ts +4 -4
|
@@ -146,6 +146,10 @@ export type RetrieveAgentRequestTools = {
|
|
|
146
146
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
147
147
|
*/
|
|
148
148
|
toolId?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Set by the API on MCP tools resolved from a whole MCP server or gateway; they are resolved again on every save.
|
|
151
|
+
*/
|
|
152
|
+
wholeServer?: boolean | undefined;
|
|
149
153
|
conditions?: Array<RetrieveAgentRequestConditions> | undefined;
|
|
150
154
|
/**
|
|
151
155
|
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
@@ -1513,6 +1517,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
1513
1517
|
configuration: z.record(z.any()).optional(),
|
|
1514
1518
|
requires_approval: z.boolean().default(false),
|
|
1515
1519
|
tool_id: z.string().optional(),
|
|
1520
|
+
whole_server: z.boolean().optional(),
|
|
1516
1521
|
conditions: z.array(
|
|
1517
1522
|
z.lazy(() => RetrieveAgentRequestConditions$inboundSchema),
|
|
1518
1523
|
).optional(),
|
|
@@ -1523,6 +1528,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
1523
1528
|
"display_name": "displayName",
|
|
1524
1529
|
"requires_approval": "requiresApproval",
|
|
1525
1530
|
"tool_id": "toolId",
|
|
1531
|
+
"whole_server": "wholeServer",
|
|
1526
1532
|
});
|
|
1527
1533
|
});
|
|
1528
1534
|
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M5EQKRT7MX68EY9SVH4B324P"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M5EQKRT753A1W3ZQGJB0VRWD"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M5EQKRT67N6W8BSQS2ZAS8NW"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M5EQKRT66ZK4QYW2X6Q36D0Z"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3904,7 +3904,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3904
3904
|
z.ZodTypeDef,
|
|
3905
3905
|
Tools
|
|
3906
3906
|
> = z.object({
|
|
3907
|
-
id: z.string().default("
|
|
3907
|
+
id: z.string().default("01M5EQKRQQJ6GRCGKPMV8Y15P7"),
|
|
3908
3908
|
name: z.string(),
|
|
3909
3909
|
description: z.string().optional(),
|
|
3910
3910
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3963,7 +3963,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3963
3963
|
z.ZodTypeDef,
|
|
3964
3964
|
AgentToolInputRunTools
|
|
3965
3965
|
> = z.object({
|
|
3966
|
-
id: z.string().default("
|
|
3966
|
+
id: z.string().default("01M5EQKRR8NY3RVRJ8DS2EQMTW"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -1347,6 +1347,10 @@ export type UpdateAgentTools = {
|
|
|
1347
1347
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
1348
1348
|
*/
|
|
1349
1349
|
toolId?: string | undefined;
|
|
1350
|
+
/**
|
|
1351
|
+
* Set by the API on MCP tools resolved from a whole MCP server or gateway; they are resolved again on every save.
|
|
1352
|
+
*/
|
|
1353
|
+
wholeServer?: boolean | undefined;
|
|
1350
1354
|
conditions?: Array<UpdateAgentConditions> | undefined;
|
|
1351
1355
|
/**
|
|
1352
1356
|
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
@@ -4617,6 +4621,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
4617
4621
|
configuration: z.record(z.any()).optional(),
|
|
4618
4622
|
requires_approval: z.boolean().default(false),
|
|
4619
4623
|
tool_id: z.string().optional(),
|
|
4624
|
+
whole_server: z.boolean().optional(),
|
|
4620
4625
|
conditions: z.array(z.lazy(() => UpdateAgentConditions$inboundSchema))
|
|
4621
4626
|
.optional(),
|
|
4622
4627
|
timeout: z.number().optional(),
|
|
@@ -4626,6 +4631,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
4626
4631
|
"display_name": "displayName",
|
|
4627
4632
|
"requires_approval": "requiresApproval",
|
|
4628
4633
|
"tool_id": "toolId",
|
|
4634
|
+
"whole_server": "wholeServer",
|
|
4629
4635
|
});
|
|
4630
4636
|
});
|
|
4631
4637
|
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M5EQKRT0D1AERHVK08WZKABJ"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M5EQKRT014VY3SQGJ77WBK5Q"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M5EQKRSZT7619HHTHGCWDN0J"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M5EQKRSYZCK8HGTBM0CC8DR0"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|