@arbidocs/blocks 0.4.108 → 0.4.110

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 (174) hide show
  1. package/dist/{NativeDocxEditor-UAZUKZ77.js → NativeDocxEditor-4PY4YZYC.js} +3 -3
  2. package/dist/{NativeDocxEditor-UAZUKZ77.js.map → NativeDocxEditor-4PY4YZYC.js.map} +1 -1
  3. package/dist/{NativeDocxEditor-YX7B7OFH.cjs → NativeDocxEditor-WODZAURG.cjs} +7 -7
  4. package/dist/{NativeDocxEditor-YX7B7OFH.cjs.map → NativeDocxEditor-WODZAURG.cjs.map} +1 -1
  5. package/dist/agents/index.cjs +286 -286
  6. package/dist/agents/index.js +10 -10
  7. package/dist/agents/tasks/ConversationListView.d.ts +5 -1
  8. package/dist/agents/tasks/TaskActivityTimeline.d.ts +5 -1
  9. package/dist/calendar/EventDetails.d.ts +1 -1
  10. package/dist/calendar/index.cjs +13 -0
  11. package/dist/calendar/index.cjs.map +1 -1
  12. package/dist/calendar/index.js +13 -0
  13. package/dist/calendar/index.js.map +1 -1
  14. package/dist/calendar/types.d.ts +3 -0
  15. package/dist/calls/CallSidePanel.d.ts +17 -0
  16. package/dist/calls/CallStage.d.ts +57 -0
  17. package/dist/calls/ControlBar.d.ts +91 -0
  18. package/dist/calls/ControlButton.d.ts +44 -0
  19. package/dist/calls/PreJoin.d.ts +31 -0
  20. package/dist/calls/cards.d.ts +54 -0
  21. package/dist/calls/hooks.d.ts +20 -0
  22. package/dist/calls/index.cjs +1853 -0
  23. package/dist/calls/index.cjs.map +1 -0
  24. package/dist/calls/index.d.ts +20 -0
  25. package/dist/calls/index.js +1737 -0
  26. package/dist/calls/index.js.map +1 -0
  27. package/dist/calls/join-choices.d.ts +11 -0
  28. package/dist/calls/layout.d.ts +106 -0
  29. package/dist/calls/panels.d.ts +55 -0
  30. package/dist/calls/status.d.ts +69 -0
  31. package/dist/calls/tiles.d.ts +59 -0
  32. package/dist/chat/Message.d.ts +17 -2
  33. package/dist/chat/TranscriptLine.d.ts +50 -0
  34. package/dist/chat/index.cjs +147 -126
  35. package/dist/chat/index.d.ts +3 -1
  36. package/dist/chat/index.js +5 -4
  37. package/dist/chat/transcript-runs.d.ts +6 -0
  38. package/dist/{chunk-QT6EGMAJ.cjs → chunk-2NIL2ASF.cjs} +38 -294
  39. package/dist/chunk-2NIL2ASF.cjs.map +1 -0
  40. package/dist/{chunk-XMBYDLZQ.cjs → chunk-2UAJVK3C.cjs} +4 -4
  41. package/dist/{chunk-XMBYDLZQ.cjs.map → chunk-2UAJVK3C.cjs.map} +1 -1
  42. package/dist/{chunk-TTXK62YI.cjs → chunk-54WBIVHV.cjs} +5 -5
  43. package/dist/{chunk-TTXK62YI.cjs.map → chunk-54WBIVHV.cjs.map} +1 -1
  44. package/dist/{chunk-7C35WXYB.js → chunk-5HFPRI3W.js} +5 -5
  45. package/dist/chunk-5HFPRI3W.js.map +1 -0
  46. package/dist/{chunk-S7RHJI5Q.js → chunk-6RHHMBZ5.js} +158 -5
  47. package/dist/chunk-6RHHMBZ5.js.map +1 -0
  48. package/dist/{chunk-3Y6NQIDE.js → chunk-A35KT2II.js} +37 -19
  49. package/dist/chunk-A35KT2II.js.map +1 -0
  50. package/dist/{chunk-PGDL26TQ.js → chunk-AY32GGKU.js} +10 -4
  51. package/dist/{chunk-PGDL26TQ.js.map → chunk-AY32GGKU.js.map} +1 -1
  52. package/dist/{chunk-IXALYQT7.cjs → chunk-C2CWWEHO.cjs} +2 -2
  53. package/dist/chunk-C2CWWEHO.cjs.map +1 -0
  54. package/dist/{chunk-S55VDTX3.js → chunk-CECWAIHL.js} +3 -3
  55. package/dist/{chunk-S55VDTX3.js.map → chunk-CECWAIHL.js.map} +1 -1
  56. package/dist/{chunk-XQDM6T6C.js → chunk-CXZ7FPTQ.js} +3 -3
  57. package/dist/{chunk-XQDM6T6C.js.map → chunk-CXZ7FPTQ.js.map} +1 -1
  58. package/dist/{chunk-C2HRZSAT.cjs → chunk-DJM7DLCT.cjs} +5 -5
  59. package/dist/chunk-DJM7DLCT.cjs.map +1 -0
  60. package/dist/{chunk-XQKGYGCJ.js → chunk-DQCYCEDR.js} +3 -3
  61. package/dist/{chunk-XQKGYGCJ.js.map → chunk-DQCYCEDR.js.map} +1 -1
  62. package/dist/{chunk-ZYSY4L5L.cjs → chunk-ELDUWTRR.cjs} +4 -4
  63. package/dist/{chunk-ZYSY4L5L.cjs.map → chunk-ELDUWTRR.cjs.map} +1 -1
  64. package/dist/{chunk-A2MN2ZLX.js → chunk-GKDWQLVU.js} +13 -274
  65. package/dist/chunk-GKDWQLVU.js.map +1 -0
  66. package/dist/{chunk-24ND4S6Y.cjs → chunk-HBBJYRGI.cjs} +162 -5
  67. package/dist/{chunk-S7RHJI5Q.js.map → chunk-HBBJYRGI.cjs.map} +1 -1
  68. package/dist/{chunk-P2KPDPFF.js → chunk-IXTQYFIF.js} +23 -15
  69. package/dist/chunk-IXTQYFIF.js.map +1 -0
  70. package/dist/{chunk-JQVPGMLU.js → chunk-JB32KYAH.js} +3 -3
  71. package/dist/{chunk-JQVPGMLU.js.map → chunk-JB32KYAH.js.map} +1 -1
  72. package/dist/{chunk-PBS5MFIY.cjs → chunk-JK45LSIH.cjs} +3 -3
  73. package/dist/{chunk-PBS5MFIY.cjs.map → chunk-JK45LSIH.cjs.map} +1 -1
  74. package/dist/chunk-MWDW5UBW.cjs +199 -0
  75. package/dist/chunk-MWDW5UBW.cjs.map +1 -0
  76. package/dist/{chunk-ZPLG7QYF.js → chunk-N5YEF3LC.js} +2 -2
  77. package/dist/chunk-N5YEF3LC.js.map +1 -0
  78. package/dist/{chunk-EWSEQEPL.js → chunk-NRUPUDWB.js} +17 -7
  79. package/dist/chunk-NRUPUDWB.js.map +1 -0
  80. package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
  81. package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
  82. package/dist/{chunk-EGDWNEAG.js → chunk-PEHLUB52.js} +3 -3
  83. package/dist/{chunk-EGDWNEAG.js.map → chunk-PEHLUB52.js.map} +1 -1
  84. package/dist/{chunk-W7NZRZ54.js → chunk-SQNAJPNR.js} +4 -4
  85. package/dist/{chunk-W7NZRZ54.js.map → chunk-SQNAJPNR.js.map} +1 -1
  86. package/dist/{chunk-DTBSGG36.cjs → chunk-U6MPHCEB.cjs} +24 -16
  87. package/dist/chunk-U6MPHCEB.cjs.map +1 -0
  88. package/dist/{chunk-MP6FK43E.cjs → chunk-VP4KJ4LK.cjs} +17 -6
  89. package/dist/chunk-VP4KJ4LK.cjs.map +1 -0
  90. package/dist/{chunk-LLFW2T6S.cjs → chunk-VZKBI2KJ.cjs} +85 -67
  91. package/dist/chunk-VZKBI2KJ.cjs.map +1 -0
  92. package/dist/{chunk-5YXG342J.cjs → chunk-W7ZDBPJ3.cjs} +4 -4
  93. package/dist/{chunk-5YXG342J.cjs.map → chunk-W7ZDBPJ3.cjs.map} +1 -1
  94. package/dist/{chunk-SKSE4OT6.cjs → chunk-WPVIOGDG.cjs} +5 -5
  95. package/dist/{chunk-SKSE4OT6.cjs.map → chunk-WPVIOGDG.cjs.map} +1 -1
  96. package/dist/{chunk-3US5OIDQ.cjs → chunk-XSUOEJB3.cjs} +9 -3
  97. package/dist/chunk-XSUOEJB3.cjs.map +1 -0
  98. package/dist/chunk-Z3AZ7Q5X.js +177 -0
  99. package/dist/chunk-Z3AZ7Q5X.js.map +1 -0
  100. package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
  101. package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
  102. package/dist/citations/index.cjs +10 -10
  103. package/dist/citations/index.js +1 -1
  104. package/dist/collaboration/index.cjs +57 -57
  105. package/dist/collaboration/index.js +3 -3
  106. package/dist/connect/docx.cjs +6 -6
  107. package/dist/connect/docx.js +4 -4
  108. package/dist/connect/index.cjs +87 -87
  109. package/dist/connect/index.js +16 -16
  110. package/dist/databases/index.cjs +2 -2
  111. package/dist/databases/index.js +1 -1
  112. package/dist/docx/definitions/fragment.d.ts +2 -6
  113. package/dist/docx/definitions/port.d.ts +2 -57
  114. package/dist/docx/index.cjs +46 -46
  115. package/dist/docx/index.js +3 -3
  116. package/dist/docx/references/commands.d.ts +3 -31
  117. package/dist/docx/references/numbering.d.ts +3 -47
  118. package/dist/facts/index.cjs +5 -5
  119. package/dist/facts/index.js +4 -4
  120. package/dist/files/GridView.d.ts +4 -1
  121. package/dist/files/TagPassagePanel.d.ts +2 -0
  122. package/dist/files/index.cjs +89 -79
  123. package/dist/files/index.cjs.map +1 -1
  124. package/dist/files/index.js +88 -78
  125. package/dist/files/index.js.map +1 -1
  126. package/dist/home/index.cjs +17 -17
  127. package/dist/home/index.js +3 -3
  128. package/dist/index.cjs +739 -718
  129. package/dist/index.cjs.map +1 -1
  130. package/dist/index.js +22 -21
  131. package/dist/index.js.map +1 -1
  132. package/dist/retrieval/index.cjs +1 -1
  133. package/dist/retrieval/index.js +1 -1
  134. package/dist/settings/FirmPool.d.ts +45 -0
  135. package/dist/settings/index.cjs +134 -37
  136. package/dist/settings/index.cjs.map +1 -1
  137. package/dist/settings/index.d.ts +1 -0
  138. package/dist/settings/index.js +100 -6
  139. package/dist/settings/index.js.map +1 -1
  140. package/dist/shell/index.cjs +12 -12
  141. package/dist/shell/index.js +4 -4
  142. package/dist/site/index.cjs +5 -5
  143. package/dist/site/index.js +1 -1
  144. package/dist/studio/index.cjs +5 -5
  145. package/dist/studio/index.js +4 -4
  146. package/dist/workflow-canvas/index.cjs +53 -53
  147. package/dist/workflow-canvas/index.js +10 -10
  148. package/dist/workspaces/index.cjs +3 -3
  149. package/dist/workspaces/index.cjs.map +1 -1
  150. package/dist/workspaces/index.js +3 -3
  151. package/dist/workspaces/index.js.map +1 -1
  152. package/node_modules/@arbidocs/coedit/dist/commands.cjs +356 -0
  153. package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -0
  154. package/node_modules/@arbidocs/coedit/dist/commands.d.cts +235 -0
  155. package/node_modules/@arbidocs/coedit/dist/commands.d.ts +235 -0
  156. package/node_modules/@arbidocs/coedit/dist/commands.js +338 -0
  157. package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -0
  158. package/node_modules/@arbidocs/coedit/package.json +6 -1
  159. package/package.json +15 -5
  160. package/src/calls/calls.css +157 -0
  161. package/dist/chunk-24ND4S6Y.cjs.map +0 -1
  162. package/dist/chunk-3US5OIDQ.cjs.map +0 -1
  163. package/dist/chunk-3Y6NQIDE.js.map +0 -1
  164. package/dist/chunk-7C35WXYB.js.map +0 -1
  165. package/dist/chunk-A2MN2ZLX.js.map +0 -1
  166. package/dist/chunk-C2HRZSAT.cjs.map +0 -1
  167. package/dist/chunk-DTBSGG36.cjs.map +0 -1
  168. package/dist/chunk-EWSEQEPL.js.map +0 -1
  169. package/dist/chunk-IXALYQT7.cjs.map +0 -1
  170. package/dist/chunk-LLFW2T6S.cjs.map +0 -1
  171. package/dist/chunk-MP6FK43E.cjs.map +0 -1
  172. package/dist/chunk-P2KPDPFF.js.map +0 -1
  173. package/dist/chunk-QT6EGMAJ.cjs.map +0 -1
  174. package/dist/chunk-ZPLG7QYF.js.map +0 -1
@@ -1,26 +1,26 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var chunkZV3BKLFY_cjs = require('./chunk-ZV3BKLFY.cjs');
4
5
  var chunkS5HZBXZA_cjs = require('./chunk-S5HZBXZA.cjs');
5
6
  var chunkZW6FPIFC_cjs = require('./chunk-ZW6FPIFC.cjs');
6
- var chunk3US5OIDQ_cjs = require('./chunk-3US5OIDQ.cjs');
7
+ var chunkXSUOEJB3_cjs = require('./chunk-XSUOEJB3.cjs');
8
+ var chunk7D737FLE_cjs = require('./chunk-7D737FLE.cjs');
7
9
  var chunkN26CXGXC_cjs = require('./chunk-N26CXGXC.cjs');
8
- var chunk7RGLTF76_cjs = require('./chunk-7RGLTF76.cjs');
9
10
  var chunk3AFWGEDJ_cjs = require('./chunk-3AFWGEDJ.cjs');
10
11
  var chunkDVUZTGVL_cjs = require('./chunk-DVUZTGVL.cjs');
12
+ var chunkOB5F4577_cjs = require('./chunk-OB5F4577.cjs');
13
+ var chunkULWRNGGE_cjs = require('./chunk-ULWRNGGE.cjs');
11
14
  var chunkV4ISCZJ7_cjs = require('./chunk-V4ISCZJ7.cjs');
12
15
  var chunk2EI7NCUA_cjs = require('./chunk-2EI7NCUA.cjs');
13
- var chunkZ5VUZ6YD_cjs = require('./chunk-Z5VUZ6YD.cjs');
14
- var chunk7D737FLE_cjs = require('./chunk-7D737FLE.cjs');
15
- var chunkOB5F4577_cjs = require('./chunk-OB5F4577.cjs');
16
+ var chunkC2CWWEHO_cjs = require('./chunk-C2CWWEHO.cjs');
17
+ var chunk7RGLTF76_cjs = require('./chunk-7RGLTF76.cjs');
16
18
  var chunkB4SRYJLM_cjs = require('./chunk-B4SRYJLM.cjs');
17
19
  var chunk7UTB4PHM_cjs = require('./chunk-7UTB4PHM.cjs');
18
- var chunkC54XEN5T_cjs = require('./chunk-C54XEN5T.cjs');
19
- var chunkKDG6FER6_cjs = require('./chunk-KDG6FER6.cjs');
20
- var chunkULWRNGGE_cjs = require('./chunk-ULWRNGGE.cjs');
21
- var chunkIXALYQT7_cjs = require('./chunk-IXALYQT7.cjs');
22
20
  var chunkFX3K6LNZ_cjs = require('./chunk-FX3K6LNZ.cjs');
23
21
  var chunkMHVNT4J3_cjs = require('./chunk-MHVNT4J3.cjs');
22
+ var chunkC54XEN5T_cjs = require('./chunk-C54XEN5T.cjs');
23
+ var chunkKDG6FER6_cjs = require('./chunk-KDG6FER6.cjs');
24
24
  var react = require('react');
25
25
  var ui = require('@arbidocs/react/ui');
26
26
  var jsxRuntime = require('react/jsx-runtime');
@@ -146,7 +146,7 @@ function WorkflowConfigDialog({
146
146
  }) {
147
147
  const l = { ...DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, ...labels };
148
148
  const initialKey = JSON.stringify(initialInputs ?? {});
149
- const seedKey = JSON.stringify({ ...chunk3US5OIDQ_cjs.defaultInputs(workflow), ...JSON.parse(initialKey) });
149
+ const seedKey = JSON.stringify({ ...chunkXSUOEJB3_cjs.defaultInputs(workflow), ...JSON.parse(initialKey) });
150
150
  const seed = react.useMemo(() => JSON.parse(seedKey), [seedKey]);
151
151
  const [inputs, setInputs] = useControllableState(inputsProp, seed, onInputsChange);
152
152
  const [agentId, setAgentId] = useControllableState(
@@ -158,7 +158,7 @@ function WorkflowConfigDialog({
158
158
  if (open && inputsProp === void 0) setInputs(seed);
159
159
  }, [open, seed]);
160
160
  const setField = (name, value) => setInputs({ ...inputs, [name]: value });
161
- const errors = chunk3US5OIDQ_cjs.validateInputs(workflow, inputs);
161
+ const errors = chunkXSUOEJB3_cjs.validateInputs(workflow, inputs);
162
162
  const valid = Object.keys(errors).length === 0;
163
163
  const visibleErrors = Object.fromEntries(
164
164
  Object.entries(errors).filter(([, e]) => e !== "required")
@@ -171,7 +171,7 @@ function WorkflowConfigDialog({
171
171
  const blockedByScope = matchedCount !== null && matchedCount === 0 && Boolean(workflow.requiresFiles);
172
172
  const showAgent = workflow.run.kind === "prompt" && workflow.options?.agent !== false && agents !== void 0 && agents.length > 0;
173
173
  const launch = (values) => {
174
- Promise.resolve(onLaunch(chunk3US5OIDQ_cjs.buildLaunch(workflow, values, agentId))).catch(() => {
174
+ Promise.resolve(onLaunch(chunkXSUOEJB3_cjs.buildLaunch(workflow, values, agentId))).catch(() => {
175
175
  });
176
176
  };
177
177
  const submit = () => {
@@ -190,7 +190,7 @@ function WorkflowConfigDialog({
190
190
  const firstField = workflow.inputs.find((f) => !f.advanced);
191
191
  const focusPromptFirst = firstField?.type === "text" || firstField?.type === "longtext";
192
192
  const defaultScopeRender = scopeSource ? (_field, value, onChange) => /* @__PURE__ */ jsxRuntime.jsx(
193
- chunkZ5VUZ6YD_cjs.ScopePicker,
193
+ chunkZV3BKLFY_cjs.ScopePicker,
194
194
  {
195
195
  folders: scopeSource.folders,
196
196
  unfiledCount: scopeSource.unfiledCount,
@@ -223,7 +223,7 @@ function WorkflowConfigDialog({
223
223
  },
224
224
  children: [
225
225
  /* @__PURE__ */ jsxRuntime.jsx(
226
- chunkZ5VUZ6YD_cjs.QuickActionDialogHeader,
226
+ chunkZV3BKLFY_cjs.QuickActionDialogHeader,
227
227
  {
228
228
  icon: workflow.icon && renderIcon ? renderIcon(workflow.icon) : null,
229
229
  title: workflow.title,
@@ -241,7 +241,7 @@ function WorkflowConfigDialog({
241
241
  submit();
242
242
  },
243
243
  children: noFiles ? /* @__PURE__ */ jsxRuntime.jsx(
244
- chunkZ5VUZ6YD_cjs.AddFilesFirst,
244
+ chunkZV3BKLFY_cjs.AddFilesFirst,
245
245
  {
246
246
  reason: l.addFilesReason,
247
247
  action: addFilesAction,
@@ -249,7 +249,7 @@ function WorkflowConfigDialog({
249
249
  }
250
250
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
251
251
  /* @__PURE__ */ jsxRuntime.jsx(
252
- chunk3US5OIDQ_cjs.SchemaForm,
252
+ chunkXSUOEJB3_cjs.SchemaForm,
253
253
  {
254
254
  fields,
255
255
  values: inputs,
@@ -308,7 +308,7 @@ function defaultScopeRenderer(scopeSource) {
308
308
  if (!scopeSource) return void 0;
309
309
  return function renderScope(_field, value, onChange) {
310
310
  return /* @__PURE__ */ jsxRuntime.jsx(
311
- chunkZ5VUZ6YD_cjs.ScopePicker,
311
+ chunkZV3BKLFY_cjs.ScopePicker,
312
312
  {
313
313
  folders: scopeSource.folders,
314
314
  unfiledCount: scopeSource.unfiledCount,
@@ -327,7 +327,7 @@ function resolveScopeInputs(workflow, inputs, scopeSource) {
327
327
  for (const field of workflow.inputs) {
328
328
  if (field.type !== "scope") continue;
329
329
  const raw = inputs[field.name];
330
- const scope = chunk3US5OIDQ_cjs.isWorkflowScope(raw) ? raw : { folders: [], labels: [] };
330
+ const scope = chunkXSUOEJB3_cjs.isWorkflowScope(raw) ? raw : { folders: [], labels: [] };
331
331
  next[field.name] = { ...scope, documents: scopeSource.resolveDocuments(scope) };
332
332
  }
333
333
  return next;
@@ -369,9 +369,9 @@ function WorkflowLauncher({
369
369
  };
370
370
  const select = (workflow) => {
371
371
  if (workflow.run.kind === "operation" && workflow.inputs.length === 0) {
372
- const inputs = chunk3US5OIDQ_cjs.defaultInputs(workflow);
373
- if (Object.keys(chunk3US5OIDQ_cjs.validateInputs(workflow, inputs)).length === 0) {
374
- Promise.resolve(onLaunch(chunk3US5OIDQ_cjs.buildLaunch(workflow, inputs, void 0))).catch(() => {
372
+ const inputs = chunkXSUOEJB3_cjs.defaultInputs(workflow);
373
+ if (Object.keys(chunkXSUOEJB3_cjs.validateInputs(workflow, inputs)).length === 0) {
374
+ Promise.resolve(onLaunch(chunkXSUOEJB3_cjs.buildLaunch(workflow, inputs, void 0))).catch(() => {
375
375
  });
376
376
  return;
377
377
  }
@@ -393,7 +393,7 @@ function WorkflowLauncher({
393
393
  });
394
394
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className, "data-slot": "workflow-launcher", children: [
395
395
  showTiles && /* @__PURE__ */ jsxRuntime.jsx(
396
- chunkZ5VUZ6YD_cjs.StartTiles,
396
+ chunkZV3BKLFY_cjs.StartTiles,
397
397
  {
398
398
  items: [...tiles, ...extraTiles],
399
399
  caption,
@@ -521,7 +521,7 @@ function workflowToSkillMarkdown(workflow) {
521
521
  if (workflow.landing !== "chat") lines.push(`landing: ${workflow.landing}`);
522
522
  if (workflow.requiresFiles) lines.push("requires_files: true");
523
523
  if (workflow.inputs.length > 0) {
524
- lines.push(`inputs: ${JSON.stringify(workflow.inputs.map(chunk3US5OIDQ_cjs.fieldToFrontmatter))}`);
524
+ lines.push(`inputs: ${JSON.stringify(workflow.inputs.map(chunkXSUOEJB3_cjs.fieldToFrontmatter))}`);
525
525
  }
526
526
  lines.push("---", "", run.promptTemplate.trim(), "");
527
527
  return lines.join("\n");
@@ -543,11 +543,11 @@ function workflowFromSkillMarkdown(id, text2) {
543
543
  } else if (value === "true" || value === "false") frontmatter[key] = value === "true";
544
544
  else frontmatter[key] = value;
545
545
  }
546
- return chunk3US5OIDQ_cjs.workflowFromFrontmatter(id, frontmatter, body);
546
+ return chunkXSUOEJB3_cjs.workflowFromFrontmatter(id, frontmatter, body);
547
547
  }
548
548
  function useWorkflowPreview(workflow, { answer = "{prompt}", delayMs = 400, resolveWorkflow, compose } = {}) {
549
- const steps = chunk3US5OIDQ_cjs.workflowSteps(workflow);
550
- const [inputs, setInputs] = react.useState(() => chunk3US5OIDQ_cjs.initialRunInputs(workflow));
549
+ const steps = chunkXSUOEJB3_cjs.workflowSteps(workflow);
550
+ const [inputs, setInputs] = react.useState(() => chunkXSUOEJB3_cjs.initialRunInputs(workflow));
551
551
  const [states, setStates] = react.useState({});
552
552
  const set = (id, state) => setStates((s) => ({ ...s, [id]: state }));
553
553
  const timers = react.useRef(/* @__PURE__ */ new Map());
@@ -569,10 +569,10 @@ function useWorkflowPreview(workflow, { answer = "{prompt}", delayMs = 400, reso
569
569
  react.useEffect(() => {
570
570
  if (Object.values(states).some((s) => s.status === "running")) return;
571
571
  const next = steps.find(
572
- (s) => (s.kind === "agent" || s.kind === "action") && chunk3US5OIDQ_cjs.stepPhase(steps, states, s.id) === "ready"
572
+ (s) => (s.kind === "agent" || s.kind === "action") && chunkXSUOEJB3_cjs.stepPhase(steps, states, s.id) === "ready"
573
573
  );
574
574
  if (!next || next.kind !== "agent" && next.kind !== "action") return;
575
- const prompt = next.kind === "agent" ? chunk3US5OIDQ_cjs.composeStepPrompt(workflow, next, inputs, { resolveWorkflow, compose }) : "";
575
+ const prompt = next.kind === "agent" ? chunkXSUOEJB3_cjs.composeStepPrompt(workflow, next, inputs, { resolveWorkflow, compose }) : "";
576
576
  set(next.id, { status: "running", startedAt: (/* @__PURE__ */ new Date()).toISOString() });
577
577
  timers.current.set(
578
578
  next.id,
@@ -585,7 +585,7 @@ function useWorkflowPreview(workflow, { answer = "{prompt}", delayMs = 400, reso
585
585
  }, delayMs)
586
586
  );
587
587
  }, [states, steps, workflow]);
588
- return chunk3US5OIDQ_cjs.useWorkflowView({
588
+ return chunkXSUOEJB3_cjs.useWorkflowView({
589
589
  steps,
590
590
  states,
591
591
  inputs,
@@ -3889,7 +3889,7 @@ function TaskTable(props) {
3889
3889
  testId: "task-list-empty"
3890
3890
  }
3891
3891
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
3892
- chunkIXALYQT7_cjs.GridView,
3892
+ chunkC2CWWEHO_cjs.GridView,
3893
3893
  {
3894
3894
  testId: "task-grid",
3895
3895
  gridId: props.gridId ?? "tasks-grid-v4",
@@ -4416,7 +4416,7 @@ function EntityChip({
4416
4416
  }
4417
4417
  );
4418
4418
  }
4419
- function filterConversationRows(conversations, query, labelText, doneFilter = "exclude", visibilityFilters) {
4419
+ function filterConversationRows(conversations, query, labelText, doneFilter = "exclude", visibilityFilters, meetingFilter = null) {
4420
4420
  const q = query.trim().toLowerCase();
4421
4421
  return [...conversations].sort(
4422
4422
  (a, b) => (Date.parse(b.last_message_updated_at || b.updated_at || b.created_at || "") || 0) - (Date.parse(a.last_message_updated_at || a.updated_at || a.created_at || "") || 0)
@@ -4426,7 +4426,9 @@ function filterConversationRows(conversations, query, labelText, doneFilter = "e
4426
4426
  const state = row.is_shared ? visibilityFilters?.workspace : visibilityFilters?.me;
4427
4427
  const hasIncluded = visibilityFilters?.me === "include" || visibilityFilters?.workspace === "include";
4428
4428
  return state !== "exclude" && (!hasIncluded || state === "include");
4429
- }).filter((row) => !q || `${row.title ?? ""} ${labelText?.(row) ?? ""}`.toLowerCase().includes(q));
4429
+ }).filter(
4430
+ (row) => meetingFilter === "include" ? !!row.meeting_call_ext_id : meetingFilter === "exclude" ? !row.meeting_call_ext_id : true
4431
+ ).filter((row) => !q || `${row.title ?? ""} ${labelText?.(row) ?? ""}`.toLowerCase().includes(q));
4430
4432
  }
4431
4433
  function ConversationListView(p) {
4432
4434
  const liveProps = react.useRef(p);
@@ -4436,8 +4438,15 @@ function ConversationListView(p) {
4436
4438
  const q = `${query} ${p.filterText ?? ""}`.trim().toLowerCase();
4437
4439
  const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
4438
4440
  const rows = react.useMemo(
4439
- () => filterConversationRows(p.conversations, q, p.labelText, p.doneFilter, p.visibilityFilters),
4440
- [p.conversations, q, p.labelText, p.doneFilter, p.visibilityFilters]
4441
+ () => filterConversationRows(
4442
+ p.conversations,
4443
+ q,
4444
+ p.labelText,
4445
+ p.doneFilter,
4446
+ p.visibilityFilters,
4447
+ p.meetingFilter
4448
+ ),
4449
+ [p.conversations, q, p.labelText, p.doneFilter, p.visibilityFilters, p.meetingFilter]
4441
4450
  );
4442
4451
  const selectedRows = p.conversations.filter((c) => selected.has(c.external_id));
4443
4452
  const columns = react.useMemo(
@@ -4524,7 +4533,8 @@ function ConversationListView(p) {
4524
4533
  showLabel: true,
4525
4534
  label: data.is_shared ? "Workspace" : "Only Me",
4526
4535
  disabled: data.is_owner === false,
4527
- onToggle: () => liveProps.current.onToggleShared?.(data, !data.is_shared)
4536
+ onToggle: () => liveProps.current.onToggleShared?.(data, !data.is_shared),
4537
+ "data-testid": `thread-shared-${data.external_id}`
4528
4538
  }
4529
4539
  )
4530
4540
  }
@@ -4590,7 +4600,7 @@ function ConversationListView(p) {
4590
4600
  }
4591
4601
  ),
4592
4602
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
4593
- chunkIXALYQT7_cjs.GridView,
4603
+ chunkC2CWWEHO_cjs.GridView,
4594
4604
  {
4595
4605
  testId: "threads-grid",
4596
4606
  items: rows,
@@ -4998,7 +5008,7 @@ function workflowTaskFields(workflow, inputs, name, context) {
4998
5008
  }
4999
5009
  const typed = name?.trim();
5000
5010
  if (workflow.options?.agent === false) {
5001
- const message = chunk3US5OIDQ_cjs.composeWorkflowPrompt(workflow, inputs, context);
5011
+ const message = chunkXSUOEJB3_cjs.composeWorkflowPrompt(workflow, inputs, context);
5002
5012
  return { name: typed || message, prompt: "", skill_ref: null, skill_inputs: null };
5003
5013
  }
5004
5014
  const derived = typed || deriveWorkflowName(workflow, inputs);
@@ -5012,7 +5022,7 @@ function workflowTaskFields(workflow, inputs, name, context) {
5012
5022
  }
5013
5023
  return {
5014
5024
  name: derived,
5015
- prompt: chunk3US5OIDQ_cjs.composeWorkflowPrompt(workflow, inputs, context),
5025
+ prompt: chunkXSUOEJB3_cjs.composeWorkflowPrompt(workflow, inputs, context),
5016
5026
  skill_ref: null,
5017
5027
  // The files a run is bound to travel in the saved inputs, whatever the template: the server binds
5018
5028
  // the run to the ids listed under any input's `documents`.
@@ -5182,7 +5192,7 @@ function workflowToComposerValues(workflow, workflows) {
5182
5192
  runAt: isoToLocalInput(workflow.run_at),
5183
5193
  rrule: workflow.rrule ?? "",
5184
5194
  timezone: workflow.timezone,
5185
- eventKind: workflow.event_kind ?? "user_message",
5195
+ eventKind: workflow.event_kind ?? "mention",
5186
5196
  eventFilter: workflow.event_filter ?? null,
5187
5197
  afterTaskId: workflow.after_conversation_ext_id ?? "",
5188
5198
  shared: workflow.shared,
@@ -6108,7 +6118,7 @@ function WorkflowsTable(props) {
6108
6118
  testId: "workflow-list-empty"
6109
6119
  }
6110
6120
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
6111
- chunkIXALYQT7_cjs.GridView,
6121
+ chunkC2CWWEHO_cjs.GridView,
6112
6122
  {
6113
6123
  testId: "workflow-grid",
6114
6124
  gridId: props.gridId ?? "workflows-grid-v2",
@@ -6192,7 +6202,7 @@ function TaskActivityDialog({
6192
6202
  testId,
6193
6203
  ...timeline
6194
6204
  }) {
6195
- const l = { ...chunk3US5OIDQ_cjs.DEFAULT_TASK_ACTIVITY_LABELS, ...labels };
6205
+ const l = { ...chunkXSUOEJB3_cjs.DEFAULT_TASK_ACTIVITY_LABELS, ...labels };
6196
6206
  const id = chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "task-activity" });
6197
6207
  const count = events?.length ?? 0;
6198
6208
  const scrollToEnd = react.useCallback(
@@ -6207,7 +6217,7 @@ function TaskActivityDialog({
6207
6217
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { className: "truncate", children: taskName })
6208
6218
  ] }),
6209
6219
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-h-[55dvh] overflow-y-auto pr-1", "data-testid": `${id}-scroll`, children: [
6210
- isLoading && !events ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: l.loading }) : isError && !events ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-destructive", children: l.error }) : count === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: l.empty }) : /* @__PURE__ */ jsxRuntime.jsx(chunk3US5OIDQ_cjs.TaskActivityTimeline, { events: events ?? [], labels, testId: id, ...timeline }),
6220
+ isLoading && !events ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: l.loading }) : isError && !events ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-destructive", children: l.error }) : count === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: l.empty }) : /* @__PURE__ */ jsxRuntime.jsx(chunkXSUOEJB3_cjs.TaskActivityTimeline, { events: events ?? [], labels, testId: id, ...timeline }),
6211
6221
  /* @__PURE__ */ jsxRuntime.jsx("div", { ref: scrollToEnd })
6212
6222
  ] })
6213
6223
  ] }) });
@@ -6334,7 +6344,7 @@ function groupThreadActivity(steps, items) {
6334
6344
  continue;
6335
6345
  }
6336
6346
  if (current === void 0) out.before.push(item);
6337
- else if (chunk3US5OIDQ_cjs.isRunFinished(steps, states)) out.after.push(item);
6347
+ else if (chunkXSUOEJB3_cjs.isRunFinished(steps, states)) out.after.push(item);
6338
6348
  else {
6339
6349
  const status = states[current]?.status;
6340
6350
  const at = status === "done" || status === "skipped" ? steps.find((s) => !["done", "skipped"].includes(states[s.id]?.status ?? ""))?.id ?? current : current;
@@ -6452,13 +6462,13 @@ function WorkflowThreadStrip({
6452
6462
  const chevron = /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "size-3 shrink-0 text-muted-foreground" });
6453
6463
  const [selected, setSelected] = react.useState(null);
6454
6464
  const [open, setOpen] = react.useState(null);
6455
- const phaseOf = (id) => chunk3US5OIDQ_cjs.stepPhase(steps, states, id);
6465
+ const phaseOf = (id) => chunkXSUOEJB3_cjs.stepPhase(steps, states, id);
6456
6466
  const iconOf = (step) => step.icon && renderIcon ? renderIcon(step.icon) : void 0;
6457
6467
  const waitingOf = (id) => {
6458
6468
  const step = steps.find((s) => s.id === id);
6459
6469
  const phase = phaseOf(id);
6460
- const documents = chunk3US5OIDQ_cjs.waitingDocuments(states[id]);
6461
- if (documents.length) return chunk3US5OIDQ_cjs.waitingForDocumentsText(documents.length);
6470
+ const documents = chunkXSUOEJB3_cjs.waitingDocuments(states[id]);
6471
+ if (documents.length) return chunkXSUOEJB3_cjs.waitingForDocumentsText(documents.length);
6462
6472
  const name = step && (phase === "ready" || phase === "waiting") ? assigneeOf?.(step) : void 0;
6463
6473
  return name ? l.waitingFor.replace("{name}", name) : void 0;
6464
6474
  };
@@ -6473,14 +6483,14 @@ function WorkflowThreadStrip({
6473
6483
  "button",
6474
6484
  {
6475
6485
  type: "button",
6476
- className: ui.cn(chunk3US5OIDQ_cjs.STEP_PILL, "py-0.5", chunk3US5OIDQ_cjs.stepPillTone(phase, isCurrent)),
6486
+ className: ui.cn(chunkXSUOEJB3_cjs.STEP_PILL, "py-0.5", chunkXSUOEJB3_cjs.stepPillTone(phase, isCurrent)),
6477
6487
  "aria-current": isCurrent ? "step" : void 0,
6478
6488
  title: waiting ? `${step.title} \xB7 ${waiting}` : step.title,
6479
6489
  "data-phase": phase,
6480
6490
  "data-testid": `workflow-thread-step-${step.id}`,
6481
6491
  children: [
6482
- /* @__PURE__ */ jsxRuntime.jsx(chunk3US5OIDQ_cjs.PhaseMark, { phase, icon: iconOf(step) }),
6483
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: isCurrent ? chunk3US5OIDQ_cjs.STEP_LABEL_CURRENT : ui.cn(chunk3US5OIDQ_cjs.STEP_LABEL, chunk3US5OIDQ_cjs.STEP_LABEL_MAX), children: step.title }),
6492
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXSUOEJB3_cjs.PhaseMark, { phase, icon: iconOf(step) }),
6493
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: isCurrent ? chunkXSUOEJB3_cjs.STEP_LABEL_CURRENT : ui.cn(chunkXSUOEJB3_cjs.STEP_LABEL, chunkXSUOEJB3_cjs.STEP_LABEL_MAX), children: step.title }),
6484
6494
  sentBack && /* @__PURE__ */ jsxRuntime.jsx(
6485
6495
  lucideReact.CornerUpLeft,
6486
6496
  {
@@ -6492,7 +6502,7 @@ function WorkflowThreadStrip({
6492
6502
  assignee && isCurrent && !narrow && /* @__PURE__ */ jsxRuntime.jsxs(
6493
6503
  "span",
6494
6504
  {
6495
- className: ui.cn(chunk3US5OIDQ_cjs.STEP_EXTRA, "flex max-w-[12rem] items-center gap-0.5"),
6505
+ className: ui.cn(chunkXSUOEJB3_cjs.STEP_EXTRA, "flex max-w-[12rem] items-center gap-0.5"),
6496
6506
  title: waiting,
6497
6507
  "data-testid": `workflow-thread-step-${step.id}-assignee`,
6498
6508
  children: [
@@ -6551,9 +6561,9 @@ function WorkflowThreadStrip({
6551
6561
  strays.map((s) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "flex shrink-0 items-center gap-1", children: /* @__PURE__ */ jsxRuntime.jsx(SignalPill, { signal: s, l }) }, `${s.step}-${s.signal}`))
6552
6562
  ] }) : null;
6553
6563
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cn("min-w-0 flex-1", className), "data-testid": "workflow-thread-strip", children: /* @__PURE__ */ jsxRuntime.jsx(
6554
- chunk3US5OIDQ_cjs.StepBarFrame,
6564
+ chunkXSUOEJB3_cjs.StepBarFrame,
6555
6565
  {
6556
- levels: chunk3US5OIDQ_cjs.stepLevels(steps),
6566
+ levels: chunkXSUOEJB3_cjs.stepLevels(steps),
6557
6567
  phaseOf,
6558
6568
  current: selected,
6559
6569
  onSelect: (id) => {
@@ -6638,10 +6648,10 @@ function compactThreadActivity(events) {
6638
6648
  const count = Math.max(1, entry.recipients.length);
6639
6649
  entry.label = `Notified ${count} ${count === 1 ? "user" : "users"}`;
6640
6650
  } else if (STEP_LABELS[event.kind]) {
6641
- const documents = chunk3US5OIDQ_cjs.eventWaitingDocuments(event.detail);
6651
+ const documents = chunkXSUOEJB3_cjs.eventWaitingDocuments(event.detail);
6642
6652
  result.push({
6643
6653
  event,
6644
- label: documents ? chunk3US5OIDQ_cjs.waitingForDocumentsText(documents.length) : STEP_LABELS[event.kind],
6654
+ label: documents ? chunkXSUOEJB3_cjs.waitingForDocumentsText(documents.length) : STEP_LABELS[event.kind],
6645
6655
  recipients: []
6646
6656
  });
6647
6657
  } else if (["artifact_created", "artifact_edited", "document_added", "document_removed"].includes(
@@ -6654,6 +6664,14 @@ function compactThreadActivity(events) {
6654
6664
  document_removed: "Removed document"
6655
6665
  };
6656
6666
  result.push({ event, label: labels[event.kind], recipients: [] });
6667
+ } else if (event.kind === "call") {
6668
+ result.push({
6669
+ event,
6670
+ label: event.detail?.ended_at ? "Call" : "Call started",
6671
+ recipients: []
6672
+ });
6673
+ } else if (event.kind === "recording") {
6674
+ result.push({ event, label: "Recording", recipients: [] });
6657
6675
  } else if ([
6658
6676
  "created",
6659
6677
  "participant_joined",
@@ -6838,7 +6856,7 @@ function TaskRunsDialog({
6838
6856
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: l.description })
6839
6857
  ] }),
6840
6858
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
6841
- chunkIXALYQT7_cjs.GridView,
6859
+ chunkC2CWWEHO_cjs.GridView,
6842
6860
  {
6843
6861
  testId: chunkMHVNT4J3_cjs.testIdOr(testIds?.list, { testId: "task-runs-list" }),
6844
6862
  gridId: "workflow-runs",
@@ -7004,7 +7022,7 @@ var DEFAULT_TASK_COMPOSER_LABELS = {
7004
7022
  runAt: "Start at",
7005
7023
  runAtPast: "Pick a time in the future.",
7006
7024
  event: "Event",
7007
- eventPlaceholder: "user_message",
7025
+ eventPlaceholder: "mention",
7008
7026
  eventHint: "It starts whenever this kind of notification reaches you.",
7009
7027
  afterTask: "After",
7010
7028
  afterTaskPlaceholder: "Choose a task\u2026",
@@ -7040,12 +7058,12 @@ function defaultTaskComposerValues(workflows, initial) {
7040
7058
  return {
7041
7059
  assignee: "me",
7042
7060
  workflowId,
7043
- inputs: workflow ? { ...chunk3US5OIDQ_cjs.defaultInputs(workflow), ...initial?.inputs } : { ...initial?.inputs },
7061
+ inputs: workflow ? { ...chunkXSUOEJB3_cjs.defaultInputs(workflow), ...initial?.inputs } : { ...initial?.inputs },
7044
7062
  when: "manual",
7045
7063
  runAt: "",
7046
7064
  rrule: "",
7047
7065
  timezone: "UTC",
7048
- eventKind: "user_message",
7066
+ eventKind: "mention",
7049
7067
  afterTaskId: "",
7050
7068
  parentTaskId: "",
7051
7069
  shared: false,
@@ -7149,7 +7167,7 @@ function WorkflowComposer({
7149
7167
  return !docs?.length;
7150
7168
  })
7151
7169
  );
7152
- const whatMissing = !workflow || Object.keys(chunk3US5OIDQ_cjs.validateInputs({ ...workflow, inputs: fields }, values.inputs)).length > 0;
7170
+ const whatMissing = !workflow || Object.keys(chunkXSUOEJB3_cjs.validateInputs({ ...workflow, inputs: fields }, values.inputs)).length > 0;
7153
7171
  const runAtPast = values.when === "once" && values.runAt !== "" && values.runAt !== initialValues?.runAt && new Date(values.runAt).getTime() <= Date.now();
7154
7172
  const whenMissing = missingWhen(values, runAtPast);
7155
7173
  const scheduled = values.when !== "now" && values.when !== "manual";
@@ -7161,7 +7179,7 @@ function WorkflowComposer({
7161
7179
  setValues({
7162
7180
  ...values,
7163
7181
  workflowId: next,
7164
- inputs: def ? chunk3US5OIDQ_cjs.defaultInputs(def) : {},
7182
+ inputs: def ? chunkXSUOEJB3_cjs.defaultInputs(def) : {},
7165
7183
  ...def?.documentAction ? { access: "standing" } : {}
7166
7184
  });
7167
7185
  };
@@ -7289,7 +7307,7 @@ function WorkflowComposer({
7289
7307
  },
7290
7308
  "data-testid": `${id}-dropzone`,
7291
7309
  children: /* @__PURE__ */ jsxRuntime.jsx(
7292
- chunkZ5VUZ6YD_cjs.AddFilesFirst,
7310
+ chunkZV3BKLFY_cjs.AddFilesFirst,
7293
7311
  {
7294
7312
  reason: l.addFilesReason,
7295
7313
  action: addFilesAction,
@@ -7299,7 +7317,7 @@ function WorkflowComposer({
7299
7317
  }
7300
7318
  ),
7301
7319
  !noFiles && workflow && fields.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
7302
- chunk3US5OIDQ_cjs.SchemaForm,
7320
+ chunkXSUOEJB3_cjs.SchemaForm,
7303
7321
  {
7304
7322
  fields,
7305
7323
  values: values.inputs,
@@ -7738,7 +7756,7 @@ function WorkTaskComposer({
7738
7756
  }, [open]);
7739
7757
  const workflow = workflows.find((w) => w.id === values.workflowId);
7740
7758
  const fields = workflow?.inputs ?? [];
7741
- const errors = workflow ? chunk3US5OIDQ_cjs.validateInputs({ ...workflow, inputs: fields }, values.inputs) : {};
7759
+ const errors = workflow ? chunkXSUOEJB3_cjs.validateInputs({ ...workflow, inputs: fields }, values.inputs) : {};
7742
7760
  const hasWork = configOpen && Boolean(workflow) && Object.keys(errors).length === 0;
7743
7761
  const unattended = hasWork && values.when !== "now" && values.when !== "manual";
7744
7762
  const canConfigure = !isEdit || seed.assignee === "agent";
@@ -7746,7 +7764,7 @@ function WorkTaskComposer({
7746
7764
  const set = (key, value) => setValues({ ...values, [key]: value });
7747
7765
  const pickWorkflow = (id2) => {
7748
7766
  const next = workflows.find((w) => w.id === id2);
7749
- setValues({ ...values, workflowId: id2, inputs: next ? chunk3US5OIDQ_cjs.defaultInputs(next) : {} });
7767
+ setValues({ ...values, workflowId: id2, inputs: next ? chunkXSUOEJB3_cjs.defaultInputs(next) : {} });
7750
7768
  };
7751
7769
  const openConfigure = () => {
7752
7770
  setConfigOpen(true);
@@ -7932,7 +7950,7 @@ function WorkTaskComposer({
7932
7950
  )
7933
7951
  ] }),
7934
7952
  workflow && fields.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
7935
- chunk3US5OIDQ_cjs.SchemaForm,
7953
+ chunkXSUOEJB3_cjs.SchemaForm,
7936
7954
  {
7937
7955
  fields,
7938
7956
  values: values.inputs,
@@ -10113,5 +10131,5 @@ exports.workflowToComposerValues = workflowToComposerValues;
10113
10131
  exports.workflowToSkillMarkdown = workflowToSkillMarkdown;
10114
10132
  exports.workflowTriggerType = workflowTriggerType;
10115
10133
  exports.workflowWhen = workflowWhen;
10116
- //# sourceMappingURL=chunk-LLFW2T6S.cjs.map
10117
- //# sourceMappingURL=chunk-LLFW2T6S.cjs.map
10134
+ //# sourceMappingURL=chunk-VZKBI2KJ.cjs.map
10135
+ //# sourceMappingURL=chunk-VZKBI2KJ.cjs.map