@orq-ai/node 4.0.0-rc.44 → 4.0.0-rc.46
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/bin/mcp-server.js +727 -1532
- package/bin/mcp-server.js.map +56 -56
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +88 -8
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +85 -18
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +106 -106
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +242 -234
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/creatememorystore.d.ts +10 -391
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +5 -565
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +40 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -7
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentgetconfig.d.ts +20 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +20 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -3
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicateagent.d.ts +40 -0
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +36 -3
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +40 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +36 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -195
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +3 -273
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +20 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -3
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +20 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +16 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +20 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +16 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +40 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +37 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +5 -5
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +4 -4
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +20 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +16 -3
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememorystore.d.ts +5 -196
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +3 -273
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +45 -10
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +44 -9
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/syncmcptool.js +12 -12
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -8
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememorystore.d.ts +5 -195
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +3 -290
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +40 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -7
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +166 -39
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +423 -524
- package/src/models/operations/creatememorystore.ts +14 -1094
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- package/src/models/operations/duplicateagent.ts +72 -0
- package/src/models/operations/duplicatetool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +65 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -0
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +30 -0
- package/src/models/operations/getpromptversion.ts +30 -0
- package/src/models/operations/listagents.ts +68 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +9 -9
- package/src/models/operations/listpromptversions.ts +30 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememorystore.ts +7 -596
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +71 -2
- package/src/models/operations/streamrunagent.ts +76 -2
- package/src/models/operations/syncmcptool.ts +12 -12
- package/src/models/operations/updateagent.ts +141 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememorystore.ts +7 -527
- package/src/models/operations/updateprompt.ts +60 -0
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-11-
|
|
160
|
+
"2025-11-19T04:09:05.943Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-19T04:09:05.943Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-11-
|
|
199
|
+
"2025-11-19T04:09:05.943Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-19T04:09:05.943Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -311,6 +311,18 @@ export const GetAgentType = {
|
|
|
311
311
|
*/
|
|
312
312
|
export type GetAgentType = ClosedEnum<typeof GetAgentType>;
|
|
313
313
|
|
|
314
|
+
/**
|
|
315
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
316
|
+
*/
|
|
317
|
+
export const GetAgentThinkingLevel = {
|
|
318
|
+
Low: "low",
|
|
319
|
+
High: "high",
|
|
320
|
+
} as const;
|
|
321
|
+
/**
|
|
322
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
323
|
+
*/
|
|
324
|
+
export type GetAgentThinkingLevel = ClosedEnum<typeof GetAgentThinkingLevel>;
|
|
325
|
+
|
|
314
326
|
export type GetAgentThinking = {
|
|
315
327
|
/**
|
|
316
328
|
* Enables or disables the thinking mode capability
|
|
@@ -320,6 +332,10 @@ export type GetAgentThinking = {
|
|
|
320
332
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
321
333
|
*/
|
|
322
334
|
budgetTokens: number;
|
|
335
|
+
/**
|
|
336
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
337
|
+
*/
|
|
338
|
+
thinkingLevel?: GetAgentThinkingLevel | undefined;
|
|
323
339
|
};
|
|
324
340
|
|
|
325
341
|
/**
|
|
@@ -630,6 +646,20 @@ export type GetAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
630
646
|
typeof GetAgentFallbackModelConfigurationType
|
|
631
647
|
>;
|
|
632
648
|
|
|
649
|
+
/**
|
|
650
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
651
|
+
*/
|
|
652
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel = {
|
|
653
|
+
Low: "low",
|
|
654
|
+
High: "high",
|
|
655
|
+
} as const;
|
|
656
|
+
/**
|
|
657
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
658
|
+
*/
|
|
659
|
+
export type GetAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
660
|
+
typeof GetAgentFallbackModelConfigurationThinkingLevel
|
|
661
|
+
>;
|
|
662
|
+
|
|
633
663
|
export type GetAgentFallbackModelConfigurationThinking = {
|
|
634
664
|
/**
|
|
635
665
|
* Enables or disables the thinking mode capability
|
|
@@ -639,6 +669,10 @@ export type GetAgentFallbackModelConfigurationThinking = {
|
|
|
639
669
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
640
670
|
*/
|
|
641
671
|
budgetTokens: number;
|
|
672
|
+
/**
|
|
673
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
674
|
+
*/
|
|
675
|
+
thinkingLevel?: GetAgentFallbackModelConfigurationThinkingLevel | undefined;
|
|
642
676
|
};
|
|
643
677
|
|
|
644
678
|
/**
|
|
@@ -1693,6 +1727,15 @@ export const GetAgentType$inboundSchema: z.ZodNativeEnum<typeof GetAgentType> =
|
|
|
1693
1727
|
export const GetAgentType$outboundSchema: z.ZodNativeEnum<typeof GetAgentType> =
|
|
1694
1728
|
GetAgentType$inboundSchema;
|
|
1695
1729
|
|
|
1730
|
+
/** @internal */
|
|
1731
|
+
export const GetAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1732
|
+
typeof GetAgentThinkingLevel
|
|
1733
|
+
> = z.nativeEnum(GetAgentThinkingLevel);
|
|
1734
|
+
/** @internal */
|
|
1735
|
+
export const GetAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1736
|
+
typeof GetAgentThinkingLevel
|
|
1737
|
+
> = GetAgentThinkingLevel$inboundSchema;
|
|
1738
|
+
|
|
1696
1739
|
/** @internal */
|
|
1697
1740
|
export const GetAgentThinking$inboundSchema: z.ZodType<
|
|
1698
1741
|
GetAgentThinking,
|
|
@@ -1701,15 +1744,18 @@ export const GetAgentThinking$inboundSchema: z.ZodType<
|
|
|
1701
1744
|
> = z.object({
|
|
1702
1745
|
type: GetAgentType$inboundSchema,
|
|
1703
1746
|
budget_tokens: z.number(),
|
|
1747
|
+
thinking_level: GetAgentThinkingLevel$inboundSchema.optional(),
|
|
1704
1748
|
}).transform((v) => {
|
|
1705
1749
|
return remap$(v, {
|
|
1706
1750
|
"budget_tokens": "budgetTokens",
|
|
1751
|
+
"thinking_level": "thinkingLevel",
|
|
1707
1752
|
});
|
|
1708
1753
|
});
|
|
1709
1754
|
/** @internal */
|
|
1710
1755
|
export type GetAgentThinking$Outbound = {
|
|
1711
1756
|
type: string;
|
|
1712
1757
|
budget_tokens: number;
|
|
1758
|
+
thinking_level?: string | undefined;
|
|
1713
1759
|
};
|
|
1714
1760
|
|
|
1715
1761
|
/** @internal */
|
|
@@ -1720,9 +1766,11 @@ export const GetAgentThinking$outboundSchema: z.ZodType<
|
|
|
1720
1766
|
> = z.object({
|
|
1721
1767
|
type: GetAgentType$outboundSchema,
|
|
1722
1768
|
budgetTokens: z.number(),
|
|
1769
|
+
thinkingLevel: GetAgentThinkingLevel$outboundSchema.optional(),
|
|
1723
1770
|
}).transform((v) => {
|
|
1724
1771
|
return remap$(v, {
|
|
1725
1772
|
budgetTokens: "budget_tokens",
|
|
1773
|
+
thinkingLevel: "thinking_level",
|
|
1726
1774
|
});
|
|
1727
1775
|
});
|
|
1728
1776
|
|
|
@@ -2566,21 +2614,35 @@ export const GetAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
2566
2614
|
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationType> =
|
|
2567
2615
|
GetAgentFallbackModelConfigurationType$inboundSchema;
|
|
2568
2616
|
|
|
2617
|
+
/** @internal */
|
|
2618
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2619
|
+
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationThinkingLevel> = z
|
|
2620
|
+
.nativeEnum(GetAgentFallbackModelConfigurationThinkingLevel);
|
|
2621
|
+
/** @internal */
|
|
2622
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2623
|
+
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationThinkingLevel> =
|
|
2624
|
+
GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2625
|
+
|
|
2569
2626
|
/** @internal */
|
|
2570
2627
|
export const GetAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
2571
2628
|
z.ZodType<GetAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown> =
|
|
2572
2629
|
z.object({
|
|
2573
2630
|
type: GetAgentFallbackModelConfigurationType$inboundSchema,
|
|
2574
2631
|
budget_tokens: z.number(),
|
|
2632
|
+
thinking_level:
|
|
2633
|
+
GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2634
|
+
.optional(),
|
|
2575
2635
|
}).transform((v) => {
|
|
2576
2636
|
return remap$(v, {
|
|
2577
2637
|
"budget_tokens": "budgetTokens",
|
|
2638
|
+
"thinking_level": "thinkingLevel",
|
|
2578
2639
|
});
|
|
2579
2640
|
});
|
|
2580
2641
|
/** @internal */
|
|
2581
2642
|
export type GetAgentFallbackModelConfigurationThinking$Outbound = {
|
|
2582
2643
|
type: string;
|
|
2583
2644
|
budget_tokens: number;
|
|
2645
|
+
thinking_level?: string | undefined;
|
|
2584
2646
|
};
|
|
2585
2647
|
|
|
2586
2648
|
/** @internal */
|
|
@@ -2592,9 +2654,12 @@ export const GetAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
2592
2654
|
> = z.object({
|
|
2593
2655
|
type: GetAgentFallbackModelConfigurationType$outboundSchema,
|
|
2594
2656
|
budgetTokens: z.number(),
|
|
2657
|
+
thinkingLevel:
|
|
2658
|
+
GetAgentFallbackModelConfigurationThinkingLevel$outboundSchema.optional(),
|
|
2595
2659
|
}).transform((v) => {
|
|
2596
2660
|
return remap$(v, {
|
|
2597
2661
|
budgetTokens: "budget_tokens",
|
|
2662
|
+
thinkingLevel: "thinking_level",
|
|
2598
2663
|
});
|
|
2599
2664
|
});
|
|
2600
2665
|
|