@orq-ai/node 4.14.0 → 4.14.1

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 (151) 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/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/reasoningpart.js +1 -1
  12. package/models/operations/createannotationqueue.js +1 -1
  13. package/models/operations/createdataset.js +1 -1
  14. package/models/operations/createdatasetitem.js +5 -5
  15. package/models/operations/createtool.js +4 -4
  16. package/models/operations/getalltools.js +4 -4
  17. package/models/operations/geteval.js +16 -16
  18. package/models/operations/getv2humanevalsets.js +2 -2
  19. package/models/operations/getv2humanevalsetsid.js +2 -2
  20. package/models/operations/listannotationqueues.js +1 -1
  21. package/models/operations/listdatasetdatapoints.js +5 -5
  22. package/models/operations/listdatasets.js +1 -1
  23. package/models/operations/patchv2humanevalsetsid.js +2 -2
  24. package/models/operations/postv2feedbackevaluation.js +4 -4
  25. package/models/operations/postv2humanevalsets.js +2 -2
  26. package/models/operations/retrieveannotationqueue.js +1 -1
  27. package/models/operations/retrievedatapoint.js +5 -5
  28. package/models/operations/retrievedataset.js +1 -1
  29. package/models/operations/retrievetool.js +4 -4
  30. package/models/operations/runagent.js +1 -1
  31. package/models/operations/streamrunagent.js +1 -1
  32. package/models/operations/updateannotationqueue.js +1 -1
  33. package/models/operations/updatedatapoint.js +5 -5
  34. package/models/operations/updatedataset.js +1 -1
  35. package/models/operations/updatetool.js +4 -4
  36. package/package.json +1 -1
  37. package/packages/orq-rc/src/funcs/{mcpServersTest.ts → fileSystemsCreate.ts} +13 -13
  38. package/packages/orq-rc/src/funcs/fileSystemsCreateFolder.ts +173 -0
  39. package/packages/orq-rc/src/funcs/fileSystemsDelete.ts +169 -0
  40. package/packages/orq-rc/src/funcs/fileSystemsDeleteFile.ts +183 -0
  41. package/packages/orq-rc/src/funcs/fileSystemsList.ts +172 -0
  42. package/packages/orq-rc/src/funcs/fileSystemsListFiles.ts +177 -0
  43. package/packages/orq-rc/src/funcs/fileSystemsMoveFile.ts +173 -0
  44. package/packages/orq-rc/src/funcs/fileSystemsRetrieve.ts +168 -0
  45. package/packages/orq-rc/src/funcs/fileSystemsStatFile.ts +175 -0
  46. package/packages/orq-rc/src/funcs/fileSystemsUpdate.ts +171 -0
  47. package/packages/orq-rc/src/lib/config.ts +2 -2
  48. package/packages/orq-rc/src/models/components/agenttoolinputcrud.ts +8 -0
  49. package/packages/orq-rc/src/models/components/createfilesystemfolderrequest.ts +36 -0
  50. package/packages/orq-rc/src/models/components/createfilesystemfolderresponse.ts +31 -0
  51. package/packages/orq-rc/src/models/components/createfilesystemrequest.ts +94 -0
  52. package/packages/orq-rc/src/models/components/deletefilesystemfileresponse.ts +49 -0
  53. package/packages/orq-rc/src/models/components/deletefilesystemresponse.ts +27 -0
  54. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
  55. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
  56. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  57. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
  58. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
  59. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
  60. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
  61. package/packages/orq-rc/src/models/components/fileentry.ts +86 -0
  62. package/packages/orq-rc/src/models/components/filesystem.ts +116 -0
  63. package/packages/orq-rc/src/models/components/filesystemexternalaccess.ts +20 -0
  64. package/packages/orq-rc/src/models/components/filesystemtoolinput.ts +51 -0
  65. package/packages/orq-rc/src/models/components/index.ts +16 -3
  66. package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +9 -6
  67. package/packages/orq-rc/src/models/components/listfilesystemfilesresponse.ts +57 -0
  68. package/packages/orq-rc/src/models/components/listfilesystemsresponse.ts +51 -0
  69. package/packages/orq-rc/src/models/components/mcpaccess.ts +13 -0
  70. package/packages/orq-rc/src/models/components/movefilesystemfilerequest.ts +40 -0
  71. package/packages/orq-rc/src/models/components/movefilesystemfileresponse.ts +33 -0
  72. package/packages/orq-rc/src/models/components/orqsidekicktool.ts +22 -5
  73. package/packages/orq-rc/src/models/components/publicusage.ts +7 -0
  74. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  75. package/packages/orq-rc/src/models/components/servertoolusedetails.ts +63 -0
  76. package/packages/orq-rc/src/models/components/statfilesystemfileresponse.ts +63 -0
  77. package/packages/orq-rc/src/models/components/updatefilesystemrequest.ts +83 -0
  78. package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
  79. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  80. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
  81. package/packages/orq-rc/src/models/operations/createfolder.ts +43 -0
  82. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +139 -9
  83. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  84. package/packages/orq-rc/src/models/operations/deletefile.ts +42 -0
  85. package/packages/orq-rc/src/models/operations/deletefilesystem.ts +36 -0
  86. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  87. package/packages/orq-rc/src/models/operations/geteval.ts +16 -16
  88. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  89. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/index.ts +9 -0
  91. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
  92. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  93. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  94. package/packages/orq-rc/src/models/operations/listfiles.ts +46 -0
  95. package/packages/orq-rc/src/models/operations/listfilesystems.ts +50 -0
  96. package/packages/orq-rc/src/models/operations/movefile.ts +40 -0
  97. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  99. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
  101. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
  102. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  103. package/packages/orq-rc/src/models/operations/retrievefilesystem.ts +36 -0
  104. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  105. package/packages/orq-rc/src/models/operations/runagent.ts +15 -9
  106. package/packages/orq-rc/src/models/operations/statfile.ts +37 -0
  107. package/packages/orq-rc/src/models/operations/streamrunagent.ts +15 -9
  108. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
  109. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  110. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  111. package/packages/orq-rc/src/models/operations/updatefilesystem.ts +41 -0
  112. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  113. package/packages/orq-rc/src/sdk/filesystems.ts +190 -0
  114. package/packages/orq-rc/src/sdk/mcpservers.ts +0 -18
  115. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  116. package/src/lib/config.ts +2 -2
  117. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  118. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  119. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  120. package/src/models/components/evaluatorresponsellm.ts +2 -2
  121. package/src/models/components/evaluatorresponsepython.ts +2 -2
  122. package/src/models/components/evaluatorresponseragas.ts +2 -2
  123. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  124. package/src/models/components/reasoningpart.ts +1 -1
  125. package/src/models/operations/createannotationqueue.ts +1 -1
  126. package/src/models/operations/createdataset.ts +1 -1
  127. package/src/models/operations/createdatasetitem.ts +5 -5
  128. package/src/models/operations/createtool.ts +4 -4
  129. package/src/models/operations/getalltools.ts +4 -4
  130. package/src/models/operations/geteval.ts +16 -16
  131. package/src/models/operations/getv2humanevalsets.ts +2 -2
  132. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  133. package/src/models/operations/listannotationqueues.ts +1 -1
  134. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  135. package/src/models/operations/listdatasets.ts +1 -1
  136. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  137. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  138. package/src/models/operations/postv2humanevalsets.ts +2 -2
  139. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  140. package/src/models/operations/retrievedatapoint.ts +5 -5
  141. package/src/models/operations/retrievedataset.ts +1 -1
  142. package/src/models/operations/retrievetool.ts +4 -4
  143. package/src/models/operations/runagent.ts +1 -1
  144. package/src/models/operations/streamrunagent.ts +1 -1
  145. package/src/models/operations/updateannotationqueue.ts +1 -1
  146. package/src/models/operations/updatedatapoint.ts +5 -5
  147. package/src/models/operations/updatedataset.ts +1 -1
  148. package/src/models/operations/updatetool.ts +4 -4
  149. package/packages/orq-rc/src/models/components/mcptestresult.ts +0 -61
  150. package/packages/orq-rc/src/models/components/testmcpserverrequest.ts +0 -67
  151. package/packages/orq-rc/src/models/components/testmcpserverresponse.ts +0 -32
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type ListFilesRequest = {
9
+ fileSystemKey: string;
10
+ path?: string | undefined;
11
+ depth?: number | undefined;
12
+ maxEntries?: number | undefined;
13
+ };
14
+
15
+ /** @internal */
16
+ export type ListFilesRequest$Outbound = {
17
+ file_system_key: string;
18
+ path?: string | undefined;
19
+ depth?: number | undefined;
20
+ max_entries?: number | undefined;
21
+ };
22
+
23
+ /** @internal */
24
+ export const ListFilesRequest$outboundSchema: z.ZodType<
25
+ ListFilesRequest$Outbound,
26
+ z.ZodTypeDef,
27
+ ListFilesRequest
28
+ > = z.object({
29
+ fileSystemKey: z.string(),
30
+ path: z.string().optional(),
31
+ depth: z.number().int().optional(),
32
+ maxEntries: z.number().int().optional(),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ fileSystemKey: "file_system_key",
36
+ maxEntries: "max_entries",
37
+ });
38
+ });
39
+
40
+ export function listFilesRequestToJSON(
41
+ listFilesRequest: ListFilesRequest,
42
+ ): string {
43
+ return JSON.stringify(
44
+ ListFilesRequest$outboundSchema.parse(listFilesRequest),
45
+ );
46
+ }
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type ListFileSystemsRequest = {
9
+ limit?: number | undefined;
10
+ startingAfter?: string | undefined;
11
+ endingBefore?: string | undefined;
12
+ search?: string | undefined;
13
+ projectId?: string | undefined;
14
+ };
15
+
16
+ /** @internal */
17
+ export type ListFileSystemsRequest$Outbound = {
18
+ limit?: number | undefined;
19
+ starting_after?: string | undefined;
20
+ ending_before?: string | undefined;
21
+ search?: string | undefined;
22
+ project_id?: string | undefined;
23
+ };
24
+
25
+ /** @internal */
26
+ export const ListFileSystemsRequest$outboundSchema: z.ZodType<
27
+ ListFileSystemsRequest$Outbound,
28
+ z.ZodTypeDef,
29
+ ListFileSystemsRequest
30
+ > = z.object({
31
+ limit: z.number().int().optional(),
32
+ startingAfter: z.string().optional(),
33
+ endingBefore: z.string().optional(),
34
+ search: z.string().optional(),
35
+ projectId: z.string().optional(),
36
+ }).transform((v) => {
37
+ return remap$(v, {
38
+ startingAfter: "starting_after",
39
+ endingBefore: "ending_before",
40
+ projectId: "project_id",
41
+ });
42
+ });
43
+
44
+ export function listFileSystemsRequestToJSON(
45
+ listFileSystemsRequest: ListFileSystemsRequest,
46
+ ): string {
47
+ return JSON.stringify(
48
+ ListFileSystemsRequest$outboundSchema.parse(listFileSystemsRequest),
49
+ );
50
+ }
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
8
+
9
+ export type MoveFileRequest = {
10
+ fileSystemKey: string;
11
+ moveFileSystemFileRequest: components.MoveFileSystemFileRequest;
12
+ };
13
+
14
+ /** @internal */
15
+ export type MoveFileRequest$Outbound = {
16
+ file_system_key: string;
17
+ MoveFileSystemFileRequest: components.MoveFileSystemFileRequest$Outbound;
18
+ };
19
+
20
+ /** @internal */
21
+ export const MoveFileRequest$outboundSchema: z.ZodType<
22
+ MoveFileRequest$Outbound,
23
+ z.ZodTypeDef,
24
+ MoveFileRequest
25
+ > = z.object({
26
+ fileSystemKey: z.string(),
27
+ moveFileSystemFileRequest:
28
+ components.MoveFileSystemFileRequest$outboundSchema,
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ fileSystemKey: "file_system_key",
32
+ moveFileSystemFileRequest: "MoveFileSystemFileRequest",
33
+ });
34
+ });
35
+
36
+ export function moveFileRequestToJSON(
37
+ moveFileRequest: MoveFileRequest,
38
+ ): string {
39
+ return JSON.stringify(MoveFileRequest$outboundSchema.parse(moveFileRequest));
40
+ }
@@ -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-08-25T14:44:11.279Z",
321
+ "2026-08-26T11:10:52.849Z",
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-08-25T14:44:11.279Z",
367
+ "2026-08-26T11:10:52.849Z",
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-08-25T14:44:21.845Z"))
248
+ reviewedAt: z.date().default(() => new Date("2026-08-26T11:11:03.135Z"))
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-08-25T14:44:21.844Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-08-26T11:11:03.134Z"))
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-08-25T14:44:21.844Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-08-26T11:11:03.134Z"))
357
357
  .transform(v => v.toISOString()),
358
358
  type: z.literal("number"),
359
359
  value: z.number(),
@@ -405,7 +405,7 @@ export const PostV2FeedbackEvaluationRequestBody1$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-08-25T14:44:21.844Z"))
408
+ reviewedAt: z.date().default(() => new Date("2026-08-26T11:11:03.127Z"))
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-08-25T14:44:11.279Z",
274
+ "2026-08-26T11:10:52.849Z",
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-08-25T14:44:11.279Z",
319
+ "2026-08-26T11:10:52.849Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -135,7 +135,7 @@ export const RetrieveAnnotationQueueResponseBody$inboundSchema: z.ZodType<
135
135
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
136
136
  .optional(),
137
137
  updated: z.string().datetime({ offset: true }).default(
138
- "2026-08-25T14:44:11.279Z",
138
+ "2026-08-26T11:10:52.849Z",
139
139
  ).transform(v => new Date(v)),
140
140
  }).transform((v) => {
141
141
  return remap$(v, {
@@ -1585,7 +1585,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
1585
1585
  explanation: z.string().optional(),
1586
1586
  reviewed_by_id: z.string(),
1587
1587
  reviewed_at: z.string().datetime({ offset: true }).default(
1588
- "2026-08-25T14:44:21.749Z",
1588
+ "2026-08-26T11:11:03.035Z",
1589
1589
  ).transform(v => new Date(v)),
1590
1590
  type: z.literal("string_array"),
1591
1591
  values: z.array(z.string()),
@@ -1685,7 +1685,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
1685
1685
  explanation: z.string().optional(),
1686
1686
  reviewed_by_id: z.string(),
1687
1687
  reviewed_at: z.string().datetime({ offset: true }).default(
1688
- "2026-08-25T14:44:21.749Z",
1688
+ "2026-08-26T11:11:03.034Z",
1689
1689
  ).transform(v => new Date(v)),
1690
1690
  type: z.literal("boolean"),
1691
1691
  value: z.boolean(),
@@ -1783,7 +1783,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
1783
1783
  explanation: z.string().optional(),
1784
1784
  reviewed_by_id: z.string(),
1785
1785
  reviewed_at: z.string().datetime({ offset: true }).default(
1786
- "2026-08-25T14:44:21.748Z",
1786
+ "2026-08-26T11:11:03.034Z",
1787
1787
  ).transform(v => new Date(v)),
1788
1788
  type: z.literal("number"),
1789
1789
  value: z.number(),
@@ -1871,7 +1871,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
1871
1871
  explanation: z.string().optional(),
1872
1872
  reviewed_by_id: z.string(),
1873
1873
  reviewed_at: z.string().datetime({ offset: true }).default(
1874
- "2026-08-25T14:44:21.748Z",
1874
+ "2026-08-26T11:11:03.033Z",
1875
1875
  ).transform(v => new Date(v)),
1876
1876
  type: z.literal("string"),
1877
1877
  value: z.string(),
@@ -1952,7 +1952,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
1952
1952
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1953
1953
  .optional(),
1954
1954
  updated: z.string().datetime({ offset: true }).default(
1955
- "2026-08-25T14:44:11.279Z",
1955
+ "2026-08-26T11:10:52.849Z",
1956
1956
  ).transform(v => new Date(v)),
1957
1957
  }).transform((v) => {
1958
1958
  return remap$(v, {
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
126
126
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
127
127
  .optional(),
128
128
  updated: z.string().datetime({ offset: true }).default(
129
- "2026-08-25T14:44:11.279Z",
129
+ "2026-08-26T11:10:52.849Z",
130
130
  ).transform(v => new Date(v)),
131
131
  }).transform((v) => {
132
132
  return remap$(v, {
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type RetrieveFileSystemRequest = {
9
+ fileSystemKey: string;
10
+ };
11
+
12
+ /** @internal */
13
+ export type RetrieveFileSystemRequest$Outbound = {
14
+ file_system_key: string;
15
+ };
16
+
17
+ /** @internal */
18
+ export const RetrieveFileSystemRequest$outboundSchema: z.ZodType<
19
+ RetrieveFileSystemRequest$Outbound,
20
+ z.ZodTypeDef,
21
+ RetrieveFileSystemRequest
22
+ > = z.object({
23
+ fileSystemKey: z.string(),
24
+ }).transform((v) => {
25
+ return remap$(v, {
26
+ fileSystemKey: "file_system_key",
27
+ });
28
+ });
29
+
30
+ export function retrieveFileSystemRequestToJSON(
31
+ retrieveFileSystemRequest: RetrieveFileSystemRequest,
32
+ ): string {
33
+ return JSON.stringify(
34
+ RetrieveFileSystemRequest$outboundSchema.parse(retrieveFileSystemRequest),
35
+ );
36
+ }
@@ -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_01M0WP282T2FD74YZ9VJJGCGH5"),
627
+ _id: z.string().default("tool_01M0YW8CAZMTK7ECF99YHXEHA9"),
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_01M0WP282RV1D6K3AN848HPFPC"),
823
+ _id: z.string().default("tool_01M0YW8CAYT1B7VP4V3758R7X9"),
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_01M0WP282QMS89H7S0WA6F9S4K"),
919
+ _id: z.string().default("tool_01M0YW8CAXWJ5FJ4SDPA5GJYJY"),
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_01M0WP282P5BW1E4HDRM77EG2J"),
1025
+ _id: z.string().default("tool_01M0YW8CAWBATW5JAAJD06T8ZC"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -1177,17 +1177,17 @@ export type AgentToolInputRunHeaders = {
1177
1177
  encrypted?: boolean | undefined;
1178
1178
  };
1179
1179
 
1180
- export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType =
1180
+ export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType =
1181
1181
  {
1182
1182
  Object: "object",
1183
1183
  } as const;
1184
- export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType =
1184
+ export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType =
1185
1185
  ClosedEnum<
1186
- typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType
1186
+ typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType
1187
1187
  >;
1188
1188
 
1189
1189
  export type AgentToolInputRunSchema = {
1190
- type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType;
1190
+ type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType;
1191
1191
  properties?: { [k: string]: any } | undefined;
1192
1192
  required?: Array<string> | undefined;
1193
1193
  };
@@ -1584,6 +1584,7 @@ export type AgentToolInputRun =
1584
1584
  | components.AdvisorToolInput
1585
1585
  | components.SidekickToolInput
1586
1586
  | components.CodeInterpreterToolInput
1587
+ | components.FileSystemToolInput
1587
1588
  | HTTPToolRun
1588
1589
  | CodeToolRun
1589
1590
  | FunctionToolRun
@@ -1681,6 +1682,7 @@ export type RunAgentSettings = {
1681
1682
  | components.AdvisorToolInput
1682
1683
  | components.SidekickToolInput
1683
1684
  | components.CodeInterpreterToolInput
1685
+ | components.FileSystemToolInput
1684
1686
  | HTTPToolRun
1685
1687
  | CodeToolRun
1686
1688
  | FunctionToolRun
@@ -3848,11 +3850,11 @@ export function agentToolInputRunHeadersToJSON(
3848
3850
  }
3849
3851
 
3850
3852
  /** @internal */
3851
- export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType$outboundSchema:
3853
+ export const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType$outboundSchema:
3852
3854
  z.ZodNativeEnum<
3853
- typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType
3855
+ typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType
3854
3856
  > = z.nativeEnum(
3855
- RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType,
3857
+ RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType,
3856
3858
  );
3857
3859
 
3858
3860
  /** @internal */
@@ -3869,7 +3871,7 @@ export const AgentToolInputRunSchema$outboundSchema: z.ZodType<
3869
3871
  AgentToolInputRunSchema
3870
3872
  > = z.object({
3871
3873
  type:
3872
- RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType$outboundSchema,
3874
+ RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType$outboundSchema,
3873
3875
  properties: z.record(z.any()).optional(),
3874
3876
  required: z.array(z.string()).optional(),
3875
3877
  });
@@ -3896,7 +3898,7 @@ export const Tools$outboundSchema: z.ZodType<
3896
3898
  z.ZodTypeDef,
3897
3899
  Tools
3898
3900
  > = z.object({
3899
- id: z.string().default("01M0WP27XSZNYTBZ730VZMMX06"),
3901
+ id: z.string().default("01M0YW8C63DMX4TJHZ67AZAEEQ"),
3900
3902
  name: z.string(),
3901
3903
  description: z.string().optional(),
3902
3904
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -4482,6 +4484,7 @@ export type AgentToolInputRun$Outbound =
4482
4484
  | components.AdvisorToolInput$Outbound
4483
4485
  | components.SidekickToolInput$Outbound
4484
4486
  | components.CodeInterpreterToolInput$Outbound
4487
+ | components.FileSystemToolInput$Outbound
4485
4488
  | HTTPToolRun$Outbound
4486
4489
  | CodeToolRun$Outbound
4487
4490
  | FunctionToolRun$Outbound
@@ -4508,6 +4511,7 @@ export const AgentToolInputRun$outboundSchema: z.ZodType<
4508
4511
  components.AdvisorToolInput$outboundSchema,
4509
4512
  components.SidekickToolInput$outboundSchema,
4510
4513
  components.CodeInterpreterToolInput$outboundSchema,
4514
+ components.FileSystemToolInput$outboundSchema,
4511
4515
  z.lazy(() => HTTPToolRun$outboundSchema),
4512
4516
  z.lazy(() => CodeToolRun$outboundSchema),
4513
4517
  z.lazy(() => FunctionToolRun$outboundSchema),
@@ -4618,6 +4622,7 @@ export type RunAgentSettings$Outbound = {
4618
4622
  | components.AdvisorToolInput$Outbound
4619
4623
  | components.SidekickToolInput$Outbound
4620
4624
  | components.CodeInterpreterToolInput$Outbound
4625
+ | components.FileSystemToolInput$Outbound
4621
4626
  | HTTPToolRun$Outbound
4622
4627
  | CodeToolRun$Outbound
4623
4628
  | FunctionToolRun$Outbound
@@ -4656,6 +4661,7 @@ export const RunAgentSettings$outboundSchema: z.ZodType<
4656
4661
  components.AdvisorToolInput$outboundSchema,
4657
4662
  components.SidekickToolInput$outboundSchema,
4658
4663
  components.CodeInterpreterToolInput$outboundSchema,
4664
+ components.FileSystemToolInput$outboundSchema,
4659
4665
  z.lazy(() => HTTPToolRun$outboundSchema),
4660
4666
  z.lazy(() => CodeToolRun$outboundSchema),
4661
4667
  z.lazy(() => FunctionToolRun$outboundSchema),
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type StatFileRequest = {
9
+ fileSystemKey: string;
10
+ path?: string | undefined;
11
+ };
12
+
13
+ /** @internal */
14
+ export type StatFileRequest$Outbound = {
15
+ file_system_key: string;
16
+ path?: string | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export const StatFileRequest$outboundSchema: z.ZodType<
21
+ StatFileRequest$Outbound,
22
+ z.ZodTypeDef,
23
+ StatFileRequest
24
+ > = z.object({
25
+ fileSystemKey: z.string(),
26
+ path: z.string().optional(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ fileSystemKey: "file_system_key",
30
+ });
31
+ });
32
+
33
+ export function statFileRequestToJSON(
34
+ statFileRequest: StatFileRequest,
35
+ ): string {
36
+ return JSON.stringify(StatFileRequest$outboundSchema.parse(statFileRequest));
37
+ }
@@ -1203,18 +1203,18 @@ export type StreamRunAgentAgentToolInputRunAgentsHeaders = {
1203
1203
  encrypted?: boolean | undefined;
1204
1204
  };
1205
1205
 
1206
- export const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType =
1206
+ export const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType =
1207
1207
  {
1208
1208
  Object: "object",
1209
1209
  } as const;
1210
- export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType =
1210
+ export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType =
1211
1211
  ClosedEnum<
1212
- typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType
1212
+ typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType
1213
1213
  >;
1214
1214
 
1215
1215
  export type StreamRunAgentAgentToolInputRunAgentsSchema = {
1216
1216
  type:
1217
- StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType;
1217
+ StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType;
1218
1218
  properties?: { [k: string]: any } | undefined;
1219
1219
  required?: Array<string> | undefined;
1220
1220
  };
@@ -1624,6 +1624,7 @@ export type StreamRunAgentAgentToolInputRun =
1624
1624
  | components.AdvisorToolInput
1625
1625
  | components.SidekickToolInput
1626
1626
  | components.CodeInterpreterToolInput
1627
+ | components.FileSystemToolInput
1627
1628
  | AgentToolInputRunHTTPToolRun
1628
1629
  | AgentToolInputRunCodeToolRun
1629
1630
  | AgentToolInputRunFunctionToolRun
@@ -1723,6 +1724,7 @@ export type StreamRunAgentSettings = {
1723
1724
  | components.AdvisorToolInput
1724
1725
  | components.SidekickToolInput
1725
1726
  | components.CodeInterpreterToolInput
1727
+ | components.FileSystemToolInput
1726
1728
  | AgentToolInputRunHTTPToolRun
1727
1729
  | AgentToolInputRunCodeToolRun
1728
1730
  | AgentToolInputRunFunctionToolRun
@@ -3903,11 +3905,11 @@ export function streamRunAgentAgentToolInputRunAgentsHeadersToJSON(
3903
3905
  }
3904
3906
 
3905
3907
  /** @internal */
3906
- export const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType$outboundSchema:
3908
+ export const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType$outboundSchema:
3907
3909
  z.ZodNativeEnum<
3908
- typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType
3910
+ typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType
3909
3911
  > = z.nativeEnum(
3910
- StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType,
3912
+ StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType,
3911
3913
  );
3912
3914
 
3913
3915
  /** @internal */
@@ -3925,7 +3927,7 @@ export const StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema:
3925
3927
  StreamRunAgentAgentToolInputRunAgentsSchema
3926
3928
  > = z.object({
3927
3929
  type:
3928
- StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools19McpType$outboundSchema,
3930
+ StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools20McpType$outboundSchema,
3929
3931
  properties: z.record(z.any()).optional(),
3930
3932
  required: z.array(z.string()).optional(),
3931
3933
  });
@@ -3955,7 +3957,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3955
3957
  z.ZodTypeDef,
3956
3958
  AgentToolInputRunTools
3957
3959
  > = z.object({
3958
- id: z.string().default("01M0WP27YY73VKNX8YZVGHADZA"),
3960
+ id: z.string().default("01M0YW8C73DWZKZ4VK4M5W07J0"),
3959
3961
  name: z.string(),
3960
3962
  description: z.string().optional(),
3961
3963
  schema: z.lazy(() =>
@@ -4649,6 +4651,7 @@ export type StreamRunAgentAgentToolInputRun$Outbound =
4649
4651
  | components.AdvisorToolInput$Outbound
4650
4652
  | components.SidekickToolInput$Outbound
4651
4653
  | components.CodeInterpreterToolInput$Outbound
4654
+ | components.FileSystemToolInput$Outbound
4652
4655
  | AgentToolInputRunHTTPToolRun$Outbound
4653
4656
  | AgentToolInputRunCodeToolRun$Outbound
4654
4657
  | AgentToolInputRunFunctionToolRun$Outbound
@@ -4675,6 +4678,7 @@ export const StreamRunAgentAgentToolInputRun$outboundSchema: z.ZodType<
4675
4678
  components.AdvisorToolInput$outboundSchema,
4676
4679
  components.SidekickToolInput$outboundSchema,
4677
4680
  components.CodeInterpreterToolInput$outboundSchema,
4681
+ components.FileSystemToolInput$outboundSchema,
4678
4682
  z.lazy(() => AgentToolInputRunHTTPToolRun$outboundSchema),
4679
4683
  z.lazy(() => AgentToolInputRunCodeToolRun$outboundSchema),
4680
4684
  z.lazy(() => AgentToolInputRunFunctionToolRun$outboundSchema),
@@ -4787,6 +4791,7 @@ export type StreamRunAgentSettings$Outbound = {
4787
4791
  | components.AdvisorToolInput$Outbound
4788
4792
  | components.SidekickToolInput$Outbound
4789
4793
  | components.CodeInterpreterToolInput$Outbound
4794
+ | components.FileSystemToolInput$Outbound
4790
4795
  | AgentToolInputRunHTTPToolRun$Outbound
4791
4796
  | AgentToolInputRunCodeToolRun$Outbound
4792
4797
  | AgentToolInputRunFunctionToolRun$Outbound
@@ -4825,6 +4830,7 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
4825
4830
  components.AdvisorToolInput$outboundSchema,
4826
4831
  components.SidekickToolInput$outboundSchema,
4827
4832
  components.CodeInterpreterToolInput$outboundSchema,
4833
+ components.FileSystemToolInput$outboundSchema,
4828
4834
  z.lazy(() => AgentToolInputRunHTTPToolRun$outboundSchema),
4829
4835
  z.lazy(() => AgentToolInputRunCodeToolRun$outboundSchema),
4830
4836
  z.lazy(() => AgentToolInputRunFunctionToolRun$outboundSchema),
@@ -195,7 +195,7 @@ export const UpdateAnnotationQueueResponseBody$inboundSchema: z.ZodType<
195
195
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
196
196
  .optional(),
197
197
  updated: z.string().datetime({ offset: true }).default(
198
- "2026-08-25T14:44:11.279Z",
198
+ "2026-08-26T11:10:52.849Z",
199
199
  ).transform(v => new Date(v)),
200
200
  }).transform((v) => {
201
201
  return remap$(v, {
@@ -2760,7 +2760,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
2760
2760
  explanation: z.string().optional(),
2761
2761
  reviewed_by_id: z.string(),
2762
2762
  reviewed_at: z.string().datetime({ offset: true }).default(
2763
- "2026-08-25T14:44:21.775Z",
2763
+ "2026-08-26T11:11:03.060Z",
2764
2764
  ).transform(v => new Date(v)),
2765
2765
  type: z.literal("string_array"),
2766
2766
  values: z.array(z.string()),
@@ -2860,7 +2860,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2860
2860
  explanation: z.string().optional(),
2861
2861
  reviewed_by_id: z.string(),
2862
2862
  reviewed_at: z.string().datetime({ offset: true }).default(
2863
- "2026-08-25T14:44:21.774Z",
2863
+ "2026-08-26T11:11:03.060Z",
2864
2864
  ).transform(v => new Date(v)),
2865
2865
  type: z.literal("boolean"),
2866
2866
  value: z.boolean(),
@@ -2957,7 +2957,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2957
2957
  explanation: z.string().optional(),
2958
2958
  reviewed_by_id: z.string(),
2959
2959
  reviewed_at: z.string().datetime({ offset: true }).default(
2960
- "2026-08-25T14:44:21.774Z",
2960
+ "2026-08-26T11:11:03.059Z",
2961
2961
  ).transform(v => new Date(v)),
2962
2962
  type: z.literal("number"),
2963
2963
  value: z.number(),
@@ -3046,7 +3046,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
3046
3046
  explanation: z.string().optional(),
3047
3047
  reviewed_by_id: z.string(),
3048
3048
  reviewed_at: z.string().datetime({ offset: true }).default(
3049
- "2026-08-25T14:44:21.773Z",
3049
+ "2026-08-26T11:11:03.059Z",
3050
3050
  ).transform(v => new Date(v)),
3051
3051
  type: z.literal("string"),
3052
3052
  value: z.string(),
@@ -3131,7 +3131,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
3131
3131
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3132
3132
  .optional(),
3133
3133
  updated: z.string().datetime({ offset: true }).default(
3134
- "2026-08-25T14:44:11.279Z",
3134
+ "2026-08-26T11:10:52.849Z",
3135
3135
  ).transform(v => new Date(v)),
3136
3136
  }).transform((v) => {
3137
3137
  return remap$(v, {
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2026-08-25T14:44:11.279Z",
185
+ "2026-08-26T11:10:52.849Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {