windmill-components 1.687.0 → 1.695.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 (264) hide show
  1. package/package/components/ArgInput.svelte +2 -0
  2. package/package/components/AutoscalingConfigEditor.svelte +18 -4
  3. package/package/components/CompareWorkspaces.svelte +206 -157
  4. package/package/components/DatatableSchemaDiff.svelte +2 -2
  5. package/package/components/Dev.svelte +401 -85
  6. package/package/components/EditableSchemaForm.svelte +4 -0
  7. package/package/components/ErrorOrRecoveryHandler.svelte +2 -2
  8. package/package/components/FlowPreviewContent.svelte +32 -30
  9. package/package/components/FlowRestartButton.svelte +143 -61
  10. package/package/components/FlowRestartButton.svelte.d.ts +37 -0
  11. package/package/components/FlowStatusViewer.svelte +15 -1
  12. package/package/components/FlowStatusViewer.svelte.d.ts +10 -2
  13. package/package/components/FlowStatusViewerInner.svelte +1 -2
  14. package/package/components/FlowStatusViewerInner.svelte.d.ts +6 -2
  15. package/package/components/ForkConflictModal.svelte +57 -0
  16. package/package/components/ForkConflictModal.svelte.d.ts +3 -0
  17. package/package/components/GitRepoViewer.svelte +251 -97
  18. package/package/components/InputTransformSchemaForm.svelte +1 -1
  19. package/package/components/InstanceSettings.svelte +36 -16
  20. package/package/components/Login.svelte +113 -28
  21. package/package/components/Login.svelte.d.ts +1 -0
  22. package/package/components/Path.svelte +7 -1
  23. package/package/components/Path.svelte.d.ts +1 -1
  24. package/package/components/RunsPage.svelte +2 -1
  25. package/package/components/S3FilePickerInner.svelte +89 -89
  26. package/package/components/ScriptEditor.svelte +18 -5
  27. package/package/components/ShareModal.svelte.d.ts +1 -1
  28. package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +3 -0
  29. package/package/components/apps/components/helpers/executeRunnable.js +2 -1
  30. package/package/components/apps/editor/AppReportsDrawerInner.svelte +1 -1
  31. package/package/components/apps/editor/appPolicy.js +2 -1
  32. package/package/components/apps/editor/commonAppUtils.d.ts +3 -0
  33. package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +1 -1
  34. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +7 -0
  35. package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte +49 -0
  36. package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte.d.ts +9 -0
  37. package/package/components/apps/inputType.d.ts +1 -0
  38. package/package/components/apps/sharedTypes.d.ts +1 -0
  39. package/package/components/auditLogs/AuditLogsFilters.svelte +8 -3
  40. package/package/components/common/fileUpload/S3ArgInput.svelte +12 -10
  41. package/package/components/common/fileUpload/S3ArgInput.svelte.d.ts +2 -0
  42. package/package/components/copilot/chat/AIChatDisplay.svelte +5 -36
  43. package/package/components/copilot/chat/AIChatInput.svelte +56 -47
  44. package/package/components/copilot/chat/AIChatManager.svelte.js +48 -46
  45. package/package/components/copilot/chat/ContextElementBadge.svelte +6 -4
  46. package/package/components/copilot/chat/app/core.d.ts +12 -20
  47. package/package/components/copilot/chat/app/core.js +103 -160
  48. package/package/components/copilot/chat/app/core.test.js +234 -9
  49. package/package/components/copilot/chat/context.js +44 -0
  50. package/package/components/copilot/chat/flow/FlowAIChat.svelte +5 -3
  51. package/package/components/copilot/chat/flow/core.d.ts +2 -1
  52. package/package/components/copilot/chat/flow/core.js +48 -21
  53. package/package/components/copilot/chat/flow/helperUtils.d.ts +5 -2
  54. package/package/components/copilot/chat/flow/helperUtils.js +33 -1
  55. package/package/components/copilot/chat/flow/helperUtils.test.js +116 -1
  56. package/package/components/copilot/chat/flow/openFlow.json +1 -1
  57. package/package/components/copilot/chat/flow/openFlowZod.gen.js +24 -0
  58. package/package/components/copilot/chat/script/core.js +3 -0
  59. package/package/components/copilot/chat/shared.d.ts +6 -0
  60. package/package/components/copilot/chat/shared.js +22 -1
  61. package/package/components/copilot/chat/shared.test.d.ts +1 -0
  62. package/package/components/copilot/chat/shared.test.js +412 -0
  63. package/package/components/copilot/chat/workspaceTools.d.ts +7 -0
  64. package/package/components/copilot/chat/workspaceTools.js +239 -0
  65. package/package/components/copilot/chat/workspaceToolsZod.gen.d.ts +1295 -0
  66. package/package/components/copilot/chat/workspaceToolsZod.gen.js +424 -0
  67. package/package/components/copilot/lib.js +3 -1
  68. package/package/components/copilot/lib.test.d.ts +1 -0
  69. package/package/components/copilot/lib.test.js +19 -0
  70. package/package/components/copilot/modelConfig.d.ts +3 -0
  71. package/package/components/copilot/modelConfig.js +10 -0
  72. package/package/components/flows/FlowProgressBar.svelte +5 -2
  73. package/package/components/flows/content/FlowModuleComponent.svelte +636 -599
  74. package/package/components/flows/conversations/FlowChatManager.svelte.js +21 -10
  75. package/package/components/flows/flowStateUtils.svelte.js +5 -1
  76. package/package/components/flows/map/FlowModuleSchemaMap.svelte +3 -2
  77. package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +1 -0
  78. package/package/components/git_sync/GitSyncContext.svelte.js +0 -2
  79. package/package/components/graph/FlowGraphV2.svelte +7 -3
  80. package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
  81. package/package/components/graph/renderers/triggers/TriggersBadge.svelte +3 -0
  82. package/package/components/home/deploy_ui.js +1 -1
  83. package/package/components/icons/AzureIcon.svelte +12 -25
  84. package/package/components/icons/AzureIcon.svelte.d.ts +3 -2
  85. package/package/components/instanceSettings.js +24 -0
  86. package/package/components/mcp/McpScopeSelector.svelte +119 -9
  87. package/package/components/mcp/McpScopeSelector.svelte.d.ts +1 -0
  88. package/package/components/offboarding-utils.js +2 -0
  89. package/package/components/progressBar/ProgressBar.svelte +9 -5
  90. package/package/components/progressBar/ProgressBar.svelte.d.ts +1 -0
  91. package/package/components/raw_apps/DeleteAfterUsePopup.svelte +52 -0
  92. package/package/components/raw_apps/DeleteAfterUsePopup.svelte.d.ts +9 -0
  93. package/package/components/raw_apps/RawAppBackgroundRunner.svelte +5 -1
  94. package/package/components/raw_apps/RawAppEditor.svelte +159 -102
  95. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +9 -3
  96. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +2 -1
  97. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +1 -0
  98. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +1 -0
  99. package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +48 -5
  100. package/package/components/raw_apps/RawAppSharedUiDrawer.svelte +129 -0
  101. package/package/components/raw_apps/RawAppSharedUiDrawer.svelte.d.ts +5 -0
  102. package/package/components/raw_apps/RawAppSidebar.svelte +12 -0
  103. package/package/components/raw_apps/dataTableRefUtils.d.ts +7 -0
  104. package/package/components/raw_apps/dataTableRefUtils.js +34 -0
  105. package/package/components/raw_apps/dataTableRefUtils.test.d.ts +1 -0
  106. package/package/components/raw_apps/dataTableRefUtils.test.js +29 -0
  107. package/package/components/raw_apps/rawAppPolicy.d.ts +1 -0
  108. package/package/components/raw_apps/rawAppPolicy.js +17 -2
  109. package/package/components/resources/resourceTypesFilter.d.ts +19 -0
  110. package/package/components/resources/resourceTypesFilter.js +21 -0
  111. package/package/components/restartFromStepPath.d.ts +39 -0
  112. package/package/components/restartFromStepPath.js +89 -0
  113. package/package/components/runs/JobDetailFieldConfig.d.ts +1 -0
  114. package/package/components/runs/JobDetailFieldConfig.js +57 -10
  115. package/package/components/runs/JobDetailHeader.svelte +24 -3
  116. package/package/components/runs/runsFilter.d.ts +1 -1
  117. package/package/components/schema/FlowPropertyEditor.svelte +30 -1
  118. package/package/components/schema/FlowPropertyEditor.svelte.d.ts +5 -2
  119. package/package/components/search/GlobalSearchModal.svelte +8 -1
  120. package/package/components/select/Select.svelte +1 -1
  121. package/package/components/settings/CreateToken.svelte +48 -77
  122. package/package/components/settings/EditTokenScopesModal.svelte +57 -0
  123. package/package/components/settings/EditTokenScopesModal.svelte.d.ts +10 -0
  124. package/package/components/settings/ScopesPicker.svelte +43 -0
  125. package/package/components/settings/ScopesPicker.svelte.d.ts +11 -0
  126. package/package/components/settings/TokensTable.svelte +51 -15
  127. package/package/components/sidebar/OperatorMenu.svelte +6 -0
  128. package/package/components/sidebar/SidebarContent.svelte +11 -1
  129. package/package/components/triggers/AddTriggersButton.svelte +6 -0
  130. package/package/components/triggers/CaptureWrapper.svelte +19 -1
  131. package/package/components/triggers/TriggerEditorToolbar.svelte.d.ts +1 -1
  132. package/package/components/triggers/TriggerModeToggle.svelte +36 -7
  133. package/package/components/triggers/TriggerModeToggle.svelte.d.ts +1 -1
  134. package/package/components/triggers/TriggerSuspendedJobsModal.svelte.d.ts +1 -1
  135. package/package/components/triggers/TriggersEditor.svelte +5 -1
  136. package/package/components/triggers/TriggersWrapper.svelte +10 -0
  137. package/package/components/triggers/azure/AzureCapture.svelte +41 -0
  138. package/package/components/triggers/azure/AzureCapture.svelte.d.ts +44 -0
  139. package/package/components/triggers/azure/AzureTriggerEditor.svelte +20 -0
  140. package/package/components/triggers/azure/AzureTriggerEditor.svelte.d.ts +9 -0
  141. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte +301 -0
  142. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte.d.ts +16 -0
  143. package/package/components/triggers/azure/AzureTriggerEditorInner.svelte +422 -0
  144. package/package/components/triggers/azure/AzureTriggerEditorInner.svelte.d.ts +25 -0
  145. package/package/components/triggers/azure/AzureTriggerPanel.svelte +55 -0
  146. package/package/components/triggers/azure/AzureTriggerPanel.svelte.d.ts +10 -0
  147. package/{dist/sharedUtils/components/triggers/kafka → package/components/triggers/azure}/utils.d.ts +1 -1
  148. package/package/components/triggers/azure/utils.js +56 -0
  149. package/package/components/triggers/email/EmailTriggerEditorInner.svelte +2 -0
  150. package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +9 -3
  151. package/package/components/triggers/http/RouteEditorInner.svelte +2 -0
  152. package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +9 -3
  153. package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +9 -3
  154. package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +9 -3
  155. package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +9 -3
  156. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +9 -3
  157. package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +9 -3
  158. package/package/components/triggers/triggers.svelte.d.ts +1 -0
  159. package/package/components/triggers/triggers.svelte.js +23 -1
  160. package/package/components/triggers/utils.js +20 -0
  161. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +9 -3
  162. package/package/components/triggers.d.ts +1 -1
  163. package/package/components/useNestedRestartState.svelte.d.ts +56 -0
  164. package/package/components/useNestedRestartState.svelte.js +320 -0
  165. package/package/components/workspaceSettings/SharedUiSettings.svelte +175 -0
  166. package/package/components/workspaceSettings/SharedUiSettings.svelte.d.ts +3 -0
  167. package/package/gen/core/OpenAPI.js +1 -1
  168. package/package/gen/schemas.gen.d.ts +294 -24
  169. package/package/gen/schemas.gen.js +297 -25
  170. package/package/gen/services.gen.d.ts +247 -4
  171. package/package/gen/services.gen.js +498 -7
  172. package/package/gen/types.gen.d.ts +990 -37
  173. package/package/hubPaths.json +2 -5
  174. package/package/infer.d.ts +1 -1
  175. package/package/infer.js +37 -51
  176. package/package/mcpEndpointTools.js +60 -4
  177. package/package/script_helpers.js +17 -0
  178. package/package/stores.d.ts +7 -0
  179. package/package/stores.js +6 -1
  180. package/package/system_prompts/index.d.ts +1 -0
  181. package/package/system_prompts/index.js +8 -0
  182. package/package/system_prompts/prompts.d.ts +16 -13
  183. package/package/system_prompts/prompts.js +653 -43
  184. package/package/templates/ci_test_bun.ts.template +8 -0
  185. package/package/templates/ci_test_python.py.template +8 -0
  186. package/package/utils/forkConflict.d.ts +26 -0
  187. package/package/utils/forkConflict.js +56 -0
  188. package/package/utils_deployable.d.ts +164 -121
  189. package/package/utils_deployable.js +61 -11
  190. package/package/utils_workspace_deploy.js +3 -1
  191. package/package.json +28 -4
  192. package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +0 -2
  193. package/dist/sharedUtils/base.d.ts +0 -1
  194. package/dist/sharedUtils/cloud.d.ts +0 -1
  195. package/dist/sharedUtils/common.d.ts +0 -111
  196. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +0 -5
  197. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +0 -5
  198. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +0 -5
  199. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -13
  200. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +0 -11
  201. package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +0 -95
  202. package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +0 -6
  203. package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +0 -7
  204. package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +0 -33
  205. package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +0 -10
  206. package/dist/sharedUtils/components/apps/editor/component/components.d.ts +0 -5371
  207. package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +0 -3
  208. package/dist/sharedUtils/components/apps/editor/component/index.d.ts +0 -3
  209. package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +0 -7
  210. package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +0 -3
  211. package/dist/sharedUtils/components/apps/gridUtils.d.ts +0 -14
  212. package/dist/sharedUtils/components/apps/inputType.d.ts +0 -178
  213. package/dist/sharedUtils/components/apps/rx.d.ts +0 -29
  214. package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -21
  215. package/dist/sharedUtils/components/apps/types.d.ts +0 -274
  216. package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
  217. package/dist/sharedUtils/components/common/alert/model.d.ts +0 -2
  218. package/dist/sharedUtils/components/common/badge/model.d.ts +0 -8
  219. package/dist/sharedUtils/components/common/button/model.d.ts +0 -45
  220. package/dist/sharedUtils/components/common/fileInput/model.d.ts +0 -1
  221. package/dist/sharedUtils/components/common/index.d.ts +0 -24
  222. package/dist/sharedUtils/components/common/skeleton/model.d.ts +0 -21
  223. package/dist/sharedUtils/components/dbTypes.d.ts +0 -14
  224. package/dist/sharedUtils/components/diff_drawer.d.ts +0 -26
  225. package/dist/sharedUtils/components/ducklake.d.ts +0 -1
  226. package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +0 -7
  227. package/dist/sharedUtils/components/icons/index.d.ts +0 -101
  228. package/dist/sharedUtils/components/random_positive_adjetive.d.ts +0 -1
  229. package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +0 -10
  230. package/dist/sharedUtils/components/raw_apps/utils.d.ts +0 -15
  231. package/dist/sharedUtils/components/triggers/email/utils.d.ts +0 -4
  232. package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +0 -2
  233. package/dist/sharedUtils/components/triggers/http/utils.d.ts +0 -11
  234. package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +0 -2
  235. package/dist/sharedUtils/components/triggers/nats/utils.d.ts +0 -2
  236. package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +0 -8
  237. package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +0 -2
  238. package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +0 -32
  239. package/dist/sharedUtils/components/triggers/utils.d.ts +0 -80
  240. package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +0 -2
  241. package/dist/sharedUtils/components/triggers.d.ts +0 -20
  242. package/dist/sharedUtils/gen/core/ApiError.d.ts +0 -10
  243. package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +0 -13
  244. package/dist/sharedUtils/gen/core/ApiResult.d.ts +0 -7
  245. package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +0 -26
  246. package/dist/sharedUtils/gen/core/OpenAPI.d.ts +0 -27
  247. package/dist/sharedUtils/gen/core/request.d.ts +0 -29
  248. package/dist/sharedUtils/gen/index.d.ts +0 -6
  249. package/dist/sharedUtils/gen/schemas.gen.d.ts +0 -7036
  250. package/dist/sharedUtils/gen/services.gen.d.ts +0 -6047
  251. package/dist/sharedUtils/gen/types.gen.d.ts +0 -21881
  252. package/dist/sharedUtils/history.svelte.d.ts +0 -9
  253. package/dist/sharedUtils/hub.d.ts +0 -49
  254. package/dist/sharedUtils/jsr.json +0 -6
  255. package/dist/sharedUtils/lib.d.ts +0 -5
  256. package/dist/sharedUtils/lib.es.js +0 -1588
  257. package/dist/sharedUtils/package.json +0 -12
  258. package/dist/sharedUtils/schema.d.ts +0 -3
  259. package/dist/sharedUtils/stores.d.ts +0 -97
  260. package/dist/sharedUtils/svelte5Utils.svelte.d.ts +0 -80
  261. package/dist/sharedUtils/toast.d.ts +0 -8
  262. package/dist/sharedUtils/utils.d.ts +0 -265
  263. package/package/components/copilot/chat/flow/openFlowZod.js +0 -24
  264. /package/package/components/copilot/chat/flow/{openFlowZod.d.ts → openFlowZod.gen.d.ts} +0 -0
@@ -1137,6 +1137,11 @@ Range: 0.0 to 2.0 (provider-dependent)
1137
1137
  type: 'string',
1138
1138
  enum: ['aiagent']
1139
1139
  },
1140
+ omit_output_from_conversation: {
1141
+ type: 'boolean',
1142
+ default: false,
1143
+ description: 'If true, this AI agent step does not persist its assistant or tool messages to the flow conversation when chat mode is enabled.'
1144
+ },
1140
1145
  parallel: {
1141
1146
  type: 'boolean',
1142
1147
  description: 'If true, the agent can execute multiple tool calls in parallel'
@@ -2008,7 +2013,7 @@ export const $FlowConversation = {
2008
2013
  };
2009
2014
  export const $FlowConversationMessage = {
2010
2015
  type: 'object',
2011
- required: ['id', 'conversation_id', 'message_type', 'content', 'created_at'],
2016
+ required: ['id', 'conversation_id', 'message_type', 'content', 'created_at', 'created_seq'],
2012
2017
  properties: {
2013
2018
  id: {
2014
2019
  type: 'string',
@@ -2040,6 +2045,11 @@ export const $FlowConversationMessage = {
2040
2045
  format: 'date-time',
2041
2046
  description: 'When the message was created'
2042
2047
  },
2048
+ created_seq: {
2049
+ type: 'integer',
2050
+ format: 'int64',
2051
+ description: 'Monotonic cursor assigned when the message is inserted'
2052
+ },
2043
2053
  step_name: {
2044
2054
  type: 'string',
2045
2055
  description: 'The step name that produced that message'
@@ -3687,6 +3697,9 @@ export const $TruncatedToken = {
3687
3697
  },
3688
3698
  email: {
3689
3699
  type: 'string'
3700
+ },
3701
+ workspace_id: {
3702
+ type: 'string'
3690
3703
  }
3691
3704
  },
3692
3705
  required: ['token_prefix', 'created_at', 'last_used_at']
@@ -4404,7 +4417,7 @@ export const $Schedule = {
4404
4417
  properties: {
4405
4418
  path: {
4406
4419
  type: 'string',
4407
- description: 'The unique path identifier for this schedule'
4420
+ description: 'The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.'
4408
4421
  },
4409
4422
  edited_by: {
4410
4423
  type: 'string',
@@ -4593,7 +4606,7 @@ export const $NewSchedule = {
4593
4606
  properties: {
4594
4607
  path: {
4595
4608
  type: 'string',
4596
- description: 'The unique path identifier for this schedule'
4609
+ description: 'The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.'
4597
4610
  },
4598
4611
  schedule: {
4599
4612
  type: 'string',
@@ -4843,7 +4856,7 @@ export const $EditSchedule = {
4843
4856
  export const $JobTriggerKind = {
4844
4857
  description: 'job trigger kind (schedule, http, websocket...)',
4845
4858
  type: 'string',
4846
- enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'google', 'github']
4859
+ enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'azure', 'google', 'github']
4847
4860
  };
4848
4861
  export const $TriggerMode = {
4849
4862
  description: 'job trigger mode',
@@ -4855,7 +4868,7 @@ export const $TriggerExtraProperty = {
4855
4868
  properties: {
4856
4869
  path: {
4857
4870
  type: 'string',
4858
- description: 'The unique path identifier for this trigger'
4871
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
4859
4872
  },
4860
4873
  script_path: {
4861
4874
  type: 'string',
@@ -5125,7 +5138,7 @@ export const $NewHttpTrigger = {
5125
5138
  properties: {
5126
5139
  path: {
5127
5140
  type: 'string',
5128
- description: 'The unique path identifier for this trigger'
5141
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5129
5142
  },
5130
5143
  script_path: {
5131
5144
  type: 'string',
@@ -5243,7 +5256,7 @@ export const $EditHttpTrigger = {
5243
5256
  properties: {
5244
5257
  path: {
5245
5258
  type: 'string',
5246
- description: 'The unique path identifier for this trigger'
5259
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5247
5260
  },
5248
5261
  script_path: {
5249
5262
  type: 'string',
@@ -5397,6 +5410,9 @@ export const $TriggersCount = {
5397
5410
  gcp_count: {
5398
5411
  type: 'number'
5399
5412
  },
5413
+ azure_count: {
5414
+ type: 'number'
5415
+ },
5400
5416
  sqs_count: {
5401
5417
  type: 'number'
5402
5418
  },
@@ -5521,7 +5537,7 @@ export const $NewWebsocketTrigger = {
5521
5537
  properties: {
5522
5538
  path: {
5523
5539
  type: 'string',
5524
- description: 'The unique path identifier for this trigger'
5540
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5525
5541
  },
5526
5542
  script_path: {
5527
5543
  type: 'string',
@@ -5622,7 +5638,7 @@ export const $EditWebsocketTrigger = {
5622
5638
  },
5623
5639
  path: {
5624
5640
  type: 'string',
5625
- description: 'The unique path identifier for this trigger'
5641
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5626
5642
  },
5627
5643
  script_path: {
5628
5644
  type: 'string',
@@ -5886,7 +5902,7 @@ export const $NewMqttTrigger = {
5886
5902
  },
5887
5903
  path: {
5888
5904
  type: 'string',
5889
- description: 'The unique path identifier for this trigger'
5905
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5890
5906
  },
5891
5907
  script_path: {
5892
5908
  type: 'string',
@@ -5964,7 +5980,7 @@ export const $EditMqttTrigger = {
5964
5980
  },
5965
5981
  path: {
5966
5982
  type: 'string',
5967
- description: 'The unique path identifier for this trigger'
5983
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5968
5984
  },
5969
5985
  script_path: {
5970
5986
  type: 'string',
@@ -6122,7 +6138,7 @@ export const $GcpTriggerData = {
6122
6138
  },
6123
6139
  path: {
6124
6140
  type: 'string',
6125
- description: 'The unique path identifier for this trigger.'
6141
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6126
6142
  },
6127
6143
  script_path: {
6128
6144
  type: 'string',
@@ -6193,6 +6209,202 @@ export const $DeleteGcpSubscription = {
6193
6209
  },
6194
6210
  required: ['subscription_id']
6195
6211
  };
6212
+ export const $AzureMode = {
6213
+ type: 'string',
6214
+ enum: ['basic_push', 'namespace_push', 'namespace_pull'],
6215
+ description: 'Azure Event Grid trigger mode.'
6216
+ };
6217
+ export const $AzureArmResource = {
6218
+ type: 'object',
6219
+ description: 'An ARM resource the service principal can see.',
6220
+ properties: {
6221
+ id: {
6222
+ type: 'string'
6223
+ },
6224
+ name: {
6225
+ type: 'string'
6226
+ },
6227
+ location: {
6228
+ type: 'string'
6229
+ },
6230
+ type: {
6231
+ type: 'string'
6232
+ }
6233
+ },
6234
+ required: ['id', 'name', 'type']
6235
+ };
6236
+ export const $AzureDeleteSubscription = {
6237
+ type: 'object',
6238
+ properties: {
6239
+ azure_mode: {
6240
+ '$ref': '#/components/schemas/AzureMode'
6241
+ },
6242
+ scope_resource_id: {
6243
+ type: 'string'
6244
+ },
6245
+ topic_name: {
6246
+ type: 'string',
6247
+ nullable: true
6248
+ },
6249
+ subscription_name: {
6250
+ type: 'string'
6251
+ }
6252
+ },
6253
+ required: ['azure_mode', 'scope_resource_id', 'subscription_name']
6254
+ };
6255
+ export const $AzureTrigger = {
6256
+ allOf: [
6257
+ {
6258
+ '$ref': '#/components/schemas/TriggerExtraProperty'
6259
+ }
6260
+ ],
6261
+ type: 'object',
6262
+ description: 'An Azure Event Grid trigger that executes a script or flow when events arrive.',
6263
+ properties: {
6264
+ azure_resource_path: {
6265
+ type: 'string'
6266
+ },
6267
+ azure_mode: {
6268
+ '$ref': '#/components/schemas/AzureMode'
6269
+ },
6270
+ scope_resource_id: {
6271
+ type: 'string',
6272
+ description: 'ARM resource ID of the topic (basic) or namespace (namespace modes).'
6273
+ },
6274
+ topic_name: {
6275
+ type: 'string',
6276
+ nullable: true,
6277
+ description: 'Topic name within the namespace (namespace modes only).'
6278
+ },
6279
+ subscription_name: {
6280
+ type: 'string'
6281
+ },
6282
+ event_type_filters: {
6283
+ type: 'array',
6284
+ items: {
6285
+ type: 'string'
6286
+ },
6287
+ nullable: true
6288
+ },
6289
+ server_id: {
6290
+ type: 'string'
6291
+ },
6292
+ last_server_ping: {
6293
+ type: 'string',
6294
+ format: 'date-time'
6295
+ },
6296
+ error: {
6297
+ type: 'string'
6298
+ },
6299
+ error_handler_path: {
6300
+ type: 'string'
6301
+ },
6302
+ error_handler_args: {
6303
+ '$ref': '#/components/schemas/ScriptArgs'
6304
+ },
6305
+ retry: {
6306
+ '$ref': '#/components/schemas/Retry'
6307
+ }
6308
+ },
6309
+ required: ['azure_resource_path', 'azure_mode', 'scope_resource_id', 'subscription_name']
6310
+ };
6311
+ export const $AzureTriggerData = {
6312
+ type: 'object',
6313
+ description: 'Data for creating or updating an Azure Event Grid trigger.',
6314
+ properties: {
6315
+ azure_resource_path: {
6316
+ type: 'string'
6317
+ },
6318
+ azure_mode: {
6319
+ '$ref': '#/components/schemas/AzureMode'
6320
+ },
6321
+ scope_resource_id: {
6322
+ type: 'string'
6323
+ },
6324
+ topic_name: {
6325
+ type: 'string',
6326
+ nullable: true
6327
+ },
6328
+ subscription_name: {
6329
+ type: 'string'
6330
+ },
6331
+ base_endpoint: {
6332
+ type: 'string',
6333
+ description: 'Base URL for push delivery endpoints (push modes only).'
6334
+ },
6335
+ event_type_filters: {
6336
+ type: 'array',
6337
+ items: {
6338
+ type: 'string'
6339
+ }
6340
+ },
6341
+ path: {
6342
+ type: 'string',
6343
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6344
+ },
6345
+ script_path: {
6346
+ type: 'string'
6347
+ },
6348
+ is_flow: {
6349
+ type: 'boolean'
6350
+ },
6351
+ mode: {
6352
+ '$ref': '#/components/schemas/TriggerMode'
6353
+ },
6354
+ error_handler_path: {
6355
+ type: 'string'
6356
+ },
6357
+ error_handler_args: {
6358
+ '$ref': '#/components/schemas/ScriptArgs'
6359
+ },
6360
+ retry: {
6361
+ '$ref': '#/components/schemas/Retry'
6362
+ },
6363
+ permissioned_as: {
6364
+ type: 'string'
6365
+ },
6366
+ preserve_permissioned_as: {
6367
+ type: 'boolean'
6368
+ },
6369
+ labels: {
6370
+ type: 'array',
6371
+ items: {
6372
+ type: 'string'
6373
+ }
6374
+ }
6375
+ },
6376
+ required: ['path', 'script_path', 'is_flow', 'azure_resource_path', 'azure_mode', 'scope_resource_id', 'subscription_name']
6377
+ };
6378
+ export const $TestAzureConnection = {
6379
+ type: 'object',
6380
+ properties: {
6381
+ azure_resource_path: {
6382
+ type: 'string'
6383
+ }
6384
+ },
6385
+ required: ['azure_resource_path']
6386
+ };
6387
+ export const $AzureListTopics = {
6388
+ type: 'object',
6389
+ properties: {
6390
+ scope_resource_id: {
6391
+ type: 'string'
6392
+ }
6393
+ },
6394
+ required: ['scope_resource_id']
6395
+ };
6396
+ export const $AzureListSubscriptions = {
6397
+ type: 'object',
6398
+ properties: {
6399
+ scope_resource_id: {
6400
+ type: 'string'
6401
+ },
6402
+ topic_name: {
6403
+ type: 'string'
6404
+ }
6405
+ },
6406
+ required: ['scope_resource_id', 'topic_name']
6407
+ };
6196
6408
  export const $AwsAuthResourceType = {
6197
6409
  type: 'string',
6198
6410
  enum: ['oidc', 'credentials']
@@ -6332,7 +6544,7 @@ export const $NewSqsTrigger = {
6332
6544
  },
6333
6545
  path: {
6334
6546
  type: 'string',
6335
- description: 'The unique path identifier for this trigger'
6547
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6336
6548
  },
6337
6549
  script_path: {
6338
6550
  type: 'string',
@@ -6399,7 +6611,7 @@ export const $EditSqsTrigger = {
6399
6611
  },
6400
6612
  path: {
6401
6613
  type: 'string',
6402
- description: 'The unique path identifier for this trigger'
6614
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6403
6615
  },
6404
6616
  script_path: {
6405
6617
  type: 'string',
@@ -6594,7 +6806,7 @@ export const $NewPostgresTrigger = {
6594
6806
  },
6595
6807
  path: {
6596
6808
  type: 'string',
6597
- description: 'The unique path identifier for this trigger'
6809
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6598
6810
  },
6599
6811
  script_path: {
6600
6812
  type: 'string',
@@ -6657,7 +6869,7 @@ export const $EditPostgresTrigger = {
6657
6869
  },
6658
6870
  path: {
6659
6871
  type: 'string',
6660
- description: 'The unique path identifier for this trigger'
6872
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6661
6873
  },
6662
6874
  script_path: {
6663
6875
  type: 'string',
@@ -6793,7 +7005,7 @@ export const $NewKafkaTrigger = {
6793
7005
  properties: {
6794
7006
  path: {
6795
7007
  type: 'string',
6796
- description: 'The unique path identifier for this trigger'
7008
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6797
7009
  },
6798
7010
  script_path: {
6799
7011
  type: 'string',
@@ -6930,7 +7142,7 @@ export const $EditKafkaTrigger = {
6930
7142
  },
6931
7143
  path: {
6932
7144
  type: 'string',
6933
- description: 'The unique path identifier for this trigger'
7145
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6934
7146
  },
6935
7147
  script_path: {
6936
7148
  type: 'string',
@@ -7035,7 +7247,7 @@ export const $NewNatsTrigger = {
7035
7247
  properties: {
7036
7248
  path: {
7037
7249
  type: 'string',
7038
- description: 'The unique path identifier for this trigger'
7250
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
7039
7251
  },
7040
7252
  script_path: {
7041
7253
  type: 'string',
@@ -7132,7 +7344,7 @@ export const $EditNatsTrigger = {
7132
7344
  },
7133
7345
  path: {
7134
7346
  type: 'string',
7135
- description: 'The unique path identifier for this trigger'
7347
+ description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
7136
7348
  },
7137
7349
  script_path: {
7138
7350
  type: 'string',
@@ -7915,10 +8127,28 @@ export const $RestartedFrom = {
7915
8127
  type: 'string'
7916
8128
  },
7917
8129
  branch_or_iteration_n: {
7918
- type: 'integer'
8130
+ type: 'integer',
8131
+ description: '0-based iteration index for ForLoop / branch index for BranchAll. Iterations 0..n-1 are preserved; iteration n is restarted.'
7919
8132
  },
7920
8133
  flow_version: {
7921
8134
  type: 'integer'
8135
+ },
8136
+ branch_chosen: {
8137
+ description: 'For BranchOne nested restart — the branch that was originally chosen, used to lock branch evaluation.',
8138
+ type: 'object',
8139
+ properties: {
8140
+ type: {
8141
+ type: 'string',
8142
+ enum: ['default', 'branch']
8143
+ },
8144
+ branch: {
8145
+ type: 'integer'
8146
+ }
8147
+ }
8148
+ },
8149
+ nested: {
8150
+ '$ref': '#/components/schemas/RestartedFrom',
8151
+ description: 'When set, the worker spawns the child for `step_id` as a `RestartedFlow` against `nested.flow_job_id` instead of fresh-launching it.'
7922
8152
  }
7923
8153
  }
7924
8154
  };
@@ -8417,6 +8647,51 @@ export const $DataTableSchema = {
8417
8647
  }
8418
8648
  }
8419
8649
  };
8650
+ export const $DataTableTables = {
8651
+ type: 'object',
8652
+ required: ['datatable_name', 'schemas'],
8653
+ properties: {
8654
+ datatable_name: {
8655
+ type: 'string'
8656
+ },
8657
+ schemas: {
8658
+ type: 'object',
8659
+ description: 'Hierarchical metadata: schema_name -> table_names',
8660
+ additionalProperties: {
8661
+ type: 'array',
8662
+ items: {
8663
+ type: 'string'
8664
+ }
8665
+ }
8666
+ },
8667
+ error: {
8668
+ type: 'string'
8669
+ }
8670
+ }
8671
+ };
8672
+ export const $DataTableTableSchema = {
8673
+ type: 'object',
8674
+ required: ['datatable_name', 'schema_name', 'table_name', 'columns'],
8675
+ properties: {
8676
+ datatable_name: {
8677
+ type: 'string'
8678
+ },
8679
+ schema_name: {
8680
+ type: 'string'
8681
+ },
8682
+ table_name: {
8683
+ type: 'string'
8684
+ },
8685
+ columns: {
8686
+ type: 'object',
8687
+ description: 'Columns in this table: column_name -> compact_type',
8688
+ additionalProperties: {
8689
+ type: 'string',
8690
+ description: "Compact type: 'type[?][=default]' where ? means nullable"
8691
+ }
8692
+ }
8693
+ }
8694
+ };
8420
8695
  export const $DynamicInputData = {
8421
8696
  type: 'object',
8422
8697
  properties: {
@@ -8621,9 +8896,6 @@ export const $GitRepositorySettings = {
8621
8896
  group_by_folder: {
8622
8897
  type: 'boolean'
8623
8898
  },
8624
- force_branch: {
8625
- type: 'string'
8626
- },
8627
8899
  collapsed: {
8628
8900
  type: 'boolean'
8629
8901
  },
@@ -8946,7 +9218,7 @@ export const $CriticalAlert = {
8946
9218
  };
8947
9219
  export const $CaptureTriggerKind = {
8948
9220
  type: 'string',
8949
- enum: ['webhook', 'http', 'websocket', 'kafka', 'default_email', 'nats', 'postgres', 'sqs', 'mqtt', 'gcp', 'email']
9221
+ enum: ['webhook', 'http', 'websocket', 'kafka', 'default_email', 'nats', 'postgres', 'sqs', 'mqtt', 'gcp', 'azure', 'email']
8950
9222
  };
8951
9223
  export const $Capture = {
8952
9224
  type: 'object',