@orq-ai/node 4.5.20 → 4.5.22

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.
Files changed (146) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/index.d.ts +1 -0
  5. package/models/components/index.d.ts.map +1 -1
  6. package/models/components/index.js +1 -0
  7. package/models/components/index.js.map +1 -1
  8. package/models/components/reasoningpart.js +1 -1
  9. package/models/components/thinkingconfigadaptiveschema.d.ts +23 -0
  10. package/models/components/thinkingconfigadaptiveschema.d.ts.map +1 -0
  11. package/models/components/thinkingconfigadaptiveschema.js +58 -0
  12. package/models/components/thinkingconfigadaptiveschema.js.map +1 -0
  13. package/models/operations/createagentrequest.d.ts +12 -12
  14. package/models/operations/createagentrequest.d.ts.map +1 -1
  15. package/models/operations/createagentrequest.js +8 -0
  16. package/models/operations/createagentrequest.js.map +1 -1
  17. package/models/operations/createchatcompletion.d.ts +4 -4
  18. package/models/operations/createchatcompletion.d.ts.map +1 -1
  19. package/models/operations/createchatcompletion.js +2 -0
  20. package/models/operations/createchatcompletion.js.map +1 -1
  21. package/models/operations/createcompletion.d.ts +14 -0
  22. package/models/operations/createcompletion.d.ts.map +1 -1
  23. package/models/operations/createcompletion.js +18 -2
  24. package/models/operations/createcompletion.js.map +1 -1
  25. package/models/operations/createcontact.js +1 -1
  26. package/models/operations/createdataset.js +1 -1
  27. package/models/operations/createdatasetitem.js +4 -4
  28. package/models/operations/createdatasource.js +1 -1
  29. package/models/operations/createeval.js +16 -16
  30. package/models/operations/createidentity.js +1 -1
  31. package/models/operations/createprompt.d.ts +6 -6
  32. package/models/operations/createprompt.d.ts.map +1 -1
  33. package/models/operations/createprompt.js +4 -0
  34. package/models/operations/createprompt.js.map +1 -1
  35. package/models/operations/createresponse.d.ts +15 -0
  36. package/models/operations/createresponse.d.ts.map +1 -1
  37. package/models/operations/createresponse.js +19 -3
  38. package/models/operations/createresponse.js.map +1 -1
  39. package/models/operations/createtool.js +6 -6
  40. package/models/operations/fileget.js +1 -1
  41. package/models/operations/filelist.js +1 -1
  42. package/models/operations/fileupload.js +1 -1
  43. package/models/operations/getallprompts.d.ts +2 -2
  44. package/models/operations/getallprompts.d.ts.map +1 -1
  45. package/models/operations/getallprompts.js +2 -0
  46. package/models/operations/getallprompts.js.map +1 -1
  47. package/models/operations/getalltools.js +6 -6
  48. package/models/operations/getevals.js +16 -16
  49. package/models/operations/getoneprompt.d.ts +2 -2
  50. package/models/operations/getoneprompt.d.ts.map +1 -1
  51. package/models/operations/getoneprompt.js +2 -0
  52. package/models/operations/getoneprompt.js.map +1 -1
  53. package/models/operations/getpromptversion.d.ts +2 -2
  54. package/models/operations/getpromptversion.d.ts.map +1 -1
  55. package/models/operations/getpromptversion.js +2 -0
  56. package/models/operations/getpromptversion.js.map +1 -1
  57. package/models/operations/listagents.d.ts +4 -4
  58. package/models/operations/listagents.d.ts.map +1 -1
  59. package/models/operations/listagents.js +4 -0
  60. package/models/operations/listagents.js.map +1 -1
  61. package/models/operations/listdatasetdatapoints.js +4 -4
  62. package/models/operations/listdatasets.js +1 -1
  63. package/models/operations/listdatasources.js +1 -1
  64. package/models/operations/listidentities.js +1 -1
  65. package/models/operations/listpromptversions.d.ts +2 -2
  66. package/models/operations/listpromptversions.d.ts.map +1 -1
  67. package/models/operations/listpromptversions.js +2 -0
  68. package/models/operations/listpromptversions.js.map +1 -1
  69. package/models/operations/retrieveagentrequest.d.ts +4 -4
  70. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  71. package/models/operations/retrieveagentrequest.js +4 -0
  72. package/models/operations/retrieveagentrequest.js.map +1 -1
  73. package/models/operations/retrievedatapoint.js +4 -4
  74. package/models/operations/retrievedataset.js +1 -1
  75. package/models/operations/retrievedatasource.js +1 -1
  76. package/models/operations/retrieveidentity.js +1 -1
  77. package/models/operations/retrievetool.js +6 -6
  78. package/models/operations/runagent.d.ts +8 -8
  79. package/models/operations/runagent.d.ts.map +1 -1
  80. package/models/operations/runagent.js +5 -1
  81. package/models/operations/runagent.js.map +1 -1
  82. package/models/operations/streamrunagent.d.ts +8 -8
  83. package/models/operations/streamrunagent.d.ts.map +1 -1
  84. package/models/operations/streamrunagent.js +5 -1
  85. package/models/operations/streamrunagent.js.map +1 -1
  86. package/models/operations/updateagent.d.ts +12 -12
  87. package/models/operations/updateagent.d.ts.map +1 -1
  88. package/models/operations/updateagent.js +8 -0
  89. package/models/operations/updateagent.js.map +1 -1
  90. package/models/operations/updatedatapoint.js +4 -4
  91. package/models/operations/updatedataset.js +1 -1
  92. package/models/operations/updatedatasource.js +1 -1
  93. package/models/operations/updateeval.js +16 -16
  94. package/models/operations/updateidentity.js +1 -1
  95. package/models/operations/updateprompt.d.ts +6 -6
  96. package/models/operations/updateprompt.d.ts.map +1 -1
  97. package/models/operations/updateprompt.js +4 -0
  98. package/models/operations/updateprompt.js.map +1 -1
  99. package/models/operations/updatetool.js +7 -7
  100. package/package.json +1 -1
  101. package/src/lib/config.ts +2 -2
  102. package/src/models/components/index.ts +1 -0
  103. package/src/models/components/reasoningpart.ts +1 -1
  104. package/src/models/components/thinkingconfigadaptiveschema.ts +59 -0
  105. package/src/models/operations/createagentrequest.ts +26 -6
  106. package/src/models/operations/createchatcompletion.ts +8 -2
  107. package/src/models/operations/createcompletion.ts +55 -0
  108. package/src/models/operations/createcontact.ts +1 -1
  109. package/src/models/operations/createdataset.ts +1 -1
  110. package/src/models/operations/createdatasetitem.ts +4 -4
  111. package/src/models/operations/createdatasource.ts +1 -1
  112. package/src/models/operations/createeval.ts +16 -16
  113. package/src/models/operations/createidentity.ts +1 -1
  114. package/src/models/operations/createprompt.ts +13 -3
  115. package/src/models/operations/createresponse.ts +56 -0
  116. package/src/models/operations/createtool.ts +6 -6
  117. package/src/models/operations/fileget.ts +1 -1
  118. package/src/models/operations/filelist.ts +1 -1
  119. package/src/models/operations/fileupload.ts +1 -1
  120. package/src/models/operations/getallprompts.ts +5 -1
  121. package/src/models/operations/getalltools.ts +6 -6
  122. package/src/models/operations/getevals.ts +16 -16
  123. package/src/models/operations/getoneprompt.ts +5 -1
  124. package/src/models/operations/getpromptversion.ts +5 -1
  125. package/src/models/operations/listagents.ts +10 -2
  126. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  127. package/src/models/operations/listdatasets.ts +1 -1
  128. package/src/models/operations/listdatasources.ts +1 -1
  129. package/src/models/operations/listidentities.ts +1 -1
  130. package/src/models/operations/listpromptversions.ts +5 -1
  131. package/src/models/operations/retrieveagentrequest.ts +10 -2
  132. package/src/models/operations/retrievedatapoint.ts +4 -4
  133. package/src/models/operations/retrievedataset.ts +1 -1
  134. package/src/models/operations/retrievedatasource.ts +1 -1
  135. package/src/models/operations/retrieveidentity.ts +1 -1
  136. package/src/models/operations/retrievetool.ts +6 -6
  137. package/src/models/operations/runagent.ts +17 -5
  138. package/src/models/operations/streamrunagent.ts +17 -5
  139. package/src/models/operations/updateagent.ts +26 -6
  140. package/src/models/operations/updatedatapoint.ts +4 -4
  141. package/src/models/operations/updatedataset.ts +1 -1
  142. package/src/models/operations/updatedatasource.ts +1 -1
  143. package/src/models/operations/updateeval.ts +16 -16
  144. package/src/models/operations/updateidentity.ts +1 -1
  145. package/src/models/operations/updateprompt.ts +13 -3
  146. package/src/models/operations/updatetool.ts +7 -7
@@ -544,7 +544,8 @@ export type StreamOptions = {
544
544
 
545
545
  export type CreatePromptThinking =
546
546
  | components.ThinkingConfigDisabledSchema
547
- | components.ThinkingConfigEnabledSchema;
547
+ | components.ThinkingConfigEnabledSchema
548
+ | components.ThinkingConfigAdaptiveSchema;
548
549
 
549
550
  /**
550
551
  * The type of the tool. Currently, only function is supported.
@@ -803,6 +804,7 @@ export type PromptInput = {
803
804
  thinking?:
804
805
  | components.ThinkingConfigDisabledSchema
805
806
  | components.ThinkingConfigEnabledSchema
807
+ | components.ThinkingConfigAdaptiveSchema
806
808
  | undefined;
807
809
  /**
808
810
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -1538,7 +1540,8 @@ export type CreatePromptStreamOptions = {
1538
1540
 
1539
1541
  export type CreatePromptPromptsThinking =
1540
1542
  | components.ThinkingConfigDisabledSchema
1541
- | components.ThinkingConfigEnabledSchema;
1543
+ | components.ThinkingConfigEnabledSchema
1544
+ | components.ThinkingConfigAdaptiveSchema;
1542
1545
 
1543
1546
  /**
1544
1547
  * The type of the tool. Currently, only function is supported.
@@ -2123,6 +2126,7 @@ export type PromptField = {
2123
2126
  thinking?:
2124
2127
  | components.ThinkingConfigDisabledSchema
2125
2128
  | components.ThinkingConfigEnabledSchema
2129
+ | components.ThinkingConfigAdaptiveSchema
2126
2130
  | undefined;
2127
2131
  /**
2128
2132
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -3139,7 +3143,8 @@ export function streamOptionsToJSON(streamOptions: StreamOptions): string {
3139
3143
  /** @internal */
3140
3144
  export type CreatePromptThinking$Outbound =
3141
3145
  | components.ThinkingConfigDisabledSchema$Outbound
3142
- | components.ThinkingConfigEnabledSchema$Outbound;
3146
+ | components.ThinkingConfigEnabledSchema$Outbound
3147
+ | components.ThinkingConfigAdaptiveSchema$Outbound;
3143
3148
 
3144
3149
  /** @internal */
3145
3150
  export const CreatePromptThinking$outboundSchema: z.ZodType<
@@ -3149,6 +3154,7 @@ export const CreatePromptThinking$outboundSchema: z.ZodType<
3149
3154
  > = z.union([
3150
3155
  components.ThinkingConfigDisabledSchema$outboundSchema,
3151
3156
  components.ThinkingConfigEnabledSchema$outboundSchema,
3157
+ components.ThinkingConfigAdaptiveSchema$outboundSchema,
3152
3158
  ]);
3153
3159
 
3154
3160
  export function createPromptThinkingToJSON(
@@ -3507,6 +3513,7 @@ export type PromptInput$Outbound = {
3507
3513
  thinking?:
3508
3514
  | components.ThinkingConfigDisabledSchema$Outbound
3509
3515
  | components.ThinkingConfigEnabledSchema$Outbound
3516
+ | components.ThinkingConfigAdaptiveSchema$Outbound
3510
3517
  | undefined;
3511
3518
  temperature?: number | null | undefined;
3512
3519
  top_p?: number | null | undefined;
@@ -3560,6 +3567,7 @@ export const PromptInput$outboundSchema: z.ZodType<
3560
3567
  thinking: z.union([
3561
3568
  components.ThinkingConfigDisabledSchema$outboundSchema,
3562
3569
  components.ThinkingConfigEnabledSchema$outboundSchema,
3570
+ components.ThinkingConfigAdaptiveSchema$outboundSchema,
3563
3571
  ]).optional(),
3564
3572
  temperature: z.nullable(z.number()).optional(),
3565
3573
  topP: z.nullable(z.number()).optional(),
@@ -4390,6 +4398,7 @@ export const CreatePromptPromptsThinking$inboundSchema: z.ZodType<
4390
4398
  > = z.union([
4391
4399
  components.ThinkingConfigDisabledSchema$inboundSchema,
4392
4400
  components.ThinkingConfigEnabledSchema$inboundSchema,
4401
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
4393
4402
  ]);
4394
4403
 
4395
4404
  export function createPromptPromptsThinkingFromJSON(
@@ -5258,6 +5267,7 @@ export const PromptField$inboundSchema: z.ZodType<
5258
5267
  thinking: z.union([
5259
5268
  components.ThinkingConfigDisabledSchema$inboundSchema,
5260
5269
  components.ThinkingConfigEnabledSchema$inboundSchema,
5270
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
5261
5271
  ]).optional(),
5262
5272
  temperature: z.nullable(z.number()).optional(),
5263
5273
  top_p: z.nullable(z.number()).optional(),
@@ -11,6 +11,7 @@ import {
11
11
  } from "../../lib/schemas.js";
12
12
  import { ClosedEnum } from "../../types/enums.js";
13
13
  import { Result as SafeParseResult } from "../../types/fp.js";
14
+ import * as components from "../components/index.js";
14
15
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
15
16
 
16
17
  /**
@@ -36,6 +37,14 @@ export type Reasoning = {
36
37
  effort?: Effort | undefined;
37
38
  };
38
39
 
40
+ /**
41
+ * Configuration for thinking mode. Use `adaptive` for models that support it (e.g. Claude Opus 4.6, Sonnet 4.6), or `enabled` with `budget_tokens` for manual control.
42
+ */
43
+ export type CreateResponseThinking =
44
+ | components.ThinkingConfigDisabledSchema
45
+ | components.ThinkingConfigEnabledSchema
46
+ | components.ThinkingConfigAdaptiveSchema;
47
+
39
48
  export type Format3 = {
40
49
  /**
41
50
  * Ensures the response matches a supplied JSON schema
@@ -587,6 +596,15 @@ export type CreateResponseRequestBody = {
587
596
  * Configuration for reasoning models
588
597
  */
589
598
  reasoning?: Reasoning | null | undefined;
599
+ /**
600
+ * Configuration for thinking mode. Use `adaptive` for models that support it (e.g. Claude Opus 4.6, Sonnet 4.6), or `enabled` with `budget_tokens` for manual control.
601
+ */
602
+ thinking?:
603
+ | components.ThinkingConfigDisabledSchema
604
+ | components.ThinkingConfigEnabledSchema
605
+ | components.ThinkingConfigAdaptiveSchema
606
+ | null
607
+ | undefined;
590
608
  /**
591
609
  * The maximum number of tokens that can be generated in the response
592
610
  */
@@ -1468,6 +1486,31 @@ export function reasoningToJSON(reasoning: Reasoning): string {
1468
1486
  return JSON.stringify(Reasoning$outboundSchema.parse(reasoning));
1469
1487
  }
1470
1488
 
1489
+ /** @internal */
1490
+ export type CreateResponseThinking$Outbound =
1491
+ | components.ThinkingConfigDisabledSchema$Outbound
1492
+ | components.ThinkingConfigEnabledSchema$Outbound
1493
+ | components.ThinkingConfigAdaptiveSchema$Outbound;
1494
+
1495
+ /** @internal */
1496
+ export const CreateResponseThinking$outboundSchema: z.ZodType<
1497
+ CreateResponseThinking$Outbound,
1498
+ z.ZodTypeDef,
1499
+ CreateResponseThinking
1500
+ > = z.union([
1501
+ components.ThinkingConfigDisabledSchema$outboundSchema,
1502
+ components.ThinkingConfigEnabledSchema$outboundSchema,
1503
+ components.ThinkingConfigAdaptiveSchema$outboundSchema,
1504
+ ]);
1505
+
1506
+ export function createResponseThinkingToJSON(
1507
+ createResponseThinking: CreateResponseThinking,
1508
+ ): string {
1509
+ return JSON.stringify(
1510
+ CreateResponseThinking$outboundSchema.parse(createResponseThinking),
1511
+ );
1512
+ }
1513
+
1471
1514
  /** @internal */
1472
1515
  export type Format3$Outbound = {
1473
1516
  type: "json_schema";
@@ -2255,6 +2298,12 @@ export type CreateResponseRequestBody$Outbound = {
2255
2298
  previous_response_id?: string | null | undefined;
2256
2299
  instructions?: string | null | undefined;
2257
2300
  reasoning?: Reasoning$Outbound | null | undefined;
2301
+ thinking?:
2302
+ | components.ThinkingConfigDisabledSchema$Outbound
2303
+ | components.ThinkingConfigEnabledSchema$Outbound
2304
+ | components.ThinkingConfigAdaptiveSchema$Outbound
2305
+ | null
2306
+ | undefined;
2258
2307
  max_output_tokens?: number | null | undefined;
2259
2308
  text?: CreateResponseText$Outbound | null | undefined;
2260
2309
  input:
@@ -2293,6 +2342,13 @@ export const CreateResponseRequestBody$outboundSchema: z.ZodType<
2293
2342
  previousResponseId: z.nullable(z.string()).optional(),
2294
2343
  instructions: z.nullable(z.string()).optional(),
2295
2344
  reasoning: z.nullable(z.lazy(() => Reasoning$outboundSchema)).optional(),
2345
+ thinking: z.nullable(
2346
+ z.union([
2347
+ components.ThinkingConfigDisabledSchema$outboundSchema,
2348
+ components.ThinkingConfigEnabledSchema$outboundSchema,
2349
+ components.ThinkingConfigAdaptiveSchema$outboundSchema,
2350
+ ]),
2351
+ ).optional(),
2296
2352
  maxOutputTokens: z.nullable(z.number().int()).optional(),
2297
2353
  text: z.nullable(z.lazy(() => CreateResponseText$outboundSchema)).optional(),
2298
2354
  input: z.union([
@@ -1899,7 +1899,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1899
1899
  z.ZodTypeDef,
1900
1900
  unknown
1901
1901
  > = z.object({
1902
- _id: z.string().default("tool_01KKPEHN1V33J4YQH18T0XQTAD"),
1902
+ _id: z.string().default("tool_01KKVHJH5556T41F7HYNF1ZHDJ"),
1903
1903
  path: z.string(),
1904
1904
  key: z.string(),
1905
1905
  display_name: z.string().optional(),
@@ -1998,7 +1998,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
1998
1998
  z.ZodTypeDef,
1999
1999
  unknown
2000
2000
  > = z.object({
2001
- id: z.string().default("01KKPEHN1TAZZ26HPERCVNHBM1"),
2001
+ id: z.string().default("01KKVHJH54E529AJTH54EP9GDQ"),
2002
2002
  name: z.string(),
2003
2003
  description: z.string().optional(),
2004
2004
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2052,7 +2052,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2052
2052
  z.ZodTypeDef,
2053
2053
  unknown
2054
2054
  > = z.object({
2055
- _id: z.string().default("tool_01KKPEHN1SD4M544G61K1VKQ48"),
2055
+ _id: z.string().default("tool_01KKVHJH530HBSP9N3D8YGPBB6"),
2056
2056
  path: z.string(),
2057
2057
  key: z.string(),
2058
2058
  display_name: z.string().optional(),
@@ -2240,7 +2240,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2240
2240
  z.ZodTypeDef,
2241
2241
  unknown
2242
2242
  > = z.object({
2243
- _id: z.string().default("tool_01KKPEHN1QX670B6B4ZGNPF6RM"),
2243
+ _id: z.string().default("tool_01KKVHJH51KPJFV84N0AQZBE6X"),
2244
2244
  path: z.string(),
2245
2245
  key: z.string(),
2246
2246
  display_name: z.string().optional(),
@@ -2335,7 +2335,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2335
2335
  z.ZodTypeDef,
2336
2336
  unknown
2337
2337
  > = z.object({
2338
- _id: z.string().default("tool_01KKPEHN1NAP4C8KB0QJ6RH9PM"),
2338
+ _id: z.string().default("tool_01KKVHJH50706HJ7X02QJHH3P0"),
2339
2339
  path: z.string(),
2340
2340
  key: z.string(),
2341
2341
  display_name: z.string().optional(),
@@ -2438,7 +2438,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2438
2438
  z.ZodTypeDef,
2439
2439
  unknown
2440
2440
  > = z.object({
2441
- _id: z.string().default("tool_01KKPEHN1MC1E0QA2M6KFWBK0K"),
2441
+ _id: z.string().default("tool_01KKVHJH4Y5SKG261R09FTWB6D"),
2442
2442
  path: z.string(),
2443
2443
  key: z.string(),
2444
2444
  display_name: z.string().optional(),
@@ -94,7 +94,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
94
94
  file_name: z.string(),
95
95
  workspace_id: z.string(),
96
96
  created: z.string().datetime({ offset: true }).default(
97
- "2026-03-14T15:13:15.506Z",
97
+ "2026-03-16T14:42:22.053Z",
98
98
  ).transform(v => new Date(v)),
99
99
  }).transform((v) => {
100
100
  return remap$(v, {
@@ -125,7 +125,7 @@ export const FileListData$inboundSchema: z.ZodType<
125
125
  file_name: z.string(),
126
126
  workspace_id: z.string(),
127
127
  created: z.string().datetime({ offset: true }).default(
128
- "2026-03-14T15:13:15.506Z",
128
+ "2026-03-16T14:42:22.053Z",
129
129
  ).transform(v => new Date(v)),
130
130
  }).transform((v) => {
131
131
  return remap$(v, {
@@ -148,7 +148,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
148
148
  file_name: z.string(),
149
149
  workspace_id: z.string(),
150
150
  created: z.string().datetime({ offset: true }).default(
151
- "2026-03-14T15:13:15.506Z",
151
+ "2026-03-16T14:42:22.053Z",
152
152
  ).transform(v => new Date(v)),
153
153
  }).transform((v) => {
154
154
  return remap$(v, {
@@ -680,7 +680,8 @@ export type GetAllPromptsStreamOptions = {
680
680
 
681
681
  export type GetAllPromptsThinking =
682
682
  | components.ThinkingConfigDisabledSchema
683
- | components.ThinkingConfigEnabledSchema;
683
+ | components.ThinkingConfigEnabledSchema
684
+ | components.ThinkingConfigAdaptiveSchema;
684
685
 
685
686
  /**
686
687
  * The type of the tool. Currently, only function is supported.
@@ -1259,6 +1260,7 @@ export type GetAllPromptsPromptField = {
1259
1260
  thinking?:
1260
1261
  | components.ThinkingConfigDisabledSchema
1261
1262
  | components.ThinkingConfigEnabledSchema
1263
+ | components.ThinkingConfigAdaptiveSchema
1262
1264
  | undefined;
1263
1265
  /**
1264
1266
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -2188,6 +2190,7 @@ export const GetAllPromptsThinking$inboundSchema: z.ZodType<
2188
2190
  > = z.union([
2189
2191
  components.ThinkingConfigDisabledSchema$inboundSchema,
2190
2192
  components.ThinkingConfigEnabledSchema$inboundSchema,
2193
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
2191
2194
  ]);
2192
2195
 
2193
2196
  export function getAllPromptsThinkingFromJSON(
@@ -3006,6 +3009,7 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
3006
3009
  thinking: z.union([
3007
3010
  components.ThinkingConfigDisabledSchema$inboundSchema,
3008
3011
  components.ThinkingConfigEnabledSchema$inboundSchema,
3012
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
3009
3013
  ]).optional(),
3010
3014
  temperature: z.nullable(z.number()).optional(),
3011
3015
  top_p: z.nullable(z.number()).optional(),
@@ -768,7 +768,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
768
768
  z.ZodTypeDef,
769
769
  unknown
770
770
  > = z.object({
771
- _id: z.string().default("tool_01KKPEHN19VZ16CM6PSHGP32WT"),
771
+ _id: z.string().default("tool_01KKVHJH4M6F20GR3F1HJAWV7H"),
772
772
  path: z.string(),
773
773
  key: z.string(),
774
774
  display_name: z.string().optional(),
@@ -867,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
867
867
  z.ZodTypeDef,
868
868
  unknown
869
869
  > = z.object({
870
- id: z.string().default("01KKPEHN18CC6KVDTGHD4E3G2T"),
870
+ id: z.string().default("01KKVHJH4K3WF5Q0WH5CWX626R"),
871
871
  name: z.string(),
872
872
  description: z.string().optional(),
873
873
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -918,7 +918,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
918
918
  z.ZodTypeDef,
919
919
  unknown
920
920
  > = z.object({
921
- _id: z.string().default("tool_01KKPEHN178FJW9JBBPZEKMHJF"),
921
+ _id: z.string().default("tool_01KKVHJH4JCQQSVVPFNY3NN08R"),
922
922
  path: z.string(),
923
923
  key: z.string(),
924
924
  display_name: z.string().optional(),
@@ -1105,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1105
1105
  z.ZodTypeDef,
1106
1106
  unknown
1107
1107
  > = z.object({
1108
- _id: z.string().default("tool_01KKPEHN15MXNVRBRYESQ1BSMG"),
1108
+ _id: z.string().default("tool_01KKVHJH4GSJARZ8W19V9AV2T5"),
1109
1109
  path: z.string(),
1110
1110
  key: z.string(),
1111
1111
  display_name: z.string().optional(),
@@ -1200,7 +1200,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1200
1200
  z.ZodTypeDef,
1201
1201
  unknown
1202
1202
  > = z.object({
1203
- _id: z.string().default("tool_01KKPEHN134HX8F1V5V0P1MP2H"),
1203
+ _id: z.string().default("tool_01KKVHJH4E57S4AEM40GKKWBTG"),
1204
1204
  path: z.string(),
1205
1205
  key: z.string(),
1206
1206
  display_name: z.string().optional(),
@@ -1304,7 +1304,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1304
1304
  z.ZodTypeDef,
1305
1305
  unknown
1306
1306
  > = z.object({
1307
- _id: z.string().default("tool_01KKPEHN0VW87Y1N4V9S1661A8"),
1307
+ _id: z.string().default("tool_01KKVHJH4DVREM2EC6N8DX4400"),
1308
1308
  path: z.string(),
1309
1309
  key: z.string(),
1310
1310
  display_name: z.string().optional(),
@@ -906,8 +906,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
906
906
  > = z.object({
907
907
  _id: z.string(),
908
908
  description: z.string(),
909
- created: z.string().default("2026-03-14T15:13:13.312Z"),
910
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
909
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
910
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
911
911
  guardrail_config: z.union([
912
912
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
913
913
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
@@ -1045,8 +1045,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1045
1045
  > = z.object({
1046
1046
  _id: z.string(),
1047
1047
  description: z.string(),
1048
- created: z.string().default("2026-03-14T15:13:13.312Z"),
1049
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
1048
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
1049
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
1050
1050
  guardrail_config: z.union([
1051
1051
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
1052
1052
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
@@ -1837,8 +1837,8 @@ export const DataFunction$inboundSchema: z.ZodType<
1837
1837
  > = z.object({
1838
1838
  _id: z.string(),
1839
1839
  description: z.string(),
1840
- created: z.string().default("2026-03-14T15:13:13.312Z"),
1841
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
1840
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
1841
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
1842
1842
  guardrail_config: z.union([
1843
1843
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
1844
1844
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
@@ -1988,8 +1988,8 @@ export const DataPython$inboundSchema: z.ZodType<
1988
1988
  > = z.object({
1989
1989
  _id: z.string(),
1990
1990
  description: z.string(),
1991
- created: z.string().default("2026-03-14T15:13:13.312Z"),
1992
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
1991
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
1992
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
1993
1993
  guardrail_config: z.union([
1994
1994
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
1995
1995
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
@@ -2128,8 +2128,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2128
2128
  > = z.object({
2129
2129
  _id: z.string(),
2130
2130
  description: z.string(),
2131
- created: z.string().default("2026-03-14T15:13:13.312Z"),
2132
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
2131
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
2132
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
2133
2133
  guardrail_config: z.union([
2134
2134
  z.lazy(() =>
2135
2135
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
@@ -2278,8 +2278,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2278
2278
  > = z.object({
2279
2279
  _id: z.string(),
2280
2280
  description: z.string(),
2281
- created: z.string().default("2026-03-14T15:13:13.312Z"),
2282
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
2281
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
2282
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
2283
2283
  guardrail_config: z.union([
2284
2284
  z.lazy(() =>
2285
2285
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
@@ -2584,8 +2584,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
2584
2584
  > = z.object({
2585
2585
  _id: z.string(),
2586
2586
  description: z.string(),
2587
- created: z.string().default("2026-03-14T15:13:13.312Z"),
2588
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
2587
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
2588
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
2589
2589
  guardrail_config: z.union([
2590
2590
  z.lazy(() =>
2591
2591
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData1Boolean$inboundSchema
@@ -2728,8 +2728,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
2728
2728
  > = z.object({
2729
2729
  _id: z.string(),
2730
2730
  description: z.string(),
2731
- created: z.string().default("2026-03-14T15:13:13.312Z"),
2732
- updated: z.string().default("2026-03-14T15:13:13.312Z"),
2731
+ created: z.string().default("2026-03-16T14:42:19.975Z"),
2732
+ updated: z.string().default("2026-03-16T14:42:19.975Z"),
2733
2733
  guardrail_config: z.union([
2734
2734
  z.lazy(() =>
2735
2735
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema
@@ -666,7 +666,8 @@ export type GetOnePromptStreamOptions = {
666
666
 
667
667
  export type GetOnePromptThinking =
668
668
  | components.ThinkingConfigDisabledSchema
669
- | components.ThinkingConfigEnabledSchema;
669
+ | components.ThinkingConfigEnabledSchema
670
+ | components.ThinkingConfigAdaptiveSchema;
670
671
 
671
672
  /**
672
673
  * The type of the tool. Currently, only function is supported.
@@ -1243,6 +1244,7 @@ export type GetOnePromptPromptField = {
1243
1244
  thinking?:
1244
1245
  | components.ThinkingConfigDisabledSchema
1245
1246
  | components.ThinkingConfigEnabledSchema
1247
+ | components.ThinkingConfigAdaptiveSchema
1246
1248
  | undefined;
1247
1249
  /**
1248
1250
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -2148,6 +2150,7 @@ export const GetOnePromptThinking$inboundSchema: z.ZodType<
2148
2150
  > = z.union([
2149
2151
  components.ThinkingConfigDisabledSchema$inboundSchema,
2150
2152
  components.ThinkingConfigEnabledSchema$inboundSchema,
2153
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
2151
2154
  ]);
2152
2155
 
2153
2156
  export function getOnePromptThinkingFromJSON(
@@ -2956,6 +2959,7 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
2956
2959
  thinking: z.union([
2957
2960
  components.ThinkingConfigDisabledSchema$inboundSchema,
2958
2961
  components.ThinkingConfigEnabledSchema$inboundSchema,
2962
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
2959
2963
  ]).optional(),
2960
2964
  temperature: z.nullable(z.number()).optional(),
2961
2965
  top_p: z.nullable(z.number()).optional(),
@@ -672,7 +672,8 @@ export type GetPromptVersionStreamOptions = {
672
672
 
673
673
  export type GetPromptVersionThinking =
674
674
  | components.ThinkingConfigDisabledSchema
675
- | components.ThinkingConfigEnabledSchema;
675
+ | components.ThinkingConfigEnabledSchema
676
+ | components.ThinkingConfigAdaptiveSchema;
676
677
 
677
678
  /**
678
679
  * The type of the tool. Currently, only function is supported.
@@ -1251,6 +1252,7 @@ export type GetPromptVersionPromptField = {
1251
1252
  thinking?:
1252
1253
  | components.ThinkingConfigDisabledSchema
1253
1254
  | components.ThinkingConfigEnabledSchema
1255
+ | components.ThinkingConfigAdaptiveSchema
1254
1256
  | undefined;
1255
1257
  /**
1256
1258
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -2172,6 +2174,7 @@ export const GetPromptVersionThinking$inboundSchema: z.ZodType<
2172
2174
  > = z.union([
2173
2175
  components.ThinkingConfigDisabledSchema$inboundSchema,
2174
2176
  components.ThinkingConfigEnabledSchema$inboundSchema,
2177
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
2175
2178
  ]);
2176
2179
 
2177
2180
  export function getPromptVersionThinkingFromJSON(
@@ -3008,6 +3011,7 @@ export const GetPromptVersionPromptField$inboundSchema: z.ZodType<
3008
3011
  thinking: z.union([
3009
3012
  components.ThinkingConfigDisabledSchema$inboundSchema,
3010
3013
  components.ThinkingConfigEnabledSchema$inboundSchema,
3014
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
3011
3015
  ]).optional(),
3012
3016
  temperature: z.nullable(z.number()).optional(),
3013
3017
  top_p: z.nullable(z.number()).optional(),
@@ -340,7 +340,8 @@ export type ListAgentsStop = string | Array<string>;
340
340
 
341
341
  export type ListAgentsThinking =
342
342
  | components.ThinkingConfigDisabledSchema
343
- | components.ThinkingConfigEnabledSchema;
343
+ | components.ThinkingConfigEnabledSchema
344
+ | components.ThinkingConfigAdaptiveSchema;
344
345
 
345
346
  /**
346
347
  * The type of the tool. Currently, only function is supported.
@@ -552,6 +553,7 @@ export type ListAgentsParameters = {
552
553
  thinking?:
553
554
  | components.ThinkingConfigDisabledSchema
554
555
  | components.ThinkingConfigEnabledSchema
556
+ | components.ThinkingConfigAdaptiveSchema
555
557
  | undefined;
556
558
  /**
557
559
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -711,7 +713,8 @@ export type ListAgentsFallbackModelConfigurationStop = string | Array<string>;
711
713
 
712
714
  export type ListAgentsFallbackModelConfigurationThinking =
713
715
  | components.ThinkingConfigDisabledSchema
714
- | components.ThinkingConfigEnabledSchema;
716
+ | components.ThinkingConfigEnabledSchema
717
+ | components.ThinkingConfigAdaptiveSchema;
715
718
 
716
719
  /**
717
720
  * The type of the tool. Currently, only function is supported.
@@ -934,6 +937,7 @@ export type ListAgentsFallbackModelConfigurationParameters = {
934
937
  thinking?:
935
938
  | components.ThinkingConfigDisabledSchema
936
939
  | components.ThinkingConfigEnabledSchema
940
+ | components.ThinkingConfigAdaptiveSchema
937
941
  | undefined;
938
942
  /**
939
943
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -1579,6 +1583,7 @@ export const ListAgentsThinking$inboundSchema: z.ZodType<
1579
1583
  > = z.union([
1580
1584
  components.ThinkingConfigDisabledSchema$inboundSchema,
1581
1585
  components.ThinkingConfigEnabledSchema$inboundSchema,
1586
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
1582
1587
  ]);
1583
1588
 
1584
1589
  export function listAgentsThinkingFromJSON(
@@ -1868,6 +1873,7 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
1868
1873
  thinking: z.union([
1869
1874
  components.ThinkingConfigDisabledSchema$inboundSchema,
1870
1875
  components.ThinkingConfigEnabledSchema$inboundSchema,
1876
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
1871
1877
  ]).optional(),
1872
1878
  temperature: z.nullable(z.number()).optional(),
1873
1879
  top_p: z.nullable(z.number()).optional(),
@@ -2110,6 +2116,7 @@ export const ListAgentsFallbackModelConfigurationThinking$inboundSchema:
2110
2116
  > = z.union([
2111
2117
  components.ThinkingConfigDisabledSchema$inboundSchema,
2112
2118
  components.ThinkingConfigEnabledSchema$inboundSchema,
2119
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
2113
2120
  ]);
2114
2121
 
2115
2122
  export function listAgentsFallbackModelConfigurationThinkingFromJSON(
@@ -2456,6 +2463,7 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
2456
2463
  thinking: z.union([
2457
2464
  components.ThinkingConfigDisabledSchema$inboundSchema,
2458
2465
  components.ThinkingConfigEnabledSchema$inboundSchema,
2466
+ components.ThinkingConfigAdaptiveSchema$inboundSchema,
2459
2467
  ]).optional(),
2460
2468
  temperature: z.nullable(z.number()).optional(),
2461
2469
  top_p: z.nullable(z.number()).optional(),
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1270
1270
  ),
1271
1271
  reviewed_by_id: z.string(),
1272
1272
  reviewed_at: z.string().datetime({ offset: true }).default(
1273
- "2026-03-14T15:13:27.810Z",
1273
+ "2026-03-16T14:42:34.487Z",
1274
1274
  ).transform(v => new Date(v)),
1275
1275
  type: z.literal("string_array"),
1276
1276
  values: z.array(z.string()),
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1320
1320
  source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
1321
1321
  reviewed_by_id: z.string(),
1322
1322
  reviewed_at: z.string().datetime({ offset: true }).default(
1323
- "2026-03-14T15:13:27.809Z",
1323
+ "2026-03-16T14:42:34.486Z",
1324
1324
  ).transform(v => new Date(v)),
1325
1325
  type: z.literal("number"),
1326
1326
  value: z.number(),
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1369
1369
  .default("orq"),
1370
1370
  reviewed_by_id: z.string(),
1371
1371
  reviewed_at: z.string().datetime({ offset: true }).default(
1372
- "2026-03-14T15:13:27.809Z",
1372
+ "2026-03-16T14:42:34.486Z",
1373
1373
  ).transform(v => new Date(v)),
1374
1374
  type: z.literal("string"),
1375
1375
  value: z.string(),
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
1448
1448
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1449
1449
  .optional(),
1450
1450
  updated: z.string().datetime({ offset: true }).default(
1451
- "2026-03-14T15:13:11.988Z",
1451
+ "2026-03-16T14:42:18.698Z",
1452
1452
  ).transform(v => new Date(v)),
1453
1453
  }).transform((v) => {
1454
1454
  return remap$(v, {
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
156
156
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
157
157
  .optional(),
158
158
  updated: z.string().datetime({ offset: true }).default(
159
- "2026-03-14T15:13:11.988Z",
159
+ "2026-03-16T14:42:18.698Z",
160
160
  ).transform(v => new Date(v)),
161
161
  }).transform((v) => {
162
162
  return remap$(v, {
@@ -176,7 +176,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
176
176
  z.ZodTypeDef,
177
177
  unknown
178
178
  > = z.object({
179
- _id: z.string().default("01KKPEHN699J57FDP60CKENQ9V"),
179
+ _id: z.string().default("01KKVHJH9X4KWFPHSDBVEA218Q"),
180
180
  display_name: z.string(),
181
181
  description: z.string().optional(),
182
182
  status: ListDatasourcesStatus$inboundSchema,
@@ -227,7 +227,7 @@ export const ListIdentitiesData$inboundSchema: z.ZodType<
227
227
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
228
228
  .optional(),
229
229
  updated: z.string().datetime({ offset: true }).default(
230
- "2026-03-14T15:13:11.988Z",
230
+ "2026-03-16T14:42:18.698Z",
231
231
  ).transform(v => new Date(v)),
232
232
  metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
233
233
  }).transform((v) => {