@loopstack/loopstack-studio 0.29.5 → 0.31.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 (122) hide show
  1. package/dist/_virtual/rolldown_runtime.js +3 -1
  2. package/dist/api/config.js +5 -4
  3. package/dist/api/environments.js +5 -1
  4. package/dist/api/processor.js +4 -1
  5. package/dist/app/EnvironmentEmbedRoot.js +22 -30
  6. package/dist/components/ai-elements/code-block.js +4 -4
  7. package/dist/components/dynamic-form/CodeContent.js +1 -1
  8. package/dist/components/dynamic-form/FormBody.js +1 -1
  9. package/dist/components/layout/StudioSidebar.js +116 -131
  10. package/dist/components/lists/ListView.js +46 -46
  11. package/dist/components/motion/FadeIn.js +72 -0
  12. package/dist/components/motion/StreamingText.js +49 -0
  13. package/dist/components/ui/accordion.js +2 -2
  14. package/dist/components/ui-widgets/UiWidget.js +11 -10
  15. package/dist/components/ui-widgets/widgets/AiPromptInput.js +31 -28
  16. package/dist/events/sse-client-events.js +7 -1
  17. package/dist/features/code-explorer/components/FileContentViewer.js +2 -2
  18. package/dist/features/dashboard/AppLauncher.js +84 -0
  19. package/dist/features/debug/components/WorkflowFlowViewer.js +49 -51
  20. package/dist/features/documents/DocumentRenderer.js +18 -17
  21. package/dist/features/documents/components/DocumentItem.js +42 -20
  22. package/dist/features/documents/components/DocumentList.js +34 -36
  23. package/dist/features/documents/components/DocumentMetadataPills.js +102 -49
  24. package/dist/features/documents/document-details/DocumentDetails.js +577 -377
  25. package/dist/features/documents/document-details/PromptDetails.js +118 -130
  26. package/dist/features/documents/document-details/document-debug-utils.js +100 -0
  27. package/dist/features/documents/renderers/ChoicesRenderer.js +41 -38
  28. package/dist/features/documents/renderers/ConfirmPromptRenderer.js +31 -28
  29. package/dist/features/documents/renderers/DocumentFormRenderer.js +62 -70
  30. package/dist/features/documents/renderers/LlmMessage.js +52 -47
  31. package/dist/features/documents/renderers/TextPromptRenderer.js +32 -29
  32. package/dist/features/documents/renderers/useDocumentTransition.js +4 -4
  33. package/dist/features/feature-registry/FeatureRegistryProvider.js +32 -10
  34. package/dist/features/feature-registry/available-features.js +12 -0
  35. package/dist/features/feature-registry/index.js +2 -1
  36. package/dist/features/file-explorer/components/FileExplorerPanel.js +55 -51
  37. package/dist/features/git/components/GitBranchBadge.js +31 -0
  38. package/dist/features/git/components/GitCommitList.js +46 -0
  39. package/dist/features/git/components/GitRemoteStatus.js +84 -0
  40. package/dist/features/git/components/WorkbenchGitPanel.js +81 -0
  41. package/dist/features/git/git-feature.js +12 -0
  42. package/dist/features/git/hooks/useGit.js +78 -0
  43. package/dist/features/git/index.js +1 -0
  44. package/dist/features/oauth/OAuthPromptRenderer.js +137 -142
  45. package/dist/features/runs/Runs.js +73 -73
  46. package/dist/features/secrets/components/WorkbenchSecretsPanel.js +1 -1
  47. package/dist/features/secrets/renderers/SecretInputRenderer.js +30 -29
  48. package/dist/features/workbench/Workbench.js +25 -33
  49. package/dist/features/workbench/WorkflowItem.js +9 -9
  50. package/dist/features/workbench/WorkflowList.js +61 -62
  51. package/dist/features/workbench/components/NewRunDialog.js +237 -209
  52. package/dist/features/workbench/components/RecentRunItem.js +3 -3
  53. package/dist/features/workbench/components/WorkbenchEnvironmentPanel.js +8 -8
  54. package/dist/features/workbench/components/WorkbenchIconSidebar.js +74 -109
  55. package/dist/features/workbench/components/WorkbenchSidebarShell.js +3 -3
  56. package/dist/features/workbench/components/WorkflowForms.js +11 -10
  57. package/dist/features/workbench/components/WorkflowHistoryItem.js +16 -36
  58. package/dist/features/workbench/components/WorkflowHistoryList.js +19 -17
  59. package/dist/features/workbench/components/buttons/WorkflowButtons.js +3 -3
  60. package/dist/features/workbench/hooks/useLlmStreamingDocuments.js +159 -0
  61. package/dist/features/workbench/hooks/useWorkflowData.js +58 -31
  62. package/dist/features/workbench/index.js +2 -2
  63. package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +53 -53
  64. package/dist/features/workspaces/Workspaces.js +166 -136
  65. package/dist/features/workspaces/components/CreateWorkspace.js +115 -107
  66. package/dist/features/workspaces/components/ExecutionTimeline.js +2 -2
  67. package/dist/features/workspaces/components/WorkflowRunForm.js +127 -104
  68. package/dist/features/workspaces/components/WorkspaceHomePage.js +6 -89
  69. package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +1 -1
  70. package/dist/features/workspaces/components/workflow-form/SelectionView.js +15 -15
  71. package/dist/hooks/index.js +3 -2
  72. package/dist/hooks/query-keys.js +43 -30
  73. package/dist/hooks/useConfig.js +28 -22
  74. package/dist/hooks/useEnvironments.js +27 -2
  75. package/dist/hooks/useProcessor.js +14 -1
  76. package/dist/hooks/useWorkflows.js +4 -4
  77. package/dist/index.d.ts +119 -18
  78. package/dist/index.js +10 -9
  79. package/dist/node_modules/d3/src/index.js +13 -13
  80. package/dist/node_modules/d3-scale/src/continuous.js +16 -16
  81. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-3BPJPVTR.js +43 -43
  82. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-GPEHLZMM.js +270 -270
  83. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AAUBKEIU.js +90 -90
  84. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3OPIFGDE.js +458 -458
  85. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +3 -3
  86. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5ZQYHXKU.js +37 -37
  87. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-727SXJPM.js +208 -208
  88. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-KSCS5N6A.js +145 -145
  89. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ND2GUHAM.js +7 -7
  90. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O5CBEL6O.js +41 -41
  91. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WU5MYG2G.js +3 -3
  92. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +6 -6
  93. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-KO2AKTUF.js +30 -30
  94. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-OG6HWLK6.js +82 -82
  95. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-TEJ5UH35.js +65 -65
  96. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-I6XJVG4X.js +227 -227
  97. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-6RSMTGT7.js +104 -104
  98. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-PVQCEYII.js +104 -104
  99. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-JHISSGLW.js +49 -49
  100. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-W4KKPZXB.js +101 -101
  101. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-5OEKKPKP.js +20 -20
  102. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-3UESZ5HK.js +354 -354
  103. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-AJRCARHV.js +53 -53
  104. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-PNZ67QCA.js +113 -113
  105. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-CIIHVFJN.js +90 -90
  106. package/dist/node_modules/mermaid/dist/mermaid.core.js +156 -156
  107. package/dist/node_modules/motion/dist/es/react.js +9 -2
  108. package/dist/pages/DashboardPage.js +20 -74
  109. package/dist/pages/DebugWorkflowDetailsPage.js +2 -2
  110. package/dist/pages/DebugWorkflowsPage.js +76 -106
  111. package/dist/pages/EmbedWorkbenchPage.js +1 -1
  112. package/dist/pages/PreviewWorkbenchPage.js +6 -6
  113. package/dist/pages/WorkbenchPage.js +43 -47
  114. package/dist/pages/WorkflowDebugPage.js +6 -12
  115. package/dist/pages/WorkspacePage.js +40 -66
  116. package/dist/pages/WorkspaceRunsPage.js +24 -31
  117. package/dist/routing/LocalRouter.js +1 -1
  118. package/package.json +2 -2
  119. package/dist/features/dashboard/Dashboard.js +0 -125
  120. package/dist/features/dashboard/RunItem.js +0 -78
  121. package/dist/features/dashboard/RunList.js +0 -32
  122. package/dist/hooks/useDashboard.js +0 -16
@@ -1,5 +1,4 @@
1
- import { useAppConfig, useWorkflowConfig } from "../../../hooks/useConfig.js";
2
- import { useCreateWorkflow } from "../../../hooks/useWorkflows.js";
1
+ import { useAppsConfig } from "../../../hooks/useConfig.js";
3
2
  import { useFilterWorkspaces } from "../../../hooks/useWorkspaces.js";
4
3
  import { useComponentOverrides } from "../../../providers/ComponentOverridesProvider.js";
5
4
  import { Button } from "../../../components/ui/button.js";
@@ -8,322 +7,351 @@ import { Dialog, DialogContent, DialogTitle } from "../../../components/ui/dialo
8
7
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../../../components/ui/select.js";
9
8
  import ErrorSnackbar_default from "../../../components/feedback/ErrorSnackbar.js";
10
9
  import CreateWorkspace_default from "../../workspaces/components/CreateWorkspace.js";
10
+ import { useStartWorkflow } from "../../../hooks/useProcessor.js";
11
11
  import Form_default from "../../../components/dynamic-form/Form.js";
12
- import { useRunWorkflow } from "../../../hooks/useProcessor.js";
13
12
  import "../../workspaces/index.js";
14
13
  import { c } from "react/compiler-runtime";
15
- import { useCallback, useEffect, useMemo, useState } from "react";
14
+ import { useEffect, useMemo, useState } from "react";
16
15
  import { jsx, jsxs } from "react/jsx-runtime";
17
16
  import { Check, CheckIcon, ChevronDown, Loader2, Plus } from "lucide-react";
18
17
  import * as SelectPrimitive from "@radix-ui/react-select";
19
18
  import { useForm } from "react-hook-form";
20
19
  function NewRunDialog(e) {
21
- let t = c(8), { open: n, onOpenChange: r, onSuccess: i } = e, a;
22
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ jsx(DialogTitle, { children: "New Run" }), t[0] = a) : a = t[0];
23
- let o;
24
- t[1] !== i || t[2] !== n ? (o = /* @__PURE__ */ jsxs(DialogContent, {
20
+ let t = c(8), { open: n, onOpenChange: r, onSuccess: ce } = e, i;
21
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ jsx(DialogTitle, { children: "New Run" }), t[0] = i) : i = t[0];
22
+ let a;
23
+ t[1] !== ce || t[2] !== n ? (a = /* @__PURE__ */ jsxs(DialogContent, {
25
24
  className: "max-h-[80vh] min-h-[300px] !max-w-2xl",
26
- children: [a, /* @__PURE__ */ jsx(NewRunDialogContent, {
25
+ children: [i, /* @__PURE__ */ jsx(NewRunDialogContent, {
27
26
  open: n,
28
- onSuccess: i
27
+ onSuccess: ce
29
28
  })]
30
- }), t[1] = i, t[2] = n, t[3] = o) : o = t[3];
31
- let s;
32
- return t[4] !== r || t[5] !== n || t[6] !== o ? (s = /* @__PURE__ */ jsx(Dialog, {
29
+ }), t[1] = ce, t[2] = n, t[3] = a) : a = t[3];
30
+ let u;
31
+ return t[4] !== r || t[5] !== n || t[6] !== a ? (u = /* @__PURE__ */ jsx(Dialog, {
33
32
  open: n,
34
33
  onOpenChange: r,
35
- children: o
36
- }), t[4] = r, t[5] = n, t[6] = o, t[7] = s) : s = t[7], s;
34
+ children: a
35
+ }), t[4] = r, t[5] = n, t[6] = a, t[7] = u) : u = t[7], u;
37
36
  }
38
- function NewRunDialogContent(o) {
39
- let s = c(115), { open: l, onSuccess: u } = o, [d, f] = useState("workspace"), [p, g] = useState(!1), [v, me] = useState(""), [y, he] = useState(""), { CreateWorkspace: x } = useComponentOverrides(), _e = x ?? CreateWorkspace_default, ve = useAppConfig(), ye;
40
- s[0] === Symbol.for("react.memo_cache_sentinel") ? (ye = {}, s[0] = ye) : ye = s[0];
41
- let S = useFilterWorkspaces(void 0, ye, "title", "ASC", 0, 100), be;
42
- s[1] === S.data?.data ? be = s[2] : (be = S.data?.data ?? [], s[1] = S.data?.data, s[2] = be);
43
- let C = be, xe;
44
- if (s[3] !== v || s[4] !== C) {
37
+ function NewRunDialogContent(ce) {
38
+ let i = c(116), { open: a, onSuccess: o } = ce, [s, l] = useState("workspace"), [d, h] = useState(!1), [_, v] = useState(""), [y, x] = useState(""), { CreateWorkspace: C } = useComponentOverrides(), w = C ?? CreateWorkspace_default, T = useAppsConfig(), he;
39
+ i[0] === Symbol.for("react.memo_cache_sentinel") ? (he = {}, i[0] = he) : he = i[0];
40
+ let E = useFilterWorkspaces(void 0, he, "title", "ASC", 0, 100), ge;
41
+ i[1] === E.data?.data ? ge = i[2] : (ge = E.data?.data ?? [], i[1] = E.data?.data, i[2] = ge);
42
+ let D = ge, _e;
43
+ if (i[3] !== _ || i[4] !== D) {
45
44
  let e;
46
- s[6] === v ? e = s[7] : (e = (e) => e.id === v, s[6] = v, s[7] = e), xe = C.find(e), s[3] = v, s[4] = C, s[5] = xe;
47
- } else xe = s[5];
48
- let Se = xe, w = useWorkflowConfig(Se?.className), Ce;
49
- s[8] === w.data ? Ce = s[9] : (Ce = w.data ?? [], s[8] = w.data, s[9] = Ce);
50
- let T = Ce, E = useCreateWorkflow(), D = useRunWorkflow(), O = E.isPending || D.isPending, k;
51
- s[10] === Symbol.for("react.memo_cache_sentinel") ? (k = {
52
- defaultValues: {},
53
- mode: "onChange"
54
- }, s[10] = k) : k = s[10];
55
- let A = useForm(k), we;
45
+ i[6] === _ ? e = i[7] : (e = (e) => e.id === _, i[6] = _, i[7] = e), _e = D.find(e), i[3] = _, i[4] = D, i[5] = _e;
46
+ } else _e = i[5];
47
+ let O = _e, ve;
56
48
  bb0: {
57
- if (!y || !T.length) {
58
- we = void 0;
49
+ if (!O || !T.data) {
50
+ ve = void 0;
59
51
  break bb0;
60
52
  }
61
53
  let e;
62
- if (s[11] !== y || s[12] !== T) {
54
+ if (i[8] !== T.data || i[9] !== O) {
55
+ let t;
56
+ i[11] === O ? t = i[12] : (t = (e) => e.appName === O.appName, i[11] = O, i[12] = t), e = T.data.find(t), i[8] = T.data, i[9] = O, i[10] = e;
57
+ } else e = i[10];
58
+ ve = e;
59
+ }
60
+ let ye = ve, be;
61
+ bb1: {
62
+ if (!ye) {
63
+ let e;
64
+ i[13] === Symbol.for("react.memo_cache_sentinel") ? (e = [], i[13] = e) : e = i[13], be = e;
65
+ break bb1;
66
+ }
67
+ be = ye.workflows;
68
+ }
69
+ let k = be, xe;
70
+ bb2: {
71
+ if (!T.data) {
72
+ let e;
73
+ i[14] === Symbol.for("react.memo_cache_sentinel") ? (e = [], i[14] = e) : e = i[14], xe = e;
74
+ break bb2;
75
+ }
76
+ let e;
77
+ i[15] === T.data ? e = i[16] : (e = T.data.map(_temp), i[15] = T.data, i[16] = e), xe = e;
78
+ }
79
+ let Se = xe, A = useStartWorkflow(), j = A.isPending, M;
80
+ i[17] === Symbol.for("react.memo_cache_sentinel") ? (M = {
81
+ defaultValues: {},
82
+ mode: "onChange"
83
+ }, i[17] = M) : M = i[17];
84
+ let N = useForm(M), Ce;
85
+ bb3: {
86
+ if (!y) {
87
+ Ce = void 0;
88
+ break bb3;
89
+ }
90
+ let e;
91
+ if (i[18] !== k || i[19] !== y) {
63
92
  let t;
64
- s[14] === y ? t = s[15] : (t = (e) => e.alias === y, s[14] = y, s[15] = t), e = T.find(t), s[11] = y, s[12] = T, s[13] = e;
65
- } else e = s[13];
66
- we = e;
93
+ i[21] === y ? t = i[22] : (t = (e) => e.workflowName === y, i[21] = y, i[22] = t), e = k.find(t), i[18] = k, i[19] = y, i[20] = e;
94
+ } else e = i[20];
95
+ Ce = e;
67
96
  }
68
- let j = we, M = !!j?.schema, N;
69
- s[16] !== v || s[17] !== C[0] || s[18] !== C.length ? (N = () => {
70
- !v && C.length > 0 && me(C[0].id);
71
- }, s[16] = v, s[17] = C[0], s[18] = C.length, s[19] = N) : N = s[19];
72
- let P;
73
- s[20] !== v || s[21] !== C ? (P = [C, v], s[20] = v, s[21] = C, s[22] = P) : P = s[22], useEffect(N, P);
74
- let F, Te;
75
- s[23] !== y || s[24] !== T ? (Te = () => {
76
- T.length > 0 && !T.find((e) => e.alias === y) && he(T[0].alias);
77
- }, F = [T, y], s[23] = y, s[24] = T, s[25] = F, s[26] = Te) : (F = s[25], Te = s[26]), useEffect(Te, F);
97
+ let P = Ce, F = P?.schema, I = !!F, we;
98
+ i[23] === k ? we = i[24] : (we = k.map(_temp2), i[23] = k, i[24] = we);
99
+ let L = we, Te;
100
+ i[25] !== _ || i[26] !== D[0] || i[27] !== D.length ? (Te = () => {
101
+ !_ && D.length > 0 && v(D[0].id);
102
+ }, i[25] = _, i[26] = D[0], i[27] = D.length, i[28] = Te) : Te = i[28];
78
103
  let Ee;
79
- s[27] !== E || s[28] !== A || s[29] !== l || s[30] !== D ? (Ee = () => {
80
- l || (f("workspace"), g(!1), me(""), he(""), A.reset({}), E.reset(), D.reset());
81
- }, s[27] = E, s[28] = A, s[29] = l, s[30] = D, s[31] = Ee) : Ee = s[31];
82
- let De;
83
- s[32] === l ? De = s[33] : (De = [l], s[32] = l, s[33] = De), useEffect(Ee, De);
84
- let Oe;
85
- s[34] === Symbol.for("react.memo_cache_sentinel") ? (Oe = (e) => {
86
- me(e), f("automation");
87
- }, s[34] = Oe) : Oe = s[34];
88
- let ke = Oe, Ae;
89
- s[35] === A ? Ae = s[36] : (Ae = (e) => {
90
- he(e), A.reset({});
91
- }, s[35] = A, s[36] = Ae);
92
- let je = Ae, Me, I;
93
- s[37] !== M || s[38] !== y || s[39] !== j ? (Me = () => {
94
- y && j && M && f("config");
95
- }, I = [
96
- j,
97
- y,
98
- M
99
- ], s[37] = M, s[38] = y, s[39] = j, s[40] = Me, s[41] = I) : (Me = s[40], I = s[41]), useEffect(Me, I);
100
- let Ne;
101
- s[42] !== E || s[43] !== u || s[44] !== D || s[45] !== y || s[46] !== v ? (Ne = (e, t) => {
102
- !v || !y || E.mutate({ workflowCreateDto: {
103
- alias: y,
104
- title: null,
105
- workspaceId: v,
106
- transition: e ?? null,
107
- args: t ?? {}
108
- } }, { onSuccess: (e) => {
109
- D.mutate({
110
- workflowId: e.id,
111
- runWorkflowPayloadDto: {},
112
- force: !0
113
- }, { onSuccess: () => u(e.id) });
114
- } });
115
- }, s[42] = E, s[43] = u, s[44] = D, s[45] = y, s[46] = v, s[47] = Ne) : Ne = s[47];
116
- let Pe = Ne, Fe;
117
- s[48] !== Pe || s[49] !== A || s[50] !== M ? (Fe = () => {
118
- M ? A.handleSubmit((e) => Pe("", e))() : Pe();
119
- }, s[48] = Pe, s[49] = A, s[50] = M, s[51] = Fe) : Fe = s[51];
120
- let Ie = Fe, Le = !!v && !!y, Re;
121
- s[52] === Symbol.for("react.memo_cache_sentinel") ? (Re = (e) => {
122
- f((t) => t === e ? null : e);
123
- }, s[52] = Re) : Re = s[52];
124
- let ze = Re, Be = !!v, L = !!y, R = Be, Ve = L && M, z;
125
- s[53] === E.error ? z = s[54] : (z = /* @__PURE__ */ jsx(ErrorSnackbar_default, { error: E.error }), s[53] = E.error, s[54] = z);
126
- let B;
127
- s[55] === D.error ? B = s[56] : (B = /* @__PURE__ */ jsx(ErrorSnackbar_default, { error: D.error }), s[55] = D.error, s[56] = B);
128
- let He = Se?.title, Ue = d === "workspace", We = Be && d !== "workspace", Ge;
129
- s[57] === Symbol.for("react.memo_cache_sentinel") ? (Ge = () => ze("workspace"), s[57] = Ge) : Ge = s[57];
104
+ i[29] !== _ || i[30] !== D ? (Ee = [D, _], i[29] = _, i[30] = D, i[31] = Ee) : Ee = i[31], useEffect(Te, Ee);
105
+ let De, Oe;
106
+ i[32] !== y || i[33] !== L ? (De = () => {
107
+ L.length > 0 && !L.find((e) => e.key === y) && x(L[0].key);
108
+ }, Oe = [L, y], i[32] = y, i[33] = L, i[34] = De, i[35] = Oe) : (De = i[34], Oe = i[35]), useEffect(De, Oe);
109
+ let ke;
110
+ i[36] !== N || i[37] !== a || i[38] !== A ? (ke = () => {
111
+ a || (l("workspace"), h(!1), v(""), x(""), N.reset({}), A.reset());
112
+ }, i[36] = N, i[37] = a, i[38] = A, i[39] = ke) : ke = i[39];
113
+ let Ae;
114
+ i[40] === a ? Ae = i[41] : (Ae = [a], i[40] = a, i[41] = Ae), useEffect(ke, Ae);
115
+ let je;
116
+ i[42] === Symbol.for("react.memo_cache_sentinel") ? (je = (e) => {
117
+ v(e), x(""), l("automation");
118
+ }, i[42] = je) : je = i[42];
119
+ let Me = je, Ne;
120
+ i[43] === N ? Ne = i[44] : (Ne = (e) => {
121
+ x(e), N.reset({});
122
+ }, i[43] = N, i[44] = Ne);
123
+ let Pe = Ne, Fe, Ie;
124
+ i[45] !== I || i[46] !== y ? (Fe = () => {
125
+ y && I && l("config");
126
+ }, Ie = [y, I], i[45] = I, i[46] = y, i[47] = Fe, i[48] = Ie) : (Fe = i[47], Ie = i[48]), useEffect(Fe, Ie);
127
+ let Le;
128
+ i[49] !== N || i[50] !== I || i[51] !== o || i[52] !== P || i[53] !== _ || i[54] !== A ? (Le = () => {
129
+ let e = (e) => {
130
+ !_ || !P || A.mutate({ payload: {
131
+ workflowName: P.workflowName,
132
+ workspaceId: _,
133
+ args: e ?? {}
134
+ } }, { onSuccess: (e) => o(e.workflowId) });
135
+ };
136
+ I ? N.handleSubmit((t) => e(t))() : e();
137
+ }, i[49] = N, i[50] = I, i[51] = o, i[52] = P, i[53] = _, i[54] = A, i[55] = Le) : Le = i[55];
138
+ let Re = Le, ze = !!_ && !!y, Be;
139
+ i[56] === Symbol.for("react.memo_cache_sentinel") ? (Be = (e) => {
140
+ l((t) => t === e ? null : e);
141
+ }, i[56] = Be) : Be = i[56];
142
+ let Ve = Be, He = !!_, R = !!y, z = He, Ue = R && I, B;
143
+ i[57] === A.error ? B = i[58] : (B = /* @__PURE__ */ jsx(ErrorSnackbar_default, { error: A.error }), i[57] = A.error, i[58] = B);
144
+ let We = O?.title, Ge = s === "workspace", Ke = He && s !== "workspace", qe;
145
+ i[59] === Symbol.for("react.memo_cache_sentinel") ? (qe = () => Ve("workspace"), i[59] = qe) : qe = i[59];
130
146
  let V;
131
- s[58] !== _e || s[59] !== ve || s[60] !== v || s[61] !== p || s[62] !== C ? (V = p ? /* @__PURE__ */ jsx("div", {
147
+ i[60] !== w || i[61] !== Se || i[62] !== _ || i[63] !== d || i[64] !== D ? (V = d ? /* @__PURE__ */ jsx("div", {
132
148
  className: "pt-2",
133
- children: /* @__PURE__ */ jsx(_e, {
134
- types: ve.data ?? [],
149
+ children: /* @__PURE__ */ jsx(w, {
150
+ types: Se,
135
151
  onSuccess: () => {
136
- g(!1);
152
+ h(!1);
137
153
  }
138
154
  })
139
155
  }) : /* @__PURE__ */ jsxs("div", {
140
156
  className: "flex gap-2 pt-2",
141
157
  children: [/* @__PURE__ */ jsxs(Select, {
142
- value: v,
143
- onValueChange: ke,
158
+ value: _,
159
+ onValueChange: Me,
144
160
  children: [/* @__PURE__ */ jsx(SelectTrigger, {
145
161
  id: "workspace",
146
162
  className: "flex-1",
147
163
  children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select a workspace..." })
148
- }), /* @__PURE__ */ jsx(SelectContent, { children: C.map(_temp) })]
164
+ }), /* @__PURE__ */ jsx(SelectContent, { children: D.map(_temp3) })]
149
165
  }), /* @__PURE__ */ jsx(Button, {
150
166
  variant: "outline",
151
- onClick: () => g(!0),
167
+ onClick: () => h(!0),
152
168
  className: "px-3",
153
169
  title: "Create new workspace",
154
170
  children: /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4" })
155
171
  })]
156
- }), s[58] = _e, s[59] = ve, s[60] = v, s[61] = p, s[62] = C, s[63] = V) : V = s[63];
172
+ }), i[60] = w, i[61] = Se, i[62] = _, i[63] = d, i[64] = D, i[65] = V) : V = i[65];
157
173
  let H;
158
- s[64] !== S.isLoading || s[65] !== He || s[66] !== Ue || s[67] !== We || s[68] !== V ? (H = /* @__PURE__ */ jsx(StepSection, {
174
+ i[66] !== E.isLoading || i[67] !== We || i[68] !== Ge || i[69] !== Ke || i[70] !== V ? (H = /* @__PURE__ */ jsx(StepSection, {
159
175
  step: 1,
160
176
  title: "Select Workspace",
161
- summary: He,
162
- isActive: Ue,
163
- isComplete: We,
177
+ summary: We,
178
+ isActive: Ge,
179
+ isComplete: Ke,
164
180
  isEnabled: !0,
165
- isLoading: S.isLoading,
166
- onToggle: Ge,
181
+ isLoading: E.isLoading,
182
+ onToggle: qe,
167
183
  children: V
168
- }), s[64] = S.isLoading, s[65] = He, s[66] = Ue, s[67] = We, s[68] = V, s[69] = H) : H = s[69];
184
+ }), i[66] = E.isLoading, i[67] = We, i[68] = Ge, i[69] = Ke, i[70] = V, i[71] = H) : H = i[71];
169
185
  let U;
170
- s[70] !== L || s[71] !== y || s[72] !== T ? (U = L ? T.find((e) => e.alias === y)?.title ?? y : void 0, s[70] = L, s[71] = y, s[72] = T, s[73] = U) : U = s[73];
171
- let Ke = d === "automation", qe = L && d !== "automation", Je = w.isLoading, W;
172
- s[74] === R ? W = s[75] : (W = () => R && ze("automation"), s[74] = R, s[75] = W);
173
- let Ye;
174
- s[76] === Symbol.for("react.memo_cache_sentinel") ? (Ye = /* @__PURE__ */ jsx(SelectTrigger, {
186
+ i[72] !== R || i[73] !== y || i[74] !== L ? (U = R ? L.find((e) => e.key === y)?.title ?? y : void 0, i[72] = R, i[73] = y, i[74] = L, i[75] = U) : U = i[75];
187
+ let Je = s === "automation", Ye = R && s !== "automation", Xe = T.isLoading, W;
188
+ i[76] === z ? W = i[77] : (W = () => z && Ve("automation"), i[76] = z, i[77] = W);
189
+ let G;
190
+ i[78] === Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ jsx(SelectTrigger, {
175
191
  id: "automation",
176
192
  className: "w-full",
177
193
  children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select a workflow..." })
178
- }), s[76] = Ye) : Ye = s[76];
179
- let G;
180
- s[77] === T ? G = s[78] : (G = T.map(_temp2), s[77] = T, s[78] = G);
194
+ }), i[78] = G) : G = i[78];
181
195
  let K;
182
- s[79] === G ? K = s[80] : (K = /* @__PURE__ */ jsx(SelectContent, { children: G }), s[79] = G, s[80] = K);
196
+ i[79] === L ? K = i[80] : (K = L.map(_temp4), i[79] = L, i[80] = K);
183
197
  let q;
184
- s[81] !== je || s[82] !== O || s[83] !== y || s[84] !== K ? (q = /* @__PURE__ */ jsx("div", {
198
+ i[81] === K ? q = i[82] : (q = /* @__PURE__ */ jsx(SelectContent, { children: K }), i[81] = K, i[82] = q);
199
+ let J;
200
+ i[83] !== Pe || i[84] !== j || i[85] !== y || i[86] !== q ? (J = /* @__PURE__ */ jsx("div", {
185
201
  className: "pt-2",
186
202
  children: /* @__PURE__ */ jsxs(Select, {
187
203
  value: y,
188
- onValueChange: je,
189
- disabled: O,
190
- children: [Ye, K]
204
+ onValueChange: Pe,
205
+ disabled: j,
206
+ children: [G, q]
191
207
  })
192
- }), s[81] = je, s[82] = O, s[83] = y, s[84] = K, s[85] = q) : q = s[85];
193
- let J;
194
- s[86] !== R || s[87] !== w.isLoading || s[88] !== U || s[89] !== Ke || s[90] !== qe || s[91] !== W || s[92] !== q ? (J = /* @__PURE__ */ jsx(StepSection, {
208
+ }), i[83] = Pe, i[84] = j, i[85] = y, i[86] = q, i[87] = J) : J = i[87];
209
+ let Y;
210
+ i[88] !== z || i[89] !== T.isLoading || i[90] !== U || i[91] !== Je || i[92] !== Ye || i[93] !== W || i[94] !== J ? (Y = /* @__PURE__ */ jsx(StepSection, {
195
211
  step: 2,
196
212
  title: "Select Workflow",
197
213
  summary: U,
198
- isActive: Ke,
199
- isComplete: qe,
200
- isEnabled: R,
201
- isLoading: Je,
214
+ isActive: Je,
215
+ isComplete: Ye,
216
+ isEnabled: z,
217
+ isLoading: Xe,
202
218
  onToggle: W,
203
- children: q
204
- }), s[86] = R, s[87] = w.isLoading, s[88] = U, s[89] = Ke, s[90] = qe, s[91] = W, s[92] = q, s[93] = J) : J = s[93];
205
- let Y;
206
- s[94] !== d || s[95] !== Ve || s[96] !== A || s[97] !== M || s[98] !== j ? (Y = M && /* @__PURE__ */ jsx(StepSection, {
219
+ children: J
220
+ }), i[88] = z, i[89] = T.isLoading, i[90] = U, i[91] = Je, i[92] = Ye, i[93] = W, i[94] = J, i[95] = Y) : Y = i[95];
221
+ let X;
222
+ i[96] !== s || i[97] !== Ue || i[98] !== N || i[99] !== I || i[100] !== F ? (X = I && /* @__PURE__ */ jsx(StepSection, {
207
223
  step: 3,
208
224
  title: "Configuration",
209
- isActive: d === "config",
225
+ isActive: s === "config",
210
226
  isComplete: !1,
211
- isEnabled: Ve,
212
- onToggle: () => Ve && ze("config"),
227
+ isEnabled: Ue,
228
+ onToggle: () => Ue && Ve("config"),
213
229
  children: /* @__PURE__ */ jsx("div", {
214
230
  className: "max-h-72 overflow-y-auto pt-2",
215
- children: j?.schema && /* @__PURE__ */ jsx(Form_default, {
216
- form: A,
217
- schema: j.schema,
218
- ui: j.ui,
231
+ children: F && /* @__PURE__ */ jsx(Form_default, {
232
+ form: N,
233
+ schema: F,
219
234
  disabled: !1,
220
235
  viewOnly: !1
221
236
  })
222
237
  })
223
- }), s[94] = d, s[95] = Ve, s[96] = A, s[97] = M, s[98] = j, s[99] = Y) : Y = s[99];
224
- let X;
225
- s[100] !== H || s[101] !== J || s[102] !== Y ? (X = /* @__PURE__ */ jsxs("div", {
238
+ }), i[96] = s, i[97] = Ue, i[98] = N, i[99] = I, i[100] = F, i[101] = X) : X = i[101];
239
+ let Z;
240
+ i[102] !== H || i[103] !== Y || i[104] !== X ? (Z = /* @__PURE__ */ jsxs("div", {
226
241
  className: "space-y-2",
227
242
  children: [
228
243
  H,
229
- J,
230
- Y
244
+ Y,
245
+ X
231
246
  ]
232
- }), s[100] = H, s[101] = J, s[102] = Y, s[103] = X) : X = s[103];
233
- let Xe = !Le || O, Z;
234
- s[104] === O ? Z = s[105] : (Z = O && /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }), s[104] = O, s[105] = Z);
235
- let Q;
236
- s[106] !== Ie || s[107] !== Xe || s[108] !== Z ? (Q = /* @__PURE__ */ jsx("div", {
247
+ }), i[102] = H, i[103] = Y, i[104] = X, i[105] = Z) : Z = i[105];
248
+ let Ze = !ze || j, Q;
249
+ i[106] === j ? Q = i[107] : (Q = j && /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }), i[106] = j, i[107] = Q);
250
+ let $;
251
+ i[108] !== Re || i[109] !== Ze || i[110] !== Q ? ($ = /* @__PURE__ */ jsx("div", {
237
252
  className: "mt-4 flex justify-end border-t pt-4",
238
253
  children: /* @__PURE__ */ jsxs(Button, {
239
254
  variant: "default",
240
- disabled: Xe,
241
- onClick: Ie,
255
+ disabled: Ze,
256
+ onClick: Re,
242
257
  size: "lg",
243
258
  className: "font-medium",
244
- children: [Z, "Run Now"]
259
+ children: [Q, "Run Now"]
245
260
  })
246
- }), s[106] = Ie, s[107] = Xe, s[108] = Z, s[109] = Q) : Q = s[109];
247
- let $;
248
- return s[110] !== z || s[111] !== B || s[112] !== X || s[113] !== Q ? ($ = /* @__PURE__ */ jsxs("div", {
261
+ }), i[108] = Re, i[109] = Ze, i[110] = Q, i[111] = $) : $ = i[111];
262
+ let Qe;
263
+ return i[112] !== B || i[113] !== Z || i[114] !== $ ? (Qe = /* @__PURE__ */ jsxs("div", {
249
264
  className: "mt-2 overflow-y-auto",
250
265
  children: [
251
- z,
252
266
  B,
253
- X,
254
- Q
267
+ Z,
268
+ $
255
269
  ]
256
- }), s[110] = z, s[111] = B, s[112] = X, s[113] = Q, s[114] = $) : $ = s[114], $;
270
+ }), i[112] = B, i[113] = Z, i[114] = $, i[115] = Qe) : Qe = i[115], Qe;
257
271
  }
258
- function _temp2(e) {
272
+ function _temp4(e) {
259
273
  return /* @__PURE__ */ jsxs(SelectPrimitive.Item, {
260
- value: e.alias,
274
+ value: e.key,
261
275
  className: "focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-pointer flex-col gap-0.5 rounded-sm py-2 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
262
276
  children: [
263
277
  /* @__PURE__ */ jsx("span", {
264
278
  className: "absolute right-2 top-2.5 flex size-3.5 items-center justify-center",
265
279
  children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) })
266
280
  }),
267
- /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children: e.title ?? e.alias }),
281
+ /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children: e.title }),
268
282
  e.description && /* @__PURE__ */ jsx("span", {
269
283
  className: "text-muted-foreground text-xs leading-snug",
270
284
  children: e.description
271
285
  })
272
286
  ]
273
- }, e.alias);
287
+ }, e.key);
274
288
  }
275
- function _temp(e) {
289
+ function _temp3(e) {
276
290
  return /* @__PURE__ */ jsx(SelectItem, {
277
291
  value: e.id,
278
292
  children: e.title
279
293
  }, e.id);
280
294
  }
295
+ function _temp2(e) {
296
+ return {
297
+ key: e.workflowName,
298
+ title: e.title ?? e.workflowName,
299
+ description: e.description
300
+ };
301
+ }
302
+ function _temp(e) {
303
+ return {
304
+ appName: e.appName,
305
+ title: e.title,
306
+ environments: e.extensions?.environments ?? []
307
+ };
308
+ }
281
309
  function StepSection(e) {
282
- let t = c(35), { step: n, title: r, summary: i, isActive: a, isComplete: u, isEnabled: d, isLoading: f, onToggle: se, children: ce } = e, p;
283
- t[0] === se ? p = t[1] : (p = () => se(), t[0] = se, t[1] = p);
284
- let le = `flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-left transition-colors ${d ? "hover:bg-muted/50 cursor-pointer" : "cursor-not-allowed opacity-50"}`, ue = !d, de = `flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full text-xs font-semibold ${u ? "bg-primary text-primary-foreground" : a ? "border-primary text-primary border-2" : "border-border text-muted-foreground border"}`, m;
285
- t[2] !== u || t[3] !== n ? (m = u ? /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5" }) : n, t[2] = u, t[3] = n, t[4] = m) : m = t[4];
286
- let h;
287
- t[5] !== de || t[6] !== m ? (h = /* @__PURE__ */ jsx("div", {
288
- className: de,
289
- children: m
290
- }), t[5] = de, t[6] = m, t[7] = h) : h = t[7];
291
- let fe = `flex-1 text-sm font-medium ${d ? "text-foreground" : "text-muted-foreground"}`, g;
292
- t[8] !== fe || t[9] !== r ? (g = /* @__PURE__ */ jsx("span", {
293
- className: fe,
310
+ let t = c(35), { step: n, title: r, summary: o, isActive: s, isComplete: l, isEnabled: u, isLoading: le, onToggle: d, children: ue } = e, f;
311
+ t[0] === d ? f = t[1] : (f = () => d(), t[0] = d, t[1] = f);
312
+ let de = `flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-left transition-colors ${u ? "hover:bg-muted/50 cursor-pointer" : "cursor-not-allowed opacity-50"}`, fe = !u, pe = `flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full text-xs font-semibold ${l ? "bg-primary text-primary-foreground" : s ? "border-primary text-primary border-2" : "border-border text-muted-foreground border"}`, p;
313
+ t[2] !== l || t[3] !== n ? (p = l ? /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5" }) : n, t[2] = l, t[3] = n, t[4] = p) : p = t[4];
314
+ let m;
315
+ t[5] !== pe || t[6] !== p ? (m = /* @__PURE__ */ jsx("div", {
316
+ className: pe,
317
+ children: p
318
+ }), t[5] = pe, t[6] = p, t[7] = m) : m = t[7];
319
+ let h = `flex-1 text-sm font-medium ${u ? "text-foreground" : "text-muted-foreground"}`, g;
320
+ t[8] !== h || t[9] !== r ? (g = /* @__PURE__ */ jsx("span", {
321
+ className: h,
294
322
  children: r
295
- }), t[8] = fe, t[9] = r, t[10] = g) : g = t[10];
296
- let _;
297
- t[11] !== a || t[12] !== u || t[13] !== i ? (_ = !a && u && i && /* @__PURE__ */ jsx("span", {
298
- className: "text-muted-foreground mr-1 max-w-48 truncate text-sm",
299
- children: i
300
- }), t[11] = a, t[12] = u, t[13] = i, t[14] = _) : _ = t[14];
323
+ }), t[8] = h, t[9] = r, t[10] = g) : g = t[10];
301
324
  let v;
302
- t[15] !== a || t[16] !== f ? (v = f && a && /* @__PURE__ */ jsx(Loader2, { className: "text-muted-foreground h-4 w-4 animate-spin" }), t[15] = a, t[16] = f, t[17] = v) : v = t[17];
303
- let pe = `text-muted-foreground h-4 w-4 transition-transform ${a ? "rotate-180" : ""}`, y;
304
- t[18] === pe ? y = t[19] : (y = /* @__PURE__ */ jsx(ChevronDown, { className: pe }), t[18] = pe, t[19] = y);
325
+ t[11] !== s || t[12] !== l || t[13] !== o ? (v = !s && l && o && /* @__PURE__ */ jsx("span", {
326
+ className: "text-muted-foreground mr-1 max-w-48 truncate text-sm",
327
+ children: o
328
+ }), t[11] = s, t[12] = l, t[13] = o, t[14] = v) : v = t[14];
305
329
  let b;
306
- t[20] !== v || t[21] !== y || t[22] !== le || t[23] !== ue || t[24] !== h || t[25] !== g || t[26] !== _ ? (b = /* @__PURE__ */ jsxs(CollapsibleTrigger, {
307
- className: le,
308
- disabled: ue,
330
+ t[15] !== s || t[16] !== le ? (b = le && s && /* @__PURE__ */ jsx(Loader2, { className: "text-muted-foreground h-4 w-4 animate-spin" }), t[15] = s, t[16] = le, t[17] = b) : b = t[17];
331
+ let x = `text-muted-foreground h-4 w-4 transition-transform ${s ? "rotate-180" : ""}`, S;
332
+ t[18] === x ? S = t[19] : (S = /* @__PURE__ */ jsx(ChevronDown, { className: x }), t[18] = x, t[19] = S);
333
+ let C;
334
+ t[20] !== b || t[21] !== S || t[22] !== de || t[23] !== fe || t[24] !== m || t[25] !== g || t[26] !== v ? (C = /* @__PURE__ */ jsxs(CollapsibleTrigger, {
335
+ className: de,
336
+ disabled: fe,
309
337
  children: [
310
- h,
338
+ m,
311
339
  g,
312
- _,
313
340
  v,
314
- y
341
+ b,
342
+ S
315
343
  ]
316
- }), t[20] = v, t[21] = y, t[22] = le, t[23] = ue, t[24] = h, t[25] = g, t[26] = _, t[27] = b) : b = t[27];
317
- let x;
318
- t[28] === ce ? x = t[29] : (x = /* @__PURE__ */ jsx(CollapsibleContent, {
344
+ }), t[20] = b, t[21] = S, t[22] = de, t[23] = fe, t[24] = m, t[25] = g, t[26] = v, t[27] = C) : C = t[27];
345
+ let w;
346
+ t[28] === ue ? w = t[29] : (w = /* @__PURE__ */ jsx(CollapsibleContent, {
319
347
  className: "px-3 pb-3 pl-13",
320
- children: ce
321
- }), t[28] = ce, t[29] = x);
322
- let ge;
323
- return t[30] !== a || t[31] !== p || t[32] !== b || t[33] !== x ? (ge = /* @__PURE__ */ jsxs(Collapsible, {
324
- open: a,
325
- onOpenChange: p,
326
- children: [b, x]
327
- }), t[30] = a, t[31] = p, t[32] = b, t[33] = x, t[34] = ge) : ge = t[34], ge;
348
+ children: ue
349
+ }), t[28] = ue, t[29] = w);
350
+ let me;
351
+ return t[30] !== s || t[31] !== f || t[32] !== C || t[33] !== w ? (me = /* @__PURE__ */ jsxs(Collapsible, {
352
+ open: s,
353
+ onOpenChange: f,
354
+ children: [C, w]
355
+ }), t[30] = s, t[31] = f, t[32] = C, t[33] = w, t[34] = me) : me = t[34], me;
328
356
  }
329
357
  export { NewRunDialog };
@@ -13,15 +13,15 @@ function RecentRunItem(a) {
13
13
  let o = c(17), { workflow: s, onClick: l } = a, u = `h-1.5 w-1.5 shrink-0 rounded-full ${STATUS_DOT_COLORS[s.status] ?? "bg-muted-foreground"}`, d;
14
14
  o[0] === u ? d = o[1] : (d = /* @__PURE__ */ jsx("span", { className: u }), o[0] = u, o[1] = d);
15
15
  let f;
16
- o[2] !== s.alias || o[3] !== s.run ? (f = /* @__PURE__ */ jsxs("span", {
16
+ o[2] !== s.run || o[3] !== s.workflowName ? (f = /* @__PURE__ */ jsxs("span", {
17
17
  className: "truncate text-sm font-medium",
18
18
  children: [
19
19
  "Run #",
20
20
  s.run,
21
21
  " · ",
22
- s.alias
22
+ s.workflowName
23
23
  ]
24
- }), o[2] = s.alias, o[3] = s.run, o[4] = f) : f = o[4];
24
+ }), o[2] = s.run, o[3] = s.workflowName, o[4] = f) : f = o[4];
25
25
  let p;
26
26
  o[5] !== d || o[6] !== f ? (p = /* @__PURE__ */ jsxs("div", {
27
27
  className: "flex items-center gap-2",