@arbidocs/blocks 0.4.74 → 0.4.76

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 (84) hide show
  1. package/README.md +2 -1
  2. package/dist/agents/index.cjs +267 -254
  3. package/dist/agents/index.js +5 -4
  4. package/dist/agents/tasks/TaskActivityTimeline.d.ts +1 -1
  5. package/dist/agents/tasks/WorkflowThreadStrip.d.ts +38 -1
  6. package/dist/agents/tasks/index.d.ts +2 -1
  7. package/dist/agents/tasks/linkedRuns.d.ts +31 -0
  8. package/dist/agents/workflows/index.d.ts +1 -1
  9. package/dist/agents/workflows/planSteps.d.ts +3 -1
  10. package/dist/agents/workflows/types.d.ts +27 -0
  11. package/dist/{chunk-YWYVIQ7T.js → chunk-22P5KNIM.js} +24 -4
  12. package/dist/chunk-22P5KNIM.js.map +1 -0
  13. package/dist/{chunk-5LP54CWR.cjs → chunk-7FKARMA3.cjs} +175 -69
  14. package/dist/chunk-7FKARMA3.cjs.map +1 -0
  15. package/dist/{chunk-IA7RTPT3.cjs → chunk-IXALYQT7.cjs} +2 -200
  16. package/dist/chunk-IXALYQT7.cjs.map +1 -0
  17. package/dist/chunk-NUNKSZKU.js +203 -0
  18. package/dist/chunk-NUNKSZKU.js.map +1 -0
  19. package/dist/{chunk-6OL5S7MJ.cjs → chunk-NYBIKDWI.cjs} +5 -2
  20. package/dist/chunk-NYBIKDWI.cjs.map +1 -0
  21. package/dist/{chunk-D46ZAPEE.js → chunk-R3PDNQYT.js} +5 -2
  22. package/dist/chunk-R3PDNQYT.js.map +1 -0
  23. package/dist/{chunk-KOSGX3UK.js → chunk-TKB7TVMW.js} +134 -30
  24. package/dist/chunk-TKB7TVMW.js.map +1 -0
  25. package/dist/chunk-V4ISCZJ7.cjs +207 -0
  26. package/dist/chunk-V4ISCZJ7.cjs.map +1 -0
  27. package/dist/{chunk-P2RBE3FD.cjs → chunk-VYRKO3XU.cjs} +24 -3
  28. package/dist/chunk-VYRKO3XU.cjs.map +1 -0
  29. package/dist/{chunk-BUHKUKKB.js → chunk-ZPLG7QYF.js} +4 -199
  30. package/dist/chunk-ZPLG7QYF.js.map +1 -0
  31. package/dist/connect/index.cjs +9 -9
  32. package/dist/connect/index.js +2 -2
  33. package/dist/databases/DatabaseColumnDialog.d.ts +43 -0
  34. package/dist/databases/DatabaseList.d.ts +28 -0
  35. package/dist/databases/DatabaseTable.d.ts +38 -0
  36. package/dist/databases/DatabaseToolbar.d.ts +38 -0
  37. package/dist/databases/NewDatabaseDialog.d.ts +25 -0
  38. package/dist/databases/SelectCellEditor.d.ts +6 -0
  39. package/dist/databases/SelectChip.d.ts +4 -0
  40. package/dist/databases/column-types.d.ts +58 -0
  41. package/dist/databases/databaseColumns.d.ts +28 -0
  42. package/dist/databases/index.cjs +1081 -0
  43. package/dist/databases/index.cjs.map +1 -0
  44. package/dist/databases/index.d.ts +13 -0
  45. package/dist/databases/index.js +1055 -0
  46. package/dist/databases/index.js.map +1 -0
  47. package/dist/facts/index.cjs +8 -7
  48. package/dist/facts/index.cjs.map +1 -1
  49. package/dist/facts/index.js +4 -3
  50. package/dist/facts/index.js.map +1 -1
  51. package/dist/files/index.cjs +15 -14
  52. package/dist/files/index.cjs.map +1 -1
  53. package/dist/files/index.js +5 -3
  54. package/dist/files/index.js.map +1 -1
  55. package/dist/home/index.cjs +1 -1
  56. package/dist/home/index.js +1 -1
  57. package/dist/index.cjs +508 -495
  58. package/dist/index.cjs.map +1 -1
  59. package/dist/index.js +9 -8
  60. package/dist/index.js.map +1 -1
  61. package/dist/shell/ActionCluster.d.ts +3 -1
  62. package/dist/shell/index.cjs +46 -46
  63. package/dist/shell/index.js +2 -2
  64. package/dist/studio/index.cjs +1 -1
  65. package/dist/studio/index.js +1 -1
  66. package/dist/workflow-canvas/SignalsEditor.d.ts +41 -0
  67. package/dist/workflow-canvas/StepInspector.d.ts +4 -1
  68. package/dist/workflow-canvas/TriggerInspector.d.ts +11 -2
  69. package/dist/workflow-canvas/WorkflowBuilder.d.ts +7 -2
  70. package/dist/workflow-canvas/index.cjs +445 -150
  71. package/dist/workflow-canvas/index.cjs.map +1 -1
  72. package/dist/workflow-canvas/index.d.ts +2 -1
  73. package/dist/workflow-canvas/index.js +412 -124
  74. package/dist/workflow-canvas/index.js.map +1 -1
  75. package/dist/workflow-canvas/trigger.d.ts +20 -1
  76. package/package.json +9 -4
  77. package/dist/chunk-5LP54CWR.cjs.map +0 -1
  78. package/dist/chunk-6OL5S7MJ.cjs.map +0 -1
  79. package/dist/chunk-BUHKUKKB.js.map +0 -1
  80. package/dist/chunk-D46ZAPEE.js.map +0 -1
  81. package/dist/chunk-IA7RTPT3.cjs.map +0 -1
  82. package/dist/chunk-KOSGX3UK.js.map +0 -1
  83. package/dist/chunk-P2RBE3FD.cjs.map +0 -1
  84. package/dist/chunk-YWYVIQ7T.js.map +0 -1
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk6OL5S7MJ_cjs = require('../chunk-6OL5S7MJ.cjs');
4
+ var chunkNYBIKDWI_cjs = require('../chunk-NYBIKDWI.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');
8
9
  var chunkXKSFJYOD_cjs = require('../chunk-XKSFJYOD.cjs');
9
10
  var chunkVGOFFCMT_cjs = require('../chunk-VGOFFCMT.cjs');
10
11
  var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
11
12
  require('../chunk-PPCATBOY.cjs');
12
- require('../chunk-C54XEN5T.cjs');
13
13
  require('../chunk-MHVNT4J3.cjs');
14
14
  require('../chunk-DES3K4SD.cjs');
15
15
 
@@ -17,179 +17,179 @@ require('../chunk-DES3K4SD.cjs');
17
17
 
18
18
  Object.defineProperty(exports, "ActionCluster", {
19
19
  enumerable: true,
20
- get: function () { return chunk6OL5S7MJ_cjs.ActionCluster; }
20
+ get: function () { return chunkNYBIKDWI_cjs.ActionCluster; }
21
21
  });
22
22
  Object.defineProperty(exports, "AskField", {
23
23
  enumerable: true,
24
- get: function () { return chunk6OL5S7MJ_cjs.AskField; }
24
+ get: function () { return chunkNYBIKDWI_cjs.AskField; }
25
25
  });
26
26
  Object.defineProperty(exports, "AskRow", {
27
27
  enumerable: true,
28
- get: function () { return chunk6OL5S7MJ_cjs.AskRow; }
28
+ get: function () { return chunkNYBIKDWI_cjs.AskRow; }
29
29
  });
30
30
  Object.defineProperty(exports, "AskTrigger", {
31
31
  enumerable: true,
32
- get: function () { return chunk6OL5S7MJ_cjs.AskTrigger; }
32
+ get: function () { return chunkNYBIKDWI_cjs.AskTrigger; }
33
33
  });
34
34
  Object.defineProperty(exports, "DEFAULT_ASK_FIELD_LABELS", {
35
35
  enumerable: true,
36
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_ASK_FIELD_LABELS; }
36
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_ASK_FIELD_LABELS; }
37
37
  });
38
38
  Object.defineProperty(exports, "DEFAULT_INSTALL_PROMPT_LABELS", {
39
39
  enumerable: true,
40
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
40
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
41
41
  });
42
42
  Object.defineProperty(exports, "DEFAULT_MOBILE_BARS_LABELS", {
43
43
  enumerable: true,
44
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_MOBILE_BARS_LABELS; }
44
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_MOBILE_BARS_LABELS; }
45
45
  });
46
46
  Object.defineProperty(exports, "DEFAULT_OFFLINE_PILL_LABELS", {
47
47
  enumerable: true,
48
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
48
+ get: function () { return chunkNYBIKDWI_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 chunk6OL5S7MJ_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
52
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
53
53
  });
54
54
  Object.defineProperty(exports, "DEFAULT_SIDEBAR_LABELS", {
55
55
  enumerable: true,
56
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_SIDEBAR_LABELS; }
56
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_SIDEBAR_LABELS; }
57
57
  });
58
58
  Object.defineProperty(exports, "DEFAULT_TIP_CARD_LABELS", {
59
59
  enumerable: true,
60
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_TIP_CARD_LABELS; }
60
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_TIP_CARD_LABELS; }
61
61
  });
62
62
  Object.defineProperty(exports, "DEFAULT_WORKSPACE_KIND_LABELS", {
63
63
  enumerable: true,
64
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_WORKSPACE_KIND_LABELS; }
64
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_WORKSPACE_KIND_LABELS; }
65
65
  });
66
66
  Object.defineProperty(exports, "DEFAULT_WORKSPACE_SWITCHER_LABELS", {
67
67
  enumerable: true,
68
- get: function () { return chunk6OL5S7MJ_cjs.DEFAULT_WORKSPACE_SWITCHER_LABELS; }
68
+ get: function () { return chunkNYBIKDWI_cjs.DEFAULT_WORKSPACE_SWITCHER_LABELS; }
69
69
  });
70
70
  Object.defineProperty(exports, "INSTALL_PROMPT_DISMISSED_KEY", {
71
71
  enumerable: true,
72
- get: function () { return chunk6OL5S7MJ_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
72
+ get: function () { return chunkNYBIKDWI_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
73
73
  });
74
74
  Object.defineProperty(exports, "InfoBar", {
75
75
  enumerable: true,
76
- get: function () { return chunk6OL5S7MJ_cjs.InfoBar; }
76
+ get: function () { return chunkNYBIKDWI_cjs.InfoBar; }
77
77
  });
78
78
  Object.defineProperty(exports, "InstallPrompt", {
79
79
  enumerable: true,
80
- get: function () { return chunk6OL5S7MJ_cjs.InstallPrompt; }
80
+ get: function () { return chunkNYBIKDWI_cjs.InstallPrompt; }
81
81
  });
82
82
  Object.defineProperty(exports, "MobileAppBar", {
83
83
  enumerable: true,
84
- get: function () { return chunk6OL5S7MJ_cjs.MobileAppBar; }
84
+ get: function () { return chunkNYBIKDWI_cjs.MobileAppBar; }
85
85
  });
86
86
  Object.defineProperty(exports, "MobileTabBar", {
87
87
  enumerable: true,
88
- get: function () { return chunk6OL5S7MJ_cjs.MobileTabBar; }
88
+ get: function () { return chunkNYBIKDWI_cjs.MobileTabBar; }
89
89
  });
90
90
  Object.defineProperty(exports, "NotificationBell", {
91
91
  enumerable: true,
92
- get: function () { return chunk6OL5S7MJ_cjs.NotificationBell; }
92
+ get: function () { return chunkNYBIKDWI_cjs.NotificationBell; }
93
93
  });
94
94
  Object.defineProperty(exports, "OfflinePill", {
95
95
  enumerable: true,
96
- get: function () { return chunk6OL5S7MJ_cjs.OfflinePill; }
96
+ get: function () { return chunkNYBIKDWI_cjs.OfflinePill; }
97
97
  });
98
98
  Object.defineProperty(exports, "RemoteControlPill", {
99
99
  enumerable: true,
100
- get: function () { return chunk6OL5S7MJ_cjs.RemoteControlPill; }
100
+ get: function () { return chunkNYBIKDWI_cjs.RemoteControlPill; }
101
101
  });
102
102
  Object.defineProperty(exports, "STATUS_ROW_BASE_CLASS", {
103
103
  enumerable: true,
104
- get: function () { return chunk6OL5S7MJ_cjs.STATUS_ROW_BASE_CLASS; }
104
+ get: function () { return chunkNYBIKDWI_cjs.STATUS_ROW_BASE_CLASS; }
105
105
  });
106
106
  Object.defineProperty(exports, "STATUS_ROW_TONES", {
107
107
  enumerable: true,
108
- get: function () { return chunk6OL5S7MJ_cjs.STATUS_ROW_TONES; }
108
+ get: function () { return chunkNYBIKDWI_cjs.STATUS_ROW_TONES; }
109
109
  });
110
110
  Object.defineProperty(exports, "Sidebar", {
111
111
  enumerable: true,
112
- get: function () { return chunk6OL5S7MJ_cjs.Sidebar; }
112
+ get: function () { return chunkNYBIKDWI_cjs.Sidebar; }
113
113
  });
114
114
  Object.defineProperty(exports, "SidebarBadgeRow", {
115
115
  enumerable: true,
116
- get: function () { return chunk6OL5S7MJ_cjs.SidebarBadgeRow; }
116
+ get: function () { return chunkNYBIKDWI_cjs.SidebarBadgeRow; }
117
117
  });
118
118
  Object.defineProperty(exports, "SidebarRowAction", {
119
119
  enumerable: true,
120
- get: function () { return chunk6OL5S7MJ_cjs.SidebarRowAction; }
120
+ get: function () { return chunkNYBIKDWI_cjs.SidebarRowAction; }
121
121
  });
122
122
  Object.defineProperty(exports, "SidebarRowHoverContext", {
123
123
  enumerable: true,
124
- get: function () { return chunk6OL5S7MJ_cjs.SidebarRowHoverContext; }
124
+ get: function () { return chunkNYBIKDWI_cjs.SidebarRowHoverContext; }
125
125
  });
126
126
  Object.defineProperty(exports, "SplitLayout", {
127
127
  enumerable: true,
128
- get: function () { return chunk6OL5S7MJ_cjs.SplitLayout; }
128
+ get: function () { return chunkNYBIKDWI_cjs.SplitLayout; }
129
129
  });
130
130
  Object.defineProperty(exports, "StatusBadge", {
131
131
  enumerable: true,
132
- get: function () { return chunk6OL5S7MJ_cjs.StatusBadge; }
132
+ get: function () { return chunkNYBIKDWI_cjs.StatusBadge; }
133
133
  });
134
134
  Object.defineProperty(exports, "StatusRow", {
135
135
  enumerable: true,
136
- get: function () { return chunk6OL5S7MJ_cjs.StatusRow; }
136
+ get: function () { return chunkNYBIKDWI_cjs.StatusRow; }
137
137
  });
138
138
  Object.defineProperty(exports, "TipCard", {
139
139
  enumerable: true,
140
- get: function () { return chunk6OL5S7MJ_cjs.TipCard; }
140
+ get: function () { return chunkNYBIKDWI_cjs.TipCard; }
141
141
  });
142
142
  Object.defineProperty(exports, "UserMenu", {
143
143
  enumerable: true,
144
- get: function () { return chunk6OL5S7MJ_cjs.UserMenu; }
144
+ get: function () { return chunkNYBIKDWI_cjs.UserMenu; }
145
145
  });
146
146
  Object.defineProperty(exports, "WorkspaceIdentity", {
147
147
  enumerable: true,
148
- get: function () { return chunk6OL5S7MJ_cjs.WorkspaceIdentity; }
148
+ get: function () { return chunkNYBIKDWI_cjs.WorkspaceIdentity; }
149
149
  });
150
150
  Object.defineProperty(exports, "WorkspaceSwitcher", {
151
151
  enumerable: true,
152
- get: function () { return chunk6OL5S7MJ_cjs.WorkspaceSwitcher; }
152
+ get: function () { return chunkNYBIKDWI_cjs.WorkspaceSwitcher; }
153
153
  });
154
154
  Object.defineProperty(exports, "getInstallInstructions", {
155
155
  enumerable: true,
156
- get: function () { return chunk6OL5S7MJ_cjs.getInstallInstructions; }
156
+ get: function () { return chunkNYBIKDWI_cjs.getInstallInstructions; }
157
157
  });
158
158
  Object.defineProperty(exports, "initInstallPrompt", {
159
159
  enumerable: true,
160
- get: function () { return chunk6OL5S7MJ_cjs.initInstallPrompt; }
160
+ get: function () { return chunkNYBIKDWI_cjs.initInstallPrompt; }
161
161
  });
162
162
  Object.defineProperty(exports, "isIosDevice", {
163
163
  enumerable: true,
164
- get: function () { return chunk6OL5S7MJ_cjs.isIosDevice; }
164
+ get: function () { return chunkNYBIKDWI_cjs.isIosDevice; }
165
165
  });
166
166
  Object.defineProperty(exports, "promptAppInstall", {
167
167
  enumerable: true,
168
- get: function () { return chunk6OL5S7MJ_cjs.promptAppInstall; }
168
+ get: function () { return chunkNYBIKDWI_cjs.promptAppInstall; }
169
169
  });
170
170
  Object.defineProperty(exports, "resolveSidebarLayout", {
171
171
  enumerable: true,
172
- get: function () { return chunk6OL5S7MJ_cjs.resolveSidebarLayout; }
172
+ get: function () { return chunkNYBIKDWI_cjs.resolveSidebarLayout; }
173
173
  });
174
174
  Object.defineProperty(exports, "useInstallPrompt", {
175
175
  enumerable: true,
176
- get: function () { return chunk6OL5S7MJ_cjs.useInstallPrompt; }
176
+ get: function () { return chunkNYBIKDWI_cjs.useInstallPrompt; }
177
177
  });
178
178
  Object.defineProperty(exports, "useSidebarContext", {
179
179
  enumerable: true,
180
- get: function () { return chunk6OL5S7MJ_cjs.useSidebarContext; }
180
+ get: function () { return chunkNYBIKDWI_cjs.useSidebarContext; }
181
181
  });
182
182
  Object.defineProperty(exports, "useSidebarSettle", {
183
183
  enumerable: true,
184
- get: function () { return chunk6OL5S7MJ_cjs.useSidebarSettle; }
184
+ get: function () { return chunkNYBIKDWI_cjs.useSidebarSettle; }
185
185
  });
186
186
  Object.defineProperty(exports, "workspaceKindColor", {
187
187
  enumerable: true,
188
- get: function () { return chunk6OL5S7MJ_cjs.workspaceKindColor; }
188
+ get: function () { return chunkNYBIKDWI_cjs.workspaceKindColor; }
189
189
  });
190
190
  Object.defineProperty(exports, "workspaceKindMeta", {
191
191
  enumerable: true,
192
- get: function () { return chunk6OL5S7MJ_cjs.workspaceKindMeta; }
192
+ get: function () { return chunkNYBIKDWI_cjs.workspaceKindMeta; }
193
193
  });
194
194
  Object.defineProperty(exports, "DEFAULT_TAB_HEADER_LABELS", {
195
195
  enumerable: true,
@@ -1,13 +1,13 @@
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-D46ZAPEE.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-R3PDNQYT.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';
6
7
  export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-BV7FEMSI.js';
7
8
  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';
8
9
  export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from '../chunk-SLSBJRWW.js';
9
10
  import '../chunk-NPLYHR2E.js';
10
- import '../chunk-76JDDMSP.js';
11
11
  import '../chunk-7F6CBP3Z.js';
12
12
  import '../chunk-VUNV25KB.js';
13
13
  //# sourceMappingURL=index.js.map
@@ -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');
13
14
  require('../chunk-IPGKTUF7.cjs');
14
15
  require('../chunk-VGOFFCMT.cjs');
15
16
  require('../chunk-B4SRYJLM.cjs');
16
17
  require('../chunk-7UTB4PHM.cjs');
17
18
  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';
12
13
  import '../chunk-UIWLDSTF.js';
13
14
  import '../chunk-KZJAG7T3.js';
14
15
  import '../chunk-HOXKR26S.js';
15
16
  import '../chunk-AA3PT6KR.js';
16
17
  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';
@@ -0,0 +1,41 @@
1
+ /**
2
+ * "When done, signal…": the signals a step raises once it is done, each a name and a condition on
3
+ * the step's outcome that fits its kind (a form field's value, the agent's answer, a review's
4
+ * approval). Another workflow starts on a signal ("When a step signals"), so the if/then between
5
+ * workflows lives in that link and each workflow stays short.
6
+ */
7
+ import { type WorkflowSignal, type WorkflowSignalWhen, type WorkflowStep } from '../agents';
8
+ export interface SignalsEditorLabels {
9
+ heading: string;
10
+ hint: string;
11
+ add: string;
12
+ name: string;
13
+ namePlaceholder: string;
14
+ when: string;
15
+ always: string;
16
+ fieldEquals: string;
17
+ answerContains: string;
18
+ answerMatches: string;
19
+ approved: string;
20
+ field: string;
21
+ value: string;
22
+ phrase: string;
23
+ phrasePlaceholder: string;
24
+ pattern: string;
25
+ remove: string;
26
+ }
27
+ export declare const DEFAULT_SIGNALS_EDITOR_LABELS: SignalsEditorLabels;
28
+ type ConditionKind = 'always' | 'field' | 'contains' | 'matches' | 'approved';
29
+ /** The conditions a step of this kind can test. */
30
+ export declare function signalConditions(kind: WorkflowStep['kind']): ConditionKind[];
31
+ export declare function conditionOf(when: WorkflowSignalWhen | undefined): ConditionKind;
32
+ /** A typed name as a signal slug: lower case, words joined by `-`. */
33
+ export declare function signalSlug(text: string): string;
34
+ export interface SignalsEditorProps {
35
+ step: WorkflowStep;
36
+ onChange: (signals: WorkflowSignal[] | undefined) => void;
37
+ labels?: Partial<SignalsEditorLabels>;
38
+ testId?: string;
39
+ }
40
+ export declare function SignalsEditor({ step, onChange, labels, testId, }: SignalsEditorProps): import("react").JSX.Element;
41
+ export {};
@@ -3,6 +3,7 @@
3
3
  * selected. Every edit goes through the pure operations in `./edit`.
4
4
  */
5
5
  import { type WorkflowDefinition } from '../agents';
6
+ import { type SignalsEditorLabels } from './SignalsEditor';
6
7
  export interface StepInspectorLabels {
7
8
  workflow: string;
8
9
  title: string;
@@ -47,9 +48,11 @@ export interface StepInspectorProps {
47
48
  /** What an agent step can run: skills and single-run workflows. */
48
49
  workflows?: WorkflowDefinition[];
49
50
  labels?: Partial<StepInspectorLabels>;
51
+ /** The "When done, signal…" editor's wording. */
52
+ signalLabels?: Partial<SignalsEditorLabels>;
50
53
  testId?: string;
51
54
  }
52
- export declare function StepInspector({ workflow, stepId, onChange, onSelect, workflows, labels, testId, }: StepInspectorProps): import("react").JSX.Element;
55
+ export declare function StepInspector({ workflow, stepId, onChange, onSelect, workflows, labels, signalLabels, testId, }: StepInspectorProps): import("react").JSX.Element;
53
56
  /**
54
57
  * A skill's inputs when it is picked: each one named like a field of the run reads that field
55
58
  * (`{{client}}`); the others start empty. What was typed before is kept.
@@ -4,7 +4,7 @@
4
4
  * steps, and, for a start nobody is there for, how the agent gets access.
5
5
  */
6
6
  import { type AgentOption } from '../agents';
7
- import type { WorkflowStart, WorkflowTrigger } from './trigger';
7
+ import { type DeclaredSignal, type WorkflowStart, type WorkflowTrigger } from './trigger';
8
8
  export interface TriggerInspectorLabels {
9
9
  heading: string;
10
10
  start: string;
@@ -12,6 +12,13 @@ export interface TriggerInspectorLabels {
12
12
  runAt: string;
13
13
  event: string;
14
14
  eventPlaceholder: string;
15
+ /** The "When something happens" option for another workflow's step signal. */
16
+ stepSignals: string;
17
+ signal: string;
18
+ signalPlaceholder: string;
19
+ signalHint: string;
20
+ /** The trigger node's line; `{signal}` is replaced. */
21
+ signalSummary: string;
15
22
  afterTask: string;
16
23
  afterTaskPlaceholder: string;
17
24
  agent: string;
@@ -40,7 +47,9 @@ export interface TriggerInspectorProps {
40
47
  value: string;
41
48
  label: string;
42
49
  }>;
50
+ /** The signals the firm's workflows declare (`declaredSignals`): the signal picker's options. */
51
+ signals?: DeclaredSignal[];
43
52
  labels?: Partial<TriggerInspectorLabels>;
44
53
  testId?: string;
45
54
  }
46
- export declare function TriggerInspector({ trigger, onChange, agents, eventKinds, tasks, labels, testId, }: TriggerInspectorProps): import("react").JSX.Element;
55
+ export declare function TriggerInspector({ trigger, onChange, agents, eventKinds, tasks, signals, labels, testId, }: TriggerInspectorProps): import("react").JSX.Element;
@@ -9,7 +9,7 @@ import { type ReactNode } from 'react';
9
9
  import { type AgentOption, type StepComposeOptions, type WorkflowDefinition, type WorkflowGraphProblem } from '../agents';
10
10
  import { type StepInspectorLabels } from './StepInspector';
11
11
  import { type TriggerInspectorLabels } from './TriggerInspector';
12
- import type { WorkflowBuilderValue } from './trigger';
12
+ import { type DeclaredSignal, type WorkflowBuilderValue } from './trigger';
13
13
  import { type WorkflowCanvasLabels } from './WorkflowCanvas';
14
14
  export interface WorkflowBuilderLabels {
15
15
  addStep: string;
@@ -42,6 +42,11 @@ export interface WorkflowBuilderProps extends Pick<StepComposeOptions, 'compose'
42
42
  value: string;
43
43
  label: string;
44
44
  }>;
45
+ /**
46
+ * The signals the firm's workflows declare (`declaredSignals` over the saved workflows): what
47
+ * "When a step signals" offers. The signals of the workflow being built are added.
48
+ */
49
+ signals?: DeclaredSignal[];
45
50
  renderIcon?: (key: string) => ReactNode;
46
51
  /** The host's buttons (save, run). */
47
52
  actions?: ReactNode;
@@ -52,4 +57,4 @@ export interface WorkflowBuilderProps extends Pick<StepComposeOptions, 'compose'
52
57
  testId?: string;
53
58
  className?: string;
54
59
  }
55
- export declare function WorkflowBuilder({ value, onChange, workflows, agents, eventKinds, tasks, compose, renderIcon, actions, labels, canvasLabels, inspectorLabels, triggerLabels, testId, className, }: WorkflowBuilderProps): import("react").JSX.Element;
60
+ export declare function WorkflowBuilder({ value, onChange, workflows, agents, eventKinds, tasks, signals, compose, renderIcon, actions, labels, canvasLabels, inspectorLabels, triggerLabels, testId, className, }: WorkflowBuilderProps): import("react").JSX.Element;