@loopstack/loopstack-studio 0.23.1 → 0.25.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 (147) hide show
  1. package/dist/api/config.js +3 -3
  2. package/dist/api/index.js +10 -12
  3. package/dist/api/processor.js +1 -1
  4. package/dist/api/secrets.js +16 -0
  5. package/dist/api/workflows.js +7 -1
  6. package/dist/components/dynamic-form/ArrayController.js +68 -64
  7. package/dist/components/dynamic-form/CodeContent.js +3 -3
  8. package/dist/components/dynamic-form/Form.js +46 -40
  9. package/dist/components/dynamic-form/FormElement.js +1 -1
  10. package/dist/components/dynamic-form/FormElementHeader.js +2 -2
  11. package/dist/components/dynamic-form/ObjectController.js +24 -21
  12. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +1 -1
  13. package/dist/components/dynamic-form/fields/CodeViewField.js +36 -36
  14. package/dist/components/dynamic-form/fields/InputField.js +20 -19
  15. package/dist/components/dynamic-form/fields/RadioField.js +18 -18
  16. package/dist/components/dynamic-form/fields/SelectField.js +19 -19
  17. package/dist/components/dynamic-form/fields/TextareaField.js +17 -17
  18. package/dist/components/feedback/LoadingCentered.js +1 -1
  19. package/dist/components/layout/MainLayout.js +18 -31
  20. package/dist/components/layout/StudioSidebar.js +169 -109
  21. package/dist/components/loopstack-elements/link.js +77 -76
  22. package/dist/components/loopstack-elements/tool.js +171 -0
  23. package/dist/components/page/PageBreadcrumbs.js +79 -32
  24. package/dist/components/ui-widgets/UiActions.js +10 -4
  25. package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +8 -6
  26. package/dist/components/ui-widgets/widgets/SubmitButton.js +8 -6
  27. package/dist/features/code-explorer/components/FileContentViewer.js +92 -100
  28. package/dist/features/dashboard/RunItem.js +1 -1
  29. package/dist/features/debug/components/ConfigFlowViewer.js +2 -2
  30. package/dist/features/debug/components/{PipelineDebugHeader.js → WorkflowDebugHeader.js} +5 -5
  31. package/dist/features/debug/components/{PipelineDebugLegend.js → WorkflowDebugLegend.js} +2 -2
  32. package/dist/features/debug/components/{PipelineFlowViewer.js → WorkflowFlowViewer.js} +9 -9
  33. package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +46 -0
  34. package/dist/features/debug/index.js +2 -2
  35. package/dist/features/debug/lib/flow-utils.js +142 -150
  36. package/dist/features/documents/DocumentRenderer.js +66 -30
  37. package/dist/features/documents/components/DocumentItem.js +2 -2
  38. package/dist/features/documents/components/DocumentList.js +18 -11
  39. package/dist/features/documents/document-details/DocumentDetails.js +4 -4
  40. package/dist/features/documents/renderers/AiMessage.js +12 -12
  41. package/dist/features/documents/renderers/ChoicesRenderer.js +92 -0
  42. package/dist/features/documents/renderers/ClaudeMessage.js +1 -1
  43. package/dist/features/documents/renderers/ConfirmPromptRenderer.js +56 -0
  44. package/dist/features/documents/renderers/DocumentFormRenderer.js +95 -65
  45. package/dist/features/documents/renderers/LinkMessageRenderer.js +8 -10
  46. package/dist/features/documents/renderers/SecretInputRenderer.js +87 -0
  47. package/dist/features/documents/renderers/TextPromptRenderer.js +57 -0
  48. package/dist/features/documents/renderers/useDocumentTransition.js +30 -0
  49. package/dist/features/oauth/OAuthPromptRenderer.js +20 -20
  50. package/dist/features/runs/Runs.js +8 -8
  51. package/dist/features/workbench/Workbench.js +35 -35
  52. package/dist/features/workbench/WorkflowItem.js +10 -9
  53. package/dist/features/workbench/WorkflowList.js +56 -73
  54. package/dist/features/workbench/components/NewRunDialog.js +18 -18
  55. package/dist/features/workbench/components/WorkbenchFilesPanel.js +33 -26
  56. package/dist/features/workbench/components/WorkbenchFloatingPanel.js +13 -44
  57. package/dist/features/workbench/components/WorkbenchFlowPanel.js +27 -29
  58. package/dist/features/workbench/components/WorkbenchIconSidebar.js +17 -17
  59. package/dist/features/workbench/components/WorkbenchPreviewPanel.js +2 -2
  60. package/dist/features/workbench/components/WorkbenchSecretsPanel.js +182 -0
  61. package/dist/features/workbench/components/WorkbenchSettingsModal.js +16 -41
  62. package/dist/features/workbench/components/WorkflowForms.js +14 -13
  63. package/dist/features/workbench/components/WorkflowHistoryItem.js +60 -81
  64. package/dist/features/workbench/components/{PipelineHistoryList.js → WorkflowHistoryList.js} +5 -5
  65. package/dist/features/workbench/components/buttons/WorkflowButtons.js +56 -54
  66. package/dist/features/workbench/hooks/useWorkflowData.js +10 -10
  67. package/dist/features/workbench/hooks/useWorkflowListState.js +8 -45
  68. package/dist/features/workbench/index.js +2 -3
  69. package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +132 -117
  70. package/dist/features/workbench/providers/ScrollProvider.js +2 -2
  71. package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +4 -4
  72. package/dist/features/workspaces/Workspaces.js +1 -1
  73. package/dist/features/workspaces/components/CreateWorkspace.js +12 -12
  74. package/dist/features/workspaces/components/ExecutionTimeline.js +22 -21
  75. package/dist/features/workspaces/components/{NewPipelineRunDialog.js → NewWorkflowRunDialog.js} +6 -6
  76. package/dist/features/workspaces/components/{PipelineForm.js → WorkflowRunForm.js} +31 -31
  77. package/dist/features/workspaces/components/WorkspaceHomePage.js +11 -11
  78. package/dist/features/workspaces/components/{pipeline-form → workflow-form}/ArgumentsView.js +1 -1
  79. package/dist/features/workspaces/components/{pipeline-form → workflow-form}/SelectionView.js +16 -16
  80. package/dist/hooks/index.js +3 -3
  81. package/dist/hooks/query-keys.js +34 -68
  82. package/dist/hooks/useConfig.js +5 -5
  83. package/dist/hooks/useProcessor.js +5 -5
  84. package/dist/hooks/useSecrets.js +69 -0
  85. package/dist/hooks/useWorkflows.js +155 -68
  86. package/dist/index.d.ts +158 -116
  87. package/dist/index.js +5 -5
  88. package/dist/packages/contracts/dist/enums/index.js +11 -12
  89. package/dist/packages/contracts/dist/enums/workflow-state.enum.js +1 -1
  90. package/dist/pages/DashboardPage.js +87 -35
  91. package/dist/pages/DebugWorkflowDetailsPage.js +8 -8
  92. package/dist/pages/DebugWorkflowsPage.js +10 -10
  93. package/dist/pages/EmbedWorkbenchPage.js +39 -45
  94. package/dist/pages/PreviewWorkbenchPage.js +130 -255
  95. package/dist/pages/RunsListPage.js +1 -1
  96. package/dist/pages/StudioLandingPage.js +13 -13
  97. package/dist/pages/WorkbenchPage.js +6 -6
  98. package/dist/pages/WorkflowDebugPage.js +114 -0
  99. package/dist/pages/WorkspacePage.js +4 -2
  100. package/dist/providers/InvalidationEventsProvider.js +19 -19
  101. package/dist/providers/SseProvider.js +0 -1
  102. package/dist/routing/LocalRouter.js +14 -17
  103. package/dist/types/ai.types.js +13 -0
  104. package/package.json +2 -3
  105. package/dist/api/namespaces.js +0 -7
  106. package/dist/api/pipelines.js +0 -13
  107. package/dist/components/ai-elements/tool.js +0 -158
  108. package/dist/features/debug/components/pipeline-flow/WorkflowGraph.js +0 -41
  109. package/dist/features/workbench/NavigationItems.js +0 -52
  110. package/dist/features/workbench/WorkbenchNavigation.js +0 -38
  111. package/dist/features/workbench/components/NavigationItem.js +0 -68
  112. package/dist/features/workbench/hooks/useIntersectionObserver.js +0 -44
  113. package/dist/hooks/useNamespaceTree.js +0 -27
  114. package/dist/hooks/useNamespaces.js +0 -25
  115. package/dist/hooks/usePipelines.js +0 -161
  116. package/dist/node_modules/@ai-sdk/provider/dist/index.js +0 -65
  117. package/dist/node_modules/@ai-sdk/provider-utils/dist/index.js +0 -1008
  118. package/dist/node_modules/ai/dist/index.js +0 -1083
  119. package/dist/node_modules/zod/v3/ZodError.js +0 -79
  120. package/dist/node_modules/zod/v3/errors.js +0 -6
  121. package/dist/node_modules/zod/v3/helpers/errorUtil.js +0 -5
  122. package/dist/node_modules/zod/v3/helpers/parseUtil.js +0 -90
  123. package/dist/node_modules/zod/v3/helpers/util.js +0 -72
  124. package/dist/node_modules/zod/v3/locales/en.js +0 -58
  125. package/dist/node_modules/zod/v3/types.js +0 -2425
  126. package/dist/node_modules/zod/v4/classic/errors.js +0 -21
  127. package/dist/node_modules/zod/v4/classic/iso.js +0 -29
  128. package/dist/node_modules/zod/v4/classic/parse.js +0 -4
  129. package/dist/node_modules/zod/v4/classic/schemas.js +0 -392
  130. package/dist/node_modules/zod/v4/core/api.js +0 -532
  131. package/dist/node_modules/zod/v4/core/checks.js +0 -283
  132. package/dist/node_modules/zod/v4/core/core.js +0 -44
  133. package/dist/node_modules/zod/v4/core/doc.js +0 -21
  134. package/dist/node_modules/zod/v4/core/errors.js +0 -40
  135. package/dist/node_modules/zod/v4/core/json-schema-processors.js +0 -305
  136. package/dist/node_modules/zod/v4/core/parse.js +0 -66
  137. package/dist/node_modules/zod/v4/core/regexes.js +0 -28
  138. package/dist/node_modules/zod/v4/core/registries.js +0 -38
  139. package/dist/node_modules/zod/v4/core/schemas.js +0 -863
  140. package/dist/node_modules/zod/v4/core/to-json-schema.js +0 -220
  141. package/dist/node_modules/zod/v4/core/util.js +0 -267
  142. package/dist/node_modules/zod/v4/core/versions.js +0 -6
  143. package/dist/packages/contracts/dist/enums/pipeline-state.js +0 -10
  144. package/dist/pages/PipelineDebugPage.js +0 -115
  145. /package/dist/features/debug/components/{pipeline-flow → workflow-flow}/StateNode.js +0 -0
  146. /package/dist/features/debug/components/{pipeline-flow → workflow-flow}/WorkflowTransitionEdge.js +0 -0
  147. /package/dist/features/workspaces/components/{pipeline-form → workflow-form}/HeaderSection.js +0 -0
package/dist/index.d.ts CHANGED
@@ -23,21 +23,13 @@ import { FileExplorerNodeInterface } from '@loopstack/contracts/api';
23
23
  import { HubLoginRequestInterface } from '@loopstack/contracts/api';
24
24
  import { JSX } from 'react/jsx-runtime';
25
25
  import * as LabelPrimitive from '@radix-ui/react-label';
26
- import { NamespaceInterface } from '@loopstack/contracts/api';
27
- import { NamespaceItemInterface } from '@loopstack/contracts/api';
28
26
  import { PaginatedInterface } from '@loopstack/contracts/api';
29
- import { PipelineConfigInterface } from '@loopstack/contracts/api';
30
- import { PipelineCreateInterface } from '@loopstack/contracts/api';
31
- import { PipelineInterface } from '@loopstack/contracts/api';
32
- import { PipelineItemInterface } from '@loopstack/contracts/api';
33
- import { PipelineSourceInterface } from '@loopstack/contracts/api';
34
- import { PipelineUpdateInterface } from '@loopstack/contracts/api';
35
27
  import * as PopoverPrimitive from '@radix-ui/react-popover';
36
28
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
37
29
  import * as React_2 from 'react';
38
30
  import { ReactElement } from 'react';
39
31
  import { ReactNode } from 'react';
40
- import { RunPipelinePayloadInterface } from '@loopstack/contracts/api';
32
+ import { RunWorkflowPayloadInterface } from '@loopstack/contracts/api';
41
33
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
42
34
  import * as SelectPrimitive from '@radix-ui/react-select';
43
35
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
@@ -49,8 +41,12 @@ import { useNavigate } from 'react-router-dom';
49
41
  import { UseQueryResult } from '@tanstack/react-query';
50
42
  import { VariantProps } from 'class-variance-authority';
51
43
  import { WorkerInfoInterface } from '@loopstack/contracts/api';
52
- import { WorkflowInterface } from '@loopstack/contracts/api';
44
+ import { WorkflowConfigInterface } from '@loopstack/contracts/api';
45
+ import { WorkflowCreateInterface } from '@loopstack/contracts/api';
46
+ import { WorkflowFullInterface } from '@loopstack/contracts/api';
53
47
  import { WorkflowItemInterface } from '@loopstack/contracts/api';
48
+ import { WorkflowSourceInterface } from '@loopstack/contracts/api';
49
+ import { WorkflowUpdateInterface } from '@loopstack/contracts/api';
54
50
  import { WorkspaceConfigInterface } from '@loopstack/contracts/api';
55
51
  import { WorkspaceCreateInterface } from '@loopstack/contracts/api';
56
52
  import { WorkspaceEnvironmentInterface } from '@loopstack/contracts/api';
@@ -256,17 +252,15 @@ declare function createApi(http: AxiosInstance): {
256
252
  };
257
253
  config: {
258
254
  getWorkspaceTypes: () => Promise<WorkspaceConfigInterface[]>;
259
- getPipelineTypesByWorkspace: (params: {
255
+ getWorkflowTypesByWorkspace: (params: {
260
256
  workspaceBlockName: string;
261
- }) => Promise<PipelineConfigInterface[]>;
262
- getPipelineConfigByName: (params: {
263
- workspaceBlockName: string;
264
- pipelineName: string;
265
- }) => Promise<PipelineConfigInterface>;
266
- getPipelineSourceByName: (params: {
267
- workspaceBlockName: string;
268
- pipelineName: string;
269
- }) => Promise<PipelineSourceInterface>;
257
+ }) => Promise<WorkflowConfigInterface[]>;
258
+ getWorkflowConfig: (params: {
259
+ alias: string;
260
+ }) => Promise<WorkflowConfigInterface>;
261
+ getWorkflowSource: (params: {
262
+ alias: string;
263
+ }) => Promise<WorkflowSourceInterface>;
270
264
  getAvailableEnvironments: () => Promise<AvailableEnvironmentInterface[]>;
271
265
  };
272
266
  dashboard: {
@@ -283,21 +277,52 @@ declare function createApi(http: AxiosInstance): {
283
277
  limit?: number;
284
278
  }) => Promise<PaginatedInterface<DocumentItemInterface>>;
285
279
  };
286
- namespaces: {
287
- getById: (params: {
280
+ processor: {
281
+ runWorkflow: (params: {
282
+ workflowId: string;
283
+ runWorkflowPayloadDto: RunWorkflowPayloadInterface;
284
+ force?: boolean;
285
+ }) => Promise<void>;
286
+ };
287
+ secrets: {
288
+ getByWorkspaceId: (params: {
289
+ workspaceId: string;
290
+ }) => Promise<SecretItem[]>;
291
+ create: (params: {
292
+ workspaceId: string;
293
+ key: string;
294
+ value: string;
295
+ }) => Promise<{
288
296
  id: string;
289
- }) => Promise<NamespaceInterface>;
290
- getAll: (params?: {
291
- filter?: string;
292
- sortBy?: string;
293
- page?: number;
294
- limit?: number;
295
- }) => Promise<PaginatedInterface<NamespaceItemInterface>>;
297
+ key: string;
298
+ }>;
299
+ upsert: (params: {
300
+ workspaceId: string;
301
+ key: string;
302
+ value: string;
303
+ }) => Promise<{
304
+ id: string;
305
+ key: string;
306
+ }>;
307
+ update: (params: {
308
+ workspaceId: string;
309
+ id: string;
310
+ value?: string;
311
+ }) => Promise<{
312
+ id: string;
313
+ key: string;
314
+ }>;
315
+ delete: (params: {
316
+ workspaceId: string;
317
+ id: string;
318
+ }) => Promise<{
319
+ success: boolean;
320
+ }>;
296
321
  };
297
- pipelines: {
322
+ workflows: {
298
323
  getById: (params: {
299
324
  id: string;
300
- }) => Promise<PipelineInterface>;
325
+ }) => Promise<WorkflowFullInterface>;
301
326
  getAll: (params?: {
302
327
  filter?: string;
303
328
  sortBy?: string;
@@ -305,14 +330,14 @@ declare function createApi(http: AxiosInstance): {
305
330
  limit?: number;
306
331
  search?: string;
307
332
  searchColumns?: string;
308
- }) => Promise<PaginatedInterface<PipelineItemInterface>>;
333
+ }) => Promise<PaginatedInterface<WorkflowItemInterface>>;
309
334
  create: (params: {
310
- pipelineCreateDto: PipelineCreateInterface;
311
- }) => Promise<PipelineInterface>;
335
+ workflowCreateDto: WorkflowCreateInterface;
336
+ }) => Promise<WorkflowFullInterface>;
312
337
  update: (params: {
313
338
  id: string;
314
- pipelineUpdateDto: PipelineUpdateInterface;
315
- }) => Promise<PipelineInterface>;
339
+ workflowUpdateDto: WorkflowUpdateInterface;
340
+ }) => Promise<WorkflowFullInterface>;
316
341
  delete: (params: {
317
342
  id: string;
318
343
  }) => Promise<void>;
@@ -320,33 +345,15 @@ declare function createApi(http: AxiosInstance): {
320
345
  ids: string[];
321
346
  }) => Promise<void>;
322
347
  getFileTree: (params: {
323
- pipelineId: string;
348
+ workflowId: string;
324
349
  }) => Promise<FileExplorerNodeInterface[]>;
325
350
  getFileContent: (params: {
326
- pipelineId: string;
351
+ workflowId: string;
327
352
  filePath: string;
328
353
  }) => Promise<FileContentInterface>;
329
- };
330
- processor: {
331
- runPipeline: (params: {
332
- pipelineId: string;
333
- runPipelinePayloadDto: RunPipelinePayloadInterface;
334
- force?: boolean;
335
- }) => Promise<void>;
336
- };
337
- workflows: {
338
- getById: (params: {
339
- id: string;
340
- }) => Promise<WorkflowInterface>;
341
- getAll: (params?: {
342
- filter?: string;
343
- sortBy?: string;
344
- page?: number;
345
- limit?: number;
346
- }) => Promise<PaginatedInterface<WorkflowItemInterface>>;
347
- delete: (params: {
354
+ getCheckpoints: (params: {
348
355
  id: string;
349
- }) => Promise<void>;
356
+ }) => Promise<WorkflowCheckpoint[]>;
350
357
  };
351
358
  workspaces: {
352
359
  getById: (params: {
@@ -681,19 +688,19 @@ export declare type FilterOption = string | {
681
688
  value: string;
682
689
  };
683
690
 
684
- export declare function getAllWorkflowsCacheKey(envKey: string): string[];
685
-
686
691
  export declare function getAvailableEnvironmentsCacheKey(envKey: string): string[];
687
692
 
693
+ export declare function getChildWorkflowsCacheKey(envKey: string, parentId: string): string[];
694
+
688
695
  export declare function getDashboardStatsCacheKey(envKey: string): string[];
689
696
 
690
697
  export declare function getDocumentCacheKey(envKey: string, documentId: string): string[];
691
698
 
692
699
  export declare function getDocumentsCacheKey(envKey: string, workflowId: string): string[];
693
700
 
694
- export declare function getFileContentCacheKey(envKey: string, pipelineId: string, filePath: string): string[];
701
+ export declare function getFileContentCacheKey(envKey: string, workflowId: string, filePath: string): string[];
695
702
 
696
- export declare function getFileTreeCacheKey(envKey: string, pipelineId: string): string[];
703
+ export declare function getFileTreeCacheKey(envKey: string, workflowId: string): string[];
697
704
 
698
705
  export declare function getHealthCacheKey(envKey: string): string[];
699
706
 
@@ -702,34 +709,24 @@ export declare function getHealthCacheKey(envKey: string): string[];
702
709
  *
703
710
  * Conventions:
704
711
  * - All keys start with a domain prefix, followed by envKey for environment scoping.
705
- * - Singular keys (e.g. 'pipeline') are for single-entity queries.
706
- * - Plural keys (e.g. 'pipelines') are for list/filter queries.
712
+ * - Singular keys (e.g. 'workflow') are for single-entity queries.
713
+ * - Plural keys (e.g. 'workflows') are for list/filter queries.
707
714
  * - Mutations should invalidate the plural key to catch all list variations.
708
715
  * - Use `select` (not `.then()` in queryFn) for response transformations.
709
716
  */
710
717
  export declare function getMeCacheKey(envKey: string): string[];
711
718
 
712
- export declare function getNamespaceCacheKey(envKey: string, namespaceId: string): string[];
713
-
714
- export declare function getNamespacesByPipelineCacheKey(envKey: string, pipelineId: string): string[];
715
-
716
- export declare function getPipelineCacheKey(envKey: string, id: string): string[];
719
+ export declare function getSecretsCacheKey(envKey: string, workspaceId: string): string[];
717
720
 
718
- export declare function getPipelineConfigCacheKey(envKey: string, workspaceBlockName: string, pipelineBlockName: string): string[];
721
+ export declare function getWorkflowCacheKey(envKey: string, id: string): string[];
719
722
 
720
- export declare function getPipelinesCacheKey(envKey: string): string[];
723
+ export declare function getWorkflowConfigCacheKey(envKey: string, alias: string): string[];
721
724
 
722
- export declare function getPipelinesChildrenCacheKey(envKey: string, parentId: string): string[];
725
+ export declare function getWorkflowsCacheKey(envKey: string): string[];
723
726
 
724
- export declare function getPipelineSourceCacheKey(envKey: string, workspaceBlockName: string, pipelineBlockName: string): string[];
727
+ export declare function getWorkflowSourceCacheKey(envKey: string, alias: string): string[];
725
728
 
726
- export declare function getPipelineTypesCacheKey(envKey: string, workspaceBlockName: string): string[];
727
-
728
- export declare function getWorkflowCacheKey(envKey: string, workflowId: string): string[];
729
-
730
- export declare function getWorkflowsByPipelineCacheKey(envKey: string, pipelineId: string): string[];
731
-
732
- export declare function getWorkflowsCacheKey(envKey: string, namespaceId: string): string[];
729
+ export declare function getWorkflowTypesCacheKey(envKey: string, workspaceBlockName: string): string[];
733
730
 
734
731
  export declare function getWorkspaceCacheKey(envKey: string, id: string): string[];
735
732
 
@@ -844,16 +841,15 @@ export declare class LocalRouter implements StudioRouter {
844
841
  navigateToWorkspaces(): Promise<void>;
845
842
  getWorkspace(workspaceId: string): string;
846
843
  navigateToWorkspace(workspaceId: string): Promise<void>;
847
- getPipeline(pipelineId: string): string;
848
- navigateToPipeline(pipelineId: string): Promise<void>;
849
- getPipelineDebug(pipelineId: string): string;
850
- navigateToPipelineDebug(pipelineId: string): Promise<void>;
851
- navigateToWorkflow(pipelineId: string, workflowId: string, clickId: string | undefined): Promise<void>;
852
- navigateToPipelineNamespace(workspaceId: string, pipelineId: string, namespaceId: string): Promise<void>;
844
+ getWorkflow(workflowId: string): string;
845
+ navigateToWorkflow(workflowId: string): Promise<void>;
846
+ getWorkflowDebug(workflowId: string): string;
847
+ navigateToWorkflowDebug(workflowId: string): Promise<void>;
848
+ navigateToChildWorkflow(workflowId: string, clickId: string | undefined): Promise<void>;
853
849
  getWorkspaceRuns(workspaceId: string): string;
854
850
  navigateToWorkspaceRuns(workspaceId: string): Promise<void>;
855
- getEmbedPipeline(pipelineId: string): string;
856
- getPreviewPipeline(pipelineId: string): string;
851
+ getEmbedWorkflow(workflowId: string): string;
852
+ getPreviewWorkflow(workflowId: string): string;
857
853
  getCurrentEnvironmentId(): string;
858
854
  getTheme(): 'local' | 'cloud';
859
855
  }
@@ -909,8 +905,6 @@ declare interface PageBreadcrumbsProps {
909
905
  breadcrumbData: BreadCrumbsData[];
910
906
  }
911
907
 
912
- export declare const PipelineDebugPage: default_2.FC;
913
-
914
908
  export declare function Popover({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
915
909
 
916
910
  export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Anchor>): JSX.Element;
@@ -955,6 +949,12 @@ export declare function ScrollArea({ className, children, ...props }: React_2.Co
955
949
 
956
950
  export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
957
951
 
952
+ declare interface SecretItem {
953
+ id: string;
954
+ key: string;
955
+ hasValue: boolean;
956
+ }
957
+
958
958
  export declare function Select({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Root>): JSX.Element;
959
959
 
960
960
  export declare function SelectContent({ className, children, position, align, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
@@ -1129,16 +1129,15 @@ export declare interface StudioRouter {
1129
1129
  navigateToWorkspaces(): Promise<void>;
1130
1130
  getWorkspace(workspaceId: string): string;
1131
1131
  navigateToWorkspace(workspaceId: string): Promise<void>;
1132
- getPipeline(pipelineId: string): string;
1133
- navigateToPipeline(pipelineId: string): Promise<void>;
1134
- getPipelineDebug(pipelineId: string): string;
1135
- navigateToPipelineDebug(pipelineId: string): Promise<void>;
1136
- navigateToWorkflow(pipelineId: string, workflowId: string, clickId: string | undefined): Promise<void>;
1137
- navigateToPipelineNamespace(workspaceId: string, pipelineId: string, namespaceId: string): Promise<void>;
1132
+ getWorkflow(workflowId: string): string;
1133
+ navigateToWorkflow(workflowId: string): Promise<void>;
1134
+ getWorkflowDebug(workflowId: string): string;
1135
+ navigateToWorkflowDebug(workflowId: string): Promise<void>;
1136
+ navigateToChildWorkflow(workflowId: string, clickId: string | undefined): Promise<void>;
1138
1137
  getWorkspaceRuns(workspaceId: string): string;
1139
1138
  navigateToWorkspaceRuns(workspaceId: string): Promise<void>;
1140
- getEmbedPipeline(pipelineId: string): string;
1141
- getPreviewPipeline(pipelineId: string): string;
1139
+ getEmbedWorkflow(workflowId: string): string;
1140
+ getPreviewWorkflow(workflowId: string): string;
1142
1141
  getCurrentEnvironmentId(): string;
1143
1142
  getTheme(): 'local' | 'cloud';
1144
1143
  }
@@ -1184,40 +1183,47 @@ export declare function useAvailableEnvironments(options?: {
1184
1183
  enabled?: boolean;
1185
1184
  }): UseQueryResult<AvailableEnvironmentInterface[], Error>;
1186
1185
 
1187
- export declare function useBatchDeletePipeline(): UseMutationResult<void, Error, string[], unknown>;
1186
+ /**
1187
+ * Batch delete workflows.
1188
+ */
1189
+ export declare function useBatchDeleteWorkflows(): UseMutationResult<void, Error, string[], unknown>;
1188
1190
 
1189
1191
  export declare function useBatchDeleteWorkspaces(): UseMutationResult<void, Error, string[], unknown>;
1190
1192
 
1191
- export declare function useChildPipelines(parentId: string | undefined, enabled: boolean): UseQueryResult<PaginatedInterface<PipelineItemInterface>, Error>;
1193
+ /**
1194
+ * Fetch child workflows by parentId.
1195
+ */
1196
+ export declare function useChildWorkflows(parentId: string | undefined, enabled?: boolean): UseQueryResult<WorkflowItemInterface[], Error>;
1192
1197
 
1193
1198
  export declare const useComponentOverrides: () => ComponentOverrides;
1194
1199
 
1195
- export declare function useCreatePipeline(): UseMutationResult<PipelineInterface, Error, {
1196
- pipelineCreateDto: PipelineCreateInterface;
1200
+ /**
1201
+ * Create a new workflow.
1202
+ */
1203
+ export declare function useCreateWorkflow(): UseMutationResult<WorkflowFullInterface, Error, {
1204
+ workflowCreateDto: WorkflowCreateInterface;
1197
1205
  }, unknown>;
1198
1206
 
1199
1207
  export declare function useCreateWorkspace(): UseMutationResult<WorkspaceInterface, Error, {
1200
1208
  workspaceCreateDto: WorkspaceCreateInterface;
1201
1209
  }, unknown>;
1202
1210
 
1203
- export declare function useDeletePipeline(): UseMutationResult<void, Error, string, unknown>;
1211
+ /**
1212
+ * Delete a single workflow.
1213
+ */
1214
+ export declare function useDeleteWorkflow(): UseMutationResult<void, Error, string, unknown>;
1204
1215
 
1205
1216
  export declare function useDeleteWorkspace(): UseMutationResult<void, Error, string, unknown>;
1206
1217
 
1207
- export declare function useFilterPipelines(searchTerm: string | undefined, filter: Record<string, string | null>, sortBy?: string, order?: string, page?: number, limit?: number): UseQueryResult<PaginatedInterface<PipelineItemInterface>, Error>;
1218
+ /**
1219
+ * Fetch a filtered, sorted, paginated list of workflows.
1220
+ */
1221
+ export declare function useFilterWorkflows(searchTerm: string | undefined, filter: Record<string, string | null>, sortBy?: string, order?: string, page?: number, limit?: number): UseQueryResult<PaginatedInterface<WorkflowItemInterface>, Error>;
1208
1222
 
1209
1223
  export declare function useFilterWorkspaces(searchTerm: string | undefined, filter: Record<string, string>, sortBy?: string, order?: string, page?: number, limit?: number): UseQueryResult<PaginatedInterface<WorkspaceItemInterface>, Error>;
1210
1224
 
1211
1225
  export declare function useIsMobile(): boolean;
1212
1226
 
1213
- export declare function usePipeline(id: string | undefined): UseQueryResult<PipelineInterface, Error>;
1214
-
1215
- export declare function usePipelineConfig(workspaceBlockName: string | undefined): UseQueryResult<PipelineConfigInterface[], Error>;
1216
-
1217
- export declare function usePipelineConfigByName(workspaceBlockName: string | undefined, pipelineBlockName: string | undefined): UseQueryResult<PipelineConfigInterface, Error>;
1218
-
1219
- export declare function usePipelineSource(workspaceBlockName: string | undefined, pipelineBlockName: string | undefined): UseQueryResult<PipelineSourceInterface, Error>;
1220
-
1221
1227
  export declare const useRouter: (envId: string, embedPrefix?: string) => StudioRouter;
1222
1228
 
1223
1229
  export declare function useSetFavouriteWorkspace(): UseMutationResult<void, Error, {
@@ -1231,9 +1237,12 @@ export declare const useStudio: () => StudioContext;
1231
1237
 
1232
1238
  export declare const useStudioOptional: () => StudioContext | null;
1233
1239
 
1234
- export declare function useUpdatePipeline(): UseMutationResult<PipelineInterface, Error, {
1240
+ /**
1241
+ * Update an existing workflow.
1242
+ */
1243
+ export declare function useUpdateWorkflow(): UseMutationResult<WorkflowFullInterface, Error, {
1235
1244
  id: string;
1236
- pipelineUpdateDto: PipelineUpdateInterface;
1245
+ workflowUpdateDto: WorkflowUpdateInterface;
1237
1246
  }, unknown>;
1238
1247
 
1239
1248
  export declare function useUpdateWorkspace(): UseMutationResult<WorkspaceInterface, Error, {
@@ -1241,6 +1250,28 @@ id: string;
1241
1250
  workspaceUpdateDto: WorkspaceUpdateInterface;
1242
1251
  }, unknown>;
1243
1252
 
1253
+ /**
1254
+ * Fetch a single workflow (full details) by ID.
1255
+ */
1256
+ export declare function useWorkflow(id: string | undefined): UseQueryResult<WorkflowFullInterface, Error>;
1257
+
1258
+ /**
1259
+ * Fetch checkpoints for a workflow run.
1260
+ */
1261
+ export declare function useWorkflowCheckpoints(workflowId: string): UseQueryResult<WorkflowCheckpoint[], Error>;
1262
+
1263
+ export declare function useWorkflowConfig(workspaceBlockName: string | undefined): UseQueryResult<WorkflowConfigInterface[], Error>;
1264
+
1265
+ /**
1266
+ * Fetch workflow config by block name (class name).
1267
+ */
1268
+ export declare function useWorkflowConfigByName(alias: string | undefined): UseQueryResult<WorkflowConfigInterface, Error>;
1269
+
1270
+ /**
1271
+ * Fetch workflow source by block name (class name).
1272
+ */
1273
+ export declare function useWorkflowSource(alias: string | undefined): UseQueryResult<WorkflowSourceInterface, Error>;
1274
+
1244
1275
  export declare function useWorkspace(id: string | undefined): UseQueryResult<WorkspaceInterface, Error>;
1245
1276
 
1246
1277
  export declare function useWorkspaceConfig(): UseQueryResult<WorkspaceConfigInterface[], Error>;
@@ -1249,11 +1280,22 @@ export declare function WorkbenchPage({ previewPanelOpen, onPreviewPanelOpenChan
1249
1280
  previewPanelOpen?: boolean;
1250
1281
  onPreviewPanelOpenChange?: (open: boolean) => void;
1251
1282
  isDeveloperMode?: boolean;
1252
- getPreviewUrl?: (pipelineId: string) => string;
1253
- getEnvironmentPreviewUrl?: (env: WorkspaceEnvironmentInterface, pipelineId?: string) => string;
1283
+ getPreviewUrl?: (workflowId: string) => string;
1284
+ getEnvironmentPreviewUrl?: (env: WorkspaceEnvironmentInterface, workflowId?: string) => string;
1254
1285
  environments?: WorkspaceEnvironmentInterface[];
1255
1286
  }): JSX.Element;
1256
1287
 
1288
+ declare interface WorkflowCheckpoint {
1289
+ id: string;
1290
+ place: string;
1291
+ transitionId: string | null;
1292
+ transitionFrom: string | null;
1293
+ version: number;
1294
+ createdAt: string;
1295
+ }
1296
+
1297
+ export declare const WorkflowDebugPage: default_2.FC;
1298
+
1257
1299
  export declare const WorkspacePage: () => JSX.Element;
1258
1300
 
1259
1301
  export declare const WorkspaceRunsPage: () => JSX.Element;
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { getAllWorkflowsCacheKey, getAvailableEnvironmentsCacheKey, getDashboardStatsCacheKey, getDocumentCacheKey, getDocumentsCacheKey, getFileContentCacheKey, getFileTreeCacheKey, getHealthCacheKey, getMeCacheKey, getNamespaceCacheKey, getNamespacesByPipelineCacheKey, getPipelineCacheKey, getPipelineConfigCacheKey, getPipelineSourceCacheKey, getPipelineTypesCacheKey, getPipelinesCacheKey, getPipelinesChildrenCacheKey, getWorkflowCacheKey, getWorkflowsByPipelineCacheKey, getWorkflowsCacheKey, getWorkspaceCacheKey, getWorkspaceTypesCacheKey, getWorkspacesCacheKey } from "./hooks/query-keys.js";
1
+ import { getAvailableEnvironmentsCacheKey, getChildWorkflowsCacheKey, getDashboardStatsCacheKey, getDocumentCacheKey, getDocumentsCacheKey, getFileContentCacheKey, getFileTreeCacheKey, getHealthCacheKey, getMeCacheKey, getSecretsCacheKey, getWorkflowCacheKey, getWorkflowConfigCacheKey, getWorkflowSourceCacheKey, getWorkflowTypesCacheKey, getWorkflowsCacheKey, getWorkspaceCacheKey, getWorkspaceTypesCacheKey, getWorkspacesCacheKey } from "./hooks/query-keys.js";
2
2
  import { createApiClient } from "./services/createApiClient.js";
3
3
  import { eventBus } from "./services/eventEmitter.js";
4
4
  import "./services/index.js";
5
5
  import { StudioProvider, useStudio, useStudioOptional } from "./providers/StudioProvider.js";
6
6
  import { useApiClient } from "./hooks/useApi.js";
7
7
  import { useIsMobile } from "./hooks/use-mobile.js";
8
- import { useAvailableEnvironments, usePipelineConfig, useWorkspaceConfig } from "./hooks/useConfig.js";
9
- import { useBatchDeletePipeline, useChildPipelines, useCreatePipeline, useDeletePipeline, useFilterPipelines, usePipeline, usePipelineConfigByName, usePipelineSource, useUpdatePipeline } from "./hooks/usePipelines.js";
8
+ import { useAvailableEnvironments, useWorkflowConfig, useWorkspaceConfig } from "./hooks/useConfig.js";
9
+ import { useBatchDeleteWorkflows, useChildWorkflows, useCreateWorkflow, useDeleteWorkflow, useFilterWorkflows, useUpdateWorkflow, useWorkflow, useWorkflowCheckpoints, useWorkflowConfigByName, useWorkflowSource } from "./hooks/useWorkflows.js";
10
10
  import { useBatchDeleteWorkspaces, useCreateWorkspace, useDeleteWorkspace, useFilterWorkspaces, useSetFavouriteWorkspace, useUpdateWorkspace, useWorkspace } from "./hooks/useWorkspaces.js";
11
11
  import "./hooks/index.js";
12
12
  import { ComponentOverridesProvider, useComponentOverrides } from "./providers/ComponentOverridesProvider.js";
@@ -70,7 +70,7 @@ import WorkspacePage_default from "./pages/WorkspacePage.js";
70
70
  import WorkspaceRunsPage_default from "./pages/WorkspaceRunsPage.js";
71
71
  import "./features/workspaces/index.js";
72
72
  import WorkbenchPage from "./pages/WorkbenchPage.js";
73
- import PipelineDebugPage_default from "./pages/PipelineDebugPage.js";
73
+ import WorkflowDebugPage_default from "./pages/WorkflowDebugPage.js";
74
74
  import DebugWorkflowsPage from "./pages/DebugWorkflowsPage.js";
75
75
  import DebugWorkflowDetailsPage from "./pages/DebugWorkflowDetailsPage.js";
76
76
  import EmbedWorkbenchPage from "./pages/EmbedWorkbenchPage.js";
@@ -82,4 +82,4 @@ import LocalHealthCheck_default from "./features/health/LocalHealthCheck.js";
82
82
  import EnvironmentEmbedRoot from "./app/EnvironmentEmbedRoot.js";
83
83
  import { StudioSidebar } from "./components/layout/StudioSidebar.js";
84
84
  import "./features/health/index.js";
85
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, CompletionMessagePaper_default as CompletionMessagePaper, ComponentOverridesProvider, ConfirmDialog_default as ConfirmDialog, CreateWorkspace_default as CreateWorkspace, CustomListView_default as CustomItemListView, DashboardPage, DataList, DataTable, DataTableBatchAction_default as DataTableBatchActions, DataTableFilters_default as DataTableFilters, DataTablePagination_default as DataTablePagination, DataTableToolbar_default as DataTableToolbar, DebugPage_default as DebugPage, DebugWorkflowDetailsPage, DebugWorkflowsPage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscordLogo, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbedWorkbenchPage, EnvironmentEmbedRoot, EnvironmentSlotSelector, ErrorAlert_default as ErrorAlert, ErrorBoundary, ErrorSnackbar_default as ErrorSnackbar, GoogleLogo, Input, InvalidationEventsProvider, ListView_default as ItemListView, Label, LoadingCentered_default as LoadingCentered, LocalHealthCheck_default as LocalHealthCheck, LocalRouter, MainLayout_default as MainLayout, PageBreadcrumbs_default as PageBreadcrumbs, PipelineDebugPage_default as PipelineDebugPage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviewWorkbenchPage, RadioGroup, RadioGroupItem, RunsListPage, RunsPage, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarInsetDiv, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDiv, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Snackbar_default as Snackbar, SseProvider, StudioLandingPage, StudioProvider, StudioSidebar, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WorkbenchPage, WorkspacePage_default as WorkspacePage, WorkspaceRunsPage_default as WorkspaceRunsPage, WorkspacesPage, badgeVariants, buttonVariants, createApiClient, eventBus, getAllWorkflowsCacheKey, getAvailableEnvironmentsCacheKey, getDashboardStatsCacheKey, getDocumentCacheKey, getDocumentsCacheKey, getFileContentCacheKey, getFileTreeCacheKey, getHealthCacheKey, getMeCacheKey, getNamespaceCacheKey, getNamespacesByPipelineCacheKey, getPipelineCacheKey, getPipelineConfigCacheKey, getPipelineSourceCacheKey, getPipelineTypesCacheKey, getPipelinesCacheKey, getPipelinesChildrenCacheKey, getWorkflowCacheKey, getWorkflowsByPipelineCacheKey, getWorkflowsCacheKey, getWorkspaceCacheKey, getWorkspaceTypesCacheKey, getWorkspacesCacheKey, useApiClient, useAvailableEnvironments, useBatchDeletePipeline, useBatchDeleteWorkspaces, useChildPipelines, useComponentOverrides, useCreatePipeline, useCreateWorkspace, useDeletePipeline, useDeleteWorkspace, useFilterPipelines, useFilterWorkspaces, useIsMobile, usePipeline, usePipelineConfig, usePipelineConfigByName, usePipelineSource, useRouter, useSetFavouriteWorkspace, useSidebar, useStudio, useStudioOptional, useUpdatePipeline, useUpdateWorkspace, useWorkspace, useWorkspaceConfig };
85
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, CompletionMessagePaper_default as CompletionMessagePaper, ComponentOverridesProvider, ConfirmDialog_default as ConfirmDialog, CreateWorkspace_default as CreateWorkspace, CustomListView_default as CustomItemListView, DashboardPage, DataList, DataTable, DataTableBatchAction_default as DataTableBatchActions, DataTableFilters_default as DataTableFilters, DataTablePagination_default as DataTablePagination, DataTableToolbar_default as DataTableToolbar, DebugPage_default as DebugPage, DebugWorkflowDetailsPage, DebugWorkflowsPage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscordLogo, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbedWorkbenchPage, EnvironmentEmbedRoot, EnvironmentSlotSelector, ErrorAlert_default as ErrorAlert, ErrorBoundary, ErrorSnackbar_default as ErrorSnackbar, GoogleLogo, Input, InvalidationEventsProvider, ListView_default as ItemListView, Label, LoadingCentered_default as LoadingCentered, LocalHealthCheck_default as LocalHealthCheck, LocalRouter, MainLayout_default as MainLayout, PageBreadcrumbs_default as PageBreadcrumbs, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviewWorkbenchPage, RadioGroup, RadioGroupItem, RunsListPage, RunsPage, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarInsetDiv, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDiv, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Snackbar_default as Snackbar, SseProvider, StudioLandingPage, StudioProvider, StudioSidebar, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WorkbenchPage, WorkflowDebugPage_default as WorkflowDebugPage, WorkspacePage_default as WorkspacePage, WorkspaceRunsPage_default as WorkspaceRunsPage, WorkspacesPage, badgeVariants, buttonVariants, createApiClient, eventBus, getAvailableEnvironmentsCacheKey, getChildWorkflowsCacheKey, getDashboardStatsCacheKey, getDocumentCacheKey, getDocumentsCacheKey, getFileContentCacheKey, getFileTreeCacheKey, getHealthCacheKey, getMeCacheKey, getSecretsCacheKey, getWorkflowCacheKey, getWorkflowConfigCacheKey, getWorkflowSourceCacheKey, getWorkflowTypesCacheKey, getWorkflowsCacheKey, getWorkspaceCacheKey, getWorkspaceTypesCacheKey, getWorkspacesCacheKey, useApiClient, useAvailableEnvironments, useBatchDeleteWorkflows, useBatchDeleteWorkspaces, useChildWorkflows, useComponentOverrides, useCreateWorkflow, useCreateWorkspace, useDeleteWorkflow, useDeleteWorkspace, useFilterWorkflows, useFilterWorkspaces, useIsMobile, useRouter, useSetFavouriteWorkspace, useSidebar, useStudio, useStudioOptional, useUpdateWorkflow, useUpdateWorkspace, useWorkflow, useWorkflowCheckpoints, useWorkflowConfig, useWorkflowConfigByName, useWorkflowSource, useWorkspace, useWorkspaceConfig };
@@ -1,25 +1,24 @@
1
1
  import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
2
- import { require_pipeline_state } from "./pipeline-state.js";
3
2
  import { require_sort_order_enum } from "./sort-order.enum.js";
4
3
  import { require_workflow_state_enum } from "./workflow-state.enum.js";
5
4
  import { require_user_type_enum } from "./user-type.enum.js";
6
5
  import { require_registry_enum } from "./registry.enum.js";
7
6
  var require_enums = /* @__PURE__ */ __commonJSMin(((e) => {
8
- var o = e && e.__createBinding || (Object.create ? function(e, n, r, i) {
9
- i === void 0 && (i = r);
10
- var a = Object.getOwnPropertyDescriptor(n, r);
11
- (!a || ("get" in a ? !n.__esModule : a.writable || a.configurable)) && (a = {
7
+ var a = e && e.__createBinding || (Object.create ? function(e, t, n, r) {
8
+ r === void 0 && (r = n);
9
+ var i = Object.getOwnPropertyDescriptor(t, n);
10
+ (!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = {
12
11
  enumerable: !0,
13
12
  get: function() {
14
- return n[r];
13
+ return t[n];
15
14
  }
16
- }), Object.defineProperty(e, i, a);
17
- } : function(e, n, r, i) {
18
- i === void 0 && (i = r), e[i] = n[r];
19
- }), s = e && e.__exportStar || function(e, n) {
20
- for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && o(n, e, r);
15
+ }), Object.defineProperty(e, r, i);
16
+ } : function(e, t, n, r) {
17
+ r === void 0 && (r = n), e[r] = t[n];
18
+ }), o = e && e.__exportStar || function(e, t) {
19
+ for (var n in e) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && a(t, e, n);
21
20
  };
22
- Object.defineProperty(e, "__esModule", { value: !0 }), s(require_pipeline_state(), e), s(require_sort_order_enum(), e), s(require_workflow_state_enum(), e), s(require_user_type_enum(), e), s(require_registry_enum(), e);
21
+ Object.defineProperty(e, "__esModule", { value: !0 }), o(require_sort_order_enum(), e), o(require_workflow_state_enum(), e), o(require_user_type_enum(), e), o(require_registry_enum(), e);
23
22
  }));
24
23
  export default require_enums();
25
24
  export { require_enums };
@@ -3,7 +3,7 @@ var require_workflow_state_enum = /* @__PURE__ */ __commonJSMin(((e) => {
3
3
  Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkflowState = void 0;
4
4
  var t;
5
5
  (function(e) {
6
- e.Pending = "pending", e.Running = "running", e.Waiting = "waiting", e.Completed = "completed", e.Failed = "failed", e.Canceled = "canceled";
6
+ e.Pending = "pending", e.Running = "running", e.Paused = "paused", e.Waiting = "waiting", e.Completed = "completed", e.Failed = "failed", e.Canceled = "canceled";
7
7
  })(t || (e.WorkflowState = t = {}));
8
8
  }));
9
9
  export default require_workflow_state_enum();