@orq-ai/node 4.16.0-rc.35 → 4.16.0-rc.37

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 (74) 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/fieldinfo.d.ts +1 -0
  5. package/models/components/fieldinfo.d.ts.map +1 -1
  6. package/models/components/fieldinfo.js +1 -0
  7. package/models/components/fieldinfo.js.map +1 -1
  8. package/models/components/publicresponseresource.d.ts +1 -0
  9. package/models/components/publicresponseresource.d.ts.map +1 -1
  10. package/models/components/publicresponseresource.js +1 -0
  11. package/models/components/publicresponseresource.js.map +1 -1
  12. package/models/components/reasoningpart.js +1 -1
  13. package/models/components/servertoolusedetails.d.ts +1 -0
  14. package/models/components/servertoolusedetails.d.ts.map +1 -1
  15. package/models/components/servertoolusedetails.js +2 -0
  16. package/models/components/servertoolusedetails.js.map +1 -1
  17. package/models/operations/createagentrequest.d.ts +8 -0
  18. package/models/operations/createagentrequest.d.ts.map +1 -1
  19. package/models/operations/createagentrequest.js +14 -3
  20. package/models/operations/createagentrequest.js.map +1 -1
  21. package/models/operations/createrouterresponse.d.ts +24 -3
  22. package/models/operations/createrouterresponse.d.ts.map +1 -1
  23. package/models/operations/createrouterresponse.js +10 -1
  24. package/models/operations/createrouterresponse.js.map +1 -1
  25. package/models/operations/createtool.js +4 -4
  26. package/models/operations/getalltools.js +4 -4
  27. package/models/operations/getv2humanevalsets.js +2 -2
  28. package/models/operations/getv2humanevalsetsid.js +2 -2
  29. package/models/operations/listagents.d.ts +8 -0
  30. package/models/operations/listagents.d.ts.map +1 -1
  31. package/models/operations/listagents.js +15 -3
  32. package/models/operations/listagents.js.map +1 -1
  33. package/models/operations/patchv2humanevalsetsid.js +2 -2
  34. package/models/operations/postv2feedbackevaluation.js +4 -4
  35. package/models/operations/postv2humanevalsets.js +2 -2
  36. package/models/operations/retrieveagentrequest.d.ts +8 -0
  37. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  38. package/models/operations/retrieveagentrequest.js +14 -3
  39. package/models/operations/retrieveagentrequest.js.map +1 -1
  40. package/models/operations/retrieveresponse.d.ts +1 -0
  41. package/models/operations/retrieveresponse.d.ts.map +1 -1
  42. package/models/operations/retrieveresponse.js +1 -0
  43. package/models/operations/retrieveresponse.js.map +1 -1
  44. package/models/operations/retrievetool.js +4 -4
  45. package/models/operations/runagent.js +1 -1
  46. package/models/operations/streamrunagent.js +1 -1
  47. package/models/operations/updateagent.d.ts +22 -0
  48. package/models/operations/updateagent.d.ts.map +1 -1
  49. package/models/operations/updateagent.js +27 -3
  50. package/models/operations/updateagent.js.map +1 -1
  51. package/models/operations/updatetool.js +4 -4
  52. package/package.json +1 -1
  53. package/src/lib/config.ts +2 -2
  54. package/src/models/components/fieldinfo.ts +2 -0
  55. package/src/models/components/publicresponseresource.ts +1 -0
  56. package/src/models/components/reasoningpart.ts +1 -1
  57. package/src/models/components/servertoolusedetails.ts +3 -0
  58. package/src/models/operations/createagentrequest.ts +30 -0
  59. package/src/models/operations/createrouterresponse.ts +30 -3
  60. package/src/models/operations/createtool.ts +4 -4
  61. package/src/models/operations/getalltools.ts +4 -4
  62. package/src/models/operations/getv2humanevalsets.ts +2 -2
  63. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  64. package/src/models/operations/listagents.ts +29 -0
  65. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  66. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  67. package/src/models/operations/postv2humanevalsets.ts +2 -2
  68. package/src/models/operations/retrieveagentrequest.ts +30 -0
  69. package/src/models/operations/retrieveresponse.ts +1 -0
  70. package/src/models/operations/retrievetool.ts +4 -4
  71. package/src/models/operations/runagent.ts +1 -1
  72. package/src/models/operations/streamrunagent.ts +1 -1
  73. package/src/models/operations/updateagent.ts +59 -0
  74. package/src/models/operations/updatetool.ts +4 -4
@@ -475,18 +475,19 @@ export type CreateRouterResponseInput =
475
475
  | Array<CreateRouterResponseInput2>;
476
476
 
477
477
  /**
478
- * Processing mode for the request. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
478
+ * Processing mode for the request. Ultrafast is available for GPT-6 Astra on US/global processing. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
479
479
  */
480
480
  export const ServiceTier = {
481
481
  Auto: "auto",
482
482
  Default: "default",
483
483
  Flex: "flex",
484
484
  Fast: "fast",
485
+ Ultrafast: "ultrafast",
485
486
  Scale: "scale",
486
487
  Priority: "priority",
487
488
  } as const;
488
489
  /**
489
- * Processing mode for the request. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
490
+ * Processing mode for the request. Ultrafast is available for GPT-6 Astra on US/global processing. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
490
491
  */
491
492
  export type ServiceTier = ClosedEnum<typeof ServiceTier>;
492
493
 
@@ -684,6 +685,7 @@ export const CreateRouterResponseToolsResponsesRequestType = {
684
685
  OrqWebFetch: "orq:web_fetch",
685
686
  OrqDatetime: "orq:datetime",
686
687
  OrqSearchModels: "orq:search_models",
688
+ OrqToolSearch: "orq:tool_search",
687
689
  OrqImageGeneration: "orq:image_generation",
688
690
  OrqApplyPatch: "orq:apply_patch",
689
691
  OrqFusion: "orq:fusion",
@@ -713,6 +715,10 @@ export type OrqAiTool = {
713
715
  * Files to stage in /workspace for orq:code_interpreter. Maximum 10 files.
714
716
  */
715
717
  files?: Array<Files> | undefined;
718
+ /**
719
+ * Maximum results per call for orq:search_models (1-20, default 5) and orq:tool_search (1-50, default 5).
720
+ */
721
+ maxResults?: number | undefined;
716
722
  /**
717
723
  * Network access intent for orq:code_interpreter. Stored and validated today; runtime enforcement by the sandbox egress layer is rolling out and until then sandbox executions retain default public internet egress.
718
724
  */
@@ -814,6 +820,10 @@ export type ToolsFunction = {
814
820
  */
815
821
  async?: boolean | undefined;
816
822
  cacheControl?: ToolsCacheControl | undefined;
823
+ /**
824
+ * Hide this tool from the model until an orq:tool_search call reveals it. Requires an orq:tool_search tool in the same request.
825
+ */
826
+ deferLoading?: boolean | undefined;
817
827
  /**
818
828
  * A description of what the function does.
819
829
  */
@@ -846,6 +856,7 @@ export type CreateRouterResponseTools =
846
856
  | (OrqAiTool & { type: "orq:web_fetch" })
847
857
  | (OrqAiTool & { type: "orq:datetime" })
848
858
  | (OrqAiTool & { type: "orq:search_models" })
859
+ | (OrqAiTool & { type: "orq:tool_search" })
849
860
  | (OrqAiTool & { type: "orq:image_generation" })
850
861
  | (OrqAiTool & { type: "orq:apply_patch" })
851
862
  | (OrqAiTool & { type: "orq:fusion" })
@@ -945,7 +956,7 @@ export type CreateRouterResponseRequestBody = {
945
956
  safetyIdentifier?: string | undefined;
946
957
  security?: components.SecurityConfig | undefined;
947
958
  /**
948
- * Processing mode for the request. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
959
+ * Processing mode for the request. Ultrafast is available for GPT-6 Astra on US/global processing. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
949
960
  */
950
961
  serviceTier?: ServiceTier | undefined;
951
962
  /**
@@ -993,6 +1004,7 @@ export type CreateRouterResponseRequestBody = {
993
1004
  | (OrqAiTool & { type: "orq:web_fetch" })
994
1005
  | (OrqAiTool & { type: "orq:datetime" })
995
1006
  | (OrqAiTool & { type: "orq:search_models" })
1007
+ | (OrqAiTool & { type: "orq:tool_search" })
996
1008
  | (OrqAiTool & { type: "orq:image_generation" })
997
1009
  | (OrqAiTool & { type: "orq:apply_patch" })
998
1010
  | (OrqAiTool & { type: "orq:fusion" })
@@ -1042,6 +1054,7 @@ export const CreateRouterResponseServiceTier = {
1042
1054
  Default: "default",
1043
1055
  Flex: "flex",
1044
1056
  Fast: "fast",
1057
+ Ultrafast: "ultrafast",
1045
1058
  Scale: "scale",
1046
1059
  Priority: "priority",
1047
1060
  } as const;
@@ -1848,6 +1861,7 @@ export const CreateRouterResponseToolsResponsesRequestType$outboundSchema:
1848
1861
  /** @internal */
1849
1862
  export type OrqAiTool$Outbound = {
1850
1863
  files?: Array<Files$Outbound> | undefined;
1864
+ max_results?: number | undefined;
1851
1865
  network?: Network$Outbound | undefined;
1852
1866
  timezone?: string | undefined;
1853
1867
  tool_id?: string | undefined;
@@ -1861,12 +1875,14 @@ export const OrqAiTool$outboundSchema: z.ZodType<
1861
1875
  OrqAiTool
1862
1876
  > = z.object({
1863
1877
  files: z.array(z.lazy(() => Files$outboundSchema)).optional(),
1878
+ maxResults: z.number().int().optional(),
1864
1879
  network: z.lazy(() => Network$outboundSchema).optional(),
1865
1880
  timezone: z.string().optional(),
1866
1881
  toolId: z.string().optional(),
1867
1882
  type: CreateRouterResponseToolsResponsesRequestType$outboundSchema,
1868
1883
  }).transform((v) => {
1869
1884
  return remap$(v, {
1885
+ maxResults: "max_results",
1870
1886
  toolId: "tool_id",
1871
1887
  });
1872
1888
  });
@@ -1935,6 +1951,7 @@ export function toolsCacheControlToJSON(
1935
1951
  export type ToolsFunction$Outbound = {
1936
1952
  async?: boolean | undefined;
1937
1953
  cache_control?: ToolsCacheControl$Outbound | undefined;
1954
+ defer_loading?: boolean | undefined;
1938
1955
  description?: string | undefined;
1939
1956
  name: string;
1940
1957
  parameters?: { [k: string]: any } | undefined;
@@ -1950,6 +1967,7 @@ export const ToolsFunction$outboundSchema: z.ZodType<
1950
1967
  > = z.object({
1951
1968
  async: z.boolean().optional(),
1952
1969
  cacheControl: z.lazy(() => ToolsCacheControl$outboundSchema).optional(),
1970
+ deferLoading: z.boolean().optional(),
1953
1971
  description: z.string().optional(),
1954
1972
  name: z.string(),
1955
1973
  parameters: z.record(z.any()).optional(),
@@ -1958,6 +1976,7 @@ export const ToolsFunction$outboundSchema: z.ZodType<
1958
1976
  }).transform((v) => {
1959
1977
  return remap$(v, {
1960
1978
  cacheControl: "cache_control",
1979
+ deferLoading: "defer_loading",
1961
1980
  });
1962
1981
  });
1963
1982
 
@@ -1976,6 +1995,7 @@ export type CreateRouterResponseTools$Outbound =
1976
1995
  | (OrqAiTool$Outbound & { type: "orq:web_fetch" })
1977
1996
  | (OrqAiTool$Outbound & { type: "orq:datetime" })
1978
1997
  | (OrqAiTool$Outbound & { type: "orq:search_models" })
1998
+ | (OrqAiTool$Outbound & { type: "orq:tool_search" })
1979
1999
  | (OrqAiTool$Outbound & { type: "orq:image_generation" })
1980
2000
  | (OrqAiTool$Outbound & { type: "orq:apply_patch" })
1981
2001
  | (OrqAiTool$Outbound & { type: "orq:fusion" })
@@ -2018,6 +2038,9 @@ export const CreateRouterResponseTools$outboundSchema: z.ZodType<
2018
2038
  z.lazy(() => OrqAiTool$outboundSchema).and(
2019
2039
  z.object({ type: z.literal("orq:search_models") }),
2020
2040
  ),
2041
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2042
+ z.object({ type: z.literal("orq:tool_search") }),
2043
+ ),
2021
2044
  z.lazy(() => OrqAiTool$outboundSchema).and(
2022
2045
  z.object({ type: z.literal("orq:image_generation") }),
2023
2046
  ),
@@ -2122,6 +2145,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
2122
2145
  | (OrqAiTool$Outbound & { type: "orq:web_fetch" })
2123
2146
  | (OrqAiTool$Outbound & { type: "orq:datetime" })
2124
2147
  | (OrqAiTool$Outbound & { type: "orq:search_models" })
2148
+ | (OrqAiTool$Outbound & { type: "orq:tool_search" })
2125
2149
  | (OrqAiTool$Outbound & { type: "orq:image_generation" })
2126
2150
  | (OrqAiTool$Outbound & { type: "orq:apply_patch" })
2127
2151
  | (OrqAiTool$Outbound & { type: "orq:fusion" })
@@ -2222,6 +2246,9 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
2222
2246
  z.lazy(() => OrqAiTool$outboundSchema).and(
2223
2247
  z.object({ type: z.literal("orq:search_models") }),
2224
2248
  ),
2249
+ z.lazy(() => OrqAiTool$outboundSchema).and(
2250
+ z.object({ type: z.literal("orq:tool_search") }),
2251
+ ),
2225
2252
  z.lazy(() => OrqAiTool$outboundSchema).and(
2226
2253
  z.object({ type: z.literal("orq:image_generation") }),
2227
2254
  ),
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M3SP100P46KJFT4Q32DK0D4W"),
1578
+ _id: z.string().default("tool_01M3VGAN8MEHE5F7AMRQRYDZ09"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M3SP100PZW58414R5XE9HBXN"),
1764
+ _id: z.string().default("tool_01M3VGAN8KPRZ1HQZDHV8E7Z0S"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M3SP100PWKSZ2ZFSEFESDZ4E"),
1857
+ _id: z.string().default("tool_01M3VGAN8JT853STRJ4D262CG8"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M3SP100NKNX8Q34M66GE0EG2"),
1958
+ _id: z.string().default("tool_01M3VGAN8HV818JME0KPTGPNYT"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M3SP100K4Y8TRAGHPVSC752P"),
642
+ _id: z.string().default("tool_01M3VGAN8DZGG19GXMVC619V9E"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M3SP100KW6NSHEZM9PXD4V27"),
824
+ _id: z.string().default("tool_01M3VGAN8CKFHS6PVP1TZRAP9N"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M3SP100JJCMJRR9G84RJDTFR"),
917
+ _id: z.string().default("tool_01M3VGAN8BGXSJX975J4H0QBEK"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M3SP100JNAKANS841PZ05C6S"),
1015
+ _id: z.string().default("tool_01M3VGAN8AV7V47H683QH5477F"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-09-30T17:32:57.755Z",
143
+ "2026-10-01T10:31:48.558Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-09-30T17:32:57.755Z",
188
+ "2026-10-01T10:31:48.558Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-09-30T17:32:57.755Z",
144
+ "2026-10-01T10:31:48.558Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-09-30T17:32:57.755Z",
189
+ "2026-10-01T10:31:48.558Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -70,6 +70,11 @@ export type ListAgentsTeamOfAgents = {
70
70
  role?: string | undefined;
71
71
  };
72
72
 
73
+ export type ListAgentsAgentPlugins = {
74
+ id: string;
75
+ version: string;
76
+ };
77
+
73
78
  export type ListAgentsMetrics = {
74
79
  totalCost: number;
75
80
  };
@@ -1293,6 +1298,7 @@ export type ListAgentsData = {
1293
1298
  * List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
1294
1299
  */
1295
1300
  skills?: Array<string> | undefined;
1301
+ agentPlugins?: Array<ListAgentsAgentPlugins> | undefined;
1296
1302
  metrics?: ListAgentsMetrics | undefined;
1297
1303
  /**
1298
1304
  * Extracted variables from agent instructions
@@ -1393,6 +1399,26 @@ export function listAgentsTeamOfAgentsFromJSON(
1393
1399
  );
1394
1400
  }
1395
1401
 
1402
+ /** @internal */
1403
+ export const ListAgentsAgentPlugins$inboundSchema: z.ZodType<
1404
+ ListAgentsAgentPlugins,
1405
+ z.ZodTypeDef,
1406
+ unknown
1407
+ > = z.object({
1408
+ id: z.string(),
1409
+ version: z.string(),
1410
+ });
1411
+
1412
+ export function listAgentsAgentPluginsFromJSON(
1413
+ jsonString: string,
1414
+ ): SafeParseResult<ListAgentsAgentPlugins, SDKValidationError> {
1415
+ return safeParse(
1416
+ jsonString,
1417
+ (x) => ListAgentsAgentPlugins$inboundSchema.parse(JSON.parse(x)),
1418
+ `Failed to parse 'ListAgentsAgentPlugins' from JSON`,
1419
+ );
1420
+ }
1421
+
1396
1422
  /** @internal */
1397
1423
  export const ListAgentsMetrics$inboundSchema: z.ZodType<
1398
1424
  ListAgentsMetrics,
@@ -2979,6 +3005,8 @@ export const ListAgentsData$inboundSchema: z.ZodType<
2979
3005
  team_of_agents: z.array(z.lazy(() => ListAgentsTeamOfAgents$inboundSchema))
2980
3006
  .optional(),
2981
3007
  skills: z.array(z.string()).optional(),
3008
+ agent_plugins: z.array(z.lazy(() => ListAgentsAgentPlugins$inboundSchema))
3009
+ .optional(),
2982
3010
  metrics: z.lazy(() => ListAgentsMetrics$inboundSchema).optional(),
2983
3011
  variables: z.record(z.any()).optional(),
2984
3012
  knowledge_bases: z.array(z.lazy(() => ListAgentsKnowledgeBases$inboundSchema))
@@ -3000,6 +3028,7 @@ export const ListAgentsData$inboundSchema: z.ZodType<
3000
3028
  "updated_by_id": "updatedById",
3001
3029
  "memory_stores": "memoryStores",
3002
3030
  "team_of_agents": "teamOfAgents",
3031
+ "agent_plugins": "agentPlugins",
3003
3032
  "knowledge_bases": "knowledgeBases",
3004
3033
  "system_prompt": "systemPrompt",
3005
3034
  });
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-09-30T17:32:57.755Z",
321
+ "2026-10-01T10:31:48.558Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-09-30T17:32:57.755Z",
367
+ "2026-10-01T10:31:48.558Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
245
245
  PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
246
246
  .default("orq"),
247
247
  explanation: z.string().optional(),
248
- reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
248
+ reviewedAt: z.date().default(() => new Date("2026-10-01T10:31:57.006Z"))
249
249
  .transform(v => v.toISOString()),
250
250
  type: z.literal("string_array"),
251
251
  values: z.array(z.string()),
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
299
299
  source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
300
300
  .default("orq"),
301
301
  explanation: z.string().optional(),
302
- reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-10-01T10:31:57.006Z"))
303
303
  .transform(v => v.toISOString()),
304
304
  type: z.literal("boolean"),
305
305
  value: z.boolean(),
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
353
353
  "orq",
354
354
  ),
355
355
  explanation: z.string().optional(),
356
- reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-10-01T10:31:57.006Z"))
357
357
  .transform(v => v.toISOString()),
358
358
  type: z.literal("number"),
359
359
  value: z.number(),
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
405
405
  humanReviewId: z.string().optional(),
406
406
  source: RequestBodySource$outboundSchema.default("orq"),
407
407
  explanation: z.string().optional(),
408
- reviewedAt: z.date().default(() => new Date("2026-09-30T17:33:02.900Z"))
408
+ reviewedAt: z.date().default(() => new Date("2026-10-01T10:31:57.005Z"))
409
409
  .transform(v => v.toISOString()),
410
410
  type: z.literal("string"),
411
411
  value: z.string(),
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
271
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
272
  .optional(),
273
273
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-09-30T17:32:57.755Z",
274
+ "2026-10-01T10:31:48.558Z",
275
275
  ).transform(v => new Date(v)),
276
276
  filter_type: z.literal("name"),
277
277
  filter_value: z.string(),
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
316
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
317
  .optional(),
318
318
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-09-30T17:32:57.755Z",
319
+ "2026-10-01T10:31:48.558Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -44,6 +44,11 @@ export type RetrieveAgentRequestTeamOfAgents = {
44
44
  role?: string | undefined;
45
45
  };
46
46
 
47
+ export type RetrieveAgentRequestAgentPlugins = {
48
+ id: string;
49
+ version: string;
50
+ };
51
+
47
52
  export type RetrieveAgentRequestMetrics = {
48
53
  totalCost: number;
49
54
  };
@@ -1301,6 +1306,7 @@ export type RetrieveAgentRequestResponseBody = {
1301
1306
  * List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
1302
1307
  */
1303
1308
  skills?: Array<string> | undefined;
1309
+ agentPlugins?: Array<RetrieveAgentRequestAgentPlugins> | undefined;
1304
1310
  metrics?: RetrieveAgentRequestMetrics | undefined;
1305
1311
  /**
1306
1312
  * Extracted variables from agent instructions
@@ -1377,6 +1383,26 @@ export function retrieveAgentRequestTeamOfAgentsFromJSON(
1377
1383
  );
1378
1384
  }
1379
1385
 
1386
+ /** @internal */
1387
+ export const RetrieveAgentRequestAgentPlugins$inboundSchema: z.ZodType<
1388
+ RetrieveAgentRequestAgentPlugins,
1389
+ z.ZodTypeDef,
1390
+ unknown
1391
+ > = z.object({
1392
+ id: z.string(),
1393
+ version: z.string(),
1394
+ });
1395
+
1396
+ export function retrieveAgentRequestAgentPluginsFromJSON(
1397
+ jsonString: string,
1398
+ ): SafeParseResult<RetrieveAgentRequestAgentPlugins, SDKValidationError> {
1399
+ return safeParse(
1400
+ jsonString,
1401
+ (x) => RetrieveAgentRequestAgentPlugins$inboundSchema.parse(JSON.parse(x)),
1402
+ `Failed to parse 'RetrieveAgentRequestAgentPlugins' from JSON`,
1403
+ );
1404
+ }
1405
+
1380
1406
  /** @internal */
1381
1407
  export const RetrieveAgentRequestMetrics$inboundSchema: z.ZodType<
1382
1408
  RetrieveAgentRequestMetrics,
@@ -3064,6 +3090,9 @@ export const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<
3064
3090
  z.lazy(() => RetrieveAgentRequestTeamOfAgents$inboundSchema),
3065
3091
  ).optional(),
3066
3092
  skills: z.array(z.string()).optional(),
3093
+ agent_plugins: z.array(
3094
+ z.lazy(() => RetrieveAgentRequestAgentPlugins$inboundSchema),
3095
+ ).optional(),
3067
3096
  metrics: z.lazy(() => RetrieveAgentRequestMetrics$inboundSchema).optional(),
3068
3097
  variables: z.record(z.any()).optional(),
3069
3098
  knowledge_bases: z.array(
@@ -3087,6 +3116,7 @@ export const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<
3087
3116
  "updated_by_id": "updatedById",
3088
3117
  "memory_stores": "memoryStores",
3089
3118
  "team_of_agents": "teamOfAgents",
3119
+ "agent_plugins": "agentPlugins",
3090
3120
  "knowledge_bases": "knowledgeBases",
3091
3121
  "system_prompt": "systemPrompt",
3092
3122
  });
@@ -22,6 +22,7 @@ export const RetrieveResponseServiceTier = {
22
22
  Default: "default",
23
23
  Flex: "flex",
24
24
  Fast: "fast",
25
+ Ultrafast: "ultrafast",
25
26
  Scale: "scale",
26
27
  Priority: "priority",
27
28
  } as const;
@@ -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("tool_01M3SP100XQV3JKQTZ78EDNVF6"),
627
+ _id: z.string().default("tool_01M3VGAN925RRNKHMEJTF1AYM4"),
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("tool_01M3SP100XZD7E6QK4VHNR363R"),
823
+ _id: z.string().default("tool_01M3VGAN911FX40WA75GSVX2V3"),
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("tool_01M3SP100WGQFHEZ63QB3CVZP6"),
919
+ _id: z.string().default("tool_01M3VGAN901K1F3WPWYSA4S3CH"),
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("tool_01M3SP100WVVYHE6ZVEMPFD7EA"),
1025
+ _id: z.string().default("tool_01M3VGAN8Z4R5QRHX7SRB1W8FX"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -3890,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
3890
3890
  z.ZodTypeDef,
3891
3891
  Tools
3892
3892
  > = z.object({
3893
- id: z.string().default("01M3SP0ZZDWV9XBX6EGJTNG4BE"),
3893
+ id: z.string().default("01M3VGAN608V5WDD2ZMEKGY2NH"),
3894
3894
  name: z.string(),
3895
3895
  description: z.string().optional(),
3896
3896
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3949,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3949
3949
  z.ZodTypeDef,
3950
3950
  AgentToolInputRunTools
3951
3951
  > = z.object({
3952
- id: z.string().default("01M3SP0ZZR8MVV595EVH6WW96N"),
3952
+ id: z.string().default("01M3VGAN6PVZV0XH4P5VM8Z36Q"),
3953
3953
  name: z.string(),
3954
3954
  description: z.string().optional(),
3955
3955
  schema: z.lazy(() =>
@@ -1116,6 +1116,11 @@ export type UpdateAgentTeamOfAgents = {
1116
1116
  role?: string | undefined;
1117
1117
  };
1118
1118
 
1119
+ export type AgentPlugins = {
1120
+ id: string;
1121
+ version: string;
1122
+ };
1123
+
1119
1124
  export const UpdateAgentEngine = {
1120
1125
  Text: "text",
1121
1126
  Jinja: "jinja",
@@ -1184,6 +1189,7 @@ export type UpdateAgentRequestBody = {
1184
1189
  * List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
1185
1190
  */
1186
1191
  skills?: Array<string> | null | undefined;
1192
+ agentPlugins?: Array<AgentPlugins> | null | undefined;
1187
1193
  /**
1188
1194
  * Extracted variables from agent instructions
1189
1195
  */
@@ -1232,6 +1238,11 @@ export type UpdateAgentAgentsTeamOfAgents = {
1232
1238
  role?: string | undefined;
1233
1239
  };
1234
1240
 
1241
+ export type UpdateAgentAgentPlugins = {
1242
+ id: string;
1243
+ version: string;
1244
+ };
1245
+
1235
1246
  export type UpdateAgentMetrics = {
1236
1247
  totalCost: number;
1237
1248
  };
@@ -2480,6 +2491,7 @@ export type UpdateAgentResponseBody = {
2480
2491
  * List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
2481
2492
  */
2482
2493
  skills?: Array<string> | undefined;
2494
+ agentPlugins?: Array<UpdateAgentAgentPlugins> | undefined;
2483
2495
  metrics?: UpdateAgentMetrics | undefined;
2484
2496
  /**
2485
2497
  * Extracted variables from agent instructions
@@ -4287,6 +4299,26 @@ export function updateAgentTeamOfAgentsToJSON(
4287
4299
  );
4288
4300
  }
4289
4301
 
4302
+ /** @internal */
4303
+ export type AgentPlugins$Outbound = {
4304
+ id: string;
4305
+ version: string;
4306
+ };
4307
+
4308
+ /** @internal */
4309
+ export const AgentPlugins$outboundSchema: z.ZodType<
4310
+ AgentPlugins$Outbound,
4311
+ z.ZodTypeDef,
4312
+ AgentPlugins
4313
+ > = z.object({
4314
+ id: z.string(),
4315
+ version: z.string(),
4316
+ });
4317
+
4318
+ export function agentPluginsToJSON(agentPlugins: AgentPlugins): string {
4319
+ return JSON.stringify(AgentPlugins$outboundSchema.parse(agentPlugins));
4320
+ }
4321
+
4290
4322
  /** @internal */
4291
4323
  export const UpdateAgentEngine$outboundSchema: z.ZodNativeEnum<
4292
4324
  typeof UpdateAgentEngine
@@ -4316,6 +4348,7 @@ export type UpdateAgentRequestBody$Outbound = {
4316
4348
  knowledge_bases?: Array<UpdateAgentKnowledgeBases$Outbound> | undefined;
4317
4349
  team_of_agents?: Array<UpdateAgentTeamOfAgents$Outbound> | undefined;
4318
4350
  skills?: Array<string> | null | undefined;
4351
+ agent_plugins?: Array<AgentPlugins$Outbound> | null | undefined;
4319
4352
  variables?: { [k: string]: any } | undefined;
4320
4353
  engine?: string | undefined;
4321
4354
  versionIncrement?: string | undefined;
@@ -4354,6 +4387,8 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
4354
4387
  teamOfAgents: z.array(z.lazy(() => UpdateAgentTeamOfAgents$outboundSchema))
4355
4388
  .optional(),
4356
4389
  skills: z.nullable(z.array(z.string())).optional(),
4390
+ agentPlugins: z.nullable(z.array(z.lazy(() => AgentPlugins$outboundSchema)))
4391
+ .optional(),
4357
4392
  variables: z.record(z.any()).optional(),
4358
4393
  engine: UpdateAgentEngine$outboundSchema.optional(),
4359
4394
  versionIncrement: VersionIncrement$outboundSchema.optional(),
@@ -4367,6 +4402,7 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
4367
4402
  memoryStores: "memory_stores",
4368
4403
  knowledgeBases: "knowledge_bases",
4369
4404
  teamOfAgents: "team_of_agents",
4405
+ agentPlugins: "agent_plugins",
4370
4406
  });
4371
4407
  });
4372
4408
 
@@ -4432,6 +4468,26 @@ export function updateAgentAgentsTeamOfAgentsFromJSON(
4432
4468
  );
4433
4469
  }
4434
4470
 
4471
+ /** @internal */
4472
+ export const UpdateAgentAgentPlugins$inboundSchema: z.ZodType<
4473
+ UpdateAgentAgentPlugins,
4474
+ z.ZodTypeDef,
4475
+ unknown
4476
+ > = z.object({
4477
+ id: z.string(),
4478
+ version: z.string(),
4479
+ });
4480
+
4481
+ export function updateAgentAgentPluginsFromJSON(
4482
+ jsonString: string,
4483
+ ): SafeParseResult<UpdateAgentAgentPlugins, SDKValidationError> {
4484
+ return safeParse(
4485
+ jsonString,
4486
+ (x) => UpdateAgentAgentPlugins$inboundSchema.parse(JSON.parse(x)),
4487
+ `Failed to parse 'UpdateAgentAgentPlugins' from JSON`,
4488
+ );
4489
+ }
4490
+
4435
4491
  /** @internal */
4436
4492
  export const UpdateAgentMetrics$inboundSchema: z.ZodType<
4437
4493
  UpdateAgentMetrics,
@@ -6145,6 +6201,8 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
6145
6201
  z.lazy(() => UpdateAgentAgentsTeamOfAgents$inboundSchema),
6146
6202
  ).optional(),
6147
6203
  skills: z.array(z.string()).optional(),
6204
+ agent_plugins: z.array(z.lazy(() => UpdateAgentAgentPlugins$inboundSchema))
6205
+ .optional(),
6148
6206
  metrics: z.lazy(() => UpdateAgentMetrics$inboundSchema).optional(),
6149
6207
  variables: z.record(z.any()).optional(),
6150
6208
  knowledge_bases: z.array(
@@ -6168,6 +6226,7 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
6168
6226
  "updated_by_id": "updatedById",
6169
6227
  "memory_stores": "memoryStores",
6170
6228
  "team_of_agents": "teamOfAgents",
6229
+ "agent_plugins": "agentPlugins",
6171
6230
  "knowledge_bases": "knowledgeBases",
6172
6231
  "system_prompt": "systemPrompt",
6173
6232
  });