@dxos/plugin-thread 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393

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 (397) hide show
  1. package/dist/lib/neutral/CallDebugPanel-CXWTCS7A.mjs +172 -0
  2. package/dist/lib/neutral/CallDebugPanel-CXWTCS7A.mjs.map +7 -0
  3. package/dist/lib/neutral/CallSidebar-4USJZ2SB.mjs +25 -0
  4. package/dist/lib/neutral/CallSidebar-4USJZ2SB.mjs.map +7 -0
  5. package/dist/lib/neutral/ChannelChat-6YTD5HWL.mjs +10 -0
  6. package/dist/lib/neutral/ChannelContainer-XHBF2NCK.mjs +9 -0
  7. package/dist/lib/neutral/ThreadCompanion-NQWPS2H6.mjs +208 -0
  8. package/dist/lib/neutral/ThreadCompanion-NQWPS2H6.mjs.map +7 -0
  9. package/dist/lib/neutral/ThreadContainer-XYEPEOSD.mjs +61 -0
  10. package/dist/lib/neutral/ThreadContainer-XYEPEOSD.mjs.map +7 -0
  11. package/dist/lib/neutral/ThreadPlugin.mjs +89 -0
  12. package/dist/lib/neutral/ThreadPlugin.mjs.map +7 -0
  13. package/dist/lib/neutral/ThreadPlugin.node.mjs +40 -0
  14. package/dist/lib/neutral/ThreadPlugin.node.mjs.map +7 -0
  15. package/dist/lib/neutral/ThreadSettings-5Z5XIHG3.mjs +15 -0
  16. package/dist/lib/neutral/ThreadSettings-5Z5XIHG3.mjs.map +7 -0
  17. package/dist/lib/{browser/add-message-VPPFFLFL.mjs → neutral/add-message-HV5R66K4.mjs} +12 -22
  18. package/dist/lib/neutral/add-message-HV5R66K4.mjs.map +7 -0
  19. package/dist/lib/neutral/app-graph-builder-JDLHZ4XO.mjs +173 -0
  20. package/dist/lib/neutral/app-graph-builder-JDLHZ4XO.mjs.map +7 -0
  21. package/dist/lib/neutral/append-channel-message-PO33DR5V.mjs +40 -0
  22. package/dist/lib/neutral/append-channel-message-PO33DR5V.mjs.map +7 -0
  23. package/dist/lib/neutral/blueprint-definition-S3EBOH4R.mjs +15 -0
  24. package/dist/lib/neutral/blueprint-definition-S3EBOH4R.mjs.map +7 -0
  25. package/dist/lib/neutral/blueprints/index.mjs +8 -0
  26. package/dist/lib/neutral/call-manager-JFA4DLWR.mjs +24 -0
  27. package/dist/lib/neutral/call-manager-JFA4DLWR.mjs.map +7 -0
  28. package/dist/lib/neutral/capabilities/index.mjs +29 -0
  29. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  30. package/dist/lib/neutral/chunk-44D7D4ZX.mjs +20 -0
  31. package/dist/lib/neutral/chunk-44D7D4ZX.mjs.map +7 -0
  32. package/dist/lib/{browser/blueprints/index.mjs → neutral/chunk-5T5LPLBN.mjs} +5 -6
  33. package/dist/lib/neutral/chunk-5T5LPLBN.mjs.map +7 -0
  34. package/dist/lib/neutral/chunk-CROE4U4O.mjs +100 -0
  35. package/dist/lib/neutral/chunk-CROE4U4O.mjs.map +7 -0
  36. package/dist/lib/neutral/chunk-D5LGFCUY.mjs +55 -0
  37. package/dist/lib/neutral/chunk-D5LGFCUY.mjs.map +7 -0
  38. package/dist/lib/neutral/chunk-FWSMZWBO.mjs +178 -0
  39. package/dist/lib/neutral/chunk-FWSMZWBO.mjs.map +7 -0
  40. package/dist/lib/neutral/chunk-JLY4NVTA.mjs +38 -0
  41. package/dist/lib/neutral/chunk-JLY4NVTA.mjs.map +7 -0
  42. package/dist/lib/neutral/chunk-KRXHIW4P.mjs +164 -0
  43. package/dist/lib/neutral/chunk-KRXHIW4P.mjs.map +7 -0
  44. package/dist/lib/neutral/chunk-MXJYXUS2.mjs +8 -0
  45. package/dist/lib/neutral/chunk-MXJYXUS2.mjs.map +7 -0
  46. package/dist/lib/{browser/chunk-VPM44Z35.mjs → neutral/chunk-OZRSYMYO.mjs} +101 -85
  47. package/dist/lib/neutral/chunk-OZRSYMYO.mjs.map +7 -0
  48. package/dist/lib/{browser/index.mjs → neutral/chunk-PZ7WTAA2.mjs} +88 -900
  49. package/dist/lib/neutral/chunk-PZ7WTAA2.mjs.map +7 -0
  50. package/dist/lib/neutral/chunk-S2AKEA2K.mjs +202 -0
  51. package/dist/lib/neutral/chunk-S2AKEA2K.mjs.map +7 -0
  52. package/dist/lib/neutral/components/index.mjs +1230 -0
  53. package/dist/lib/neutral/components/index.mjs.map +7 -0
  54. package/dist/lib/neutral/containers/index.mjs +19 -0
  55. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  56. package/dist/lib/{browser/create-UGT7V733.mjs → neutral/create-C3CICN35.mjs} +8 -11
  57. package/dist/lib/neutral/create-C3CICN35.mjs.map +7 -0
  58. package/dist/lib/neutral/create-channel-UEQESOFT.mjs +19 -0
  59. package/dist/lib/neutral/create-channel-UEQESOFT.mjs.map +7 -0
  60. package/dist/lib/neutral/create-object-HIEWSBZB.mjs +27 -0
  61. package/dist/lib/neutral/create-object-HIEWSBZB.mjs.map +7 -0
  62. package/dist/lib/{browser/create-proposals-CMK7S7VS.mjs → neutral/create-proposals-OZ4NCBBS.mjs} +5 -6
  63. package/dist/lib/neutral/create-proposals-OZ4NCBBS.mjs.map +7 -0
  64. package/dist/lib/{browser/delete-FSFVU6ZA.mjs → neutral/delete-AVFYFWMY.mjs} +8 -10
  65. package/dist/lib/neutral/delete-AVFYFWMY.mjs.map +7 -0
  66. package/dist/lib/{browser/delete-message-XL5M5J33.mjs → neutral/delete-message-EV2MKRTB.mjs} +9 -19
  67. package/dist/lib/neutral/delete-message-EV2MKRTB.mjs.map +7 -0
  68. package/dist/lib/neutral/hooks/index.mjs +19 -0
  69. package/dist/lib/neutral/hooks/index.mjs.map +7 -0
  70. package/dist/lib/neutral/index.mjs +68 -0
  71. package/dist/lib/neutral/index.mjs.map +7 -0
  72. package/dist/lib/neutral/markdown-BUORNCPG.mjs +83 -0
  73. package/dist/lib/neutral/markdown-BUORNCPG.mjs.map +7 -0
  74. package/dist/lib/neutral/meta.json +1 -0
  75. package/dist/lib/neutral/meta.mjs +10 -0
  76. package/dist/lib/neutral/meta.mjs.map +7 -0
  77. package/dist/lib/neutral/on-create-space-NQF7WGEB.mjs +23 -0
  78. package/dist/lib/neutral/on-create-space-NQF7WGEB.mjs.map +7 -0
  79. package/dist/lib/neutral/operation-handler-RU6K2S4L.mjs +13 -0
  80. package/dist/lib/neutral/operation-handler-RU6K2S4L.mjs.map +7 -0
  81. package/dist/lib/neutral/operations/index.mjs +8 -0
  82. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  83. package/dist/lib/neutral/plugin.mjs +16 -0
  84. package/dist/lib/neutral/plugin.mjs.map +7 -0
  85. package/dist/lib/neutral/react-root-VMMNUSSL.mjs +18 -0
  86. package/dist/lib/neutral/react-root-VMMNUSSL.mjs.map +7 -0
  87. package/dist/lib/neutral/react-surface-WPSVOTVG.mjs +94 -0
  88. package/dist/lib/neutral/react-surface-WPSVOTVG.mjs.map +7 -0
  89. package/dist/lib/{browser/restore-2ZGMKUSD.mjs → neutral/restore-MGLYOJ3Y.mjs} +6 -7
  90. package/dist/lib/neutral/restore-MGLYOJ3Y.mjs.map +7 -0
  91. package/dist/lib/{browser/restore-message-OYEGWPII.mjs → neutral/restore-message-ZIOA2MQJ.mjs} +8 -17
  92. package/dist/lib/neutral/restore-message-ZIOA2MQJ.mjs.map +7 -0
  93. package/dist/lib/{browser/select-VG2XLULE.mjs → neutral/select-CVCGBDHA.mjs} +7 -9
  94. package/dist/lib/neutral/select-CVCGBDHA.mjs.map +7 -0
  95. package/dist/lib/neutral/settings-HK4EB6TF.mjs +30 -0
  96. package/dist/lib/neutral/settings-HK4EB6TF.mjs.map +7 -0
  97. package/dist/lib/neutral/state-UU7VEAKV.mjs +22 -0
  98. package/dist/lib/neutral/state-UU7VEAKV.mjs.map +7 -0
  99. package/dist/lib/neutral/testing/index.mjs +58 -0
  100. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  101. package/dist/lib/{browser/toggle-resolved-MM6YC5BU.mjs → neutral/toggle-resolved-ZM4BHON5.mjs} +8 -17
  102. package/dist/lib/neutral/toggle-resolved-ZM4BHON5.mjs.map +7 -0
  103. package/dist/lib/neutral/translations.mjs +90 -0
  104. package/dist/lib/neutral/translations.mjs.map +7 -0
  105. package/dist/lib/neutral/types/index.mjs +12 -0
  106. package/dist/lib/neutral/types/index.mjs.map +7 -0
  107. package/dist/lib/neutral/undo-mappings-HOKL2L3M.mjs +54 -0
  108. package/dist/lib/neutral/undo-mappings-HOKL2L3M.mjs.map +7 -0
  109. package/dist/types/src/ThreadPlugin.d.ts +1 -0
  110. package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
  111. package/dist/types/src/ThreadPlugin.node.d.ts +4 -0
  112. package/dist/types/src/ThreadPlugin.node.d.ts.map +1 -0
  113. package/dist/types/src/ThreadPlugin.test.d.ts +2 -0
  114. package/dist/types/src/ThreadPlugin.test.d.ts.map +1 -0
  115. package/dist/types/src/blueprints/thread-blueprint.d.ts +2 -2
  116. package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
  117. package/dist/types/src/calls/call-manager.d.ts.map +1 -1
  118. package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +1 -1
  119. package/dist/types/src/calls/media-manager.d.ts.map +1 -1
  120. package/dist/types/src/calls/speaking-monitor.d.ts +0 -3
  121. package/dist/types/src/calls/speaking-monitor.d.ts.map +1 -1
  122. package/dist/types/src/calls/types.d.ts.map +1 -1
  123. package/dist/types/src/calls/util/audio.d.ts.map +1 -1
  124. package/dist/types/src/calls/util/calls-service.d.ts +2 -2
  125. package/dist/types/src/calls/util/calls-service.d.ts.map +1 -1
  126. package/dist/types/src/calls/util/history-cache.d.ts.map +1 -1
  127. package/dist/types/src/calls/util/media.d.ts.map +1 -1
  128. package/dist/types/src/calls/util/stub-media-streams.d.ts.map +1 -1
  129. package/dist/types/src/calls/util/task-scheduling.d.ts.map +1 -1
  130. package/dist/types/src/calls-service.stories.d.ts.map +1 -1
  131. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  132. package/dist/types/src/capabilities/blueprint-definition.d.ts +2 -2
  133. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -1
  134. package/dist/types/src/capabilities/call-manager.d.ts.map +1 -1
  135. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  136. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  137. package/dist/types/src/capabilities/index.d.ts +9 -3
  138. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  139. package/dist/types/src/capabilities/markdown.d.ts.map +1 -1
  140. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  141. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  142. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  143. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  144. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  145. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  146. package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -1
  147. package/dist/types/src/components/Call/Call.d.ts +32 -4
  148. package/dist/types/src/components/Call/Call.d.ts.map +1 -1
  149. package/dist/types/src/components/Call/Toolbar.d.ts +5 -5
  150. package/dist/types/src/components/Call/Toolbar.d.ts.map +1 -1
  151. package/dist/types/src/components/Chat/Chat.d.ts +51 -0
  152. package/dist/types/src/components/Chat/Chat.d.ts.map +1 -0
  153. package/dist/types/src/components/Chat/index.d.ts +2 -0
  154. package/dist/types/src/components/Chat/index.d.ts.map +1 -0
  155. package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts.map +1 -1
  156. package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts +70 -70
  157. package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -1
  158. package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -1
  159. package/dist/types/src/components/Lobby/Lobby.d.ts +24 -3
  160. package/dist/types/src/components/Lobby/Lobby.d.ts.map +1 -1
  161. package/dist/types/src/components/Media/VideoObject.d.ts +1 -1
  162. package/dist/types/src/components/Media/VideoObject.stories.d.ts +1 -1
  163. package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +1 -1
  164. package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -1
  165. package/dist/types/src/components/Participant/ParticipantGrid.d.ts.map +1 -1
  166. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts.map +1 -1
  167. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +70 -70
  168. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +1 -1
  169. package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts.map +1 -1
  170. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +1 -1
  171. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +70 -70
  172. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +1 -1
  173. package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -1
  174. package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts +70 -70
  175. package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts.map +1 -1
  176. package/dist/types/src/components/index.d.ts +1 -0
  177. package/dist/types/src/components/index.d.ts.map +1 -1
  178. package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +1 -1
  179. package/dist/types/src/containers/ChannelChat/ChannelChat.d.ts +20 -0
  180. package/dist/types/src/containers/ChannelChat/ChannelChat.d.ts.map +1 -0
  181. package/dist/types/src/containers/ChannelChat/index.d.ts +4 -0
  182. package/dist/types/src/containers/ChannelChat/index.d.ts.map +1 -0
  183. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +1 -1
  184. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +1 -1
  185. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts +70 -70
  186. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +1 -1
  187. package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -1
  188. package/dist/types/src/containers/ThreadContainer/ThreadContainer.d.ts +20 -0
  189. package/dist/types/src/containers/ThreadContainer/ThreadContainer.d.ts.map +1 -0
  190. package/dist/types/src/containers/{ChatContainer/ChatContainer.stories.d.ts → ThreadContainer/ThreadContainer.stories.d.ts} +71 -71
  191. package/dist/types/src/containers/ThreadContainer/ThreadContainer.stories.d.ts.map +1 -0
  192. package/dist/types/src/containers/ThreadContainer/index.d.ts +4 -0
  193. package/dist/types/src/containers/ThreadContainer/index.d.ts.map +1 -0
  194. package/dist/types/src/containers/index.d.ts +2 -1
  195. package/dist/types/src/containers/index.d.ts.map +1 -1
  196. package/dist/types/src/extensions/threads.d.ts +3 -3
  197. package/dist/types/src/extensions/threads.d.ts.map +1 -1
  198. package/dist/types/src/hooks/analytics.d.ts.map +1 -1
  199. package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
  200. package/dist/types/src/hooks/useVideoStreamTrack.d.ts.map +1 -1
  201. package/dist/types/src/index.d.ts +2 -2
  202. package/dist/types/src/index.d.ts.map +1 -1
  203. package/dist/types/src/operations/add-message.d.ts +3 -3
  204. package/dist/types/src/operations/add-message.d.ts.map +1 -1
  205. package/dist/types/src/operations/append-channel-message.d.ts +5 -0
  206. package/dist/types/src/operations/append-channel-message.d.ts.map +1 -0
  207. package/dist/types/src/operations/create-channel.d.ts +3 -3
  208. package/dist/types/src/operations/create-channel.d.ts.map +1 -1
  209. package/dist/types/src/operations/create-proposals.d.ts +3 -3
  210. package/dist/types/src/operations/create-proposals.d.ts.map +1 -1
  211. package/dist/types/src/operations/create.d.ts +3 -3
  212. package/dist/types/src/operations/create.d.ts.map +1 -1
  213. package/dist/types/src/operations/delete-message.d.ts +3 -3
  214. package/dist/types/src/operations/delete-message.d.ts.map +1 -1
  215. package/dist/types/src/operations/delete.d.ts +3 -3
  216. package/dist/types/src/operations/delete.d.ts.map +1 -1
  217. package/dist/types/src/operations/index.d.ts +1 -2
  218. package/dist/types/src/operations/index.d.ts.map +1 -1
  219. package/dist/types/src/operations/on-create-space.d.ts +3 -3
  220. package/dist/types/src/operations/on-create-space.d.ts.map +1 -1
  221. package/dist/types/src/operations/restore-message.d.ts +3 -3
  222. package/dist/types/src/operations/restore-message.d.ts.map +1 -1
  223. package/dist/types/src/operations/restore.d.ts +3 -3
  224. package/dist/types/src/operations/restore.d.ts.map +1 -1
  225. package/dist/types/src/operations/select.d.ts +3 -3
  226. package/dist/types/src/operations/select.d.ts.map +1 -1
  227. package/dist/types/src/operations/toggle-resolved.d.ts +3 -3
  228. package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -1
  229. package/dist/types/src/plugin.d.ts +4 -0
  230. package/dist/types/src/plugin.d.ts.map +1 -0
  231. package/dist/types/src/testing/data.d.ts.map +1 -1
  232. package/dist/types/src/testing/index.d.ts +1 -1
  233. package/dist/types/src/testing/index.d.ts.map +1 -1
  234. package/dist/types/src/translations.d.ts +70 -70
  235. package/dist/types/src/translations.d.ts.map +1 -1
  236. package/dist/types/src/types/ThreadCapabilities.d.ts +26 -0
  237. package/dist/types/src/types/ThreadCapabilities.d.ts.map +1 -0
  238. package/dist/types/src/{operations/definitions.d.ts → types/ThreadOperation.d.ts} +864 -1673
  239. package/dist/types/src/types/ThreadOperation.d.ts.map +1 -0
  240. package/dist/types/src/types/index.d.ts +3 -2
  241. package/dist/types/src/types/index.d.ts.map +1 -1
  242. package/dist/types/src/types/types.d.ts +1 -1
  243. package/dist/types/src/types/types.d.ts.map +1 -1
  244. package/dist/types/src/util.d.ts +6 -3
  245. package/dist/types/src/util.d.ts.map +1 -1
  246. package/dist/types/tsconfig.tsbuildinfo +1 -1
  247. package/package.json +124 -86
  248. package/src/ThreadPlugin.node.ts +39 -0
  249. package/src/ThreadPlugin.test.ts +37 -0
  250. package/src/ThreadPlugin.tsx +13 -57
  251. package/src/blueprints/thread-blueprint.ts +3 -4
  252. package/src/calls/util/calls-service.ts +3 -1
  253. package/src/calls/util/stub-media-streams.ts +3 -1
  254. package/src/capabilities/app-graph-builder.ts +21 -19
  255. package/src/capabilities/blueprint-definition.ts +2 -0
  256. package/src/capabilities/call-manager.ts +1 -1
  257. package/src/capabilities/create-object.ts +29 -0
  258. package/src/capabilities/index.ts +3 -1
  259. package/src/capabilities/markdown.ts +6 -2
  260. package/src/capabilities/operation-handler.ts +1 -1
  261. package/src/capabilities/react-surface.tsx +13 -7
  262. package/src/capabilities/settings.ts +1 -3
  263. package/src/capabilities/undo-mappings.ts +1 -1
  264. package/src/components/Call/Call.tsx +5 -5
  265. package/src/components/Call/Toolbar.tsx +1 -1
  266. package/src/components/Chat/Chat.tsx +258 -0
  267. package/src/components/Chat/index.ts +5 -0
  268. package/src/components/CommentsPanel/CommentsPanel.stories.tsx +6 -4
  269. package/src/components/CommentsPanel/CommentsPanel.tsx +4 -4
  270. package/src/components/CommentsPanel/CommentsThread.tsx +2 -3
  271. package/src/components/Lobby/Lobby.tsx +5 -4
  272. package/src/components/MessagePanel/MessagePanel.tsx +8 -9
  273. package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +2 -1
  274. package/src/components/ResponsiveGrid/ResponsivePanel.stories.tsx +2 -1
  275. package/src/components/ResponsiveGrid/ResponsivePanel.tsx +3 -5
  276. package/src/components/ThreadSettings/ThreadSettings.stories.tsx +2 -1
  277. package/src/components/index.ts +1 -0
  278. package/src/containers/ChannelChat/ChannelChat.tsx +75 -0
  279. package/src/containers/ChannelChat/index.ts +8 -0
  280. package/src/containers/ChannelContainer/ChannelContainer.stories.tsx +54 -10
  281. package/src/containers/ChannelContainer/ChannelContainer.tsx +4 -4
  282. package/src/containers/ThreadCompanion/ThreadCompanion.tsx +10 -12
  283. package/src/containers/{ChatContainer/ChatContainer.stories.tsx → ThreadContainer/ThreadContainer.stories.tsx} +10 -11
  284. package/src/containers/ThreadContainer/ThreadContainer.tsx +75 -0
  285. package/src/containers/ThreadContainer/index.ts +8 -0
  286. package/src/containers/index.ts +2 -1
  287. package/src/extensions/command.ts +1 -1
  288. package/src/extensions/threads.ts +9 -9
  289. package/src/hooks/analytics.ts +1 -1
  290. package/src/index.ts +4 -3
  291. package/src/operations/add-message.ts +7 -7
  292. package/src/operations/append-channel-message.ts +37 -0
  293. package/src/operations/create-channel.ts +4 -4
  294. package/src/operations/create-proposals.ts +3 -3
  295. package/src/operations/create.ts +4 -4
  296. package/src/operations/delete-message.ts +6 -6
  297. package/src/operations/delete.ts +4 -4
  298. package/src/operations/index.ts +2 -4
  299. package/src/operations/on-create-space.ts +4 -4
  300. package/src/operations/restore-message.ts +5 -5
  301. package/src/operations/restore.ts +4 -4
  302. package/src/operations/select.ts +3 -3
  303. package/src/operations/toggle-resolved.ts +5 -5
  304. package/src/plugin.ts +11 -0
  305. package/src/testing/index.ts +1 -1
  306. package/src/translations.ts +1 -1
  307. package/src/types/ThreadCapabilities.ts +41 -0
  308. package/src/{operations/definitions.ts → types/ThreadOperation.ts} +14 -13
  309. package/src/types/index.ts +4 -2
  310. package/src/types/types.ts +0 -2
  311. package/src/util.ts +36 -4
  312. package/dist/lib/browser/add-message-VPPFFLFL.mjs.map +0 -7
  313. package/dist/lib/browser/blueprints/index.mjs.map +0 -7
  314. package/dist/lib/browser/chunk-MESW3R4Q.mjs +0 -61
  315. package/dist/lib/browser/chunk-MESW3R4Q.mjs.map +0 -7
  316. package/dist/lib/browser/chunk-VPM44Z35.mjs.map +0 -7
  317. package/dist/lib/browser/create-UGT7V733.mjs.map +0 -7
  318. package/dist/lib/browser/create-channel-EF67LCS6.mjs +0 -21
  319. package/dist/lib/browser/create-channel-EF67LCS6.mjs.map +0 -7
  320. package/dist/lib/browser/create-channel-thread-CCZTSWQ6.mjs +0 -28
  321. package/dist/lib/browser/create-channel-thread-CCZTSWQ6.mjs.map +0 -7
  322. package/dist/lib/browser/create-proposals-CMK7S7VS.mjs.map +0 -7
  323. package/dist/lib/browser/delete-FSFVU6ZA.mjs.map +0 -7
  324. package/dist/lib/browser/delete-message-XL5M5J33.mjs.map +0 -7
  325. package/dist/lib/browser/index.mjs.map +0 -7
  326. package/dist/lib/browser/meta.json +0 -1
  327. package/dist/lib/browser/on-create-space-VYS2JGVT.mjs +0 -25
  328. package/dist/lib/browser/on-create-space-VYS2JGVT.mjs.map +0 -7
  329. package/dist/lib/browser/operations/index.mjs +0 -14
  330. package/dist/lib/browser/operations/index.mjs.map +0 -7
  331. package/dist/lib/browser/restore-2ZGMKUSD.mjs.map +0 -7
  332. package/dist/lib/browser/restore-message-OYEGWPII.mjs.map +0 -7
  333. package/dist/lib/browser/select-VG2XLULE.mjs.map +0 -7
  334. package/dist/lib/browser/toggle-resolved-MM6YC5BU.mjs.map +0 -7
  335. package/dist/lib/browser/types/index.mjs +0 -12
  336. package/dist/lib/node-esm/add-message-XWKHLNS6.mjs +0 -98
  337. package/dist/lib/node-esm/add-message-XWKHLNS6.mjs.map +0 -7
  338. package/dist/lib/node-esm/blueprints/index.mjs +0 -38
  339. package/dist/lib/node-esm/blueprints/index.mjs.map +0 -7
  340. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  341. package/dist/lib/node-esm/chunk-JTHXNWKJ.mjs +0 -260
  342. package/dist/lib/node-esm/chunk-JTHXNWKJ.mjs.map +0 -7
  343. package/dist/lib/node-esm/chunk-SDRAQNSQ.mjs +0 -62
  344. package/dist/lib/node-esm/chunk-SDRAQNSQ.mjs.map +0 -7
  345. package/dist/lib/node-esm/create-XAYNDVU2.mjs +0 -56
  346. package/dist/lib/node-esm/create-XAYNDVU2.mjs.map +0 -7
  347. package/dist/lib/node-esm/create-channel-UYWUNB3L.mjs +0 -22
  348. package/dist/lib/node-esm/create-channel-UYWUNB3L.mjs.map +0 -7
  349. package/dist/lib/node-esm/create-channel-thread-UQF2SBHS.mjs +0 -29
  350. package/dist/lib/node-esm/create-channel-thread-UQF2SBHS.mjs.map +0 -7
  351. package/dist/lib/node-esm/create-proposals-5FJNURKH.mjs +0 -58
  352. package/dist/lib/node-esm/create-proposals-5FJNURKH.mjs.map +0 -7
  353. package/dist/lib/node-esm/delete-WRODXR3E.mjs +0 -60
  354. package/dist/lib/node-esm/delete-WRODXR3E.mjs.map +0 -7
  355. package/dist/lib/node-esm/delete-message-TAHCYTW2.mjs +0 -65
  356. package/dist/lib/node-esm/delete-message-TAHCYTW2.mjs.map +0 -7
  357. package/dist/lib/node-esm/index.mjs +0 -2335
  358. package/dist/lib/node-esm/index.mjs.map +0 -7
  359. package/dist/lib/node-esm/meta.json +0 -1
  360. package/dist/lib/node-esm/on-create-space-XDY2YXPV.mjs +0 -26
  361. package/dist/lib/node-esm/on-create-space-XDY2YXPV.mjs.map +0 -7
  362. package/dist/lib/node-esm/operations/index.mjs +0 -15
  363. package/dist/lib/node-esm/operations/index.mjs.map +0 -7
  364. package/dist/lib/node-esm/restore-T3QA7TSL.mjs +0 -34
  365. package/dist/lib/node-esm/restore-T3QA7TSL.mjs.map +0 -7
  366. package/dist/lib/node-esm/restore-message-WFTEVBEV.mjs +0 -43
  367. package/dist/lib/node-esm/restore-message-WFTEVBEV.mjs.map +0 -7
  368. package/dist/lib/node-esm/select-Q4UDWJJF.mjs +0 -27
  369. package/dist/lib/node-esm/select-Q4UDWJJF.mjs.map +0 -7
  370. package/dist/lib/node-esm/toggle-resolved-33XTAK2H.mjs +0 -46
  371. package/dist/lib/node-esm/toggle-resolved-33XTAK2H.mjs.map +0 -7
  372. package/dist/lib/node-esm/types/index.mjs +0 -13
  373. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts +0 -16
  374. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +0 -1
  375. package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts.map +0 -1
  376. package/dist/types/src/containers/ChatContainer/index.d.ts +0 -4
  377. package/dist/types/src/containers/ChatContainer/index.d.ts.map +0 -1
  378. package/dist/types/src/operations/create-channel-thread.d.ts +0 -5
  379. package/dist/types/src/operations/create-channel-thread.d.ts.map +0 -1
  380. package/dist/types/src/operations/definitions.d.ts.map +0 -1
  381. package/dist/types/src/testing/stories.d.ts +0 -3
  382. package/dist/types/src/testing/stories.d.ts.map +0 -1
  383. package/dist/types/src/types/Channel.d.ts +0 -715
  384. package/dist/types/src/types/Channel.d.ts.map +0 -1
  385. package/dist/types/src/types/capabilities.d.ts +0 -24
  386. package/dist/types/src/types/capabilities.d.ts.map +0 -1
  387. package/src/containers/ChatContainer/ChatContainer.tsx +0 -131
  388. package/src/containers/ChatContainer/index.ts +0 -8
  389. package/src/operations/create-channel-thread.ts +0 -26
  390. package/src/testing/stories.ts +0 -51
  391. package/src/types/Channel.ts +0 -37
  392. package/src/types/capabilities.ts +0 -36
  393. /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ChannelChat-6YTD5HWL.mjs.map} +0 -0
  394. /package/dist/lib/{browser/types/index.mjs.map → neutral/ChannelContainer-XHBF2NCK.mjs.map} +0 -0
  395. /package/dist/lib/{node-esm/types → neutral/blueprints}/index.mjs.map +0 -0
  396. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  397. /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  import { Capability } from '@dxos/app-framework';
3
+ import { Operation } from '@dxos/compute';
3
4
  import { Database, Key, Obj } from '@dxos/echo';
4
- import { Operation } from '@dxos/operation';
5
5
  export declare const OnCreateSpace: Operation.Definition<{
6
6
  readonly space: import("@dxos/client-protocol").Space;
7
7
  readonly rootCollection: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
@@ -11,929 +11,115 @@ export declare const OnCreateSpace: Operation.Definition<{
11
11
  readonly isDefault?: boolean | undefined;
12
12
  }, void, Capability.Service>;
13
13
  export declare const CreateChannel: Operation.Definition<{
14
- readonly name?: string | undefined;
15
14
  readonly spaceId: Key.SpaceId;
15
+ readonly name?: string | undefined;
16
16
  }, {
17
17
  readonly object: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
18
18
  readonly name?: string | undefined;
19
- readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
19
+ readonly feed: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
20
20
  readonly name?: string | undefined;
21
- readonly status?: "active" | "staged" | "resolved" | undefined;
22
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
23
- readonly id: string;
24
- readonly parentMessage?: string | undefined;
25
- readonly threadId?: string | undefined;
26
- readonly created: string;
27
- readonly sender: {
28
- readonly name?: string | undefined;
29
- readonly role?: "user" | "assistant" | "tool" | undefined;
30
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
31
- readonly image?: string | undefined;
32
- readonly fullName?: string | undefined;
33
- readonly preferredName?: string | undefined;
34
- readonly nickname?: string | undefined;
35
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
36
- readonly description?: string | undefined;
37
- readonly name?: string | undefined;
38
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
39
- readonly image?: string | undefined;
40
- readonly website?: string | undefined;
41
- } & {
42
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
43
- }> | undefined;
44
- readonly jobTitle?: string | undefined;
45
- readonly department?: string | undefined;
46
- readonly notes?: string | undefined;
47
- readonly emails?: readonly {
48
- readonly value: string;
49
- readonly label?: string | undefined;
50
- }[] | undefined;
51
- readonly identities?: readonly {
52
- readonly value: string;
53
- readonly label?: string | undefined;
54
- }[] | undefined;
55
- readonly phoneNumbers?: readonly {
56
- readonly value: string;
57
- readonly label?: string | undefined;
58
- }[] | undefined;
59
- readonly fields?: readonly {
60
- readonly value: string;
61
- readonly label: string;
62
- readonly category?: string | undefined;
63
- }[] | undefined;
64
- readonly addresses?: readonly {
65
- readonly value: {
66
- readonly street?: string | undefined;
67
- readonly extended?: string | undefined;
68
- readonly locality?: string | undefined;
69
- readonly region?: string | undefined;
70
- readonly postalCode?: string | undefined;
71
- readonly postOfficeBoxNumber?: string | undefined;
72
- readonly country?: string | undefined;
73
- };
74
- readonly label?: string | undefined;
75
- }[] | undefined;
76
- readonly urls?: readonly {
77
- readonly value: string;
78
- readonly label?: string | undefined;
79
- }[] | undefined;
80
- readonly birthday?: string | undefined;
81
- } & {
82
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
83
- }> | undefined;
84
- readonly identityDid?: string | undefined;
85
- readonly identityKey?: string | undefined;
86
- readonly email?: string | undefined;
87
- };
88
- readonly blocks: readonly ({
89
- readonly pending?: boolean | undefined;
90
- readonly text: string;
91
- readonly mimeType?: string | undefined;
92
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
93
- readonly _tag: "text";
94
- } | {
95
- readonly pending?: boolean | undefined;
96
- readonly _tag: "reasoning";
97
- readonly reasoningText?: string | undefined;
98
- readonly redactedText?: string | undefined;
99
- readonly signature?: string | undefined;
100
- } | {
101
- readonly name: string;
102
- readonly pending?: boolean | undefined;
103
- readonly _tag: "toolCall";
104
- readonly toolCallId: string;
105
- readonly input: string;
106
- readonly providerExecuted: boolean;
107
- } | {
108
- readonly name: string;
109
- readonly pending?: boolean | undefined;
110
- readonly _tag: "toolResult";
111
- readonly toolCallId: string;
112
- readonly providerExecuted: boolean;
113
- readonly result?: string | undefined;
114
- readonly error?: string | undefined;
115
- } | {
116
- readonly pending?: boolean | undefined;
117
- readonly mimeType?: string | undefined;
118
- readonly _tag: "stats";
119
- readonly message?: string | undefined;
120
- readonly model?: string | undefined;
121
- readonly usage?: {
122
- readonly inputTokens?: number | undefined;
123
- readonly outputTokens?: number | undefined;
124
- readonly totalTokens?: number | undefined;
125
- } | undefined;
126
- readonly toolCalls?: number | undefined;
127
- readonly errors?: number | undefined;
128
- readonly duration?: number | undefined;
129
- } | {
130
- readonly source?: {
131
- readonly type: "base64";
132
- readonly mediaType: string;
133
- readonly data: string;
134
- } | {
135
- readonly type: "http";
136
- readonly url: string;
137
- } | undefined;
138
- readonly id?: string | undefined;
139
- readonly pending?: boolean | undefined;
140
- readonly _tag: "image";
141
- } | {
142
- readonly name?: string | undefined;
143
- readonly pending?: boolean | undefined;
144
- readonly _tag: "file";
145
- readonly mediaType?: string | undefined;
146
- readonly url: string;
147
- } | {
148
- readonly pending?: boolean | undefined;
149
- readonly _tag: "reference";
150
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
151
- } | {
152
- readonly pending?: boolean | undefined;
153
- readonly text: string;
154
- readonly _tag: "transcript";
155
- readonly started: string;
156
- } | {
157
- readonly pending?: boolean | undefined;
158
- readonly _tag: "status";
159
- readonly statusText: string;
160
- } | {
161
- readonly pending?: boolean | undefined;
162
- readonly text: string;
163
- readonly _tag: "suggestion";
164
- } | {
165
- readonly pending?: boolean | undefined;
166
- readonly _tag: "select";
167
- readonly options: string[];
168
- } | {
169
- readonly version: unknown;
170
- readonly pending?: boolean | undefined;
171
- readonly _tag: "anchor";
172
- readonly objectId: string;
173
- } | {
174
- readonly pending?: boolean | undefined;
175
- readonly text: string;
176
- readonly _tag: "proposal";
177
- } | {
178
- readonly pending?: boolean | undefined;
179
- readonly _tag: "summary";
180
- readonly content: string;
181
- } | {
182
- readonly pending?: boolean | undefined;
183
- readonly _tag: "toolkit";
184
- } | {
185
- readonly pending?: boolean | undefined;
186
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
187
- readonly _tag: "json";
188
- readonly data: string;
189
- })[];
190
- readonly properties?: {
191
- readonly [x: string]: any;
192
- } | undefined;
193
- }>[];
21
+ readonly kind?: string | undefined;
22
+ readonly namespace?: "data" | "trace" | undefined;
194
23
  }>;
195
- readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
196
- readonly name?: string | undefined;
197
- readonly status?: "active" | "staged" | "resolved" | undefined;
198
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
199
- readonly id: string;
200
- readonly parentMessage?: string | undefined;
201
- readonly threadId?: string | undefined;
202
- readonly created: string;
203
- readonly sender: {
204
- readonly name?: string | undefined;
205
- readonly role?: "user" | "assistant" | "tool" | undefined;
206
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
207
- readonly image?: string | undefined;
208
- readonly fullName?: string | undefined;
209
- readonly preferredName?: string | undefined;
210
- readonly nickname?: string | undefined;
211
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
212
- readonly description?: string | undefined;
213
- readonly name?: string | undefined;
214
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
215
- readonly image?: string | undefined;
216
- readonly website?: string | undefined;
217
- } & {
218
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
219
- }> | undefined;
220
- readonly jobTitle?: string | undefined;
221
- readonly department?: string | undefined;
222
- readonly notes?: string | undefined;
223
- readonly emails?: readonly {
224
- readonly value: string;
225
- readonly label?: string | undefined;
226
- }[] | undefined;
227
- readonly identities?: readonly {
228
- readonly value: string;
229
- readonly label?: string | undefined;
230
- }[] | undefined;
231
- readonly phoneNumbers?: readonly {
232
- readonly value: string;
233
- readonly label?: string | undefined;
234
- }[] | undefined;
235
- readonly fields?: readonly {
236
- readonly value: string;
237
- readonly label: string;
238
- readonly category?: string | undefined;
239
- }[] | undefined;
240
- readonly addresses?: readonly {
241
- readonly value: {
242
- readonly street?: string | undefined;
243
- readonly extended?: string | undefined;
244
- readonly locality?: string | undefined;
245
- readonly region?: string | undefined;
246
- readonly postalCode?: string | undefined;
247
- readonly postOfficeBoxNumber?: string | undefined;
248
- readonly country?: string | undefined;
249
- };
250
- readonly label?: string | undefined;
251
- }[] | undefined;
252
- readonly urls?: readonly {
253
- readonly value: string;
254
- readonly label?: string | undefined;
255
- }[] | undefined;
256
- readonly birthday?: string | undefined;
257
- } & {
258
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
259
- }> | undefined;
260
- readonly identityDid?: string | undefined;
261
- readonly identityKey?: string | undefined;
262
- readonly email?: string | undefined;
263
- };
264
- readonly blocks: readonly ({
265
- readonly pending?: boolean | undefined;
266
- readonly text: string;
267
- readonly mimeType?: string | undefined;
268
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
269
- readonly _tag: "text";
270
- } | {
271
- readonly pending?: boolean | undefined;
272
- readonly _tag: "reasoning";
273
- readonly reasoningText?: string | undefined;
274
- readonly redactedText?: string | undefined;
275
- readonly signature?: string | undefined;
276
- } | {
277
- readonly name: string;
278
- readonly pending?: boolean | undefined;
279
- readonly _tag: "toolCall";
280
- readonly toolCallId: string;
281
- readonly input: string;
282
- readonly providerExecuted: boolean;
283
- } | {
284
- readonly name: string;
285
- readonly pending?: boolean | undefined;
286
- readonly _tag: "toolResult";
287
- readonly toolCallId: string;
288
- readonly providerExecuted: boolean;
289
- readonly result?: string | undefined;
290
- readonly error?: string | undefined;
291
- } | {
292
- readonly pending?: boolean | undefined;
293
- readonly mimeType?: string | undefined;
294
- readonly _tag: "stats";
295
- readonly message?: string | undefined;
296
- readonly model?: string | undefined;
297
- readonly usage?: {
298
- readonly inputTokens?: number | undefined;
299
- readonly outputTokens?: number | undefined;
300
- readonly totalTokens?: number | undefined;
301
- } | undefined;
302
- readonly toolCalls?: number | undefined;
303
- readonly errors?: number | undefined;
304
- readonly duration?: number | undefined;
305
- } | {
306
- readonly source?: {
307
- readonly type: "base64";
308
- readonly mediaType: string;
309
- readonly data: string;
310
- } | {
311
- readonly type: "http";
312
- readonly url: string;
313
- } | undefined;
314
- readonly id?: string | undefined;
315
- readonly pending?: boolean | undefined;
316
- readonly _tag: "image";
317
- } | {
318
- readonly name?: string | undefined;
319
- readonly pending?: boolean | undefined;
320
- readonly _tag: "file";
321
- readonly mediaType?: string | undefined;
322
- readonly url: string;
323
- } | {
324
- readonly pending?: boolean | undefined;
325
- readonly _tag: "reference";
326
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
327
- } | {
328
- readonly pending?: boolean | undefined;
329
- readonly text: string;
330
- readonly _tag: "transcript";
331
- readonly started: string;
332
- } | {
333
- readonly pending?: boolean | undefined;
334
- readonly _tag: "status";
335
- readonly statusText: string;
336
- } | {
337
- readonly pending?: boolean | undefined;
338
- readonly text: string;
339
- readonly _tag: "suggestion";
340
- } | {
341
- readonly pending?: boolean | undefined;
342
- readonly _tag: "select";
343
- readonly options: string[];
344
- } | {
345
- readonly version: unknown;
346
- readonly pending?: boolean | undefined;
347
- readonly _tag: "anchor";
348
- readonly objectId: string;
349
- } | {
350
- readonly pending?: boolean | undefined;
351
- readonly text: string;
352
- readonly _tag: "proposal";
353
- } | {
354
- readonly pending?: boolean | undefined;
355
- readonly _tag: "summary";
356
- readonly content: string;
357
- } | {
358
- readonly pending?: boolean | undefined;
359
- readonly _tag: "toolkit";
360
- } | {
361
- readonly pending?: boolean | undefined;
362
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
363
- readonly _tag: "json";
364
- readonly data: string;
365
- })[];
366
- readonly properties?: {
367
- readonly [x: string]: any;
368
- } | undefined;
369
- }>[];
370
- }>[];
371
24
  };
372
25
  }, Capability.Service>;
373
- export declare const CreateChannelThread: Operation.Definition<{
26
+ export declare const AppendChannelMessage: Operation.Definition<{
374
27
  readonly channel: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
375
28
  readonly name?: string | undefined;
376
- readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
29
+ readonly feed: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
377
30
  readonly name?: string | undefined;
378
- readonly status?: "active" | "staged" | "resolved" | undefined;
379
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
380
- readonly id: string;
381
- readonly parentMessage?: string | undefined;
382
- readonly threadId?: string | undefined;
383
- readonly created: string;
384
- readonly sender: {
385
- readonly name?: string | undefined;
386
- readonly role?: "user" | "assistant" | "tool" | undefined;
387
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
388
- readonly image?: string | undefined;
389
- readonly fullName?: string | undefined;
390
- readonly preferredName?: string | undefined;
391
- readonly nickname?: string | undefined;
392
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
393
- readonly description?: string | undefined;
394
- readonly name?: string | undefined;
395
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
396
- readonly image?: string | undefined;
397
- readonly website?: string | undefined;
398
- } & {
399
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
400
- }> | undefined;
401
- readonly jobTitle?: string | undefined;
402
- readonly department?: string | undefined;
403
- readonly notes?: string | undefined;
404
- readonly emails?: readonly {
405
- readonly value: string;
406
- readonly label?: string | undefined;
407
- }[] | undefined;
408
- readonly identities?: readonly {
409
- readonly value: string;
410
- readonly label?: string | undefined;
411
- }[] | undefined;
412
- readonly phoneNumbers?: readonly {
413
- readonly value: string;
414
- readonly label?: string | undefined;
415
- }[] | undefined;
416
- readonly fields?: readonly {
417
- readonly value: string;
418
- readonly label: string;
419
- readonly category?: string | undefined;
420
- }[] | undefined;
421
- readonly addresses?: readonly {
422
- readonly value: {
423
- readonly street?: string | undefined;
424
- readonly extended?: string | undefined;
425
- readonly locality?: string | undefined;
426
- readonly region?: string | undefined;
427
- readonly postalCode?: string | undefined;
428
- readonly postOfficeBoxNumber?: string | undefined;
429
- readonly country?: string | undefined;
430
- };
431
- readonly label?: string | undefined;
432
- }[] | undefined;
433
- readonly urls?: readonly {
434
- readonly value: string;
435
- readonly label?: string | undefined;
436
- }[] | undefined;
437
- readonly birthday?: string | undefined;
438
- } & {
439
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
440
- }> | undefined;
441
- readonly identityDid?: string | undefined;
442
- readonly identityKey?: string | undefined;
443
- readonly email?: string | undefined;
444
- };
445
- readonly blocks: readonly ({
446
- readonly pending?: boolean | undefined;
447
- readonly text: string;
448
- readonly mimeType?: string | undefined;
449
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
450
- readonly _tag: "text";
451
- } | {
452
- readonly pending?: boolean | undefined;
453
- readonly _tag: "reasoning";
454
- readonly reasoningText?: string | undefined;
455
- readonly redactedText?: string | undefined;
456
- readonly signature?: string | undefined;
457
- } | {
458
- readonly name: string;
459
- readonly pending?: boolean | undefined;
460
- readonly _tag: "toolCall";
461
- readonly toolCallId: string;
462
- readonly input: string;
463
- readonly providerExecuted: boolean;
464
- } | {
465
- readonly name: string;
466
- readonly pending?: boolean | undefined;
467
- readonly _tag: "toolResult";
468
- readonly toolCallId: string;
469
- readonly providerExecuted: boolean;
470
- readonly result?: string | undefined;
471
- readonly error?: string | undefined;
472
- } | {
473
- readonly pending?: boolean | undefined;
474
- readonly mimeType?: string | undefined;
475
- readonly _tag: "stats";
476
- readonly message?: string | undefined;
477
- readonly model?: string | undefined;
478
- readonly usage?: {
479
- readonly inputTokens?: number | undefined;
480
- readonly outputTokens?: number | undefined;
481
- readonly totalTokens?: number | undefined;
482
- } | undefined;
483
- readonly toolCalls?: number | undefined;
484
- readonly errors?: number | undefined;
485
- readonly duration?: number | undefined;
486
- } | {
487
- readonly source?: {
488
- readonly type: "base64";
489
- readonly mediaType: string;
490
- readonly data: string;
491
- } | {
492
- readonly type: "http";
493
- readonly url: string;
494
- } | undefined;
495
- readonly id?: string | undefined;
496
- readonly pending?: boolean | undefined;
497
- readonly _tag: "image";
498
- } | {
499
- readonly name?: string | undefined;
500
- readonly pending?: boolean | undefined;
501
- readonly _tag: "file";
502
- readonly mediaType?: string | undefined;
503
- readonly url: string;
504
- } | {
505
- readonly pending?: boolean | undefined;
506
- readonly _tag: "reference";
507
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
508
- } | {
509
- readonly pending?: boolean | undefined;
510
- readonly text: string;
511
- readonly _tag: "transcript";
512
- readonly started: string;
513
- } | {
514
- readonly pending?: boolean | undefined;
515
- readonly _tag: "status";
516
- readonly statusText: string;
517
- } | {
518
- readonly pending?: boolean | undefined;
519
- readonly text: string;
520
- readonly _tag: "suggestion";
521
- } | {
522
- readonly pending?: boolean | undefined;
523
- readonly _tag: "select";
524
- readonly options: string[];
525
- } | {
526
- readonly version: unknown;
527
- readonly pending?: boolean | undefined;
528
- readonly _tag: "anchor";
529
- readonly objectId: string;
530
- } | {
531
- readonly pending?: boolean | undefined;
532
- readonly text: string;
533
- readonly _tag: "proposal";
534
- } | {
535
- readonly pending?: boolean | undefined;
536
- readonly _tag: "summary";
537
- readonly content: string;
538
- } | {
539
- readonly pending?: boolean | undefined;
540
- readonly _tag: "toolkit";
541
- } | {
542
- readonly pending?: boolean | undefined;
543
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
544
- readonly _tag: "json";
545
- readonly data: string;
546
- })[];
547
- readonly properties?: {
548
- readonly [x: string]: any;
549
- } | undefined;
550
- }>[];
31
+ readonly kind?: string | undefined;
32
+ readonly namespace?: "data" | "trace" | undefined;
551
33
  }>;
552
- readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
553
- readonly name?: string | undefined;
554
- readonly status?: "active" | "staged" | "resolved" | undefined;
555
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
556
- readonly id: string;
557
- readonly parentMessage?: string | undefined;
558
- readonly threadId?: string | undefined;
559
- readonly created: string;
560
- readonly sender: {
561
- readonly name?: string | undefined;
562
- readonly role?: "user" | "assistant" | "tool" | undefined;
563
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
564
- readonly image?: string | undefined;
565
- readonly fullName?: string | undefined;
566
- readonly preferredName?: string | undefined;
567
- readonly nickname?: string | undefined;
568
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
569
- readonly description?: string | undefined;
570
- readonly name?: string | undefined;
571
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
572
- readonly image?: string | undefined;
573
- readonly website?: string | undefined;
574
- } & {
575
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
576
- }> | undefined;
577
- readonly jobTitle?: string | undefined;
578
- readonly department?: string | undefined;
579
- readonly notes?: string | undefined;
580
- readonly emails?: readonly {
581
- readonly value: string;
582
- readonly label?: string | undefined;
583
- }[] | undefined;
584
- readonly identities?: readonly {
585
- readonly value: string;
586
- readonly label?: string | undefined;
587
- }[] | undefined;
588
- readonly phoneNumbers?: readonly {
589
- readonly value: string;
590
- readonly label?: string | undefined;
591
- }[] | undefined;
592
- readonly fields?: readonly {
593
- readonly value: string;
594
- readonly label: string;
595
- readonly category?: string | undefined;
596
- }[] | undefined;
597
- readonly addresses?: readonly {
598
- readonly value: {
599
- readonly street?: string | undefined;
600
- readonly extended?: string | undefined;
601
- readonly locality?: string | undefined;
602
- readonly region?: string | undefined;
603
- readonly postalCode?: string | undefined;
604
- readonly postOfficeBoxNumber?: string | undefined;
605
- readonly country?: string | undefined;
606
- };
607
- readonly label?: string | undefined;
608
- }[] | undefined;
609
- readonly urls?: readonly {
610
- readonly value: string;
611
- readonly label?: string | undefined;
612
- }[] | undefined;
613
- readonly birthday?: string | undefined;
614
- } & {
615
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
616
- }> | undefined;
617
- readonly identityDid?: string | undefined;
618
- readonly identityKey?: string | undefined;
619
- readonly email?: string | undefined;
620
- };
621
- readonly blocks: readonly ({
622
- readonly pending?: boolean | undefined;
623
- readonly text: string;
624
- readonly mimeType?: string | undefined;
625
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
626
- readonly _tag: "text";
627
- } | {
628
- readonly pending?: boolean | undefined;
629
- readonly _tag: "reasoning";
630
- readonly reasoningText?: string | undefined;
631
- readonly redactedText?: string | undefined;
632
- readonly signature?: string | undefined;
633
- } | {
634
- readonly name: string;
635
- readonly pending?: boolean | undefined;
636
- readonly _tag: "toolCall";
637
- readonly toolCallId: string;
638
- readonly input: string;
639
- readonly providerExecuted: boolean;
640
- } | {
641
- readonly name: string;
642
- readonly pending?: boolean | undefined;
643
- readonly _tag: "toolResult";
644
- readonly toolCallId: string;
645
- readonly providerExecuted: boolean;
646
- readonly result?: string | undefined;
647
- readonly error?: string | undefined;
648
- } | {
649
- readonly pending?: boolean | undefined;
650
- readonly mimeType?: string | undefined;
651
- readonly _tag: "stats";
652
- readonly message?: string | undefined;
653
- readonly model?: string | undefined;
654
- readonly usage?: {
655
- readonly inputTokens?: number | undefined;
656
- readonly outputTokens?: number | undefined;
657
- readonly totalTokens?: number | undefined;
658
- } | undefined;
659
- readonly toolCalls?: number | undefined;
660
- readonly errors?: number | undefined;
661
- readonly duration?: number | undefined;
662
- } | {
663
- readonly source?: {
664
- readonly type: "base64";
665
- readonly mediaType: string;
666
- readonly data: string;
667
- } | {
668
- readonly type: "http";
669
- readonly url: string;
670
- } | undefined;
671
- readonly id?: string | undefined;
672
- readonly pending?: boolean | undefined;
673
- readonly _tag: "image";
674
- } | {
675
- readonly name?: string | undefined;
676
- readonly pending?: boolean | undefined;
677
- readonly _tag: "file";
678
- readonly mediaType?: string | undefined;
679
- readonly url: string;
680
- } | {
681
- readonly pending?: boolean | undefined;
682
- readonly _tag: "reference";
683
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
684
- } | {
685
- readonly pending?: boolean | undefined;
686
- readonly text: string;
687
- readonly _tag: "transcript";
688
- readonly started: string;
689
- } | {
690
- readonly pending?: boolean | undefined;
691
- readonly _tag: "status";
692
- readonly statusText: string;
693
- } | {
694
- readonly pending?: boolean | undefined;
695
- readonly text: string;
696
- readonly _tag: "suggestion";
697
- } | {
698
- readonly pending?: boolean | undefined;
699
- readonly _tag: "select";
700
- readonly options: string[];
701
- } | {
702
- readonly version: unknown;
703
- readonly pending?: boolean | undefined;
704
- readonly _tag: "anchor";
705
- readonly objectId: string;
706
- } | {
707
- readonly pending?: boolean | undefined;
708
- readonly text: string;
709
- readonly _tag: "proposal";
710
- } | {
711
- readonly pending?: boolean | undefined;
712
- readonly _tag: "summary";
713
- readonly content: string;
714
- } | {
715
- readonly pending?: boolean | undefined;
716
- readonly _tag: "toolkit";
717
- } | {
718
- readonly pending?: boolean | undefined;
719
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
720
- readonly _tag: "json";
721
- readonly data: string;
722
- })[];
723
- readonly properties?: {
724
- readonly [x: string]: any;
725
- } | undefined;
726
- }>[];
727
- }>[];
728
34
  };
729
- }, {
730
- readonly object: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
731
- readonly name?: string | undefined;
732
- readonly status?: "active" | "staged" | "resolved" | undefined;
733
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
734
- readonly id: string;
735
- readonly parentMessage?: string | undefined;
736
- readonly threadId?: string | undefined;
737
- readonly created: string;
738
- readonly sender: {
739
- readonly name?: string | undefined;
740
- readonly role?: "user" | "assistant" | "tool" | undefined;
741
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
742
- readonly image?: string | undefined;
743
- readonly fullName?: string | undefined;
744
- readonly preferredName?: string | undefined;
745
- readonly nickname?: string | undefined;
746
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
747
- readonly description?: string | undefined;
748
- readonly name?: string | undefined;
749
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
750
- readonly image?: string | undefined;
751
- readonly website?: string | undefined;
752
- } & {
753
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
754
- }> | undefined;
755
- readonly jobTitle?: string | undefined;
756
- readonly department?: string | undefined;
757
- readonly notes?: string | undefined;
758
- readonly emails?: readonly {
759
- readonly value: string;
760
- readonly label?: string | undefined;
761
- }[] | undefined;
762
- readonly identities?: readonly {
763
- readonly value: string;
764
- readonly label?: string | undefined;
765
- }[] | undefined;
766
- readonly phoneNumbers?: readonly {
767
- readonly value: string;
768
- readonly label?: string | undefined;
769
- }[] | undefined;
770
- readonly fields?: readonly {
771
- readonly value: string;
772
- readonly label: string;
773
- readonly category?: string | undefined;
774
- }[] | undefined;
775
- readonly addresses?: readonly {
776
- readonly value: {
777
- readonly street?: string | undefined;
778
- readonly extended?: string | undefined;
779
- readonly locality?: string | undefined;
780
- readonly region?: string | undefined;
781
- readonly postalCode?: string | undefined;
782
- readonly postOfficeBoxNumber?: string | undefined;
783
- readonly country?: string | undefined;
784
- };
785
- readonly label?: string | undefined;
786
- }[] | undefined;
787
- readonly urls?: readonly {
788
- readonly value: string;
789
- readonly label?: string | undefined;
790
- }[] | undefined;
791
- readonly birthday?: string | undefined;
792
- } & {
793
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
794
- }> | undefined;
795
- readonly identityDid?: string | undefined;
796
- readonly identityKey?: string | undefined;
797
- readonly email?: string | undefined;
798
- };
799
- readonly blocks: readonly ({
800
- readonly pending?: boolean | undefined;
801
- readonly text: string;
802
- readonly mimeType?: string | undefined;
803
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
804
- readonly _tag: "text";
805
- } | {
806
- readonly pending?: boolean | undefined;
807
- readonly _tag: "reasoning";
808
- readonly reasoningText?: string | undefined;
809
- readonly redactedText?: string | undefined;
810
- readonly signature?: string | undefined;
811
- } | {
812
- readonly name: string;
813
- readonly pending?: boolean | undefined;
814
- readonly _tag: "toolCall";
815
- readonly toolCallId: string;
816
- readonly input: string;
817
- readonly providerExecuted: boolean;
818
- } | {
819
- readonly name: string;
820
- readonly pending?: boolean | undefined;
821
- readonly _tag: "toolResult";
822
- readonly toolCallId: string;
823
- readonly providerExecuted: boolean;
824
- readonly result?: string | undefined;
825
- readonly error?: string | undefined;
826
- } | {
827
- readonly pending?: boolean | undefined;
828
- readonly mimeType?: string | undefined;
829
- readonly _tag: "stats";
830
- readonly message?: string | undefined;
831
- readonly model?: string | undefined;
832
- readonly usage?: {
833
- readonly inputTokens?: number | undefined;
834
- readonly outputTokens?: number | undefined;
835
- readonly totalTokens?: number | undefined;
836
- } | undefined;
837
- readonly toolCalls?: number | undefined;
838
- readonly errors?: number | undefined;
839
- readonly duration?: number | undefined;
840
- } | {
841
- readonly source?: {
842
- readonly type: "base64";
843
- readonly mediaType: string;
844
- readonly data: string;
845
- } | {
846
- readonly type: "http";
847
- readonly url: string;
848
- } | undefined;
849
- readonly id?: string | undefined;
850
- readonly pending?: boolean | undefined;
851
- readonly _tag: "image";
852
- } | {
853
- readonly name?: string | undefined;
854
- readonly pending?: boolean | undefined;
855
- readonly _tag: "file";
856
- readonly mediaType?: string | undefined;
857
- readonly url: string;
858
- } | {
859
- readonly pending?: boolean | undefined;
860
- readonly _tag: "reference";
861
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
862
- } | {
863
- readonly pending?: boolean | undefined;
864
- readonly text: string;
865
- readonly _tag: "transcript";
866
- readonly started: string;
867
- } | {
868
- readonly pending?: boolean | undefined;
869
- readonly _tag: "status";
870
- readonly statusText: string;
871
- } | {
872
- readonly pending?: boolean | undefined;
873
- readonly text: string;
874
- readonly _tag: "suggestion";
875
- } | {
876
- readonly pending?: boolean | undefined;
877
- readonly _tag: "select";
878
- readonly options: string[];
879
- } | {
880
- readonly version: unknown;
881
- readonly pending?: boolean | undefined;
882
- readonly _tag: "anchor";
883
- readonly objectId: string;
884
- } | {
885
- readonly pending?: boolean | undefined;
886
- readonly text: string;
887
- readonly _tag: "proposal";
888
- } | {
889
- readonly pending?: boolean | undefined;
890
- readonly _tag: "summary";
891
- readonly content: string;
892
- } | {
893
- readonly pending?: boolean | undefined;
894
- readonly _tag: "toolkit";
895
- } | {
896
- readonly pending?: boolean | undefined;
897
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
898
- readonly _tag: "json";
899
- readonly data: string;
900
- })[];
901
- readonly properties?: {
902
- readonly [x: string]: any;
903
- } | undefined;
904
- }>[];
35
+ readonly sender: {
36
+ readonly role?: "assistant" | "tool" | "user" | undefined;
37
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
38
+ readonly fullName?: string | undefined;
39
+ readonly preferredName?: string | undefined;
40
+ readonly nickname?: string | undefined;
41
+ readonly image?: string | undefined;
42
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
43
+ readonly name?: string | undefined;
44
+ readonly description?: string | undefined;
45
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
46
+ readonly image?: string | undefined;
47
+ readonly website?: string | undefined;
48
+ } & {
49
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
50
+ }> | undefined;
51
+ readonly jobTitle?: string | undefined;
52
+ readonly department?: string | undefined;
53
+ readonly notes?: string | undefined;
54
+ readonly emails?: readonly {
55
+ readonly label?: string | undefined;
56
+ readonly value: string;
57
+ }[] | undefined;
58
+ readonly identities?: readonly {
59
+ readonly label?: string | undefined;
60
+ readonly value: string;
61
+ }[] | undefined;
62
+ readonly phoneNumbers?: readonly {
63
+ readonly label?: string | undefined;
64
+ readonly value: string;
65
+ }[] | undefined;
66
+ readonly addresses?: readonly {
67
+ readonly label?: string | undefined;
68
+ readonly value: {
69
+ readonly street?: string | undefined;
70
+ readonly extended?: string | undefined;
71
+ readonly locality?: string | undefined;
72
+ readonly region?: string | undefined;
73
+ readonly postalCode?: string | undefined;
74
+ readonly postOfficeBoxNumber?: string | undefined;
75
+ readonly country?: string | undefined;
76
+ };
77
+ }[] | undefined;
78
+ readonly urls?: readonly {
79
+ readonly label?: string | undefined;
80
+ readonly value: string;
81
+ }[] | undefined;
82
+ readonly birthday?: string | undefined;
83
+ readonly fields?: readonly {
84
+ readonly category?: string | undefined;
85
+ readonly label: string;
86
+ readonly value: string;
87
+ }[] | undefined;
88
+ } & {
89
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
90
+ }> | undefined;
91
+ readonly identityDid?: string | undefined;
92
+ readonly identityKey?: string | undefined;
93
+ readonly email?: string | undefined;
94
+ readonly name?: string | undefined;
905
95
  };
906
- }, Capability.Service>;
96
+ readonly text: string;
97
+ }, void, Capability.Service>;
907
98
  export declare const Create: Operation.Definition<{
908
99
  readonly name?: string | undefined;
909
100
  readonly anchor?: string | undefined;
910
101
  readonly subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown;
911
102
  }, void, Capability.Service>;
912
103
  export declare const DeleteOutput: Schema.SchemaClass<{
913
- readonly anchor?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
914
- readonly id: string;
915
- readonly anchor?: string | undefined;
916
- }) | undefined;
917
104
  readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
918
105
  readonly name?: string | undefined;
919
- readonly status?: "active" | "staged" | "resolved" | undefined;
106
+ readonly status?: "active" | "resolved" | "staged" | undefined;
920
107
  readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
921
108
  readonly id: string;
922
109
  readonly parentMessage?: string | undefined;
923
110
  readonly threadId?: string | undefined;
924
111
  readonly created: string;
925
112
  readonly sender: {
926
- readonly name?: string | undefined;
927
- readonly role?: "user" | "assistant" | "tool" | undefined;
113
+ readonly role?: "assistant" | "tool" | "user" | undefined;
928
114
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
929
- readonly image?: string | undefined;
930
115
  readonly fullName?: string | undefined;
931
116
  readonly preferredName?: string | undefined;
932
117
  readonly nickname?: string | undefined;
118
+ readonly image?: string | undefined;
933
119
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
934
- readonly description?: string | undefined;
935
120
  readonly name?: string | undefined;
936
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
121
+ readonly description?: string | undefined;
122
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
937
123
  readonly image?: string | undefined;
938
124
  readonly website?: string | undefined;
939
125
  } & {
@@ -943,23 +129,19 @@ export declare const DeleteOutput: Schema.SchemaClass<{
943
129
  readonly department?: string | undefined;
944
130
  readonly notes?: string | undefined;
945
131
  readonly emails?: readonly {
946
- readonly value: string;
947
132
  readonly label?: string | undefined;
133
+ readonly value: string;
948
134
  }[] | undefined;
949
135
  readonly identities?: readonly {
950
- readonly value: string;
951
136
  readonly label?: string | undefined;
137
+ readonly value: string;
952
138
  }[] | undefined;
953
139
  readonly phoneNumbers?: readonly {
954
- readonly value: string;
955
140
  readonly label?: string | undefined;
956
- }[] | undefined;
957
- readonly fields?: readonly {
958
141
  readonly value: string;
959
- readonly label: string;
960
- readonly category?: string | undefined;
961
142
  }[] | undefined;
962
143
  readonly addresses?: readonly {
144
+ readonly label?: string | undefined;
963
145
  readonly value: {
964
146
  readonly street?: string | undefined;
965
147
  readonly extended?: string | undefined;
@@ -969,62 +151,40 @@ export declare const DeleteOutput: Schema.SchemaClass<{
969
151
  readonly postOfficeBoxNumber?: string | undefined;
970
152
  readonly country?: string | undefined;
971
153
  };
972
- readonly label?: string | undefined;
973
154
  }[] | undefined;
974
155
  readonly urls?: readonly {
975
- readonly value: string;
976
156
  readonly label?: string | undefined;
157
+ readonly value: string;
977
158
  }[] | undefined;
978
159
  readonly birthday?: string | undefined;
160
+ readonly fields?: readonly {
161
+ readonly category?: string | undefined;
162
+ readonly label: string;
163
+ readonly value: string;
164
+ }[] | undefined;
979
165
  } & {
980
166
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
981
167
  }> | undefined;
982
168
  readonly identityDid?: string | undefined;
983
169
  readonly identityKey?: string | undefined;
984
170
  readonly email?: string | undefined;
171
+ readonly name?: string | undefined;
985
172
  };
986
173
  readonly blocks: readonly ({
174
+ readonly _tag: "anchor";
987
175
  readonly pending?: boolean | undefined;
988
- readonly text: string;
989
- readonly mimeType?: string | undefined;
990
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
991
- readonly _tag: "text";
992
- } | {
993
- readonly pending?: boolean | undefined;
994
- readonly _tag: "reasoning";
995
- readonly reasoningText?: string | undefined;
996
- readonly redactedText?: string | undefined;
997
- readonly signature?: string | undefined;
998
- } | {
999
- readonly name: string;
1000
- readonly pending?: boolean | undefined;
1001
- readonly _tag: "toolCall";
1002
- readonly toolCallId: string;
1003
- readonly input: string;
1004
- readonly providerExecuted: boolean;
176
+ readonly objectId: string;
177
+ readonly version: unknown;
1005
178
  } | {
1006
- readonly name: string;
179
+ readonly _tag: "file";
1007
180
  readonly pending?: boolean | undefined;
1008
- readonly _tag: "toolResult";
1009
- readonly toolCallId: string;
1010
- readonly providerExecuted: boolean;
1011
- readonly result?: string | undefined;
1012
- readonly error?: string | undefined;
181
+ readonly url: string;
182
+ readonly name?: string | undefined;
183
+ readonly mediaType?: string | undefined;
1013
184
  } | {
185
+ readonly _tag: "image";
1014
186
  readonly pending?: boolean | undefined;
1015
- readonly mimeType?: string | undefined;
1016
- readonly _tag: "stats";
1017
- readonly message?: string | undefined;
1018
- readonly model?: string | undefined;
1019
- readonly usage?: {
1020
- readonly inputTokens?: number | undefined;
1021
- readonly outputTokens?: number | undefined;
1022
- readonly totalTokens?: number | undefined;
1023
- } | undefined;
1024
- readonly toolCalls?: number | undefined;
1025
- readonly errors?: number | undefined;
1026
- readonly duration?: number | undefined;
1027
- } | {
187
+ readonly id?: string | undefined;
1028
188
  readonly source?: {
1029
189
  readonly type: "base64";
1030
190
  readonly mediaType: string;
@@ -1033,91 +193,121 @@ export declare const DeleteOutput: Schema.SchemaClass<{
1033
193
  readonly type: "http";
1034
194
  readonly url: string;
1035
195
  } | undefined;
1036
- readonly id?: string | undefined;
196
+ } | {
197
+ readonly _tag: "json";
1037
198
  readonly pending?: boolean | undefined;
1038
- readonly _tag: "image";
199
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
200
+ readonly data: string;
1039
201
  } | {
1040
- readonly name?: string | undefined;
202
+ readonly _tag: "proposal";
1041
203
  readonly pending?: boolean | undefined;
1042
- readonly _tag: "file";
1043
- readonly mediaType?: string | undefined;
1044
- readonly url: string;
204
+ readonly text: string;
1045
205
  } | {
206
+ readonly _tag: "reasoning";
1046
207
  readonly pending?: boolean | undefined;
208
+ readonly reasoningText?: string | undefined;
209
+ readonly redactedText?: string | undefined;
210
+ readonly signature?: string | undefined;
211
+ } | {
1047
212
  readonly _tag: "reference";
213
+ readonly pending?: boolean | undefined;
1048
214
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1049
215
  } | {
216
+ readonly _tag: "select";
1050
217
  readonly pending?: boolean | undefined;
1051
- readonly text: string;
1052
- readonly _tag: "transcript";
1053
- readonly started: string;
218
+ readonly options: string[];
1054
219
  } | {
1055
- readonly pending?: boolean | undefined;
1056
220
  readonly _tag: "status";
221
+ readonly pending?: boolean | undefined;
1057
222
  readonly statusText: string;
1058
223
  } | {
1059
- readonly pending?: boolean | undefined;
1060
- readonly text: string;
1061
224
  readonly _tag: "suggestion";
1062
- } | {
1063
225
  readonly pending?: boolean | undefined;
1064
- readonly _tag: "select";
1065
- readonly options: string[];
226
+ readonly text: string;
1066
227
  } | {
1067
- readonly version: unknown;
228
+ readonly _tag: "stats";
1068
229
  readonly pending?: boolean | undefined;
1069
- readonly _tag: "anchor";
1070
- readonly objectId: string;
230
+ readonly mimeType?: string | undefined;
231
+ readonly message?: string | undefined;
232
+ readonly model?: string | undefined;
233
+ readonly usage?: {
234
+ readonly inputTokens?: number | undefined;
235
+ readonly outputTokens?: number | undefined;
236
+ readonly totalTokens?: number | undefined;
237
+ } | undefined;
238
+ readonly toolCalls?: number | undefined;
239
+ readonly errors?: number | undefined;
240
+ readonly duration?: number | undefined;
1071
241
  } | {
242
+ readonly _tag: "text";
1072
243
  readonly pending?: boolean | undefined;
244
+ readonly mimeType?: string | undefined;
1073
245
  readonly text: string;
1074
- readonly _tag: "proposal";
246
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1075
247
  } | {
1076
- readonly pending?: boolean | undefined;
1077
248
  readonly _tag: "summary";
249
+ readonly pending?: boolean | undefined;
1078
250
  readonly content: string;
1079
251
  } | {
1080
- readonly pending?: boolean | undefined;
1081
252
  readonly _tag: "toolkit";
253
+ readonly pending?: boolean | undefined;
1082
254
  } | {
255
+ readonly _tag: "toolCall";
1083
256
  readonly pending?: boolean | undefined;
1084
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1085
- readonly _tag: "json";
1086
- readonly data: string;
257
+ readonly toolCallId: string;
258
+ readonly name: string;
259
+ readonly input: string;
260
+ readonly providerExecuted: boolean;
261
+ } | {
262
+ readonly _tag: "toolResult";
263
+ readonly pending?: boolean | undefined;
264
+ readonly toolCallId: string;
265
+ readonly name: string;
266
+ readonly result?: string | undefined;
267
+ readonly error?: string | undefined;
268
+ readonly providerExecuted: boolean;
269
+ } | {
270
+ readonly _tag: "transcript";
271
+ readonly pending?: boolean | undefined;
272
+ readonly started: string;
273
+ readonly text: string;
1087
274
  })[];
1088
275
  readonly properties?: {
1089
276
  readonly [x: string]: any;
1090
277
  } | undefined;
1091
278
  }>[];
1092
279
  }) | undefined;
280
+ readonly anchor?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
281
+ readonly id: string;
282
+ readonly anchor?: string | undefined;
283
+ }) | undefined;
1093
284
  }, {
1094
285
  readonly anchor?: {
1095
286
  id: string;
1096
287
  "@relationSource": string;
1097
288
  "@relationTarget": string;
1098
- anchor?: string | undefined | undefined;
289
+ anchor?: string | undefined;
1099
290
  } | undefined;
1100
291
  readonly thread?: {
1101
292
  id: string;
1102
- name?: string | undefined | undefined;
1103
- status?: "active" | "staged" | "resolved" | undefined | undefined;
293
+ name?: string | undefined;
294
+ status?: "active" | "resolved" | "staged" | undefined;
1104
295
  messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1105
296
  readonly id: string;
1106
297
  readonly parentMessage?: string | undefined;
1107
298
  readonly threadId?: string | undefined;
1108
299
  readonly created: string;
1109
300
  readonly sender: {
1110
- readonly name?: string | undefined;
1111
- readonly role?: "user" | "assistant" | "tool" | undefined;
301
+ readonly role?: "assistant" | "tool" | "user" | undefined;
1112
302
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1113
- readonly image?: string | undefined;
1114
303
  readonly fullName?: string | undefined;
1115
304
  readonly preferredName?: string | undefined;
1116
305
  readonly nickname?: string | undefined;
306
+ readonly image?: string | undefined;
1117
307
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1118
- readonly description?: string | undefined;
1119
308
  readonly name?: string | undefined;
1120
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
309
+ readonly description?: string | undefined;
310
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
1121
311
  readonly image?: string | undefined;
1122
312
  readonly website?: string | undefined;
1123
313
  } & {
@@ -1127,23 +317,19 @@ export declare const DeleteOutput: Schema.SchemaClass<{
1127
317
  readonly department?: string | undefined;
1128
318
  readonly notes?: string | undefined;
1129
319
  readonly emails?: readonly {
1130
- readonly value: string;
1131
320
  readonly label?: string | undefined;
321
+ readonly value: string;
1132
322
  }[] | undefined;
1133
323
  readonly identities?: readonly {
1134
- readonly value: string;
1135
324
  readonly label?: string | undefined;
325
+ readonly value: string;
1136
326
  }[] | undefined;
1137
327
  readonly phoneNumbers?: readonly {
1138
- readonly value: string;
1139
328
  readonly label?: string | undefined;
1140
- }[] | undefined;
1141
- readonly fields?: readonly {
1142
329
  readonly value: string;
1143
- readonly label: string;
1144
- readonly category?: string | undefined;
1145
330
  }[] | undefined;
1146
331
  readonly addresses?: readonly {
332
+ readonly label?: string | undefined;
1147
333
  readonly value: {
1148
334
  readonly street?: string | undefined;
1149
335
  readonly extended?: string | undefined;
@@ -1153,62 +339,40 @@ export declare const DeleteOutput: Schema.SchemaClass<{
1153
339
  readonly postOfficeBoxNumber?: string | undefined;
1154
340
  readonly country?: string | undefined;
1155
341
  };
1156
- readonly label?: string | undefined;
1157
342
  }[] | undefined;
1158
343
  readonly urls?: readonly {
1159
- readonly value: string;
1160
344
  readonly label?: string | undefined;
345
+ readonly value: string;
1161
346
  }[] | undefined;
1162
347
  readonly birthday?: string | undefined;
348
+ readonly fields?: readonly {
349
+ readonly category?: string | undefined;
350
+ readonly label: string;
351
+ readonly value: string;
352
+ }[] | undefined;
1163
353
  } & {
1164
354
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1165
355
  }> | undefined;
1166
356
  readonly identityDid?: string | undefined;
1167
357
  readonly identityKey?: string | undefined;
1168
358
  readonly email?: string | undefined;
359
+ readonly name?: string | undefined;
1169
360
  };
1170
361
  readonly blocks: readonly ({
362
+ readonly _tag: "anchor";
1171
363
  readonly pending?: boolean | undefined;
1172
- readonly text: string;
1173
- readonly mimeType?: string | undefined;
1174
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1175
- readonly _tag: "text";
1176
- } | {
1177
- readonly pending?: boolean | undefined;
1178
- readonly _tag: "reasoning";
1179
- readonly reasoningText?: string | undefined;
1180
- readonly redactedText?: string | undefined;
1181
- readonly signature?: string | undefined;
1182
- } | {
1183
- readonly name: string;
1184
- readonly pending?: boolean | undefined;
1185
- readonly _tag: "toolCall";
1186
- readonly toolCallId: string;
1187
- readonly input: string;
1188
- readonly providerExecuted: boolean;
1189
- } | {
1190
- readonly name: string;
1191
- readonly pending?: boolean | undefined;
1192
- readonly _tag: "toolResult";
1193
- readonly toolCallId: string;
1194
- readonly providerExecuted: boolean;
1195
- readonly result?: string | undefined;
1196
- readonly error?: string | undefined;
364
+ readonly objectId: string;
365
+ readonly version: unknown;
1197
366
  } | {
367
+ readonly _tag: "file";
1198
368
  readonly pending?: boolean | undefined;
1199
- readonly mimeType?: string | undefined;
1200
- readonly _tag: "stats";
1201
- readonly message?: string | undefined;
1202
- readonly model?: string | undefined;
1203
- readonly usage?: {
1204
- readonly inputTokens?: number | undefined;
1205
- readonly outputTokens?: number | undefined;
1206
- readonly totalTokens?: number | undefined;
1207
- } | undefined;
1208
- readonly toolCalls?: number | undefined;
1209
- readonly errors?: number | undefined;
1210
- readonly duration?: number | undefined;
369
+ readonly url: string;
370
+ readonly name?: string | undefined;
371
+ readonly mediaType?: string | undefined;
1211
372
  } | {
373
+ readonly _tag: "image";
374
+ readonly pending?: boolean | undefined;
375
+ readonly id?: string | undefined;
1212
376
  readonly source?: {
1213
377
  readonly type: "base64";
1214
378
  readonly mediaType: string;
@@ -1217,57 +381,84 @@ export declare const DeleteOutput: Schema.SchemaClass<{
1217
381
  readonly type: "http";
1218
382
  readonly url: string;
1219
383
  } | undefined;
1220
- readonly id?: string | undefined;
384
+ } | {
385
+ readonly _tag: "json";
1221
386
  readonly pending?: boolean | undefined;
1222
- readonly _tag: "image";
387
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
388
+ readonly data: string;
1223
389
  } | {
1224
- readonly name?: string | undefined;
390
+ readonly _tag: "proposal";
1225
391
  readonly pending?: boolean | undefined;
1226
- readonly _tag: "file";
1227
- readonly mediaType?: string | undefined;
1228
- readonly url: string;
392
+ readonly text: string;
1229
393
  } | {
394
+ readonly _tag: "reasoning";
1230
395
  readonly pending?: boolean | undefined;
396
+ readonly reasoningText?: string | undefined;
397
+ readonly redactedText?: string | undefined;
398
+ readonly signature?: string | undefined;
399
+ } | {
1231
400
  readonly _tag: "reference";
401
+ readonly pending?: boolean | undefined;
1232
402
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1233
403
  } | {
404
+ readonly _tag: "select";
1234
405
  readonly pending?: boolean | undefined;
1235
- readonly text: string;
1236
- readonly _tag: "transcript";
1237
- readonly started: string;
406
+ readonly options: string[];
1238
407
  } | {
1239
- readonly pending?: boolean | undefined;
1240
408
  readonly _tag: "status";
409
+ readonly pending?: boolean | undefined;
1241
410
  readonly statusText: string;
1242
411
  } | {
1243
- readonly pending?: boolean | undefined;
1244
- readonly text: string;
1245
412
  readonly _tag: "suggestion";
1246
- } | {
1247
413
  readonly pending?: boolean | undefined;
1248
- readonly _tag: "select";
1249
- readonly options: string[];
414
+ readonly text: string;
1250
415
  } | {
1251
- readonly version: unknown;
416
+ readonly _tag: "stats";
1252
417
  readonly pending?: boolean | undefined;
1253
- readonly _tag: "anchor";
1254
- readonly objectId: string;
418
+ readonly mimeType?: string | undefined;
419
+ readonly message?: string | undefined;
420
+ readonly model?: string | undefined;
421
+ readonly usage?: {
422
+ readonly inputTokens?: number | undefined;
423
+ readonly outputTokens?: number | undefined;
424
+ readonly totalTokens?: number | undefined;
425
+ } | undefined;
426
+ readonly toolCalls?: number | undefined;
427
+ readonly errors?: number | undefined;
428
+ readonly duration?: number | undefined;
1255
429
  } | {
430
+ readonly _tag: "text";
1256
431
  readonly pending?: boolean | undefined;
432
+ readonly mimeType?: string | undefined;
1257
433
  readonly text: string;
1258
- readonly _tag: "proposal";
434
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1259
435
  } | {
1260
- readonly pending?: boolean | undefined;
1261
436
  readonly _tag: "summary";
437
+ readonly pending?: boolean | undefined;
1262
438
  readonly content: string;
1263
439
  } | {
1264
- readonly pending?: boolean | undefined;
1265
440
  readonly _tag: "toolkit";
441
+ readonly pending?: boolean | undefined;
1266
442
  } | {
443
+ readonly _tag: "toolCall";
1267
444
  readonly pending?: boolean | undefined;
1268
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1269
- readonly _tag: "json";
1270
- readonly data: string;
445
+ readonly toolCallId: string;
446
+ readonly name: string;
447
+ readonly input: string;
448
+ readonly providerExecuted: boolean;
449
+ } | {
450
+ readonly _tag: "toolResult";
451
+ readonly pending?: boolean | undefined;
452
+ readonly toolCallId: string;
453
+ readonly name: string;
454
+ readonly result?: string | undefined;
455
+ readonly error?: string | undefined;
456
+ readonly providerExecuted: boolean;
457
+ } | {
458
+ readonly _tag: "transcript";
459
+ readonly pending?: boolean | undefined;
460
+ readonly started: string;
461
+ readonly text: string;
1271
462
  })[];
1272
463
  readonly properties?: {
1273
464
  readonly [x: string]: any;
@@ -1284,24 +475,23 @@ export declare const Delete: Operation.Definition<{
1284
475
  readonly subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown;
1285
476
  readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1286
477
  readonly name?: string | undefined;
1287
- readonly status?: "active" | "staged" | "resolved" | undefined;
478
+ readonly status?: "active" | "resolved" | "staged" | undefined;
1288
479
  readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1289
480
  readonly id: string;
1290
481
  readonly parentMessage?: string | undefined;
1291
482
  readonly threadId?: string | undefined;
1292
483
  readonly created: string;
1293
484
  readonly sender: {
1294
- readonly name?: string | undefined;
1295
- readonly role?: "user" | "assistant" | "tool" | undefined;
485
+ readonly role?: "assistant" | "tool" | "user" | undefined;
1296
486
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1297
- readonly image?: string | undefined;
1298
487
  readonly fullName?: string | undefined;
1299
488
  readonly preferredName?: string | undefined;
1300
489
  readonly nickname?: string | undefined;
490
+ readonly image?: string | undefined;
1301
491
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1302
- readonly description?: string | undefined;
1303
492
  readonly name?: string | undefined;
1304
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
493
+ readonly description?: string | undefined;
494
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
1305
495
  readonly image?: string | undefined;
1306
496
  readonly website?: string | undefined;
1307
497
  } & {
@@ -1311,23 +501,19 @@ export declare const Delete: Operation.Definition<{
1311
501
  readonly department?: string | undefined;
1312
502
  readonly notes?: string | undefined;
1313
503
  readonly emails?: readonly {
1314
- readonly value: string;
1315
504
  readonly label?: string | undefined;
505
+ readonly value: string;
1316
506
  }[] | undefined;
1317
507
  readonly identities?: readonly {
1318
- readonly value: string;
1319
508
  readonly label?: string | undefined;
509
+ readonly value: string;
1320
510
  }[] | undefined;
1321
511
  readonly phoneNumbers?: readonly {
1322
- readonly value: string;
1323
512
  readonly label?: string | undefined;
1324
- }[] | undefined;
1325
- readonly fields?: readonly {
1326
513
  readonly value: string;
1327
- readonly label: string;
1328
- readonly category?: string | undefined;
1329
514
  }[] | undefined;
1330
515
  readonly addresses?: readonly {
516
+ readonly label?: string | undefined;
1331
517
  readonly value: {
1332
518
  readonly street?: string | undefined;
1333
519
  readonly extended?: string | undefined;
@@ -1337,62 +523,40 @@ export declare const Delete: Operation.Definition<{
1337
523
  readonly postOfficeBoxNumber?: string | undefined;
1338
524
  readonly country?: string | undefined;
1339
525
  };
1340
- readonly label?: string | undefined;
1341
526
  }[] | undefined;
1342
527
  readonly urls?: readonly {
1343
- readonly value: string;
1344
528
  readonly label?: string | undefined;
529
+ readonly value: string;
1345
530
  }[] | undefined;
1346
531
  readonly birthday?: string | undefined;
532
+ readonly fields?: readonly {
533
+ readonly category?: string | undefined;
534
+ readonly label: string;
535
+ readonly value: string;
536
+ }[] | undefined;
1347
537
  } & {
1348
538
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1349
539
  }> | undefined;
1350
540
  readonly identityDid?: string | undefined;
1351
541
  readonly identityKey?: string | undefined;
1352
542
  readonly email?: string | undefined;
543
+ readonly name?: string | undefined;
1353
544
  };
1354
545
  readonly blocks: readonly ({
546
+ readonly _tag: "anchor";
1355
547
  readonly pending?: boolean | undefined;
1356
- readonly text: string;
1357
- readonly mimeType?: string | undefined;
1358
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1359
- readonly _tag: "text";
1360
- } | {
1361
- readonly pending?: boolean | undefined;
1362
- readonly _tag: "reasoning";
1363
- readonly reasoningText?: string | undefined;
1364
- readonly redactedText?: string | undefined;
1365
- readonly signature?: string | undefined;
1366
- } | {
1367
- readonly name: string;
1368
- readonly pending?: boolean | undefined;
1369
- readonly _tag: "toolCall";
1370
- readonly toolCallId: string;
1371
- readonly input: string;
1372
- readonly providerExecuted: boolean;
548
+ readonly objectId: string;
549
+ readonly version: unknown;
1373
550
  } | {
1374
- readonly name: string;
551
+ readonly _tag: "file";
1375
552
  readonly pending?: boolean | undefined;
1376
- readonly _tag: "toolResult";
1377
- readonly toolCallId: string;
1378
- readonly providerExecuted: boolean;
1379
- readonly result?: string | undefined;
1380
- readonly error?: string | undefined;
553
+ readonly url: string;
554
+ readonly name?: string | undefined;
555
+ readonly mediaType?: string | undefined;
1381
556
  } | {
557
+ readonly _tag: "image";
1382
558
  readonly pending?: boolean | undefined;
1383
- readonly mimeType?: string | undefined;
1384
- readonly _tag: "stats";
1385
- readonly message?: string | undefined;
1386
- readonly model?: string | undefined;
1387
- readonly usage?: {
1388
- readonly inputTokens?: number | undefined;
1389
- readonly outputTokens?: number | undefined;
1390
- readonly totalTokens?: number | undefined;
1391
- } | undefined;
1392
- readonly toolCalls?: number | undefined;
1393
- readonly errors?: number | undefined;
1394
- readonly duration?: number | undefined;
1395
- } | {
559
+ readonly id?: string | undefined;
1396
560
  readonly source?: {
1397
561
  readonly type: "base64";
1398
562
  readonly mediaType: string;
@@ -1401,57 +565,84 @@ export declare const Delete: Operation.Definition<{
1401
565
  readonly type: "http";
1402
566
  readonly url: string;
1403
567
  } | undefined;
1404
- readonly id?: string | undefined;
568
+ } | {
569
+ readonly _tag: "json";
1405
570
  readonly pending?: boolean | undefined;
1406
- readonly _tag: "image";
571
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
572
+ readonly data: string;
1407
573
  } | {
1408
- readonly name?: string | undefined;
574
+ readonly _tag: "proposal";
1409
575
  readonly pending?: boolean | undefined;
1410
- readonly _tag: "file";
1411
- readonly mediaType?: string | undefined;
1412
- readonly url: string;
576
+ readonly text: string;
1413
577
  } | {
578
+ readonly _tag: "reasoning";
1414
579
  readonly pending?: boolean | undefined;
580
+ readonly reasoningText?: string | undefined;
581
+ readonly redactedText?: string | undefined;
582
+ readonly signature?: string | undefined;
583
+ } | {
1415
584
  readonly _tag: "reference";
585
+ readonly pending?: boolean | undefined;
1416
586
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1417
587
  } | {
588
+ readonly _tag: "select";
1418
589
  readonly pending?: boolean | undefined;
1419
- readonly text: string;
1420
- readonly _tag: "transcript";
1421
- readonly started: string;
590
+ readonly options: string[];
1422
591
  } | {
1423
- readonly pending?: boolean | undefined;
1424
592
  readonly _tag: "status";
593
+ readonly pending?: boolean | undefined;
1425
594
  readonly statusText: string;
1426
595
  } | {
1427
- readonly pending?: boolean | undefined;
1428
- readonly text: string;
1429
596
  readonly _tag: "suggestion";
1430
- } | {
1431
597
  readonly pending?: boolean | undefined;
1432
- readonly _tag: "select";
1433
- readonly options: string[];
598
+ readonly text: string;
1434
599
  } | {
1435
- readonly version: unknown;
600
+ readonly _tag: "stats";
1436
601
  readonly pending?: boolean | undefined;
1437
- readonly _tag: "anchor";
1438
- readonly objectId: string;
602
+ readonly mimeType?: string | undefined;
603
+ readonly message?: string | undefined;
604
+ readonly model?: string | undefined;
605
+ readonly usage?: {
606
+ readonly inputTokens?: number | undefined;
607
+ readonly outputTokens?: number | undefined;
608
+ readonly totalTokens?: number | undefined;
609
+ } | undefined;
610
+ readonly toolCalls?: number | undefined;
611
+ readonly errors?: number | undefined;
612
+ readonly duration?: number | undefined;
1439
613
  } | {
614
+ readonly _tag: "text";
1440
615
  readonly pending?: boolean | undefined;
616
+ readonly mimeType?: string | undefined;
1441
617
  readonly text: string;
1442
- readonly _tag: "proposal";
618
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1443
619
  } | {
1444
- readonly pending?: boolean | undefined;
1445
620
  readonly _tag: "summary";
621
+ readonly pending?: boolean | undefined;
1446
622
  readonly content: string;
1447
623
  } | {
1448
- readonly pending?: boolean | undefined;
1449
624
  readonly _tag: "toolkit";
625
+ readonly pending?: boolean | undefined;
1450
626
  } | {
627
+ readonly _tag: "toolCall";
1451
628
  readonly pending?: boolean | undefined;
1452
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1453
- readonly _tag: "json";
1454
- readonly data: string;
629
+ readonly toolCallId: string;
630
+ readonly name: string;
631
+ readonly input: string;
632
+ readonly providerExecuted: boolean;
633
+ } | {
634
+ readonly _tag: "toolResult";
635
+ readonly pending?: boolean | undefined;
636
+ readonly toolCallId: string;
637
+ readonly name: string;
638
+ readonly result?: string | undefined;
639
+ readonly error?: string | undefined;
640
+ readonly providerExecuted: boolean;
641
+ } | {
642
+ readonly _tag: "transcript";
643
+ readonly pending?: boolean | undefined;
644
+ readonly started: string;
645
+ readonly text: string;
1455
646
  })[];
1456
647
  readonly properties?: {
1457
648
  readonly [x: string]: any;
@@ -1459,30 +650,25 @@ export declare const Delete: Operation.Definition<{
1459
650
  }>[];
1460
651
  }) | undefined;
1461
652
  }, {
1462
- readonly anchor?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
1463
- readonly id: string;
1464
- readonly anchor?: string | undefined;
1465
- }) | undefined;
1466
653
  readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1467
654
  readonly name?: string | undefined;
1468
- readonly status?: "active" | "staged" | "resolved" | undefined;
655
+ readonly status?: "active" | "resolved" | "staged" | undefined;
1469
656
  readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1470
657
  readonly id: string;
1471
658
  readonly parentMessage?: string | undefined;
1472
659
  readonly threadId?: string | undefined;
1473
660
  readonly created: string;
1474
661
  readonly sender: {
1475
- readonly name?: string | undefined;
1476
- readonly role?: "user" | "assistant" | "tool" | undefined;
662
+ readonly role?: "assistant" | "tool" | "user" | undefined;
1477
663
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1478
- readonly image?: string | undefined;
1479
664
  readonly fullName?: string | undefined;
1480
665
  readonly preferredName?: string | undefined;
1481
666
  readonly nickname?: string | undefined;
667
+ readonly image?: string | undefined;
1482
668
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1483
- readonly description?: string | undefined;
1484
669
  readonly name?: string | undefined;
1485
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
670
+ readonly description?: string | undefined;
671
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
1486
672
  readonly image?: string | undefined;
1487
673
  readonly website?: string | undefined;
1488
674
  } & {
@@ -1492,23 +678,19 @@ export declare const Delete: Operation.Definition<{
1492
678
  readonly department?: string | undefined;
1493
679
  readonly notes?: string | undefined;
1494
680
  readonly emails?: readonly {
1495
- readonly value: string;
1496
681
  readonly label?: string | undefined;
682
+ readonly value: string;
1497
683
  }[] | undefined;
1498
684
  readonly identities?: readonly {
1499
- readonly value: string;
1500
685
  readonly label?: string | undefined;
686
+ readonly value: string;
1501
687
  }[] | undefined;
1502
688
  readonly phoneNumbers?: readonly {
1503
- readonly value: string;
1504
689
  readonly label?: string | undefined;
1505
- }[] | undefined;
1506
- readonly fields?: readonly {
1507
690
  readonly value: string;
1508
- readonly label: string;
1509
- readonly category?: string | undefined;
1510
691
  }[] | undefined;
1511
692
  readonly addresses?: readonly {
693
+ readonly label?: string | undefined;
1512
694
  readonly value: {
1513
695
  readonly street?: string | undefined;
1514
696
  readonly extended?: string | undefined;
@@ -1518,62 +700,40 @@ export declare const Delete: Operation.Definition<{
1518
700
  readonly postOfficeBoxNumber?: string | undefined;
1519
701
  readonly country?: string | undefined;
1520
702
  };
1521
- readonly label?: string | undefined;
1522
703
  }[] | undefined;
1523
704
  readonly urls?: readonly {
705
+ readonly label?: string | undefined;
706
+ readonly value: string;
707
+ }[] | undefined;
708
+ readonly birthday?: string | undefined;
709
+ readonly fields?: readonly {
710
+ readonly category?: string | undefined;
711
+ readonly label: string;
1524
712
  readonly value: string;
1525
- readonly label?: string | undefined;
1526
713
  }[] | undefined;
1527
- readonly birthday?: string | undefined;
1528
714
  } & {
1529
715
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1530
716
  }> | undefined;
1531
717
  readonly identityDid?: string | undefined;
1532
718
  readonly identityKey?: string | undefined;
1533
719
  readonly email?: string | undefined;
720
+ readonly name?: string | undefined;
1534
721
  };
1535
722
  readonly blocks: readonly ({
723
+ readonly _tag: "anchor";
1536
724
  readonly pending?: boolean | undefined;
1537
- readonly text: string;
1538
- readonly mimeType?: string | undefined;
1539
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1540
- readonly _tag: "text";
1541
- } | {
1542
- readonly pending?: boolean | undefined;
1543
- readonly _tag: "reasoning";
1544
- readonly reasoningText?: string | undefined;
1545
- readonly redactedText?: string | undefined;
1546
- readonly signature?: string | undefined;
1547
- } | {
1548
- readonly name: string;
1549
- readonly pending?: boolean | undefined;
1550
- readonly _tag: "toolCall";
1551
- readonly toolCallId: string;
1552
- readonly input: string;
1553
- readonly providerExecuted: boolean;
725
+ readonly objectId: string;
726
+ readonly version: unknown;
1554
727
  } | {
1555
- readonly name: string;
728
+ readonly _tag: "file";
1556
729
  readonly pending?: boolean | undefined;
1557
- readonly _tag: "toolResult";
1558
- readonly toolCallId: string;
1559
- readonly providerExecuted: boolean;
1560
- readonly result?: string | undefined;
1561
- readonly error?: string | undefined;
730
+ readonly url: string;
731
+ readonly name?: string | undefined;
732
+ readonly mediaType?: string | undefined;
1562
733
  } | {
734
+ readonly _tag: "image";
1563
735
  readonly pending?: boolean | undefined;
1564
- readonly mimeType?: string | undefined;
1565
- readonly _tag: "stats";
1566
- readonly message?: string | undefined;
1567
- readonly model?: string | undefined;
1568
- readonly usage?: {
1569
- readonly inputTokens?: number | undefined;
1570
- readonly outputTokens?: number | undefined;
1571
- readonly totalTokens?: number | undefined;
1572
- } | undefined;
1573
- readonly toolCalls?: number | undefined;
1574
- readonly errors?: number | undefined;
1575
- readonly duration?: number | undefined;
1576
- } | {
736
+ readonly id?: string | undefined;
1577
737
  readonly source?: {
1578
738
  readonly type: "base64";
1579
739
  readonly mediaType: string;
@@ -1582,63 +742,94 @@ export declare const Delete: Operation.Definition<{
1582
742
  readonly type: "http";
1583
743
  readonly url: string;
1584
744
  } | undefined;
1585
- readonly id?: string | undefined;
745
+ } | {
746
+ readonly _tag: "json";
1586
747
  readonly pending?: boolean | undefined;
1587
- readonly _tag: "image";
748
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
749
+ readonly data: string;
1588
750
  } | {
1589
- readonly name?: string | undefined;
751
+ readonly _tag: "proposal";
1590
752
  readonly pending?: boolean | undefined;
1591
- readonly _tag: "file";
1592
- readonly mediaType?: string | undefined;
1593
- readonly url: string;
753
+ readonly text: string;
1594
754
  } | {
755
+ readonly _tag: "reasoning";
1595
756
  readonly pending?: boolean | undefined;
757
+ readonly reasoningText?: string | undefined;
758
+ readonly redactedText?: string | undefined;
759
+ readonly signature?: string | undefined;
760
+ } | {
1596
761
  readonly _tag: "reference";
762
+ readonly pending?: boolean | undefined;
1597
763
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1598
764
  } | {
765
+ readonly _tag: "select";
1599
766
  readonly pending?: boolean | undefined;
1600
- readonly text: string;
1601
- readonly _tag: "transcript";
1602
- readonly started: string;
767
+ readonly options: string[];
1603
768
  } | {
1604
- readonly pending?: boolean | undefined;
1605
769
  readonly _tag: "status";
770
+ readonly pending?: boolean | undefined;
1606
771
  readonly statusText: string;
1607
772
  } | {
1608
- readonly pending?: boolean | undefined;
1609
- readonly text: string;
1610
773
  readonly _tag: "suggestion";
1611
- } | {
1612
774
  readonly pending?: boolean | undefined;
1613
- readonly _tag: "select";
1614
- readonly options: string[];
775
+ readonly text: string;
1615
776
  } | {
1616
- readonly version: unknown;
777
+ readonly _tag: "stats";
1617
778
  readonly pending?: boolean | undefined;
1618
- readonly _tag: "anchor";
1619
- readonly objectId: string;
779
+ readonly mimeType?: string | undefined;
780
+ readonly message?: string | undefined;
781
+ readonly model?: string | undefined;
782
+ readonly usage?: {
783
+ readonly inputTokens?: number | undefined;
784
+ readonly outputTokens?: number | undefined;
785
+ readonly totalTokens?: number | undefined;
786
+ } | undefined;
787
+ readonly toolCalls?: number | undefined;
788
+ readonly errors?: number | undefined;
789
+ readonly duration?: number | undefined;
1620
790
  } | {
791
+ readonly _tag: "text";
1621
792
  readonly pending?: boolean | undefined;
793
+ readonly mimeType?: string | undefined;
1622
794
  readonly text: string;
1623
- readonly _tag: "proposal";
795
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1624
796
  } | {
1625
- readonly pending?: boolean | undefined;
1626
797
  readonly _tag: "summary";
798
+ readonly pending?: boolean | undefined;
1627
799
  readonly content: string;
1628
800
  } | {
1629
- readonly pending?: boolean | undefined;
1630
801
  readonly _tag: "toolkit";
802
+ readonly pending?: boolean | undefined;
1631
803
  } | {
804
+ readonly _tag: "toolCall";
1632
805
  readonly pending?: boolean | undefined;
1633
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1634
- readonly _tag: "json";
1635
- readonly data: string;
806
+ readonly toolCallId: string;
807
+ readonly name: string;
808
+ readonly input: string;
809
+ readonly providerExecuted: boolean;
810
+ } | {
811
+ readonly _tag: "toolResult";
812
+ readonly pending?: boolean | undefined;
813
+ readonly toolCallId: string;
814
+ readonly name: string;
815
+ readonly result?: string | undefined;
816
+ readonly error?: string | undefined;
817
+ readonly providerExecuted: boolean;
818
+ } | {
819
+ readonly _tag: "transcript";
820
+ readonly pending?: boolean | undefined;
821
+ readonly started: string;
822
+ readonly text: string;
1636
823
  })[];
1637
824
  readonly properties?: {
1638
825
  readonly [x: string]: any;
1639
826
  } | undefined;
1640
827
  }>[];
1641
828
  }) | undefined;
829
+ readonly anchor?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
830
+ readonly id: string;
831
+ readonly anchor?: string | undefined;
832
+ }) | undefined;
1642
833
  }, Capability.Service>;
1643
834
  export declare const Select: Operation.Definition<{
1644
835
  readonly current: string;
@@ -1646,24 +837,23 @@ export declare const Select: Operation.Definition<{
1646
837
  export declare const ToggleResolved: Operation.Definition<{
1647
838
  readonly thread: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1648
839
  readonly name?: string | undefined;
1649
- readonly status?: "active" | "staged" | "resolved" | undefined;
840
+ readonly status?: "active" | "resolved" | "staged" | undefined;
1650
841
  readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1651
842
  readonly id: string;
1652
843
  readonly parentMessage?: string | undefined;
1653
844
  readonly threadId?: string | undefined;
1654
845
  readonly created: string;
1655
846
  readonly sender: {
1656
- readonly name?: string | undefined;
1657
- readonly role?: "user" | "assistant" | "tool" | undefined;
847
+ readonly role?: "assistant" | "tool" | "user" | undefined;
1658
848
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1659
- readonly image?: string | undefined;
1660
849
  readonly fullName?: string | undefined;
1661
850
  readonly preferredName?: string | undefined;
1662
851
  readonly nickname?: string | undefined;
852
+ readonly image?: string | undefined;
1663
853
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1664
- readonly description?: string | undefined;
1665
854
  readonly name?: string | undefined;
1666
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
855
+ readonly description?: string | undefined;
856
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
1667
857
  readonly image?: string | undefined;
1668
858
  readonly website?: string | undefined;
1669
859
  } & {
@@ -1673,23 +863,19 @@ export declare const ToggleResolved: Operation.Definition<{
1673
863
  readonly department?: string | undefined;
1674
864
  readonly notes?: string | undefined;
1675
865
  readonly emails?: readonly {
1676
- readonly value: string;
1677
866
  readonly label?: string | undefined;
867
+ readonly value: string;
1678
868
  }[] | undefined;
1679
869
  readonly identities?: readonly {
1680
- readonly value: string;
1681
870
  readonly label?: string | undefined;
871
+ readonly value: string;
1682
872
  }[] | undefined;
1683
873
  readonly phoneNumbers?: readonly {
1684
- readonly value: string;
1685
874
  readonly label?: string | undefined;
1686
- }[] | undefined;
1687
- readonly fields?: readonly {
1688
875
  readonly value: string;
1689
- readonly label: string;
1690
- readonly category?: string | undefined;
1691
876
  }[] | undefined;
1692
877
  readonly addresses?: readonly {
878
+ readonly label?: string | undefined;
1693
879
  readonly value: {
1694
880
  readonly street?: string | undefined;
1695
881
  readonly extended?: string | undefined;
@@ -1699,62 +885,40 @@ export declare const ToggleResolved: Operation.Definition<{
1699
885
  readonly postOfficeBoxNumber?: string | undefined;
1700
886
  readonly country?: string | undefined;
1701
887
  };
1702
- readonly label?: string | undefined;
1703
888
  }[] | undefined;
1704
889
  readonly urls?: readonly {
1705
- readonly value: string;
1706
890
  readonly label?: string | undefined;
891
+ readonly value: string;
1707
892
  }[] | undefined;
1708
893
  readonly birthday?: string | undefined;
894
+ readonly fields?: readonly {
895
+ readonly category?: string | undefined;
896
+ readonly label: string;
897
+ readonly value: string;
898
+ }[] | undefined;
1709
899
  } & {
1710
900
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1711
901
  }> | undefined;
1712
902
  readonly identityDid?: string | undefined;
1713
903
  readonly identityKey?: string | undefined;
1714
904
  readonly email?: string | undefined;
905
+ readonly name?: string | undefined;
1715
906
  };
1716
907
  readonly blocks: readonly ({
908
+ readonly _tag: "anchor";
1717
909
  readonly pending?: boolean | undefined;
1718
- readonly text: string;
1719
- readonly mimeType?: string | undefined;
1720
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1721
- readonly _tag: "text";
1722
- } | {
1723
- readonly pending?: boolean | undefined;
1724
- readonly _tag: "reasoning";
1725
- readonly reasoningText?: string | undefined;
1726
- readonly redactedText?: string | undefined;
1727
- readonly signature?: string | undefined;
1728
- } | {
1729
- readonly name: string;
1730
- readonly pending?: boolean | undefined;
1731
- readonly _tag: "toolCall";
1732
- readonly toolCallId: string;
1733
- readonly input: string;
1734
- readonly providerExecuted: boolean;
910
+ readonly objectId: string;
911
+ readonly version: unknown;
1735
912
  } | {
1736
- readonly name: string;
913
+ readonly _tag: "file";
1737
914
  readonly pending?: boolean | undefined;
1738
- readonly _tag: "toolResult";
1739
- readonly toolCallId: string;
1740
- readonly providerExecuted: boolean;
1741
- readonly result?: string | undefined;
1742
- readonly error?: string | undefined;
915
+ readonly url: string;
916
+ readonly name?: string | undefined;
917
+ readonly mediaType?: string | undefined;
1743
918
  } | {
919
+ readonly _tag: "image";
1744
920
  readonly pending?: boolean | undefined;
1745
- readonly mimeType?: string | undefined;
1746
- readonly _tag: "stats";
1747
- readonly message?: string | undefined;
1748
- readonly model?: string | undefined;
1749
- readonly usage?: {
1750
- readonly inputTokens?: number | undefined;
1751
- readonly outputTokens?: number | undefined;
1752
- readonly totalTokens?: number | undefined;
1753
- } | undefined;
1754
- readonly toolCalls?: number | undefined;
1755
- readonly errors?: number | undefined;
1756
- readonly duration?: number | undefined;
1757
- } | {
921
+ readonly id?: string | undefined;
1758
922
  readonly source?: {
1759
923
  readonly type: "base64";
1760
924
  readonly mediaType: string;
@@ -1763,57 +927,84 @@ export declare const ToggleResolved: Operation.Definition<{
1763
927
  readonly type: "http";
1764
928
  readonly url: string;
1765
929
  } | undefined;
1766
- readonly id?: string | undefined;
930
+ } | {
931
+ readonly _tag: "json";
1767
932
  readonly pending?: boolean | undefined;
1768
- readonly _tag: "image";
933
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
934
+ readonly data: string;
1769
935
  } | {
1770
- readonly name?: string | undefined;
936
+ readonly _tag: "proposal";
1771
937
  readonly pending?: boolean | undefined;
1772
- readonly _tag: "file";
1773
- readonly mediaType?: string | undefined;
1774
- readonly url: string;
938
+ readonly text: string;
1775
939
  } | {
940
+ readonly _tag: "reasoning";
1776
941
  readonly pending?: boolean | undefined;
942
+ readonly reasoningText?: string | undefined;
943
+ readonly redactedText?: string | undefined;
944
+ readonly signature?: string | undefined;
945
+ } | {
1777
946
  readonly _tag: "reference";
947
+ readonly pending?: boolean | undefined;
1778
948
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1779
949
  } | {
950
+ readonly _tag: "select";
1780
951
  readonly pending?: boolean | undefined;
1781
- readonly text: string;
1782
- readonly _tag: "transcript";
1783
- readonly started: string;
952
+ readonly options: string[];
1784
953
  } | {
1785
- readonly pending?: boolean | undefined;
1786
954
  readonly _tag: "status";
955
+ readonly pending?: boolean | undefined;
1787
956
  readonly statusText: string;
1788
957
  } | {
1789
- readonly pending?: boolean | undefined;
1790
- readonly text: string;
1791
958
  readonly _tag: "suggestion";
1792
- } | {
1793
959
  readonly pending?: boolean | undefined;
1794
- readonly _tag: "select";
1795
- readonly options: string[];
960
+ readonly text: string;
1796
961
  } | {
1797
- readonly version: unknown;
962
+ readonly _tag: "stats";
1798
963
  readonly pending?: boolean | undefined;
1799
- readonly _tag: "anchor";
1800
- readonly objectId: string;
964
+ readonly mimeType?: string | undefined;
965
+ readonly message?: string | undefined;
966
+ readonly model?: string | undefined;
967
+ readonly usage?: {
968
+ readonly inputTokens?: number | undefined;
969
+ readonly outputTokens?: number | undefined;
970
+ readonly totalTokens?: number | undefined;
971
+ } | undefined;
972
+ readonly toolCalls?: number | undefined;
973
+ readonly errors?: number | undefined;
974
+ readonly duration?: number | undefined;
1801
975
  } | {
976
+ readonly _tag: "text";
1802
977
  readonly pending?: boolean | undefined;
978
+ readonly mimeType?: string | undefined;
1803
979
  readonly text: string;
1804
- readonly _tag: "proposal";
980
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1805
981
  } | {
1806
- readonly pending?: boolean | undefined;
1807
982
  readonly _tag: "summary";
983
+ readonly pending?: boolean | undefined;
1808
984
  readonly content: string;
1809
985
  } | {
1810
- readonly pending?: boolean | undefined;
1811
986
  readonly _tag: "toolkit";
987
+ readonly pending?: boolean | undefined;
988
+ } | {
989
+ readonly _tag: "toolCall";
990
+ readonly pending?: boolean | undefined;
991
+ readonly toolCallId: string;
992
+ readonly name: string;
993
+ readonly input: string;
994
+ readonly providerExecuted: boolean;
995
+ } | {
996
+ readonly _tag: "toolResult";
997
+ readonly pending?: boolean | undefined;
998
+ readonly toolCallId: string;
999
+ readonly name: string;
1000
+ readonly result?: string | undefined;
1001
+ readonly error?: string | undefined;
1002
+ readonly providerExecuted: boolean;
1812
1003
  } | {
1004
+ readonly _tag: "transcript";
1813
1005
  readonly pending?: boolean | undefined;
1814
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1815
- readonly _tag: "json";
1816
- readonly data: string;
1006
+ readonly started: string;
1007
+ readonly text: string;
1817
1008
  })[];
1818
1009
  readonly properties?: {
1819
1010
  readonly [x: string]: any;
@@ -1822,25 +1013,22 @@ export declare const ToggleResolved: Operation.Definition<{
1822
1013
  };
1823
1014
  }, void, Capability.Service>;
1824
1015
  export declare const AddMessage: Operation.Definition<{
1825
- readonly text: string;
1016
+ readonly subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown;
1826
1017
  readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
1827
1018
  readonly id: string;
1828
1019
  readonly anchor?: string | undefined;
1829
1020
  };
1830
- readonly subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown;
1831
1021
  readonly sender: {
1832
- readonly name?: string | undefined;
1833
- readonly email?: string | undefined;
1834
- readonly role?: "user" | "assistant" | "tool" | undefined;
1022
+ readonly role?: "assistant" | "tool" | "user" | undefined;
1835
1023
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1836
- readonly image?: string | undefined;
1837
1024
  readonly fullName?: string | undefined;
1838
1025
  readonly preferredName?: string | undefined;
1839
1026
  readonly nickname?: string | undefined;
1027
+ readonly image?: string | undefined;
1840
1028
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1841
- readonly description?: string | undefined;
1842
1029
  readonly name?: string | undefined;
1843
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1030
+ readonly description?: string | undefined;
1031
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
1844
1032
  readonly image?: string | undefined;
1845
1033
  readonly website?: string | undefined;
1846
1034
  } & {
@@ -1850,23 +1038,19 @@ export declare const AddMessage: Operation.Definition<{
1850
1038
  readonly department?: string | undefined;
1851
1039
  readonly notes?: string | undefined;
1852
1040
  readonly emails?: readonly {
1853
- readonly value: string;
1854
1041
  readonly label?: string | undefined;
1042
+ readonly value: string;
1855
1043
  }[] | undefined;
1856
1044
  readonly identities?: readonly {
1857
- readonly value: string;
1858
1045
  readonly label?: string | undefined;
1046
+ readonly value: string;
1859
1047
  }[] | undefined;
1860
1048
  readonly phoneNumbers?: readonly {
1861
- readonly value: string;
1862
1049
  readonly label?: string | undefined;
1863
- }[] | undefined;
1864
- readonly fields?: readonly {
1865
1050
  readonly value: string;
1866
- readonly label: string;
1867
- readonly category?: string | undefined;
1868
1051
  }[] | undefined;
1869
1052
  readonly addresses?: readonly {
1053
+ readonly label?: string | undefined;
1870
1054
  readonly value: {
1871
1055
  readonly street?: string | undefined;
1872
1056
  readonly extended?: string | undefined;
@@ -1876,19 +1060,26 @@ export declare const AddMessage: Operation.Definition<{
1876
1060
  readonly postOfficeBoxNumber?: string | undefined;
1877
1061
  readonly country?: string | undefined;
1878
1062
  };
1879
- readonly label?: string | undefined;
1880
1063
  }[] | undefined;
1881
1064
  readonly urls?: readonly {
1882
- readonly value: string;
1883
1065
  readonly label?: string | undefined;
1066
+ readonly value: string;
1884
1067
  }[] | undefined;
1885
1068
  readonly birthday?: string | undefined;
1069
+ readonly fields?: readonly {
1070
+ readonly category?: string | undefined;
1071
+ readonly label: string;
1072
+ readonly value: string;
1073
+ }[] | undefined;
1886
1074
  } & {
1887
1075
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1888
1076
  }> | undefined;
1889
1077
  readonly identityDid?: string | undefined;
1890
1078
  readonly identityKey?: string | undefined;
1079
+ readonly email?: string | undefined;
1080
+ readonly name?: string | undefined;
1891
1081
  };
1082
+ readonly text: string;
1892
1083
  }, void, Capability.Service>;
1893
1084
  export declare const DeleteMessageOutput: Schema.SchemaClass<{
1894
1085
  readonly message?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
@@ -1897,17 +1088,16 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
1897
1088
  readonly threadId?: string | undefined;
1898
1089
  readonly created: string;
1899
1090
  readonly sender: {
1900
- readonly name?: string | undefined;
1901
- readonly role?: "user" | "assistant" | "tool" | undefined;
1091
+ readonly role?: "assistant" | "tool" | "user" | undefined;
1902
1092
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1903
- readonly image?: string | undefined;
1904
1093
  readonly fullName?: string | undefined;
1905
1094
  readonly preferredName?: string | undefined;
1906
1095
  readonly nickname?: string | undefined;
1096
+ readonly image?: string | undefined;
1907
1097
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1908
- readonly description?: string | undefined;
1909
1098
  readonly name?: string | undefined;
1910
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1099
+ readonly description?: string | undefined;
1100
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
1911
1101
  readonly image?: string | undefined;
1912
1102
  readonly website?: string | undefined;
1913
1103
  } & {
@@ -1917,23 +1107,19 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
1917
1107
  readonly department?: string | undefined;
1918
1108
  readonly notes?: string | undefined;
1919
1109
  readonly emails?: readonly {
1920
- readonly value: string;
1921
1110
  readonly label?: string | undefined;
1111
+ readonly value: string;
1922
1112
  }[] | undefined;
1923
1113
  readonly identities?: readonly {
1924
- readonly value: string;
1925
1114
  readonly label?: string | undefined;
1115
+ readonly value: string;
1926
1116
  }[] | undefined;
1927
1117
  readonly phoneNumbers?: readonly {
1928
- readonly value: string;
1929
1118
  readonly label?: string | undefined;
1930
- }[] | undefined;
1931
- readonly fields?: readonly {
1932
1119
  readonly value: string;
1933
- readonly label: string;
1934
- readonly category?: string | undefined;
1935
1120
  }[] | undefined;
1936
1121
  readonly addresses?: readonly {
1122
+ readonly label?: string | undefined;
1937
1123
  readonly value: {
1938
1124
  readonly street?: string | undefined;
1939
1125
  readonly extended?: string | undefined;
@@ -1943,62 +1129,40 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
1943
1129
  readonly postOfficeBoxNumber?: string | undefined;
1944
1130
  readonly country?: string | undefined;
1945
1131
  };
1946
- readonly label?: string | undefined;
1947
1132
  }[] | undefined;
1948
1133
  readonly urls?: readonly {
1949
- readonly value: string;
1950
1134
  readonly label?: string | undefined;
1135
+ readonly value: string;
1951
1136
  }[] | undefined;
1952
1137
  readonly birthday?: string | undefined;
1138
+ readonly fields?: readonly {
1139
+ readonly category?: string | undefined;
1140
+ readonly label: string;
1141
+ readonly value: string;
1142
+ }[] | undefined;
1953
1143
  } & {
1954
1144
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1955
1145
  }> | undefined;
1956
1146
  readonly identityDid?: string | undefined;
1957
1147
  readonly identityKey?: string | undefined;
1958
1148
  readonly email?: string | undefined;
1149
+ readonly name?: string | undefined;
1959
1150
  };
1960
1151
  readonly blocks: readonly ({
1152
+ readonly _tag: "anchor";
1961
1153
  readonly pending?: boolean | undefined;
1962
- readonly text: string;
1963
- readonly mimeType?: string | undefined;
1964
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
1965
- readonly _tag: "text";
1966
- } | {
1967
- readonly pending?: boolean | undefined;
1968
- readonly _tag: "reasoning";
1969
- readonly reasoningText?: string | undefined;
1970
- readonly redactedText?: string | undefined;
1971
- readonly signature?: string | undefined;
1972
- } | {
1973
- readonly name: string;
1974
- readonly pending?: boolean | undefined;
1975
- readonly _tag: "toolCall";
1976
- readonly toolCallId: string;
1977
- readonly input: string;
1978
- readonly providerExecuted: boolean;
1154
+ readonly objectId: string;
1155
+ readonly version: unknown;
1979
1156
  } | {
1980
- readonly name: string;
1157
+ readonly _tag: "file";
1981
1158
  readonly pending?: boolean | undefined;
1982
- readonly _tag: "toolResult";
1983
- readonly toolCallId: string;
1984
- readonly providerExecuted: boolean;
1985
- readonly result?: string | undefined;
1986
- readonly error?: string | undefined;
1159
+ readonly url: string;
1160
+ readonly name?: string | undefined;
1161
+ readonly mediaType?: string | undefined;
1987
1162
  } | {
1163
+ readonly _tag: "image";
1988
1164
  readonly pending?: boolean | undefined;
1989
- readonly mimeType?: string | undefined;
1990
- readonly _tag: "stats";
1991
- readonly message?: string | undefined;
1992
- readonly model?: string | undefined;
1993
- readonly usage?: {
1994
- readonly inputTokens?: number | undefined;
1995
- readonly outputTokens?: number | undefined;
1996
- readonly totalTokens?: number | undefined;
1997
- } | undefined;
1998
- readonly toolCalls?: number | undefined;
1999
- readonly errors?: number | undefined;
2000
- readonly duration?: number | undefined;
2001
- } | {
1165
+ readonly id?: string | undefined;
2002
1166
  readonly source?: {
2003
1167
  readonly type: "base64";
2004
1168
  readonly mediaType: string;
@@ -2007,57 +1171,84 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
2007
1171
  readonly type: "http";
2008
1172
  readonly url: string;
2009
1173
  } | undefined;
2010
- readonly id?: string | undefined;
1174
+ } | {
1175
+ readonly _tag: "json";
2011
1176
  readonly pending?: boolean | undefined;
2012
- readonly _tag: "image";
1177
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1178
+ readonly data: string;
2013
1179
  } | {
2014
- readonly name?: string | undefined;
1180
+ readonly _tag: "proposal";
2015
1181
  readonly pending?: boolean | undefined;
2016
- readonly _tag: "file";
2017
- readonly mediaType?: string | undefined;
2018
- readonly url: string;
1182
+ readonly text: string;
2019
1183
  } | {
1184
+ readonly _tag: "reasoning";
2020
1185
  readonly pending?: boolean | undefined;
1186
+ readonly reasoningText?: string | undefined;
1187
+ readonly redactedText?: string | undefined;
1188
+ readonly signature?: string | undefined;
1189
+ } | {
2021
1190
  readonly _tag: "reference";
1191
+ readonly pending?: boolean | undefined;
2022
1192
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2023
1193
  } | {
1194
+ readonly _tag: "select";
2024
1195
  readonly pending?: boolean | undefined;
2025
- readonly text: string;
2026
- readonly _tag: "transcript";
2027
- readonly started: string;
1196
+ readonly options: string[];
2028
1197
  } | {
2029
- readonly pending?: boolean | undefined;
2030
1198
  readonly _tag: "status";
1199
+ readonly pending?: boolean | undefined;
2031
1200
  readonly statusText: string;
2032
1201
  } | {
2033
- readonly pending?: boolean | undefined;
2034
- readonly text: string;
2035
1202
  readonly _tag: "suggestion";
2036
- } | {
2037
1203
  readonly pending?: boolean | undefined;
2038
- readonly _tag: "select";
2039
- readonly options: string[];
1204
+ readonly text: string;
2040
1205
  } | {
2041
- readonly version: unknown;
1206
+ readonly _tag: "stats";
2042
1207
  readonly pending?: boolean | undefined;
2043
- readonly _tag: "anchor";
2044
- readonly objectId: string;
1208
+ readonly mimeType?: string | undefined;
1209
+ readonly message?: string | undefined;
1210
+ readonly model?: string | undefined;
1211
+ readonly usage?: {
1212
+ readonly inputTokens?: number | undefined;
1213
+ readonly outputTokens?: number | undefined;
1214
+ readonly totalTokens?: number | undefined;
1215
+ } | undefined;
1216
+ readonly toolCalls?: number | undefined;
1217
+ readonly errors?: number | undefined;
1218
+ readonly duration?: number | undefined;
2045
1219
  } | {
1220
+ readonly _tag: "text";
2046
1221
  readonly pending?: boolean | undefined;
1222
+ readonly mimeType?: string | undefined;
2047
1223
  readonly text: string;
2048
- readonly _tag: "proposal";
1224
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
2049
1225
  } | {
2050
- readonly pending?: boolean | undefined;
2051
1226
  readonly _tag: "summary";
1227
+ readonly pending?: boolean | undefined;
2052
1228
  readonly content: string;
2053
1229
  } | {
2054
- readonly pending?: boolean | undefined;
2055
1230
  readonly _tag: "toolkit";
1231
+ readonly pending?: boolean | undefined;
1232
+ } | {
1233
+ readonly _tag: "toolCall";
1234
+ readonly pending?: boolean | undefined;
1235
+ readonly toolCallId: string;
1236
+ readonly name: string;
1237
+ readonly input: string;
1238
+ readonly providerExecuted: boolean;
2056
1239
  } | {
1240
+ readonly _tag: "toolResult";
2057
1241
  readonly pending?: boolean | undefined;
2058
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2059
- readonly _tag: "json";
2060
- readonly data: string;
1242
+ readonly toolCallId: string;
1243
+ readonly name: string;
1244
+ readonly result?: string | undefined;
1245
+ readonly error?: string | undefined;
1246
+ readonly providerExecuted: boolean;
1247
+ } | {
1248
+ readonly _tag: "transcript";
1249
+ readonly pending?: boolean | undefined;
1250
+ readonly started: string;
1251
+ readonly text: string;
2061
1252
  })[];
2062
1253
  readonly properties?: {
2063
1254
  readonly [x: string]: any;
@@ -2067,21 +1258,20 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
2067
1258
  }, {
2068
1259
  readonly message?: {
2069
1260
  id: string;
2070
- parentMessage?: string | undefined | undefined;
2071
- threadId?: string | undefined | undefined;
1261
+ parentMessage?: string | undefined;
1262
+ threadId?: string | undefined;
2072
1263
  created: string;
2073
1264
  sender: {
2074
- readonly name?: string | undefined;
2075
- readonly role?: "user" | "assistant" | "tool" | undefined;
1265
+ readonly role?: "assistant" | "tool" | "user" | undefined;
2076
1266
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2077
- readonly image?: string | undefined;
2078
1267
  readonly fullName?: string | undefined;
2079
1268
  readonly preferredName?: string | undefined;
2080
1269
  readonly nickname?: string | undefined;
1270
+ readonly image?: string | undefined;
2081
1271
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2082
- readonly description?: string | undefined;
2083
1272
  readonly name?: string | undefined;
2084
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1273
+ readonly description?: string | undefined;
1274
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
2085
1275
  readonly image?: string | undefined;
2086
1276
  readonly website?: string | undefined;
2087
1277
  } & {
@@ -2091,23 +1281,19 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
2091
1281
  readonly department?: string | undefined;
2092
1282
  readonly notes?: string | undefined;
2093
1283
  readonly emails?: readonly {
2094
- readonly value: string;
2095
1284
  readonly label?: string | undefined;
1285
+ readonly value: string;
2096
1286
  }[] | undefined;
2097
1287
  readonly identities?: readonly {
2098
- readonly value: string;
2099
1288
  readonly label?: string | undefined;
1289
+ readonly value: string;
2100
1290
  }[] | undefined;
2101
1291
  readonly phoneNumbers?: readonly {
2102
- readonly value: string;
2103
1292
  readonly label?: string | undefined;
2104
- }[] | undefined;
2105
- readonly fields?: readonly {
2106
1293
  readonly value: string;
2107
- readonly label: string;
2108
- readonly category?: string | undefined;
2109
1294
  }[] | undefined;
2110
1295
  readonly addresses?: readonly {
1296
+ readonly label?: string | undefined;
2111
1297
  readonly value: {
2112
1298
  readonly street?: string | undefined;
2113
1299
  readonly extended?: string | undefined;
@@ -2117,51 +1303,83 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
2117
1303
  readonly postOfficeBoxNumber?: string | undefined;
2118
1304
  readonly country?: string | undefined;
2119
1305
  };
2120
- readonly label?: string | undefined;
2121
1306
  }[] | undefined;
2122
1307
  readonly urls?: readonly {
2123
- readonly value: string;
2124
1308
  readonly label?: string | undefined;
1309
+ readonly value: string;
2125
1310
  }[] | undefined;
2126
1311
  readonly birthday?: string | undefined;
1312
+ readonly fields?: readonly {
1313
+ readonly category?: string | undefined;
1314
+ readonly label: string;
1315
+ readonly value: string;
1316
+ }[] | undefined;
2127
1317
  } & {
2128
1318
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2129
1319
  }> | undefined;
2130
1320
  readonly identityDid?: string | undefined;
2131
1321
  readonly identityKey?: string | undefined;
2132
1322
  readonly email?: string | undefined;
1323
+ readonly name?: string | undefined;
2133
1324
  };
2134
1325
  blocks: ({
1326
+ readonly _tag: "anchor";
2135
1327
  readonly pending?: boolean | undefined;
2136
- readonly text: string;
2137
- readonly mimeType?: string | undefined;
2138
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2139
- readonly _tag: "text";
1328
+ readonly objectId: string;
1329
+ readonly version: unknown;
1330
+ } | {
1331
+ readonly _tag: "file";
1332
+ readonly pending?: boolean | undefined;
1333
+ readonly url: string;
1334
+ readonly name?: string | undefined;
1335
+ readonly mediaType?: string | undefined;
1336
+ } | {
1337
+ readonly _tag: "image";
1338
+ readonly pending?: boolean | undefined;
1339
+ readonly id?: string | undefined;
1340
+ readonly source?: {
1341
+ readonly type: "base64";
1342
+ readonly mediaType: string;
1343
+ readonly data: string;
1344
+ } | {
1345
+ readonly type: "http";
1346
+ readonly url: string;
1347
+ } | undefined;
1348
+ } | {
1349
+ readonly _tag: "json";
1350
+ readonly pending?: boolean | undefined;
1351
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1352
+ readonly data: string;
2140
1353
  } | {
1354
+ readonly _tag: "proposal";
2141
1355
  readonly pending?: boolean | undefined;
1356
+ readonly text: string;
1357
+ } | {
2142
1358
  readonly _tag: "reasoning";
1359
+ readonly pending?: boolean | undefined;
2143
1360
  readonly reasoningText?: string | undefined;
2144
1361
  readonly redactedText?: string | undefined;
2145
1362
  readonly signature?: string | undefined;
2146
1363
  } | {
2147
- readonly name: string;
1364
+ readonly _tag: "reference";
2148
1365
  readonly pending?: boolean | undefined;
2149
- readonly _tag: "toolCall";
2150
- readonly toolCallId: string;
2151
- readonly input: string;
2152
- readonly providerExecuted: boolean;
1366
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2153
1367
  } | {
2154
- readonly name: string;
1368
+ readonly _tag: "select";
2155
1369
  readonly pending?: boolean | undefined;
2156
- readonly _tag: "toolResult";
2157
- readonly toolCallId: string;
2158
- readonly providerExecuted: boolean;
2159
- readonly result?: string | undefined;
2160
- readonly error?: string | undefined;
1370
+ readonly options: string[];
1371
+ } | {
1372
+ readonly _tag: "status";
1373
+ readonly pending?: boolean | undefined;
1374
+ readonly statusText: string;
1375
+ } | {
1376
+ readonly _tag: "suggestion";
1377
+ readonly pending?: boolean | undefined;
1378
+ readonly text: string;
2161
1379
  } | {
1380
+ readonly _tag: "stats";
2162
1381
  readonly pending?: boolean | undefined;
2163
1382
  readonly mimeType?: string | undefined;
2164
- readonly _tag: "stats";
2165
1383
  readonly message?: string | undefined;
2166
1384
  readonly model?: string | undefined;
2167
1385
  readonly usage?: {
@@ -2173,69 +1391,42 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
2173
1391
  readonly errors?: number | undefined;
2174
1392
  readonly duration?: number | undefined;
2175
1393
  } | {
2176
- readonly source?: {
2177
- readonly type: "base64";
2178
- readonly mediaType: string;
2179
- readonly data: string;
2180
- } | {
2181
- readonly type: "http";
2182
- readonly url: string;
2183
- } | undefined;
2184
- readonly id?: string | undefined;
2185
- readonly pending?: boolean | undefined;
2186
- readonly _tag: "image";
2187
- } | {
2188
- readonly name?: string | undefined;
2189
- readonly pending?: boolean | undefined;
2190
- readonly _tag: "file";
2191
- readonly mediaType?: string | undefined;
2192
- readonly url: string;
2193
- } | {
2194
- readonly pending?: boolean | undefined;
2195
- readonly _tag: "reference";
2196
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2197
- } | {
1394
+ readonly _tag: "text";
2198
1395
  readonly pending?: boolean | undefined;
1396
+ readonly mimeType?: string | undefined;
2199
1397
  readonly text: string;
2200
- readonly _tag: "transcript";
2201
- readonly started: string;
1398
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
2202
1399
  } | {
1400
+ readonly _tag: "summary";
2203
1401
  readonly pending?: boolean | undefined;
2204
- readonly _tag: "status";
2205
- readonly statusText: string;
1402
+ readonly content: string;
2206
1403
  } | {
1404
+ readonly _tag: "toolkit";
2207
1405
  readonly pending?: boolean | undefined;
2208
- readonly text: string;
2209
- readonly _tag: "suggestion";
2210
1406
  } | {
1407
+ readonly _tag: "toolCall";
2211
1408
  readonly pending?: boolean | undefined;
2212
- readonly _tag: "select";
2213
- readonly options: string[];
1409
+ readonly toolCallId: string;
1410
+ readonly name: string;
1411
+ readonly input: string;
1412
+ readonly providerExecuted: boolean;
2214
1413
  } | {
2215
- readonly version: unknown;
1414
+ readonly _tag: "toolResult";
2216
1415
  readonly pending?: boolean | undefined;
2217
- readonly _tag: "anchor";
2218
- readonly objectId: string;
1416
+ readonly toolCallId: string;
1417
+ readonly name: string;
1418
+ readonly result?: string | undefined;
1419
+ readonly error?: string | undefined;
1420
+ readonly providerExecuted: boolean;
2219
1421
  } | {
1422
+ readonly _tag: "transcript";
2220
1423
  readonly pending?: boolean | undefined;
1424
+ readonly started: string;
2221
1425
  readonly text: string;
2222
- readonly _tag: "proposal";
2223
- } | {
2224
- readonly pending?: boolean | undefined;
2225
- readonly _tag: "summary";
2226
- readonly content: string;
2227
- } | {
2228
- readonly pending?: boolean | undefined;
2229
- readonly _tag: "toolkit";
2230
- } | {
2231
- readonly pending?: boolean | undefined;
2232
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2233
- readonly _tag: "json";
2234
- readonly data: string;
2235
1426
  })[];
2236
1427
  properties?: {
2237
1428
  readonly [x: string]: any;
2238
- } | undefined | undefined;
1429
+ } | undefined;
2239
1430
  } | undefined;
2240
1431
  readonly messageIndex?: number | undefined;
2241
1432
  }, never>;
@@ -2254,17 +1445,16 @@ export declare const DeleteMessage: Operation.Definition<{
2254
1445
  readonly threadId?: string | undefined;
2255
1446
  readonly created: string;
2256
1447
  readonly sender: {
2257
- readonly name?: string | undefined;
2258
- readonly role?: "user" | "assistant" | "tool" | undefined;
1448
+ readonly role?: "assistant" | "tool" | "user" | undefined;
2259
1449
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2260
- readonly image?: string | undefined;
2261
1450
  readonly fullName?: string | undefined;
2262
1451
  readonly preferredName?: string | undefined;
2263
1452
  readonly nickname?: string | undefined;
1453
+ readonly image?: string | undefined;
2264
1454
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2265
- readonly description?: string | undefined;
2266
1455
  readonly name?: string | undefined;
2267
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1456
+ readonly description?: string | undefined;
1457
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
2268
1458
  readonly image?: string | undefined;
2269
1459
  readonly website?: string | undefined;
2270
1460
  } & {
@@ -2274,23 +1464,19 @@ export declare const DeleteMessage: Operation.Definition<{
2274
1464
  readonly department?: string | undefined;
2275
1465
  readonly notes?: string | undefined;
2276
1466
  readonly emails?: readonly {
2277
- readonly value: string;
2278
1467
  readonly label?: string | undefined;
1468
+ readonly value: string;
2279
1469
  }[] | undefined;
2280
1470
  readonly identities?: readonly {
2281
- readonly value: string;
2282
1471
  readonly label?: string | undefined;
1472
+ readonly value: string;
2283
1473
  }[] | undefined;
2284
1474
  readonly phoneNumbers?: readonly {
2285
- readonly value: string;
2286
1475
  readonly label?: string | undefined;
2287
- }[] | undefined;
2288
- readonly fields?: readonly {
2289
1476
  readonly value: string;
2290
- readonly label: string;
2291
- readonly category?: string | undefined;
2292
1477
  }[] | undefined;
2293
1478
  readonly addresses?: readonly {
1479
+ readonly label?: string | undefined;
2294
1480
  readonly value: {
2295
1481
  readonly street?: string | undefined;
2296
1482
  readonly extended?: string | undefined;
@@ -2300,62 +1486,40 @@ export declare const DeleteMessage: Operation.Definition<{
2300
1486
  readonly postOfficeBoxNumber?: string | undefined;
2301
1487
  readonly country?: string | undefined;
2302
1488
  };
2303
- readonly label?: string | undefined;
2304
1489
  }[] | undefined;
2305
1490
  readonly urls?: readonly {
2306
- readonly value: string;
2307
1491
  readonly label?: string | undefined;
1492
+ readonly value: string;
2308
1493
  }[] | undefined;
2309
1494
  readonly birthday?: string | undefined;
1495
+ readonly fields?: readonly {
1496
+ readonly category?: string | undefined;
1497
+ readonly label: string;
1498
+ readonly value: string;
1499
+ }[] | undefined;
2310
1500
  } & {
2311
1501
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2312
1502
  }> | undefined;
2313
1503
  readonly identityDid?: string | undefined;
2314
1504
  readonly identityKey?: string | undefined;
2315
1505
  readonly email?: string | undefined;
1506
+ readonly name?: string | undefined;
2316
1507
  };
2317
1508
  readonly blocks: readonly ({
1509
+ readonly _tag: "anchor";
2318
1510
  readonly pending?: boolean | undefined;
2319
- readonly text: string;
2320
- readonly mimeType?: string | undefined;
2321
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2322
- readonly _tag: "text";
2323
- } | {
2324
- readonly pending?: boolean | undefined;
2325
- readonly _tag: "reasoning";
2326
- readonly reasoningText?: string | undefined;
2327
- readonly redactedText?: string | undefined;
2328
- readonly signature?: string | undefined;
2329
- } | {
2330
- readonly name: string;
2331
- readonly pending?: boolean | undefined;
2332
- readonly _tag: "toolCall";
2333
- readonly toolCallId: string;
2334
- readonly input: string;
2335
- readonly providerExecuted: boolean;
1511
+ readonly objectId: string;
1512
+ readonly version: unknown;
2336
1513
  } | {
2337
- readonly name: string;
1514
+ readonly _tag: "file";
2338
1515
  readonly pending?: boolean | undefined;
2339
- readonly _tag: "toolResult";
2340
- readonly toolCallId: string;
2341
- readonly providerExecuted: boolean;
2342
- readonly result?: string | undefined;
2343
- readonly error?: string | undefined;
1516
+ readonly url: string;
1517
+ readonly name?: string | undefined;
1518
+ readonly mediaType?: string | undefined;
2344
1519
  } | {
1520
+ readonly _tag: "image";
2345
1521
  readonly pending?: boolean | undefined;
2346
- readonly mimeType?: string | undefined;
2347
- readonly _tag: "stats";
2348
- readonly message?: string | undefined;
2349
- readonly model?: string | undefined;
2350
- readonly usage?: {
2351
- readonly inputTokens?: number | undefined;
2352
- readonly outputTokens?: number | undefined;
2353
- readonly totalTokens?: number | undefined;
2354
- } | undefined;
2355
- readonly toolCalls?: number | undefined;
2356
- readonly errors?: number | undefined;
2357
- readonly duration?: number | undefined;
2358
- } | {
1522
+ readonly id?: string | undefined;
2359
1523
  readonly source?: {
2360
1524
  readonly type: "base64";
2361
1525
  readonly mediaType: string;
@@ -2364,57 +1528,84 @@ export declare const DeleteMessage: Operation.Definition<{
2364
1528
  readonly type: "http";
2365
1529
  readonly url: string;
2366
1530
  } | undefined;
2367
- readonly id?: string | undefined;
1531
+ } | {
1532
+ readonly _tag: "json";
2368
1533
  readonly pending?: boolean | undefined;
2369
- readonly _tag: "image";
1534
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1535
+ readonly data: string;
2370
1536
  } | {
2371
- readonly name?: string | undefined;
1537
+ readonly _tag: "proposal";
2372
1538
  readonly pending?: boolean | undefined;
2373
- readonly _tag: "file";
2374
- readonly mediaType?: string | undefined;
2375
- readonly url: string;
1539
+ readonly text: string;
2376
1540
  } | {
1541
+ readonly _tag: "reasoning";
2377
1542
  readonly pending?: boolean | undefined;
1543
+ readonly reasoningText?: string | undefined;
1544
+ readonly redactedText?: string | undefined;
1545
+ readonly signature?: string | undefined;
1546
+ } | {
2378
1547
  readonly _tag: "reference";
1548
+ readonly pending?: boolean | undefined;
2379
1549
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2380
1550
  } | {
1551
+ readonly _tag: "select";
2381
1552
  readonly pending?: boolean | undefined;
2382
- readonly text: string;
2383
- readonly _tag: "transcript";
2384
- readonly started: string;
1553
+ readonly options: string[];
2385
1554
  } | {
2386
- readonly pending?: boolean | undefined;
2387
1555
  readonly _tag: "status";
1556
+ readonly pending?: boolean | undefined;
2388
1557
  readonly statusText: string;
2389
1558
  } | {
2390
- readonly pending?: boolean | undefined;
2391
- readonly text: string;
2392
1559
  readonly _tag: "suggestion";
2393
- } | {
2394
1560
  readonly pending?: boolean | undefined;
2395
- readonly _tag: "select";
2396
- readonly options: string[];
1561
+ readonly text: string;
2397
1562
  } | {
2398
- readonly version: unknown;
1563
+ readonly _tag: "stats";
2399
1564
  readonly pending?: boolean | undefined;
2400
- readonly _tag: "anchor";
2401
- readonly objectId: string;
1565
+ readonly mimeType?: string | undefined;
1566
+ readonly message?: string | undefined;
1567
+ readonly model?: string | undefined;
1568
+ readonly usage?: {
1569
+ readonly inputTokens?: number | undefined;
1570
+ readonly outputTokens?: number | undefined;
1571
+ readonly totalTokens?: number | undefined;
1572
+ } | undefined;
1573
+ readonly toolCalls?: number | undefined;
1574
+ readonly errors?: number | undefined;
1575
+ readonly duration?: number | undefined;
2402
1576
  } | {
1577
+ readonly _tag: "text";
2403
1578
  readonly pending?: boolean | undefined;
1579
+ readonly mimeType?: string | undefined;
2404
1580
  readonly text: string;
2405
- readonly _tag: "proposal";
1581
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
2406
1582
  } | {
2407
- readonly pending?: boolean | undefined;
2408
1583
  readonly _tag: "summary";
1584
+ readonly pending?: boolean | undefined;
2409
1585
  readonly content: string;
2410
1586
  } | {
2411
- readonly pending?: boolean | undefined;
2412
1587
  readonly _tag: "toolkit";
1588
+ readonly pending?: boolean | undefined;
2413
1589
  } | {
1590
+ readonly _tag: "toolCall";
2414
1591
  readonly pending?: boolean | undefined;
2415
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2416
- readonly _tag: "json";
2417
- readonly data: string;
1592
+ readonly toolCallId: string;
1593
+ readonly name: string;
1594
+ readonly input: string;
1595
+ readonly providerExecuted: boolean;
1596
+ } | {
1597
+ readonly _tag: "toolResult";
1598
+ readonly pending?: boolean | undefined;
1599
+ readonly toolCallId: string;
1600
+ readonly name: string;
1601
+ readonly result?: string | undefined;
1602
+ readonly error?: string | undefined;
1603
+ readonly providerExecuted: boolean;
1604
+ } | {
1605
+ readonly _tag: "transcript";
1606
+ readonly pending?: boolean | undefined;
1607
+ readonly started: string;
1608
+ readonly text: string;
2418
1609
  })[];
2419
1610
  readonly properties?: {
2420
1611
  readonly [x: string]: any;
@@ -2426,30 +1617,25 @@ export declare const DeleteMessage: Operation.Definition<{
2426
1617
  * Restore a deleted thread (inverse of Delete).
2427
1618
  */
2428
1619
  export declare const Restore: Operation.Definition<{
2429
- readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
2430
- readonly id: string;
2431
- readonly anchor?: string | undefined;
2432
- };
2433
1620
  readonly thread: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2434
1621
  readonly name?: string | undefined;
2435
- readonly status?: "active" | "staged" | "resolved" | undefined;
1622
+ readonly status?: "active" | "resolved" | "staged" | undefined;
2436
1623
  readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2437
1624
  readonly id: string;
2438
1625
  readonly parentMessage?: string | undefined;
2439
1626
  readonly threadId?: string | undefined;
2440
1627
  readonly created: string;
2441
1628
  readonly sender: {
2442
- readonly name?: string | undefined;
2443
- readonly role?: "user" | "assistant" | "tool" | undefined;
1629
+ readonly role?: "assistant" | "tool" | "user" | undefined;
2444
1630
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2445
- readonly image?: string | undefined;
2446
1631
  readonly fullName?: string | undefined;
2447
1632
  readonly preferredName?: string | undefined;
2448
1633
  readonly nickname?: string | undefined;
1634
+ readonly image?: string | undefined;
2449
1635
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2450
- readonly description?: string | undefined;
2451
1636
  readonly name?: string | undefined;
2452
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1637
+ readonly description?: string | undefined;
1638
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
2453
1639
  readonly image?: string | undefined;
2454
1640
  readonly website?: string | undefined;
2455
1641
  } & {
@@ -2459,23 +1645,19 @@ export declare const Restore: Operation.Definition<{
2459
1645
  readonly department?: string | undefined;
2460
1646
  readonly notes?: string | undefined;
2461
1647
  readonly emails?: readonly {
2462
- readonly value: string;
2463
1648
  readonly label?: string | undefined;
1649
+ readonly value: string;
2464
1650
  }[] | undefined;
2465
1651
  readonly identities?: readonly {
2466
- readonly value: string;
2467
1652
  readonly label?: string | undefined;
1653
+ readonly value: string;
2468
1654
  }[] | undefined;
2469
1655
  readonly phoneNumbers?: readonly {
2470
- readonly value: string;
2471
1656
  readonly label?: string | undefined;
2472
- }[] | undefined;
2473
- readonly fields?: readonly {
2474
1657
  readonly value: string;
2475
- readonly label: string;
2476
- readonly category?: string | undefined;
2477
1658
  }[] | undefined;
2478
1659
  readonly addresses?: readonly {
1660
+ readonly label?: string | undefined;
2479
1661
  readonly value: {
2480
1662
  readonly street?: string | undefined;
2481
1663
  readonly extended?: string | undefined;
@@ -2485,62 +1667,40 @@ export declare const Restore: Operation.Definition<{
2485
1667
  readonly postOfficeBoxNumber?: string | undefined;
2486
1668
  readonly country?: string | undefined;
2487
1669
  };
2488
- readonly label?: string | undefined;
2489
1670
  }[] | undefined;
2490
1671
  readonly urls?: readonly {
2491
- readonly value: string;
2492
1672
  readonly label?: string | undefined;
1673
+ readonly value: string;
2493
1674
  }[] | undefined;
2494
1675
  readonly birthday?: string | undefined;
1676
+ readonly fields?: readonly {
1677
+ readonly category?: string | undefined;
1678
+ readonly label: string;
1679
+ readonly value: string;
1680
+ }[] | undefined;
2495
1681
  } & {
2496
1682
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2497
1683
  }> | undefined;
2498
1684
  readonly identityDid?: string | undefined;
2499
1685
  readonly identityKey?: string | undefined;
2500
1686
  readonly email?: string | undefined;
2501
- };
2502
- readonly blocks: readonly ({
2503
- readonly pending?: boolean | undefined;
2504
- readonly text: string;
2505
- readonly mimeType?: string | undefined;
2506
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2507
- readonly _tag: "text";
2508
- } | {
2509
- readonly pending?: boolean | undefined;
2510
- readonly _tag: "reasoning";
2511
- readonly reasoningText?: string | undefined;
2512
- readonly redactedText?: string | undefined;
2513
- readonly signature?: string | undefined;
2514
- } | {
2515
- readonly name: string;
2516
- readonly pending?: boolean | undefined;
2517
- readonly _tag: "toolCall";
2518
- readonly toolCallId: string;
2519
- readonly input: string;
2520
- readonly providerExecuted: boolean;
2521
- } | {
2522
- readonly name: string;
1687
+ readonly name?: string | undefined;
1688
+ };
1689
+ readonly blocks: readonly ({
1690
+ readonly _tag: "anchor";
2523
1691
  readonly pending?: boolean | undefined;
2524
- readonly _tag: "toolResult";
2525
- readonly toolCallId: string;
2526
- readonly providerExecuted: boolean;
2527
- readonly result?: string | undefined;
2528
- readonly error?: string | undefined;
1692
+ readonly objectId: string;
1693
+ readonly version: unknown;
2529
1694
  } | {
1695
+ readonly _tag: "file";
2530
1696
  readonly pending?: boolean | undefined;
2531
- readonly mimeType?: string | undefined;
2532
- readonly _tag: "stats";
2533
- readonly message?: string | undefined;
2534
- readonly model?: string | undefined;
2535
- readonly usage?: {
2536
- readonly inputTokens?: number | undefined;
2537
- readonly outputTokens?: number | undefined;
2538
- readonly totalTokens?: number | undefined;
2539
- } | undefined;
2540
- readonly toolCalls?: number | undefined;
2541
- readonly errors?: number | undefined;
2542
- readonly duration?: number | undefined;
1697
+ readonly url: string;
1698
+ readonly name?: string | undefined;
1699
+ readonly mediaType?: string | undefined;
2543
1700
  } | {
1701
+ readonly _tag: "image";
1702
+ readonly pending?: boolean | undefined;
1703
+ readonly id?: string | undefined;
2544
1704
  readonly source?: {
2545
1705
  readonly type: "base64";
2546
1706
  readonly mediaType: string;
@@ -2549,85 +1709,119 @@ export declare const Restore: Operation.Definition<{
2549
1709
  readonly type: "http";
2550
1710
  readonly url: string;
2551
1711
  } | undefined;
2552
- readonly id?: string | undefined;
1712
+ } | {
1713
+ readonly _tag: "json";
2553
1714
  readonly pending?: boolean | undefined;
2554
- readonly _tag: "image";
1715
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1716
+ readonly data: string;
2555
1717
  } | {
2556
- readonly name?: string | undefined;
1718
+ readonly _tag: "proposal";
2557
1719
  readonly pending?: boolean | undefined;
2558
- readonly _tag: "file";
2559
- readonly mediaType?: string | undefined;
2560
- readonly url: string;
1720
+ readonly text: string;
2561
1721
  } | {
1722
+ readonly _tag: "reasoning";
2562
1723
  readonly pending?: boolean | undefined;
1724
+ readonly reasoningText?: string | undefined;
1725
+ readonly redactedText?: string | undefined;
1726
+ readonly signature?: string | undefined;
1727
+ } | {
2563
1728
  readonly _tag: "reference";
1729
+ readonly pending?: boolean | undefined;
2564
1730
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2565
1731
  } | {
1732
+ readonly _tag: "select";
2566
1733
  readonly pending?: boolean | undefined;
2567
- readonly text: string;
2568
- readonly _tag: "transcript";
2569
- readonly started: string;
1734
+ readonly options: string[];
2570
1735
  } | {
2571
- readonly pending?: boolean | undefined;
2572
1736
  readonly _tag: "status";
1737
+ readonly pending?: boolean | undefined;
2573
1738
  readonly statusText: string;
2574
1739
  } | {
2575
- readonly pending?: boolean | undefined;
2576
- readonly text: string;
2577
1740
  readonly _tag: "suggestion";
2578
- } | {
2579
1741
  readonly pending?: boolean | undefined;
2580
- readonly _tag: "select";
2581
- readonly options: string[];
1742
+ readonly text: string;
2582
1743
  } | {
2583
- readonly version: unknown;
1744
+ readonly _tag: "stats";
2584
1745
  readonly pending?: boolean | undefined;
2585
- readonly _tag: "anchor";
2586
- readonly objectId: string;
1746
+ readonly mimeType?: string | undefined;
1747
+ readonly message?: string | undefined;
1748
+ readonly model?: string | undefined;
1749
+ readonly usage?: {
1750
+ readonly inputTokens?: number | undefined;
1751
+ readonly outputTokens?: number | undefined;
1752
+ readonly totalTokens?: number | undefined;
1753
+ } | undefined;
1754
+ readonly toolCalls?: number | undefined;
1755
+ readonly errors?: number | undefined;
1756
+ readonly duration?: number | undefined;
2587
1757
  } | {
1758
+ readonly _tag: "text";
2588
1759
  readonly pending?: boolean | undefined;
1760
+ readonly mimeType?: string | undefined;
2589
1761
  readonly text: string;
2590
- readonly _tag: "proposal";
1762
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
2591
1763
  } | {
2592
- readonly pending?: boolean | undefined;
2593
1764
  readonly _tag: "summary";
1765
+ readonly pending?: boolean | undefined;
2594
1766
  readonly content: string;
2595
1767
  } | {
2596
- readonly pending?: boolean | undefined;
2597
1768
  readonly _tag: "toolkit";
1769
+ readonly pending?: boolean | undefined;
2598
1770
  } | {
1771
+ readonly _tag: "toolCall";
2599
1772
  readonly pending?: boolean | undefined;
2600
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2601
- readonly _tag: "json";
2602
- readonly data: string;
1773
+ readonly toolCallId: string;
1774
+ readonly name: string;
1775
+ readonly input: string;
1776
+ readonly providerExecuted: boolean;
1777
+ } | {
1778
+ readonly _tag: "toolResult";
1779
+ readonly pending?: boolean | undefined;
1780
+ readonly toolCallId: string;
1781
+ readonly name: string;
1782
+ readonly result?: string | undefined;
1783
+ readonly error?: string | undefined;
1784
+ readonly providerExecuted: boolean;
1785
+ } | {
1786
+ readonly _tag: "transcript";
1787
+ readonly pending?: boolean | undefined;
1788
+ readonly started: string;
1789
+ readonly text: string;
2603
1790
  })[];
2604
1791
  readonly properties?: {
2605
1792
  readonly [x: string]: any;
2606
1793
  } | undefined;
2607
1794
  }>[];
2608
1795
  };
1796
+ readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
1797
+ readonly id: string;
1798
+ readonly anchor?: string | undefined;
1799
+ };
2609
1800
  }, void, Capability.Service>;
2610
1801
  /**
2611
1802
  * Restore a deleted message (inverse of DeleteMessage).
2612
1803
  */
2613
1804
  export declare const RestoreMessage: Operation.Definition<{
1805
+ readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
1806
+ readonly id: string;
1807
+ readonly anchor?: string | undefined;
1808
+ };
2614
1809
  readonly message: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2615
1810
  readonly id: string;
2616
1811
  readonly parentMessage?: string | undefined;
2617
1812
  readonly threadId?: string | undefined;
2618
1813
  readonly created: string;
2619
1814
  readonly sender: {
2620
- readonly name?: string | undefined;
2621
- readonly role?: "user" | "assistant" | "tool" | undefined;
1815
+ readonly role?: "assistant" | "tool" | "user" | undefined;
2622
1816
  readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2623
- readonly image?: string | undefined;
2624
1817
  readonly fullName?: string | undefined;
2625
1818
  readonly preferredName?: string | undefined;
2626
1819
  readonly nickname?: string | undefined;
1820
+ readonly image?: string | undefined;
2627
1821
  readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2628
- readonly description?: string | undefined;
2629
1822
  readonly name?: string | undefined;
2630
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1823
+ readonly description?: string | undefined;
1824
+ readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
2631
1825
  readonly image?: string | undefined;
2632
1826
  readonly website?: string | undefined;
2633
1827
  } & {
@@ -2637,23 +1831,19 @@ export declare const RestoreMessage: Operation.Definition<{
2637
1831
  readonly department?: string | undefined;
2638
1832
  readonly notes?: string | undefined;
2639
1833
  readonly emails?: readonly {
2640
- readonly value: string;
2641
1834
  readonly label?: string | undefined;
1835
+ readonly value: string;
2642
1836
  }[] | undefined;
2643
1837
  readonly identities?: readonly {
2644
- readonly value: string;
2645
1838
  readonly label?: string | undefined;
1839
+ readonly value: string;
2646
1840
  }[] | undefined;
2647
1841
  readonly phoneNumbers?: readonly {
2648
- readonly value: string;
2649
1842
  readonly label?: string | undefined;
2650
- }[] | undefined;
2651
- readonly fields?: readonly {
2652
1843
  readonly value: string;
2653
- readonly label: string;
2654
- readonly category?: string | undefined;
2655
1844
  }[] | undefined;
2656
1845
  readonly addresses?: readonly {
1846
+ readonly label?: string | undefined;
2657
1847
  readonly value: {
2658
1848
  readonly street?: string | undefined;
2659
1849
  readonly extended?: string | undefined;
@@ -2663,62 +1853,40 @@ export declare const RestoreMessage: Operation.Definition<{
2663
1853
  readonly postOfficeBoxNumber?: string | undefined;
2664
1854
  readonly country?: string | undefined;
2665
1855
  };
2666
- readonly label?: string | undefined;
2667
1856
  }[] | undefined;
2668
1857
  readonly urls?: readonly {
2669
- readonly value: string;
2670
1858
  readonly label?: string | undefined;
1859
+ readonly value: string;
2671
1860
  }[] | undefined;
2672
1861
  readonly birthday?: string | undefined;
1862
+ readonly fields?: readonly {
1863
+ readonly category?: string | undefined;
1864
+ readonly label: string;
1865
+ readonly value: string;
1866
+ }[] | undefined;
2673
1867
  } & {
2674
1868
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2675
1869
  }> | undefined;
2676
1870
  readonly identityDid?: string | undefined;
2677
1871
  readonly identityKey?: string | undefined;
2678
1872
  readonly email?: string | undefined;
1873
+ readonly name?: string | undefined;
2679
1874
  };
2680
1875
  readonly blocks: readonly ({
1876
+ readonly _tag: "anchor";
2681
1877
  readonly pending?: boolean | undefined;
2682
- readonly text: string;
2683
- readonly mimeType?: string | undefined;
2684
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2685
- readonly _tag: "text";
2686
- } | {
2687
- readonly pending?: boolean | undefined;
2688
- readonly _tag: "reasoning";
2689
- readonly reasoningText?: string | undefined;
2690
- readonly redactedText?: string | undefined;
2691
- readonly signature?: string | undefined;
2692
- } | {
2693
- readonly name: string;
2694
- readonly pending?: boolean | undefined;
2695
- readonly _tag: "toolCall";
2696
- readonly toolCallId: string;
2697
- readonly input: string;
2698
- readonly providerExecuted: boolean;
1878
+ readonly objectId: string;
1879
+ readonly version: unknown;
2699
1880
  } | {
2700
- readonly name: string;
1881
+ readonly _tag: "file";
2701
1882
  readonly pending?: boolean | undefined;
2702
- readonly _tag: "toolResult";
2703
- readonly toolCallId: string;
2704
- readonly providerExecuted: boolean;
2705
- readonly result?: string | undefined;
2706
- readonly error?: string | undefined;
1883
+ readonly url: string;
1884
+ readonly name?: string | undefined;
1885
+ readonly mediaType?: string | undefined;
2707
1886
  } | {
1887
+ readonly _tag: "image";
2708
1888
  readonly pending?: boolean | undefined;
2709
- readonly mimeType?: string | undefined;
2710
- readonly _tag: "stats";
2711
- readonly message?: string | undefined;
2712
- readonly model?: string | undefined;
2713
- readonly usage?: {
2714
- readonly inputTokens?: number | undefined;
2715
- readonly outputTokens?: number | undefined;
2716
- readonly totalTokens?: number | undefined;
2717
- } | undefined;
2718
- readonly toolCalls?: number | undefined;
2719
- readonly errors?: number | undefined;
2720
- readonly duration?: number | undefined;
2721
- } | {
1889
+ readonly id?: string | undefined;
2722
1890
  readonly source?: {
2723
1891
  readonly type: "base64";
2724
1892
  readonly mediaType: string;
@@ -2727,72 +1895,95 @@ export declare const RestoreMessage: Operation.Definition<{
2727
1895
  readonly type: "http";
2728
1896
  readonly url: string;
2729
1897
  } | undefined;
2730
- readonly id?: string | undefined;
1898
+ } | {
1899
+ readonly _tag: "json";
2731
1900
  readonly pending?: boolean | undefined;
2732
- readonly _tag: "image";
1901
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
1902
+ readonly data: string;
2733
1903
  } | {
2734
- readonly name?: string | undefined;
1904
+ readonly _tag: "proposal";
2735
1905
  readonly pending?: boolean | undefined;
2736
- readonly _tag: "file";
2737
- readonly mediaType?: string | undefined;
2738
- readonly url: string;
1906
+ readonly text: string;
2739
1907
  } | {
1908
+ readonly _tag: "reasoning";
2740
1909
  readonly pending?: boolean | undefined;
1910
+ readonly reasoningText?: string | undefined;
1911
+ readonly redactedText?: string | undefined;
1912
+ readonly signature?: string | undefined;
1913
+ } | {
2741
1914
  readonly _tag: "reference";
1915
+ readonly pending?: boolean | undefined;
2742
1916
  readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2743
1917
  } | {
1918
+ readonly _tag: "select";
2744
1919
  readonly pending?: boolean | undefined;
2745
- readonly text: string;
2746
- readonly _tag: "transcript";
2747
- readonly started: string;
1920
+ readonly options: string[];
2748
1921
  } | {
2749
- readonly pending?: boolean | undefined;
2750
1922
  readonly _tag: "status";
1923
+ readonly pending?: boolean | undefined;
2751
1924
  readonly statusText: string;
2752
1925
  } | {
2753
- readonly pending?: boolean | undefined;
2754
- readonly text: string;
2755
1926
  readonly _tag: "suggestion";
2756
- } | {
2757
1927
  readonly pending?: boolean | undefined;
2758
- readonly _tag: "select";
2759
- readonly options: string[];
1928
+ readonly text: string;
2760
1929
  } | {
2761
- readonly version: unknown;
1930
+ readonly _tag: "stats";
2762
1931
  readonly pending?: boolean | undefined;
2763
- readonly _tag: "anchor";
2764
- readonly objectId: string;
1932
+ readonly mimeType?: string | undefined;
1933
+ readonly message?: string | undefined;
1934
+ readonly model?: string | undefined;
1935
+ readonly usage?: {
1936
+ readonly inputTokens?: number | undefined;
1937
+ readonly outputTokens?: number | undefined;
1938
+ readonly totalTokens?: number | undefined;
1939
+ } | undefined;
1940
+ readonly toolCalls?: number | undefined;
1941
+ readonly errors?: number | undefined;
1942
+ readonly duration?: number | undefined;
2765
1943
  } | {
1944
+ readonly _tag: "text";
2766
1945
  readonly pending?: boolean | undefined;
1946
+ readonly mimeType?: string | undefined;
2767
1947
  readonly text: string;
2768
- readonly _tag: "proposal";
1948
+ readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
2769
1949
  } | {
2770
- readonly pending?: boolean | undefined;
2771
1950
  readonly _tag: "summary";
1951
+ readonly pending?: boolean | undefined;
2772
1952
  readonly content: string;
2773
1953
  } | {
2774
- readonly pending?: boolean | undefined;
2775
1954
  readonly _tag: "toolkit";
1955
+ readonly pending?: boolean | undefined;
2776
1956
  } | {
1957
+ readonly _tag: "toolCall";
2777
1958
  readonly pending?: boolean | undefined;
2778
- readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
2779
- readonly _tag: "json";
2780
- readonly data: string;
1959
+ readonly toolCallId: string;
1960
+ readonly name: string;
1961
+ readonly input: string;
1962
+ readonly providerExecuted: boolean;
1963
+ } | {
1964
+ readonly _tag: "toolResult";
1965
+ readonly pending?: boolean | undefined;
1966
+ readonly toolCallId: string;
1967
+ readonly name: string;
1968
+ readonly result?: string | undefined;
1969
+ readonly error?: string | undefined;
1970
+ readonly providerExecuted: boolean;
1971
+ } | {
1972
+ readonly _tag: "transcript";
1973
+ readonly pending?: boolean | undefined;
1974
+ readonly started: string;
1975
+ readonly text: string;
2781
1976
  })[];
2782
1977
  readonly properties?: {
2783
1978
  readonly [x: string]: any;
2784
1979
  } | undefined;
2785
1980
  };
2786
- readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
2787
- readonly id: string;
2788
- readonly anchor?: string | undefined;
2789
- };
2790
1981
  readonly messageIndex: number;
2791
1982
  }, void, Capability.Service>;
2792
1983
  export declare const CreateProposals: Operation.Definition<{
2793
1984
  readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2794
- readonly description?: string | undefined;
2795
1985
  readonly name?: string | undefined;
1986
+ readonly description?: string | undefined;
2796
1987
  readonly fallbackName?: string | undefined;
2797
1988
  readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2798
1989
  readonly name?: string | undefined;
@@ -2801,4 +1992,4 @@ export declare const CreateProposals: Operation.Definition<{
2801
1992
  }>;
2802
1993
  readonly diffs: readonly string[];
2803
1994
  }, void, Database.Service>;
2804
- //# sourceMappingURL=definitions.d.ts.map
1995
+ //# sourceMappingURL=ThreadOperation.d.ts.map