@dxos/plugin-thread 0.8.4-main.abd8ff62ef → 0.8.4-main.bc2380dfbc

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 (431) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/lib/neutral/ChannelArticle-ACZD7YFT.mjs +28 -0
  4. package/dist/lib/neutral/ChannelArticle-ACZD7YFT.mjs.map +7 -0
  5. package/dist/lib/neutral/ChannelChat-6YTD5HWL.mjs +10 -0
  6. package/dist/lib/neutral/ThreadCompanion-NQWPS2H6.mjs +208 -0
  7. package/dist/lib/neutral/ThreadCompanion-NQWPS2H6.mjs.map +7 -0
  8. package/dist/lib/neutral/ThreadContainer-XYEPEOSD.mjs +61 -0
  9. package/dist/lib/neutral/ThreadContainer-XYEPEOSD.mjs.map +7 -0
  10. package/dist/lib/neutral/ThreadPlugin.mjs +80 -0
  11. package/dist/lib/neutral/ThreadPlugin.mjs.map +7 -0
  12. package/dist/lib/neutral/ThreadPlugin.node.mjs +40 -0
  13. package/dist/lib/neutral/ThreadPlugin.node.mjs.map +7 -0
  14. package/dist/lib/neutral/ThreadPlugin.workerd.mjs +24 -0
  15. package/dist/lib/neutral/ThreadPlugin.workerd.mjs.map +7 -0
  16. package/dist/lib/neutral/ThreadSettings-5MKTDK3A.mjs +15 -0
  17. package/dist/lib/neutral/ThreadSettings-5MKTDK3A.mjs.map +7 -0
  18. package/dist/lib/{browser/add-message-LRVGIHDH.mjs → neutral/add-message-FBIROBEZ.mjs} +8 -10
  19. package/dist/lib/neutral/add-message-FBIROBEZ.mjs.map +7 -0
  20. package/dist/lib/neutral/app-graph-builder-7Q6MA6RT.mjs +120 -0
  21. package/dist/lib/neutral/app-graph-builder-7Q6MA6RT.mjs.map +7 -0
  22. package/dist/lib/{browser/append-channel-message-CO3M6FSA.mjs → neutral/append-channel-message-FTFAD3PK.mjs} +5 -5
  23. package/dist/lib/neutral/append-channel-message-FTFAD3PK.mjs.map +7 -0
  24. package/dist/lib/neutral/blueprint-definition-S3EBOH4R.mjs +15 -0
  25. package/dist/lib/neutral/blueprint-definition-S3EBOH4R.mjs.map +7 -0
  26. package/dist/lib/neutral/blueprints/index.mjs +8 -0
  27. package/dist/lib/neutral/capabilities/index.mjs +25 -0
  28. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  29. package/dist/lib/{browser/blueprints/index.mjs → neutral/chunk-5T5LPLBN.mjs} +4 -5
  30. package/dist/lib/neutral/chunk-5T5LPLBN.mjs.map +7 -0
  31. package/dist/lib/neutral/chunk-7GHUS3IX.mjs +20 -0
  32. package/dist/lib/neutral/chunk-7GHUS3IX.mjs.map +7 -0
  33. package/dist/lib/neutral/chunk-D5LGFCUY.mjs +55 -0
  34. package/dist/lib/neutral/chunk-D5LGFCUY.mjs.map +7 -0
  35. package/dist/lib/neutral/chunk-JLY4NVTA.mjs +38 -0
  36. package/dist/lib/neutral/chunk-JLY4NVTA.mjs.map +7 -0
  37. package/dist/lib/neutral/chunk-KRXHIW4P.mjs +164 -0
  38. package/dist/lib/neutral/chunk-KRXHIW4P.mjs.map +7 -0
  39. package/dist/lib/{browser/chunk-TPNZ43NB.mjs → neutral/chunk-PE7IH7EL.mjs} +86 -73
  40. package/dist/lib/neutral/chunk-PE7IH7EL.mjs.map +7 -0
  41. package/dist/lib/neutral/chunk-QFDT33VT.mjs +69 -0
  42. package/dist/lib/neutral/chunk-QFDT33VT.mjs.map +7 -0
  43. package/dist/lib/neutral/chunk-QMLVLKE3.mjs +8 -0
  44. package/dist/lib/neutral/chunk-QMLVLKE3.mjs.map +7 -0
  45. package/dist/lib/neutral/components/index.mjs +539 -0
  46. package/dist/lib/neutral/components/index.mjs.map +7 -0
  47. package/dist/lib/neutral/containers/index.mjs +15 -0
  48. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  49. package/dist/lib/{browser/create-BTGLHLBA.mjs → neutral/create-OAQJ6LXN.mjs} +7 -10
  50. package/dist/lib/neutral/create-OAQJ6LXN.mjs.map +7 -0
  51. package/dist/lib/{browser/create-channel-ZXKSLHGN.mjs → neutral/create-channel-3E4FJ662.mjs} +4 -4
  52. package/dist/lib/neutral/create-channel-3E4FJ662.mjs.map +7 -0
  53. package/dist/lib/neutral/create-object-HIEWSBZB.mjs +27 -0
  54. package/dist/lib/neutral/create-object-HIEWSBZB.mjs.map +7 -0
  55. package/dist/lib/{browser/create-proposals-AV5CREPV.mjs → neutral/create-proposals-GRYZXRMV.mjs} +4 -4
  56. package/dist/lib/neutral/create-proposals-GRYZXRMV.mjs.map +7 -0
  57. package/dist/lib/{browser/delete-GLYEP7NE.mjs → neutral/delete-HCCG5RVR.mjs} +7 -9
  58. package/dist/lib/neutral/delete-HCCG5RVR.mjs.map +7 -0
  59. package/dist/lib/{browser/delete-message-RQ72ZY5D.mjs → neutral/delete-message-DHFRACB4.mjs} +6 -7
  60. package/dist/lib/neutral/delete-message-DHFRACB4.mjs.map +7 -0
  61. package/dist/lib/neutral/hooks/index.mjs +10 -0
  62. package/dist/lib/neutral/index.mjs +28 -0
  63. package/dist/lib/neutral/index.mjs.map +7 -0
  64. package/dist/lib/neutral/markdown-BUORNCPG.mjs +83 -0
  65. package/dist/lib/neutral/markdown-BUORNCPG.mjs.map +7 -0
  66. package/dist/lib/neutral/meta.json +1 -0
  67. package/dist/lib/neutral/meta.mjs +10 -0
  68. package/dist/lib/neutral/meta.mjs.map +7 -0
  69. package/dist/lib/{browser/on-create-space-SPE3QVFZ.mjs → neutral/on-create-space-OEBRKOAM.mjs} +5 -6
  70. package/dist/lib/neutral/on-create-space-OEBRKOAM.mjs.map +7 -0
  71. package/dist/lib/neutral/operation-handler-RU6K2S4L.mjs +13 -0
  72. package/dist/lib/neutral/operation-handler-RU6K2S4L.mjs.map +7 -0
  73. package/dist/lib/neutral/operations/index.mjs +8 -0
  74. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  75. package/dist/lib/neutral/plugin.mjs +16 -0
  76. package/dist/lib/neutral/plugin.mjs.map +7 -0
  77. package/dist/lib/neutral/react-surface-XY23GVZH.mjs +76 -0
  78. package/dist/lib/neutral/react-surface-XY23GVZH.mjs.map +7 -0
  79. package/dist/lib/{browser/restore-VX7FLZOZ.mjs → neutral/restore-P4ZLXLF7.mjs} +5 -5
  80. package/dist/lib/neutral/restore-P4ZLXLF7.mjs.map +7 -0
  81. package/dist/lib/{browser/restore-message-D65NSWUA.mjs → neutral/restore-message-AUBOP2DF.mjs} +5 -5
  82. package/dist/lib/neutral/restore-message-AUBOP2DF.mjs.map +7 -0
  83. package/dist/lib/{browser/select-AT4L7EBU.mjs → neutral/select-LIVAMBCE.mjs} +6 -8
  84. package/dist/lib/neutral/select-LIVAMBCE.mjs.map +7 -0
  85. package/dist/lib/neutral/settings-HK4EB6TF.mjs +30 -0
  86. package/dist/lib/neutral/settings-HK4EB6TF.mjs.map +7 -0
  87. package/dist/lib/neutral/state-UU7VEAKV.mjs +22 -0
  88. package/dist/lib/neutral/state-UU7VEAKV.mjs.map +7 -0
  89. package/dist/lib/neutral/testing/index.mjs +58 -0
  90. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  91. package/dist/lib/{browser/toggle-resolved-JD3D4WBZ.mjs → neutral/toggle-resolved-RQBDQZSV.mjs} +5 -5
  92. package/dist/lib/neutral/toggle-resolved-RQBDQZSV.mjs.map +7 -0
  93. package/dist/lib/{browser → neutral}/translations.mjs +2 -2
  94. package/dist/lib/neutral/translations.mjs.map +7 -0
  95. package/dist/lib/neutral/types/index.mjs +12 -0
  96. package/dist/lib/neutral/types/index.mjs.map +7 -0
  97. package/dist/lib/neutral/undo-mappings-HOKL2L3M.mjs +54 -0
  98. package/dist/lib/neutral/undo-mappings-HOKL2L3M.mjs.map +7 -0
  99. package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
  100. package/dist/types/src/ThreadPlugin.node.d.ts.map +1 -1
  101. package/dist/types/src/ThreadPlugin.workerd.d.ts +4 -0
  102. package/dist/types/src/ThreadPlugin.workerd.d.ts.map +1 -0
  103. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  104. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  105. package/dist/types/src/capabilities/index.d.ts +7 -6
  106. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  107. package/dist/types/src/capabilities/markdown.d.ts +1 -1
  108. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  109. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  110. package/dist/types/src/components/Chat/Chat.d.ts +8 -1
  111. package/dist/types/src/components/Chat/Chat.d.ts.map +1 -1
  112. package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -1
  113. package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -1
  114. package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -1
  115. package/dist/types/src/components/index.d.ts +0 -1
  116. package/dist/types/src/components/index.d.ts.map +1 -1
  117. package/dist/types/src/containers/ChannelArticle/ChannelArticle.d.ts +13 -0
  118. package/dist/types/src/containers/ChannelArticle/ChannelArticle.d.ts.map +1 -0
  119. package/dist/types/src/containers/{ChannelContainer/ChannelContainer.stories.d.ts → ChannelArticle/ChannelArticle.stories.d.ts} +4 -4
  120. package/dist/types/src/containers/ChannelArticle/ChannelArticle.stories.d.ts.map +1 -0
  121. package/dist/types/src/containers/ChannelArticle/index.d.ts +2 -0
  122. package/dist/types/src/containers/{CallDebugPanel → ChannelArticle}/index.d.ts.map +1 -1
  123. package/dist/types/src/containers/ChannelChat/ChannelChat.d.ts +4 -0
  124. package/dist/types/src/containers/ChannelChat/ChannelChat.d.ts.map +1 -1
  125. package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -1
  126. package/dist/types/src/containers/index.d.ts +1 -3
  127. package/dist/types/src/containers/index.d.ts.map +1 -1
  128. package/dist/types/src/extensions/threads.d.ts +1 -1
  129. package/dist/types/src/extensions/threads.d.ts.map +1 -1
  130. package/dist/types/src/hooks/index.d.ts +0 -4
  131. package/dist/types/src/hooks/index.d.ts.map +1 -1
  132. package/dist/types/src/index.d.ts +3 -5
  133. package/dist/types/src/index.d.ts.map +1 -1
  134. package/dist/types/src/meta.d.ts.map +1 -1
  135. package/dist/types/src/operations/add-message.d.ts +2 -2
  136. package/dist/types/src/operations/add-message.d.ts.map +1 -1
  137. package/dist/types/src/operations/append-channel-message.d.ts +2 -2
  138. package/dist/types/src/operations/append-channel-message.d.ts.map +1 -1
  139. package/dist/types/src/operations/create-channel.d.ts +2 -2
  140. package/dist/types/src/operations/create-channel.d.ts.map +1 -1
  141. package/dist/types/src/operations/create-proposals.d.ts +2 -2
  142. package/dist/types/src/operations/create-proposals.d.ts.map +1 -1
  143. package/dist/types/src/operations/create.d.ts +2 -2
  144. package/dist/types/src/operations/create.d.ts.map +1 -1
  145. package/dist/types/src/operations/delete-message.d.ts +2 -2
  146. package/dist/types/src/operations/delete-message.d.ts.map +1 -1
  147. package/dist/types/src/operations/delete.d.ts +2 -2
  148. package/dist/types/src/operations/delete.d.ts.map +1 -1
  149. package/dist/types/src/operations/index.d.ts +0 -1
  150. package/dist/types/src/operations/index.d.ts.map +1 -1
  151. package/dist/types/src/operations/on-create-space.d.ts +2 -2
  152. package/dist/types/src/operations/on-create-space.d.ts.map +1 -1
  153. package/dist/types/src/operations/restore-message.d.ts +2 -2
  154. package/dist/types/src/operations/restore-message.d.ts.map +1 -1
  155. package/dist/types/src/operations/restore.d.ts +2 -2
  156. package/dist/types/src/operations/restore.d.ts.map +1 -1
  157. package/dist/types/src/operations/select.d.ts +2 -2
  158. package/dist/types/src/operations/select.d.ts.map +1 -1
  159. package/dist/types/src/operations/toggle-resolved.d.ts +2 -2
  160. package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -1
  161. package/dist/types/src/plugin.d.ts +4 -0
  162. package/dist/types/src/plugin.d.ts.map +1 -0
  163. package/dist/types/src/translations.d.ts.map +1 -1
  164. package/dist/types/src/types/ThreadCapabilities.d.ts +13 -0
  165. package/dist/types/src/types/ThreadCapabilities.d.ts.map +1 -0
  166. package/dist/types/src/{operations/definitions.d.ts → types/ThreadOperation.d.ts} +1 -1
  167. package/dist/types/src/types/ThreadOperation.d.ts.map +1 -0
  168. package/dist/types/src/types/index.d.ts +3 -1
  169. package/dist/types/src/types/index.d.ts.map +1 -1
  170. package/dist/types/src/types/types.d.ts +1 -1
  171. package/dist/types/src/types/types.d.ts.map +1 -1
  172. package/dist/types/src/util.d.ts +4 -1
  173. package/dist/types/src/util.d.ts.map +1 -1
  174. package/dist/types/tsconfig.tsbuildinfo +1 -1
  175. package/package.json +123 -99
  176. package/src/ThreadPlugin.node.ts +5 -50
  177. package/src/ThreadPlugin.test.ts +3 -3
  178. package/src/ThreadPlugin.tsx +6 -59
  179. package/src/ThreadPlugin.workerd.ts +20 -0
  180. package/src/blueprints/thread-blueprint.ts +1 -1
  181. package/src/capabilities/app-graph-builder.ts +18 -69
  182. package/src/capabilities/create-object.ts +29 -0
  183. package/src/capabilities/index.ts +1 -2
  184. package/src/capabilities/markdown.ts +1 -1
  185. package/src/capabilities/react-surface.tsx +4 -26
  186. package/src/capabilities/settings.ts +1 -3
  187. package/src/capabilities/undo-mappings.ts +1 -1
  188. package/src/components/Chat/Chat.tsx +52 -12
  189. package/src/components/CommentsPanel/CommentsPanel.stories.tsx +1 -1
  190. package/src/components/CommentsPanel/CommentsPanel.tsx +4 -4
  191. package/src/components/CommentsPanel/CommentsThread.tsx +2 -3
  192. package/src/components/MessagePanel/MessagePanel.tsx +7 -8
  193. package/src/components/ThreadSettings/ThreadSettings.tsx +0 -1
  194. package/src/components/index.ts +0 -1
  195. package/src/containers/{ChannelContainer/ChannelContainer.stories.tsx → ChannelArticle/ChannelArticle.stories.tsx} +10 -10
  196. package/src/containers/ChannelArticle/ChannelArticle.tsx +42 -0
  197. package/src/containers/ChannelArticle/index.ts +5 -0
  198. package/src/containers/ChannelChat/ChannelChat.tsx +12 -2
  199. package/src/containers/ThreadCompanion/ThreadCompanion.tsx +10 -12
  200. package/src/containers/index.ts +1 -3
  201. package/src/extensions/command.ts +1 -1
  202. package/src/extensions/threads.ts +2 -2
  203. package/src/hooks/analytics.ts +1 -1
  204. package/src/hooks/index.ts +0 -5
  205. package/src/index.ts +3 -10
  206. package/src/meta.ts +1 -2
  207. package/src/operations/add-message.ts +4 -4
  208. package/src/operations/append-channel-message.ts +20 -19
  209. package/src/operations/create-channel.ts +2 -2
  210. package/src/operations/create-proposals.ts +2 -2
  211. package/src/operations/create.ts +3 -3
  212. package/src/operations/delete-message.ts +4 -4
  213. package/src/operations/delete.ts +3 -3
  214. package/src/operations/index.ts +0 -2
  215. package/src/operations/on-create-space.ts +3 -3
  216. package/src/operations/restore-message.ts +3 -3
  217. package/src/operations/restore.ts +3 -3
  218. package/src/operations/select.ts +2 -2
  219. package/src/operations/toggle-resolved.ts +3 -3
  220. package/src/plugin.ts +11 -0
  221. package/src/translations.ts +2 -2
  222. package/src/types/ThreadCapabilities.ts +26 -0
  223. package/src/{operations/definitions.ts → types/ThreadOperation.ts} +5 -4
  224. package/src/types/index.ts +4 -1
  225. package/src/types/types.ts +0 -2
  226. package/src/util.ts +36 -4
  227. package/dist/lib/browser/add-message-LRVGIHDH.mjs.map +0 -7
  228. package/dist/lib/browser/append-channel-message-CO3M6FSA.mjs.map +0 -7
  229. package/dist/lib/browser/blueprints/index.mjs.map +0 -7
  230. package/dist/lib/browser/chunk-E4GG3NX2.mjs +0 -29
  231. package/dist/lib/browser/chunk-E4GG3NX2.mjs.map +0 -7
  232. package/dist/lib/browser/chunk-TPNZ43NB.mjs.map +0 -7
  233. package/dist/lib/browser/create-BTGLHLBA.mjs.map +0 -7
  234. package/dist/lib/browser/create-channel-ZXKSLHGN.mjs.map +0 -7
  235. package/dist/lib/browser/create-proposals-AV5CREPV.mjs.map +0 -7
  236. package/dist/lib/browser/delete-GLYEP7NE.mjs.map +0 -7
  237. package/dist/lib/browser/delete-message-RQ72ZY5D.mjs.map +0 -7
  238. package/dist/lib/browser/index.mjs +0 -1821
  239. package/dist/lib/browser/index.mjs.map +0 -7
  240. package/dist/lib/browser/meta.json +0 -1
  241. package/dist/lib/browser/on-create-space-SPE3QVFZ.mjs.map +0 -7
  242. package/dist/lib/browser/operations/index.mjs +0 -13
  243. package/dist/lib/browser/operations/index.mjs.map +0 -7
  244. package/dist/lib/browser/restore-VX7FLZOZ.mjs.map +0 -7
  245. package/dist/lib/browser/restore-message-D65NSWUA.mjs.map +0 -7
  246. package/dist/lib/browser/select-AT4L7EBU.mjs.map +0 -7
  247. package/dist/lib/browser/toggle-resolved-JD3D4WBZ.mjs.map +0 -7
  248. package/dist/lib/browser/translations.mjs.map +0 -7
  249. package/dist/lib/browser/types/index.mjs +0 -10
  250. package/dist/lib/node-esm/add-message-4EAQ2ZPI.mjs +0 -90
  251. package/dist/lib/node-esm/add-message-4EAQ2ZPI.mjs.map +0 -7
  252. package/dist/lib/node-esm/append-channel-message-F7KGBSWP.mjs +0 -41
  253. package/dist/lib/node-esm/append-channel-message-F7KGBSWP.mjs.map +0 -7
  254. package/dist/lib/node-esm/blueprints/index.mjs +0 -38
  255. package/dist/lib/node-esm/blueprints/index.mjs.map +0 -7
  256. package/dist/lib/node-esm/chunk-BVEZBGIY.mjs +0 -30
  257. package/dist/lib/node-esm/chunk-BVEZBGIY.mjs.map +0 -7
  258. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  259. package/dist/lib/node-esm/chunk-XKUMDYGR.mjs +0 -259
  260. package/dist/lib/node-esm/chunk-XKUMDYGR.mjs.map +0 -7
  261. package/dist/lib/node-esm/create-DEZFPN2Y.mjs +0 -56
  262. package/dist/lib/node-esm/create-DEZFPN2Y.mjs.map +0 -7
  263. package/dist/lib/node-esm/create-channel-6VHTC2OR.mjs +0 -20
  264. package/dist/lib/node-esm/create-channel-6VHTC2OR.mjs.map +0 -7
  265. package/dist/lib/node-esm/create-proposals-P5O2ICOL.mjs +0 -57
  266. package/dist/lib/node-esm/create-proposals-P5O2ICOL.mjs.map +0 -7
  267. package/dist/lib/node-esm/delete-QG45QLPY.mjs +0 -60
  268. package/dist/lib/node-esm/delete-QG45QLPY.mjs.map +0 -7
  269. package/dist/lib/node-esm/delete-message-PGNLB6TL.mjs +0 -56
  270. package/dist/lib/node-esm/delete-message-PGNLB6TL.mjs.map +0 -7
  271. package/dist/lib/node-esm/index.mjs +0 -1822
  272. package/dist/lib/node-esm/index.mjs.map +0 -7
  273. package/dist/lib/node-esm/meta.json +0 -1
  274. package/dist/lib/node-esm/on-create-space-TFBSHWQ4.mjs +0 -25
  275. package/dist/lib/node-esm/on-create-space-TFBSHWQ4.mjs.map +0 -7
  276. package/dist/lib/node-esm/operations/index.mjs +0 -14
  277. package/dist/lib/node-esm/operations/index.mjs.map +0 -7
  278. package/dist/lib/node-esm/restore-E27OAIFJ.mjs +0 -33
  279. package/dist/lib/node-esm/restore-E27OAIFJ.mjs.map +0 -7
  280. package/dist/lib/node-esm/restore-message-J3CH6NGI.mjs +0 -34
  281. package/dist/lib/node-esm/restore-message-J3CH6NGI.mjs.map +0 -7
  282. package/dist/lib/node-esm/select-UU6Q2XAB.mjs +0 -27
  283. package/dist/lib/node-esm/select-UU6Q2XAB.mjs.map +0 -7
  284. package/dist/lib/node-esm/toggle-resolved-VS6NKXL3.mjs +0 -37
  285. package/dist/lib/node-esm/toggle-resolved-VS6NKXL3.mjs.map +0 -7
  286. package/dist/lib/node-esm/translations.mjs +0 -91
  287. package/dist/lib/node-esm/translations.mjs.map +0 -7
  288. package/dist/lib/node-esm/types/index.mjs +0 -11
  289. package/dist/types/src/calls/call-manager.d.ts +0 -87
  290. package/dist/types/src/calls/call-manager.d.ts.map +0 -1
  291. package/dist/types/src/calls/call-swarm-synchronizer.d.ts +0 -66
  292. package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +0 -1
  293. package/dist/types/src/calls/index.d.ts +0 -7
  294. package/dist/types/src/calls/index.d.ts.map +0 -1
  295. package/dist/types/src/calls/media-manager.d.ts +0 -60
  296. package/dist/types/src/calls/media-manager.d.ts.map +0 -1
  297. package/dist/types/src/calls/speaking-monitor.d.ts +0 -21
  298. package/dist/types/src/calls/speaking-monitor.d.ts.map +0 -1
  299. package/dist/types/src/calls/types.d.ts +0 -45
  300. package/dist/types/src/calls/types.d.ts.map +0 -1
  301. package/dist/types/src/calls/util/audio.d.ts +0 -6
  302. package/dist/types/src/calls/util/audio.d.ts.map +0 -1
  303. package/dist/types/src/calls/util/calls-service.d.ts +0 -77
  304. package/dist/types/src/calls/util/calls-service.d.ts.map +0 -1
  305. package/dist/types/src/calls/util/history-cache.d.ts +0 -11
  306. package/dist/types/src/calls/util/history-cache.d.ts.map +0 -1
  307. package/dist/types/src/calls/util/index.d.ts +0 -5
  308. package/dist/types/src/calls/util/index.d.ts.map +0 -1
  309. package/dist/types/src/calls/util/media.d.ts +0 -6
  310. package/dist/types/src/calls/util/media.d.ts.map +0 -1
  311. package/dist/types/src/calls/util/stub-media-streams.d.ts +0 -18
  312. package/dist/types/src/calls/util/stub-media-streams.d.ts.map +0 -1
  313. package/dist/types/src/calls/util/task-scheduling.d.ts +0 -17
  314. package/dist/types/src/calls/util/task-scheduling.d.ts.map +0 -1
  315. package/dist/types/src/calls-service.stories.d.ts +0 -23
  316. package/dist/types/src/calls-service.stories.d.ts.map +0 -1
  317. package/dist/types/src/capabilities/call-manager.d.ts +0 -6
  318. package/dist/types/src/capabilities/call-manager.d.ts.map +0 -1
  319. package/dist/types/src/capabilities/react-root.d.ts +0 -9
  320. package/dist/types/src/capabilities/react-root.d.ts.map +0 -1
  321. package/dist/types/src/components/Call/Call.d.ts +0 -45
  322. package/dist/types/src/components/Call/Call.d.ts.map +0 -1
  323. package/dist/types/src/components/Call/Toolbar.d.ts +0 -16
  324. package/dist/types/src/components/Call/Toolbar.d.ts.map +0 -1
  325. package/dist/types/src/components/Call/index.d.ts +0 -3
  326. package/dist/types/src/components/Call/index.d.ts.map +0 -1
  327. package/dist/types/src/components/Lobby/Lobby.d.ts +0 -36
  328. package/dist/types/src/components/Lobby/Lobby.d.ts.map +0 -1
  329. package/dist/types/src/components/Lobby/index.d.ts +0 -2
  330. package/dist/types/src/components/Lobby/index.d.ts.map +0 -1
  331. package/dist/types/src/components/Media/AudioStream.d.ts +0 -6
  332. package/dist/types/src/components/Media/AudioStream.d.ts.map +0 -1
  333. package/dist/types/src/components/Media/VideoObject.d.ts +0 -15
  334. package/dist/types/src/components/Media/VideoObject.d.ts.map +0 -1
  335. package/dist/types/src/components/Media/VideoObject.stories.d.ts +0 -22
  336. package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +0 -1
  337. package/dist/types/src/components/Media/index.d.ts +0 -3
  338. package/dist/types/src/components/Media/index.d.ts.map +0 -1
  339. package/dist/types/src/components/Participant/Participant.d.ts +0 -6
  340. package/dist/types/src/components/Participant/Participant.d.ts.map +0 -1
  341. package/dist/types/src/components/Participant/ParticipantGrid.d.ts +0 -11
  342. package/dist/types/src/components/Participant/ParticipantGrid.d.ts.map +0 -1
  343. package/dist/types/src/components/Participant/index.d.ts +0 -3
  344. package/dist/types/src/components/Participant/index.d.ts.map +0 -1
  345. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts +0 -32
  346. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts.map +0 -1
  347. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +0 -178
  348. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +0 -1
  349. package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts +0 -21
  350. package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts.map +0 -1
  351. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts +0 -12
  352. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +0 -1
  353. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +0 -164
  354. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +0 -1
  355. package/dist/types/src/components/ResponsiveGrid/index.d.ts +0 -4
  356. package/dist/types/src/components/ResponsiveGrid/index.d.ts.map +0 -1
  357. package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts +0 -15
  358. package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +0 -1
  359. package/dist/types/src/containers/CallDebugPanel/index.d.ts +0 -2
  360. package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts +0 -3
  361. package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts.map +0 -1
  362. package/dist/types/src/containers/CallSidebar/index.d.ts +0 -2
  363. package/dist/types/src/containers/CallSidebar/index.d.ts.map +0 -1
  364. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +0 -12
  365. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +0 -1
  366. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +0 -1
  367. package/dist/types/src/containers/ChannelContainer/index.d.ts +0 -2
  368. package/dist/types/src/containers/ChannelContainer/index.d.ts.map +0 -1
  369. package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts +0 -2
  370. package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts.map +0 -1
  371. package/dist/types/src/hooks/useDebugMode.d.ts +0 -2
  372. package/dist/types/src/hooks/useDebugMode.d.ts.map +0 -1
  373. package/dist/types/src/hooks/useInaudibleAudioStreamTrack.d.ts +0 -2
  374. package/dist/types/src/hooks/useInaudibleAudioStreamTrack.d.ts.map +0 -1
  375. package/dist/types/src/hooks/useVideoStreamTrack.d.ts +0 -3
  376. package/dist/types/src/hooks/useVideoStreamTrack.d.ts.map +0 -1
  377. package/dist/types/src/operations/definitions.d.ts.map +0 -1
  378. package/dist/types/src/types/capabilities.d.ts +0 -25
  379. package/dist/types/src/types/capabilities.d.ts.map +0 -1
  380. package/src/calls/call-manager.ts +0 -270
  381. package/src/calls/call-swarm-synchronizer.ts +0 -350
  382. package/src/calls/index.ts +0 -10
  383. package/src/calls/media-manager.ts +0 -378
  384. package/src/calls/speaking-monitor.ts +0 -85
  385. package/src/calls/types.ts +0 -74
  386. package/src/calls/util/audio.ts +0 -58
  387. package/src/calls/util/calls-service.ts +0 -582
  388. package/src/calls/util/history-cache.ts +0 -27
  389. package/src/calls/util/index.ts +0 -8
  390. package/src/calls/util/media.ts +0 -52
  391. package/src/calls/util/stub-media-streams.ts +0 -129
  392. package/src/calls/util/task-scheduling.ts +0 -92
  393. package/src/calls-service.stories.tsx +0 -230
  394. package/src/capabilities/call-manager.ts +0 -27
  395. package/src/capabilities/react-root.tsx +0 -20
  396. package/src/components/Call/Call.tsx +0 -93
  397. package/src/components/Call/Toolbar.tsx +0 -199
  398. package/src/components/Call/index.ts +0 -6
  399. package/src/components/Lobby/Lobby.tsx +0 -123
  400. package/src/components/Lobby/index.ts +0 -5
  401. package/src/components/Media/AudioStream.tsx +0 -67
  402. package/src/components/Media/VideoObject.stories.tsx +0 -59
  403. package/src/components/Media/VideoObject.tsx +0 -58
  404. package/src/components/Media/index.ts +0 -6
  405. package/src/components/Participant/Participant.tsx +0 -77
  406. package/src/components/Participant/ParticipantGrid.tsx +0 -88
  407. package/src/components/Participant/index.ts +0 -6
  408. package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +0 -158
  409. package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +0 -341
  410. package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +0 -134
  411. package/src/components/ResponsiveGrid/ResponsivePanel.stories.tsx +0 -54
  412. package/src/components/ResponsiveGrid/ResponsivePanel.tsx +0 -31
  413. package/src/components/ResponsiveGrid/index.ts +0 -7
  414. package/src/containers/CallDebugPanel/CallDebugPanel.tsx +0 -173
  415. package/src/containers/CallDebugPanel/index.ts +0 -5
  416. package/src/containers/CallSidebar/CallSidebar.tsx +0 -18
  417. package/src/containers/CallSidebar/index.ts +0 -5
  418. package/src/containers/ChannelContainer/ChannelContainer.tsx +0 -223
  419. package/src/containers/ChannelContainer/index.ts +0 -5
  420. package/src/hooks/useBlackCanvasStreamTrack.tsx +0 -27
  421. package/src/hooks/useDebugMode.ts +0 -25
  422. package/src/hooks/useInaudibleAudioStreamTrack.tsx +0 -27
  423. package/src/hooks/useVideoStreamTrack.tsx +0 -36
  424. package/src/types/capabilities.ts +0 -37
  425. package/src/typings/peermetrics-webrtc-stats.d.ts +0 -46
  426. package/src/typings.d.ts +0 -8
  427. /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ChannelChat-6YTD5HWL.mjs.map} +0 -0
  428. /package/dist/lib/{browser/types → neutral/blueprints}/index.mjs.map +0 -0
  429. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  430. /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
  431. /package/dist/lib/{node-esm/types → neutral/hooks}/index.mjs.map +0 -0
@@ -1,18 +1,16 @@
1
1
  import {
2
- ThreadCapabilities
3
- } from "./chunk-E4GG3NX2.mjs";
4
- import {
5
- Select
6
- } from "./chunk-TPNZ43NB.mjs";
2
+ ThreadCapabilities_exports,
3
+ ThreadOperation_exports
4
+ } from "./chunk-PE7IH7EL.mjs";
7
5
  import "./chunk-J5LGTIGS.mjs";
8
6
 
9
7
  // src/operations/select.ts
10
8
  import * as Effect from "effect/Effect";
11
9
  import { Capabilities, Capability } from "@dxos/app-framework";
12
10
  import { Operation } from "@dxos/compute";
13
- var handler = Select.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
11
+ var handler = ThreadOperation_exports.Select.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
14
12
  const registry = yield* Capability.get(Capabilities.AtomRegistry);
15
- const stateAtom = yield* Capability.get(ThreadCapabilities.State);
13
+ const stateAtom = yield* Capability.get(ThreadCapabilities_exports.State);
16
14
  const current = registry.get(stateAtom);
17
15
  registry.set(stateAtom, {
18
16
  ...current,
@@ -23,4 +21,4 @@ var select_default = handler;
23
21
  export {
24
22
  select_default as default
25
23
  };
26
- //# sourceMappingURL=select-AT4L7EBU.mjs.map
24
+ //# sourceMappingURL=select-LIVAMBCE.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/operations/select.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/compute';\n\nimport { ThreadCapabilities } from '../types';\nimport { ThreadOperation } from '../types';\n\nconst handler: Operation.WithHandler<typeof ThreadOperation.Select> = ThreadOperation.Select.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const stateAtom = yield* Capability.get(ThreadCapabilities.State);\n const current = registry.get(stateAtom);\n registry.set(stateAtom, { ...current, current: input.current });\n }),\n ),\n);\n\nexport default handler;\n"],
5
+ "mappings": ";;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiB;AAK1B,IAAMC,UAAgEC,wBAAgBC,OAAOC,KAC3FC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAMC,WAAW,OAAOC,WAAWC,IAAIC,aAAaC,YAAY;AAChE,QAAMC,YAAY,OAAOJ,WAAWC,IAAII,2BAAmBC,KAAK;AAChE,QAAMC,UAAUR,SAASE,IAAIG,SAAAA;AAC7BL,WAASS,IAAIJ,WAAW;IAAE,GAAGG;IAASA,SAAST,MAAMS;EAAQ,CAAA;AAC/D,CAAA,CAAA,CAAA;AAIJ,IAAA,iBAAehB;",
6
+ "names": ["Effect", "Capabilities", "Capability", "Operation", "handler", "ThreadOperation", "Select", "pipe", "Operation", "withHandler", "fnUntraced", "input", "registry", "Capability", "get", "Capabilities", "AtomRegistry", "stateAtom", "ThreadCapabilities", "State", "current", "set"]
7
+ }
@@ -0,0 +1,30 @@
1
+ import "./chunk-J5LGTIGS.mjs";
2
+
3
+ // src/capabilities/settings.ts
4
+ import * as Effect from "effect/Effect";
5
+ import { Capability } from "@dxos/app-framework";
6
+ import { AppCapabilities } from "@dxos/app-toolkit";
7
+ import { createKvsStore } from "@dxos/effect";
8
+ import { meta } from "#meta";
9
+ import { Settings, ThreadCapabilities } from "#types";
10
+ var settings_default = Capability.makeModule(() => Effect.sync(() => {
11
+ const settingsAtom = createKvsStore({
12
+ key: meta.id,
13
+ schema: Settings.Settings,
14
+ defaultValue: () => ({})
15
+ });
16
+ return [
17
+ // Expose atom directly for programmatic access.
18
+ Capability.contributes(ThreadCapabilities.Settings, settingsAtom),
19
+ // Contribute to common settings for UI discovery.
20
+ Capability.contributes(AppCapabilities.Settings, {
21
+ prefix: meta.id,
22
+ schema: Settings.Settings,
23
+ atom: settingsAtom
24
+ })
25
+ ];
26
+ }));
27
+ export {
28
+ settings_default as default
29
+ };
30
+ //# sourceMappingURL=settings-HK4EB6TF.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/settings.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { createKvsStore } from '@dxos/effect';\n\nimport { meta } from '#meta';\nimport { Settings, ThreadCapabilities } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.sync(() => {\n const settingsAtom = createKvsStore({\n key: meta.id,\n schema: Settings.Settings,\n defaultValue: () => ({}),\n });\n\n return [\n // Expose atom directly for programmatic access.\n Capability.contributes(ThreadCapabilities.Settings, settingsAtom),\n // Contribute to common settings for UI discovery.\n Capability.contributes(AppCapabilities.Settings, {\n prefix: meta.id,\n schema: Settings.Settings,\n atom: settingsAtom,\n }),\n ];\n }),\n);\n"],
5
+ "mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,sBAAsB;AAE/B,SAASC,YAAY;AACrB,SAASC,UAAUC,0BAA0B;AAE7C,IAAA,mBAAeL,WAAWM,WAAW,MAC5BC,YAAK,MAAA;AACV,QAAMC,eAAeN,eAAe;IAClCO,KAAKN,KAAKO;IACVC,QAAQP,SAASA;IACjBQ,cAAc,OAAO,CAAC;EACxB,CAAA;AAEA,SAAO;;IAELZ,WAAWa,YAAYR,mBAAmBD,UAAUI,YAAAA;;IAEpDR,WAAWa,YAAYZ,gBAAgBG,UAAU;MAC/CU,QAAQX,KAAKO;MACbC,QAAQP,SAASA;MACjBW,MAAMP;IACR,CAAA;;AAEJ,CAAA,CAAA;",
6
+ "names": ["Effect", "Capability", "AppCapabilities", "createKvsStore", "meta", "Settings", "ThreadCapabilities", "makeModule", "sync", "settingsAtom", "key", "id", "schema", "defaultValue", "contributes", "prefix", "atom"]
7
+ }
@@ -0,0 +1,22 @@
1
+ import "./chunk-J5LGTIGS.mjs";
2
+
3
+ // src/capabilities/state.ts
4
+ import { Atom } from "@effect-atom/atom-react";
5
+ import * as Effect from "effect/Effect";
6
+ import { Capability } from "@dxos/app-framework";
7
+ import { ThreadCapabilities } from "#types";
8
+ var state_default = Capability.makeModule(Effect.fnUntraced(function* () {
9
+ const stateAtom = Atom.make({
10
+ toolbar: {},
11
+ drafts: {}
12
+ }).pipe(Atom.keepAlive);
13
+ const viewStoreAtom = Atom.make({}).pipe(Atom.keepAlive);
14
+ return [
15
+ Capability.contributes(ThreadCapabilities.State, stateAtom),
16
+ Capability.contributes(ThreadCapabilities.ViewState, viewStoreAtom)
17
+ ];
18
+ }));
19
+ export {
20
+ state_default as default
21
+ };
22
+ //# sourceMappingURL=state-UU7VEAKV.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/state.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Atom } from '@effect-atom/atom-react';\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\n\nimport { ThreadCapabilities, type ThreadState, type ViewStore } from '#types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const stateAtom = Atom.make<ThreadState>({ toolbar: {}, drafts: {} }).pipe(Atom.keepAlive);\n const viewStoreAtom = Atom.make<ViewStore>({}).pipe(Atom.keepAlive);\n\n return [\n Capability.contributes(ThreadCapabilities.State, stateAtom),\n Capability.contributes(ThreadCapabilities.ViewState, viewStoreAtom),\n ];\n }),\n);\n"],
5
+ "mappings": ";;;AAIA,SAASA,YAAY;AACrB,YAAYC,YAAY;AAExB,SAASC,kBAAkB;AAE3B,SAASC,0BAA4D;AAErE,IAAA,gBAAeD,WAAWE,WACjBC,kBAAW,aAAA;AAChB,QAAMC,YAAYN,KAAKO,KAAkB;IAAEC,SAAS,CAAC;IAAGC,QAAQ,CAAC;EAAE,CAAA,EAAGC,KAAKV,KAAKW,SAAS;AACzF,QAAMC,gBAAgBZ,KAAKO,KAAgB,CAAC,CAAA,EAAGG,KAAKV,KAAKW,SAAS;AAElE,SAAO;IACLT,WAAWW,YAAYV,mBAAmBW,OAAOR,SAAAA;IACjDJ,WAAWW,YAAYV,mBAAmBY,WAAWH,aAAAA;;AAEzD,CAAA,CAAA;",
6
+ "names": ["Atom", "Effect", "Capability", "ThreadCapabilities", "makeModule", "fnUntraced", "stateAtom", "make", "toolbar", "drafts", "pipe", "keepAlive", "viewStoreAtom", "contributes", "State", "ViewState"]
7
+ }
@@ -0,0 +1,58 @@
1
+ import "../chunk-J5LGTIGS.mjs";
2
+
3
+ // src/testing/data.ts
4
+ import { Obj, Ref } from "@dxos/echo";
5
+ import { IdentityDid } from "@dxos/keys";
6
+ import { random } from "@dxos/random";
7
+ import { Message, Thread } from "@dxos/types";
8
+ var createCommentThread = (identity) => {
9
+ return Thread.make({
10
+ name: "Comment",
11
+ messages: random.helpers.multiple(() => Ref.make(Obj.make(Message.Message, {
12
+ created: (/* @__PURE__ */ new Date()).toISOString(),
13
+ sender: {
14
+ identityDid: random.datatype.boolean() ? identity.did : IdentityDid.random()
15
+ },
16
+ blocks: [
17
+ {
18
+ _tag: "text",
19
+ text: random.lorem.sentences(3)
20
+ }
21
+ ]
22
+ })), {
23
+ count: {
24
+ min: 2,
25
+ max: 3
26
+ }
27
+ }),
28
+ status: "active"
29
+ });
30
+ };
31
+ var createProposalThread = (identity) => {
32
+ return Thread.make({
33
+ name: "Proposal",
34
+ messages: random.helpers.multiple(() => Ref.make(Obj.make(Message.Message, {
35
+ created: (/* @__PURE__ */ new Date()).toISOString(),
36
+ sender: {
37
+ identityDid: random.datatype.boolean() ? identity.did : IdentityDid.random()
38
+ },
39
+ blocks: [
40
+ {
41
+ _tag: "proposal",
42
+ text: random.lorem.sentences(3)
43
+ }
44
+ ]
45
+ })), {
46
+ count: {
47
+ min: 1,
48
+ max: 1
49
+ }
50
+ }),
51
+ status: "active"
52
+ });
53
+ };
54
+ export {
55
+ createCommentThread,
56
+ createProposalThread
57
+ };
58
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/testing/data.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Obj, Ref } from '@dxos/echo';\nimport { IdentityDid } from '@dxos/keys';\nimport { random } from '@dxos/random';\nimport { type Identity } from '@dxos/react-client/halo';\nimport { Message, Thread } from '@dxos/types';\n\nexport const createCommentThread = (identity: Identity): Thread.Thread => {\n return Thread.make({\n name: 'Comment',\n messages: random.helpers.multiple(\n () =>\n Ref.make(\n Obj.make(Message.Message, {\n created: new Date().toISOString(),\n sender: {\n identityDid: random.datatype.boolean() ? identity.did : IdentityDid.random(),\n },\n blocks: [{ _tag: 'text', text: random.lorem.sentences(3) }],\n }),\n ),\n { count: { min: 2, max: 3 } },\n ),\n status: 'active',\n });\n};\n\nexport const createProposalThread = (identity: Identity): Thread.Thread => {\n return Thread.make({\n name: 'Proposal',\n messages: random.helpers.multiple(\n () =>\n Ref.make(\n Obj.make(Message.Message, {\n created: new Date().toISOString(),\n sender: {\n identityDid: random.datatype.boolean() ? identity.did : IdentityDid.random(),\n },\n blocks: [{ _tag: 'proposal', text: random.lorem.sentences(3) }],\n }),\n ),\n { count: { min: 1, max: 1 } },\n ),\n status: 'active',\n });\n};\n"],
5
+ "mappings": ";;;AAIA,SAASA,KAAKC,WAAW;AACzB,SAASC,mBAAmB;AAC5B,SAASC,cAAc;AAEvB,SAASC,SAASC,cAAc;AAEzB,IAAMC,sBAAsB,CAACC,aAAAA;AAClC,SAAOF,OAAOG,KAAK;IACjBC,MAAM;IACNC,UAAUP,OAAOQ,QAAQC,SACvB,MACEX,IAAIO,KACFR,IAAIQ,KAAKJ,QAAQA,SAAS;MACxBS,UAAS,oBAAIC,KAAAA,GAAOC,YAAW;MAC/BC,QAAQ;QACNC,aAAad,OAAOe,SAASC,QAAO,IAAKZ,SAASa,MAAMlB,YAAYC,OAAM;MAC5E;MACAkB,QAAQ;QAAC;UAAEC,MAAM;UAAQC,MAAMpB,OAAOqB,MAAMC,UAAU,CAAA;QAAG;;IAC3D,CAAA,CAAA,GAEJ;MAAEC,OAAO;QAAEC,KAAK;QAAGC,KAAK;MAAE;IAAE,CAAA;IAE9BC,QAAQ;EACV,CAAA;AACF;AAEO,IAAMC,uBAAuB,CAACvB,aAAAA;AACnC,SAAOF,OAAOG,KAAK;IACjBC,MAAM;IACNC,UAAUP,OAAOQ,QAAQC,SACvB,MACEX,IAAIO,KACFR,IAAIQ,KAAKJ,QAAQA,SAAS;MACxBS,UAAS,oBAAIC,KAAAA,GAAOC,YAAW;MAC/BC,QAAQ;QACNC,aAAad,OAAOe,SAASC,QAAO,IAAKZ,SAASa,MAAMlB,YAAYC,OAAM;MAC5E;MACAkB,QAAQ;QAAC;UAAEC,MAAM;UAAYC,MAAMpB,OAAOqB,MAAMC,UAAU,CAAA;QAAG;;IAC/D,CAAA,CAAA,GAEJ;MAAEC,OAAO;QAAEC,KAAK;QAAGC,KAAK;MAAE;IAAE,CAAA;IAE9BC,QAAQ;EACV,CAAA;AACF;",
6
+ "names": ["Obj", "Ref", "IdentityDid", "random", "Message", "Thread", "createCommentThread", "identity", "make", "name", "messages", "helpers", "multiple", "created", "Date", "toISOString", "sender", "identityDid", "datatype", "boolean", "did", "blocks", "_tag", "text", "lorem", "sentences", "count", "min", "max", "status", "createProposalThread"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
- ToggleResolved
3
- } from "./chunk-TPNZ43NB.mjs";
2
+ ThreadOperation_exports
3
+ } from "./chunk-PE7IH7EL.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/operations/toggle-resolved.ts
@@ -8,9 +8,9 @@ import * as Effect from "effect/Effect";
8
8
  import { Operation } from "@dxos/compute";
9
9
  import { Obj } from "@dxos/echo";
10
10
  import { invariant } from "@dxos/invariant";
11
- import { ObservabilityOperation } from "@dxos/plugin-observability/operations";
11
+ import { ObservabilityOperation } from "@dxos/plugin-observability";
12
12
  var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-thread/src/operations/toggle-resolved.ts";
13
- var handler = ToggleResolved.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
13
+ var handler = ThreadOperation_exports.ToggleResolved.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
14
14
  const thread = input.thread;
15
15
  Obj.update(thread, (thread2) => {
16
16
  if (thread2.status === "active" || thread2.status === void 0) {
@@ -33,4 +33,4 @@ var toggle_resolved_default = handler;
33
33
  export {
34
34
  toggle_resolved_default as default
35
35
  };
36
- //# sourceMappingURL=toggle-resolved-JD3D4WBZ.mjs.map
36
+ //# sourceMappingURL=toggle-resolved-RQBDQZSV.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/operations/toggle-resolved.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Operation } from '@dxos/compute';\nimport { Obj } from '@dxos/echo';\nimport { invariant } from '@dxos/invariant';\nimport { ObservabilityOperation } from '@dxos/plugin-observability';\n\nimport { ThreadOperation } from '../types';\n\nconst handler: Operation.WithHandler<typeof ThreadOperation.ToggleResolved> = ThreadOperation.ToggleResolved.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const thread = input.thread;\n\n Obj.update(thread, (thread) => {\n if (thread.status === 'active' || thread.status === undefined) {\n thread.status = 'resolved';\n } else if (thread.status === 'resolved') {\n thread.status = 'active';\n }\n });\n\n const db = Obj.getDatabase(thread);\n invariant(db, 'Database not found');\n\n yield* Operation.schedule(ObservabilityOperation.SendEvent, {\n name: 'threads.toggle-resolved',\n properties: {\n spaceId: db.spaceId,\n threadId: thread.id,\n },\n });\n }),\n ),\n);\n\nexport default handler;\n"],
5
+ "mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,iBAAiB;AAC1B,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B,SAASC,8BAA8B;AAIvC,IAAA,eAA8EC;IAKxEC,UAAWC,wBAASA,eAAAA,KAAAA,UAAAA,YAAAA,kBAAAA,WAAAA,OAAAA;QAClB,SAAWC,MAAM;aACfD,QAAOC,CAAAA,YAAS;AAClB,QAAAD,QAAWA,WAAOC,YAAWD,QAAY,WAAA,QAAA;AACvCA,MAAAA,QAAOC,SAAS;IAClB,WAAAD,QAAA,WAAA,YAAA;AACF,MAAAA,QAAA,SAAA;IAEA;EACAE,CAAAA;AAEA,QAAA,KAAOC,IAAAA,YAAmBC,MAAAA;YAClB,IAAA,sBAAA,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,IAAA,GAAA,MAAA,GAAA,CAAA,MAAA,sBAAA,EAAA,CAAA;SACNC,UAAY,SAAA,uBAAA,WAAA;UACVC;gBACAC;MACF,SAAA,GAAA;MACF,UAAA,OAAA;IACF;EAIJ,CAAA;;;",
6
+ "names": ["Effect", "Operation", "Obj", "invariant", "ObservabilityOperation", "ThreadOperation", "Obj", "thread", "status", "invariant", "Operation", "ObservabilityOperation", "properties", "spaceId", "threadId"]
7
+ }
@@ -1,13 +1,13 @@
1
1
  import "./chunk-J5LGTIGS.mjs";
2
2
 
3
3
  // src/translations.ts
4
- import { Type } from "@dxos/echo";
5
4
  import { Channel } from "@dxos/types";
6
5
  import { meta } from "#meta";
7
6
  var translations = [
8
7
  {
9
8
  "en-US": {
10
- [Type.getTypename(Channel.Channel)]: {
9
+ // TODO(burdon): Thread.
10
+ [Channel.Channel.typename]: {
11
11
  "typename.label": "Channel",
12
12
  "typename.label_zero": "Channels",
13
13
  "typename.label_one": "Channel",
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { Channel } from '@dxos/types';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n // TODO(burdon): Thread.\n [Channel.Channel.typename]: {\n 'typename.label': 'Channel',\n 'typename.label_zero': 'Channels',\n 'typename.label_one': 'Channel',\n 'typename.label_other': 'Channels',\n 'object-name.placeholder': 'New channel',\n 'add-object.label': 'Add channel',\n 'rename-object.label': 'Rename channel',\n 'delete-object.label': 'Delete channel',\n 'object-deleted.label': 'Channel deleted',\n },\n [meta.id]: {\n 'plugin.name': 'Chat',\n 'channel-title.label': 'Title',\n 'message.placeholder': 'Reply…',\n 'activity.message': 'Processing…',\n 'anonymous.label': 'Anonymous',\n 'delete-message-block.label': 'Delete message block',\n 'detached-thread.label': 'Referenced content was removed',\n 'delete-thread.label': 'Delete thread',\n 'resolve-thread.label': 'Resolve thread',\n 'thread-deleted.label': 'Thread deleted',\n 'message-deleted.label': 'Message deleted',\n 'comments.heading': 'Comments',\n 'chat.heading': 'Chat',\n 'draft.button': 'DRAFT',\n 'no-comments.title': 'Comments',\n 'no-comments.message':\n 'Click on the <commentIcon></commentIcon> button in the document toolbar to create a comment thread on the selected text.',\n 'toggle-show-resolved.label': 'Show resolved',\n 'unnamed-object-threads.label': 'Threads',\n 'mark-as-resolved.label': 'Mark as resolved',\n 'mark-as-unresolved.label': 'Mark as unresolved',\n 'save-message.label': 'Save',\n 'edit-message.label': 'Edit',\n 'delete-message.label': 'Delete message',\n 'accept-proposal.label': 'Accept proposal',\n 'open-comments-panel.label': 'Show Comments',\n 'comments.label': 'Comments',\n 'show-all.label': 'All comments',\n 'show-unresolved.label': 'Unresolved comments',\n 'add-comment.label': 'Add comment',\n\n 'channel-companion.label': 'Channel',\n 'call-panel.label': 'Active Call',\n\n 'display-name.label': 'Display name',\n 'display-name.description': 'Set your display name before joining a meeting.',\n 'display-name-input.placeholder': 'Enter your name',\n 'set-display-name.label': 'Continue',\n\n 'call-tab.label': 'Call',\n 'meeting-status.title': 'Calls',\n 'share-meeting-link.label': 'Share meeting',\n 'show-webrtc-stats.title': 'WebRTC Stats',\n 'show-calls-history.title': 'Service History',\n\n 'meeting-summary.label': 'Summary',\n 'summarize.label': 'Summarize',\n 'summarizing.label': 'Creating summary...',\n 'create-summary.message': 'A summary doesn’t exist for this meeting yet. Create one now?',\n\n 'icon-pin.label': 'Pin video',\n 'icon-unpin.label': 'Unpin video',\n 'icon-wave.label': 'Waving',\n 'icon-muted.label': 'Muted',\n 'join-call.button': 'Join',\n 'leave-call.button': 'Leave',\n 'mic-on.button': 'Unmute',\n 'mic-off.button': 'Mute',\n 'camera-on.button': 'Turn camera on',\n 'camera-off.button': 'Turn camera off',\n 'camera-off.label': 'Camera off',\n 'raise-hand.button': 'Raise hand',\n 'lower-hand.button': 'Lower hand',\n 'screenshare-on.button': 'Share screen',\n 'screenshare-off.button': 'Stop streaming',\n\n 'channel-toolbar.title': 'Channel actions',\n 'start-video-call.menu': 'Start video call',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;AAKA,SAASA,eAAe;AAExB,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;;MAEP,CAACF,QAAQA,QAAQG,QAAQ,GAAG;QAC1B,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACF,KAAKG,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;QACvB,uBAAuB;QACvB,oBAAoB;QACpB,mBAAmB;QACnB,8BAA8B;QAC9B,yBAAyB;QACzB,uBAAuB;QACvB,wBAAwB;QACxB,wBAAwB;QACxB,yBAAyB;QACzB,oBAAoB;QACpB,gBAAgB;QAChB,gBAAgB;QAChB,qBAAqB;QACrB,uBACE;QACF,8BAA8B;QAC9B,gCAAgC;QAChC,0BAA0B;QAC1B,4BAA4B;QAC5B,sBAAsB;QACtB,sBAAsB;QACtB,wBAAwB;QACxB,yBAAyB;QACzB,6BAA6B;QAC7B,kBAAkB;QAClB,kBAAkB;QAClB,yBAAyB;QACzB,qBAAqB;QAErB,2BAA2B;QAC3B,oBAAoB;QAEpB,sBAAsB;QACtB,4BAA4B;QAC5B,kCAAkC;QAClC,0BAA0B;QAE1B,kBAAkB;QAClB,wBAAwB;QACxB,4BAA4B;QAC5B,2BAA2B;QAC3B,4BAA4B;QAE5B,yBAAyB;QACzB,mBAAmB;QACnB,qBAAqB;QACrB,0BAA0B;QAE1B,kBAAkB;QAClB,oBAAoB;QACpB,mBAAmB;QACnB,oBAAoB;QACpB,oBAAoB;QACpB,qBAAqB;QACrB,iBAAiB;QACjB,kBAAkB;QAClB,oBAAoB;QACpB,qBAAqB;QACrB,oBAAoB;QACpB,qBAAqB;QACrB,qBAAqB;QACrB,yBAAyB;QACzB,0BAA0B;QAE1B,yBAAyB;QACzB,yBAAyB;MAC3B;IACF;EACF;;",
6
+ "names": ["Channel", "meta", "translations", "typename", "id"]
7
+ }
@@ -0,0 +1,12 @@
1
+ import {
2
+ Settings_exports,
3
+ ThreadCapabilities_exports,
4
+ ThreadOperation_exports
5
+ } from "../chunk-PE7IH7EL.mjs";
6
+ import "../chunk-J5LGTIGS.mjs";
7
+ export {
8
+ Settings_exports as Settings,
9
+ ThreadCapabilities_exports as ThreadCapabilities,
10
+ ThreadOperation_exports as ThreadOperation
11
+ };
12
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,54 @@
1
+ import "./chunk-J5LGTIGS.mjs";
2
+
3
+ // src/capabilities/undo-mappings.ts
4
+ import * as Effect from "effect/Effect";
5
+ import { Capabilities, Capability, UndoMapping } from "@dxos/app-framework";
6
+ import { meta } from "#meta";
7
+ import { ThreadOperation } from "#types";
8
+ var undo_mappings_default = Capability.makeModule(Effect.fnUntraced(function* () {
9
+ return Capability.contributes(Capabilities.UndoMapping, [
10
+ UndoMapping.make({
11
+ operation: ThreadOperation.Delete,
12
+ inverse: ThreadOperation.Restore,
13
+ deriveContext: (_input, output) => {
14
+ if (!output.thread || !output.anchor) {
15
+ return;
16
+ }
17
+ return {
18
+ thread: output.thread,
19
+ anchor: output.anchor
20
+ };
21
+ },
22
+ message: [
23
+ "thread-deleted.label",
24
+ {
25
+ ns: meta.id
26
+ }
27
+ ]
28
+ }),
29
+ UndoMapping.make({
30
+ operation: ThreadOperation.DeleteMessage,
31
+ inverse: ThreadOperation.RestoreMessage,
32
+ deriveContext: (input, output) => {
33
+ if (!output.message || output.messageIndex === void 0) {
34
+ return;
35
+ }
36
+ return {
37
+ anchor: input.anchor,
38
+ message: output.message,
39
+ messageIndex: output.messageIndex
40
+ };
41
+ },
42
+ message: [
43
+ "message-deleted.label",
44
+ {
45
+ ns: meta.id
46
+ }
47
+ ]
48
+ })
49
+ ]);
50
+ }));
51
+ export {
52
+ undo_mappings_default as default
53
+ };
54
+ //# sourceMappingURL=undo-mappings-HOKL2L3M.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/undo-mappings.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability, UndoMapping } from '@dxos/app-framework';\n\nimport { meta } from '#meta';\nimport { ThreadOperation } from '#types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.UndoMapping, [\n UndoMapping.make({\n operation: ThreadOperation.Delete,\n inverse: ThreadOperation.Restore,\n deriveContext: (_input, output) => {\n if (!output.thread || !output.anchor) {\n return;\n }\n return {\n thread: output.thread,\n anchor: output.anchor,\n };\n },\n message: ['thread-deleted.label', { ns: meta.id }],\n }),\n UndoMapping.make({\n operation: ThreadOperation.DeleteMessage,\n inverse: ThreadOperation.RestoreMessage,\n deriveContext: (input, output) => {\n if (!output.message || output.messageIndex === undefined) {\n return;\n }\n return {\n anchor: input.anchor,\n message: output.message,\n messageIndex: output.messageIndex,\n };\n },\n message: ['message-deleted.label', { ns: meta.id }],\n }),\n ]);\n }),\n);\n"],
5
+ "mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,YAAYC,mBAAmB;AAEtD,SAASC,YAAY;AACrB,SAASC,uBAAuB;AAEhC,IAAA,wBAAeH,WAAWI,WACjBC,kBAAW,aAAA;AAChB,SAAOL,WAAWM,YAAYP,aAAaE,aAAa;IACtDA,YAAYM,KAAK;MACfC,WAAWL,gBAAgBM;MAC3BC,SAASP,gBAAgBQ;MACzBC,eAAe,CAACC,QAAQC,WAAAA;AACtB,YAAI,CAACA,OAAOC,UAAU,CAACD,OAAOE,QAAQ;AACpC;QACF;AACA,eAAO;UACLD,QAAQD,OAAOC;UACfC,QAAQF,OAAOE;QACjB;MACF;MACAC,SAAS;QAAC;QAAwB;UAAEC,IAAIhB,KAAKiB;QAAG;;IAClD,CAAA;IACAlB,YAAYM,KAAK;MACfC,WAAWL,gBAAgBiB;MAC3BV,SAASP,gBAAgBkB;MACzBT,eAAe,CAACU,OAAOR,WAAAA;AACrB,YAAI,CAACA,OAAOG,WAAWH,OAAOS,iBAAiBC,QAAW;AACxD;QACF;AACA,eAAO;UACLR,QAAQM,MAAMN;UACdC,SAASH,OAAOG;UAChBM,cAAcT,OAAOS;QACvB;MACF;MACAN,SAAS;QAAC;QAAyB;UAAEC,IAAIhB,KAAKiB;QAAG;;IACnD,CAAA;GACD;AACH,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "UndoMapping", "meta", "ThreadOperation", "makeModule", "fnUntraced", "contributes", "make", "operation", "Delete", "inverse", "Restore", "deriveContext", "_input", "output", "thread", "anchor", "message", "ns", "id", "DeleteMessage", "RestoreMessage", "input", "messageIndex", "undefined"]
7
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadPlugin.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAc,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgCzD,eAAO,MAAM,YAAY,4BAyFxB,CAAC;eAEa,YAAY"}
1
+ {"version":3,"file":"ThreadPlugin.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA4BzD,eAAO,MAAM,YAAY,4BAyCxB,CAAC;eAEa,YAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadPlugin.node.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.node.ts"],"names":[],"mappings":"AAOA,OAAO,EAAc,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAYzD,eAAO,MAAM,YAAY,4BA8DxB,CAAC;eAEa,YAAY"}
1
+ {"version":3,"file":"ThreadPlugin.node.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.node.ts"],"names":[],"mappings":"AAMA,OAAO,EAAc,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAUzD,eAAO,MAAM,YAAY,4BAoBxB,CAAC;eAEa,YAAY"}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const ThreadPlugin: Plugin.PluginFactory<void>;
3
+ export default ThreadPlugin;
4
+ //# sourceMappingURL=ThreadPlugin.workerd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThreadPlugin.workerd.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.workerd.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,eAAO,MAAM,YAAY,4BAMxB,CAAC;eAEa,YAAY"}
@@ -0,0 +1,11 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { SpaceCapabilities } from '@dxos/plugin-space';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
5
+ id: string;
6
+ createObject: import("@dxos/plugin-space").CreateObject;
7
+ inputSchema?: import("effect/Schema").Schema.AnyNoContext;
8
+ customPanel?: import("react").ComponentType<SpaceCapabilities.CreateObjectCustomPanelProps>;
9
+ }>>>, never, never>;
10
+ export default _default;
11
+ //# sourceMappingURL=create-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-object.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/create-object.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -2,15 +2,16 @@ import { Capability } from '@dxos/app-framework';
2
2
  import type { Blueprint, OperationHandlerSet } from '@dxos/compute';
3
3
  export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
4
4
  export declare const BlueprintDefinition: Capability.LazyCapability<[], Capability.Capability<Capability.InterfaceDef<Blueprint.Definition>>[], Error>;
5
- export declare const CallManager: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("..").CallManager>>, Error>;
6
- export declare const Markdown: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown/types").MarkdownExtensionProvider[]>>, Error>;
7
- export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
8
- export declare const ReactRoot: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
5
+ export declare const CreateObject: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
9
6
  id: string;
10
- root: import("react").FC<import("react").PropsWithChildren>;
7
+ createObject: import("@dxos/plugin-space").CreateObject;
8
+ inputSchema?: import("effect/Schema").Schema.AnyNoContext;
9
+ customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
11
10
  }>>>, Error>;
11
+ export declare const Markdown: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>>, Error>;
12
+ export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
12
13
  export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
13
14
  export declare const ThreadSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types/Settings").Settings, import("../types/Settings").Settings>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
14
- export declare const ThreadState: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types").ThreadState, import("../types").ThreadState>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types").ViewStore, import("../types").ViewStore>>>], Error>;
15
+ export declare const ThreadState: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("..").ThreadState, import("..").ThreadState>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("..").ViewStore, import("..").ViewStore>>>], Error>;
15
16
  export declare const UndoMappings: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").UndoMapping[]>>, Error>;
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,mBAAmB,8GAAiF,CAAC;AAClH,eAAO,MAAM,WAAW,kHAAiE,CAAC;AAC1F,eAAO,MAAM,QAAQ,2JAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,SAAS;;;YAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,cAAc,uTAAgE,CAAC;AAC5F,eAAO,MAAM,WAAW,4VAA0D,CAAC;AACnF,eAAO,MAAM,YAAY,kJAAmE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,mBAAmB,8GAAiF,CAAC;AAClH,eAAO,MAAM,YAAY;;;;;YAAmE,CAAC;AAC7F,eAAO,MAAM,QAAQ,qJAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,cAAc,uTAAgE,CAAC;AAC5F,eAAO,MAAM,WAAW,oUAA0D,CAAC;AACnF,eAAO,MAAM,YAAY,kJAAmE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown/types").MarkdownExtensionProvider[]>>, never, Capability.Service>;
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>>, never, Capability.Service>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=markdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,OAAO,EAAE,QAAQ,EAAsB,MAAM,QAAQ,CAAC"}
@@ -29,6 +29,13 @@ export type ChatProps = ThemedClassName<{
29
29
  * scrolling above it. Suitable for full-panel multi-party chat.
30
30
  */
31
31
  orientation?: ChatOrientation;
32
+ /**
33
+ * When true, hide the composer textbox and activity indicator. Used for
34
+ * channels whose source-of-truth lives elsewhere (e.g. externally-synced
35
+ * Slack/Discord channels keyed by a foreign id) — sending isn't meaningful
36
+ * because there is no local-write path back to the source.
37
+ */
38
+ readOnly?: boolean;
32
39
  } & Pick<ThreadRootProps, 'current'>>;
33
40
  export type ChatOrientation = 'top' | 'bottom';
34
41
  /**
@@ -36,7 +43,7 @@ export type ChatOrientation = 'top' | 'bottom';
36
43
  * Owns its own UI state (textbox content, scroll position, editor extensions) but
37
44
  * does not load data or invoke operations — the caller passes messages and an
38
45
  * `onSend` callback. Used by both `ThreadContainer` (AutoMerge `Thread`) and
39
- * `ChannelContainer`'s feed-backed channel chat.
46
+ * `ChannelArticle`'s feed-backed channel chat.
40
47
  */
41
48
  export declare const Chat: React.ForwardRefExoticComponent<Omit<ChatProps, "className"> & {
42
49
  classNames?: import("@dxos/ui-types").ClassNameValue;
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAC;AAE1F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAc,KAAK,eAAe,EAAmC,MAAM,gBAAgB,CAAC;AACnG,OAAO,EAIL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAW3C,MAAM,MAAM,SAAS,GAAG,eAAe,CACrC;IACE,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAC;IACX,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,6EAA6E;IAC7E,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,mCAAmC;IACnC,QAAQ,EAAE,SAAS,OAAO,CAAC,OAAO,EAAE,CAAC;IACrC,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;;2HAqFhB,CAAC"}
1
+ {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAC;AAE1F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAc,KAAK,eAAe,EAAmC,MAAM,gBAAgB,CAAC;AACnG,OAAO,EAIL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAW3C,MAAM,MAAM,SAAS,GAAG,eAAe,CACrC;IACE,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAC;IACX,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,6EAA6E;IAC7E,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,mCAAmC;IACnC,QAAQ,EAAE,SAAS,OAAO,CAAC,OAAO,EAAE,CAAC;IACrC,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;;2HAkGhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommentsThread.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommentsPanel/CommentsThread.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAOtE,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,aAAa,CAAC;AAW3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,KAAK,IAAI,CAAC;IACnD,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,KAAK,IAAI,CAAC;IACpD,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,KAAK,IAAI,CAAC;IACzD,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/E,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;AAErC,eAAO,MAAM,cAAc,4GASxB,mBAAmB,sBA4HrB,CAAC"}
1
+ {"version":3,"file":"CommentsThread.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommentsPanel/CommentsThread.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAOtE,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,aAAa,CAAC;AAW3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,KAAK,IAAI,CAAC;IACnD,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,KAAK,IAAI,CAAC;IACpD,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,KAAK,IAAI,CAAC;IACzD,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/E,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;AAErC,eAAO,MAAM,cAAc,4GASxB,mBAAmB,sBA2HrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessagePanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessagePanel/MessagePanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAIpF,OAAO,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAM3D,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAU9D,eAAO,MAAM,qBAAqB,4CAA4C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9E,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,YAAY,8EAMtB,iBAAiB,6BA6FnB,CAAC"}
1
+ {"version":3,"file":"MessagePanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessagePanel/MessagePanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAIpF,OAAO,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAM3D,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAU9D,eAAO,MAAM,qBAAqB,4CAA4C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9E,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,YAAY,8EAMtB,iBAAiB,6BAgGnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/ThreadSettings/ThreadSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAGrF,eAAO,MAAM,cAAc,4BAA6B,mBAAmB,sBAG1E,CAAC"}
1
+ {"version":3,"file":"ThreadSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/ThreadSettings/ThreadSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAErF,eAAO,MAAM,cAAc,4BAA6B,mBAAmB,sBAG1E,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { type ComponentType } from 'react';
2
- export * from './Call';
3
2
  export * from './Chat';
4
3
  export * from './CommentsPanel';
5
4
  export * from './MessagePanel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAE/B,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAE/B,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { type AppSurface } from '@dxos/app-toolkit/ui';
3
+ import { type Channel } from '@dxos/types';
4
+ export type ChannelArticleProps = AppSurface.ObjectArticleProps<Channel.Channel | undefined, {
5
+ roomId?: string;
6
+ fullscreen?: boolean;
7
+ }>;
8
+ /**
9
+ * Renders the channel chat. The "Start video call" action and the in-call surface
10
+ * are contributed by plugin-calls — this container is call-agnostic.
11
+ */
12
+ export declare const ChannelArticle: ({ subject: channel }: ChannelArticleProps) => React.JSX.Element | null;
13
+ //# sourceMappingURL=ChannelArticle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ChannelArticle/ChannelArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAI3C,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAC7D,OAAO,CAAC,OAAO,GAAG,SAAS,EAC3B;IACE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CACF,CAAC;AAEF;;;GAGG;AAGH,eAAO,MAAM,cAAc,yBAA0B,mBAAmB,6BAcvE,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { type StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
- import { type ChannelContainerProps } from './ChannelContainer';
3
+ import { type ChannelArticleProps } from './ChannelArticle';
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ role, subject: channel, attendableId, roomId: roomIdProp, fullscreen, }: ChannelContainerProps) => React.JSX.Element | null;
7
- render: ({ roomId }: ChannelContainerProps) => React.JSX.Element;
6
+ component: ({ subject: channel }: ChannelArticleProps) => React.JSX.Element | null;
7
+ render: ({ roomId }: ChannelArticleProps) => React.JSX.Element;
8
8
  decorators: import("@storybook/react").Decorator[];
9
9
  parameters: {
10
10
  translations: [{
@@ -159,4 +159,4 @@ declare const meta: {
159
159
  export default meta;
160
160
  type Story = StoryObj<typeof meta>;
161
161
  export declare const Default: Story;
162
- //# sourceMappingURL=ChannelContainer.stories.d.ts.map
162
+ //# sourceMappingURL=ChannelArticle.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ChannelArticle/ChannelArticle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAa5E,QAAA,MAAM,IAAI;;;yBAVwB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8Dd,CAAC;eAEzB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ChannelArticle as default } from './ChannelArticle';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CallDebugPanel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ChannelArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -9,6 +9,10 @@ export type ChannelChatProps = {
9
9
  * Channel chat: composer pinned to the bottom of the panel, messages scrolling
10
10
  * above it (newest at the bottom). Threading via `Message.threadId` is
11
11
  * intentionally not reconstructed in this round.
12
+ *
13
+ * Externally-synced channels (any Channel carrying foreign-key `Obj.Meta`,
14
+ * e.g. Slack/Discord-sourced rooms) render read-only — the composer is
15
+ * suppressed because there's no local-write path back to the source.
12
16
  */
13
17
  export declare const ChannelChat: React.ForwardRefExoticComponent<Omit<ChannelChatProps, "className"> & {
14
18
  classNames?: import("@dxos/ui-types").ClassNameValue;
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelChat.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ChannelChat/ChannelChat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,KAAK,EAAwB,MAAM,yBAAyB,CAAC;AAE3E,OAAO,EAAE,KAAK,OAAO,EAAW,MAAM,aAAa,CAAC;AAOpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW;;2HAqCvB,CAAC"}
1
+ {"version":3,"file":"ChannelChat.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ChannelChat/ChannelChat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,KAAK,EAAwB,MAAM,yBAAyB,CAAC;AAE3E,OAAO,EAAE,KAAK,OAAO,EAAW,MAAM,aAAa,CAAC;AAOpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;CAC1B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;2HA2CvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadCompanion.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ThreadCompanion/ThreadCompanion.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOvD,OAAO,EAAc,MAAM,EAAE,MAAM,aAAa,CAAC;AASjD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,kBAAkB,CAC9D,MAAM,CAAC,MAAM,EACb;IACE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CACF,CAAC;AAEF,eAAO,MAAM,eAAe,8BAA+B,oBAAoB,sBAuL9E,CAAC"}
1
+ {"version":3,"file":"ThreadCompanion.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ThreadCompanion/ThreadCompanion.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOvD,OAAO,EAAc,MAAM,EAAE,MAAM,aAAa,CAAC;AASjD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,kBAAkB,CAC9D,MAAM,CAAC,MAAM,EACb;IACE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CACF,CAAC;AAEF,eAAO,MAAM,eAAe,8BAA+B,oBAAoB,sBAqL9E,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { type ComponentType } from 'react';
2
- export declare const CallDebugPanel: ComponentType<any>;
3
- export declare const CallSidebar: ComponentType<any>;
4
2
  export declare const ChannelChat: ComponentType<any>;
5
- export declare const ChannelContainer: ComponentType<any>;
3
+ export declare const ChannelArticle: ComponentType<any>;
6
4
  export declare const ThreadContainer: ComponentType<any>;
7
5
  export declare const ThreadCompanion: ComponentType<any>;
8
6
  //# sourceMappingURL=index.d.ts.map