windmill-components 1.522.0 → 1.531.0

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 (271) hide show
  1. package/package/components/AIAgentLogViewer.svelte +123 -0
  2. package/package/components/AIAgentLogViewer.svelte.d.ts +13 -0
  3. package/package/components/AppConnectInner.svelte +10 -10
  4. package/package/components/AutoscalingConfigEditor.svelte +76 -2
  5. package/package/components/Dev.svelte +12 -28
  6. package/package/components/DiffEditor.svelte +6 -3
  7. package/package/components/DiffEditor.svelte.d.ts +1 -0
  8. package/package/components/DisplayResult.svelte +16 -10
  9. package/package/components/DisplayResult.svelte.d.ts +1 -0
  10. package/package/components/EditableSchemaForm.svelte +5 -2
  11. package/package/components/Editor.svelte +26 -8
  12. package/package/components/Editor.svelte.d.ts +1 -1
  13. package/package/components/EditorBar.svelte +25 -5
  14. package/package/components/EditorSettings.svelte +6 -0
  15. package/package/components/FirstStepInputs.svelte +2 -2
  16. package/package/components/FlowBuilder.svelte +18 -36
  17. package/package/components/FlowGraphViewerStep.svelte +7 -0
  18. package/package/components/FlowJobResult.svelte +15 -63
  19. package/package/components/FlowJobResult.svelte.d.ts +10 -4
  20. package/package/components/FlowLogViewer.svelte +660 -0
  21. package/package/components/FlowLogViewer.svelte.d.ts +34 -0
  22. package/package/components/FlowLogViewerWrapper.svelte +52 -0
  23. package/package/components/FlowLogViewerWrapper.svelte.d.ts +21 -0
  24. package/package/components/FlowLoopIterationPreview.svelte +3 -3
  25. package/package/components/FlowPreviewContent.svelte +4 -5
  26. package/package/components/FlowPreviewContent.svelte.d.ts +7 -7
  27. package/package/components/FlowPreviewResult.svelte +4 -5
  28. package/package/components/FlowPreviewResult.svelte.d.ts +3 -5
  29. package/package/components/FlowStatusViewer.svelte +28 -16
  30. package/package/components/FlowStatusViewer.svelte.d.ts +19 -27
  31. package/package/components/FlowStatusViewerInner.svelte +483 -296
  32. package/package/components/FlowStatusViewerInner.svelte.d.ts +27 -33
  33. package/package/components/FlowTimeline.svelte +11 -13
  34. package/package/components/FlowTimeline.svelte.d.ts +6 -5
  35. package/package/components/HighlightCode.svelte +4 -1
  36. package/package/components/IconedResourceType.svelte +9 -5
  37. package/package/components/JobLoader.svelte +61 -8
  38. package/package/components/JobLoader.svelte.d.ts +9 -1
  39. package/package/components/LogViewer.svelte +8 -2
  40. package/package/components/LogViewer.svelte.d.ts +1 -0
  41. package/package/components/LogViewerHeader.svelte +32 -0
  42. package/package/components/LogViewerHeader.svelte.d.ts +8 -0
  43. package/package/components/ModulePreviewForm.svelte +10 -6
  44. package/package/components/ModulePreviewResultViewer.svelte +16 -0
  45. package/package/components/ModulePreviewResultViewer.svelte.d.ts +1 -1
  46. package/package/components/ModuleTest.svelte +59 -16
  47. package/package/components/RelativeLineNumbers.svelte +16 -0
  48. package/package/components/RelativeLineNumbers.svelte.d.ts +18 -0
  49. package/package/components/ResourceEditor.svelte +9 -4
  50. package/package/components/ScriptBuilder.svelte +13 -11
  51. package/package/components/ScriptEditor.svelte +2 -2
  52. package/package/components/SimpleEditor.svelte +10 -4
  53. package/package/components/SimpleEditor.svelte.d.ts +1 -0
  54. package/package/components/TemplateEditor.svelte +1 -1
  55. package/package/components/UserSettings.svelte +4 -4
  56. package/package/components/apps/components/display/AppAccordionList.svelte +1 -1
  57. package/package/components/apps/components/display/AppCarouselList.svelte +10 -8
  58. package/package/components/apps/components/display/AppJobIdFlowStatus.svelte +3 -3
  59. package/package/components/apps/components/display/table/AppAggridTable.svelte +2 -2
  60. package/package/components/apps/components/helpers/HiddenComponent.svelte +0 -1
  61. package/package/components/apps/components/helpers/InputValue.svelte +6 -1
  62. package/package/components/apps/components/helpers/NonRunnableComponent.svelte +8 -4
  63. package/package/components/apps/components/helpers/NonRunnableComponent.svelte.d.ts +1 -1
  64. package/package/components/apps/components/helpers/RunnableComponent.svelte +7 -8
  65. package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +1 -1
  66. package/package/components/apps/components/helpers/RunnableWrapper.svelte +12 -3
  67. package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +1 -1
  68. package/package/components/apps/components/inputs/AppCodeInputComponent.svelte +0 -5
  69. package/package/components/apps/components/layout/AppConditionalWrapper.svelte +1 -1
  70. package/package/components/apps/components/layout/AppContainer.svelte +1 -1
  71. package/package/components/apps/components/layout/AppDecisionTree.svelte +31 -20
  72. package/package/components/apps/components/layout/AppDrawer.svelte +1 -1
  73. package/package/components/apps/components/layout/AppList.svelte +9 -8
  74. package/package/components/apps/components/layout/AppModal.svelte +1 -1
  75. package/package/components/apps/components/layout/AppSplitpanes.svelte +5 -2
  76. package/package/components/apps/components/layout/AppStepper.svelte +9 -5
  77. package/package/components/apps/components/layout/AppTabs.svelte +2 -2
  78. package/package/components/apps/editor/AppJobsDrawer.svelte +2 -2
  79. package/package/components/apps/editor/GridEditor.svelte +24 -19
  80. package/package/components/apps/editor/GridEditor.svelte.d.ts +4 -1
  81. package/package/components/apps/editor/GridViewer.svelte +1 -1
  82. package/package/components/apps/editor/SubGridEditor.svelte +7 -11
  83. package/package/components/apps/editor/SubGridEditor.svelte.d.ts +3 -19
  84. package/package/components/apps/editor/appUtils.js +17 -68
  85. package/package/components/apps/editor/component/ComponentInner.svelte +845 -694
  86. package/package/components/apps/editor/component/componentCallbacks.svelte.js +8 -1
  87. package/package/components/apps/editor/contextPanel/components/OutputHeader.svelte +9 -46
  88. package/package/components/apps/editor/settingsPanel/DecisionTreeGraphEditor.svelte +29 -43
  89. package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +2 -1
  90. package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte.d.ts +1 -0
  91. package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte +2 -2
  92. package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte.d.ts +1 -0
  93. package/package/components/apps/svelte-grid/Grid.svelte +23 -25
  94. package/package/components/apps/svelte-grid/Grid.svelte.d.ts +21 -9
  95. package/package/components/apps/svelte-grid/MoveResize.svelte +13 -15
  96. package/package/components/apps/svelte-grid/MoveResize.svelte.d.ts +17 -24
  97. package/package/components/apps/utils.d.ts +2 -0
  98. package/package/components/apps/utils.js +22 -0
  99. package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
  100. package/package/components/common/fileDownload/FileDownload.svelte +1 -3
  101. package/package/components/common/fileDownload/FileDownload.svelte.d.ts +4 -18
  102. package/package/components/common/languageIcons/LanguageIcon.svelte +5 -2
  103. package/package/components/copilot/FlowInlineScriptAIButton.svelte +58 -0
  104. package/package/components/copilot/FlowInlineScriptAIButton.svelte.d.ts +3 -0
  105. package/package/components/copilot/MetadataGen.svelte +19 -1
  106. package/package/components/copilot/MetadataGen.svelte.d.ts +1 -1
  107. package/package/components/copilot/ScriptGen.svelte +23 -31
  108. package/package/components/copilot/ScriptGen.svelte.d.ts +0 -1
  109. package/package/components/copilot/autocomplete/Autocompletor.js +2 -0
  110. package/package/components/copilot/chat/AIChatDisplay.svelte +4 -4
  111. package/package/components/copilot/chat/AIChatInput.svelte +29 -6
  112. package/package/components/copilot/chat/AIChatManager.svelte.js +110 -26
  113. package/package/components/copilot/chat/AIChatMessage.svelte +3 -0
  114. package/package/components/copilot/chat/ToolContentDisplay.svelte +84 -0
  115. package/package/components/copilot/chat/ToolContentDisplay.svelte.d.ts +11 -0
  116. package/package/components/copilot/chat/ToolExecutionDisplay.svelte +105 -0
  117. package/package/components/copilot/chat/ToolExecutionDisplay.svelte.d.ts +7 -0
  118. package/package/components/copilot/chat/api/apiTools.d.ts +7 -0
  119. package/package/components/copilot/chat/api/apiTools.js +192 -0
  120. package/package/components/copilot/chat/api/core.d.ts +7 -0
  121. package/package/components/copilot/chat/api/core.js +61 -0
  122. package/package/components/copilot/chat/flow/FlowAIChat.svelte +4 -6
  123. package/package/components/copilot/chat/flow/core.js +213 -42
  124. package/package/components/copilot/chat/flow/utils.js +3 -0
  125. package/package/components/copilot/chat/monaco-adapter.d.ts +1 -1
  126. package/package/components/copilot/chat/monaco-adapter.js +10 -4
  127. package/package/components/copilot/chat/navigator/core.d.ts +1 -1
  128. package/package/components/copilot/chat/navigator/core.js +20 -22
  129. package/package/components/copilot/chat/script/core.d.ts +11 -3
  130. package/package/components/copilot/chat/script/core.js +92 -15
  131. package/package/components/copilot/chat/shared.d.ts +30 -3
  132. package/package/components/copilot/chat/shared.js +228 -9
  133. package/package/components/copilot/lib.d.ts +1 -1
  134. package/package/components/copilot/lib.js +15 -6
  135. package/package/components/custom_ui.d.ts +2 -0
  136. package/package/components/details/DetailPageLayout.svelte +34 -33
  137. package/package/components/flow_builder.d.ts +1 -2
  138. package/package/components/flows/FlowEditor.svelte +3 -3
  139. package/package/components/flows/FlowEditor.svelte.d.ts +7 -6
  140. package/package/components/flows/common/FlowCard.svelte +2 -2
  141. package/package/components/flows/common/FlowCard.svelte.d.ts +1 -0
  142. package/package/components/flows/common/FlowCardHeader.svelte +13 -4
  143. package/package/components/flows/common/FlowCardHeader.svelte.d.ts +1 -0
  144. package/package/components/flows/content/BranchPredicateEditor.svelte +4 -7
  145. package/package/components/flows/content/BranchPredicateEditor.svelte.d.ts +12 -11
  146. package/package/components/flows/content/FlowConstants.svelte +3 -3
  147. package/package/components/flows/content/FlowEditorPanel.svelte +3 -3
  148. package/package/components/flows/content/FlowEditorPanel.svelte.d.ts +2 -4
  149. package/package/components/flows/content/FlowInputsQuick.svelte +2 -1
  150. package/package/components/flows/content/FlowLoop.svelte +2 -2
  151. package/package/components/flows/content/FlowModuleComponent.svelte +130 -108
  152. package/package/components/flows/content/FlowModuleComponent.svelte.d.ts +1 -0
  153. package/package/components/flows/content/FlowModuleEarlyStop.svelte +2 -2
  154. package/package/components/flows/content/FlowModuleSkip.svelte +1 -1
  155. package/package/components/flows/content/FlowModuleSleep.svelte +1 -1
  156. package/package/components/flows/content/FlowModuleSuspend.svelte +1 -1
  157. package/package/components/flows/content/FlowModuleWrapper.svelte +15 -5
  158. package/package/components/flows/content/FlowModuleWrapper.svelte.d.ts +1 -0
  159. package/package/components/flows/content/FlowResult.svelte +2 -3
  160. package/package/components/flows/content/FlowResult.svelte.d.ts +2 -4
  161. package/package/components/flows/content/FlowWhileLoop.svelte +1 -1
  162. package/package/components/flows/dfs.d.ts +3 -1
  163. package/package/components/flows/dfs.js +5 -1
  164. package/package/components/flows/flowInfers.js +78 -0
  165. package/package/components/flows/flowState.d.ts +2 -3
  166. package/package/components/flows/flowState.js +2 -2
  167. package/package/components/flows/flowStateUtils.svelte.d.ts +4 -4
  168. package/package/components/flows/flowStateUtils.svelte.js +14 -13
  169. package/package/components/flows/flowStore.d.ts +3 -4
  170. package/package/components/flows/header/FlowPreviewButtons.svelte +2 -1
  171. package/package/components/flows/header/FlowYamlEditor.svelte +10 -1
  172. package/package/components/flows/map/FlowGraphPreviewButton.svelte +1 -1
  173. package/package/components/flows/map/FlowJobsMenu.svelte +7 -3
  174. package/package/components/flows/map/FlowJobsMenu.svelte.d.ts +1 -0
  175. package/package/components/flows/map/FlowModuleSchemaItem.svelte +12 -12
  176. package/package/components/flows/map/FlowModuleSchemaMap.svelte +26 -19
  177. package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +6 -4
  178. package/package/components/flows/map/InsertModuleInner.svelte +9 -1
  179. package/package/components/flows/map/InsertModuleInner.svelte.d.ts +1 -0
  180. package/package/components/flows/map/MapItem.svelte +4 -2
  181. package/package/components/flows/pickers/TopLevelNode.svelte +4 -1
  182. package/package/components/flows/propPicker/InputPickerInner.svelte +5 -4
  183. package/package/components/flows/propPicker/OutputBadge.svelte +11 -9
  184. package/package/components/flows/propPicker/OutputPickerInner.svelte +10 -1
  185. package/package/components/flows/propPicker/OutputPickerInner.svelte.d.ts +1 -1
  186. package/package/components/flows/testSteps.svelte.d.ts +3 -2
  187. package/package/components/flows/testSteps.svelte.js +26 -23
  188. package/package/components/flows/types.d.ts +1 -1
  189. package/package/components/flows/utils.d.ts +3 -5
  190. package/package/components/flows/utils.js +3 -4
  191. package/package/components/git_sync/GitSyncContext.svelte.js +2 -1
  192. package/package/components/graph/FlowGraphV2.svelte +44 -24
  193. package/package/components/graph/FlowGraphV2.svelte.d.ts +5 -2
  194. package/package/components/graph/graphBuilder.svelte.d.ts +49 -17
  195. package/package/components/graph/graphBuilder.svelte.js +30 -14
  196. package/package/components/graph/model.d.ts +9 -6
  197. package/package/components/graph/renderers/edges/BaseEdge.svelte +3 -3
  198. package/package/components/graph/renderers/edges/BaseEdge.svelte.d.ts +2 -3
  199. package/package/components/graph/renderers/nodes/AIToolNode.svelte +234 -0
  200. package/package/components/graph/renderers/nodes/AIToolNode.svelte.d.ts +24 -0
  201. package/package/components/graph/renderers/nodes/AssetNode.svelte +15 -10
  202. package/package/components/graph/renderers/nodes/AssetNode.svelte.d.ts +18 -1
  203. package/package/components/graph/renderers/nodes/BranchAllEndNode.svelte +1 -1
  204. package/package/components/graph/renderers/nodes/BranchAllStart.svelte +1 -1
  205. package/package/components/graph/renderers/nodes/BranchOneStart.svelte +1 -1
  206. package/package/components/graph/renderers/nodes/ForLoopEndNode.svelte +2 -2
  207. package/package/components/graph/renderers/nodes/ForLoopStartNode.svelte +1 -1
  208. package/package/components/graph/renderers/nodes/ModuleNode.svelte +21 -21
  209. package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +64 -0
  210. package/package/components/graph/renderers/nodes/NewAIToolNode.svelte.d.ts +7 -0
  211. package/package/components/graph/renderers/nodes/branchOneEndNode.svelte +1 -1
  212. package/package/components/icons/RubyIcon.svelte +656 -0
  213. package/package/components/icons/RubyIcon.svelte.d.ts +7 -0
  214. package/package/components/instanceSettings.js +9 -0
  215. package/package/components/modulesTest.svelte.d.ts +6 -3
  216. package/package/components/modulesTest.svelte.js +32 -0
  217. package/package/components/preview/FlowPreviewStatus.svelte +3 -1
  218. package/package/components/raw_apps/RawAppEditor.svelte +27 -26
  219. package/package/components/raw_apps/RawAppEditor.svelte.d.ts +17 -17
  220. package/package/components/runs/{JobPreview.svelte → JobRunsPreview.svelte} +1 -4
  221. package/package/components/runs/{JobPreview.svelte.d.ts → JobRunsPreview.svelte.d.ts} +3 -3
  222. package/package/components/runs/RunRow.svelte +5 -1
  223. package/package/components/schema/AddProperty.svelte +41 -36
  224. package/package/components/schema/AddProperty.svelte.d.ts +2 -2
  225. package/package/components/schema/AddPropertyV2.svelte +41 -37
  226. package/package/components/schema/AddPropertyV2.svelte.d.ts +1 -1
  227. package/package/components/schema/FlowPropertyEditor.svelte +8 -6
  228. package/package/components/search/RunsSearch.svelte +1 -1
  229. package/package/components/settings/CreateToken.svelte +132 -12
  230. package/package/components/settings/CreateToken.svelte.d.ts +3 -20
  231. package/package/components/settings/TokenDisplay.svelte +18 -42
  232. package/package/components/settings/TokenDisplay.svelte.d.ts +0 -1
  233. package/package/components/settings/TokensTable.svelte +2 -4
  234. package/package/components/settings/TokensTable.svelte.d.ts +3 -19
  235. package/package/components/settings/WorkspaceUserSettings.svelte +428 -69
  236. package/package/components/sidebar/MenuButton.svelte +12 -10
  237. package/package/components/stepHistoryLoader.svelte.d.ts +2 -2
  238. package/package/components/stepHistoryLoader.svelte.js +7 -12
  239. package/package/components/triggers/http/OpenAPISpecGenerator.svelte +2 -2
  240. package/package/components/tutorials/FlowBuilderTutorialBranchOne.svelte +1 -1
  241. package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte +4 -4
  242. package/package/components/tutorials/utils.js +3 -0
  243. package/package/components/worker_group.d.ts +4 -1
  244. package/package/components/worker_group.js +3 -2
  245. package/package/editorLangUtils.d.ts +1 -1
  246. package/package/editorLangUtils.js +2 -0
  247. package/package/editorUtils.d.ts +2 -1
  248. package/package/editorUtils.js +2 -1
  249. package/package/gen/core/OpenAPI.js +1 -1
  250. package/package/gen/schemas.gen.d.ts +296 -8
  251. package/package/gen/schemas.gen.js +364 -70
  252. package/package/gen/services.gen.d.ts +118 -16
  253. package/package/gen/services.gen.js +226 -19
  254. package/package/gen/types.gen.d.ts +660 -16
  255. package/package/hubPaths.json +7 -4
  256. package/package/infer.js +10 -1
  257. package/package/monaco_workers/graphql.worker.bundle.js +144 -110
  258. package/package/script_helpers.d.ts +3 -0
  259. package/package/script_helpers.js +58 -3
  260. package/package/scripts.d.ts +1 -1
  261. package/package/scripts.js +3 -2
  262. package/package/stores.d.ts +2 -0
  263. package/package/stores.js +2 -0
  264. package/package/svelte5Utils.svelte.d.ts +16 -0
  265. package/package/svelte5Utils.svelte.js +26 -0
  266. package/package/utils.d.ts +1 -1
  267. package/package.json +20 -19
  268. package/package/components/AllFlowLogs.svelte +0 -31
  269. package/package/components/AllFlowLogs.svelte.d.ts +0 -8
  270. package/package/components/copilot/chat/navigator/apiTools.d.ts +0 -68
  271. package/package/components/copilot/chat/navigator/apiTools.js +0 -258
@@ -269,6 +269,9 @@ export const $FlowModuleValue = {
269
269
  },
270
270
  {
271
271
  '$ref': '#/components/schemas/Identity'
272
+ },
273
+ {
274
+ '$ref': '#/components/schemas/AiAgent'
272
275
  }
273
276
  ],
274
277
  discriminator: {
@@ -281,7 +284,8 @@ export const $FlowModuleValue = {
281
284
  whileloopflow: '#/components/schemas/WhileloopFlow',
282
285
  branchone: '#/components/schemas/BranchOne',
283
286
  branchall: '#/components/schemas/BranchAll',
284
- identity: '#/components/schemas/Identity'
287
+ identity: '#/components/schemas/Identity',
288
+ aiagent: '#/components/schemas/AiAgent'
285
289
  }
286
290
  }
287
291
  };
@@ -337,7 +341,7 @@ export const $RawScript = {
337
341
  },
338
342
  kind: {
339
343
  type: 'string',
340
- enum: ['s3object', 'resource']
344
+ enum: ['s3object', 'resource', 'ducklake']
341
345
  },
342
346
  access_type: {
343
347
  type: 'string',
@@ -525,6 +529,31 @@ export const $BranchAll = {
525
529
  },
526
530
  required: ['branches', 'type']
527
531
  };
532
+ export const $AiAgent = {
533
+ type: 'object',
534
+ properties: {
535
+ input_transforms: {
536
+ type: 'object',
537
+ additionalProperties: {
538
+ '$ref': '#/components/schemas/InputTransform'
539
+ }
540
+ },
541
+ tools: {
542
+ type: 'array',
543
+ items: {
544
+ '$ref': '#/components/schemas/FlowModule'
545
+ }
546
+ },
547
+ type: {
548
+ type: 'string',
549
+ enum: ['aiagent']
550
+ },
551
+ parallel: {
552
+ type: 'boolean'
553
+ }
554
+ },
555
+ required: ['tools', 'type', 'input_transforms']
556
+ };
528
557
  export const $Identity = {
529
558
  type: 'object',
530
559
  properties: {
@@ -687,10 +716,95 @@ export const $FlowStatusModule = {
687
716
  },
688
717
  skipped: {
689
718
  type: 'boolean'
719
+ },
720
+ agent_actions: {
721
+ type: 'array',
722
+ items: {
723
+ type: 'object',
724
+ oneOf: [
725
+ {
726
+ type: 'object',
727
+ properties: {
728
+ job_id: {
729
+ type: 'string',
730
+ format: 'uuid'
731
+ },
732
+ function_name: {
733
+ type: 'string'
734
+ },
735
+ type: {
736
+ type: 'string',
737
+ enum: ['tool_call']
738
+ },
739
+ module_id: {
740
+ type: 'string'
741
+ }
742
+ },
743
+ required: ['job_id', 'function_name', 'type', 'module_id']
744
+ },
745
+ {
746
+ type: 'object',
747
+ properties: {
748
+ type: {
749
+ type: 'string',
750
+ enum: ['message']
751
+ }
752
+ },
753
+ required: ['content', 'type']
754
+ }
755
+ ]
756
+ }
757
+ },
758
+ agent_actions_success: {
759
+ type: 'array',
760
+ items: {
761
+ type: 'boolean'
762
+ }
690
763
  }
691
764
  },
692
765
  required: ['type']
693
766
  };
767
+ export const $EndpointTool = {
768
+ type: 'object',
769
+ required: ['name', 'description', 'instructions', 'path', 'method'],
770
+ properties: {
771
+ name: {
772
+ type: 'string',
773
+ description: 'The tool name/operation ID'
774
+ },
775
+ description: {
776
+ type: 'string',
777
+ description: 'Short description of the tool'
778
+ },
779
+ instructions: {
780
+ type: 'string',
781
+ description: 'Detailed instructions for using the tool'
782
+ },
783
+ path: {
784
+ type: 'string',
785
+ description: 'API endpoint path'
786
+ },
787
+ method: {
788
+ type: 'string',
789
+ description: 'HTTP method (GET, POST, etc.)'
790
+ },
791
+ path_params_schema: {
792
+ type: 'object',
793
+ description: 'JSON schema for path parameters',
794
+ nullable: true
795
+ },
796
+ query_params_schema: {
797
+ type: 'object',
798
+ description: 'JSON schema for query parameters',
799
+ nullable: true
800
+ },
801
+ body_schema: {
802
+ type: 'object',
803
+ description: 'JSON schema for request body',
804
+ nullable: true
805
+ }
806
+ }
807
+ };
694
808
  export const $AIProvider = {
695
809
  type: 'string',
696
810
  enum: ['openai', 'azure_openai', 'anthropic', 'mistral', 'deepseek', 'googleai', 'groq', 'openrouter', 'togetherai', 'customai']
@@ -1016,8 +1130,7 @@ export const $NewScript = {
1016
1130
  type: 'string'
1017
1131
  },
1018
1132
  kind: {
1019
- type: 'string',
1020
- enum: ['s3object', 'resource']
1133
+ '$ref': '#/components/schemas/AssetKind'
1021
1134
  },
1022
1135
  access_type: {
1023
1136
  type: 'string',
@@ -1066,6 +1179,7 @@ export const $ScriptHistory = {
1066
1179
  };
1067
1180
  export const $ScriptArgs = {
1068
1181
  type: 'object',
1182
+ description: 'The arguments to pass to the script or flow',
1069
1183
  additionalProperties: {}
1070
1184
  };
1071
1185
  export const $Input = {
@@ -1186,7 +1300,7 @@ export const $QueuedJob = {
1186
1300
  },
1187
1301
  job_kind: {
1188
1302
  type: 'string',
1189
- enum: ['script', 'preview', 'dependencies', 'flowdependencies', 'appdependencies', 'flow', 'flowpreview', 'script_hub', 'identity', 'deploymentcallback', 'singlescriptflow', 'flowscript', 'flownode', 'appscript']
1303
+ enum: ['script', 'preview', 'dependencies', 'flowdependencies', 'appdependencies', 'flow', 'flowpreview', 'script_hub', 'identity', 'deploymentcallback', 'singlescriptflow', 'flowscript', 'flownode', 'appscript', 'aiagent']
1190
1304
  },
1191
1305
  schedule_path: {
1192
1306
  type: 'string'
@@ -1306,7 +1420,7 @@ export const $CompletedJob = {
1306
1420
  },
1307
1421
  job_kind: {
1308
1422
  type: 'string',
1309
- enum: ['script', 'preview', 'dependencies', 'flow', 'flowdependencies', 'appdependencies', 'flowpreview', 'script_hub', 'identity', 'deploymentcallback', 'singlescriptflow', 'flowscript', 'flownode', 'appscript']
1423
+ enum: ['script', 'preview', 'dependencies', 'flow', 'flowdependencies', 'appdependencies', 'flowpreview', 'script_hub', 'identity', 'deploymentcallback', 'singlescriptflow', 'flowscript', 'flownode', 'appscript', 'aiagent']
1310
1424
  },
1311
1425
  schedule_path: {
1312
1426
  type: 'string'
@@ -1470,10 +1584,37 @@ export const $User = {
1470
1584
  items: {
1471
1585
  type: 'string'
1472
1586
  }
1587
+ },
1588
+ added_via: {
1589
+ nullable: true,
1590
+ allOf: [
1591
+ {
1592
+ '$ref': '#/components/schemas/UserSource'
1593
+ }
1594
+ ]
1473
1595
  }
1474
1596
  },
1475
1597
  required: ['email', 'username', 'is_admin', 'is_super_admin', 'created_at', 'operator', 'disabled', 'folders', 'folders_owners']
1476
1598
  };
1599
+ export const $UserSource = {
1600
+ type: 'object',
1601
+ properties: {
1602
+ source: {
1603
+ type: 'string',
1604
+ enum: ['domain', 'instance_group', 'manual'],
1605
+ description: 'How the user was added to the workspace'
1606
+ },
1607
+ domain: {
1608
+ type: 'string',
1609
+ description: "The domain used for auto-invite (when source is 'domain')"
1610
+ },
1611
+ group: {
1612
+ type: 'string',
1613
+ description: "The instance group name (when source is 'instance_group')"
1614
+ }
1615
+ },
1616
+ required: ['source']
1617
+ };
1477
1618
  export const $UserUsage = {
1478
1619
  type: 'object',
1479
1620
  properties: {
@@ -1655,25 +1796,32 @@ export const $CreateVariable = {
1655
1796
  type: 'object',
1656
1797
  properties: {
1657
1798
  path: {
1658
- type: 'string'
1799
+ type: 'string',
1800
+ description: 'The path to the variable'
1659
1801
  },
1660
1802
  value: {
1661
- type: 'string'
1803
+ type: 'string',
1804
+ description: 'The value of the variable'
1662
1805
  },
1663
1806
  is_secret: {
1664
- type: 'boolean'
1807
+ type: 'boolean',
1808
+ description: 'Whether the variable is a secret'
1665
1809
  },
1666
1810
  description: {
1667
- type: 'string'
1811
+ type: 'string',
1812
+ description: 'The description of the variable'
1668
1813
  },
1669
1814
  account: {
1670
- type: 'integer'
1815
+ type: 'integer',
1816
+ description: 'The account identifier'
1671
1817
  },
1672
1818
  is_oauth: {
1673
- type: 'boolean'
1819
+ type: 'boolean',
1820
+ description: 'Whether the variable is an OAuth variable'
1674
1821
  },
1675
1822
  expires_at: {
1676
1823
  type: 'string',
1824
+ description: 'The expiration date of the variable',
1677
1825
  format: 'date-time'
1678
1826
  }
1679
1827
  },
@@ -1683,16 +1831,20 @@ export const $EditVariable = {
1683
1831
  type: 'object',
1684
1832
  properties: {
1685
1833
  path: {
1686
- type: 'string'
1834
+ type: 'string',
1835
+ description: 'The path to the variable'
1687
1836
  },
1688
1837
  value: {
1689
- type: 'string'
1838
+ type: 'string',
1839
+ description: 'The new value of the variable'
1690
1840
  },
1691
1841
  is_secret: {
1692
- type: 'boolean'
1842
+ type: 'boolean',
1843
+ description: 'Whether the variable is a secret'
1693
1844
  },
1694
1845
  description: {
1695
- type: 'string'
1846
+ type: 'string',
1847
+ description: 'The new description of the variable'
1696
1848
  }
1697
1849
  }
1698
1850
  };
@@ -1868,19 +2020,22 @@ export const $MainArgSignature = {
1868
2020
  };
1869
2021
  export const $ScriptLang = {
1870
2022
  type: 'string',
1871
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'duckdb']
2023
+ enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb']
1872
2024
  };
1873
2025
  export const $Preview = {
1874
2026
  type: 'object',
1875
2027
  properties: {
1876
2028
  content: {
1877
- type: 'string'
2029
+ type: 'string',
2030
+ description: 'The code to run'
1878
2031
  },
1879
2032
  path: {
1880
- type: 'string'
2033
+ type: 'string',
2034
+ description: 'The path to the script'
1881
2035
  },
1882
2036
  script_hash: {
1883
- type: 'string'
2037
+ type: 'string',
2038
+ description: 'The hash of the script'
1884
2039
  },
1885
2040
  args: {
1886
2041
  '$ref': '#/components/schemas/ScriptArgs'
@@ -1942,14 +2097,17 @@ export const $CreateResource = {
1942
2097
  type: 'object',
1943
2098
  properties: {
1944
2099
  path: {
1945
- type: 'string'
2100
+ type: 'string',
2101
+ description: 'The path to the resource'
1946
2102
  },
1947
2103
  value: {},
1948
2104
  description: {
1949
- type: 'string'
2105
+ type: 'string',
2106
+ description: 'The description of the resource'
1950
2107
  },
1951
2108
  resource_type: {
1952
- type: 'string'
2109
+ type: 'string',
2110
+ description: 'The resource_type associated with the resource'
1953
2111
  }
1954
2112
  },
1955
2113
  required: ['path', 'value', 'resource_type']
@@ -1958,12 +2116,18 @@ export const $EditResource = {
1958
2116
  type: 'object',
1959
2117
  properties: {
1960
2118
  path: {
1961
- type: 'string'
2119
+ type: 'string',
2120
+ description: 'The path to the resource'
1962
2121
  },
1963
2122
  description: {
1964
- type: 'string'
2123
+ type: 'string',
2124
+ description: 'The new description of the resource'
1965
2125
  },
1966
- value: {}
2126
+ value: {},
2127
+ resource_type: {
2128
+ type: 'string',
2129
+ description: 'The new resource_type to be associated with the resource'
2130
+ }
1967
2131
  }
1968
2132
  };
1969
2133
  export const $Resource = {
@@ -2214,81 +2378,109 @@ export const $ScheduleWJobs = {
2214
2378
  }
2215
2379
  ]
2216
2380
  };
2381
+ export const $ErrorHandler = {
2382
+ type: 'string',
2383
+ enum: ['custom', 'slack', 'teams', 'email']
2384
+ };
2217
2385
  export const $NewSchedule = {
2218
2386
  type: 'object',
2219
2387
  properties: {
2220
2388
  path: {
2221
- type: 'string'
2389
+ type: 'string',
2390
+ description: 'The path where the schedule will be created'
2222
2391
  },
2223
2392
  schedule: {
2224
- type: 'string'
2393
+ type: 'string',
2394
+ description: 'The cron schedule to trigger the script or flow. Should include seconds.'
2225
2395
  },
2226
2396
  timezone: {
2227
- type: 'string'
2397
+ type: 'string',
2398
+ description: 'The timezone to use for the cron schedule'
2228
2399
  },
2229
2400
  script_path: {
2230
- type: 'string'
2401
+ type: 'string',
2402
+ description: 'The path to the script or flow to trigger'
2231
2403
  },
2232
2404
  is_flow: {
2233
- type: 'boolean'
2405
+ type: 'boolean',
2406
+ description: 'Whether the schedule is for a flow'
2234
2407
  },
2235
2408
  args: {
2236
- '$ref': '#/components/schemas/ScriptArgs'
2409
+ '$ref': '#/components/schemas/ScriptArgs',
2410
+ description: 'The arguments to pass to the script or flow'
2237
2411
  },
2238
2412
  enabled: {
2239
- type: 'boolean'
2413
+ type: 'boolean',
2414
+ description: 'Whether the schedule is enabled'
2240
2415
  },
2241
2416
  on_failure: {
2242
- type: 'string'
2417
+ type: 'string',
2418
+ description: 'The path to the script or flow to trigger on failure'
2243
2419
  },
2244
2420
  on_failure_times: {
2245
- type: 'number'
2421
+ type: 'number',
2422
+ description: 'The number of times to retry on failure'
2246
2423
  },
2247
2424
  on_failure_exact: {
2248
- type: 'boolean'
2425
+ type: 'boolean',
2426
+ description: 'Whether the schedule should only run on the exact time'
2249
2427
  },
2250
2428
  on_failure_extra_args: {
2251
- '$ref': '#/components/schemas/ScriptArgs'
2429
+ '$ref': '#/components/schemas/ScriptArgs',
2430
+ description: 'The arguments to pass to the script or flow on failure'
2252
2431
  },
2253
2432
  on_recovery: {
2254
- type: 'string'
2433
+ type: 'string',
2434
+ description: 'The path to the script or flow to trigger on recovery'
2255
2435
  },
2256
2436
  on_recovery_times: {
2257
- type: 'number'
2437
+ type: 'number',
2438
+ description: 'The number of times to retry on recovery'
2258
2439
  },
2259
2440
  on_recovery_extra_args: {
2260
- '$ref': '#/components/schemas/ScriptArgs'
2441
+ '$ref': '#/components/schemas/ScriptArgs',
2442
+ description: 'The arguments to pass to the script or flow on recovery'
2261
2443
  },
2262
2444
  on_success: {
2263
- type: 'string'
2445
+ type: 'string',
2446
+ description: 'The path to the script or flow to trigger on success'
2264
2447
  },
2265
2448
  on_success_extra_args: {
2266
- '$ref': '#/components/schemas/ScriptArgs'
2449
+ '$ref': '#/components/schemas/ScriptArgs',
2450
+ description: 'The arguments to pass to the script or flow on success'
2267
2451
  },
2268
2452
  ws_error_handler_muted: {
2269
- type: 'boolean'
2453
+ type: 'boolean',
2454
+ description: 'Whether the WebSocket error handler is muted'
2270
2455
  },
2271
2456
  retry: {
2272
- '$ref': '#/components/schemas/Retry'
2457
+ '$ref': '#/components/schemas/Retry',
2458
+ description: 'The retry configuration for the schedule'
2273
2459
  },
2274
2460
  no_flow_overlap: {
2275
- type: 'boolean'
2461
+ type: 'boolean',
2462
+ description: 'Whether the schedule should not run if a flow is already running'
2276
2463
  },
2277
2464
  summary: {
2278
- type: 'string'
2465
+ type: 'string',
2466
+ description: 'The summary of the schedule'
2279
2467
  },
2280
2468
  description: {
2281
- type: 'string'
2469
+ type: 'string',
2470
+ description: 'The description of the schedule'
2282
2471
  },
2283
2472
  tag: {
2284
- type: 'string'
2473
+ type: 'string',
2474
+ description: 'The tag of the schedule'
2285
2475
  },
2286
2476
  paused_until: {
2287
2477
  type: 'string',
2478
+ description: 'The date and time the schedule will be paused until',
2288
2479
  format: 'date-time'
2289
2480
  },
2290
2481
  cron_version: {
2291
- type: 'string'
2482
+ type: 'string',
2483
+ description: 'The version of the cron schedule to use (last is v2)'
2292
2484
  }
2293
2485
  },
2294
2486
  required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
@@ -2297,68 +2489,88 @@ export const $EditSchedule = {
2297
2489
  type: 'object',
2298
2490
  properties: {
2299
2491
  schedule: {
2300
- type: 'string'
2492
+ type: 'string',
2493
+ description: 'The cron schedule to trigger the script or flow. Should include seconds.'
2301
2494
  },
2302
2495
  timezone: {
2303
- type: 'string'
2496
+ type: 'string',
2497
+ description: 'The timezone to use for the cron schedule'
2304
2498
  },
2305
2499
  args: {
2306
- '$ref': '#/components/schemas/ScriptArgs'
2500
+ '$ref': '#/components/schemas/ScriptArgs',
2501
+ description: 'The arguments to pass to the script or flow'
2307
2502
  },
2308
2503
  on_failure: {
2309
- type: 'string'
2504
+ type: 'string',
2505
+ description: 'The path to the script or flow to trigger on failure'
2310
2506
  },
2311
2507
  on_failure_times: {
2312
- type: 'number'
2508
+ type: 'number',
2509
+ description: 'The number of times to retry on failure'
2313
2510
  },
2314
2511
  on_failure_exact: {
2315
- type: 'boolean'
2512
+ type: 'boolean',
2513
+ description: 'Whether the schedule should only run on the exact time'
2316
2514
  },
2317
2515
  on_failure_extra_args: {
2318
- '$ref': '#/components/schemas/ScriptArgs'
2516
+ '$ref': '#/components/schemas/ScriptArgs',
2517
+ description: 'The arguments to pass to the script or flow on failure'
2319
2518
  },
2320
2519
  on_recovery: {
2321
- type: 'string'
2520
+ type: 'string',
2521
+ description: 'The path to the script or flow to trigger on recovery'
2322
2522
  },
2323
2523
  on_recovery_times: {
2324
- type: 'number'
2524
+ type: 'number',
2525
+ description: 'The number of times to retry on recovery'
2325
2526
  },
2326
2527
  on_recovery_extra_args: {
2327
- '$ref': '#/components/schemas/ScriptArgs'
2528
+ '$ref': '#/components/schemas/ScriptArgs',
2529
+ description: 'The arguments to pass to the script or flow on recovery'
2328
2530
  },
2329
2531
  on_success: {
2330
- type: 'string'
2532
+ type: 'string',
2533
+ description: 'The path to the script or flow to trigger on success'
2331
2534
  },
2332
2535
  on_success_extra_args: {
2333
- '$ref': '#/components/schemas/ScriptArgs'
2536
+ '$ref': '#/components/schemas/ScriptArgs',
2537
+ description: 'The arguments to pass to the script or flow on success'
2334
2538
  },
2335
2539
  ws_error_handler_muted: {
2336
- type: 'boolean'
2540
+ type: 'boolean',
2541
+ description: 'Whether the WebSocket error handler is muted'
2337
2542
  },
2338
2543
  retry: {
2339
- '$ref': '#/components/schemas/Retry'
2544
+ '$ref': '#/components/schemas/Retry',
2545
+ description: 'The retry configuration for the schedule'
2340
2546
  },
2341
2547
  no_flow_overlap: {
2342
- type: 'boolean'
2548
+ type: 'boolean',
2549
+ description: 'Whether the schedule should not run if a flow is already running'
2343
2550
  },
2344
2551
  summary: {
2345
- type: 'string'
2552
+ type: 'string',
2553
+ description: 'The summary of the schedule'
2346
2554
  },
2347
2555
  description: {
2348
- type: 'string'
2556
+ type: 'string',
2557
+ description: 'The description of the schedule'
2349
2558
  },
2350
2559
  tag: {
2351
- type: 'string'
2560
+ type: 'string',
2561
+ description: 'The tag of the schedule'
2352
2562
  },
2353
2563
  paused_until: {
2354
2564
  type: 'string',
2565
+ description: 'The date and time the schedule will be paused until',
2355
2566
  format: 'date-time'
2356
2567
  },
2357
2568
  cron_version: {
2358
- type: 'string'
2569
+ type: 'string',
2570
+ description: 'The version of the cron schedule to use (last is v2)'
2359
2571
  }
2360
2572
  },
2361
- required: ['schedule', 'timezone', 'script_path', 'is_flow', 'args']
2573
+ required: ['schedule', 'timezone', 'args']
2362
2574
  };
2363
2575
  export const $TriggerExtraProperty = {
2364
2576
  type: 'object',
@@ -3277,6 +3489,9 @@ export const $GcpTriggerData = {
3277
3489
  enabled: {
3278
3490
  type: 'boolean'
3279
3491
  },
3492
+ auto_acknowledge_msg: {
3493
+ type: 'boolean'
3494
+ },
3280
3495
  error_handler_path: {
3281
3496
  type: 'string'
3282
3497
  },
@@ -3939,6 +4154,25 @@ export const $Group = {
3939
4154
  };
3940
4155
  export const $InstanceGroup = {
3941
4156
  type: 'object',
4157
+ required: ['name'],
4158
+ properties: {
4159
+ name: {
4160
+ type: 'string'
4161
+ },
4162
+ summary: {
4163
+ type: 'string'
4164
+ },
4165
+ emails: {
4166
+ type: 'array',
4167
+ items: {
4168
+ type: 'string'
4169
+ }
4170
+ }
4171
+ }
4172
+ };
4173
+ export const $InstanceGroupWithWorkspaces = {
4174
+ type: 'object',
4175
+ required: ['name'],
3942
4176
  properties: {
3943
4177
  name: {
3944
4178
  type: 'string'
@@ -3951,6 +4185,26 @@ export const $InstanceGroup = {
3951
4185
  items: {
3952
4186
  type: 'string'
3953
4187
  }
4188
+ },
4189
+ workspaces: {
4190
+ type: 'array',
4191
+ items: {
4192
+ '$ref': '#/components/schemas/WorkspaceInfo'
4193
+ }
4194
+ }
4195
+ }
4196
+ };
4197
+ export const $WorkspaceInfo = {
4198
+ type: 'object',
4199
+ properties: {
4200
+ workspace_id: {
4201
+ type: 'string'
4202
+ },
4203
+ workspace_name: {
4204
+ type: 'string'
4205
+ },
4206
+ role: {
4207
+ type: 'string'
3954
4208
  }
3955
4209
  },
3956
4210
  required: ['name']
@@ -4682,6 +4936,46 @@ export const $LargeFileStorage = {
4682
4936
  }
4683
4937
  }
4684
4938
  };
4939
+ export const $DucklakeSettings = {
4940
+ type: 'object',
4941
+ required: ['ducklakes'],
4942
+ properties: {
4943
+ ducklakes: {
4944
+ type: 'object',
4945
+ additionalProperties: {
4946
+ type: 'object',
4947
+ required: ['catalog', 'storage'],
4948
+ properties: {
4949
+ catalog: {
4950
+ type: 'object',
4951
+ properties: {
4952
+ resource_type: {
4953
+ type: 'string',
4954
+ enum: ['postgresql', 'mysql', 'instance']
4955
+ },
4956
+ resource_path: {
4957
+ type: 'string'
4958
+ }
4959
+ },
4960
+ required: ['resource_type']
4961
+ },
4962
+ storage: {
4963
+ type: 'object',
4964
+ properties: {
4965
+ storage: {
4966
+ type: 'string'
4967
+ },
4968
+ path: {
4969
+ type: 'string'
4970
+ }
4971
+ },
4972
+ required: ['path']
4973
+ }
4974
+ }
4975
+ }
4976
+ }
4977
+ }
4978
+ };
4685
4979
  export const $WindmillLargeFile = {
4686
4980
  type: 'object',
4687
4981
  properties: {
@@ -5363,7 +5657,7 @@ export const $AssetUsageAccessType = {
5363
5657
  };
5364
5658
  export const $AssetKind = {
5365
5659
  type: 'string',
5366
- enum: ['s3object', 'resource']
5660
+ enum: ['s3object', 'resource', 'ducklake']
5367
5661
  };
5368
5662
  export const $Asset = {
5369
5663
  type: 'object',