@arbidocs/blocks 0.4.94 → 0.4.96

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 (74) hide show
  1. package/dist/agents/index.cjs +283 -283
  2. package/dist/agents/index.js +7 -7
  3. package/dist/{chunk-3US5OIDQ.cjs → chunk-3WW32OUU.cjs} +3 -3
  4. package/dist/{chunk-3US5OIDQ.cjs.map → chunk-3WW32OUU.cjs.map} +1 -1
  5. package/dist/{chunk-RPCQBET5.cjs → chunk-5YXG342J.cjs} +3 -3
  6. package/dist/{chunk-RPCQBET5.cjs.map → chunk-5YXG342J.cjs.map} +1 -1
  7. package/dist/{chunk-E2AAIMXO.cjs → chunk-7RI3G5BO.cjs} +538 -168
  8. package/dist/chunk-7RI3G5BO.cjs.map +1 -0
  9. package/dist/{chunk-RZGVMV6B.cjs → chunk-CK6TU76J.cjs} +5 -5
  10. package/dist/{chunk-RZGVMV6B.cjs.map → chunk-CK6TU76J.cjs.map} +1 -1
  11. package/dist/{chunk-ZNDAXSDP.js → chunk-H4SVY5FH.js} +3 -3
  12. package/dist/{chunk-ZNDAXSDP.js.map → chunk-H4SVY5FH.js.map} +1 -1
  13. package/dist/{chunk-NYBIKDWI.cjs → chunk-HBF4BDRU.cjs} +10 -4
  14. package/dist/chunk-HBF4BDRU.cjs.map +1 -0
  15. package/dist/{chunk-Z3G65XHZ.js → chunk-JID3CZSY.js} +3 -3
  16. package/dist/{chunk-Z3G65XHZ.js.map → chunk-JID3CZSY.js.map} +1 -1
  17. package/dist/{chunk-WXLKMEMB.js → chunk-K27SDLLN.js} +538 -168
  18. package/dist/chunk-K27SDLLN.js.map +1 -0
  19. package/dist/{chunk-KKU7MUWE.cjs → chunk-MROSCSPW.cjs} +46 -46
  20. package/dist/{chunk-KKU7MUWE.cjs.map → chunk-MROSCSPW.cjs.map} +1 -1
  21. package/dist/{chunk-LENXDIMY.cjs → chunk-PSN4VWI7.cjs} +5 -5
  22. package/dist/{chunk-LENXDIMY.cjs.map → chunk-PSN4VWI7.cjs.map} +1 -1
  23. package/dist/{chunk-3OXWJ3CZ.cjs → chunk-SC33PQTQ.cjs} +5 -5
  24. package/dist/{chunk-3OXWJ3CZ.cjs.map → chunk-SC33PQTQ.cjs.map} +1 -1
  25. package/dist/{chunk-PGDL26TQ.js → chunk-SF4BDUZS.js} +3 -3
  26. package/dist/{chunk-PGDL26TQ.js.map → chunk-SF4BDUZS.js.map} +1 -1
  27. package/dist/{chunk-ZNGDEQBN.js → chunk-SJVUKXS6.js} +8 -8
  28. package/dist/{chunk-ZNGDEQBN.js.map → chunk-SJVUKXS6.js.map} +1 -1
  29. package/dist/{chunk-R3PDNQYT.js → chunk-VLOPZHFH.js} +10 -4
  30. package/dist/chunk-VLOPZHFH.js.map +1 -0
  31. package/dist/{chunk-Z7OMEYDG.js → chunk-W7NZRZ54.js} +3 -3
  32. package/dist/{chunk-Z7OMEYDG.js.map → chunk-W7NZRZ54.js.map} +1 -1
  33. package/dist/{chunk-YPKSLTL5.js → chunk-Y52CEKVD.js} +3 -3
  34. package/dist/{chunk-YPKSLTL5.js.map → chunk-Y52CEKVD.js.map} +1 -1
  35. package/dist/connect/docx.cjs +6 -6
  36. package/dist/connect/docx.js +4 -4
  37. package/dist/connect/index.cjs +52 -52
  38. package/dist/connect/index.js +9 -9
  39. package/dist/docx/NativeDocxEditor.d.ts +3 -1
  40. package/dist/docx/index.cjs +24 -24
  41. package/dist/docx/index.js +3 -3
  42. package/dist/docx/review/DocxEditorReview.d.ts +4 -2
  43. package/dist/docx/review/commentText.d.ts +7 -0
  44. package/dist/facts/index.cjs +2 -2
  45. package/dist/facts/index.js +2 -2
  46. package/dist/files/index.cjs +2 -2
  47. package/dist/files/index.js +2 -2
  48. package/dist/home/CreateTile.d.ts +3 -1
  49. package/dist/home/index.cjs +11 -5
  50. package/dist/home/index.cjs.map +1 -1
  51. package/dist/home/index.js +11 -5
  52. package/dist/home/index.js.map +1 -1
  53. package/dist/index.cjs +823 -823
  54. package/dist/index.js +15 -15
  55. package/dist/settings/PanelFrame.d.ts +3 -1
  56. package/dist/settings/index.cjs +46 -38
  57. package/dist/settings/index.cjs.map +1 -1
  58. package/dist/settings/index.js +14 -6
  59. package/dist/settings/index.js.map +1 -1
  60. package/dist/shell/Workspace.d.ts +6 -1
  61. package/dist/shell/index.cjs +46 -46
  62. package/dist/shell/index.js +2 -2
  63. package/dist/studio/index.cjs +1 -1
  64. package/dist/studio/index.js +1 -1
  65. package/dist/workflow-canvas/index.cjs +50 -50
  66. package/dist/workflow-canvas/index.js +7 -7
  67. package/dist/workspaces/index.cjs +1 -1
  68. package/dist/workspaces/index.js +1 -1
  69. package/package.json +4 -4
  70. package/src/docx/styles.css +473 -91
  71. package/dist/chunk-E2AAIMXO.cjs.map +0 -1
  72. package/dist/chunk-NYBIKDWI.cjs.map +0 -1
  73. package/dist/chunk-R3PDNQYT.js.map +0 -1
  74. package/dist/chunk-WXLKMEMB.js.map +0 -1
@@ -70,6 +70,11 @@ export interface WorkspaceSwitcherProps {
70
70
  /** Return to the workspaces list; leaves the workspace open. */
71
71
  onGoToList: () => void;
72
72
  onNewWorkspace: () => void;
73
+ /**
74
+ * When set, "New workspace" is shown disabled with this explanation under it (e.g. the user may
75
+ * not create workspaces on this deployment).
76
+ */
77
+ newWorkspaceDisabledReason?: string;
73
78
  /** Entity nouns and menu strings; any subset (the nouns default to workspace(s)). */
74
79
  labels?: Partial<WorkspaceSwitcherLabels>;
75
80
  className?: string;
@@ -87,4 +92,4 @@ export interface WorkspaceSwitcherProps {
87
92
  * The current-workspace control as a dropdown: "All workspaces", "New workspace", then the
88
93
  * recent workspaces to jump straight into.
89
94
  */
90
- export declare function WorkspaceSwitcher({ workspace, recent, compact, variant, onSwitch, onGoToList, onNewWorkspace, labels, className, testId, testIds, identityTestIds, }: WorkspaceSwitcherProps): import("react").JSX.Element;
95
+ export declare function WorkspaceSwitcher({ workspace, recent, compact, variant, onSwitch, onGoToList, onNewWorkspace, newWorkspaceDisabledReason, labels, className, testId, testIds, identityTestIds, }: WorkspaceSwitcherProps): import("react").JSX.Element;
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkNYBIKDWI_cjs = require('../chunk-NYBIKDWI.cjs');
4
+ var chunkHBF4BDRU_cjs = require('../chunk-HBF4BDRU.cjs');
5
5
  var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
6
6
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
7
7
  require('../chunk-OB5F4577.cjs');
8
- require('../chunk-C54XEN5T.cjs');
9
8
  var chunkXKSFJYOD_cjs = require('../chunk-XKSFJYOD.cjs');
10
9
  var chunkVGOFFCMT_cjs = require('../chunk-VGOFFCMT.cjs');
11
10
  require('../chunk-PPCATBOY.cjs');
11
+ require('../chunk-C54XEN5T.cjs');
12
12
  var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
13
13
  require('../chunk-MHVNT4J3.cjs');
14
14
  require('../chunk-DES3K4SD.cjs');
@@ -17,179 +17,179 @@ require('../chunk-DES3K4SD.cjs');
17
17
 
18
18
  Object.defineProperty(exports, "ActionCluster", {
19
19
  enumerable: true,
20
- get: function () { return chunkNYBIKDWI_cjs.ActionCluster; }
20
+ get: function () { return chunkHBF4BDRU_cjs.ActionCluster; }
21
21
  });
22
22
  Object.defineProperty(exports, "AskField", {
23
23
  enumerable: true,
24
- get: function () { return chunkNYBIKDWI_cjs.AskField; }
24
+ get: function () { return chunkHBF4BDRU_cjs.AskField; }
25
25
  });
26
26
  Object.defineProperty(exports, "AskRow", {
27
27
  enumerable: true,
28
- get: function () { return chunkNYBIKDWI_cjs.AskRow; }
28
+ get: function () { return chunkHBF4BDRU_cjs.AskRow; }
29
29
  });
30
30
  Object.defineProperty(exports, "AskTrigger", {
31
31
  enumerable: true,
32
- get: function () { return chunkNYBIKDWI_cjs.AskTrigger; }
32
+ get: function () { return chunkHBF4BDRU_cjs.AskTrigger; }
33
33
  });
34
34
  Object.defineProperty(exports, "DEFAULT_ASK_FIELD_LABELS", {
35
35
  enumerable: true,
36
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_ASK_FIELD_LABELS; }
36
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_ASK_FIELD_LABELS; }
37
37
  });
38
38
  Object.defineProperty(exports, "DEFAULT_INSTALL_PROMPT_LABELS", {
39
39
  enumerable: true,
40
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
40
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
41
41
  });
42
42
  Object.defineProperty(exports, "DEFAULT_MOBILE_BARS_LABELS", {
43
43
  enumerable: true,
44
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_MOBILE_BARS_LABELS; }
44
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_MOBILE_BARS_LABELS; }
45
45
  });
46
46
  Object.defineProperty(exports, "DEFAULT_OFFLINE_PILL_LABELS", {
47
47
  enumerable: true,
48
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
48
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
49
49
  });
50
50
  Object.defineProperty(exports, "DEFAULT_REMOTE_CONTROL_PILL_LABELS", {
51
51
  enumerable: true,
52
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
52
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
53
53
  });
54
54
  Object.defineProperty(exports, "DEFAULT_SIDEBAR_LABELS", {
55
55
  enumerable: true,
56
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_SIDEBAR_LABELS; }
56
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_SIDEBAR_LABELS; }
57
57
  });
58
58
  Object.defineProperty(exports, "DEFAULT_TIP_CARD_LABELS", {
59
59
  enumerable: true,
60
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_TIP_CARD_LABELS; }
60
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_TIP_CARD_LABELS; }
61
61
  });
62
62
  Object.defineProperty(exports, "DEFAULT_WORKSPACE_KIND_LABELS", {
63
63
  enumerable: true,
64
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_WORKSPACE_KIND_LABELS; }
64
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_WORKSPACE_KIND_LABELS; }
65
65
  });
66
66
  Object.defineProperty(exports, "DEFAULT_WORKSPACE_SWITCHER_LABELS", {
67
67
  enumerable: true,
68
- get: function () { return chunkNYBIKDWI_cjs.DEFAULT_WORKSPACE_SWITCHER_LABELS; }
68
+ get: function () { return chunkHBF4BDRU_cjs.DEFAULT_WORKSPACE_SWITCHER_LABELS; }
69
69
  });
70
70
  Object.defineProperty(exports, "INSTALL_PROMPT_DISMISSED_KEY", {
71
71
  enumerable: true,
72
- get: function () { return chunkNYBIKDWI_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
72
+ get: function () { return chunkHBF4BDRU_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
73
73
  });
74
74
  Object.defineProperty(exports, "InfoBar", {
75
75
  enumerable: true,
76
- get: function () { return chunkNYBIKDWI_cjs.InfoBar; }
76
+ get: function () { return chunkHBF4BDRU_cjs.InfoBar; }
77
77
  });
78
78
  Object.defineProperty(exports, "InstallPrompt", {
79
79
  enumerable: true,
80
- get: function () { return chunkNYBIKDWI_cjs.InstallPrompt; }
80
+ get: function () { return chunkHBF4BDRU_cjs.InstallPrompt; }
81
81
  });
82
82
  Object.defineProperty(exports, "MobileAppBar", {
83
83
  enumerable: true,
84
- get: function () { return chunkNYBIKDWI_cjs.MobileAppBar; }
84
+ get: function () { return chunkHBF4BDRU_cjs.MobileAppBar; }
85
85
  });
86
86
  Object.defineProperty(exports, "MobileTabBar", {
87
87
  enumerable: true,
88
- get: function () { return chunkNYBIKDWI_cjs.MobileTabBar; }
88
+ get: function () { return chunkHBF4BDRU_cjs.MobileTabBar; }
89
89
  });
90
90
  Object.defineProperty(exports, "NotificationBell", {
91
91
  enumerable: true,
92
- get: function () { return chunkNYBIKDWI_cjs.NotificationBell; }
92
+ get: function () { return chunkHBF4BDRU_cjs.NotificationBell; }
93
93
  });
94
94
  Object.defineProperty(exports, "OfflinePill", {
95
95
  enumerable: true,
96
- get: function () { return chunkNYBIKDWI_cjs.OfflinePill; }
96
+ get: function () { return chunkHBF4BDRU_cjs.OfflinePill; }
97
97
  });
98
98
  Object.defineProperty(exports, "RemoteControlPill", {
99
99
  enumerable: true,
100
- get: function () { return chunkNYBIKDWI_cjs.RemoteControlPill; }
100
+ get: function () { return chunkHBF4BDRU_cjs.RemoteControlPill; }
101
101
  });
102
102
  Object.defineProperty(exports, "STATUS_ROW_BASE_CLASS", {
103
103
  enumerable: true,
104
- get: function () { return chunkNYBIKDWI_cjs.STATUS_ROW_BASE_CLASS; }
104
+ get: function () { return chunkHBF4BDRU_cjs.STATUS_ROW_BASE_CLASS; }
105
105
  });
106
106
  Object.defineProperty(exports, "STATUS_ROW_TONES", {
107
107
  enumerable: true,
108
- get: function () { return chunkNYBIKDWI_cjs.STATUS_ROW_TONES; }
108
+ get: function () { return chunkHBF4BDRU_cjs.STATUS_ROW_TONES; }
109
109
  });
110
110
  Object.defineProperty(exports, "Sidebar", {
111
111
  enumerable: true,
112
- get: function () { return chunkNYBIKDWI_cjs.Sidebar; }
112
+ get: function () { return chunkHBF4BDRU_cjs.Sidebar; }
113
113
  });
114
114
  Object.defineProperty(exports, "SidebarBadgeRow", {
115
115
  enumerable: true,
116
- get: function () { return chunkNYBIKDWI_cjs.SidebarBadgeRow; }
116
+ get: function () { return chunkHBF4BDRU_cjs.SidebarBadgeRow; }
117
117
  });
118
118
  Object.defineProperty(exports, "SidebarRowAction", {
119
119
  enumerable: true,
120
- get: function () { return chunkNYBIKDWI_cjs.SidebarRowAction; }
120
+ get: function () { return chunkHBF4BDRU_cjs.SidebarRowAction; }
121
121
  });
122
122
  Object.defineProperty(exports, "SidebarRowHoverContext", {
123
123
  enumerable: true,
124
- get: function () { return chunkNYBIKDWI_cjs.SidebarRowHoverContext; }
124
+ get: function () { return chunkHBF4BDRU_cjs.SidebarRowHoverContext; }
125
125
  });
126
126
  Object.defineProperty(exports, "SplitLayout", {
127
127
  enumerable: true,
128
- get: function () { return chunkNYBIKDWI_cjs.SplitLayout; }
128
+ get: function () { return chunkHBF4BDRU_cjs.SplitLayout; }
129
129
  });
130
130
  Object.defineProperty(exports, "StatusBadge", {
131
131
  enumerable: true,
132
- get: function () { return chunkNYBIKDWI_cjs.StatusBadge; }
132
+ get: function () { return chunkHBF4BDRU_cjs.StatusBadge; }
133
133
  });
134
134
  Object.defineProperty(exports, "StatusRow", {
135
135
  enumerable: true,
136
- get: function () { return chunkNYBIKDWI_cjs.StatusRow; }
136
+ get: function () { return chunkHBF4BDRU_cjs.StatusRow; }
137
137
  });
138
138
  Object.defineProperty(exports, "TipCard", {
139
139
  enumerable: true,
140
- get: function () { return chunkNYBIKDWI_cjs.TipCard; }
140
+ get: function () { return chunkHBF4BDRU_cjs.TipCard; }
141
141
  });
142
142
  Object.defineProperty(exports, "UserMenu", {
143
143
  enumerable: true,
144
- get: function () { return chunkNYBIKDWI_cjs.UserMenu; }
144
+ get: function () { return chunkHBF4BDRU_cjs.UserMenu; }
145
145
  });
146
146
  Object.defineProperty(exports, "WorkspaceIdentity", {
147
147
  enumerable: true,
148
- get: function () { return chunkNYBIKDWI_cjs.WorkspaceIdentity; }
148
+ get: function () { return chunkHBF4BDRU_cjs.WorkspaceIdentity; }
149
149
  });
150
150
  Object.defineProperty(exports, "WorkspaceSwitcher", {
151
151
  enumerable: true,
152
- get: function () { return chunkNYBIKDWI_cjs.WorkspaceSwitcher; }
152
+ get: function () { return chunkHBF4BDRU_cjs.WorkspaceSwitcher; }
153
153
  });
154
154
  Object.defineProperty(exports, "getInstallInstructions", {
155
155
  enumerable: true,
156
- get: function () { return chunkNYBIKDWI_cjs.getInstallInstructions; }
156
+ get: function () { return chunkHBF4BDRU_cjs.getInstallInstructions; }
157
157
  });
158
158
  Object.defineProperty(exports, "initInstallPrompt", {
159
159
  enumerable: true,
160
- get: function () { return chunkNYBIKDWI_cjs.initInstallPrompt; }
160
+ get: function () { return chunkHBF4BDRU_cjs.initInstallPrompt; }
161
161
  });
162
162
  Object.defineProperty(exports, "isIosDevice", {
163
163
  enumerable: true,
164
- get: function () { return chunkNYBIKDWI_cjs.isIosDevice; }
164
+ get: function () { return chunkHBF4BDRU_cjs.isIosDevice; }
165
165
  });
166
166
  Object.defineProperty(exports, "promptAppInstall", {
167
167
  enumerable: true,
168
- get: function () { return chunkNYBIKDWI_cjs.promptAppInstall; }
168
+ get: function () { return chunkHBF4BDRU_cjs.promptAppInstall; }
169
169
  });
170
170
  Object.defineProperty(exports, "resolveSidebarLayout", {
171
171
  enumerable: true,
172
- get: function () { return chunkNYBIKDWI_cjs.resolveSidebarLayout; }
172
+ get: function () { return chunkHBF4BDRU_cjs.resolveSidebarLayout; }
173
173
  });
174
174
  Object.defineProperty(exports, "useInstallPrompt", {
175
175
  enumerable: true,
176
- get: function () { return chunkNYBIKDWI_cjs.useInstallPrompt; }
176
+ get: function () { return chunkHBF4BDRU_cjs.useInstallPrompt; }
177
177
  });
178
178
  Object.defineProperty(exports, "useSidebarContext", {
179
179
  enumerable: true,
180
- get: function () { return chunkNYBIKDWI_cjs.useSidebarContext; }
180
+ get: function () { return chunkHBF4BDRU_cjs.useSidebarContext; }
181
181
  });
182
182
  Object.defineProperty(exports, "useSidebarSettle", {
183
183
  enumerable: true,
184
- get: function () { return chunkNYBIKDWI_cjs.useSidebarSettle; }
184
+ get: function () { return chunkHBF4BDRU_cjs.useSidebarSettle; }
185
185
  });
186
186
  Object.defineProperty(exports, "workspaceKindColor", {
187
187
  enumerable: true,
188
- get: function () { return chunkNYBIKDWI_cjs.workspaceKindColor; }
188
+ get: function () { return chunkHBF4BDRU_cjs.workspaceKindColor; }
189
189
  });
190
190
  Object.defineProperty(exports, "workspaceKindMeta", {
191
191
  enumerable: true,
192
- get: function () { return chunkNYBIKDWI_cjs.workspaceKindMeta; }
192
+ get: function () { return chunkHBF4BDRU_cjs.workspaceKindMeta; }
193
193
  });
194
194
  Object.defineProperty(exports, "DEFAULT_TAB_HEADER_LABELS", {
195
195
  enumerable: true,
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from '../chunk-R3PDNQYT.js';
2
+ export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from '../chunk-VLOPZHFH.js';
3
3
  export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
4
4
  export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
5
5
  import '../chunk-S7PSMMRG.js';
6
- import '../chunk-76JDDMSP.js';
7
6
  export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-BV7FEMSI.js';
8
7
  export { DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from '../chunk-KZJAG7T3.js';
9
8
  import '../chunk-NPLYHR2E.js';
9
+ import '../chunk-76JDDMSP.js';
10
10
  export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from '../chunk-SLSBJRWW.js';
11
11
  import '../chunk-7F6CBP3Z.js';
12
12
  import '../chunk-VUNV25KB.js';
@@ -10,12 +10,12 @@ require('../chunk-VPPX5XUF.cjs');
10
10
  var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
11
11
  var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
12
12
  require('../chunk-OB5F4577.cjs');
13
- var chunkC54XEN5T_cjs = require('../chunk-C54XEN5T.cjs');
14
13
  require('../chunk-MP6FK43E.cjs');
15
14
  require('../chunk-VGOFFCMT.cjs');
16
15
  require('../chunk-B4SRYJLM.cjs');
17
16
  require('../chunk-7UTB4PHM.cjs');
18
17
  require('../chunk-PPCATBOY.cjs');
18
+ var chunkC54XEN5T_cjs = require('../chunk-C54XEN5T.cjs');
19
19
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
20
20
  require('../chunk-MHVNT4J3.cjs');
21
21
  require('../chunk-DES3K4SD.cjs');
@@ -9,12 +9,12 @@ import '../chunk-4EZVCGRL.js';
9
9
  import { Callout } from '../chunk-UJE32SST.js';
10
10
  import { EmptyState } from '../chunk-P6GHJSLR.js';
11
11
  import '../chunk-S7PSMMRG.js';
12
- import { useBlocksEnvironment } from '../chunk-76JDDMSP.js';
13
12
  import '../chunk-EWSEQEPL.js';
14
13
  import '../chunk-KZJAG7T3.js';
15
14
  import '../chunk-HOXKR26S.js';
16
15
  import '../chunk-AA3PT6KR.js';
17
16
  import '../chunk-NPLYHR2E.js';
17
+ import { useBlocksEnvironment } from '../chunk-76JDDMSP.js';
18
18
  import { formatCount } from '../chunk-OXF2IFXG.js';
19
19
  import '../chunk-7F6CBP3Z.js';
20
20
  import '../chunk-VUNV25KB.js';
@@ -2,28 +2,28 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
5
- var chunkKKU7MUWE_cjs = require('../chunk-KKU7MUWE.cjs');
5
+ var chunkMROSCSPW_cjs = require('../chunk-MROSCSPW.cjs');
6
6
  require('../chunk-S5HZBXZA.cjs');
7
7
  require('../chunk-ZW6FPIFC.cjs');
8
- var chunk3US5OIDQ_cjs = require('../chunk-3US5OIDQ.cjs');
8
+ var chunk3WW32OUU_cjs = require('../chunk-3WW32OUU.cjs');
9
9
  require('../chunk-N26CXGXC.cjs');
10
10
  require('../chunk-7RGLTF76.cjs');
11
+ require('../chunk-Z5VUZ6YD.cjs');
12
+ require('../chunk-7D737FLE.cjs');
11
13
  require('../chunk-3AFWGEDJ.cjs');
12
14
  require('../chunk-DVUZTGVL.cjs');
13
15
  require('../chunk-DETZZBG2.cjs');
14
16
  var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
15
17
  require('../chunk-V4ISCZJ7.cjs');
16
18
  require('../chunk-2EI7NCUA.cjs');
17
- require('../chunk-Z5VUZ6YD.cjs');
18
- require('../chunk-7D737FLE.cjs');
19
19
  require('../chunk-OB5F4577.cjs');
20
- require('../chunk-C54XEN5T.cjs');
21
- require('../chunk-ULWRNGGE.cjs');
22
- require('../chunk-IXALYQT7.cjs');
23
20
  require('../chunk-B4SRYJLM.cjs');
24
21
  require('../chunk-7UTB4PHM.cjs');
25
22
  require('../chunk-PPCATBOY.cjs');
23
+ require('../chunk-C54XEN5T.cjs');
26
24
  require('../chunk-KDG6FER6.cjs');
25
+ require('../chunk-ULWRNGGE.cjs');
26
+ require('../chunk-IXALYQT7.cjs');
27
27
  require('../chunk-FX3K6LNZ.cjs');
28
28
  require('../chunk-MHVNT4J3.cjs');
29
29
  require('../chunk-DES3K4SD.cjs');
@@ -60,11 +60,11 @@ function withSteps(workflow, steps, layout) {
60
60
  const run = workflow.run.kind === "steps" ? workflow.run : { kind: "steps", steps: [] };
61
61
  return {
62
62
  ...workflow,
63
- run: { ...run, steps: chunk3US5OIDQ_cjs.orderSteps(steps), layout: layout ?? run.layout }
63
+ run: { ...run, steps: chunk3WW32OUU_cjs.orderSteps(steps), layout: layout ?? run.layout }
64
64
  };
65
65
  }
66
66
  var layoutOf = (workflow) => workflow.run.kind === "steps" && workflow.run.layout || {};
67
- var explicit = (steps) => steps.map((s) => ({ ...s, after: chunk3US5OIDQ_cjs.stepDependencies(steps, s.id) }));
67
+ var explicit = (steps) => steps.map((s) => ({ ...s, after: chunk3WW32OUU_cjs.stepDependencies(steps, s.id) }));
68
68
  function stepIdFor(steps, title) {
69
69
  const base = title.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").replace(/^[^a-z]+/, "") || "step";
70
70
  const taken = new Set(steps.map((s) => s.id));
@@ -111,7 +111,7 @@ function blankStep(kind, id, title) {
111
111
  }
112
112
  }
113
113
  function addStep(workflow, kind, options = {}) {
114
- const steps = explicit(chunk3US5OIDQ_cjs.workflowSteps(workflow));
114
+ const steps = explicit(chunk3WW32OUU_cjs.workflowSteps(workflow));
115
115
  const title = options.title ?? DEFAULT_TITLES[kind];
116
116
  const id = stepIdFor(steps, title);
117
117
  const step = { ...blankStep(kind, id, title), after: options.after ? [options.after] : [] };
@@ -120,7 +120,7 @@ function addStep(workflow, kind, options = {}) {
120
120
  return { workflow: withSteps(workflow, [...steps, step], layout), id };
121
121
  }
122
122
  function removeStep(workflow, id) {
123
- const steps = explicit(chunk3US5OIDQ_cjs.workflowSteps(workflow));
123
+ const steps = explicit(chunk3WW32OUU_cjs.workflowSteps(workflow));
124
124
  const removed = steps.find((s) => s.id === id);
125
125
  if (!removed) return workflow;
126
126
  const bridged = steps.filter((s) => s.id !== id).map(
@@ -133,8 +133,8 @@ function removeStep(workflow, id) {
133
133
  return withSteps(workflow, bridged, layout);
134
134
  }
135
135
  function connectSteps(workflow, from, to) {
136
- const steps = explicit(chunk3US5OIDQ_cjs.workflowSteps(workflow));
137
- if (from === to || !steps.some((s) => s.id === from) || chunk3US5OIDQ_cjs.dependsOn(steps, from, to)) {
136
+ const steps = explicit(chunk3WW32OUU_cjs.workflowSteps(workflow));
137
+ if (from === to || !steps.some((s) => s.id === from) || chunk3WW32OUU_cjs.dependsOn(steps, from, to)) {
138
138
  return workflow;
139
139
  }
140
140
  return withSteps(
@@ -144,16 +144,16 @@ function connectSteps(workflow, from, to) {
144
144
  )
145
145
  );
146
146
  }
147
- var wouldCycle = (workflow, from, to) => from === to || chunk3US5OIDQ_cjs.dependsOn(chunk3US5OIDQ_cjs.workflowSteps(workflow), from, to);
147
+ var wouldCycle = (workflow, from, to) => from === to || chunk3WW32OUU_cjs.dependsOn(chunk3WW32OUU_cjs.workflowSteps(workflow), from, to);
148
148
  function disconnectSteps(workflow, from, to) {
149
- const steps = explicit(chunk3US5OIDQ_cjs.workflowSteps(workflow));
149
+ const steps = explicit(chunk3WW32OUU_cjs.workflowSteps(workflow));
150
150
  return withSteps(
151
151
  workflow,
152
152
  steps.map((s) => s.id === to ? { ...s, after: (s.after ?? []).filter((d) => d !== from) } : s)
153
153
  );
154
154
  }
155
155
  function updateStep(workflow, id, patch) {
156
- const steps = explicit(chunk3US5OIDQ_cjs.workflowSteps(workflow));
156
+ const steps = explicit(chunk3WW32OUU_cjs.workflowSteps(workflow));
157
157
  return withSteps(
158
158
  workflow,
159
159
  steps.map(
@@ -167,7 +167,7 @@ var renameIn = (text, from, to) => text.replace(
167
167
  );
168
168
  function renameInput(workflow, from, to) {
169
169
  if (from === to) return workflow;
170
- const steps = chunk3US5OIDQ_cjs.workflowSteps(workflow).map((s) => {
170
+ const steps = chunk3WW32OUU_cjs.workflowSteps(workflow).map((s) => {
171
171
  if (s.kind === "agent")
172
172
  return {
173
173
  ...s,
@@ -216,13 +216,13 @@ function renameInput(workflow, from, to) {
216
216
  var renamePerson = (a, from, to) => "input" in a && a.input === from ? { input: to } : a;
217
217
  var renameRef = (r, from, to) => "input" in r && r.input === from ? { input: to } : r;
218
218
  function moveStep(workflow, id, position) {
219
- return withSteps(workflow, chunk3US5OIDQ_cjs.workflowSteps(workflow), { ...layoutOf(workflow), [id]: position });
219
+ return withSteps(workflow, chunk3WW32OUU_cjs.workflowSteps(workflow), { ...layoutOf(workflow), [id]: position });
220
220
  }
221
221
  var COLUMN = 300;
222
222
  var ROW = 140;
223
223
  function autoLayout(steps) {
224
224
  const layout = {};
225
- chunk3US5OIDQ_cjs.stepLevels(steps).forEach(
225
+ chunk3WW32OUU_cjs.stepLevels(steps).forEach(
226
226
  (level, x) => level.forEach((s, y) => {
227
227
  layout[s.id] = { x: x * COLUMN, y: (y - (level.length - 1) / 2) * ROW };
228
228
  })
@@ -230,7 +230,7 @@ function autoLayout(steps) {
230
230
  return layout;
231
231
  }
232
232
  function layoutWithDefaults(workflow) {
233
- const auto = autoLayout(chunk3US5OIDQ_cjs.workflowSteps(workflow));
233
+ const auto = autoLayout(chunk3WW32OUU_cjs.workflowSteps(workflow));
234
234
  return { ...auto, ...layoutOf(workflow) };
235
235
  }
236
236
  var DEFAULT_SIGNALS_EDITOR_LABELS = {
@@ -327,9 +327,9 @@ function SignalsEditor({
327
327
  {
328
328
  className: ui.cn(
329
329
  "space-y-1.5 rounded-md border p-2",
330
- chunk3US5OIDQ_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
330
+ chunk3WW32OUU_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
331
331
  ),
332
- "data-incomplete": chunk3US5OIDQ_cjs.isIncompleteSignal(signal) || void 0,
332
+ "data-incomplete": chunk3WW32OUU_cjs.isIncompleteSignal(signal) || void 0,
333
333
  "data-testid": `${testId}-${i}`,
334
334
  children: [
335
335
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -1158,7 +1158,7 @@ function StepInspector({
1158
1158
  }) {
1159
1159
  const l = { ...DEFAULT_STEP_INSPECTOR_LABELS, ...labels };
1160
1160
  const ol = { ...DEFAULT_FIELD_OPTIONS_EDITOR_LABELS, ...optionLabels };
1161
- const steps = chunk3US5OIDQ_cjs.workflowSteps(workflow);
1161
+ const steps = chunk3WW32OUU_cjs.workflowSteps(workflow);
1162
1162
  const step = steps.find((s) => s.id === stepId);
1163
1163
  const run = workflow.run.kind === "steps" ? workflow.run : void 0;
1164
1164
  if (!step || !run) {
@@ -1185,8 +1185,8 @@ function StepInspector({
1185
1185
  const patch = (p) => onChange(updateStep(workflow, step.id, p));
1186
1186
  const al = { ...DEFAULT_STEP_ACTION_SETTINGS_LABELS, ...actionLabels };
1187
1187
  const ctx = {
1188
- earlier: chunk3US5OIDQ_cjs.upstreamSteps(steps, step.id),
1189
- fields: chunk3US5OIDQ_cjs.runFields(workflow),
1188
+ earlier: chunk3WW32OUU_cjs.upstreamSteps(steps, step.id),
1189
+ fields: chunk3WW32OUU_cjs.runFields(workflow),
1190
1190
  people,
1191
1191
  tags,
1192
1192
  documents
@@ -1207,7 +1207,7 @@ function StepInspector({
1207
1207
  )
1208
1208
  );
1209
1209
  };
1210
- const deps = chunk3US5OIDQ_cjs.stepDependencies(steps, step.id);
1210
+ const deps = chunk3WW32OUU_cjs.stepDependencies(steps, step.id);
1211
1211
  const titleOf = (id) => steps.find((s) => s.id === id)?.title ?? id;
1212
1212
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", "data-testid": `${testId}-step`, children: [
1213
1213
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
@@ -1288,7 +1288,7 @@ function StepInspector({
1288
1288
  {
1289
1289
  step,
1290
1290
  workflows,
1291
- fields: chunk3US5OIDQ_cjs.runFields(workflow).map((f) => f.name),
1291
+ fields: chunk3WW32OUU_cjs.runFields(workflow).map((f) => f.name),
1292
1292
  patch,
1293
1293
  l,
1294
1294
  testId
@@ -1349,7 +1349,7 @@ function StepInspector({
1349
1349
  testId: `${testId}-review-grid`
1350
1350
  }
1351
1351
  ),
1352
- chunk3US5OIDQ_cjs.canAssign(step) && /* @__PURE__ */ jsxRuntime.jsx(AssigneeSettings, { step, patch, ctx, l: al, testId }),
1352
+ chunk3WW32OUU_cjs.canAssign(step) && /* @__PURE__ */ jsxRuntime.jsx(AssigneeSettings, { step, patch, ctx, l: al, testId }),
1353
1353
  /* @__PURE__ */ jsxRuntime.jsx(
1354
1354
  SignalsEditor,
1355
1355
  {
@@ -1615,7 +1615,7 @@ function triggerFields(trigger, clearOthers) {
1615
1615
  return {
1616
1616
  timezone: trigger.timezone,
1617
1617
  rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
1618
- run_at: trigger.start === "once" ? chunkKKU7MUWE_cjs.localInputToIso(trigger.runAt) : none,
1618
+ run_at: trigger.start === "once" ? chunkMROSCSPW_cjs.localInputToIso(trigger.runAt) : none,
1619
1619
  event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
1620
1620
  // A step signal is `workflow_signal` narrowed to one signal name.
1621
1621
  event_filter: filter ?? none,
@@ -1631,7 +1631,7 @@ function plan(value, options) {
1631
1631
  criteria: [],
1632
1632
  max_passes: 3,
1633
1633
  documents: [],
1634
- steps: chunk3US5OIDQ_cjs.toPlanSteps(value.workflow, options)
1634
+ steps: chunk3WW32OUU_cjs.toPlanSteps(value.workflow, options)
1635
1635
  };
1636
1636
  }
1637
1637
  function builderToWorkflowRequest(value, workspaceId, options = {}) {
@@ -1666,7 +1666,7 @@ function builderToWorkflowUpdate(value, options = {}) {
1666
1666
  }
1667
1667
  function workflowRecordToBuilder(record) {
1668
1668
  const planned = record.plan?.steps ?? [];
1669
- const steps = planned.length ? chunk3US5OIDQ_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1669
+ const steps = planned.length ? chunk3WW32OUU_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1670
1670
  {
1671
1671
  id: "work",
1672
1672
  kind: "agent",
@@ -1674,7 +1674,7 @@ function workflowRecordToBuilder(record) {
1674
1674
  ...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
1675
1675
  }
1676
1676
  ] : [];
1677
- const when = chunkKKU7MUWE_cjs.workflowWhen(record);
1677
+ const when = chunkMROSCSPW_cjs.workflowWhen(record);
1678
1678
  return {
1679
1679
  workflow: {
1680
1680
  id: record.external_id,
@@ -1683,12 +1683,12 @@ function workflowRecordToBuilder(record) {
1683
1683
  inputs: [],
1684
1684
  landing: "chat",
1685
1685
  schedulable: false,
1686
- run: { kind: "steps", steps, layout: chunk3US5OIDQ_cjs.layoutFromPlanSteps(planned ?? []) }
1686
+ run: { kind: "steps", steps, layout: chunk3WW32OUU_cjs.layoutFromPlanSteps(planned ?? []) }
1687
1687
  },
1688
1688
  trigger: {
1689
1689
  ...DEFAULT_WORKFLOW_TRIGGER,
1690
1690
  start: when === "now" ? "manual" : when,
1691
- runAt: chunkKKU7MUWE_cjs.isoToLocalInput(record.run_at),
1691
+ runAt: chunkMROSCSPW_cjs.isoToLocalInput(record.run_at),
1692
1692
  rrule: record.rrule ?? "",
1693
1693
  timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
1694
1694
  eventKind: record.event_kind ?? "",
@@ -1744,7 +1744,7 @@ function triggerSummary(trigger, options = {}) {
1744
1744
  case "once":
1745
1745
  return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
1746
1746
  case "repeat":
1747
- return trigger.rrule ? chunkKKU7MUWE_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1747
+ return trigger.rrule ? chunkMROSCSPW_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1748
1748
  case "event":
1749
1749
  if (isSignalTrigger(trigger))
1750
1750
  return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
@@ -1803,7 +1803,7 @@ function TriggerInspector({
1803
1803
  }
1804
1804
  )
1805
1805
  ] }),
1806
- trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkKKU7MUWE_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1806
+ trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkMROSCSPW_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1807
1807
  trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1808
1808
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
1809
1809
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1855,7 +1855,7 @@ function TriggerInspector({
1855
1855
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1856
1856
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
1857
1857
  /* @__PURE__ */ jsxRuntime.jsx(
1858
- chunkKKU7MUWE_cjs.AgentSelect,
1858
+ chunkMROSCSPW_cjs.AgentSelect,
1859
1859
  {
1860
1860
  agents,
1861
1861
  value: trigger.agentId,
@@ -2165,12 +2165,12 @@ function WorkflowCanvas({
2165
2165
  testId = "workflow-canvas"
2166
2166
  }) {
2167
2167
  const l = react.useMemo(() => ({ ...DEFAULT_WORKFLOW_CANVAS_LABELS, ...labels }), [labels]);
2168
- const steps = chunk3US5OIDQ_cjs.workflowSteps(workflow);
2168
+ const steps = chunk3WW32OUU_cjs.workflowSteps(workflow);
2169
2169
  const editable = !!onChange;
2170
2170
  const built = react.useMemo(() => {
2171
2171
  const layout = layoutWithDefaults(workflow);
2172
- const all = chunk3US5OIDQ_cjs.workflowSteps(workflow);
2173
- const roots = all.filter((s) => chunk3US5OIDQ_cjs.stepDependencies(all, s.id).length === 0);
2172
+ const all = chunk3WW32OUU_cjs.workflowSteps(workflow);
2173
+ const roots = all.filter((s) => chunk3WW32OUU_cjs.stepDependencies(all, s.id).length === 0);
2174
2174
  const triggerNode = trigger ? [
2175
2175
  {
2176
2176
  id: TRIGGER_NODE,
@@ -2219,7 +2219,7 @@ function WorkflowCanvas({
2219
2219
  react.useEffect(() => setNodes(built), [built]);
2220
2220
  const edges = react.useMemo(
2221
2221
  () => steps.flatMap((s) => {
2222
- const deps = chunk3US5OIDQ_cjs.stepDependencies(steps, s.id);
2222
+ const deps = chunk3WW32OUU_cjs.stepDependencies(steps, s.id);
2223
2223
  const from = deps.length ? deps : trigger ? [TRIGGER_NODE] : [];
2224
2224
  return from.map((d) => ({
2225
2225
  id: `${d}->${s.id}`,
@@ -2470,12 +2470,12 @@ function WorkflowBuilder({
2470
2470
  const [mode, setMode] = react.useState("design");
2471
2471
  const [adding, setAdding] = react.useState(false);
2472
2472
  const { workflow, trigger } = value;
2473
- const steps = chunk3US5OIDQ_cjs.workflowSteps(workflow);
2474
- const problems = chunk3US5OIDQ_cjs.validateWorkflowGraph(steps);
2475
- const missing = chunk3US5OIDQ_cjs.stepConfigProblems(steps);
2473
+ const steps = chunk3WW32OUU_cjs.workflowSteps(workflow);
2474
+ const problems = chunk3WW32OUU_cjs.validateWorkflowGraph(steps);
2475
+ const missing = chunk3WW32OUU_cjs.stepConfigProblems(steps);
2476
2476
  const nameOf = (id) => people.find((p) => p.value === id)?.label;
2477
- const fields = chunk3US5OIDQ_cjs.runFields(workflow);
2478
- const assigneeOf = (step) => chunk3US5OIDQ_cjs.canAssign(step) ? chunk3US5OIDQ_cjs.assigneeName(step.assignee, { nameOf, fields }) : void 0;
2477
+ const fields = chunk3WW32OUU_cjs.runFields(workflow);
2478
+ const assigneeOf = (step) => chunk3WW32OUU_cjs.canAssign(step) ? chunk3WW32OUU_cjs.assigneeName(step.assignee, { nameOf, fields }) : void 0;
2479
2479
  const titles = react.useMemo(() => new Map(workflows.map((w) => [w.id, w.title])), [workflows]);
2480
2480
  const setWorkflow = (next) => onChange({ ...value, workflow: next });
2481
2481
  const addAfter = (from, kind) => {
@@ -2706,13 +2706,13 @@ function WorkflowPreview({
2706
2706
  renderIcon,
2707
2707
  testId
2708
2708
  }) {
2709
- const run = chunkKKU7MUWE_cjs.useWorkflowPreview(workflow, {
2709
+ const run = chunkMROSCSPW_cjs.useWorkflowPreview(workflow, {
2710
2710
  resolveWorkflow: (id) => workflows.find((w) => w.id === id),
2711
2711
  compose,
2712
2712
  answer
2713
2713
  });
2714
2714
  return /* @__PURE__ */ jsxRuntime.jsx(
2715
- chunk3US5OIDQ_cjs.WorkflowRunner,
2715
+ chunk3WW32OUU_cjs.WorkflowRunner,
2716
2716
  {
2717
2717
  workflow,
2718
2718
  run,
@@ -2800,7 +2800,7 @@ function ConnectedWorkflowBuilder({
2800
2800
  () => [
2801
2801
  ...hostWorkflows,
2802
2802
  ...(skills.data ?? []).map(
2803
- (s) => chunk3US5OIDQ_cjs.skillToWorkflow({
2803
+ (s) => chunk3WW32OUU_cjs.skillToWorkflow({
2804
2804
  name: s.name,
2805
2805
  slug: s.slug,
2806
2806
  description: s.description,
@@ -2816,7 +2816,7 @@ function ConnectedWorkflowBuilder({
2816
2816
  }));
2817
2817
  const tasks = (conversations.data ?? []).filter((c) => c.status && c.status !== "done").map((c) => ({ value: c.external_id, label: c.title || c.external_id }));
2818
2818
  const options = { resolveWorkflow: (wid) => workflows.find((w) => w.id === wid), compose };
2819
- const problem = triggerProblem(value.trigger) ?? (chunk3US5OIDQ_cjs.validateWorkflowGraph(chunk3US5OIDQ_cjs.workflowSteps(value.workflow)).length || chunk3US5OIDQ_cjs.stepConfigProblems(chunk3US5OIDQ_cjs.workflowSteps(value.workflow)).length ? "graph" : null);
2819
+ const problem = triggerProblem(value.trigger) ?? (chunk3WW32OUU_cjs.validateWorkflowGraph(chunk3WW32OUU_cjs.workflowSteps(value.workflow)).length || chunk3WW32OUU_cjs.stepConfigProblems(chunk3WW32OUU_cjs.workflowSteps(value.workflow)).length ? "graph" : null);
2820
2820
  const busy = !!pending || create.isPending || update.isPending || run.isPending;
2821
2821
  const save = async () => {
2822
2822
  if (!workspaceId) return void 0;