@arbidocs/blocks 0.4.137 → 0.4.138

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 (61) hide show
  1. package/dist/agents/index.cjs +380 -356
  2. package/dist/agents/index.js +8 -8
  3. package/dist/agents/skills/SkillLibraryDetail.d.ts +26 -0
  4. package/dist/agents/skills/index.d.ts +2 -0
  5. package/dist/agents/skills/skillLibrary.d.ts +46 -0
  6. package/dist/chat/index.cjs +139 -139
  7. package/dist/chat/index.js +4 -4
  8. package/dist/{chunk-CHVCTKF4.cjs → chunk-3BI6EWKP.cjs} +672 -55
  9. package/dist/chunk-3BI6EWKP.cjs.map +1 -0
  10. package/dist/{chunk-VMESMX7N.js → chunk-5BXEYYH6.js} +3 -3
  11. package/dist/{chunk-VMESMX7N.js.map → chunk-5BXEYYH6.js.map} +1 -1
  12. package/dist/{chunk-EHOPZBAX.cjs → chunk-7YLJHTDC.cjs} +11 -11
  13. package/dist/{chunk-EHOPZBAX.cjs.map → chunk-7YLJHTDC.cjs.map} +1 -1
  14. package/dist/{chunk-M33QUNFH.js → chunk-ED4HHTIA.js} +3 -3
  15. package/dist/{chunk-M33QUNFH.js.map → chunk-ED4HHTIA.js.map} +1 -1
  16. package/dist/{chunk-HDYWXEQU.cjs → chunk-IE5CUCZK.cjs} +4 -4
  17. package/dist/{chunk-HDYWXEQU.cjs.map → chunk-IE5CUCZK.cjs.map} +1 -1
  18. package/dist/{chunk-7M4C6CK7.js → chunk-JO3EMZ4X.js} +3 -3
  19. package/dist/{chunk-7M4C6CK7.js.map → chunk-JO3EMZ4X.js.map} +1 -1
  20. package/dist/{chunk-C3ZRLULA.cjs → chunk-JVL7HUIQ.cjs} +5 -5
  21. package/dist/{chunk-C3ZRLULA.cjs.map → chunk-JVL7HUIQ.cjs.map} +1 -1
  22. package/dist/{chunk-JY73DJOS.cjs → chunk-MJKBVIV3.cjs} +80 -495
  23. package/dist/{chunk-KMNZ2RVO.js.map → chunk-MJKBVIV3.cjs.map} +1 -1
  24. package/dist/{chunk-BUNZWOPX.cjs → chunk-OAL3B2ZU.cjs} +5 -5
  25. package/dist/{chunk-BUNZWOPX.cjs.map → chunk-OAL3B2ZU.cjs.map} +1 -1
  26. package/dist/{chunk-6F7SZCVL.cjs → chunk-OWCEQKAR.cjs} +3 -3
  27. package/dist/{chunk-6F7SZCVL.cjs.map → chunk-OWCEQKAR.cjs.map} +1 -1
  28. package/dist/{chunk-KMNZ2RVO.js → chunk-UBEI6WFJ.js} +10 -411
  29. package/dist/{chunk-JY73DJOS.cjs.map → chunk-UBEI6WFJ.js.map} +1 -1
  30. package/dist/{chunk-ATJUVHVB.js → chunk-XVME4XYD.js} +604 -8
  31. package/dist/chunk-XVME4XYD.js.map +1 -0
  32. package/dist/{chunk-YOMPLCP6.js → chunk-Y5KTM3V5.js} +3 -3
  33. package/dist/{chunk-YOMPLCP6.js.map → chunk-Y5KTM3V5.js.map} +1 -1
  34. package/dist/{chunk-L3T7OJRX.js → chunk-ZNI4SW2G.js} +3 -3
  35. package/dist/{chunk-L3T7OJRX.js.map → chunk-ZNI4SW2G.js.map} +1 -1
  36. package/dist/collaboration/index.cjs +9 -9
  37. package/dist/collaboration/index.js +1 -1
  38. package/dist/connect/index.cjs +436 -54
  39. package/dist/connect/index.cjs.map +1 -1
  40. package/dist/connect/index.d.ts +1 -0
  41. package/dist/connect/index.js +399 -18
  42. package/dist/connect/index.js.map +1 -1
  43. package/dist/connection/ConnectedSkillsLibrary.d.ts +26 -0
  44. package/dist/document-tools/index.cjs +1 -1
  45. package/dist/document-tools/index.js +1 -1
  46. package/dist/facts/index.cjs +2 -2
  47. package/dist/facts/index.js +2 -2
  48. package/dist/index.cjs +650 -626
  49. package/dist/index.js +15 -15
  50. package/dist/settings/index.cjs +10 -10
  51. package/dist/settings/index.js +2 -2
  52. package/dist/site/index.cjs +5 -5
  53. package/dist/site/index.js +1 -1
  54. package/dist/studio/index.cjs +6 -6
  55. package/dist/studio/index.js +5 -5
  56. package/dist/workflow-canvas/index.cjs +59 -59
  57. package/dist/workflow-canvas/index.js +8 -8
  58. package/node_modules/@arbidocs/coedit/package.json +1 -1
  59. package/package.json +4 -4
  60. package/dist/chunk-ATJUVHVB.js.map +0 -1
  61. package/dist/chunk-CHVCTKF4.cjs.map +0 -1
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkB6MVQCXW_cjs = require('./chunk-B6MVQCXW.cjs');
5
- var chunk6F7SZCVL_cjs = require('./chunk-6F7SZCVL.cjs');
5
+ var chunkOWCEQKAR_cjs = require('./chunk-OWCEQKAR.cjs');
6
6
  var chunk7UTB4PHM_cjs = require('./chunk-7UTB4PHM.cjs');
7
7
  var chunkPPCATBOY_cjs = require('./chunk-PPCATBOY.cjs');
8
8
  var chunkMHVNT4J3_cjs = require('./chunk-MHVNT4J3.cjs');
@@ -17,7 +17,7 @@ var DEFAULT_WORKFLOW_STEP_CHIP_LABELS = {
17
17
  name: "Workflow step ({kind}): {title}",
18
18
  show: "Show the instruction",
19
19
  hide: "Hide the instruction",
20
- kinds: chunk6F7SZCVL_cjs.DEFAULT_STEP_KIND_LABELS
20
+ kinds: chunkOWCEQKAR_cjs.DEFAULT_STEP_KIND_LABELS
21
21
  };
22
22
  function WorkflowStepChip({
23
23
  step,
@@ -34,7 +34,7 @@ function WorkflowStepChip({
34
34
  const l = { ...DEFAULT_WORKFLOW_STEP_CHIP_LABELS, ...labels };
35
35
  const [open, setOpen] = react.useState(false);
36
36
  const Chevron = open ? lucideReact.ChevronDown : lucideReact.ChevronRight;
37
- const KindIcon = chunk6F7SZCVL_cjs.STEP_KIND_ICONS[kind];
37
+ const KindIcon = chunkOWCEQKAR_cjs.STEP_KIND_ICONS[kind];
38
38
  const name = l.name.replace("{kind}", l.kinds[kind]).replace("{title}", title || step);
39
39
  const done = phase === "done" || phase === "skipped";
40
40
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -47,7 +47,7 @@ function WorkflowStepChip({
47
47
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full max-w-xl items-center gap-2", children: [
48
48
  /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: "wf-link", "data-done": done || void 0 }),
49
49
  /* @__PURE__ */ jsxRuntime.jsx(
50
- chunk6F7SZCVL_cjs.StepChip,
50
+ chunkOWCEQKAR_cjs.StepChip,
51
51
  {
52
52
  kind,
53
53
  phase,
@@ -65,7 +65,7 @@ function WorkflowStepChip({
65
65
  }
66
66
  ),
67
67
  document2 && /* @__PURE__ */ jsxRuntime.jsx(
68
- chunk6F7SZCVL_cjs.StepDocumentButton,
68
+ chunkOWCEQKAR_cjs.StepDocumentButton,
69
69
  {
70
70
  kind,
71
71
  name: document2.name,
@@ -1993,15 +1993,15 @@ function ChatPage({
1993
1993
  const textareaRef = react.useRef(null);
1994
1994
  const currentThreadRef = react.useRef(chat.activeThreadId);
1995
1995
  currentThreadRef.current = chat.activeThreadId;
1996
- const mentions = chunk6F7SZCVL_cjs.useMentionAutocomplete({
1996
+ const mentions = chunkOWCEQKAR_cjs.useMentionAutocomplete({
1997
1997
  value: draft,
1998
1998
  onValueChange: setDraft,
1999
1999
  candidates: chat.mentionCandidates ?? [],
2000
2000
  textareaRef
2001
2001
  });
2002
- const { width } = chunk6F7SZCVL_cjs.useElementSize(rootRef);
2003
- const { height: headerHeight } = chunk6F7SZCVL_cjs.useElementSize(headerRef);
2004
- const rem = chunk6F7SZCVL_cjs.rootFontSizePx();
2002
+ const { width } = chunkOWCEQKAR_cjs.useElementSize(rootRef);
2003
+ const { height: headerHeight } = chunkOWCEQKAR_cjs.useElementSize(headerRef);
2004
+ const rem = chunkOWCEQKAR_cjs.rootFontSizePx();
2005
2005
  const hasListColumn = !singleThread && width >= LIST_COLUMN_REM * rem;
2006
2006
  const hasAsideColumn = width > 0 && width >= asideBreakpoint * rem;
2007
2007
  const fillPx = useFillHeight(rootRef, fillHeight, minHeight);
@@ -2551,5 +2551,5 @@ exports.useAssistantDock = useAssistantDock;
2551
2551
  exports.useChatSurface = useChatSurface;
2552
2552
  exports.useRegisterEmbeddedChat = useRegisterEmbeddedChat;
2553
2553
  exports.useStreamAnnouncement = useStreamAnnouncement;
2554
- //# sourceMappingURL=chunk-EHOPZBAX.cjs.map
2555
- //# sourceMappingURL=chunk-EHOPZBAX.cjs.map
2554
+ //# sourceMappingURL=chunk-7YLJHTDC.cjs.map
2555
+ //# sourceMappingURL=chunk-7YLJHTDC.cjs.map