@dxos/plugin-thread 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934

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