@dxos/plugin-thread 0.8.4-main.f5c0578 → 0.8.4-main.fcc0d83b33

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 (488) hide show
  1. package/dist/lib/browser/add-message-OC4QB4I2.mjs +89 -0
  2. package/dist/lib/browser/add-message-OC4QB4I2.mjs.map +7 -0
  3. package/dist/lib/browser/blueprints/index.mjs +37 -0
  4. package/dist/lib/browser/blueprints/index.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  6. package/dist/lib/browser/chunk-J67QAUIW.mjs +61 -0
  7. package/dist/lib/browser/chunk-J67QAUIW.mjs.map +7 -0
  8. package/dist/lib/browser/chunk-KCMJ7H7F.mjs +259 -0
  9. package/dist/lib/browser/chunk-KCMJ7H7F.mjs.map +7 -0
  10. package/dist/lib/browser/create-IUWQEW74.mjs +55 -0
  11. package/dist/lib/browser/create-IUWQEW74.mjs.map +7 -0
  12. package/dist/lib/browser/create-channel-CBC5WEFG.mjs +21 -0
  13. package/dist/lib/browser/create-channel-CBC5WEFG.mjs.map +7 -0
  14. package/dist/lib/browser/create-channel-thread-JJ5LQ3OZ.mjs +28 -0
  15. package/dist/lib/browser/create-channel-thread-JJ5LQ3OZ.mjs.map +7 -0
  16. package/dist/lib/browser/create-proposals-RHLVRJZ4.mjs +57 -0
  17. package/dist/lib/browser/create-proposals-RHLVRJZ4.mjs.map +7 -0
  18. package/dist/lib/browser/delete-PVIEGTTY.mjs +59 -0
  19. package/dist/lib/browser/delete-PVIEGTTY.mjs.map +7 -0
  20. package/dist/lib/browser/delete-message-TLVRPLJF.mjs +56 -0
  21. package/dist/lib/browser/delete-message-TLVRPLJF.mjs.map +7 -0
  22. package/dist/lib/browser/index.mjs +1875 -229
  23. package/dist/lib/browser/index.mjs.map +4 -4
  24. package/dist/lib/browser/meta.json +1 -1
  25. package/dist/lib/browser/on-create-space-KRTKYRFU.mjs +25 -0
  26. package/dist/lib/browser/on-create-space-KRTKYRFU.mjs.map +7 -0
  27. package/dist/lib/browser/operations/index.mjs +14 -0
  28. package/dist/lib/browser/operations/index.mjs.map +7 -0
  29. package/dist/lib/browser/restore-AVE55SJF.mjs +33 -0
  30. package/dist/lib/browser/restore-AVE55SJF.mjs.map +7 -0
  31. package/dist/lib/browser/restore-message-F57RMGDJ.mjs +34 -0
  32. package/dist/lib/browser/restore-message-F57RMGDJ.mjs.map +7 -0
  33. package/dist/lib/browser/select-BJDZJI64.mjs +26 -0
  34. package/dist/lib/browser/select-BJDZJI64.mjs.map +7 -0
  35. package/dist/lib/browser/toggle-resolved-HQE5P7BV.mjs +37 -0
  36. package/dist/lib/browser/toggle-resolved-HQE5P7BV.mjs.map +7 -0
  37. package/dist/lib/browser/translations.mjs +90 -0
  38. package/dist/lib/browser/translations.mjs.map +7 -0
  39. package/dist/lib/browser/types/index.mjs +8 -12
  40. package/dist/lib/node-esm/add-message-HJXNAILW.mjs +90 -0
  41. package/dist/lib/node-esm/add-message-HJXNAILW.mjs.map +7 -0
  42. package/dist/lib/node-esm/blueprints/index.mjs +38 -0
  43. package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
  44. package/dist/lib/node-esm/chunk-2Q6V7NGK.mjs +62 -0
  45. package/dist/lib/node-esm/chunk-2Q6V7NGK.mjs.map +7 -0
  46. package/dist/lib/node-esm/chunk-4KRVIOPC.mjs +260 -0
  47. package/dist/lib/node-esm/chunk-4KRVIOPC.mjs.map +7 -0
  48. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  49. package/dist/lib/node-esm/create-NALJT67D.mjs +56 -0
  50. package/dist/lib/node-esm/create-NALJT67D.mjs.map +7 -0
  51. package/dist/lib/node-esm/create-channel-CS2EAYJF.mjs +22 -0
  52. package/dist/lib/node-esm/create-channel-CS2EAYJF.mjs.map +7 -0
  53. package/dist/lib/node-esm/create-channel-thread-KZZFZDTU.mjs +29 -0
  54. package/dist/lib/node-esm/create-channel-thread-KZZFZDTU.mjs.map +7 -0
  55. package/dist/lib/node-esm/create-proposals-AFAYZQBI.mjs +58 -0
  56. package/dist/lib/node-esm/create-proposals-AFAYZQBI.mjs.map +7 -0
  57. package/dist/lib/node-esm/delete-HQJVZY7Q.mjs +60 -0
  58. package/dist/lib/node-esm/delete-HQJVZY7Q.mjs.map +7 -0
  59. package/dist/lib/node-esm/delete-message-VVPEYLV4.mjs +57 -0
  60. package/dist/lib/node-esm/delete-message-VVPEYLV4.mjs.map +7 -0
  61. package/dist/lib/node-esm/index.mjs +1875 -229
  62. package/dist/lib/node-esm/index.mjs.map +4 -4
  63. package/dist/lib/node-esm/meta.json +1 -1
  64. package/dist/lib/node-esm/on-create-space-2UX7Z5EQ.mjs +26 -0
  65. package/dist/lib/node-esm/on-create-space-2UX7Z5EQ.mjs.map +7 -0
  66. package/dist/lib/node-esm/operations/index.mjs +15 -0
  67. package/dist/lib/node-esm/operations/index.mjs.map +7 -0
  68. package/dist/lib/node-esm/restore-FMIWJR5T.mjs +34 -0
  69. package/dist/lib/node-esm/restore-FMIWJR5T.mjs.map +7 -0
  70. package/dist/lib/node-esm/restore-message-3L7AMQMG.mjs +35 -0
  71. package/dist/lib/node-esm/restore-message-3L7AMQMG.mjs.map +7 -0
  72. package/dist/lib/node-esm/select-VCAFISBK.mjs +27 -0
  73. package/dist/lib/node-esm/select-VCAFISBK.mjs.map +7 -0
  74. package/dist/lib/node-esm/toggle-resolved-JDZZ257P.mjs +38 -0
  75. package/dist/lib/node-esm/toggle-resolved-JDZZ257P.mjs.map +7 -0
  76. package/dist/lib/node-esm/translations.mjs +91 -0
  77. package/dist/lib/node-esm/translations.mjs.map +7 -0
  78. package/dist/lib/node-esm/types/index.mjs +8 -12
  79. package/dist/types/src/ThreadPlugin.d.ts +2 -1
  80. package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
  81. package/dist/types/src/blueprints/index.d.ts +2 -0
  82. package/dist/types/src/blueprints/index.d.ts.map +1 -0
  83. package/dist/types/src/blueprints/thread-blueprint.d.ts +4 -0
  84. package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -0
  85. package/dist/types/src/calls/call-manager.d.ts +40 -30
  86. package/dist/types/src/calls/call-manager.d.ts.map +1 -1
  87. package/dist/types/src/calls/call-swarm-synchronizer.d.ts +2 -2
  88. package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +1 -1
  89. package/dist/types/src/calls/media-manager.d.ts +2 -2
  90. package/dist/types/src/calls/media-manager.d.ts.map +1 -1
  91. package/dist/types/src/calls/speaking-monitor.d.ts +0 -3
  92. package/dist/types/src/calls/speaking-monitor.d.ts.map +1 -1
  93. package/dist/types/src/calls/types.d.ts.map +1 -1
  94. package/dist/types/src/calls/util/audio.d.ts.map +1 -1
  95. package/dist/types/src/calls/util/calls-service.d.ts +6 -4
  96. package/dist/types/src/calls/util/calls-service.d.ts.map +1 -1
  97. package/dist/types/src/calls/util/history-cache.d.ts.map +1 -1
  98. package/dist/types/src/calls/util/media.d.ts.map +1 -1
  99. package/dist/types/src/calls/util/stub-media-streams.d.ts.map +1 -1
  100. package/dist/types/src/calls/util/task-scheduling.d.ts +2 -2
  101. package/dist/types/src/calls/util/task-scheduling.d.ts.map +1 -1
  102. package/dist/types/src/calls-service.stories.d.ts +10 -9
  103. package/dist/types/src/calls-service.stories.d.ts.map +1 -1
  104. package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
  105. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  106. package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
  107. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
  108. package/dist/types/src/capabilities/call-manager.d.ts +3 -2
  109. package/dist/types/src/capabilities/call-manager.d.ts.map +1 -1
  110. package/dist/types/src/capabilities/index.d.ts +13 -13
  111. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  112. package/dist/types/src/capabilities/markdown.d.ts +3 -2
  113. package/dist/types/src/capabilities/markdown.d.ts.map +1 -1
  114. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  115. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  116. package/dist/types/src/capabilities/react-root.d.ts +4 -2
  117. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  118. package/dist/types/src/capabilities/react-surface.d.ts +3 -2
  119. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  120. package/dist/types/src/capabilities/settings.d.ts +5 -2
  121. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  122. package/dist/types/src/capabilities/state.d.ts +5 -5
  123. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  124. package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
  125. package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
  126. package/dist/types/src/components/Call/Call.d.ts +32 -4
  127. package/dist/types/src/components/Call/Call.d.ts.map +1 -1
  128. package/dist/types/src/components/Call/Toolbar.d.ts +6 -6
  129. package/dist/types/src/components/Call/Toolbar.d.ts.map +1 -1
  130. package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts +13 -0
  131. package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts.map +1 -0
  132. package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts +160 -0
  133. package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -0
  134. package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts +14 -0
  135. package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -0
  136. package/dist/types/src/components/CommentsPanel/index.d.ts +3 -0
  137. package/dist/types/src/components/CommentsPanel/index.d.ts.map +1 -0
  138. package/dist/types/src/components/Lobby/Lobby.d.ts +24 -3
  139. package/dist/types/src/components/Lobby/Lobby.d.ts.map +1 -1
  140. package/dist/types/src/components/Media/VideoObject.d.ts +3 -3
  141. package/dist/types/src/components/Media/VideoObject.d.ts.map +1 -1
  142. package/dist/types/src/components/Media/VideoObject.stories.d.ts +18 -4
  143. package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +1 -1
  144. package/dist/types/src/components/MessagePanel/MessagePanel.d.ts +15 -0
  145. package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -0
  146. package/dist/types/src/components/MessagePanel/index.d.ts +2 -0
  147. package/dist/types/src/components/MessagePanel/index.d.ts.map +1 -0
  148. package/dist/types/src/components/Participant/Participant.d.ts.map +1 -1
  149. package/dist/types/src/components/Participant/ParticipantGrid.d.ts.map +1 -1
  150. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts.map +1 -1
  151. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +160 -5
  152. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +1 -1
  153. package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts.map +1 -1
  154. package/dist/types/src/components/ResponsiveGrid/{ResponsiveContainer.d.ts → ResponsivePanel.d.ts} +4 -4
  155. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +1 -0
  156. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +164 -0
  157. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +1 -0
  158. package/dist/types/src/components/ResponsiveGrid/index.d.ts +1 -1
  159. package/dist/types/src/components/ResponsiveGrid/index.d.ts.map +1 -1
  160. package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts +6 -0
  161. package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -0
  162. package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts +161 -0
  163. package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts.map +1 -0
  164. package/dist/types/src/components/ThreadSettings/index.d.ts +2 -0
  165. package/dist/types/src/components/ThreadSettings/index.d.ts.map +1 -0
  166. package/dist/types/src/components/index.d.ts +4 -9
  167. package/dist/types/src/components/index.d.ts.map +1 -1
  168. package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts +15 -0
  169. package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +1 -0
  170. package/dist/types/src/containers/CallDebugPanel/index.d.ts +2 -0
  171. package/dist/types/src/containers/CallDebugPanel/index.d.ts.map +1 -0
  172. package/dist/types/src/{components → containers/CallSidebar}/CallSidebar.d.ts +0 -1
  173. package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts.map +1 -0
  174. package/dist/types/src/containers/CallSidebar/index.d.ts +2 -0
  175. package/dist/types/src/containers/CallSidebar/index.d.ts.map +1 -0
  176. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +12 -0
  177. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +1 -0
  178. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts +162 -0
  179. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +1 -0
  180. package/dist/types/src/containers/ChannelContainer/index.d.ts +2 -0
  181. package/dist/types/src/containers/ChannelContainer/index.d.ts.map +1 -0
  182. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts +16 -0
  183. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +1 -0
  184. package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts +162 -0
  185. package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts.map +1 -0
  186. package/dist/types/src/containers/ChatContainer/index.d.ts +4 -0
  187. package/dist/types/src/containers/ChatContainer/index.d.ts.map +1 -0
  188. package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts +8 -0
  189. package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -0
  190. package/dist/types/src/containers/ThreadCompanion/index.d.ts +2 -0
  191. package/dist/types/src/containers/ThreadCompanion/index.d.ts.map +1 -0
  192. package/dist/types/src/containers/index.d.ts +7 -0
  193. package/dist/types/src/containers/index.d.ts.map +1 -0
  194. package/dist/types/src/{components/command-extension.d.ts → extensions/command.d.ts} +1 -1
  195. package/dist/types/src/extensions/command.d.ts.map +1 -0
  196. package/dist/types/src/extensions/index.d.ts +1 -0
  197. package/dist/types/src/extensions/index.d.ts.map +1 -1
  198. package/dist/types/src/extensions/threads.d.ts +8 -3
  199. package/dist/types/src/extensions/threads.d.ts.map +1 -1
  200. package/dist/types/src/hooks/analytics.d.ts +2 -3
  201. package/dist/types/src/hooks/analytics.d.ts.map +1 -1
  202. package/dist/types/src/hooks/index.d.ts +2 -1
  203. package/dist/types/src/hooks/index.d.ts.map +1 -1
  204. package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts +2 -0
  205. package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts.map +1 -0
  206. package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
  207. package/dist/types/src/hooks/useVideoStreamTrack.d.ts +1 -1
  208. package/dist/types/src/hooks/useVideoStreamTrack.d.ts.map +1 -1
  209. package/dist/types/src/index.d.ts +1 -1
  210. package/dist/types/src/index.d.ts.map +1 -1
  211. package/dist/types/src/meta.d.ts +3 -4
  212. package/dist/types/src/meta.d.ts.map +1 -1
  213. package/dist/types/src/operations/add-message.d.ts +5 -0
  214. package/dist/types/src/operations/add-message.d.ts.map +1 -0
  215. package/dist/types/src/operations/create-channel-thread.d.ts +5 -0
  216. package/dist/types/src/operations/create-channel-thread.d.ts.map +1 -0
  217. package/dist/types/src/operations/create-channel.d.ts +5 -0
  218. package/dist/types/src/operations/create-channel.d.ts.map +1 -0
  219. package/dist/types/src/operations/create-proposals.d.ts +5 -0
  220. package/dist/types/src/operations/create-proposals.d.ts.map +1 -0
  221. package/dist/types/src/operations/create.d.ts +5 -0
  222. package/dist/types/src/operations/create.d.ts.map +1 -0
  223. package/dist/types/src/operations/definitions.d.ts +2804 -0
  224. package/dist/types/src/operations/definitions.d.ts.map +1 -0
  225. package/dist/types/src/operations/delete-message.d.ts +5 -0
  226. package/dist/types/src/operations/delete-message.d.ts.map +1 -0
  227. package/dist/types/src/operations/delete.d.ts +5 -0
  228. package/dist/types/src/operations/delete.d.ts.map +1 -0
  229. package/dist/types/src/operations/index.d.ts +4 -0
  230. package/dist/types/src/operations/index.d.ts.map +1 -0
  231. package/dist/types/src/operations/on-create-space.d.ts +5 -0
  232. package/dist/types/src/operations/on-create-space.d.ts.map +1 -0
  233. package/dist/types/src/operations/restore-message.d.ts +5 -0
  234. package/dist/types/src/operations/restore-message.d.ts.map +1 -0
  235. package/dist/types/src/operations/restore.d.ts +5 -0
  236. package/dist/types/src/operations/restore.d.ts.map +1 -0
  237. package/dist/types/src/operations/select.d.ts +5 -0
  238. package/dist/types/src/operations/select.d.ts.map +1 -0
  239. package/dist/types/src/operations/toggle-resolved.d.ts +5 -0
  240. package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -0
  241. package/dist/types/src/testing/data.d.ts +5 -0
  242. package/dist/types/src/testing/data.d.ts.map +1 -0
  243. package/dist/types/src/testing/index.d.ts +1 -1
  244. package/dist/types/src/testing/index.d.ts.map +1 -1
  245. package/dist/types/src/translations.d.ts +142 -72
  246. package/dist/types/src/translations.d.ts.map +1 -1
  247. package/dist/types/src/types/Channel.d.ts +715 -0
  248. package/dist/types/src/types/Channel.d.ts.map +1 -0
  249. package/dist/types/src/types/Settings.d.ts +5 -0
  250. package/dist/types/src/types/Settings.d.ts.map +1 -0
  251. package/dist/types/src/types/capabilities.d.ts +24 -0
  252. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  253. package/dist/types/src/types/index.d.ts +2 -1
  254. package/dist/types/src/types/index.d.ts.map +1 -1
  255. package/dist/types/src/types/types.d.ts +4 -374
  256. package/dist/types/src/types/types.d.ts.map +1 -1
  257. package/dist/types/src/util.d.ts +2 -2
  258. package/dist/types/src/util.d.ts.map +1 -1
  259. package/dist/types/tsconfig.tsbuildinfo +1 -1
  260. package/package.json +111 -74
  261. package/src/ThreadPlugin.tsx +110 -135
  262. package/src/blueprints/index.ts +5 -0
  263. package/src/blueprints/thread-blueprint.ts +36 -0
  264. package/src/calls/call-manager.ts +77 -53
  265. package/src/calls/call-swarm-synchronizer.ts +2 -2
  266. package/src/calls/media-manager.ts +65 -36
  267. package/src/calls/types.ts +7 -3
  268. package/src/calls/util/calls-service.ts +64 -13
  269. package/src/calls/util/stub-media-streams.ts +64 -5
  270. package/src/calls/util/task-scheduling.ts +4 -4
  271. package/src/calls-service.stories.tsx +80 -66
  272. package/src/capabilities/app-graph-builder.ts +175 -163
  273. package/src/capabilities/blueprint-definition.ts +17 -0
  274. package/src/capabilities/call-manager.ts +19 -12
  275. package/src/capabilities/index.ts +15 -11
  276. package/src/capabilities/markdown.ts +54 -37
  277. package/src/capabilities/operation-handler.ts +16 -0
  278. package/src/capabilities/react-root.tsx +12 -9
  279. package/src/capabilities/react-surface.tsx +80 -78
  280. package/src/capabilities/settings.ts +28 -12
  281. package/src/capabilities/state.ts +14 -18
  282. package/src/capabilities/undo-mappings.ts +46 -0
  283. package/src/components/Call/Call.tsx +16 -12
  284. package/src/components/Call/Toolbar.tsx +61 -44
  285. package/src/components/CommentsPanel/CommentsPanel.stories.tsx +95 -0
  286. package/src/components/CommentsPanel/CommentsPanel.tsx +71 -0
  287. package/src/components/{CommentsThreadContainer.tsx → CommentsPanel/CommentsThread.tsx} +66 -62
  288. package/src/components/CommentsPanel/index.ts +6 -0
  289. package/src/components/Lobby/Lobby.tsx +20 -16
  290. package/src/components/Media/AudioStream.tsx +2 -2
  291. package/src/components/Media/VideoObject.stories.tsx +37 -31
  292. package/src/components/Media/VideoObject.tsx +1 -1
  293. package/src/components/MessagePanel/MessagePanel.tsx +222 -0
  294. package/src/components/MessagePanel/index.ts +5 -0
  295. package/src/components/Participant/Participant.tsx +35 -15
  296. package/src/components/Participant/ParticipantGrid.tsx +0 -1
  297. package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +49 -48
  298. package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +5 -5
  299. package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +12 -9
  300. package/src/components/ResponsiveGrid/{ResponsiveContainer.stories.tsx → ResponsivePanel.stories.tsx} +11 -12
  301. package/src/components/ResponsiveGrid/{ResponsiveContainer.tsx → ResponsivePanel.tsx} +5 -5
  302. package/src/components/ResponsiveGrid/index.ts +1 -1
  303. package/src/components/ThreadSettings/ThreadSettings.stories.tsx +32 -0
  304. package/src/components/ThreadSettings/ThreadSettings.tsx +20 -0
  305. package/src/components/ThreadSettings/index.ts +5 -0
  306. package/src/components/index.ts +5 -12
  307. package/src/containers/CallDebugPanel/CallDebugPanel.tsx +173 -0
  308. package/src/containers/CallDebugPanel/index.ts +5 -0
  309. package/src/containers/CallSidebar/CallSidebar.tsx +18 -0
  310. package/src/containers/CallSidebar/index.ts +5 -0
  311. package/src/containers/ChannelContainer/ChannelContainer.stories.tsx +93 -0
  312. package/src/{components → containers/ChannelContainer}/ChannelContainer.tsx +93 -71
  313. package/src/containers/ChannelContainer/index.ts +5 -0
  314. package/src/containers/ChatContainer/ChatContainer.stories.tsx +87 -0
  315. package/src/containers/ChatContainer/ChatContainer.tsx +126 -0
  316. package/src/containers/ChatContainer/index.ts +8 -0
  317. package/src/containers/ThreadCompanion/ThreadCompanion.tsx +217 -0
  318. package/src/containers/ThreadCompanion/index.ts +5 -0
  319. package/src/containers/index.ts +11 -0
  320. package/src/{components/command-extension.ts → extensions/command.ts} +6 -3
  321. package/src/extensions/index.ts +1 -0
  322. package/src/extensions/threads.ts +87 -42
  323. package/src/hooks/analytics.ts +22 -21
  324. package/src/hooks/index.ts +3 -1
  325. package/src/hooks/useBlackCanvasStreamTrack.tsx +27 -0
  326. package/src/hooks/useVideoStreamTrack.tsx +6 -3
  327. package/src/index.ts +1 -1
  328. package/src/meta.ts +11 -7
  329. package/src/operations/add-message.ts +81 -0
  330. package/src/operations/create-channel-thread.ts +26 -0
  331. package/src/operations/create-channel.ts +20 -0
  332. package/src/operations/create-proposals.ts +49 -0
  333. package/src/operations/create.ts +48 -0
  334. package/src/operations/definitions.ts +177 -0
  335. package/src/operations/delete-message.ts +53 -0
  336. package/src/operations/delete.ts +63 -0
  337. package/src/operations/index.ts +22 -0
  338. package/src/operations/on-create-space.ts +27 -0
  339. package/src/operations/restore-message.ts +38 -0
  340. package/src/operations/restore.ts +38 -0
  341. package/src/operations/select.ts +24 -0
  342. package/src/operations/toggle-resolved.ts +41 -0
  343. package/src/testing/data.ts +49 -0
  344. package/src/testing/index.ts +1 -1
  345. package/src/translations.ts +74 -73
  346. package/src/types/Channel.ts +37 -0
  347. package/src/types/Settings.ts +10 -0
  348. package/src/types/capabilities.ts +36 -0
  349. package/src/types/index.ts +2 -1
  350. package/src/types/types.ts +5 -100
  351. package/src/typings/peermetrics-webrtc-stats.d.ts +17 -1
  352. package/src/util.ts +2 -2
  353. package/dist/lib/browser/ChannelContainer-O2SFQJU7.mjs +0 -16
  354. package/dist/lib/browser/ChatContainer-PVT3DUZJ.mjs +0 -15
  355. package/dist/lib/browser/app-graph-builder-AF3M7UWN.mjs +0 -171
  356. package/dist/lib/browser/app-graph-builder-AF3M7UWN.mjs.map +0 -7
  357. package/dist/lib/browser/call-manager-XRRCAVLI.mjs +0 -24
  358. package/dist/lib/browser/call-manager-XRRCAVLI.mjs.map +0 -7
  359. package/dist/lib/browser/chunk-2CWJBXBH.mjs +0 -21
  360. package/dist/lib/browser/chunk-2CWJBXBH.mjs.map +0 -7
  361. package/dist/lib/browser/chunk-4APCDRSH.mjs +0 -18
  362. package/dist/lib/browser/chunk-4APCDRSH.mjs.map +0 -7
  363. package/dist/lib/browser/chunk-DW7JD64V.mjs +0 -137
  364. package/dist/lib/browser/chunk-DW7JD64V.mjs.map +0 -7
  365. package/dist/lib/browser/chunk-EV4JWI7L.mjs +0 -17
  366. package/dist/lib/browser/chunk-EV4JWI7L.mjs.map +0 -7
  367. package/dist/lib/browser/chunk-FY4ZRD5X.mjs +0 -367
  368. package/dist/lib/browser/chunk-FY4ZRD5X.mjs.map +0 -7
  369. package/dist/lib/browser/chunk-GERVMFQW.mjs +0 -31
  370. package/dist/lib/browser/chunk-GERVMFQW.mjs.map +0 -7
  371. package/dist/lib/browser/chunk-J3JO5NWO.mjs +0 -477
  372. package/dist/lib/browser/chunk-J3JO5NWO.mjs.map +0 -7
  373. package/dist/lib/browser/chunk-JGKMMI65.mjs +0 -56
  374. package/dist/lib/browser/chunk-JGKMMI65.mjs.map +0 -7
  375. package/dist/lib/browser/chunk-TUFWPOVS.mjs +0 -1698
  376. package/dist/lib/browser/chunk-TUFWPOVS.mjs.map +0 -7
  377. package/dist/lib/browser/chunk-X5PIP5YR.mjs +0 -149
  378. package/dist/lib/browser/chunk-X5PIP5YR.mjs.map +0 -7
  379. package/dist/lib/browser/chunk-ZJ7QBXK6.mjs +0 -984
  380. package/dist/lib/browser/chunk-ZJ7QBXK6.mjs.map +0 -7
  381. package/dist/lib/browser/intent-resolver-DCY4P4OX.mjs +0 -369
  382. package/dist/lib/browser/intent-resolver-DCY4P4OX.mjs.map +0 -7
  383. package/dist/lib/browser/markdown-WZSXCEZJ.mjs +0 -169
  384. package/dist/lib/browser/markdown-WZSXCEZJ.mjs.map +0 -7
  385. package/dist/lib/browser/react-root-QXPALOUQ.mjs +0 -28
  386. package/dist/lib/browser/react-root-QXPALOUQ.mjs.map +0 -7
  387. package/dist/lib/browser/react-surface-PYAMIADB.mjs +0 -109
  388. package/dist/lib/browser/react-surface-PYAMIADB.mjs.map +0 -7
  389. package/dist/lib/browser/settings-AC6YSASL.mjs +0 -22
  390. package/dist/lib/browser/settings-AC6YSASL.mjs.map +0 -7
  391. package/dist/lib/browser/state-2T4KDWBX.mjs +0 -34
  392. package/dist/lib/browser/state-2T4KDWBX.mjs.map +0 -7
  393. package/dist/lib/node-esm/ChannelContainer-B2ZGAE4P.mjs +0 -17
  394. package/dist/lib/node-esm/ChannelContainer-B2ZGAE4P.mjs.map +0 -7
  395. package/dist/lib/node-esm/ChatContainer-2CT4PJ7I.mjs +0 -16
  396. package/dist/lib/node-esm/ChatContainer-2CT4PJ7I.mjs.map +0 -7
  397. package/dist/lib/node-esm/app-graph-builder-OLSJVCWY.mjs +0 -172
  398. package/dist/lib/node-esm/app-graph-builder-OLSJVCWY.mjs.map +0 -7
  399. package/dist/lib/node-esm/call-manager-EI7FXRAU.mjs +0 -25
  400. package/dist/lib/node-esm/call-manager-EI7FXRAU.mjs.map +0 -7
  401. package/dist/lib/node-esm/chunk-4TME3BR4.mjs +0 -1699
  402. package/dist/lib/node-esm/chunk-4TME3BR4.mjs.map +0 -7
  403. package/dist/lib/node-esm/chunk-57XR3LEF.mjs +0 -33
  404. package/dist/lib/node-esm/chunk-57XR3LEF.mjs.map +0 -7
  405. package/dist/lib/node-esm/chunk-6CRHHOST.mjs +0 -23
  406. package/dist/lib/node-esm/chunk-6CRHHOST.mjs.map +0 -7
  407. package/dist/lib/node-esm/chunk-BF4UKS55.mjs +0 -368
  408. package/dist/lib/node-esm/chunk-BF4UKS55.mjs.map +0 -7
  409. package/dist/lib/node-esm/chunk-GRLRWTRU.mjs +0 -19
  410. package/dist/lib/node-esm/chunk-GRLRWTRU.mjs.map +0 -7
  411. package/dist/lib/node-esm/chunk-PYTVBN5J.mjs +0 -19
  412. package/dist/lib/node-esm/chunk-PYTVBN5J.mjs.map +0 -7
  413. package/dist/lib/node-esm/chunk-QBHKLWGR.mjs +0 -58
  414. package/dist/lib/node-esm/chunk-QBHKLWGR.mjs.map +0 -7
  415. package/dist/lib/node-esm/chunk-SED3O2XO.mjs +0 -150
  416. package/dist/lib/node-esm/chunk-SED3O2XO.mjs.map +0 -7
  417. package/dist/lib/node-esm/chunk-VNG6M2IY.mjs +0 -478
  418. package/dist/lib/node-esm/chunk-VNG6M2IY.mjs.map +0 -7
  419. package/dist/lib/node-esm/chunk-XVKWHTH4.mjs +0 -138
  420. package/dist/lib/node-esm/chunk-XVKWHTH4.mjs.map +0 -7
  421. package/dist/lib/node-esm/chunk-YIDU3DXK.mjs +0 -985
  422. package/dist/lib/node-esm/chunk-YIDU3DXK.mjs.map +0 -7
  423. package/dist/lib/node-esm/intent-resolver-QGTPU6QB.mjs +0 -370
  424. package/dist/lib/node-esm/intent-resolver-QGTPU6QB.mjs.map +0 -7
  425. package/dist/lib/node-esm/markdown-3MZXUGUA.mjs +0 -170
  426. package/dist/lib/node-esm/markdown-3MZXUGUA.mjs.map +0 -7
  427. package/dist/lib/node-esm/react-root-7ZFJYVUZ.mjs +0 -29
  428. package/dist/lib/node-esm/react-root-7ZFJYVUZ.mjs.map +0 -7
  429. package/dist/lib/node-esm/react-surface-UJFCSFNO.mjs +0 -110
  430. package/dist/lib/node-esm/react-surface-UJFCSFNO.mjs.map +0 -7
  431. package/dist/lib/node-esm/settings-N52O7MLS.mjs +0 -23
  432. package/dist/lib/node-esm/settings-N52O7MLS.mjs.map +0 -7
  433. package/dist/lib/node-esm/state-62TQKQVB.mjs +0 -35
  434. package/dist/lib/node-esm/state-62TQKQVB.mjs.map +0 -7
  435. package/dist/types/src/capabilities/capabilities.d.ts +0 -27
  436. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  437. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  438. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  439. package/dist/types/src/components/CallDebugPanel.d.ts +0 -8
  440. package/dist/types/src/components/CallDebugPanel.d.ts.map +0 -1
  441. package/dist/types/src/components/CallSidebar.d.ts.map +0 -1
  442. package/dist/types/src/components/ChannelContainer.d.ts +0 -14
  443. package/dist/types/src/components/ChannelContainer.d.ts.map +0 -1
  444. package/dist/types/src/components/ChannelContainer.stories.d.ts +0 -10
  445. package/dist/types/src/components/ChannelContainer.stories.d.ts.map +0 -1
  446. package/dist/types/src/components/Chat.stories.d.ts +0 -7
  447. package/dist/types/src/components/Chat.stories.d.ts.map +0 -1
  448. package/dist/types/src/components/ChatContainer.d.ts +0 -17
  449. package/dist/types/src/components/ChatContainer.d.ts.map +0 -1
  450. package/dist/types/src/components/Comments.stories.d.ts +0 -6
  451. package/dist/types/src/components/Comments.stories.d.ts.map +0 -1
  452. package/dist/types/src/components/CommentsContainer.d.ts +0 -13
  453. package/dist/types/src/components/CommentsContainer.d.ts.map +0 -1
  454. package/dist/types/src/components/CommentsThreadContainer.d.ts +0 -14
  455. package/dist/types/src/components/CommentsThreadContainer.d.ts.map +0 -1
  456. package/dist/types/src/components/MessageContainer.d.ts +0 -11
  457. package/dist/types/src/components/MessageContainer.d.ts.map +0 -1
  458. package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.d.ts.map +0 -1
  459. package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts +0 -10
  460. package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts.map +0 -1
  461. package/dist/types/src/components/ThreadComplementary.d.ts +0 -5
  462. package/dist/types/src/components/ThreadComplementary.d.ts.map +0 -1
  463. package/dist/types/src/components/ThreadSettings.d.ts +0 -6
  464. package/dist/types/src/components/ThreadSettings.d.ts.map +0 -1
  465. package/dist/types/src/components/command-extension.d.ts.map +0 -1
  466. package/dist/types/src/components/testing.d.ts +0 -4
  467. package/dist/types/src/components/testing.d.ts.map +0 -1
  468. package/dist/types/src/testing/stories.d.ts +0 -2
  469. package/dist/types/src/testing/stories.d.ts.map +0 -1
  470. package/dist/types/src/types/schema.d.ts +0 -164
  471. package/dist/types/src/types/schema.d.ts.map +0 -1
  472. package/src/capabilities/capabilities.ts +0 -33
  473. package/src/capabilities/intent-resolver.ts +0 -315
  474. package/src/components/CallDebugPanel.tsx +0 -115
  475. package/src/components/CallSidebar.tsx +0 -18
  476. package/src/components/ChannelContainer.stories.tsx +0 -59
  477. package/src/components/Chat.stories.tsx +0 -89
  478. package/src/components/ChatContainer.tsx +0 -142
  479. package/src/components/Comments.stories.tsx +0 -93
  480. package/src/components/CommentsContainer.tsx +0 -72
  481. package/src/components/MessageContainer.tsx +0 -152
  482. package/src/components/ThreadComplementary.tsx +0 -151
  483. package/src/components/ThreadSettings.tsx +0 -17
  484. package/src/components/testing.ts +0 -29
  485. package/src/testing/stories.ts +0 -54
  486. package/src/types/schema.ts +0 -33
  487. /package/dist/lib/browser/{ChannelContainer-O2SFQJU7.mjs.map → chunk-J5LGTIGS.mjs.map} +0 -0
  488. /package/dist/lib/{browser/ChatContainer-PVT3DUZJ.mjs.map → node-esm/chunk-HSLMI22Q.mjs.map} +0 -0
@@ -0,0 +1,715 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { Obj, Type } from '@dxos/echo';
3
+ export declare const Channel: Type.Obj<{
4
+ readonly name?: string | undefined;
5
+ readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
6
+ readonly name?: string | undefined;
7
+ readonly status?: "active" | "resolved" | "staged" | undefined;
8
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
9
+ readonly id: string;
10
+ readonly parentMessage?: string | undefined;
11
+ readonly threadId?: string | undefined;
12
+ readonly created: string;
13
+ readonly sender: {
14
+ readonly role?: "assistant" | "tool" | "user" | undefined;
15
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
16
+ readonly fullName?: string | undefined;
17
+ readonly preferredName?: string | undefined;
18
+ readonly nickname?: string | undefined;
19
+ readonly image?: string | undefined;
20
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
21
+ readonly name?: string | undefined;
22
+ readonly description?: string | undefined;
23
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
24
+ readonly image?: string | undefined;
25
+ readonly website?: string | undefined;
26
+ } & {
27
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
28
+ }> | undefined;
29
+ readonly jobTitle?: string | undefined;
30
+ readonly department?: string | undefined;
31
+ readonly notes?: string | undefined;
32
+ readonly emails?: readonly {
33
+ readonly label?: string | undefined;
34
+ readonly value: string;
35
+ }[] | undefined;
36
+ readonly identities?: readonly {
37
+ readonly label?: string | undefined;
38
+ readonly value: string;
39
+ }[] | undefined;
40
+ readonly phoneNumbers?: readonly {
41
+ readonly label?: string | undefined;
42
+ readonly value: string;
43
+ }[] | undefined;
44
+ readonly addresses?: readonly {
45
+ readonly label?: string | undefined;
46
+ readonly value: {
47
+ readonly street?: string | undefined;
48
+ readonly extended?: string | undefined;
49
+ readonly locality?: string | undefined;
50
+ readonly region?: string | undefined;
51
+ readonly postalCode?: string | undefined;
52
+ readonly postOfficeBoxNumber?: string | undefined;
53
+ readonly country?: string | undefined;
54
+ };
55
+ }[] | undefined;
56
+ readonly urls?: readonly {
57
+ readonly label?: string | undefined;
58
+ readonly value: string;
59
+ }[] | undefined;
60
+ readonly birthday?: string | undefined;
61
+ readonly fields?: readonly {
62
+ readonly category?: string | undefined;
63
+ readonly label: string;
64
+ readonly value: string;
65
+ }[] | undefined;
66
+ } & {
67
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
68
+ }> | undefined;
69
+ readonly identityDid?: string | undefined;
70
+ readonly identityKey?: string | undefined;
71
+ readonly email?: string | undefined;
72
+ readonly name?: string | undefined;
73
+ };
74
+ readonly blocks: readonly ({
75
+ readonly _tag: "text";
76
+ readonly pending?: boolean | undefined;
77
+ readonly mimeType?: string | undefined;
78
+ readonly text: string;
79
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
80
+ } | {
81
+ readonly _tag: "reasoning";
82
+ readonly pending?: boolean | undefined;
83
+ readonly reasoningText?: string | undefined;
84
+ readonly redactedText?: string | undefined;
85
+ readonly signature?: string | undefined;
86
+ } | {
87
+ readonly _tag: "toolCall";
88
+ readonly pending?: boolean | undefined;
89
+ readonly toolCallId: string;
90
+ readonly name: string;
91
+ readonly input: string;
92
+ readonly providerExecuted: boolean;
93
+ } | {
94
+ readonly _tag: "toolResult";
95
+ readonly pending?: boolean | undefined;
96
+ readonly toolCallId: string;
97
+ readonly name: string;
98
+ readonly result?: string | undefined;
99
+ readonly error?: string | undefined;
100
+ readonly providerExecuted: boolean;
101
+ } | {
102
+ readonly _tag: "stats";
103
+ readonly pending?: boolean | undefined;
104
+ readonly mimeType?: string | undefined;
105
+ readonly message?: string | undefined;
106
+ readonly model?: string | undefined;
107
+ readonly usage?: {
108
+ readonly inputTokens?: number | undefined;
109
+ readonly outputTokens?: number | undefined;
110
+ readonly totalTokens?: number | undefined;
111
+ } | undefined;
112
+ readonly toolCalls?: number | undefined;
113
+ readonly errors?: number | undefined;
114
+ readonly duration?: number | undefined;
115
+ } | {
116
+ readonly _tag: "image";
117
+ readonly pending?: boolean | undefined;
118
+ readonly id?: string | undefined;
119
+ readonly source?: {
120
+ readonly type: "base64";
121
+ readonly mediaType: string;
122
+ readonly data: string;
123
+ } | {
124
+ readonly type: "http";
125
+ readonly url: string;
126
+ } | undefined;
127
+ } | {
128
+ readonly _tag: "file";
129
+ readonly pending?: boolean | undefined;
130
+ readonly url: string;
131
+ readonly name?: string | undefined;
132
+ readonly mediaType?: string | undefined;
133
+ } | {
134
+ readonly _tag: "reference";
135
+ readonly pending?: boolean | undefined;
136
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
137
+ } | {
138
+ readonly _tag: "transcript";
139
+ readonly pending?: boolean | undefined;
140
+ readonly started: string;
141
+ readonly text: string;
142
+ } | {
143
+ readonly _tag: "status";
144
+ readonly pending?: boolean | undefined;
145
+ readonly statusText: string;
146
+ } | {
147
+ readonly _tag: "suggestion";
148
+ readonly pending?: boolean | undefined;
149
+ readonly text: string;
150
+ } | {
151
+ readonly _tag: "select";
152
+ readonly pending?: boolean | undefined;
153
+ readonly options: string[];
154
+ } | {
155
+ readonly _tag: "anchor";
156
+ readonly pending?: boolean | undefined;
157
+ readonly objectId: string;
158
+ readonly version: unknown;
159
+ } | {
160
+ readonly _tag: "proposal";
161
+ readonly pending?: boolean | undefined;
162
+ readonly text: string;
163
+ } | {
164
+ readonly _tag: "summary";
165
+ readonly pending?: boolean | undefined;
166
+ readonly content: string;
167
+ } | {
168
+ readonly _tag: "toolkit";
169
+ readonly pending?: boolean | undefined;
170
+ } | {
171
+ readonly _tag: "json";
172
+ readonly pending?: boolean | undefined;
173
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
174
+ readonly data: string;
175
+ })[];
176
+ readonly properties?: {
177
+ readonly [x: string]: any;
178
+ } | undefined;
179
+ }>[];
180
+ }>;
181
+ readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
182
+ readonly name?: string | undefined;
183
+ readonly status?: "active" | "resolved" | "staged" | undefined;
184
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
185
+ readonly id: string;
186
+ readonly parentMessage?: string | undefined;
187
+ readonly threadId?: string | undefined;
188
+ readonly created: string;
189
+ readonly sender: {
190
+ readonly role?: "assistant" | "tool" | "user" | undefined;
191
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
192
+ readonly fullName?: string | undefined;
193
+ readonly preferredName?: string | undefined;
194
+ readonly nickname?: string | undefined;
195
+ readonly image?: string | undefined;
196
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
197
+ readonly name?: string | undefined;
198
+ readonly description?: string | undefined;
199
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
200
+ readonly image?: string | undefined;
201
+ readonly website?: string | undefined;
202
+ } & {
203
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
204
+ }> | undefined;
205
+ readonly jobTitle?: string | undefined;
206
+ readonly department?: string | undefined;
207
+ readonly notes?: string | undefined;
208
+ readonly emails?: readonly {
209
+ readonly label?: string | undefined;
210
+ readonly value: string;
211
+ }[] | undefined;
212
+ readonly identities?: readonly {
213
+ readonly label?: string | undefined;
214
+ readonly value: string;
215
+ }[] | undefined;
216
+ readonly phoneNumbers?: readonly {
217
+ readonly label?: string | undefined;
218
+ readonly value: string;
219
+ }[] | undefined;
220
+ readonly addresses?: readonly {
221
+ readonly label?: string | undefined;
222
+ readonly value: {
223
+ readonly street?: string | undefined;
224
+ readonly extended?: string | undefined;
225
+ readonly locality?: string | undefined;
226
+ readonly region?: string | undefined;
227
+ readonly postalCode?: string | undefined;
228
+ readonly postOfficeBoxNumber?: string | undefined;
229
+ readonly country?: string | undefined;
230
+ };
231
+ }[] | undefined;
232
+ readonly urls?: readonly {
233
+ readonly label?: string | undefined;
234
+ readonly value: string;
235
+ }[] | undefined;
236
+ readonly birthday?: string | undefined;
237
+ readonly fields?: readonly {
238
+ readonly category?: string | undefined;
239
+ readonly label: string;
240
+ readonly value: string;
241
+ }[] | undefined;
242
+ } & {
243
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
244
+ }> | undefined;
245
+ readonly identityDid?: string | undefined;
246
+ readonly identityKey?: string | undefined;
247
+ readonly email?: string | undefined;
248
+ readonly name?: string | undefined;
249
+ };
250
+ readonly blocks: readonly ({
251
+ readonly _tag: "text";
252
+ readonly pending?: boolean | undefined;
253
+ readonly mimeType?: string | undefined;
254
+ readonly text: string;
255
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
256
+ } | {
257
+ readonly _tag: "reasoning";
258
+ readonly pending?: boolean | undefined;
259
+ readonly reasoningText?: string | undefined;
260
+ readonly redactedText?: string | undefined;
261
+ readonly signature?: string | undefined;
262
+ } | {
263
+ readonly _tag: "toolCall";
264
+ readonly pending?: boolean | undefined;
265
+ readonly toolCallId: string;
266
+ readonly name: string;
267
+ readonly input: string;
268
+ readonly providerExecuted: boolean;
269
+ } | {
270
+ readonly _tag: "toolResult";
271
+ readonly pending?: boolean | undefined;
272
+ readonly toolCallId: string;
273
+ readonly name: string;
274
+ readonly result?: string | undefined;
275
+ readonly error?: string | undefined;
276
+ readonly providerExecuted: boolean;
277
+ } | {
278
+ readonly _tag: "stats";
279
+ readonly pending?: boolean | undefined;
280
+ readonly mimeType?: string | undefined;
281
+ readonly message?: string | undefined;
282
+ readonly model?: string | undefined;
283
+ readonly usage?: {
284
+ readonly inputTokens?: number | undefined;
285
+ readonly outputTokens?: number | undefined;
286
+ readonly totalTokens?: number | undefined;
287
+ } | undefined;
288
+ readonly toolCalls?: number | undefined;
289
+ readonly errors?: number | undefined;
290
+ readonly duration?: number | undefined;
291
+ } | {
292
+ readonly _tag: "image";
293
+ readonly pending?: boolean | undefined;
294
+ readonly id?: string | undefined;
295
+ readonly source?: {
296
+ readonly type: "base64";
297
+ readonly mediaType: string;
298
+ readonly data: string;
299
+ } | {
300
+ readonly type: "http";
301
+ readonly url: string;
302
+ } | undefined;
303
+ } | {
304
+ readonly _tag: "file";
305
+ readonly pending?: boolean | undefined;
306
+ readonly url: string;
307
+ readonly name?: string | undefined;
308
+ readonly mediaType?: string | undefined;
309
+ } | {
310
+ readonly _tag: "reference";
311
+ readonly pending?: boolean | undefined;
312
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
313
+ } | {
314
+ readonly _tag: "transcript";
315
+ readonly pending?: boolean | undefined;
316
+ readonly started: string;
317
+ readonly text: string;
318
+ } | {
319
+ readonly _tag: "status";
320
+ readonly pending?: boolean | undefined;
321
+ readonly statusText: string;
322
+ } | {
323
+ readonly _tag: "suggestion";
324
+ readonly pending?: boolean | undefined;
325
+ readonly text: string;
326
+ } | {
327
+ readonly _tag: "select";
328
+ readonly pending?: boolean | undefined;
329
+ readonly options: string[];
330
+ } | {
331
+ readonly _tag: "anchor";
332
+ readonly pending?: boolean | undefined;
333
+ readonly objectId: string;
334
+ readonly version: unknown;
335
+ } | {
336
+ readonly _tag: "proposal";
337
+ readonly pending?: boolean | undefined;
338
+ readonly text: string;
339
+ } | {
340
+ readonly _tag: "summary";
341
+ readonly pending?: boolean | undefined;
342
+ readonly content: string;
343
+ } | {
344
+ readonly _tag: "toolkit";
345
+ readonly pending?: boolean | undefined;
346
+ } | {
347
+ readonly _tag: "json";
348
+ readonly pending?: boolean | undefined;
349
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
350
+ readonly data: string;
351
+ })[];
352
+ readonly properties?: {
353
+ readonly [x: string]: any;
354
+ } | undefined;
355
+ }>[];
356
+ }>[];
357
+ }, Schema.Struct.Fields>;
358
+ export interface Channel extends Schema.Schema.Type<typeof Channel> {
359
+ }
360
+ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, 'name'>) => Obj.OfShape<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
361
+ readonly name?: string | undefined;
362
+ readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
363
+ readonly name?: string | undefined;
364
+ readonly status?: "active" | "resolved" | "staged" | undefined;
365
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
366
+ readonly id: string;
367
+ readonly parentMessage?: string | undefined;
368
+ readonly threadId?: string | undefined;
369
+ readonly created: string;
370
+ readonly sender: {
371
+ readonly role?: "assistant" | "tool" | "user" | undefined;
372
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
373
+ readonly fullName?: string | undefined;
374
+ readonly preferredName?: string | undefined;
375
+ readonly nickname?: string | undefined;
376
+ readonly image?: string | undefined;
377
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
378
+ readonly name?: string | undefined;
379
+ readonly description?: string | undefined;
380
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
381
+ readonly image?: string | undefined;
382
+ readonly website?: string | undefined;
383
+ } & {
384
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
385
+ }> | undefined;
386
+ readonly jobTitle?: string | undefined;
387
+ readonly department?: string | undefined;
388
+ readonly notes?: string | undefined;
389
+ readonly emails?: readonly {
390
+ readonly label?: string | undefined;
391
+ readonly value: string;
392
+ }[] | undefined;
393
+ readonly identities?: readonly {
394
+ readonly label?: string | undefined;
395
+ readonly value: string;
396
+ }[] | undefined;
397
+ readonly phoneNumbers?: readonly {
398
+ readonly label?: string | undefined;
399
+ readonly value: string;
400
+ }[] | undefined;
401
+ readonly addresses?: readonly {
402
+ readonly label?: string | undefined;
403
+ readonly value: {
404
+ readonly street?: string | undefined;
405
+ readonly extended?: string | undefined;
406
+ readonly locality?: string | undefined;
407
+ readonly region?: string | undefined;
408
+ readonly postalCode?: string | undefined;
409
+ readonly postOfficeBoxNumber?: string | undefined;
410
+ readonly country?: string | undefined;
411
+ };
412
+ }[] | undefined;
413
+ readonly urls?: readonly {
414
+ readonly label?: string | undefined;
415
+ readonly value: string;
416
+ }[] | undefined;
417
+ readonly birthday?: string | undefined;
418
+ readonly fields?: readonly {
419
+ readonly category?: string | undefined;
420
+ readonly label: string;
421
+ readonly value: string;
422
+ }[] | undefined;
423
+ } & {
424
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
425
+ }> | undefined;
426
+ readonly identityDid?: string | undefined;
427
+ readonly identityKey?: string | undefined;
428
+ readonly email?: string | undefined;
429
+ readonly name?: string | undefined;
430
+ };
431
+ readonly blocks: readonly ({
432
+ readonly _tag: "text";
433
+ readonly pending?: boolean | undefined;
434
+ readonly mimeType?: string | undefined;
435
+ readonly text: string;
436
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
437
+ } | {
438
+ readonly _tag: "reasoning";
439
+ readonly pending?: boolean | undefined;
440
+ readonly reasoningText?: string | undefined;
441
+ readonly redactedText?: string | undefined;
442
+ readonly signature?: string | undefined;
443
+ } | {
444
+ readonly _tag: "toolCall";
445
+ readonly pending?: boolean | undefined;
446
+ readonly toolCallId: string;
447
+ readonly name: string;
448
+ readonly input: string;
449
+ readonly providerExecuted: boolean;
450
+ } | {
451
+ readonly _tag: "toolResult";
452
+ readonly pending?: boolean | undefined;
453
+ readonly toolCallId: string;
454
+ readonly name: string;
455
+ readonly result?: string | undefined;
456
+ readonly error?: string | undefined;
457
+ readonly providerExecuted: boolean;
458
+ } | {
459
+ readonly _tag: "stats";
460
+ readonly pending?: boolean | undefined;
461
+ readonly mimeType?: string | undefined;
462
+ readonly message?: string | undefined;
463
+ readonly model?: string | undefined;
464
+ readonly usage?: {
465
+ readonly inputTokens?: number | undefined;
466
+ readonly outputTokens?: number | undefined;
467
+ readonly totalTokens?: number | undefined;
468
+ } | undefined;
469
+ readonly toolCalls?: number | undefined;
470
+ readonly errors?: number | undefined;
471
+ readonly duration?: number | undefined;
472
+ } | {
473
+ readonly _tag: "image";
474
+ readonly pending?: boolean | undefined;
475
+ readonly id?: string | undefined;
476
+ readonly source?: {
477
+ readonly type: "base64";
478
+ readonly mediaType: string;
479
+ readonly data: string;
480
+ } | {
481
+ readonly type: "http";
482
+ readonly url: string;
483
+ } | undefined;
484
+ } | {
485
+ readonly _tag: "file";
486
+ readonly pending?: boolean | undefined;
487
+ readonly url: string;
488
+ readonly name?: string | undefined;
489
+ readonly mediaType?: string | undefined;
490
+ } | {
491
+ readonly _tag: "reference";
492
+ readonly pending?: boolean | undefined;
493
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
494
+ } | {
495
+ readonly _tag: "transcript";
496
+ readonly pending?: boolean | undefined;
497
+ readonly started: string;
498
+ readonly text: string;
499
+ } | {
500
+ readonly _tag: "status";
501
+ readonly pending?: boolean | undefined;
502
+ readonly statusText: string;
503
+ } | {
504
+ readonly _tag: "suggestion";
505
+ readonly pending?: boolean | undefined;
506
+ readonly text: string;
507
+ } | {
508
+ readonly _tag: "select";
509
+ readonly pending?: boolean | undefined;
510
+ readonly options: string[];
511
+ } | {
512
+ readonly _tag: "anchor";
513
+ readonly pending?: boolean | undefined;
514
+ readonly objectId: string;
515
+ readonly version: unknown;
516
+ } | {
517
+ readonly _tag: "proposal";
518
+ readonly pending?: boolean | undefined;
519
+ readonly text: string;
520
+ } | {
521
+ readonly _tag: "summary";
522
+ readonly pending?: boolean | undefined;
523
+ readonly content: string;
524
+ } | {
525
+ readonly _tag: "toolkit";
526
+ readonly pending?: boolean | undefined;
527
+ } | {
528
+ readonly _tag: "json";
529
+ readonly pending?: boolean | undefined;
530
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
531
+ readonly data: string;
532
+ })[];
533
+ readonly properties?: {
534
+ readonly [x: string]: any;
535
+ } | undefined;
536
+ }>[];
537
+ }>;
538
+ readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
539
+ readonly name?: string | undefined;
540
+ readonly status?: "active" | "resolved" | "staged" | undefined;
541
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
542
+ readonly id: string;
543
+ readonly parentMessage?: string | undefined;
544
+ readonly threadId?: string | undefined;
545
+ readonly created: string;
546
+ readonly sender: {
547
+ readonly role?: "assistant" | "tool" | "user" | undefined;
548
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
549
+ readonly fullName?: string | undefined;
550
+ readonly preferredName?: string | undefined;
551
+ readonly nickname?: string | undefined;
552
+ readonly image?: string | undefined;
553
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
554
+ readonly name?: string | undefined;
555
+ readonly description?: string | undefined;
556
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
557
+ readonly image?: string | undefined;
558
+ readonly website?: string | undefined;
559
+ } & {
560
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
561
+ }> | undefined;
562
+ readonly jobTitle?: string | undefined;
563
+ readonly department?: string | undefined;
564
+ readonly notes?: string | undefined;
565
+ readonly emails?: readonly {
566
+ readonly label?: string | undefined;
567
+ readonly value: string;
568
+ }[] | undefined;
569
+ readonly identities?: readonly {
570
+ readonly label?: string | undefined;
571
+ readonly value: string;
572
+ }[] | undefined;
573
+ readonly phoneNumbers?: readonly {
574
+ readonly label?: string | undefined;
575
+ readonly value: string;
576
+ }[] | undefined;
577
+ readonly addresses?: readonly {
578
+ readonly label?: string | undefined;
579
+ readonly value: {
580
+ readonly street?: string | undefined;
581
+ readonly extended?: string | undefined;
582
+ readonly locality?: string | undefined;
583
+ readonly region?: string | undefined;
584
+ readonly postalCode?: string | undefined;
585
+ readonly postOfficeBoxNumber?: string | undefined;
586
+ readonly country?: string | undefined;
587
+ };
588
+ }[] | undefined;
589
+ readonly urls?: readonly {
590
+ readonly label?: string | undefined;
591
+ readonly value: string;
592
+ }[] | undefined;
593
+ readonly birthday?: string | undefined;
594
+ readonly fields?: readonly {
595
+ readonly category?: string | undefined;
596
+ readonly label: string;
597
+ readonly value: string;
598
+ }[] | undefined;
599
+ } & {
600
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
601
+ }> | undefined;
602
+ readonly identityDid?: string | undefined;
603
+ readonly identityKey?: string | undefined;
604
+ readonly email?: string | undefined;
605
+ readonly name?: string | undefined;
606
+ };
607
+ readonly blocks: readonly ({
608
+ readonly _tag: "text";
609
+ readonly pending?: boolean | undefined;
610
+ readonly mimeType?: string | undefined;
611
+ readonly text: string;
612
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
613
+ } | {
614
+ readonly _tag: "reasoning";
615
+ readonly pending?: boolean | undefined;
616
+ readonly reasoningText?: string | undefined;
617
+ readonly redactedText?: string | undefined;
618
+ readonly signature?: string | undefined;
619
+ } | {
620
+ readonly _tag: "toolCall";
621
+ readonly pending?: boolean | undefined;
622
+ readonly toolCallId: string;
623
+ readonly name: string;
624
+ readonly input: string;
625
+ readonly providerExecuted: boolean;
626
+ } | {
627
+ readonly _tag: "toolResult";
628
+ readonly pending?: boolean | undefined;
629
+ readonly toolCallId: string;
630
+ readonly name: string;
631
+ readonly result?: string | undefined;
632
+ readonly error?: string | undefined;
633
+ readonly providerExecuted: boolean;
634
+ } | {
635
+ readonly _tag: "stats";
636
+ readonly pending?: boolean | undefined;
637
+ readonly mimeType?: string | undefined;
638
+ readonly message?: string | undefined;
639
+ readonly model?: string | undefined;
640
+ readonly usage?: {
641
+ readonly inputTokens?: number | undefined;
642
+ readonly outputTokens?: number | undefined;
643
+ readonly totalTokens?: number | undefined;
644
+ } | undefined;
645
+ readonly toolCalls?: number | undefined;
646
+ readonly errors?: number | undefined;
647
+ readonly duration?: number | undefined;
648
+ } | {
649
+ readonly _tag: "image";
650
+ readonly pending?: boolean | undefined;
651
+ readonly id?: string | undefined;
652
+ readonly source?: {
653
+ readonly type: "base64";
654
+ readonly mediaType: string;
655
+ readonly data: string;
656
+ } | {
657
+ readonly type: "http";
658
+ readonly url: string;
659
+ } | undefined;
660
+ } | {
661
+ readonly _tag: "file";
662
+ readonly pending?: boolean | undefined;
663
+ readonly url: string;
664
+ readonly name?: string | undefined;
665
+ readonly mediaType?: string | undefined;
666
+ } | {
667
+ readonly _tag: "reference";
668
+ readonly pending?: boolean | undefined;
669
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
670
+ } | {
671
+ readonly _tag: "transcript";
672
+ readonly pending?: boolean | undefined;
673
+ readonly started: string;
674
+ readonly text: string;
675
+ } | {
676
+ readonly _tag: "status";
677
+ readonly pending?: boolean | undefined;
678
+ readonly statusText: string;
679
+ } | {
680
+ readonly _tag: "suggestion";
681
+ readonly pending?: boolean | undefined;
682
+ readonly text: string;
683
+ } | {
684
+ readonly _tag: "select";
685
+ readonly pending?: boolean | undefined;
686
+ readonly options: string[];
687
+ } | {
688
+ readonly _tag: "anchor";
689
+ readonly pending?: boolean | undefined;
690
+ readonly objectId: string;
691
+ readonly version: unknown;
692
+ } | {
693
+ readonly _tag: "proposal";
694
+ readonly pending?: boolean | undefined;
695
+ readonly text: string;
696
+ } | {
697
+ readonly _tag: "summary";
698
+ readonly pending?: boolean | undefined;
699
+ readonly content: string;
700
+ } | {
701
+ readonly _tag: "toolkit";
702
+ readonly pending?: boolean | undefined;
703
+ } | {
704
+ readonly _tag: "json";
705
+ readonly pending?: boolean | undefined;
706
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
707
+ readonly data: string;
708
+ })[];
709
+ readonly properties?: {
710
+ readonly [x: string]: any;
711
+ } | undefined;
712
+ }>[];
713
+ }>[];
714
+ }>;
715
+ //# sourceMappingURL=Channel.d.ts.map