@dxos/plugin-thread 0.8.2-main.12df754 → 0.8.2-main.30e4dbb

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 (136) hide show
  1. package/dist/lib/browser/{ChatContainer-WC6KQDDU.mjs → ChatContainer-H4XTHM3A.mjs} +5 -5
  2. package/dist/lib/browser/ChatContainer-H4XTHM3A.mjs.map +7 -0
  3. package/dist/lib/browser/{app-graph-builder-6W4UKJDI.mjs → app-graph-builder-SQD3KQKB.mjs} +2 -2
  4. package/dist/lib/browser/app-graph-builder-SQD3KQKB.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-AYNXYEKP.mjs → chunk-32EIWOAL.mjs} +1 -1
  6. package/dist/lib/browser/{chunk-AYNXYEKP.mjs.map → chunk-32EIWOAL.mjs.map} +2 -2
  7. package/dist/lib/browser/chunk-AM4MYXGU.mjs +93 -0
  8. package/dist/lib/browser/chunk-AM4MYXGU.mjs.map +7 -0
  9. package/dist/lib/browser/{chunk-FY5OCUP6.mjs → chunk-I3JK6CBS.mjs} +9 -7
  10. package/dist/lib/browser/chunk-I3JK6CBS.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-UIHVZTER.mjs +17 -0
  12. package/dist/lib/browser/index.mjs +10 -10
  13. package/dist/lib/browser/index.mjs.map +3 -3
  14. package/dist/lib/browser/{intent-resolver-3UW6ROYT.mjs → intent-resolver-EDSAXXNW.mjs} +4 -4
  15. package/dist/lib/browser/intent-resolver-EDSAXXNW.mjs.map +7 -0
  16. package/dist/lib/browser/{markdown-7KXBXCUS.mjs → markdown-M4QAJXHG.mjs} +2 -2
  17. package/dist/lib/browser/meta.json +1 -1
  18. package/dist/lib/browser/{react-surface-KAPIXG2M.mjs → react-surface-JRPJOEQ7.mjs} +21 -22
  19. package/dist/lib/browser/react-surface-JRPJOEQ7.mjs.map +7 -0
  20. package/dist/lib/browser/{settings-2VZ7S4SK.mjs → settings-SSYDISA6.mjs} +2 -2
  21. package/dist/lib/browser/types.mjs +1 -1
  22. package/dist/lib/node/{ChatContainer-LVYQ67PJ.cjs → ChatContainer-TUISUIY7.cjs} +11 -11
  23. package/dist/lib/node/ChatContainer-TUISUIY7.cjs.map +7 -0
  24. package/dist/lib/node/{app-graph-builder-HZNWT4QU.cjs → app-graph-builder-G45JDZWQ.cjs} +5 -5
  25. package/dist/lib/node/app-graph-builder-G45JDZWQ.cjs.map +7 -0
  26. package/dist/lib/node/{chunk-RIYLEDQ7.cjs → chunk-ETDNE4Z6.cjs} +13 -11
  27. package/dist/lib/node/chunk-ETDNE4Z6.cjs.map +7 -0
  28. package/dist/lib/node/{chunk-46BSFPBV.cjs → chunk-HG7J3YR3.cjs} +44 -44
  29. package/dist/lib/node/chunk-HG7J3YR3.cjs.map +7 -0
  30. package/dist/lib/node/{chunk-W25MBII2.cjs → chunk-NO6WQR36.cjs} +4 -4
  31. package/dist/lib/node/{chunk-W25MBII2.cjs.map → chunk-NO6WQR36.cjs.map} +2 -2
  32. package/dist/lib/node/{chunk-BASYS5Q5.cjs → chunk-ZFPSGBXT.cjs} +9 -9
  33. package/dist/lib/node/index.cjs +17 -17
  34. package/dist/lib/node/index.cjs.map +3 -3
  35. package/dist/lib/node/{intent-resolver-DC6HDNTX.cjs → intent-resolver-ECFDZLCG.cjs} +15 -15
  36. package/dist/lib/node/intent-resolver-ECFDZLCG.cjs.map +7 -0
  37. package/dist/lib/node/{markdown-L2WMCQKM.cjs → markdown-G5NDD5EJ.cjs} +7 -7
  38. package/dist/lib/node/meta.json +1 -1
  39. package/dist/lib/node/{react-surface-5USFRCS3.cjs → react-surface-PLJ3Z77A.cjs} +31 -32
  40. package/dist/lib/node/react-surface-PLJ3Z77A.cjs.map +7 -0
  41. package/dist/lib/node/{settings-7MGTJ46L.cjs → settings-PV6MGI52.cjs} +6 -6
  42. package/dist/lib/node/types.cjs +3 -3
  43. package/dist/lib/node/types.cjs.map +1 -1
  44. package/dist/lib/node-esm/{ChatContainer-WMOPMK5H.mjs → ChatContainer-G7VTTRDN.mjs} +5 -5
  45. package/dist/lib/node-esm/ChatContainer-G7VTTRDN.mjs.map +7 -0
  46. package/dist/lib/node-esm/{app-graph-builder-M3KK5QJH.mjs → app-graph-builder-25K4ELOR.mjs} +2 -2
  47. package/dist/lib/node-esm/app-graph-builder-25K4ELOR.mjs.map +7 -0
  48. package/dist/lib/node-esm/chunk-G7AKHJ3A.mjs +19 -0
  49. package/dist/lib/node-esm/{chunk-T6E5EY7Z.mjs → chunk-IZWN4KAY.mjs} +1 -1
  50. package/dist/lib/node-esm/{chunk-T6E5EY7Z.mjs.map → chunk-IZWN4KAY.mjs.map} +2 -2
  51. package/dist/lib/node-esm/{chunk-7DOPZH6Y.mjs → chunk-V7HLWNAO.mjs} +9 -7
  52. package/dist/lib/node-esm/chunk-V7HLWNAO.mjs.map +7 -0
  53. package/dist/lib/node-esm/chunk-XTZJQJY4.mjs +94 -0
  54. package/dist/lib/node-esm/chunk-XTZJQJY4.mjs.map +7 -0
  55. package/dist/lib/node-esm/index.mjs +10 -10
  56. package/dist/lib/node-esm/index.mjs.map +3 -3
  57. package/dist/lib/node-esm/{intent-resolver-OAMDKGAA.mjs → intent-resolver-GHN5XIMY.mjs} +4 -4
  58. package/dist/lib/node-esm/intent-resolver-GHN5XIMY.mjs.map +7 -0
  59. package/dist/lib/node-esm/{markdown-ZKU23UVD.mjs → markdown-WMR5AZRI.mjs} +2 -2
  60. package/dist/lib/node-esm/meta.json +1 -1
  61. package/dist/lib/node-esm/{react-surface-VNZ2SN6W.mjs → react-surface-M5GMRQVC.mjs} +21 -22
  62. package/dist/lib/node-esm/react-surface-M5GMRQVC.mjs.map +7 -0
  63. package/dist/lib/node-esm/{settings-AJAZ3O47.mjs → settings-TJ53GIH3.mjs} +2 -2
  64. package/dist/lib/node-esm/types.mjs +1 -1
  65. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  66. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  67. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  68. package/dist/types/src/capabilities/markdown.d.ts.map +1 -1
  69. package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
  70. package/dist/types/src/components/CommentContainer.d.ts.map +1 -1
  71. package/dist/types/src/components/Comments.stories.d.ts.map +1 -1
  72. package/dist/types/src/components/CommentsContainer.d.ts.map +1 -1
  73. package/dist/types/src/components/MessageContainer.d.ts +5 -4
  74. package/dist/types/src/components/MessageContainer.d.ts.map +1 -1
  75. package/dist/types/src/components/ThreadComplementary.d.ts.map +1 -1
  76. package/dist/types/src/components/ThreadSettings.d.ts.map +1 -1
  77. package/dist/types/src/components/testing.d.ts +158 -49
  78. package/dist/types/src/components/testing.d.ts.map +1 -1
  79. package/dist/types/src/components/types.d.ts +2 -2
  80. package/dist/types/src/components/types.d.ts.map +1 -1
  81. package/dist/types/src/extensions/threads.d.ts.map +1 -1
  82. package/dist/types/src/hooks/analytics.d.ts +2 -2
  83. package/dist/types/src/hooks/analytics.d.ts.map +1 -1
  84. package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
  85. package/dist/types/src/translations.d.ts +2 -56
  86. package/dist/types/src/translations.d.ts.map +1 -1
  87. package/dist/types/src/types.d.ts +328 -61
  88. package/dist/types/src/types.d.ts.map +1 -1
  89. package/dist/types/src/util.d.ts.map +1 -1
  90. package/dist/types/tsconfig.tsbuildinfo +1 -1
  91. package/package.json +35 -33
  92. package/src/ThreadPlugin.tsx +7 -7
  93. package/src/capabilities/app-graph-builder.ts +3 -3
  94. package/src/capabilities/intent-resolver.ts +2 -2
  95. package/src/components/Chat.stories.tsx +3 -3
  96. package/src/components/ChatContainer.tsx +3 -3
  97. package/src/components/CommentContainer.tsx +25 -49
  98. package/src/components/Comments.stories.tsx +3 -7
  99. package/src/components/CommentsContainer.tsx +2 -8
  100. package/src/components/MessageContainer.tsx +31 -50
  101. package/src/components/testing.ts +2 -2
  102. package/src/components/types.ts +2 -2
  103. package/src/hooks/analytics.ts +6 -2
  104. package/src/translations.ts +2 -2
  105. package/src/types.ts +40 -40
  106. package/dist/lib/browser/ChatContainer-WC6KQDDU.mjs.map +0 -7
  107. package/dist/lib/browser/app-graph-builder-6W4UKJDI.mjs.map +0 -7
  108. package/dist/lib/browser/chunk-2S7HPWRY.mjs +0 -17
  109. package/dist/lib/browser/chunk-FY5OCUP6.mjs.map +0 -7
  110. package/dist/lib/browser/chunk-WOG72DWE.mjs +0 -93
  111. package/dist/lib/browser/chunk-WOG72DWE.mjs.map +0 -7
  112. package/dist/lib/browser/intent-resolver-3UW6ROYT.mjs.map +0 -7
  113. package/dist/lib/browser/react-surface-KAPIXG2M.mjs.map +0 -7
  114. package/dist/lib/node/ChatContainer-LVYQ67PJ.cjs.map +0 -7
  115. package/dist/lib/node/app-graph-builder-HZNWT4QU.cjs.map +0 -7
  116. package/dist/lib/node/chunk-46BSFPBV.cjs.map +0 -7
  117. package/dist/lib/node/chunk-RIYLEDQ7.cjs.map +0 -7
  118. package/dist/lib/node/intent-resolver-DC6HDNTX.cjs.map +0 -7
  119. package/dist/lib/node/react-surface-5USFRCS3.cjs.map +0 -7
  120. package/dist/lib/node-esm/ChatContainer-WMOPMK5H.mjs.map +0 -7
  121. package/dist/lib/node-esm/app-graph-builder-M3KK5QJH.mjs.map +0 -7
  122. package/dist/lib/node-esm/chunk-7DOPZH6Y.mjs.map +0 -7
  123. package/dist/lib/node-esm/chunk-E446MGLP.mjs +0 -94
  124. package/dist/lib/node-esm/chunk-E446MGLP.mjs.map +0 -7
  125. package/dist/lib/node-esm/chunk-HZGOTRPK.mjs +0 -19
  126. package/dist/lib/node-esm/intent-resolver-OAMDKGAA.mjs.map +0 -7
  127. package/dist/lib/node-esm/react-surface-VNZ2SN6W.mjs.map +0 -7
  128. /package/dist/lib/browser/{chunk-2S7HPWRY.mjs.map → chunk-UIHVZTER.mjs.map} +0 -0
  129. /package/dist/lib/browser/{markdown-7KXBXCUS.mjs.map → markdown-M4QAJXHG.mjs.map} +0 -0
  130. /package/dist/lib/browser/{settings-2VZ7S4SK.mjs.map → settings-SSYDISA6.mjs.map} +0 -0
  131. /package/dist/lib/node/{chunk-BASYS5Q5.cjs.map → chunk-ZFPSGBXT.cjs.map} +0 -0
  132. /package/dist/lib/node/{markdown-L2WMCQKM.cjs.map → markdown-G5NDD5EJ.cjs.map} +0 -0
  133. /package/dist/lib/node/{settings-7MGTJ46L.cjs.map → settings-PV6MGI52.cjs.map} +0 -0
  134. /package/dist/lib/node-esm/{chunk-HZGOTRPK.mjs.map → chunk-G7AKHJ3A.mjs.map} +0 -0
  135. /package/dist/lib/node-esm/{markdown-ZKU23UVD.mjs.map → markdown-WMR5AZRI.mjs.map} +0 -0
  136. /package/dist/lib/node-esm/{settings-AJAZ3O47.mjs.map → settings-TJ53GIH3.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytes":1656,"imports":[],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytes":2014,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytes":4972,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":9968,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytes":36355,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytes":14078,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-thread/src/extensions/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytes":2695,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3522,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4029,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3020,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":23488,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":25023,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":7688,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":19868,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":1673,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18505,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1495,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"dynamic-import","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytes":9771,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytes":1937,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytes":2830,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytes":2127,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-thread/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-thread/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-thread/src/events.ts":{"bytes":1278,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":5477,"imports":[{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":18844,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":958,"imports":[{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/browser/state-KBGI3QTR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1435},"packages/plugins/plugin-thread/dist/lib/browser/state-KBGI3QTR.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytesInOutput":543}},"bytes":779},"packages/plugins/plugin-thread/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11557},"packages/plugins/plugin-thread/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-2S7HPWRY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AYNXYEKP.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["THREAD_ITEM","THREAD_PLUGIN","ThreadCapabilities","ThreadEvents","ThreadPlugin","meta","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/events.ts":{"bytesInOutput":224},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":4356},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1634}},"bytes":6993},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"}],"exports":["ThreadAction","ThreadSettingsSchema"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":196},"packages/plugins/plugin-thread/dist/lib/browser/app-graph-builder-6W4UKJDI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2343},"packages/plugins/plugin-thread/dist/lib/browser/app-graph-builder-6W4UKJDI.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1098}},"bytes":1325},"packages/plugins/plugin-thread/dist/lib/browser/intent-resolver-3UW6ROYT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16283},"packages/plugins/plugin-thread/dist/lib/browser/intent-resolver-3UW6ROYT.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytesInOutput":9093}},"bytes":9439},"packages/plugins/plugin-thread/dist/lib/browser/markdown-7KXBXCUS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8499},"packages/plugins/plugin-thread/dist/lib/browser/markdown-7KXBXCUS.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytesInOutput":469},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytesInOutput":2944},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytesInOutput":0}},"bytes":3838},"packages/plugins/plugin-thread/dist/lib/browser/ChatContainer-WC6KQDDU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9558},"packages/plugins/plugin-thread/dist/lib/browser/ChatContainer-WC6KQDDU.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-FY5OCUP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AYNXYEKP.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4331}},"bytes":4730},"packages/plugins/plugin-thread/dist/lib/browser/react-surface-KAPIXG2M.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":34075},"packages/plugins/plugin-thread/dist/lib/browser/react-surface-KAPIXG2M.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-2S7HPWRY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-FY5OCUP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AYNXYEKP.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/browser/ChatContainer-WC6KQDDU.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytesInOutput":2248},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":102},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6586},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":1776},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":5011},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":213}},"bytes":16926},"packages/plugins/plugin-thread/dist/lib/browser/chunk-2S7HPWRY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1047},"packages/plugins/plugin-thread/dist/lib/browser/chunk-2S7HPWRY.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/browser/app-graph-builder-6W4UKJDI.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/intent-resolver-3UW6ROYT.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/markdown-7KXBXCUS.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/react-surface-KAPIXG2M.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/settings-2VZ7S4SK.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/state-KBGI3QTR.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","IntentResolver","Markdown","ReactSurface","ThreadState"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytesInOutput":460}},"bytes":656},"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1052},"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ThreadCapabilities"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytesInOutput":343}},"bytes":545},"packages/plugins/plugin-thread/dist/lib/browser/chunk-FY5OCUP6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15899},"packages/plugins/plugin-thread/dist/lib/browser/chunk-FY5OCUP6.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AYNXYEKP.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true}],"exports":["MessageContainer","command","getMessageMetadata"],"inputs":{"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":688},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":547},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6102}},"bytes":7752},"packages/plugins/plugin-thread/dist/lib/browser/chunk-AYNXYEKP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4018},"packages/plugins/plugin-thread/dist/lib/browser/chunk-AYNXYEKP.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":882},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":1836},"packages/plugins/plugin-thread/dist/lib/browser/settings-2VZ7S4SK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":958},"packages/plugins/plugin-thread/dist/lib/browser/settings-2VZ7S4SK.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytesInOutput":303}},"bytes":575},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5144},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WOG72DWE.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadSettingsSchema"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":2332}},"bytes":2532},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":783},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs":{"imports":[],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytesInOutput":306}},"bytes":448}}}
1
+ {"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytes":1656,"imports":[],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytes":2014,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytes":4947,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":10438,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytes":36385,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytes":14078,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-thread/src/extensions/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytes":2695,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3522,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4049,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3020,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":22102,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":22992,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":7517,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":19868,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":1673,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18539,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1495,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"dynamic-import","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytes":9771,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytes":1937,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytes":2830,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytes":2127,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-thread/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-thread/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-thread/src/events.ts":{"bytes":1278,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":5401,"imports":[{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":18827,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":958,"imports":[{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/browser/state-KBGI3QTR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1435},"packages/plugins/plugin-thread/dist/lib/browser/state-KBGI3QTR.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytesInOutput":543}},"bytes":779},"packages/plugins/plugin-thread/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11475},"packages/plugins/plugin-thread/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-UIHVZTER.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-32EIWOAL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["THREAD_ITEM","THREAD_PLUGIN","ThreadCapabilities","ThreadEvents","ThreadPlugin","meta","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/events.ts":{"bytesInOutput":224},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":4339},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1602}},"bytes":6944},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"}],"exports":["ThreadAction","ThreadSettingsSchema"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":196},"packages/plugins/plugin-thread/dist/lib/browser/app-graph-builder-SQD3KQKB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2328},"packages/plugins/plugin-thread/dist/lib/browser/app-graph-builder-SQD3KQKB.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1093}},"bytes":1320},"packages/plugins/plugin-thread/dist/lib/browser/intent-resolver-EDSAXXNW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16296},"packages/plugins/plugin-thread/dist/lib/browser/intent-resolver-EDSAXXNW.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytesInOutput":9095}},"bytes":9441},"packages/plugins/plugin-thread/dist/lib/browser/markdown-M4QAJXHG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8499},"packages/plugins/plugin-thread/dist/lib/browser/markdown-M4QAJXHG.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytesInOutput":469},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytesInOutput":2944},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytesInOutput":0}},"bytes":3838},"packages/plugins/plugin-thread/dist/lib/browser/ChatContainer-H4XTHM3A.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9576},"packages/plugins/plugin-thread/dist/lib/browser/ChatContainer-H4XTHM3A.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-I3JK6CBS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-32EIWOAL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4333}},"bytes":4732},"packages/plugins/plugin-thread/dist/lib/browser/react-surface-JRPJOEQ7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":32879},"packages/plugins/plugin-thread/dist/lib/browser/react-surface-JRPJOEQ7.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-UIHVZTER.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-I3JK6CBS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-32EIWOAL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/browser/ChatContainer-H4XTHM3A.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytesInOutput":2248},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":102},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":5875},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":1741},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":5011},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":213}},"bytes":16180},"packages/plugins/plugin-thread/dist/lib/browser/chunk-UIHVZTER.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1047},"packages/plugins/plugin-thread/dist/lib/browser/chunk-UIHVZTER.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/browser/app-graph-builder-SQD3KQKB.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/intent-resolver-EDSAXXNW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/markdown-M4QAJXHG.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/react-surface-JRPJOEQ7.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/settings-SSYDISA6.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/state-KBGI3QTR.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","IntentResolver","Markdown","ReactSurface","ThreadState"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytesInOutput":460}},"bytes":656},"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1052},"packages/plugins/plugin-thread/dist/lib/browser/chunk-EP6MRLY7.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ThreadCapabilities"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytesInOutput":343}},"bytes":545},"packages/plugins/plugin-thread/dist/lib/browser/chunk-I3JK6CBS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15103},"packages/plugins/plugin-thread/dist/lib/browser/chunk-I3JK6CBS.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-32EIWOAL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true}],"exports":["MessageContainer","command","getMessageMetadata"],"inputs":{"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":688},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":547},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":5660}},"bytes":7310},"packages/plugins/plugin-thread/dist/lib/browser/chunk-32EIWOAL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4031},"packages/plugins/plugin-thread/dist/lib/browser/chunk-32EIWOAL.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":882},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":1836},"packages/plugins/plugin-thread/dist/lib/browser/settings-SSYDISA6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":958},"packages/plugins/plugin-thread/dist/lib/browser/settings-SSYDISA6.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytesInOutput":303}},"bytes":575},"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5384},"packages/plugins/plugin-thread/dist/lib/browser/chunk-AM4MYXGU.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadSettingsSchema"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":2508}},"bytes":2708},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":783},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WBJLUUOK.mjs":{"imports":[],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytesInOutput":306}},"bytes":448}}}
@@ -1,4 +1,4 @@
1
- import "./chunk-2S7HPWRY.mjs";
1
+ import "./chunk-UIHVZTER.mjs";
2
2
  import {
3
3
  ThreadCapabilities
4
4
  } from "./chunk-EP6MRLY7.mjs";
@@ -6,13 +6,13 @@ import {
6
6
  MessageContainer,
7
7
  command,
8
8
  getMessageMetadata
9
- } from "./chunk-FY5OCUP6.mjs";
9
+ } from "./chunk-I3JK6CBS.mjs";
10
10
  import {
11
11
  useStatus
12
- } from "./chunk-AYNXYEKP.mjs";
12
+ } from "./chunk-32EIWOAL.mjs";
13
13
  import {
14
14
  ThreadAction
15
- } from "./chunk-WOG72DWE.mjs";
15
+ } from "./chunk-AM4MYXGU.mjs";
16
16
  import {
17
17
  THREAD_PLUGIN
18
18
  } from "./chunk-WBJLUUOK.mjs";
@@ -44,8 +44,9 @@ var commentControlClassNames = "!p-1 !min-bs-0 transition-opacity";
44
44
  var ToggleResolvedButton = ({ isResolved, onResolve }) => {
45
45
  const { t } = useTranslation(THREAD_PLUGIN);
46
46
  const label = t(isResolved ? "mark as unresolved label" : "mark as resolved label");
47
- return /* @__PURE__ */ React.createElement(Tooltip.Root, null, /* @__PURE__ */ React.createElement(Tooltip.Trigger, {
48
- asChild: true
47
+ return /* @__PURE__ */ React.createElement(Tooltip.Trigger, {
48
+ asChild: true,
49
+ content: label
49
50
  }, /* @__PURE__ */ React.createElement(Button, {
50
51
  variant: "ghost",
51
52
  "data-testid": "thread.toggle-resolved",
@@ -61,13 +62,14 @@ var ToggleResolvedButton = ({ isResolved, onResolve }) => {
61
62
  weight: "fill"
62
63
  }) : /* @__PURE__ */ React.createElement(CheckCircle, {
63
64
  className: sizeClass
64
- }))), /* @__PURE__ */ React.createElement(Tooltip.Portal, null, /* @__PURE__ */ React.createElement(Tooltip.Content, null, label, /* @__PURE__ */ React.createElement(Tooltip.Arrow, null))));
65
+ })));
65
66
  };
66
67
  var DeleteThreadButton = ({ onDelete }) => {
67
68
  const { t } = useTranslation(THREAD_PLUGIN);
68
69
  const label = t("delete thread label");
69
- return /* @__PURE__ */ React.createElement(Tooltip.Root, null, /* @__PURE__ */ React.createElement(Tooltip.Trigger, {
70
- asChild: true
70
+ return /* @__PURE__ */ React.createElement(Tooltip.Trigger, {
71
+ asChild: true,
72
+ content: label
71
73
  }, /* @__PURE__ */ React.createElement(Button, {
72
74
  variant: "ghost",
73
75
  "data-testid": "thread.delete",
@@ -80,9 +82,7 @@ var DeleteThreadButton = ({ onDelete }) => {
80
82
  className: "sr-only"
81
83
  }, label), /* @__PURE__ */ React.createElement(X, {
82
84
  className: sizeClass
83
- }))), /* @__PURE__ */ React.createElement(Tooltip.Portal, null, /* @__PURE__ */ React.createElement(Tooltip.Content, {
84
- classNames: "z-30"
85
- }, label, /* @__PURE__ */ React.createElement(Tooltip.Arrow, null))));
85
+ })));
86
86
  };
87
87
  var CommentContainer = ({ thread, detached, current, onAttend, onComment, onResolve, onMessageDelete, onThreadDelete }) => {
88
88
  const identity = useIdentity();
@@ -151,14 +151,13 @@ var CommentContainer = ({ thread, detached, current, onAttend, onComment, onReso
151
151
  }, /* @__PURE__ */ React.createElement("div", {
152
152
  role: "none",
153
153
  className: mx("col-span-2 grid grid-cols-[var(--rail-size)_1fr_min-content]", hoverableControls, hoverableFocusedWithinControls)
154
- }, detached ? /* @__PURE__ */ React.createElement(Tooltip.Root, null, /* @__PURE__ */ React.createElement(Tooltip.Trigger, {
155
- asChild: true
154
+ }, detached ? /* @__PURE__ */ React.createElement(Tooltip.Trigger, {
155
+ asChild: true,
156
+ content: t("detached thread label"),
157
+ side: "top"
156
158
  }, /* @__PURE__ */ React.createElement(ThreadHeading, {
157
159
  detached: true
158
- }, thread.name)), /* @__PURE__ */ React.createElement(Tooltip.Portal, null, /* @__PURE__ */ React.createElement(Tooltip.Content, {
159
- classNames: "z-30",
160
- side: "top"
161
- }, t("detached thread label"), /* @__PURE__ */ React.createElement(Tooltip.Arrow, null)))) : /* @__PURE__ */ React.createElement(ThreadHeading, null, thread.name), /* @__PURE__ */ React.createElement("div", {
160
+ }, thread.name)) : /* @__PURE__ */ React.createElement(ThreadHeading, null, thread.name), /* @__PURE__ */ React.createElement("div", {
162
161
  className: "flex flex-row items-center pli-1"
163
162
  }, thread.status === "staged" && /* @__PURE__ */ React.createElement(Tag, {
164
163
  palette: "neutral"
@@ -191,7 +190,7 @@ import { ChatText } from "@phosphor-icons/react";
191
190
  import React2, { useEffect } from "react";
192
191
  import { fullyQualifiedId as fullyQualifiedId2 } from "@dxos/react-client/echo";
193
192
  import { useTranslation as useTranslation2, Trans } from "@dxos/react-ui";
194
- import { descriptionText, mx as mx2 } from "@dxos/react-ui-theme";
193
+ import { descriptionMessage, mx as mx2 } from "@dxos/react-ui-theme";
195
194
  var CommentsContainer = ({ threads, detached = [], currentId, showResolvedThreads, ...props }) => {
196
195
  const { t } = useTranslation2(THREAD_PLUGIN);
197
196
  const filteredThreads = showResolvedThreads ? threads : threads.filter((thread) => !(thread?.status === "resolved"));
@@ -216,7 +215,7 @@ var CommentsContainer = ({ threads, detached = [], currentId, showResolvedThread
216
215
  });
217
216
  }) : /* @__PURE__ */ React2.createElement("div", {
218
217
  role: "alert",
219
- className: mx2(descriptionText, "place-self-center border border-dashed border-unAccent rounded-lg text-center p-4 m-4")
218
+ className: mx2(descriptionMessage, "place-self-center rounded-lg text-center m-4")
220
219
  }, /* @__PURE__ */ React2.createElement("h2", {
221
220
  className: "mbe-2 font-medium text-baseText"
222
221
  }, t("no comments title")), /* @__PURE__ */ React2.createElement("p", null, /* @__PURE__ */ React2.createElement(Trans, {
@@ -380,7 +379,7 @@ var ThreadSettings = ({ settings }) => {
380
379
  };
381
380
 
382
381
  // packages/plugins/plugin-thread/src/components/index.ts
383
- var ChatContainer = lazy(() => import("./ChatContainer-WC6KQDDU.mjs"));
382
+ var ChatContainer = lazy(() => import("./ChatContainer-H4XTHM3A.mjs"));
384
383
 
385
384
  // packages/plugins/plugin-thread/src/capabilities/react-surface.tsx
386
385
  var react_surface_default = () => contributes(Capabilities.ReactSurface, [
@@ -434,4 +433,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
434
433
  export {
435
434
  react_surface_default as default
436
435
  };
437
- //# sourceMappingURL=react-surface-KAPIXG2M.mjs.map
436
+ //# sourceMappingURL=react-surface-JRPJOEQ7.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-surface.tsx", "../../../src/components/index.ts", "../../../src/components/CommentContainer.tsx", "../../../src/components/CommentsContainer.tsx", "../../../src/components/ThreadComplementary.tsx", "../../../src/components/ThreadSettings.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface, useLayout } from '@dxos/app-framework';\nimport { type Ref } from '@dxos/echo-schema';\nimport { DXN } from '@dxos/keys';\nimport { SettingsStore } from '@dxos/local-storage';\nimport { ChannelType, type ThreadType } from '@dxos/plugin-space/types';\nimport { getSpace, isSpace, type Space } from '@dxos/react-client/echo';\n\nimport { ChatContainer, ThreadComplementary, ThreadSettings } from '../components';\nimport { THREAD_PLUGIN } from '../meta';\nimport { type ThreadSettingsProps } from '../types';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${THREAD_PLUGIN}/channel`,\n role: 'article',\n filter: (data): data is { subject: ChannelType } => data.subject instanceof ChannelType,\n component: ({ data: { subject: channel }, role }) => {\n const layout = useLayout();\n const currentPosition = layout.active.findIndex((id) => id === channel.id);\n const objectToTheLeft = layout.active[currentPosition - 1];\n const context = currentPosition > 0 ? getSpace(channel)?.db.getObjectById(objectToTheLeft) : undefined;\n const space = getSpace(channel);\n if (!space) {\n return null;\n }\n\n return <ChatContainer space={space} dxn={channel.queue.dxn} context={context} />;\n },\n }),\n createSurface({\n id: `${THREAD_PLUGIN}/comments`,\n role: 'article',\n filter: (data): data is { companionTo: { threads: Ref<ThreadType>[] } } =>\n data.subject === 'comments' &&\n !!data.companionTo &&\n typeof data.companionTo === 'object' &&\n 'threads' in data.companionTo &&\n Array.isArray(data.companionTo.threads),\n // TODO(wittjosiah): This isn't scrolling properly in a plank.\n component: ({ data }) => <ThreadComplementary subject={data.companionTo} />,\n }),\n createSurface({\n id: `${THREAD_PLUGIN}/tabpanel`,\n role: 'tabpanel',\n filter: (data): data is { subject: DXN; space: Space } =>\n data.subject instanceof DXN && data.type === 'chat' && isSpace(data.space),\n component: ({ data: { subject: dxn, space } }) => <ChatContainer dxn={dxn} space={space} />,\n }),\n createSurface({\n id: `${THREAD_PLUGIN}/plugin-settings`,\n role: 'article',\n filter: (data): data is { subject: SettingsStore<ThreadSettingsProps> } =>\n data.subject instanceof SettingsStore && data.subject.prefix === THREAD_PLUGIN,\n component: ({ data: { subject } }) => <ThreadSettings settings={subject.value} />,\n }),\n ]);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport const ChatContainer = lazy(() => import('./ChatContainer'));\n\n// TODO(wittjosiah): Suspense boundary for sidebar?\nexport * from './CommentContainer';\nexport * from './CommentsContainer';\nexport * from './MessageContainer';\nexport * from './ThreadComplementary';\nexport * from './ThreadSettings';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { CheckCircle, X } from '@phosphor-icons/react';\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\n\nimport { RefArray } from '@dxos/live-object';\nimport { fullyQualifiedId, getSpace, useMembers } from '@dxos/react-client/echo';\nimport { useIdentity } from '@dxos/react-client/halo';\nimport { Button, Tag, Tooltip, useThemeContext, useTranslation } from '@dxos/react-ui';\nimport { createBasicExtensions, createThemeExtensions, listener } from '@dxos/react-ui-editor';\nimport {\n getSize,\n hoverableControlItem,\n hoverableControls,\n hoverableFocusedWithinControls,\n mx,\n} from '@dxos/react-ui-theme';\nimport { MessageTextbox, type MessageTextboxProps, Thread, ThreadFooter, ThreadHeading } from '@dxos/react-ui-thread';\nimport { isNonNullable } from '@dxos/util';\n\nimport { MessageContainer } from './MessageContainer';\nimport { command } from './command-extension';\nimport { type ThreadContainerProps } from './types';\nimport { useStatus } from '../hooks';\nimport { THREAD_PLUGIN } from '../meta';\nimport { getMessageMetadata } from '../util';\n\nconst sizeClass = getSize(4);\n\n// TODO(thure): #8149\nconst commentControlClassNames = '!p-1 !min-bs-0 transition-opacity';\n\nconst ToggleResolvedButton = ({\n isResolved,\n onResolve,\n}: {\n isResolved: boolean | undefined;\n onResolve: () => void;\n}) => {\n const { t } = useTranslation(THREAD_PLUGIN);\n const label = t(isResolved ? 'mark as unresolved label' : 'mark as resolved label');\n return (\n <Tooltip.Trigger asChild content={label}>\n <Button\n variant='ghost'\n data-testid='thread.toggle-resolved'\n onClick={onResolve}\n classNames={[commentControlClassNames, !isResolved && hoverableControlItem]}\n >\n <span className='sr-only'>{label}</span>\n {isResolved ? <CheckCircle className={sizeClass} weight='fill' /> : <CheckCircle className={sizeClass} />}\n </Button>\n </Tooltip.Trigger>\n );\n};\n\nconst DeleteThreadButton = ({ onDelete }: { onDelete: () => void }) => {\n const { t } = useTranslation(THREAD_PLUGIN);\n const label = t('delete thread label');\n return (\n <Tooltip.Trigger asChild content={label}>\n <Button\n variant='ghost'\n data-testid='thread.delete'\n onClick={onDelete}\n classNames={[commentControlClassNames, hoverableControlItem]}\n >\n <span className='sr-only'>{label}</span>\n <X className={sizeClass} />\n </Button>\n </Tooltip.Trigger>\n );\n};\n\nexport const CommentContainer = ({\n thread,\n detached,\n current,\n onAttend,\n onComment,\n onResolve,\n onMessageDelete,\n onThreadDelete,\n}: ThreadContainerProps) => {\n const identity = useIdentity()!;\n const space = getSpace(thread);\n const members = useMembers(space?.key);\n const activity = useStatus(space, fullyQualifiedId(thread));\n const { t } = useTranslation(THREAD_PLUGIN);\n const threadScrollRef = useRef<HTMLDivElement | null>(null);\n const { themeMode } = useThemeContext();\n\n const textboxMetadata = getMessageMetadata(fullyQualifiedId(thread), identity);\n // TODO(wittjosiah): This is a hack to reset the editor after a message is sent.\n const [_count, _setCount] = useState(0);\n const rerenderEditor = () => _setCount((count) => count + 1);\n const messageRef = useRef('');\n const extensions = useMemo(\n () => [\n createBasicExtensions({ placeholder: t('message placeholder') }),\n createThemeExtensions({ themeMode }),\n listener({ onChange: (text) => (messageRef.current = text) }),\n command,\n ],\n [_count],\n );\n\n // TODO(thure): Factor out.\n const scrollToEnd = (behavior: ScrollBehavior) =>\n setTimeout(() => threadScrollRef.current?.scrollIntoView({ behavior, block: 'end' }), 10);\n\n const handleAttend = useCallback(() => onAttend?.(thread), [onAttend, thread]);\n const handleResolve = useCallback(() => onResolve?.(thread), [onResolve, thread]);\n const handleMessageDelete = useCallback((id: string) => onMessageDelete?.(thread, id), [onMessageDelete, thread]);\n const handleThreadDelete = useCallback(() => onThreadDelete?.(thread), [onThreadDelete, thread]);\n\n const handleComment: MessageTextboxProps['onSend'] = useCallback(() => {\n if (!messageRef.current) {\n return false;\n }\n\n onComment?.(thread, messageRef.current);\n messageRef.current = '';\n scrollToEnd('instant');\n rerenderEditor();\n\n return true;\n }, [thread, identity]);\n\n return (\n <Thread onClickCapture={handleAttend} onFocusCapture={handleAttend} current={current} id={fullyQualifiedId(thread)}>\n <div\n role='none'\n className={mx(\n 'col-span-2 grid grid-cols-[var(--rail-size)_1fr_min-content]',\n hoverableControls,\n hoverableFocusedWithinControls,\n )}\n >\n {detached ? (\n <Tooltip.Trigger asChild content={t('detached thread label')} side='top'>\n <ThreadHeading detached>{thread.name}</ThreadHeading>\n </Tooltip.Trigger>\n ) : (\n <ThreadHeading>{thread.name}</ThreadHeading>\n )}\n <div className='flex flex-row items-center pli-1'>\n {thread.status === 'staged' && <Tag palette='neutral'>{t('draft button')}</Tag>}\n {onResolve && !(thread?.status === 'staged') && (\n <ToggleResolvedButton isResolved={thread?.status === 'resolved'} onResolve={handleResolve} />\n )}\n {onThreadDelete && <DeleteThreadButton onDelete={handleThreadDelete} />}\n </div>\n </div>\n {/** TODO(dmaretskyi): How's `thread.messages` undefined? */}\n {RefArray.targets(thread.messages?.filter(isNonNullable) ?? []).map((message) => (\n <MessageContainer\n key={message.id}\n editable\n message={message}\n members={members}\n onDelete={handleMessageDelete}\n />\n ))}\n {/*\n TODO(wittjosiah): Can't autofocus this generally.\n There can be multiple threads with inputs and they can't all be focused.\n Also, it steals focus from documents when first rendered.\n Need to find a way to autofocus in one scenario only: when a new thread is created.\n */}\n <MessageTextbox extensions={extensions} onSend={handleComment} {...textboxMetadata} />\n <ThreadFooter activity={activity}>{t('activity message')}</ThreadFooter>\n {/* NOTE(thure): This can’t also be the `overflow-anchor` because `ScrollArea` injects an interceding node that contains this necessary ref’d element. */}\n <div role='none' className='bs-px -mbs-px' ref={threadScrollRef} />\n </Thread>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { ChatText } from '@phosphor-icons/react';\nimport React, { useEffect } from 'react';\n\nimport { type ThreadType } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId } from '@dxos/react-client/echo';\nimport { useTranslation, Trans } from '@dxos/react-ui';\nimport { descriptionMessage, mx } from '@dxos/react-ui-theme';\n\nimport { CommentContainer } from './CommentContainer';\nimport { type ThreadContainerProps } from './types';\nimport { THREAD_PLUGIN } from '../meta';\n\nexport type ThreadsContainerProps = Omit<ThreadContainerProps, 'thread' | 'detached' | 'current' | 'autoFocus'> & {\n threads: ThreadType[];\n /**\n * Threads that are no longer anchored to a position in the object.\n */\n detached?: string[];\n currentId?: string;\n showResolvedThreads?: boolean;\n};\n\n/**\n * Comment threads.\n */\nexport const CommentsContainer = ({\n threads,\n detached = [],\n currentId,\n showResolvedThreads,\n ...props\n}: ThreadsContainerProps) => {\n const { t } = useTranslation(THREAD_PLUGIN);\n const filteredThreads = showResolvedThreads ? threads : threads.filter((thread) => !(thread?.status === 'resolved'));\n\n useEffect(() => {\n if (currentId) {\n document.getElementById(currentId)?.scrollIntoView({ behavior: 'smooth', block: 'end' });\n }\n }, [currentId]);\n\n return (\n <>\n {filteredThreads.length > 0 ? (\n filteredThreads.map((thread) => {\n const threadId = fullyQualifiedId(thread);\n return (\n <CommentContainer\n key={threadId}\n thread={thread}\n current={currentId === threadId}\n detached={detached.includes(threadId)}\n {...props}\n />\n );\n })\n ) : (\n <div role='alert' className={mx(descriptionMessage, 'place-self-center rounded-lg text-center m-4')}>\n <h2 className='mbe-2 font-medium text-baseText'>{t('no comments title')}</h2>\n <p>\n <Trans\n {...{\n t,\n i18nKey: 'no comments message',\n components: {\n commentIcon: <ChatText className='inline-block' />,\n },\n }}\n />\n </p>\n </div>\n )}\n </>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useCallback, useEffect, useMemo } from 'react';\n\nimport { createIntent, LayoutAction, useCapability, useCapabilities, useIntentDispatcher } from '@dxos/app-framework';\nimport { ThreadCapabilities } from '@dxos/plugin-space';\nimport { type ThreadType } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId, RefArray } from '@dxos/react-client/echo';\nimport { useIdentity } from '@dxos/react-client/halo';\nimport { useTranslation } from '@dxos/react-ui';\nimport { useAttended } from '@dxos/react-ui-attention';\nimport { StackItem } from '@dxos/react-ui-stack';\nimport { Tabs } from '@dxos/react-ui-tabs';\nimport { isNonNullable } from '@dxos/util';\n\nimport { ThreadCapabilities as LocalThreadCapabilities } from '../capabilities';\nimport { CommentsContainer } from '../components';\nimport { THREAD_PLUGIN } from '../meta';\nimport { ThreadAction } from '../types';\n\nexport const ThreadComplementary = ({ subject }: { subject: any }) => {\n const { dispatchPromise: dispatch } = useIntentDispatcher();\n const identity = useIdentity();\n const { t } = useTranslation(THREAD_PLUGIN);\n\n const { state, getViewState } = useCapability(LocalThreadCapabilities.MutableState);\n const viewState = getViewState(fullyQualifiedId(subject));\n const { showResolvedThreads } = viewState;\n const onChangeViewState = useCallback(\n (nextValue: string) => {\n viewState.showResolvedThreads = nextValue === 'all';\n },\n [viewState],\n );\n const drafts = state.drafts[fullyQualifiedId(subject)];\n\n const threadsIntegrators = useCapabilities(ThreadCapabilities.Thread);\n const createSort = useMemo(\n () => threadsIntegrators.find((p) => p.predicate(subject))?.createSort,\n [threadsIntegrators, subject],\n );\n const sort = useMemo(() => createSort?.(subject), [createSort, subject]);\n\n const threadObjects = RefArray.targets(subject.threads ?? []);\n\n const threads = useMemo(() => {\n return threadObjects.concat(drafts ?? []).filter(isNonNullable) as ThreadType[];\n }, [JSON.stringify(threadObjects), JSON.stringify(drafts)]);\n\n const detachedIds = useMemo(() => {\n return threads.filter(({ anchor }) => !anchor).map((thread) => fullyQualifiedId(thread));\n }, [threads]);\n\n useEffect(() => {\n if (!sort) {\n return;\n }\n threads.sort((a, b) => sort(a?.anchor, b?.anchor));\n }, [sort, threads]);\n\n const attended = useAttended();\n const qualifiedSubjectId = fullyQualifiedId(subject);\n\n const handleAttend = useCallback(\n (thread: ThreadType) => {\n const threadId = fullyQualifiedId(thread);\n if (state.current !== threadId) {\n state.current = threadId;\n\n // TODO(wittjosiah): Should this be a thread-specific intent?\n // The layout doesn't know about threads and this working depends on other plugins conditionally handling it.\n // This may be overloading this intent or highjacking its intended purpose.\n void dispatch(\n createIntent(LayoutAction.ScrollIntoView, {\n part: 'current',\n subject: fullyQualifiedId(subject),\n options: {\n cursor: thread.anchor,\n ref: threadId,\n },\n }),\n );\n }\n },\n [state.current, dispatch, subject],\n );\n\n const handleComment = useCallback(\n async (thread: ThreadType, text: string) => {\n await dispatch(\n createIntent(ThreadAction.AddMessage, { thread, subject, sender: { identityDid: identity?.did }, text }),\n );\n\n state.current = fullyQualifiedId(thread);\n },\n [dispatch, identity, subject],\n );\n\n const handleResolve = useCallback(\n (thread: ThreadType) => dispatch(createIntent(ThreadAction.ToggleResolved, { thread })),\n [dispatch],\n );\n\n const handleThreadDelete = useCallback(\n (thread: ThreadType) => dispatch(createIntent(ThreadAction.Delete, { thread, subject })),\n [dispatch, subject],\n );\n\n const handleMessageDelete = useCallback(\n (thread: ThreadType, messageId: string) =>\n dispatch(createIntent(ThreadAction.DeleteMessage, { thread, subject, messageId })),\n [dispatch, subject],\n );\n\n const comments = (\n <CommentsContainer\n threads={threads}\n detached={detachedIds}\n currentId={attended.includes(qualifiedSubjectId) ? state.current : undefined}\n showResolvedThreads={showResolvedThreads}\n onAttend={handleAttend}\n onComment={handleComment}\n onResolve={handleResolve}\n onMessageDelete={handleMessageDelete}\n onThreadDelete={handleThreadDelete}\n />\n );\n\n return (\n <StackItem.Content toolbar>\n <Tabs.Root\n value={showResolvedThreads ? 'all' : 'unresolved'}\n onValueChange={onChangeViewState}\n orientation='horizontal'\n classNames='contents [&_[role=\"tabpanel\"]]:min-bs-0 [&_[role=\"tabpanel\"]]:overflow-y-auto [&_[role=\"tabpanel\"]]:scrollbar-thin'\n >\n <Tabs.Tablist classNames='p-1 gap-1 bs-[--rail-action] border-be border-separator'>\n <Tabs.Tab value='unresolved' classNames='text-sm'>\n {t('show unresolved label')}\n </Tabs.Tab>\n <Tabs.Tab value='all' classNames='text-sm'>\n {t('show all label')}\n </Tabs.Tab>\n </Tabs.Tablist>\n <Tabs.Tabpanel value='all'>{showResolvedThreads && comments}</Tabs.Tabpanel>\n <Tabs.Tabpanel value='unresolved'>{!showResolvedThreads && comments}</Tabs.Tabpanel>\n </Tabs.Root>\n </StackItem.Content>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\n// import { useTranslation } from '@dxos/react-ui';\nimport { DeprecatedFormContainer } from '@dxos/react-ui-form';\n\n// import { THREAD_PLUGIN } from '../meta';\nimport type { ThreadSettingsProps } from '../types';\n\nexport const ThreadSettings = ({ settings }: { settings: ThreadSettingsProps }) => {\n // const { t } = useTranslation(THREAD_PLUGIN);\n\n return <DeprecatedFormContainer></DeprecatedFormContainer>;\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAIA,OAAOA,YAAW;AAElB,SAASC,cAAcC,aAAaC,eAAeC,iBAAiB;AAEpE,SAASC,WAAW;AACpB,SAASC,qBAAqB;AAC9B,SAASC,mBAAoC;AAC7C,SAASC,YAAAA,WAAUC,eAA2B;;;ACP9C,SAASC,YAAY;;;ACArB,SAASC,aAAaC,SAAS;AAC/B,OAAOC,SAASC,aAAaC,SAASC,QAAQC,gBAAgB;AAE9D,SAASC,gBAAgB;AACzB,SAASC,kBAAkBC,UAAUC,kBAAkB;AACvD,SAASC,mBAAmB;AAC5B,SAASC,QAAQC,KAAKC,SAASC,iBAAiBC,sBAAsB;AACtE,SAASC,uBAAuBC,uBAAuBC,gBAAgB;AACvE,SACEC,SACAC,sBACAC,mBACAC,gCACAC,UACK;AACP,S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B,KAAKH,MAAK,EAAE,MAAO,gBAAAC,OAAA,cAACC,eAAAA;MAAcC;MAAUH;;EAC7E,CAAA;EACArB,cAAc;IACZC,IAAI,GAAGC,aAAAA;IACPC,MAAM;IACNC,QAAQ,CAACC,SACPA,KAAKC,mBAAmB4B,iBAAiB7B,KAAKC,QAAQ6B,WAAWjC;IACnEM,WAAW,CAAC,EAAEH,MAAM,EAAEC,QAAO,EAAE,MAAO,gBAAAgB,OAAA,cAACc,gBAAAA;MAAeC,UAAU/B,QAAQgC;;EAC1E,CAAA;CACD;",
6
+ "names": ["React", "Capabilities", "contributes", "createSurface", "useLayout", "DXN", "SettingsStore", "ChannelType", "getSpace", "isSpace", "lazy", "CheckCircle", "X", "React", "useCallback", "useMemo", "useRef", "useState", "RefArray", "fullyQualifiedId", "getSpace", "useMembers", "useIdentity", "Button", "Tag", "Tooltip", "useThemeContext", "useTranslation", "createBasicExtensions", "createThemeExtensions", "listener", "getSize", "hoverableControlItem", "hoverableControls", "hoverableFocusedWithinControls", "mx", "MessageTextbox", "Thread", "ThreadFooter", "ThreadHeading", "isNonNullable", "sizeClass", "getSize", "commentControlClassNames", "ToggleResolvedButton", "isResolved", "onResolve", "t", "useTranslation", "THREAD_PLUGIN", "label", "Tooltip", "Trigger", "asChild", "content", "Button", "variant", "data-testid", "onClick", "classNames", "hoverableControlItem", "span", "className", "CheckCircle", "weight", "DeleteThreadButton", "onDelete", "X", "CommentContainer", "thread", "detached", "current", "onAttend", "onComment", "onMessageDelete", "onThreadDelete", "identity", "useIdentity", "space", "getSpace", "members", "useMembers", "key", "activity", "useStatus", "fullyQualifiedId", "threadScrollRef", "useRef", "themeMode", "useThemeContext", "textboxMetadata", "getMessageMetadata", "_count", "_setCount", "useState", "rerenderEditor", "count", "messageRef", "extensions", "useMemo", "createBasicExtensions", "placeholder", "createThemeExtensions", "listener", "onChange", "text", "command", "scrollToEnd", "behavior", "setTimeout", "scrollIntoView", "block", "handleAttend", "useCallback", "handleResolve", "handleMessageDelete", "id", "handleThreadDelete", "handleComment", "Thread", "onClickCapture", "onFocusCapture", "div", "role", "mx", "hoverableControls", "hoverableFocusedWithinControls", "side", "ThreadHeading", "name", "status", "Tag", "palette", "RefArray", "targets", "messages", "filter", "isNonNullable", "map", "message", "MessageContainer", "editable", "MessageTextbox", "onSend", "ThreadFooter", "ref", "ChatText", "React", "useEffect", "fullyQualifiedId", "useTranslation", "Trans", "descriptionMessage", "mx", "CommentsContainer", "threads", "detached", "currentId", "showResolvedThreads", "props", "t", "useTranslation", "THREAD_PLUGIN", "filteredThreads", "filter", "thread", "status", "useEffect", "document", "getElementById", "scrollIntoView", "behavior", "block", "React", "length", "map", "threadId", "fullyQualifiedId", "CommentContainer", "key", "current", "includes", "div", "role", "className", "mx", "descriptionMessage", "h2", "p", "Trans", "i18nKey", "components", "commentIcon", "ChatText", "React", "useCallback", "useEffect", "useMemo", "createIntent", "LayoutAction", "useCapability", "useCapabilities", "useIntentDispatcher", "ThreadCapabilities", "fullyQualifiedId", "RefArray", "useIdentity", "useTranslation", "useAttended", "StackItem", "Tabs", "isNonNullable", "ThreadComplementary", "subject", "dispatchPromise", "dispatch", "useIntentDispatcher", "identity", "useIdentity", "t", "useTranslation", "THREAD_PLUGIN", "state", "getViewState", "useCapability", "LocalThreadCapabilities", "MutableState", "viewState", "fullyQualifiedId", "showResolvedThreads", "onChangeViewState", "useCallback", "nextValue", "drafts", "threadsIntegrators", "useCapabilities", "ThreadCapabilities", "Thread", "createSort", "useMemo", "find", "p", "predicate", "sort", "threadObjects", "RefArray", "targets", "threads", "concat", "filter", "isNonNullable", "JSON", "stringify", "detachedIds", "anchor", "map", "thread", "useEffect", "a", "b", "attended", "useAttended", "qualifiedSubjectId", "handleAttend", "threadId", "current", "createIntent", "LayoutAction", "ScrollIntoView", "part", "options", "cursor", "ref", "handleComment", "text", "ThreadAction", "AddMessage", "sender", "identityDid", "did", "handleResolve", "ToggleResolved", "handleThreadDelete", "Delete", "handleMessageDelete", "messageId", "DeleteMessage", "comments", "React", "CommentsContainer", "detached", "currentId", "includes", "undefined", "onAttend", "onComment", "onResolve", "onMessageDelete", "onThreadDelete", "StackItem", "Content", "toolbar", "Tabs", "Root", "value", "onValueChange", "orientation", "classNames", "Tablist", "Tab", "Tabpanel", "React", "DeprecatedFormContainer", "ThreadSettings", "settings", "React", "DeprecatedFormContainer", "ChatContainer", "lazy", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "THREAD_PLUGIN", "role", "filter", "data", "subject", "ChannelType", "component", "channel", "layout", "useLayout", "currentPosition", "active", "findIndex", "objectToTheLeft", "context", "getSpace", "db", "getObjectById", "undefined", "space", "React", "ChatContainer", "dxn", "queue", "companionTo", "Array", "isArray", "threads", "ThreadComplementary", "DXN", "type", "isSpace", "SettingsStore", "prefix", "ThreadSettings", "settings", "value"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ThreadSettingsSchema
3
- } from "./chunk-WOG72DWE.mjs";
3
+ } from "./chunk-AM4MYXGU.mjs";
4
4
  import {
5
5
  THREAD_PLUGIN
6
6
  } from "./chunk-WBJLUUOK.mjs";
@@ -19,4 +19,4 @@ var settings_default = () => {
19
19
  export {
20
20
  settings_default as default
21
21
  };
22
- //# sourceMappingURL=settings-2VZ7S4SK.mjs.map
22
+ //# sourceMappingURL=settings-SSYDISA6.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ThreadAction,
3
3
  ThreadSettingsSchema
4
- } from "./chunk-WOG72DWE.mjs";
4
+ } from "./chunk-AM4MYXGU.mjs";
5
5
  import "./chunk-WBJLUUOK.mjs";
6
6
  export {
7
7
  ThreadAction,
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var ChatContainer_LVYQ67PJ_exports = {};
30
- __export(ChatContainer_LVYQ67PJ_exports, {
29
+ var ChatContainer_TUISUIY7_exports = {};
30
+ __export(ChatContainer_TUISUIY7_exports, {
31
31
  ChatContainer: () => ChatContainer,
32
32
  ChatHeading: () => ChatHeading,
33
33
  default: () => ChatContainer_default
34
34
  });
35
- module.exports = __toCommonJS(ChatContainer_LVYQ67PJ_exports);
36
- var import_chunk_RIYLEDQ7 = require("./chunk-RIYLEDQ7.cjs");
37
- var import_chunk_W25MBII2 = require("./chunk-W25MBII2.cjs");
35
+ module.exports = __toCommonJS(ChatContainer_TUISUIY7_exports);
36
+ var import_chunk_ETDNE4Z6 = require("./chunk-ETDNE4Z6.cjs");
37
+ var import_chunk_NO6WQR36 = require("./chunk-NO6WQR36.cjs");
38
38
  var import_chunk_ONLWOUYZ = require("./chunk-ONLWOUYZ.cjs");
39
39
  var import_react = __toESM(require("react"));
40
40
  var import_echo_schema = require("@dxos/echo-schema");
@@ -68,14 +68,14 @@ var ChatContainer = ({ space, dxn, context, current, autoFocusTextbox }) => {
68
68
  const queue = (0, import_echo.useQueue)(dxn, {
69
69
  pollInterval: 1e3
70
70
  });
71
- const activity = (0, import_chunk_W25MBII2.useStatus)(space, id);
71
+ const activity = (0, import_chunk_NO6WQR36.useStatus)(space, id);
72
72
  const { t } = (0, import_react_ui.useTranslation)(import_chunk_ONLWOUYZ.THREAD_PLUGIN);
73
73
  const [_count, _setCount] = (0, import_react.useState)(0);
74
74
  const rerenderEditor = () => _setCount((count) => count + 1);
75
75
  const [autoFocus, setAutoFocus] = (0, import_react.useState)(autoFocusTextbox);
76
76
  const threadScrollRef = (0, import_react.useRef)(null);
77
77
  const { themeMode } = (0, import_react_ui.useThemeContext)();
78
- const textboxMetadata = (0, import_chunk_RIYLEDQ7.getMessageMetadata)(id, identity);
78
+ const textboxMetadata = (0, import_chunk_ETDNE4Z6.getMessageMetadata)(id, identity);
79
79
  const messageRef = (0, import_react.useRef)("");
80
80
  const extensions = (0, import_react.useMemo)(() => [
81
81
  (0, import_react_ui_editor.createBasicExtensions)({
@@ -87,7 +87,7 @@ var ChatContainer = ({ space, dxn, context, current, autoFocusTextbox }) => {
87
87
  (0, import_react_ui_editor.listener)({
88
88
  onChange: (text) => messageRef.current = text
89
89
  }),
90
- import_chunk_RIYLEDQ7.command
90
+ import_chunk_ETDNE4Z6.command
91
91
  ], [
92
92
  themeMode,
93
93
  _count
@@ -104,7 +104,7 @@ var ChatContainer = ({ space, dxn, context, current, autoFocusTextbox }) => {
104
104
  return false;
105
105
  }
106
106
  queue.append([
107
- (0, import_echo_schema.create)(import_schema.MessageType, {
107
+ (0, import_echo_schema.create)(import_schema.DataType.Message, {
108
108
  sender: {
109
109
  identityDid: identity.did
110
110
  },
@@ -137,7 +137,7 @@ var ChatContainer = ({ space, dxn, context, current, autoFocusTextbox }) => {
137
137
  }, /* @__PURE__ */ import_react.default.createElement("div", {
138
138
  role: "none",
139
139
  className: (0, import_react_ui_theme.mx)(import_react_ui_thread.threadLayout, "place-self-end")
140
- }, (queue?.items ?? []).map((message) => /* @__PURE__ */ import_react.default.createElement(import_chunk_RIYLEDQ7.MessageContainer, {
140
+ }, (queue?.items ?? []).map((message) => /* @__PURE__ */ import_react.default.createElement(import_chunk_ETDNE4Z6.MessageContainer, {
141
141
  key: message.id,
142
142
  message,
143
143
  members
@@ -160,4 +160,4 @@ var ChatContainer_default = ChatContainer;
160
160
  ChatContainer,
161
161
  ChatHeading
162
162
  });
163
- //# sourceMappingURL=ChatContainer-LVYQ67PJ.cjs.map
163
+ //# sourceMappingURL=ChatContainer-TUISUIY7.cjs.map