@dxos/plugin-thread 0.8.4-main.4a85c3132b → 0.8.4-main.51f1e5ca51

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 (489) hide show
  1. package/dist/lib/browser/add-message-OC4QB4I2.mjs +89 -0
  2. package/dist/lib/browser/add-message-OC4QB4I2.mjs.map +7 -0
  3. package/dist/lib/browser/blueprints/index.mjs +32 -3
  4. package/dist/lib/browser/blueprints/index.mjs.map +4 -4
  5. package/dist/lib/browser/chunk-J67QAUIW.mjs +61 -0
  6. package/dist/lib/browser/chunk-J67QAUIW.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-KCMJ7H7F.mjs +259 -0
  8. package/dist/lib/browser/chunk-KCMJ7H7F.mjs.map +7 -0
  9. package/dist/lib/browser/create-IUWQEW74.mjs +55 -0
  10. package/dist/lib/browser/create-IUWQEW74.mjs.map +7 -0
  11. package/dist/lib/browser/create-channel-CBC5WEFG.mjs +21 -0
  12. package/dist/lib/browser/create-channel-CBC5WEFG.mjs.map +7 -0
  13. package/dist/lib/browser/create-channel-thread-JJ5LQ3OZ.mjs +28 -0
  14. package/dist/lib/browser/create-channel-thread-JJ5LQ3OZ.mjs.map +7 -0
  15. package/dist/lib/browser/create-proposals-RHLVRJZ4.mjs +57 -0
  16. package/dist/lib/browser/create-proposals-RHLVRJZ4.mjs.map +7 -0
  17. package/dist/lib/browser/delete-PVIEGTTY.mjs +59 -0
  18. package/dist/lib/browser/delete-PVIEGTTY.mjs.map +7 -0
  19. package/dist/lib/browser/delete-message-TLVRPLJF.mjs +56 -0
  20. package/dist/lib/browser/delete-message-TLVRPLJF.mjs.map +7 -0
  21. package/dist/lib/browser/index.mjs +1811 -171
  22. package/dist/lib/browser/index.mjs.map +4 -4
  23. package/dist/lib/browser/meta.json +1 -1
  24. package/dist/lib/browser/on-create-space-KRTKYRFU.mjs +25 -0
  25. package/dist/lib/browser/on-create-space-KRTKYRFU.mjs.map +7 -0
  26. package/dist/lib/browser/operations/index.mjs +14 -0
  27. package/dist/lib/browser/operations/index.mjs.map +7 -0
  28. package/dist/lib/browser/restore-AVE55SJF.mjs +33 -0
  29. package/dist/lib/browser/restore-AVE55SJF.mjs.map +7 -0
  30. package/dist/lib/browser/restore-message-F57RMGDJ.mjs +34 -0
  31. package/dist/lib/browser/restore-message-F57RMGDJ.mjs.map +7 -0
  32. package/dist/lib/browser/select-BJDZJI64.mjs +26 -0
  33. package/dist/lib/browser/select-BJDZJI64.mjs.map +7 -0
  34. package/dist/lib/browser/toggle-resolved-HQE5P7BV.mjs +37 -0
  35. package/dist/lib/browser/toggle-resolved-HQE5P7BV.mjs.map +7 -0
  36. package/dist/lib/browser/translations.mjs +90 -0
  37. package/dist/lib/browser/translations.mjs.map +7 -0
  38. package/dist/lib/browser/types/index.mjs +5 -8
  39. package/dist/lib/node-esm/add-message-HJXNAILW.mjs +90 -0
  40. package/dist/lib/node-esm/add-message-HJXNAILW.mjs.map +7 -0
  41. package/dist/lib/node-esm/blueprints/index.mjs +32 -3
  42. package/dist/lib/node-esm/blueprints/index.mjs.map +4 -4
  43. package/dist/lib/node-esm/chunk-2Q6V7NGK.mjs +62 -0
  44. package/dist/lib/node-esm/chunk-2Q6V7NGK.mjs.map +7 -0
  45. package/dist/lib/node-esm/chunk-4KRVIOPC.mjs +260 -0
  46. package/dist/lib/node-esm/chunk-4KRVIOPC.mjs.map +7 -0
  47. package/dist/lib/node-esm/create-NALJT67D.mjs +56 -0
  48. package/dist/lib/node-esm/create-NALJT67D.mjs.map +7 -0
  49. package/dist/lib/node-esm/create-channel-CS2EAYJF.mjs +22 -0
  50. package/dist/lib/node-esm/create-channel-CS2EAYJF.mjs.map +7 -0
  51. package/dist/lib/node-esm/create-channel-thread-KZZFZDTU.mjs +29 -0
  52. package/dist/lib/node-esm/create-channel-thread-KZZFZDTU.mjs.map +7 -0
  53. package/dist/lib/node-esm/create-proposals-AFAYZQBI.mjs +58 -0
  54. package/dist/lib/node-esm/create-proposals-AFAYZQBI.mjs.map +7 -0
  55. package/dist/lib/node-esm/delete-HQJVZY7Q.mjs +60 -0
  56. package/dist/lib/node-esm/delete-HQJVZY7Q.mjs.map +7 -0
  57. package/dist/lib/node-esm/delete-message-VVPEYLV4.mjs +57 -0
  58. package/dist/lib/node-esm/delete-message-VVPEYLV4.mjs.map +7 -0
  59. package/dist/lib/node-esm/index.mjs +1811 -171
  60. package/dist/lib/node-esm/index.mjs.map +4 -4
  61. package/dist/lib/node-esm/meta.json +1 -1
  62. package/dist/lib/node-esm/on-create-space-2UX7Z5EQ.mjs +26 -0
  63. package/dist/lib/node-esm/on-create-space-2UX7Z5EQ.mjs.map +7 -0
  64. package/dist/lib/node-esm/operations/index.mjs +15 -0
  65. package/dist/lib/node-esm/operations/index.mjs.map +7 -0
  66. package/dist/lib/node-esm/restore-FMIWJR5T.mjs +34 -0
  67. package/dist/lib/node-esm/restore-FMIWJR5T.mjs.map +7 -0
  68. package/dist/lib/node-esm/restore-message-3L7AMQMG.mjs +35 -0
  69. package/dist/lib/node-esm/restore-message-3L7AMQMG.mjs.map +7 -0
  70. package/dist/lib/node-esm/select-VCAFISBK.mjs +27 -0
  71. package/dist/lib/node-esm/select-VCAFISBK.mjs.map +7 -0
  72. package/dist/lib/node-esm/toggle-resolved-JDZZ257P.mjs +38 -0
  73. package/dist/lib/node-esm/toggle-resolved-JDZZ257P.mjs.map +7 -0
  74. package/dist/lib/node-esm/translations.mjs +91 -0
  75. package/dist/lib/node-esm/translations.mjs.map +7 -0
  76. package/dist/lib/node-esm/types/index.mjs +5 -8
  77. package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
  78. package/dist/types/src/blueprints/thread-blueprint.d.ts +2 -2
  79. package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
  80. package/dist/types/src/calls/call-manager.d.ts.map +1 -1
  81. package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +1 -1
  82. package/dist/types/src/calls/media-manager.d.ts.map +1 -1
  83. package/dist/types/src/calls/speaking-monitor.d.ts +0 -3
  84. package/dist/types/src/calls/speaking-monitor.d.ts.map +1 -1
  85. package/dist/types/src/calls/types.d.ts.map +1 -1
  86. package/dist/types/src/calls/util/audio.d.ts.map +1 -1
  87. package/dist/types/src/calls/util/calls-service.d.ts +2 -2
  88. package/dist/types/src/calls/util/calls-service.d.ts.map +1 -1
  89. package/dist/types/src/calls/util/history-cache.d.ts.map +1 -1
  90. package/dist/types/src/calls/util/media.d.ts.map +1 -1
  91. package/dist/types/src/calls/util/stub-media-streams.d.ts.map +1 -1
  92. package/dist/types/src/calls/util/task-scheduling.d.ts.map +1 -1
  93. package/dist/types/src/calls-service.stories.d.ts +2 -2
  94. package/dist/types/src/calls-service.stories.d.ts.map +1 -1
  95. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  96. package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
  97. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
  98. package/dist/types/src/capabilities/{call-manager/call-manager.d.ts → call-manager.d.ts} +1 -1
  99. package/dist/types/src/capabilities/call-manager.d.ts.map +1 -0
  100. package/dist/types/src/capabilities/index.d.ts +15 -10
  101. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  102. package/dist/types/src/capabilities/{markdown/markdown.d.ts → markdown.d.ts} +1 -1
  103. package/dist/types/src/capabilities/markdown.d.ts.map +1 -0
  104. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  105. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  106. package/dist/types/src/capabilities/react-root.d.ts.map +1 -0
  107. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  108. package/dist/types/src/capabilities/{settings/settings.d.ts → settings.d.ts} +2 -1
  109. package/dist/types/src/capabilities/settings.d.ts.map +1 -0
  110. package/dist/types/src/capabilities/{state/state.d.ts → state.d.ts} +1 -1
  111. package/dist/types/src/capabilities/state.d.ts.map +1 -0
  112. package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
  113. package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
  114. package/dist/types/src/components/Call/Call.d.ts +32 -4
  115. package/dist/types/src/components/Call/Call.d.ts.map +1 -1
  116. package/dist/types/src/components/Call/Toolbar.d.ts +5 -5
  117. package/dist/types/src/components/Call/Toolbar.d.ts.map +1 -1
  118. package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts +13 -0
  119. package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts.map +1 -0
  120. package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts +160 -0
  121. package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -0
  122. package/dist/types/src/components/{CommentsThreadContainer.d.ts → CommentsPanel/CommentsThread.d.ts} +3 -3
  123. package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -0
  124. package/dist/types/src/components/CommentsPanel/index.d.ts +3 -0
  125. package/dist/types/src/components/CommentsPanel/index.d.ts.map +1 -0
  126. package/dist/types/src/components/Lobby/Lobby.d.ts +24 -3
  127. package/dist/types/src/components/Lobby/Lobby.d.ts.map +1 -1
  128. package/dist/types/src/components/Media/VideoObject.d.ts +1 -1
  129. package/dist/types/src/components/Media/VideoObject.stories.d.ts +1 -1
  130. package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +1 -1
  131. package/dist/types/src/components/{MessageContainer.d.ts → MessagePanel/MessagePanel.d.ts} +3 -3
  132. package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -0
  133. package/dist/types/src/components/MessagePanel/index.d.ts +2 -0
  134. package/dist/types/src/components/MessagePanel/index.d.ts.map +1 -0
  135. package/dist/types/src/components/Participant/Participant.d.ts.map +1 -1
  136. package/dist/types/src/components/Participant/ParticipantGrid.d.ts.map +1 -1
  137. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts.map +1 -1
  138. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +142 -144
  139. package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +1 -1
  140. package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts.map +1 -1
  141. package/dist/types/src/components/ResponsiveGrid/{ResponsiveContainer.d.ts → ResponsivePanel.d.ts} +4 -4
  142. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +1 -0
  143. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +164 -0
  144. package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +1 -0
  145. package/dist/types/src/components/ResponsiveGrid/index.d.ts +1 -1
  146. package/dist/types/src/components/ResponsiveGrid/index.d.ts.map +1 -1
  147. package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts +6 -0
  148. package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -0
  149. package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts +161 -0
  150. package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts.map +1 -0
  151. package/dist/types/src/components/ThreadSettings/index.d.ts +2 -0
  152. package/dist/types/src/components/ThreadSettings/index.d.ts.map +1 -0
  153. package/dist/types/src/components/index.d.ts +4 -3
  154. package/dist/types/src/components/index.d.ts.map +1 -1
  155. package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +1 -1
  156. package/dist/types/src/containers/CallDebugPanel/index.d.ts +1 -2
  157. package/dist/types/src/containers/CallDebugPanel/index.d.ts.map +1 -1
  158. package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts.map +1 -1
  159. package/dist/types/src/containers/CallSidebar/index.d.ts +1 -2
  160. package/dist/types/src/containers/CallSidebar/index.d.ts.map +1 -1
  161. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +4 -4
  162. package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +1 -1
  163. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts +142 -144
  164. package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +1 -1
  165. package/dist/types/src/containers/ChannelContainer/index.d.ts +1 -2
  166. package/dist/types/src/containers/ChannelContainer/index.d.ts.map +1 -1
  167. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts +3 -4
  168. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +1 -1
  169. package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts +141 -143
  170. package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts.map +1 -1
  171. package/dist/types/src/containers/ChatContainer/index.d.ts +1 -0
  172. package/dist/types/src/containers/ChatContainer/index.d.ts.map +1 -1
  173. package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts +6 -3
  174. package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -1
  175. package/dist/types/src/containers/ThreadCompanion/index.d.ts +1 -2
  176. package/dist/types/src/containers/ThreadCompanion/index.d.ts.map +1 -1
  177. package/dist/types/src/containers/index.d.ts +0 -1
  178. package/dist/types/src/containers/index.d.ts.map +1 -1
  179. package/dist/types/src/{components/command-extension.d.ts → extensions/command.d.ts} +1 -1
  180. package/dist/types/src/extensions/command.d.ts.map +1 -0
  181. package/dist/types/src/extensions/index.d.ts +1 -0
  182. package/dist/types/src/extensions/index.d.ts.map +1 -1
  183. package/dist/types/src/extensions/threads.d.ts +3 -3
  184. package/dist/types/src/extensions/threads.d.ts.map +1 -1
  185. package/dist/types/src/hooks/analytics.d.ts.map +1 -1
  186. package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
  187. package/dist/types/src/hooks/useVideoStreamTrack.d.ts.map +1 -1
  188. package/dist/types/src/operations/add-message.d.ts +5 -0
  189. package/dist/types/src/operations/add-message.d.ts.map +1 -0
  190. package/dist/types/src/operations/create-channel-thread.d.ts +5 -0
  191. package/dist/types/src/operations/create-channel-thread.d.ts.map +1 -0
  192. package/dist/types/src/operations/create-channel.d.ts +5 -0
  193. package/dist/types/src/operations/create-channel.d.ts.map +1 -0
  194. package/dist/types/src/operations/create-proposals.d.ts +5 -0
  195. package/dist/types/src/operations/create-proposals.d.ts.map +1 -0
  196. package/dist/types/src/operations/create.d.ts +5 -0
  197. package/dist/types/src/operations/create.d.ts.map +1 -0
  198. package/dist/types/src/operations/definitions.d.ts +2804 -0
  199. package/dist/types/src/operations/definitions.d.ts.map +1 -0
  200. package/dist/types/src/operations/delete-message.d.ts +5 -0
  201. package/dist/types/src/operations/delete-message.d.ts.map +1 -0
  202. package/dist/types/src/operations/delete.d.ts +5 -0
  203. package/dist/types/src/operations/delete.d.ts.map +1 -0
  204. package/dist/types/src/operations/index.d.ts +4 -0
  205. package/dist/types/src/operations/index.d.ts.map +1 -0
  206. package/dist/types/src/operations/on-create-space.d.ts +5 -0
  207. package/dist/types/src/operations/on-create-space.d.ts.map +1 -0
  208. package/dist/types/src/operations/restore-message.d.ts +5 -0
  209. package/dist/types/src/operations/restore-message.d.ts.map +1 -0
  210. package/dist/types/src/operations/restore.d.ts +5 -0
  211. package/dist/types/src/operations/restore.d.ts.map +1 -0
  212. package/dist/types/src/operations/select.d.ts +5 -0
  213. package/dist/types/src/operations/select.d.ts.map +1 -0
  214. package/dist/types/src/operations/toggle-resolved.d.ts +5 -0
  215. package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -0
  216. package/dist/types/src/{components/testing.d.ts → testing/data.d.ts} +1 -1
  217. package/dist/types/src/testing/data.d.ts.map +1 -0
  218. package/dist/types/src/testing/index.d.ts +1 -1
  219. package/dist/types/src/testing/index.d.ts.map +1 -1
  220. package/dist/types/src/translations.d.ts +140 -142
  221. package/dist/types/src/translations.d.ts.map +1 -1
  222. package/dist/types/src/types/Channel.d.ts +181 -177
  223. package/dist/types/src/types/Channel.d.ts.map +1 -1
  224. package/dist/types/src/types/Settings.d.ts +5 -0
  225. package/dist/types/src/types/Settings.d.ts.map +1 -0
  226. package/dist/types/src/types/capabilities.d.ts +2 -1
  227. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  228. package/dist/types/src/types/types.d.ts +1 -3304
  229. package/dist/types/src/types/types.d.ts.map +1 -1
  230. package/dist/types/src/util.d.ts +2 -2
  231. package/dist/types/src/util.d.ts.map +1 -1
  232. package/dist/types/tsconfig.tsbuildinfo +1 -1
  233. package/package.json +79 -67
  234. package/src/ThreadPlugin.tsx +30 -22
  235. package/src/blueprints/thread-blueprint.ts +5 -9
  236. package/src/calls/util/calls-service.ts +3 -2
  237. package/src/calls/util/stub-media-streams.ts +3 -1
  238. package/src/calls-service.stories.tsx +8 -7
  239. package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +40 -49
  240. package/src/capabilities/{blueprint-definition/blueprint-definition.ts → blueprint-definition.ts} +1 -1
  241. package/src/capabilities/{call-manager/call-manager.ts → call-manager.ts} +4 -3
  242. package/src/capabilities/index.ts +16 -10
  243. package/src/capabilities/{markdown/markdown.ts → markdown.ts} +17 -13
  244. package/src/capabilities/operation-handler.ts +16 -0
  245. package/src/capabilities/{react-root/react-root.tsx → react-root.tsx} +2 -2
  246. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +28 -35
  247. package/src/capabilities/{settings/settings.ts → settings.ts} +6 -5
  248. package/src/capabilities/{state/state.ts → state.ts} +1 -1
  249. package/src/capabilities/undo-mappings.ts +46 -0
  250. package/src/components/Call/Call.tsx +9 -9
  251. package/src/components/Call/Toolbar.tsx +24 -14
  252. package/src/components/{Comments.stories.tsx → CommentsPanel/CommentsPanel.stories.tsx} +14 -13
  253. package/src/components/{CommentsContainer.tsx → CommentsPanel/CommentsPanel.tsx} +6 -6
  254. package/src/components/{CommentsThreadContainer.tsx → CommentsPanel/CommentsThread.tsx} +16 -16
  255. package/src/components/CommentsPanel/index.ts +6 -0
  256. package/src/components/Lobby/Lobby.tsx +12 -10
  257. package/src/components/Media/VideoObject.stories.tsx +3 -4
  258. package/src/components/{MessageContainer.tsx → MessagePanel/MessagePanel.tsx} +16 -10
  259. package/src/components/MessagePanel/index.ts +5 -0
  260. package/src/components/Participant/Participant.tsx +2 -1
  261. package/src/components/Participant/ParticipantGrid.tsx +0 -1
  262. package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +7 -7
  263. package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +4 -4
  264. package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +5 -5
  265. package/src/components/ResponsiveGrid/{ResponsiveContainer.stories.tsx → ResponsivePanel.stories.tsx} +7 -7
  266. package/src/components/ResponsiveGrid/{ResponsiveContainer.tsx → ResponsivePanel.tsx} +4 -4
  267. package/src/components/ResponsiveGrid/index.ts +1 -1
  268. package/src/components/ThreadSettings/ThreadSettings.stories.tsx +32 -0
  269. package/src/components/ThreadSettings/ThreadSettings.tsx +20 -0
  270. package/src/components/ThreadSettings/index.ts +5 -0
  271. package/src/components/index.ts +6 -3
  272. package/src/containers/CallDebugPanel/CallDebugPanel.tsx +5 -4
  273. package/src/containers/CallDebugPanel/index.ts +1 -3
  274. package/src/containers/CallSidebar/CallSidebar.tsx +3 -2
  275. package/src/containers/CallSidebar/index.ts +1 -3
  276. package/src/containers/ChannelContainer/ChannelContainer.stories.tsx +45 -12
  277. package/src/containers/ChannelContainer/ChannelContainer.tsx +42 -36
  278. package/src/containers/ChannelContainer/index.ts +1 -3
  279. package/src/containers/ChatContainer/ChatContainer.stories.tsx +10 -11
  280. package/src/containers/ChatContainer/ChatContainer.tsx +95 -118
  281. package/src/containers/ChatContainer/index.ts +1 -0
  282. package/src/containers/ThreadCompanion/ThreadCompanion.tsx +48 -28
  283. package/src/containers/ThreadCompanion/index.ts +1 -3
  284. package/src/containers/index.ts +0 -1
  285. package/src/extensions/index.ts +1 -0
  286. package/src/extensions/threads.ts +15 -14
  287. package/src/hooks/analytics.ts +1 -1
  288. package/src/meta.ts +2 -2
  289. package/src/operations/add-message.ts +81 -0
  290. package/src/operations/create-channel-thread.ts +26 -0
  291. package/src/operations/create-channel.ts +20 -0
  292. package/src/operations/create-proposals.ts +49 -0
  293. package/src/operations/create.ts +48 -0
  294. package/src/operations/definitions.ts +177 -0
  295. package/src/operations/delete-message.ts +53 -0
  296. package/src/operations/delete.ts +63 -0
  297. package/src/operations/index.ts +22 -0
  298. package/src/operations/on-create-space.ts +27 -0
  299. package/src/operations/restore-message.ts +38 -0
  300. package/src/operations/restore.ts +38 -0
  301. package/src/operations/select.ts +24 -0
  302. package/src/operations/toggle-resolved.ts +41 -0
  303. package/src/{components/testing.ts → testing/data.ts} +7 -7
  304. package/src/testing/index.ts +1 -1
  305. package/src/translations.ts +72 -76
  306. package/src/types/Channel.ts +9 -2
  307. package/src/types/Settings.ts +10 -0
  308. package/src/types/capabilities.ts +9 -7
  309. package/src/types/types.ts +2 -184
  310. package/src/util.ts +1 -1
  311. package/dist/lib/browser/CallDebugPanel-FGCTY7Q4.mjs +0 -182
  312. package/dist/lib/browser/CallDebugPanel-FGCTY7Q4.mjs.map +0 -7
  313. package/dist/lib/browser/CallSidebar-PJCMNDIF.mjs +0 -33
  314. package/dist/lib/browser/CallSidebar-PJCMNDIF.mjs.map +0 -7
  315. package/dist/lib/browser/ChannelContainer-EPYG4QAC.mjs +0 -15
  316. package/dist/lib/browser/ChannelContainer-EPYG4QAC.mjs.map +0 -7
  317. package/dist/lib/browser/ChatContainer-2243UD2M.mjs +0 -14
  318. package/dist/lib/browser/ChatContainer-2243UD2M.mjs.map +0 -7
  319. package/dist/lib/browser/ThreadCompanion-2CMLJH76.mjs +0 -204
  320. package/dist/lib/browser/ThreadCompanion-2CMLJH76.mjs.map +0 -7
  321. package/dist/lib/browser/ThreadSettings-S55YVOGA.mjs +0 -20
  322. package/dist/lib/browser/ThreadSettings-S55YVOGA.mjs.map +0 -7
  323. package/dist/lib/browser/app-graph-builder-5LCAM746.mjs +0 -191
  324. package/dist/lib/browser/app-graph-builder-5LCAM746.mjs.map +0 -7
  325. package/dist/lib/browser/blueprint-definition-42M2EJ2Y.mjs +0 -17
  326. package/dist/lib/browser/blueprint-definition-42M2EJ2Y.mjs.map +0 -7
  327. package/dist/lib/browser/call-manager-2PRP4QVZ.mjs +0 -27
  328. package/dist/lib/browser/call-manager-2PRP4QVZ.mjs.map +0 -7
  329. package/dist/lib/browser/chunk-CP7E2HRE.mjs +0 -31
  330. package/dist/lib/browser/chunk-CP7E2HRE.mjs.map +0 -7
  331. package/dist/lib/browser/chunk-ERK254BS.mjs +0 -1810
  332. package/dist/lib/browser/chunk-ERK254BS.mjs.map +0 -7
  333. package/dist/lib/browser/chunk-G6FJBSXX.mjs +0 -1123
  334. package/dist/lib/browser/chunk-G6FJBSXX.mjs.map +0 -7
  335. package/dist/lib/browser/chunk-HDLDMR54.mjs +0 -184
  336. package/dist/lib/browser/chunk-HDLDMR54.mjs.map +0 -7
  337. package/dist/lib/browser/chunk-ISCHODBV.mjs +0 -106
  338. package/dist/lib/browser/chunk-ISCHODBV.mjs.map +0 -7
  339. package/dist/lib/browser/chunk-LUK4UNFA.mjs +0 -20
  340. package/dist/lib/browser/chunk-LUK4UNFA.mjs.map +0 -7
  341. package/dist/lib/browser/chunk-PDHCY236.mjs +0 -223
  342. package/dist/lib/browser/chunk-PDHCY236.mjs.map +0 -7
  343. package/dist/lib/browser/chunk-PL5LIVP4.mjs +0 -105
  344. package/dist/lib/browser/chunk-PL5LIVP4.mjs.map +0 -7
  345. package/dist/lib/browser/chunk-U32R23JO.mjs +0 -277
  346. package/dist/lib/browser/chunk-U32R23JO.mjs.map +0 -7
  347. package/dist/lib/browser/chunk-UVUCB7QO.mjs +0 -125
  348. package/dist/lib/browser/chunk-UVUCB7QO.mjs.map +0 -7
  349. package/dist/lib/browser/markdown-GRRPCZHJ.mjs +0 -210
  350. package/dist/lib/browser/markdown-GRRPCZHJ.mjs.map +0 -7
  351. package/dist/lib/browser/operation-resolver-EP7FAYEB.mjs +0 -442
  352. package/dist/lib/browser/operation-resolver-EP7FAYEB.mjs.map +0 -7
  353. package/dist/lib/browser/react-root-7UFFPPRD.mjs +0 -26
  354. package/dist/lib/browser/react-root-7UFFPPRD.mjs.map +0 -7
  355. package/dist/lib/browser/react-surface-TIHBSZPD.mjs +0 -113
  356. package/dist/lib/browser/react-surface-TIHBSZPD.mjs.map +0 -7
  357. package/dist/lib/browser/repair-TBU45SBG.mjs +0 -40
  358. package/dist/lib/browser/repair-TBU45SBG.mjs.map +0 -7
  359. package/dist/lib/browser/settings-Y75FG6XR.mjs +0 -35
  360. package/dist/lib/browser/settings-Y75FG6XR.mjs.map +0 -7
  361. package/dist/lib/browser/state-OBTMMEUZ.mjs +0 -25
  362. package/dist/lib/browser/state-OBTMMEUZ.mjs.map +0 -7
  363. package/dist/lib/node-esm/CallDebugPanel-CYACANSP.mjs +0 -183
  364. package/dist/lib/node-esm/CallDebugPanel-CYACANSP.mjs.map +0 -7
  365. package/dist/lib/node-esm/CallSidebar-XD7J7EQ6.mjs +0 -34
  366. package/dist/lib/node-esm/CallSidebar-XD7J7EQ6.mjs.map +0 -7
  367. package/dist/lib/node-esm/ChannelContainer-NU4LSLB4.mjs +0 -16
  368. package/dist/lib/node-esm/ChannelContainer-NU4LSLB4.mjs.map +0 -7
  369. package/dist/lib/node-esm/ChatContainer-FPNIG33R.mjs +0 -15
  370. package/dist/lib/node-esm/ChatContainer-FPNIG33R.mjs.map +0 -7
  371. package/dist/lib/node-esm/ThreadCompanion-TLWTONG6.mjs +0 -205
  372. package/dist/lib/node-esm/ThreadCompanion-TLWTONG6.mjs.map +0 -7
  373. package/dist/lib/node-esm/ThreadSettings-EUH4AGYV.mjs +0 -21
  374. package/dist/lib/node-esm/ThreadSettings-EUH4AGYV.mjs.map +0 -7
  375. package/dist/lib/node-esm/app-graph-builder-VBLHLX75.mjs +0 -192
  376. package/dist/lib/node-esm/app-graph-builder-VBLHLX75.mjs.map +0 -7
  377. package/dist/lib/node-esm/blueprint-definition-PEXTS56K.mjs +0 -18
  378. package/dist/lib/node-esm/blueprint-definition-PEXTS56K.mjs.map +0 -7
  379. package/dist/lib/node-esm/call-manager-BLQCEM2F.mjs +0 -28
  380. package/dist/lib/node-esm/call-manager-BLQCEM2F.mjs.map +0 -7
  381. package/dist/lib/node-esm/chunk-6K5ACCGB.mjs +0 -107
  382. package/dist/lib/node-esm/chunk-6K5ACCGB.mjs.map +0 -7
  383. package/dist/lib/node-esm/chunk-7SZBKQUU.mjs +0 -224
  384. package/dist/lib/node-esm/chunk-7SZBKQUU.mjs.map +0 -7
  385. package/dist/lib/node-esm/chunk-ABUFOZVX.mjs +0 -33
  386. package/dist/lib/node-esm/chunk-ABUFOZVX.mjs.map +0 -7
  387. package/dist/lib/node-esm/chunk-GPPP2MZ3.mjs +0 -22
  388. package/dist/lib/node-esm/chunk-GPPP2MZ3.mjs.map +0 -7
  389. package/dist/lib/node-esm/chunk-IQUV7DR6.mjs +0 -1124
  390. package/dist/lib/node-esm/chunk-IQUV7DR6.mjs.map +0 -7
  391. package/dist/lib/node-esm/chunk-QP3KQOPQ.mjs +0 -1811
  392. package/dist/lib/node-esm/chunk-QP3KQOPQ.mjs.map +0 -7
  393. package/dist/lib/node-esm/chunk-QYAVWNVM.mjs +0 -278
  394. package/dist/lib/node-esm/chunk-QYAVWNVM.mjs.map +0 -7
  395. package/dist/lib/node-esm/chunk-V2GXQ2UB.mjs +0 -126
  396. package/dist/lib/node-esm/chunk-V2GXQ2UB.mjs.map +0 -7
  397. package/dist/lib/node-esm/chunk-VBI32FGI.mjs +0 -108
  398. package/dist/lib/node-esm/chunk-VBI32FGI.mjs.map +0 -7
  399. package/dist/lib/node-esm/chunk-YN2Y7GPW.mjs +0 -185
  400. package/dist/lib/node-esm/chunk-YN2Y7GPW.mjs.map +0 -7
  401. package/dist/lib/node-esm/markdown-WHWUESF7.mjs +0 -211
  402. package/dist/lib/node-esm/markdown-WHWUESF7.mjs.map +0 -7
  403. package/dist/lib/node-esm/operation-resolver-R7QJW3TW.mjs +0 -443
  404. package/dist/lib/node-esm/operation-resolver-R7QJW3TW.mjs.map +0 -7
  405. package/dist/lib/node-esm/react-root-D7CWS5XP.mjs +0 -27
  406. package/dist/lib/node-esm/react-root-D7CWS5XP.mjs.map +0 -7
  407. package/dist/lib/node-esm/react-surface-WWZFSK5Y.mjs +0 -114
  408. package/dist/lib/node-esm/react-surface-WWZFSK5Y.mjs.map +0 -7
  409. package/dist/lib/node-esm/repair-7JEKRNR3.mjs +0 -41
  410. package/dist/lib/node-esm/repair-7JEKRNR3.mjs.map +0 -7
  411. package/dist/lib/node-esm/settings-W4JN2YKJ.mjs +0 -36
  412. package/dist/lib/node-esm/settings-W4JN2YKJ.mjs.map +0 -7
  413. package/dist/lib/node-esm/state-7UWCSIWQ.mjs +0 -26
  414. package/dist/lib/node-esm/state-7UWCSIWQ.mjs.map +0 -7
  415. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  416. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  417. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  418. package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +0 -6
  419. package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +0 -1
  420. package/dist/types/src/capabilities/blueprint-definition/index.d.ts +0 -3
  421. package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +0 -1
  422. package/dist/types/src/capabilities/call-manager/call-manager.d.ts.map +0 -1
  423. package/dist/types/src/capabilities/call-manager/index.d.ts +0 -3
  424. package/dist/types/src/capabilities/call-manager/index.d.ts.map +0 -1
  425. package/dist/types/src/capabilities/markdown/index.d.ts +0 -3
  426. package/dist/types/src/capabilities/markdown/index.d.ts.map +0 -1
  427. package/dist/types/src/capabilities/markdown/markdown.d.ts.map +0 -1
  428. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
  429. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  430. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
  431. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  432. package/dist/types/src/capabilities/react-root/index.d.ts +0 -6
  433. package/dist/types/src/capabilities/react-root/index.d.ts.map +0 -1
  434. package/dist/types/src/capabilities/react-root/react-root.d.ts.map +0 -1
  435. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  436. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  437. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  438. package/dist/types/src/capabilities/repair/index.d.ts +0 -3
  439. package/dist/types/src/capabilities/repair/index.d.ts.map +0 -1
  440. package/dist/types/src/capabilities/repair/repair.d.ts +0 -6
  441. package/dist/types/src/capabilities/repair/repair.d.ts.map +0 -1
  442. package/dist/types/src/capabilities/settings/index.d.ts +0 -3
  443. package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
  444. package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
  445. package/dist/types/src/capabilities/state/index.d.ts +0 -3
  446. package/dist/types/src/capabilities/state/index.d.ts.map +0 -1
  447. package/dist/types/src/capabilities/state/state.d.ts.map +0 -1
  448. package/dist/types/src/components/Comments.stories.d.ts +0 -162
  449. package/dist/types/src/components/Comments.stories.d.ts.map +0 -1
  450. package/dist/types/src/components/CommentsContainer.d.ts +0 -13
  451. package/dist/types/src/components/CommentsContainer.d.ts.map +0 -1
  452. package/dist/types/src/components/CommentsThreadContainer.d.ts.map +0 -1
  453. package/dist/types/src/components/MessageContainer.d.ts.map +0 -1
  454. package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.d.ts.map +0 -1
  455. package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts +0 -166
  456. package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts.map +0 -1
  457. package/dist/types/src/components/command-extension.d.ts.map +0 -1
  458. package/dist/types/src/components/testing.d.ts.map +0 -1
  459. package/dist/types/src/containers/ThreadSettings/ThreadSettings.d.ts +0 -8
  460. package/dist/types/src/containers/ThreadSettings/ThreadSettings.d.ts.map +0 -1
  461. package/dist/types/src/containers/ThreadSettings/index.d.ts +0 -3
  462. package/dist/types/src/containers/ThreadSettings/index.d.ts.map +0 -1
  463. package/dist/types/src/functions/create-proposals.d.ts +0 -13
  464. package/dist/types/src/functions/create-proposals.d.ts.map +0 -1
  465. package/dist/types/src/functions/index.d.ts +0 -14
  466. package/dist/types/src/functions/index.d.ts.map +0 -1
  467. package/dist/types/src/testing/stories.d.ts +0 -3
  468. package/dist/types/src/testing/stories.d.ts.map +0 -1
  469. package/src/capabilities/app-graph-builder/index.ts +0 -7
  470. package/src/capabilities/blueprint-definition/index.ts +0 -7
  471. package/src/capabilities/call-manager/index.ts +0 -7
  472. package/src/capabilities/markdown/index.ts +0 -7
  473. package/src/capabilities/operation-resolver/index.ts +0 -7
  474. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -399
  475. package/src/capabilities/react-root/index.ts +0 -7
  476. package/src/capabilities/react-surface/index.ts +0 -7
  477. package/src/capabilities/repair/index.ts +0 -7
  478. package/src/capabilities/repair/repair.ts +0 -55
  479. package/src/capabilities/settings/index.ts +0 -7
  480. package/src/capabilities/state/index.ts +0 -7
  481. package/src/containers/ThreadSettings/ThreadSettings.tsx +0 -22
  482. package/src/containers/ThreadSettings/index.ts +0 -7
  483. package/src/functions/create-proposals.ts +0 -57
  484. package/src/functions/index.ts +0 -9
  485. package/src/testing/stories.ts +0 -56
  486. /package/dist/types/src/capabilities/{app-graph-builder/app-graph-builder.d.ts → app-graph-builder.d.ts} +0 -0
  487. /package/dist/types/src/capabilities/{react-root/react-root.d.ts → react-root.d.ts} +0 -0
  488. /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
  489. /package/src/{components/command-extension.ts → extensions/command.ts} +0 -0
@@ -1,3307 +1,5 @@
1
- import * as Schema from 'effect/Schema';
2
- import { Capability } from '@dxos/app-framework';
3
- import { Key, Obj } from '@dxos/echo';
4
1
  import { AnchoredTo, Thread } from '@dxos/types';
5
- /**
6
- * Operations for the Thread plugin.
7
- * Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
8
- */
9
- export declare namespace ThreadOperation {
10
- const OnCreateSpace: Omit<{
11
- readonly meta: {
12
- readonly key: `${string}/on-create-space`;
13
- readonly name: "On Create Space";
14
- };
15
- readonly services: readonly [typeof Capability.Service];
16
- readonly schema: {
17
- readonly input: Schema.Struct<{
18
- space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
19
- rootCollection: import("@dxos/echo/Type").Obj<{
20
- readonly name?: string | undefined;
21
- readonly objects: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
22
- }, Schema.Struct.Fields>;
23
- isDefault: Schema.optional<typeof Schema.Boolean>;
24
- }>;
25
- readonly output: typeof Schema.Void;
26
- };
27
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
28
- readonly executionMode: "sync" | "async";
29
- };
30
- const CreateChannel: Omit<{
31
- readonly meta: {
32
- readonly key: `${string}/create-channel`;
33
- readonly name: "Create Channel";
34
- };
35
- readonly services: readonly [typeof Capability.Service];
36
- readonly schema: {
37
- readonly input: Schema.Struct<{
38
- spaceId: Schema.Schema<Key.SpaceId, string, never> & {
39
- byteLength: number;
40
- encode: (value: Uint8Array) => Key.SpaceId;
41
- decode: (value: Key.SpaceId) => Uint8Array;
42
- isValid: (value: unknown) => value is Key.SpaceId;
43
- make: (value: string) => Key.SpaceId;
44
- random: () => Key.SpaceId;
45
- };
46
- name: Schema.optional<typeof Schema.String>;
47
- }>;
48
- readonly output: Schema.Struct<{
49
- object: import("@dxos/echo/Type").Obj<{
50
- readonly name?: string | undefined;
51
- readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
52
- readonly name?: string | undefined;
53
- readonly status?: "active" | "staged" | "resolved" | undefined;
54
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
55
- readonly id: string;
56
- readonly parentMessage?: string | undefined;
57
- readonly created: string;
58
- readonly sender: {
59
- readonly name?: string | undefined;
60
- readonly role?: "user" | "assistant" | "tool" | undefined;
61
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
62
- readonly image?: string | undefined;
63
- readonly fullName?: string | undefined;
64
- readonly preferredName?: string | undefined;
65
- readonly nickname?: string | undefined;
66
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
67
- readonly description?: string | undefined;
68
- readonly name?: string | undefined;
69
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
70
- readonly image?: string | undefined;
71
- readonly website?: string | undefined;
72
- } & {
73
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
74
- }> | undefined;
75
- readonly jobTitle?: string | undefined;
76
- readonly department?: string | undefined;
77
- readonly notes?: string | undefined;
78
- readonly emails?: readonly {
79
- readonly value: string;
80
- readonly label?: string | undefined;
81
- }[] | undefined;
82
- readonly identities?: readonly {
83
- readonly value: string;
84
- readonly label?: string | undefined;
85
- }[] | undefined;
86
- readonly phoneNumbers?: readonly {
87
- readonly value: string;
88
- readonly label?: string | undefined;
89
- }[] | undefined;
90
- readonly fields?: readonly {
91
- readonly value: string;
92
- readonly label: string;
93
- readonly category?: string | undefined;
94
- }[] | undefined;
95
- readonly addresses?: readonly {
96
- readonly value: {
97
- readonly street?: string | undefined;
98
- readonly extended?: string | undefined;
99
- readonly locality?: string | undefined;
100
- readonly region?: string | undefined;
101
- readonly postalCode?: string | undefined;
102
- readonly postOfficeBoxNumber?: string | undefined;
103
- readonly country?: string | undefined;
104
- };
105
- readonly label?: string | undefined;
106
- }[] | undefined;
107
- readonly urls?: readonly {
108
- readonly value: string;
109
- readonly label?: string | undefined;
110
- }[] | undefined;
111
- readonly birthday?: string | undefined;
112
- } & {
113
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
114
- }> | undefined;
115
- readonly identityDid?: string | undefined;
116
- readonly identityKey?: string | undefined;
117
- readonly email?: string | undefined;
118
- };
119
- readonly blocks: readonly ({
120
- readonly pending?: boolean | undefined;
121
- readonly text: string;
122
- readonly mimeType?: string | undefined;
123
- readonly disposition?: string | undefined;
124
- readonly _tag: "text";
125
- } | {
126
- readonly pending?: boolean | undefined;
127
- readonly _tag: "reasoning";
128
- readonly reasoningText?: string | undefined;
129
- readonly redactedText?: string | undefined;
130
- readonly signature?: string | undefined;
131
- } | {
132
- readonly name: string;
133
- readonly pending?: boolean | undefined;
134
- readonly _tag: "toolCall";
135
- readonly toolCallId: string;
136
- readonly input: string;
137
- readonly providerExecuted: boolean;
138
- } | {
139
- readonly name: string;
140
- readonly pending?: boolean | undefined;
141
- readonly _tag: "toolResult";
142
- readonly toolCallId: string;
143
- readonly providerExecuted: boolean;
144
- readonly result?: string | undefined;
145
- readonly error?: string | undefined;
146
- } | {
147
- readonly pending?: boolean | undefined;
148
- readonly mimeType?: string | undefined;
149
- readonly _tag: "stats";
150
- readonly message?: string | undefined;
151
- readonly model?: string | undefined;
152
- readonly usage?: {
153
- readonly inputTokens?: number | undefined;
154
- readonly outputTokens?: number | undefined;
155
- readonly totalTokens?: number | undefined;
156
- } | undefined;
157
- readonly toolCalls?: number | undefined;
158
- readonly errors?: number | undefined;
159
- readonly duration?: number | undefined;
160
- } | {
161
- readonly source?: {
162
- readonly type: "base64";
163
- readonly mediaType: string;
164
- readonly data: string;
165
- } | {
166
- readonly type: "http";
167
- readonly url: string;
168
- } | undefined;
169
- readonly id?: string | undefined;
170
- readonly pending?: boolean | undefined;
171
- readonly _tag: "image";
172
- } | {
173
- readonly name?: string | undefined;
174
- readonly pending?: boolean | undefined;
175
- readonly _tag: "file";
176
- readonly mediaType?: string | undefined;
177
- readonly url: string;
178
- } | {
179
- readonly pending?: boolean | undefined;
180
- readonly _tag: "reference";
181
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
182
- } | {
183
- readonly pending?: boolean | undefined;
184
- readonly text: string;
185
- readonly _tag: "transcript";
186
- readonly started: string;
187
- } | {
188
- readonly pending?: boolean | undefined;
189
- readonly _tag: "status";
190
- readonly statusText: string;
191
- } | {
192
- readonly pending?: boolean | undefined;
193
- readonly text: string;
194
- readonly _tag: "suggestion";
195
- } | {
196
- readonly pending?: boolean | undefined;
197
- readonly _tag: "select";
198
- readonly options: string[];
199
- } | {
200
- readonly version: unknown;
201
- readonly pending?: boolean | undefined;
202
- readonly _tag: "anchor";
203
- readonly objectId: string;
204
- } | {
205
- readonly pending?: boolean | undefined;
206
- readonly text: string;
207
- readonly _tag: "proposal";
208
- } | {
209
- readonly pending?: boolean | undefined;
210
- readonly _tag: "summary";
211
- readonly content: string;
212
- } | {
213
- readonly pending?: boolean | undefined;
214
- readonly _tag: "toolkit";
215
- } | {
216
- readonly pending?: boolean | undefined;
217
- readonly disposition?: string | undefined;
218
- readonly _tag: "json";
219
- readonly data: string;
220
- })[];
221
- readonly properties?: {
222
- readonly [x: string]: any;
223
- } | undefined;
224
- }>[];
225
- }>;
226
- readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
227
- readonly name?: string | undefined;
228
- readonly status?: "active" | "staged" | "resolved" | undefined;
229
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
230
- readonly id: string;
231
- readonly parentMessage?: string | undefined;
232
- readonly created: string;
233
- readonly sender: {
234
- readonly name?: string | undefined;
235
- readonly role?: "user" | "assistant" | "tool" | undefined;
236
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
237
- readonly image?: string | undefined;
238
- readonly fullName?: string | undefined;
239
- readonly preferredName?: string | undefined;
240
- readonly nickname?: string | undefined;
241
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
242
- readonly description?: string | undefined;
243
- readonly name?: string | undefined;
244
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
245
- readonly image?: string | undefined;
246
- readonly website?: string | undefined;
247
- } & {
248
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
249
- }> | undefined;
250
- readonly jobTitle?: string | undefined;
251
- readonly department?: string | undefined;
252
- readonly notes?: string | undefined;
253
- readonly emails?: readonly {
254
- readonly value: string;
255
- readonly label?: string | undefined;
256
- }[] | undefined;
257
- readonly identities?: readonly {
258
- readonly value: string;
259
- readonly label?: string | undefined;
260
- }[] | undefined;
261
- readonly phoneNumbers?: readonly {
262
- readonly value: string;
263
- readonly label?: string | undefined;
264
- }[] | undefined;
265
- readonly fields?: readonly {
266
- readonly value: string;
267
- readonly label: string;
268
- readonly category?: string | undefined;
269
- }[] | undefined;
270
- readonly addresses?: readonly {
271
- readonly value: {
272
- readonly street?: string | undefined;
273
- readonly extended?: string | undefined;
274
- readonly locality?: string | undefined;
275
- readonly region?: string | undefined;
276
- readonly postalCode?: string | undefined;
277
- readonly postOfficeBoxNumber?: string | undefined;
278
- readonly country?: string | undefined;
279
- };
280
- readonly label?: string | undefined;
281
- }[] | undefined;
282
- readonly urls?: readonly {
283
- readonly value: string;
284
- readonly label?: string | undefined;
285
- }[] | undefined;
286
- readonly birthday?: string | undefined;
287
- } & {
288
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
289
- }> | undefined;
290
- readonly identityDid?: string | undefined;
291
- readonly identityKey?: string | undefined;
292
- readonly email?: string | undefined;
293
- };
294
- readonly blocks: readonly ({
295
- readonly pending?: boolean | undefined;
296
- readonly text: string;
297
- readonly mimeType?: string | undefined;
298
- readonly disposition?: string | undefined;
299
- readonly _tag: "text";
300
- } | {
301
- readonly pending?: boolean | undefined;
302
- readonly _tag: "reasoning";
303
- readonly reasoningText?: string | undefined;
304
- readonly redactedText?: string | undefined;
305
- readonly signature?: string | undefined;
306
- } | {
307
- readonly name: string;
308
- readonly pending?: boolean | undefined;
309
- readonly _tag: "toolCall";
310
- readonly toolCallId: string;
311
- readonly input: string;
312
- readonly providerExecuted: boolean;
313
- } | {
314
- readonly name: string;
315
- readonly pending?: boolean | undefined;
316
- readonly _tag: "toolResult";
317
- readonly toolCallId: string;
318
- readonly providerExecuted: boolean;
319
- readonly result?: string | undefined;
320
- readonly error?: string | undefined;
321
- } | {
322
- readonly pending?: boolean | undefined;
323
- readonly mimeType?: string | undefined;
324
- readonly _tag: "stats";
325
- readonly message?: string | undefined;
326
- readonly model?: string | undefined;
327
- readonly usage?: {
328
- readonly inputTokens?: number | undefined;
329
- readonly outputTokens?: number | undefined;
330
- readonly totalTokens?: number | undefined;
331
- } | undefined;
332
- readonly toolCalls?: number | undefined;
333
- readonly errors?: number | undefined;
334
- readonly duration?: number | undefined;
335
- } | {
336
- readonly source?: {
337
- readonly type: "base64";
338
- readonly mediaType: string;
339
- readonly data: string;
340
- } | {
341
- readonly type: "http";
342
- readonly url: string;
343
- } | undefined;
344
- readonly id?: string | undefined;
345
- readonly pending?: boolean | undefined;
346
- readonly _tag: "image";
347
- } | {
348
- readonly name?: string | undefined;
349
- readonly pending?: boolean | undefined;
350
- readonly _tag: "file";
351
- readonly mediaType?: string | undefined;
352
- readonly url: string;
353
- } | {
354
- readonly pending?: boolean | undefined;
355
- readonly _tag: "reference";
356
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
357
- } | {
358
- readonly pending?: boolean | undefined;
359
- readonly text: string;
360
- readonly _tag: "transcript";
361
- readonly started: string;
362
- } | {
363
- readonly pending?: boolean | undefined;
364
- readonly _tag: "status";
365
- readonly statusText: string;
366
- } | {
367
- readonly pending?: boolean | undefined;
368
- readonly text: string;
369
- readonly _tag: "suggestion";
370
- } | {
371
- readonly pending?: boolean | undefined;
372
- readonly _tag: "select";
373
- readonly options: string[];
374
- } | {
375
- readonly version: unknown;
376
- readonly pending?: boolean | undefined;
377
- readonly _tag: "anchor";
378
- readonly objectId: string;
379
- } | {
380
- readonly pending?: boolean | undefined;
381
- readonly text: string;
382
- readonly _tag: "proposal";
383
- } | {
384
- readonly pending?: boolean | undefined;
385
- readonly _tag: "summary";
386
- readonly content: string;
387
- } | {
388
- readonly pending?: boolean | undefined;
389
- readonly _tag: "toolkit";
390
- } | {
391
- readonly pending?: boolean | undefined;
392
- readonly disposition?: string | undefined;
393
- readonly _tag: "json";
394
- readonly data: string;
395
- })[];
396
- readonly properties?: {
397
- readonly [x: string]: any;
398
- } | undefined;
399
- }>[];
400
- }>[];
401
- }, Schema.Struct.Fields>;
402
- }>;
403
- };
404
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
405
- readonly executionMode: "sync" | "async";
406
- };
407
- const CreateChannelThread: Omit<{
408
- readonly meta: {
409
- readonly key: `${string}/create-channel-thread`;
410
- readonly name: "Create Channel Thread";
411
- };
412
- readonly services: readonly [typeof Capability.Service];
413
- readonly schema: {
414
- readonly input: Schema.Struct<{
415
- channel: import("@dxos/echo/Type").Obj<{
416
- readonly name?: string | undefined;
417
- readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
418
- readonly name?: string | undefined;
419
- readonly status?: "active" | "staged" | "resolved" | undefined;
420
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
421
- readonly id: string;
422
- readonly parentMessage?: string | undefined;
423
- readonly created: string;
424
- readonly sender: {
425
- readonly name?: string | undefined;
426
- readonly role?: "user" | "assistant" | "tool" | undefined;
427
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
428
- readonly image?: string | undefined;
429
- readonly fullName?: string | undefined;
430
- readonly preferredName?: string | undefined;
431
- readonly nickname?: string | undefined;
432
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
433
- readonly description?: string | undefined;
434
- readonly name?: string | undefined;
435
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
436
- readonly image?: string | undefined;
437
- readonly website?: string | undefined;
438
- } & {
439
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
440
- }> | undefined;
441
- readonly jobTitle?: string | undefined;
442
- readonly department?: string | undefined;
443
- readonly notes?: string | undefined;
444
- readonly emails?: readonly {
445
- readonly value: string;
446
- readonly label?: string | undefined;
447
- }[] | undefined;
448
- readonly identities?: readonly {
449
- readonly value: string;
450
- readonly label?: string | undefined;
451
- }[] | undefined;
452
- readonly phoneNumbers?: readonly {
453
- readonly value: string;
454
- readonly label?: string | undefined;
455
- }[] | undefined;
456
- readonly fields?: readonly {
457
- readonly value: string;
458
- readonly label: string;
459
- readonly category?: string | undefined;
460
- }[] | undefined;
461
- readonly addresses?: readonly {
462
- readonly value: {
463
- readonly street?: string | undefined;
464
- readonly extended?: string | undefined;
465
- readonly locality?: string | undefined;
466
- readonly region?: string | undefined;
467
- readonly postalCode?: string | undefined;
468
- readonly postOfficeBoxNumber?: string | undefined;
469
- readonly country?: string | undefined;
470
- };
471
- readonly label?: string | undefined;
472
- }[] | undefined;
473
- readonly urls?: readonly {
474
- readonly value: string;
475
- readonly label?: string | undefined;
476
- }[] | undefined;
477
- readonly birthday?: string | undefined;
478
- } & {
479
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
480
- }> | undefined;
481
- readonly identityDid?: string | undefined;
482
- readonly identityKey?: string | undefined;
483
- readonly email?: string | undefined;
484
- };
485
- readonly blocks: readonly ({
486
- readonly pending?: boolean | undefined;
487
- readonly text: string;
488
- readonly mimeType?: string | undefined;
489
- readonly disposition?: string | undefined;
490
- readonly _tag: "text";
491
- } | {
492
- readonly pending?: boolean | undefined;
493
- readonly _tag: "reasoning";
494
- readonly reasoningText?: string | undefined;
495
- readonly redactedText?: string | undefined;
496
- readonly signature?: string | undefined;
497
- } | {
498
- readonly name: string;
499
- readonly pending?: boolean | undefined;
500
- readonly _tag: "toolCall";
501
- readonly toolCallId: string;
502
- readonly input: string;
503
- readonly providerExecuted: boolean;
504
- } | {
505
- readonly name: string;
506
- readonly pending?: boolean | undefined;
507
- readonly _tag: "toolResult";
508
- readonly toolCallId: string;
509
- readonly providerExecuted: boolean;
510
- readonly result?: string | undefined;
511
- readonly error?: string | undefined;
512
- } | {
513
- readonly pending?: boolean | undefined;
514
- readonly mimeType?: string | undefined;
515
- readonly _tag: "stats";
516
- readonly message?: string | undefined;
517
- readonly model?: string | undefined;
518
- readonly usage?: {
519
- readonly inputTokens?: number | undefined;
520
- readonly outputTokens?: number | undefined;
521
- readonly totalTokens?: number | undefined;
522
- } | undefined;
523
- readonly toolCalls?: number | undefined;
524
- readonly errors?: number | undefined;
525
- readonly duration?: number | undefined;
526
- } | {
527
- readonly source?: {
528
- readonly type: "base64";
529
- readonly mediaType: string;
530
- readonly data: string;
531
- } | {
532
- readonly type: "http";
533
- readonly url: string;
534
- } | undefined;
535
- readonly id?: string | undefined;
536
- readonly pending?: boolean | undefined;
537
- readonly _tag: "image";
538
- } | {
539
- readonly name?: string | undefined;
540
- readonly pending?: boolean | undefined;
541
- readonly _tag: "file";
542
- readonly mediaType?: string | undefined;
543
- readonly url: string;
544
- } | {
545
- readonly pending?: boolean | undefined;
546
- readonly _tag: "reference";
547
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
548
- } | {
549
- readonly pending?: boolean | undefined;
550
- readonly text: string;
551
- readonly _tag: "transcript";
552
- readonly started: string;
553
- } | {
554
- readonly pending?: boolean | undefined;
555
- readonly _tag: "status";
556
- readonly statusText: string;
557
- } | {
558
- readonly pending?: boolean | undefined;
559
- readonly text: string;
560
- readonly _tag: "suggestion";
561
- } | {
562
- readonly pending?: boolean | undefined;
563
- readonly _tag: "select";
564
- readonly options: string[];
565
- } | {
566
- readonly version: unknown;
567
- readonly pending?: boolean | undefined;
568
- readonly _tag: "anchor";
569
- readonly objectId: string;
570
- } | {
571
- readonly pending?: boolean | undefined;
572
- readonly text: string;
573
- readonly _tag: "proposal";
574
- } | {
575
- readonly pending?: boolean | undefined;
576
- readonly _tag: "summary";
577
- readonly content: string;
578
- } | {
579
- readonly pending?: boolean | undefined;
580
- readonly _tag: "toolkit";
581
- } | {
582
- readonly pending?: boolean | undefined;
583
- readonly disposition?: string | undefined;
584
- readonly _tag: "json";
585
- readonly data: string;
586
- })[];
587
- readonly properties?: {
588
- readonly [x: string]: any;
589
- } | undefined;
590
- }>[];
591
- }>;
592
- readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
593
- readonly name?: string | undefined;
594
- readonly status?: "active" | "staged" | "resolved" | undefined;
595
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
596
- readonly id: string;
597
- readonly parentMessage?: string | undefined;
598
- readonly created: string;
599
- readonly sender: {
600
- readonly name?: string | undefined;
601
- readonly role?: "user" | "assistant" | "tool" | undefined;
602
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
603
- readonly image?: string | undefined;
604
- readonly fullName?: string | undefined;
605
- readonly preferredName?: string | undefined;
606
- readonly nickname?: string | undefined;
607
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
608
- readonly description?: string | undefined;
609
- readonly name?: string | undefined;
610
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
611
- readonly image?: string | undefined;
612
- readonly website?: string | undefined;
613
- } & {
614
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
615
- }> | undefined;
616
- readonly jobTitle?: string | undefined;
617
- readonly department?: string | undefined;
618
- readonly notes?: string | undefined;
619
- readonly emails?: readonly {
620
- readonly value: string;
621
- readonly label?: string | undefined;
622
- }[] | undefined;
623
- readonly identities?: readonly {
624
- readonly value: string;
625
- readonly label?: string | undefined;
626
- }[] | undefined;
627
- readonly phoneNumbers?: readonly {
628
- readonly value: string;
629
- readonly label?: string | undefined;
630
- }[] | undefined;
631
- readonly fields?: readonly {
632
- readonly value: string;
633
- readonly label: string;
634
- readonly category?: string | undefined;
635
- }[] | undefined;
636
- readonly addresses?: readonly {
637
- readonly value: {
638
- readonly street?: string | undefined;
639
- readonly extended?: string | undefined;
640
- readonly locality?: string | undefined;
641
- readonly region?: string | undefined;
642
- readonly postalCode?: string | undefined;
643
- readonly postOfficeBoxNumber?: string | undefined;
644
- readonly country?: string | undefined;
645
- };
646
- readonly label?: string | undefined;
647
- }[] | undefined;
648
- readonly urls?: readonly {
649
- readonly value: string;
650
- readonly label?: string | undefined;
651
- }[] | undefined;
652
- readonly birthday?: string | undefined;
653
- } & {
654
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
655
- }> | undefined;
656
- readonly identityDid?: string | undefined;
657
- readonly identityKey?: string | undefined;
658
- readonly email?: string | undefined;
659
- };
660
- readonly blocks: readonly ({
661
- readonly pending?: boolean | undefined;
662
- readonly text: string;
663
- readonly mimeType?: string | undefined;
664
- readonly disposition?: string | undefined;
665
- readonly _tag: "text";
666
- } | {
667
- readonly pending?: boolean | undefined;
668
- readonly _tag: "reasoning";
669
- readonly reasoningText?: string | undefined;
670
- readonly redactedText?: string | undefined;
671
- readonly signature?: string | undefined;
672
- } | {
673
- readonly name: string;
674
- readonly pending?: boolean | undefined;
675
- readonly _tag: "toolCall";
676
- readonly toolCallId: string;
677
- readonly input: string;
678
- readonly providerExecuted: boolean;
679
- } | {
680
- readonly name: string;
681
- readonly pending?: boolean | undefined;
682
- readonly _tag: "toolResult";
683
- readonly toolCallId: string;
684
- readonly providerExecuted: boolean;
685
- readonly result?: string | undefined;
686
- readonly error?: string | undefined;
687
- } | {
688
- readonly pending?: boolean | undefined;
689
- readonly mimeType?: string | undefined;
690
- readonly _tag: "stats";
691
- readonly message?: string | undefined;
692
- readonly model?: string | undefined;
693
- readonly usage?: {
694
- readonly inputTokens?: number | undefined;
695
- readonly outputTokens?: number | undefined;
696
- readonly totalTokens?: number | undefined;
697
- } | undefined;
698
- readonly toolCalls?: number | undefined;
699
- readonly errors?: number | undefined;
700
- readonly duration?: number | undefined;
701
- } | {
702
- readonly source?: {
703
- readonly type: "base64";
704
- readonly mediaType: string;
705
- readonly data: string;
706
- } | {
707
- readonly type: "http";
708
- readonly url: string;
709
- } | undefined;
710
- readonly id?: string | undefined;
711
- readonly pending?: boolean | undefined;
712
- readonly _tag: "image";
713
- } | {
714
- readonly name?: string | undefined;
715
- readonly pending?: boolean | undefined;
716
- readonly _tag: "file";
717
- readonly mediaType?: string | undefined;
718
- readonly url: string;
719
- } | {
720
- readonly pending?: boolean | undefined;
721
- readonly _tag: "reference";
722
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
723
- } | {
724
- readonly pending?: boolean | undefined;
725
- readonly text: string;
726
- readonly _tag: "transcript";
727
- readonly started: string;
728
- } | {
729
- readonly pending?: boolean | undefined;
730
- readonly _tag: "status";
731
- readonly statusText: string;
732
- } | {
733
- readonly pending?: boolean | undefined;
734
- readonly text: string;
735
- readonly _tag: "suggestion";
736
- } | {
737
- readonly pending?: boolean | undefined;
738
- readonly _tag: "select";
739
- readonly options: string[];
740
- } | {
741
- readonly version: unknown;
742
- readonly pending?: boolean | undefined;
743
- readonly _tag: "anchor";
744
- readonly objectId: string;
745
- } | {
746
- readonly pending?: boolean | undefined;
747
- readonly text: string;
748
- readonly _tag: "proposal";
749
- } | {
750
- readonly pending?: boolean | undefined;
751
- readonly _tag: "summary";
752
- readonly content: string;
753
- } | {
754
- readonly pending?: boolean | undefined;
755
- readonly _tag: "toolkit";
756
- } | {
757
- readonly pending?: boolean | undefined;
758
- readonly disposition?: string | undefined;
759
- readonly _tag: "json";
760
- readonly data: string;
761
- })[];
762
- readonly properties?: {
763
- readonly [x: string]: any;
764
- } | undefined;
765
- }>[];
766
- }>[];
767
- }, Schema.Struct.Fields>;
768
- }>;
769
- readonly output: Schema.Struct<{
770
- object: import("@dxos/echo/Type").Obj<{
771
- readonly name?: string | undefined;
772
- readonly status?: "active" | "staged" | "resolved" | undefined;
773
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
774
- readonly id: string;
775
- readonly parentMessage?: string | undefined;
776
- readonly created: string;
777
- readonly sender: {
778
- readonly name?: string | undefined;
779
- readonly role?: "user" | "assistant" | "tool" | undefined;
780
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
781
- readonly image?: string | undefined;
782
- readonly fullName?: string | undefined;
783
- readonly preferredName?: string | undefined;
784
- readonly nickname?: string | undefined;
785
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
786
- readonly description?: string | undefined;
787
- readonly name?: string | undefined;
788
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
789
- readonly image?: string | undefined;
790
- readonly website?: string | undefined;
791
- } & {
792
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
793
- }> | undefined;
794
- readonly jobTitle?: string | undefined;
795
- readonly department?: string | undefined;
796
- readonly notes?: string | undefined;
797
- readonly emails?: readonly {
798
- readonly value: string;
799
- readonly label?: string | undefined;
800
- }[] | undefined;
801
- readonly identities?: readonly {
802
- readonly value: string;
803
- readonly label?: string | undefined;
804
- }[] | undefined;
805
- readonly phoneNumbers?: readonly {
806
- readonly value: string;
807
- readonly label?: string | undefined;
808
- }[] | undefined;
809
- readonly fields?: readonly {
810
- readonly value: string;
811
- readonly label: string;
812
- readonly category?: string | undefined;
813
- }[] | undefined;
814
- readonly addresses?: readonly {
815
- readonly value: {
816
- readonly street?: string | undefined;
817
- readonly extended?: string | undefined;
818
- readonly locality?: string | undefined;
819
- readonly region?: string | undefined;
820
- readonly postalCode?: string | undefined;
821
- readonly postOfficeBoxNumber?: string | undefined;
822
- readonly country?: string | undefined;
823
- };
824
- readonly label?: string | undefined;
825
- }[] | undefined;
826
- readonly urls?: readonly {
827
- readonly value: string;
828
- readonly label?: string | undefined;
829
- }[] | undefined;
830
- readonly birthday?: string | undefined;
831
- } & {
832
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
833
- }> | undefined;
834
- readonly identityDid?: string | undefined;
835
- readonly identityKey?: string | undefined;
836
- readonly email?: string | undefined;
837
- };
838
- readonly blocks: readonly ({
839
- readonly pending?: boolean | undefined;
840
- readonly text: string;
841
- readonly mimeType?: string | undefined;
842
- readonly disposition?: string | undefined;
843
- readonly _tag: "text";
844
- } | {
845
- readonly pending?: boolean | undefined;
846
- readonly _tag: "reasoning";
847
- readonly reasoningText?: string | undefined;
848
- readonly redactedText?: string | undefined;
849
- readonly signature?: string | undefined;
850
- } | {
851
- readonly name: string;
852
- readonly pending?: boolean | undefined;
853
- readonly _tag: "toolCall";
854
- readonly toolCallId: string;
855
- readonly input: string;
856
- readonly providerExecuted: boolean;
857
- } | {
858
- readonly name: string;
859
- readonly pending?: boolean | undefined;
860
- readonly _tag: "toolResult";
861
- readonly toolCallId: string;
862
- readonly providerExecuted: boolean;
863
- readonly result?: string | undefined;
864
- readonly error?: string | undefined;
865
- } | {
866
- readonly pending?: boolean | undefined;
867
- readonly mimeType?: string | undefined;
868
- readonly _tag: "stats";
869
- readonly message?: string | undefined;
870
- readonly model?: string | undefined;
871
- readonly usage?: {
872
- readonly inputTokens?: number | undefined;
873
- readonly outputTokens?: number | undefined;
874
- readonly totalTokens?: number | undefined;
875
- } | undefined;
876
- readonly toolCalls?: number | undefined;
877
- readonly errors?: number | undefined;
878
- readonly duration?: number | undefined;
879
- } | {
880
- readonly source?: {
881
- readonly type: "base64";
882
- readonly mediaType: string;
883
- readonly data: string;
884
- } | {
885
- readonly type: "http";
886
- readonly url: string;
887
- } | undefined;
888
- readonly id?: string | undefined;
889
- readonly pending?: boolean | undefined;
890
- readonly _tag: "image";
891
- } | {
892
- readonly name?: string | undefined;
893
- readonly pending?: boolean | undefined;
894
- readonly _tag: "file";
895
- readonly mediaType?: string | undefined;
896
- readonly url: string;
897
- } | {
898
- readonly pending?: boolean | undefined;
899
- readonly _tag: "reference";
900
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
901
- } | {
902
- readonly pending?: boolean | undefined;
903
- readonly text: string;
904
- readonly _tag: "transcript";
905
- readonly started: string;
906
- } | {
907
- readonly pending?: boolean | undefined;
908
- readonly _tag: "status";
909
- readonly statusText: string;
910
- } | {
911
- readonly pending?: boolean | undefined;
912
- readonly text: string;
913
- readonly _tag: "suggestion";
914
- } | {
915
- readonly pending?: boolean | undefined;
916
- readonly _tag: "select";
917
- readonly options: string[];
918
- } | {
919
- readonly version: unknown;
920
- readonly pending?: boolean | undefined;
921
- readonly _tag: "anchor";
922
- readonly objectId: string;
923
- } | {
924
- readonly pending?: boolean | undefined;
925
- readonly text: string;
926
- readonly _tag: "proposal";
927
- } | {
928
- readonly pending?: boolean | undefined;
929
- readonly _tag: "summary";
930
- readonly content: string;
931
- } | {
932
- readonly pending?: boolean | undefined;
933
- readonly _tag: "toolkit";
934
- } | {
935
- readonly pending?: boolean | undefined;
936
- readonly disposition?: string | undefined;
937
- readonly _tag: "json";
938
- readonly data: string;
939
- })[];
940
- readonly properties?: {
941
- readonly [x: string]: any;
942
- } | undefined;
943
- }>[];
944
- }, Schema.Struct.Fields>;
945
- }>;
946
- };
947
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
948
- readonly executionMode: "sync" | "async";
949
- };
950
- const Create: Omit<{
951
- readonly meta: {
952
- readonly key: `${string}/create`;
953
- readonly name: "Create Thread";
954
- };
955
- readonly services: readonly [typeof Capability.Service];
956
- readonly schema: {
957
- readonly input: Schema.Struct<{
958
- name: Schema.optional<typeof Schema.String>;
959
- anchor: Schema.optional<typeof Schema.String>;
960
- subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
961
- }>;
962
- readonly output: typeof Schema.Void;
963
- };
964
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
965
- readonly executionMode: "sync" | "async";
966
- };
967
- const DeleteOutput: Schema.SchemaClass<{
968
- 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> & {
969
- readonly id: string;
970
- readonly anchor?: string | undefined;
971
- }) | undefined;
972
- readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
973
- readonly name?: string | undefined;
974
- readonly status?: "active" | "staged" | "resolved" | undefined;
975
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
976
- readonly id: string;
977
- readonly parentMessage?: string | undefined;
978
- readonly created: string;
979
- readonly sender: {
980
- readonly name?: string | undefined;
981
- readonly role?: "user" | "assistant" | "tool" | undefined;
982
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
983
- readonly image?: string | undefined;
984
- readonly fullName?: string | undefined;
985
- readonly preferredName?: string | undefined;
986
- readonly nickname?: string | undefined;
987
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
988
- readonly description?: string | undefined;
989
- readonly name?: string | undefined;
990
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
991
- readonly image?: string | undefined;
992
- readonly website?: string | undefined;
993
- } & {
994
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
995
- }> | undefined;
996
- readonly jobTitle?: string | undefined;
997
- readonly department?: string | undefined;
998
- readonly notes?: string | undefined;
999
- readonly emails?: readonly {
1000
- readonly value: string;
1001
- readonly label?: string | undefined;
1002
- }[] | undefined;
1003
- readonly identities?: readonly {
1004
- readonly value: string;
1005
- readonly label?: string | undefined;
1006
- }[] | undefined;
1007
- readonly phoneNumbers?: readonly {
1008
- readonly value: string;
1009
- readonly label?: string | undefined;
1010
- }[] | undefined;
1011
- readonly fields?: readonly {
1012
- readonly value: string;
1013
- readonly label: string;
1014
- readonly category?: string | undefined;
1015
- }[] | undefined;
1016
- readonly addresses?: readonly {
1017
- readonly value: {
1018
- readonly street?: string | undefined;
1019
- readonly extended?: string | undefined;
1020
- readonly locality?: string | undefined;
1021
- readonly region?: string | undefined;
1022
- readonly postalCode?: string | undefined;
1023
- readonly postOfficeBoxNumber?: string | undefined;
1024
- readonly country?: string | undefined;
1025
- };
1026
- readonly label?: string | undefined;
1027
- }[] | undefined;
1028
- readonly urls?: readonly {
1029
- readonly value: string;
1030
- readonly label?: string | undefined;
1031
- }[] | undefined;
1032
- readonly birthday?: string | undefined;
1033
- } & {
1034
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1035
- }> | undefined;
1036
- readonly identityDid?: string | undefined;
1037
- readonly identityKey?: string | undefined;
1038
- readonly email?: string | undefined;
1039
- };
1040
- readonly blocks: readonly ({
1041
- readonly pending?: boolean | undefined;
1042
- readonly text: string;
1043
- readonly mimeType?: string | undefined;
1044
- readonly disposition?: string | undefined;
1045
- readonly _tag: "text";
1046
- } | {
1047
- readonly pending?: boolean | undefined;
1048
- readonly _tag: "reasoning";
1049
- readonly reasoningText?: string | undefined;
1050
- readonly redactedText?: string | undefined;
1051
- readonly signature?: string | undefined;
1052
- } | {
1053
- readonly name: string;
1054
- readonly pending?: boolean | undefined;
1055
- readonly _tag: "toolCall";
1056
- readonly toolCallId: string;
1057
- readonly input: string;
1058
- readonly providerExecuted: boolean;
1059
- } | {
1060
- readonly name: string;
1061
- readonly pending?: boolean | undefined;
1062
- readonly _tag: "toolResult";
1063
- readonly toolCallId: string;
1064
- readonly providerExecuted: boolean;
1065
- readonly result?: string | undefined;
1066
- readonly error?: string | undefined;
1067
- } | {
1068
- readonly pending?: boolean | undefined;
1069
- readonly mimeType?: string | undefined;
1070
- readonly _tag: "stats";
1071
- readonly message?: string | undefined;
1072
- readonly model?: string | undefined;
1073
- readonly usage?: {
1074
- readonly inputTokens?: number | undefined;
1075
- readonly outputTokens?: number | undefined;
1076
- readonly totalTokens?: number | undefined;
1077
- } | undefined;
1078
- readonly toolCalls?: number | undefined;
1079
- readonly errors?: number | undefined;
1080
- readonly duration?: number | undefined;
1081
- } | {
1082
- readonly source?: {
1083
- readonly type: "base64";
1084
- readonly mediaType: string;
1085
- readonly data: string;
1086
- } | {
1087
- readonly type: "http";
1088
- readonly url: string;
1089
- } | undefined;
1090
- readonly id?: string | undefined;
1091
- readonly pending?: boolean | undefined;
1092
- readonly _tag: "image";
1093
- } | {
1094
- readonly name?: string | undefined;
1095
- readonly pending?: boolean | undefined;
1096
- readonly _tag: "file";
1097
- readonly mediaType?: string | undefined;
1098
- readonly url: string;
1099
- } | {
1100
- readonly pending?: boolean | undefined;
1101
- readonly _tag: "reference";
1102
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1103
- } | {
1104
- readonly pending?: boolean | undefined;
1105
- readonly text: string;
1106
- readonly _tag: "transcript";
1107
- readonly started: string;
1108
- } | {
1109
- readonly pending?: boolean | undefined;
1110
- readonly _tag: "status";
1111
- readonly statusText: string;
1112
- } | {
1113
- readonly pending?: boolean | undefined;
1114
- readonly text: string;
1115
- readonly _tag: "suggestion";
1116
- } | {
1117
- readonly pending?: boolean | undefined;
1118
- readonly _tag: "select";
1119
- readonly options: string[];
1120
- } | {
1121
- readonly version: unknown;
1122
- readonly pending?: boolean | undefined;
1123
- readonly _tag: "anchor";
1124
- readonly objectId: string;
1125
- } | {
1126
- readonly pending?: boolean | undefined;
1127
- readonly text: string;
1128
- readonly _tag: "proposal";
1129
- } | {
1130
- readonly pending?: boolean | undefined;
1131
- readonly _tag: "summary";
1132
- readonly content: string;
1133
- } | {
1134
- readonly pending?: boolean | undefined;
1135
- readonly _tag: "toolkit";
1136
- } | {
1137
- readonly pending?: boolean | undefined;
1138
- readonly disposition?: string | undefined;
1139
- readonly _tag: "json";
1140
- readonly data: string;
1141
- })[];
1142
- readonly properties?: {
1143
- readonly [x: string]: any;
1144
- } | undefined;
1145
- }>[];
1146
- }) | undefined;
1147
- }, {
1148
- readonly anchor?: {
1149
- id: string;
1150
- "@relationSource": string;
1151
- "@relationTarget": string;
1152
- anchor?: string | undefined | undefined;
1153
- } | undefined;
1154
- readonly thread?: {
1155
- id: string;
1156
- name?: string | undefined | undefined;
1157
- status?: "active" | "staged" | "resolved" | undefined | undefined;
1158
- messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1159
- readonly id: string;
1160
- readonly parentMessage?: string | undefined;
1161
- readonly created: string;
1162
- readonly sender: {
1163
- readonly name?: string | undefined;
1164
- readonly role?: "user" | "assistant" | "tool" | undefined;
1165
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1166
- readonly image?: string | undefined;
1167
- readonly fullName?: string | undefined;
1168
- readonly preferredName?: string | undefined;
1169
- readonly nickname?: string | undefined;
1170
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1171
- readonly description?: string | undefined;
1172
- readonly name?: string | undefined;
1173
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1174
- readonly image?: string | undefined;
1175
- readonly website?: string | undefined;
1176
- } & {
1177
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1178
- }> | undefined;
1179
- readonly jobTitle?: string | undefined;
1180
- readonly department?: string | undefined;
1181
- readonly notes?: string | undefined;
1182
- readonly emails?: readonly {
1183
- readonly value: string;
1184
- readonly label?: string | undefined;
1185
- }[] | undefined;
1186
- readonly identities?: readonly {
1187
- readonly value: string;
1188
- readonly label?: string | undefined;
1189
- }[] | undefined;
1190
- readonly phoneNumbers?: readonly {
1191
- readonly value: string;
1192
- readonly label?: string | undefined;
1193
- }[] | undefined;
1194
- readonly fields?: readonly {
1195
- readonly value: string;
1196
- readonly label: string;
1197
- readonly category?: string | undefined;
1198
- }[] | undefined;
1199
- readonly addresses?: readonly {
1200
- readonly value: {
1201
- readonly street?: string | undefined;
1202
- readonly extended?: string | undefined;
1203
- readonly locality?: string | undefined;
1204
- readonly region?: string | undefined;
1205
- readonly postalCode?: string | undefined;
1206
- readonly postOfficeBoxNumber?: string | undefined;
1207
- readonly country?: string | undefined;
1208
- };
1209
- readonly label?: string | undefined;
1210
- }[] | undefined;
1211
- readonly urls?: readonly {
1212
- readonly value: string;
1213
- readonly label?: string | undefined;
1214
- }[] | undefined;
1215
- readonly birthday?: string | undefined;
1216
- } & {
1217
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1218
- }> | undefined;
1219
- readonly identityDid?: string | undefined;
1220
- readonly identityKey?: string | undefined;
1221
- readonly email?: string | undefined;
1222
- };
1223
- readonly blocks: readonly ({
1224
- readonly pending?: boolean | undefined;
1225
- readonly text: string;
1226
- readonly mimeType?: string | undefined;
1227
- readonly disposition?: string | undefined;
1228
- readonly _tag: "text";
1229
- } | {
1230
- readonly pending?: boolean | undefined;
1231
- readonly _tag: "reasoning";
1232
- readonly reasoningText?: string | undefined;
1233
- readonly redactedText?: string | undefined;
1234
- readonly signature?: string | undefined;
1235
- } | {
1236
- readonly name: string;
1237
- readonly pending?: boolean | undefined;
1238
- readonly _tag: "toolCall";
1239
- readonly toolCallId: string;
1240
- readonly input: string;
1241
- readonly providerExecuted: boolean;
1242
- } | {
1243
- readonly name: string;
1244
- readonly pending?: boolean | undefined;
1245
- readonly _tag: "toolResult";
1246
- readonly toolCallId: string;
1247
- readonly providerExecuted: boolean;
1248
- readonly result?: string | undefined;
1249
- readonly error?: string | undefined;
1250
- } | {
1251
- readonly pending?: boolean | undefined;
1252
- readonly mimeType?: string | undefined;
1253
- readonly _tag: "stats";
1254
- readonly message?: string | undefined;
1255
- readonly model?: string | undefined;
1256
- readonly usage?: {
1257
- readonly inputTokens?: number | undefined;
1258
- readonly outputTokens?: number | undefined;
1259
- readonly totalTokens?: number | undefined;
1260
- } | undefined;
1261
- readonly toolCalls?: number | undefined;
1262
- readonly errors?: number | undefined;
1263
- readonly duration?: number | undefined;
1264
- } | {
1265
- readonly source?: {
1266
- readonly type: "base64";
1267
- readonly mediaType: string;
1268
- readonly data: string;
1269
- } | {
1270
- readonly type: "http";
1271
- readonly url: string;
1272
- } | undefined;
1273
- readonly id?: string | undefined;
1274
- readonly pending?: boolean | undefined;
1275
- readonly _tag: "image";
1276
- } | {
1277
- readonly name?: string | undefined;
1278
- readonly pending?: boolean | undefined;
1279
- readonly _tag: "file";
1280
- readonly mediaType?: string | undefined;
1281
- readonly url: string;
1282
- } | {
1283
- readonly pending?: boolean | undefined;
1284
- readonly _tag: "reference";
1285
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1286
- } | {
1287
- readonly pending?: boolean | undefined;
1288
- readonly text: string;
1289
- readonly _tag: "transcript";
1290
- readonly started: string;
1291
- } | {
1292
- readonly pending?: boolean | undefined;
1293
- readonly _tag: "status";
1294
- readonly statusText: string;
1295
- } | {
1296
- readonly pending?: boolean | undefined;
1297
- readonly text: string;
1298
- readonly _tag: "suggestion";
1299
- } | {
1300
- readonly pending?: boolean | undefined;
1301
- readonly _tag: "select";
1302
- readonly options: string[];
1303
- } | {
1304
- readonly version: unknown;
1305
- readonly pending?: boolean | undefined;
1306
- readonly _tag: "anchor";
1307
- readonly objectId: string;
1308
- } | {
1309
- readonly pending?: boolean | undefined;
1310
- readonly text: string;
1311
- readonly _tag: "proposal";
1312
- } | {
1313
- readonly pending?: boolean | undefined;
1314
- readonly _tag: "summary";
1315
- readonly content: string;
1316
- } | {
1317
- readonly pending?: boolean | undefined;
1318
- readonly _tag: "toolkit";
1319
- } | {
1320
- readonly pending?: boolean | undefined;
1321
- readonly disposition?: string | undefined;
1322
- readonly _tag: "json";
1323
- readonly data: string;
1324
- })[];
1325
- readonly properties?: {
1326
- readonly [x: string]: any;
1327
- } | undefined;
1328
- }>[];
1329
- } | undefined;
1330
- }, never>;
1331
- type DeleteOutput = Schema.Schema.Type<typeof DeleteOutput>;
1332
- const Delete: Omit<{
1333
- readonly meta: {
1334
- readonly key: `${string}/delete`;
1335
- readonly name: "Delete Thread";
1336
- };
1337
- readonly services: readonly [typeof Capability.Service];
1338
- readonly schema: {
1339
- readonly input: Schema.Struct<{
1340
- anchor: import("@dxos/echo/Type").Relation<{
1341
- readonly id: string;
1342
- readonly anchor?: string | undefined;
1343
- }, 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, Schema.Struct.Fields>;
1344
- subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
1345
- thread: Schema.optional<import("@dxos/echo/Type").Obj<{
1346
- readonly name?: string | undefined;
1347
- readonly status?: "active" | "staged" | "resolved" | undefined;
1348
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1349
- readonly id: string;
1350
- readonly parentMessage?: string | undefined;
1351
- readonly created: string;
1352
- readonly sender: {
1353
- readonly name?: string | undefined;
1354
- readonly role?: "user" | "assistant" | "tool" | undefined;
1355
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1356
- readonly image?: string | undefined;
1357
- readonly fullName?: string | undefined;
1358
- readonly preferredName?: string | undefined;
1359
- readonly nickname?: string | undefined;
1360
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1361
- readonly description?: string | undefined;
1362
- readonly name?: string | undefined;
1363
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1364
- readonly image?: string | undefined;
1365
- readonly website?: string | undefined;
1366
- } & {
1367
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1368
- }> | undefined;
1369
- readonly jobTitle?: string | undefined;
1370
- readonly department?: string | undefined;
1371
- readonly notes?: string | undefined;
1372
- readonly emails?: readonly {
1373
- readonly value: string;
1374
- readonly label?: string | undefined;
1375
- }[] | undefined;
1376
- readonly identities?: readonly {
1377
- readonly value: string;
1378
- readonly label?: string | undefined;
1379
- }[] | undefined;
1380
- readonly phoneNumbers?: readonly {
1381
- readonly value: string;
1382
- readonly label?: string | undefined;
1383
- }[] | undefined;
1384
- readonly fields?: readonly {
1385
- readonly value: string;
1386
- readonly label: string;
1387
- readonly category?: string | undefined;
1388
- }[] | undefined;
1389
- readonly addresses?: readonly {
1390
- readonly value: {
1391
- readonly street?: string | undefined;
1392
- readonly extended?: string | undefined;
1393
- readonly locality?: string | undefined;
1394
- readonly region?: string | undefined;
1395
- readonly postalCode?: string | undefined;
1396
- readonly postOfficeBoxNumber?: string | undefined;
1397
- readonly country?: string | undefined;
1398
- };
1399
- readonly label?: string | undefined;
1400
- }[] | undefined;
1401
- readonly urls?: readonly {
1402
- readonly value: string;
1403
- readonly label?: string | undefined;
1404
- }[] | undefined;
1405
- readonly birthday?: string | undefined;
1406
- } & {
1407
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1408
- }> | undefined;
1409
- readonly identityDid?: string | undefined;
1410
- readonly identityKey?: string | undefined;
1411
- readonly email?: string | undefined;
1412
- };
1413
- readonly blocks: readonly ({
1414
- readonly pending?: boolean | undefined;
1415
- readonly text: string;
1416
- readonly mimeType?: string | undefined;
1417
- readonly disposition?: string | undefined;
1418
- readonly _tag: "text";
1419
- } | {
1420
- readonly pending?: boolean | undefined;
1421
- readonly _tag: "reasoning";
1422
- readonly reasoningText?: string | undefined;
1423
- readonly redactedText?: string | undefined;
1424
- readonly signature?: string | undefined;
1425
- } | {
1426
- readonly name: string;
1427
- readonly pending?: boolean | undefined;
1428
- readonly _tag: "toolCall";
1429
- readonly toolCallId: string;
1430
- readonly input: string;
1431
- readonly providerExecuted: boolean;
1432
- } | {
1433
- readonly name: string;
1434
- readonly pending?: boolean | undefined;
1435
- readonly _tag: "toolResult";
1436
- readonly toolCallId: string;
1437
- readonly providerExecuted: boolean;
1438
- readonly result?: string | undefined;
1439
- readonly error?: string | undefined;
1440
- } | {
1441
- readonly pending?: boolean | undefined;
1442
- readonly mimeType?: string | undefined;
1443
- readonly _tag: "stats";
1444
- readonly message?: string | undefined;
1445
- readonly model?: string | undefined;
1446
- readonly usage?: {
1447
- readonly inputTokens?: number | undefined;
1448
- readonly outputTokens?: number | undefined;
1449
- readonly totalTokens?: number | undefined;
1450
- } | undefined;
1451
- readonly toolCalls?: number | undefined;
1452
- readonly errors?: number | undefined;
1453
- readonly duration?: number | undefined;
1454
- } | {
1455
- readonly source?: {
1456
- readonly type: "base64";
1457
- readonly mediaType: string;
1458
- readonly data: string;
1459
- } | {
1460
- readonly type: "http";
1461
- readonly url: string;
1462
- } | undefined;
1463
- readonly id?: string | undefined;
1464
- readonly pending?: boolean | undefined;
1465
- readonly _tag: "image";
1466
- } | {
1467
- readonly name?: string | undefined;
1468
- readonly pending?: boolean | undefined;
1469
- readonly _tag: "file";
1470
- readonly mediaType?: string | undefined;
1471
- readonly url: string;
1472
- } | {
1473
- readonly pending?: boolean | undefined;
1474
- readonly _tag: "reference";
1475
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1476
- } | {
1477
- readonly pending?: boolean | undefined;
1478
- readonly text: string;
1479
- readonly _tag: "transcript";
1480
- readonly started: string;
1481
- } | {
1482
- readonly pending?: boolean | undefined;
1483
- readonly _tag: "status";
1484
- readonly statusText: string;
1485
- } | {
1486
- readonly pending?: boolean | undefined;
1487
- readonly text: string;
1488
- readonly _tag: "suggestion";
1489
- } | {
1490
- readonly pending?: boolean | undefined;
1491
- readonly _tag: "select";
1492
- readonly options: string[];
1493
- } | {
1494
- readonly version: unknown;
1495
- readonly pending?: boolean | undefined;
1496
- readonly _tag: "anchor";
1497
- readonly objectId: string;
1498
- } | {
1499
- readonly pending?: boolean | undefined;
1500
- readonly text: string;
1501
- readonly _tag: "proposal";
1502
- } | {
1503
- readonly pending?: boolean | undefined;
1504
- readonly _tag: "summary";
1505
- readonly content: string;
1506
- } | {
1507
- readonly pending?: boolean | undefined;
1508
- readonly _tag: "toolkit";
1509
- } | {
1510
- readonly pending?: boolean | undefined;
1511
- readonly disposition?: string | undefined;
1512
- readonly _tag: "json";
1513
- readonly data: string;
1514
- })[];
1515
- readonly properties?: {
1516
- readonly [x: string]: any;
1517
- } | undefined;
1518
- }>[];
1519
- }, Schema.Struct.Fields>>;
1520
- }>;
1521
- readonly output: Schema.SchemaClass<{
1522
- 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> & {
1523
- readonly id: string;
1524
- readonly anchor?: string | undefined;
1525
- }) | undefined;
1526
- readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1527
- readonly name?: string | undefined;
1528
- readonly status?: "active" | "staged" | "resolved" | undefined;
1529
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1530
- readonly id: string;
1531
- readonly parentMessage?: string | undefined;
1532
- readonly created: string;
1533
- readonly sender: {
1534
- readonly name?: string | undefined;
1535
- readonly role?: "user" | "assistant" | "tool" | undefined;
1536
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1537
- readonly image?: string | undefined;
1538
- readonly fullName?: string | undefined;
1539
- readonly preferredName?: string | undefined;
1540
- readonly nickname?: string | undefined;
1541
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1542
- readonly description?: string | undefined;
1543
- readonly name?: string | undefined;
1544
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1545
- readonly image?: string | undefined;
1546
- readonly website?: string | undefined;
1547
- } & {
1548
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1549
- }> | undefined;
1550
- readonly jobTitle?: string | undefined;
1551
- readonly department?: string | undefined;
1552
- readonly notes?: string | undefined;
1553
- readonly emails?: readonly {
1554
- readonly value: string;
1555
- readonly label?: string | undefined;
1556
- }[] | undefined;
1557
- readonly identities?: readonly {
1558
- readonly value: string;
1559
- readonly label?: string | undefined;
1560
- }[] | undefined;
1561
- readonly phoneNumbers?: readonly {
1562
- readonly value: string;
1563
- readonly label?: string | undefined;
1564
- }[] | undefined;
1565
- readonly fields?: readonly {
1566
- readonly value: string;
1567
- readonly label: string;
1568
- readonly category?: string | undefined;
1569
- }[] | undefined;
1570
- readonly addresses?: readonly {
1571
- readonly value: {
1572
- readonly street?: string | undefined;
1573
- readonly extended?: string | undefined;
1574
- readonly locality?: string | undefined;
1575
- readonly region?: string | undefined;
1576
- readonly postalCode?: string | undefined;
1577
- readonly postOfficeBoxNumber?: string | undefined;
1578
- readonly country?: string | undefined;
1579
- };
1580
- readonly label?: string | undefined;
1581
- }[] | undefined;
1582
- readonly urls?: readonly {
1583
- readonly value: string;
1584
- readonly label?: string | undefined;
1585
- }[] | undefined;
1586
- readonly birthday?: string | undefined;
1587
- } & {
1588
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1589
- }> | undefined;
1590
- readonly identityDid?: string | undefined;
1591
- readonly identityKey?: string | undefined;
1592
- readonly email?: string | undefined;
1593
- };
1594
- readonly blocks: readonly ({
1595
- readonly pending?: boolean | undefined;
1596
- readonly text: string;
1597
- readonly mimeType?: string | undefined;
1598
- readonly disposition?: string | undefined;
1599
- readonly _tag: "text";
1600
- } | {
1601
- readonly pending?: boolean | undefined;
1602
- readonly _tag: "reasoning";
1603
- readonly reasoningText?: string | undefined;
1604
- readonly redactedText?: string | undefined;
1605
- readonly signature?: string | undefined;
1606
- } | {
1607
- readonly name: string;
1608
- readonly pending?: boolean | undefined;
1609
- readonly _tag: "toolCall";
1610
- readonly toolCallId: string;
1611
- readonly input: string;
1612
- readonly providerExecuted: boolean;
1613
- } | {
1614
- readonly name: string;
1615
- readonly pending?: boolean | undefined;
1616
- readonly _tag: "toolResult";
1617
- readonly toolCallId: string;
1618
- readonly providerExecuted: boolean;
1619
- readonly result?: string | undefined;
1620
- readonly error?: string | undefined;
1621
- } | {
1622
- readonly pending?: boolean | undefined;
1623
- readonly mimeType?: string | undefined;
1624
- readonly _tag: "stats";
1625
- readonly message?: string | undefined;
1626
- readonly model?: string | undefined;
1627
- readonly usage?: {
1628
- readonly inputTokens?: number | undefined;
1629
- readonly outputTokens?: number | undefined;
1630
- readonly totalTokens?: number | undefined;
1631
- } | undefined;
1632
- readonly toolCalls?: number | undefined;
1633
- readonly errors?: number | undefined;
1634
- readonly duration?: number | undefined;
1635
- } | {
1636
- readonly source?: {
1637
- readonly type: "base64";
1638
- readonly mediaType: string;
1639
- readonly data: string;
1640
- } | {
1641
- readonly type: "http";
1642
- readonly url: string;
1643
- } | undefined;
1644
- readonly id?: string | undefined;
1645
- readonly pending?: boolean | undefined;
1646
- readonly _tag: "image";
1647
- } | {
1648
- readonly name?: string | undefined;
1649
- readonly pending?: boolean | undefined;
1650
- readonly _tag: "file";
1651
- readonly mediaType?: string | undefined;
1652
- readonly url: string;
1653
- } | {
1654
- readonly pending?: boolean | undefined;
1655
- readonly _tag: "reference";
1656
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1657
- } | {
1658
- readonly pending?: boolean | undefined;
1659
- readonly text: string;
1660
- readonly _tag: "transcript";
1661
- readonly started: string;
1662
- } | {
1663
- readonly pending?: boolean | undefined;
1664
- readonly _tag: "status";
1665
- readonly statusText: string;
1666
- } | {
1667
- readonly pending?: boolean | undefined;
1668
- readonly text: string;
1669
- readonly _tag: "suggestion";
1670
- } | {
1671
- readonly pending?: boolean | undefined;
1672
- readonly _tag: "select";
1673
- readonly options: string[];
1674
- } | {
1675
- readonly version: unknown;
1676
- readonly pending?: boolean | undefined;
1677
- readonly _tag: "anchor";
1678
- readonly objectId: string;
1679
- } | {
1680
- readonly pending?: boolean | undefined;
1681
- readonly text: string;
1682
- readonly _tag: "proposal";
1683
- } | {
1684
- readonly pending?: boolean | undefined;
1685
- readonly _tag: "summary";
1686
- readonly content: string;
1687
- } | {
1688
- readonly pending?: boolean | undefined;
1689
- readonly _tag: "toolkit";
1690
- } | {
1691
- readonly pending?: boolean | undefined;
1692
- readonly disposition?: string | undefined;
1693
- readonly _tag: "json";
1694
- readonly data: string;
1695
- })[];
1696
- readonly properties?: {
1697
- readonly [x: string]: any;
1698
- } | undefined;
1699
- }>[];
1700
- }) | undefined;
1701
- }, {
1702
- readonly anchor?: {
1703
- id: string;
1704
- "@relationSource": string;
1705
- "@relationTarget": string;
1706
- anchor?: string | undefined | undefined;
1707
- } | undefined;
1708
- readonly thread?: {
1709
- id: string;
1710
- name?: string | undefined | undefined;
1711
- status?: "active" | "staged" | "resolved" | undefined | undefined;
1712
- messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1713
- readonly id: string;
1714
- readonly parentMessage?: string | undefined;
1715
- readonly created: string;
1716
- readonly sender: {
1717
- readonly name?: string | undefined;
1718
- readonly role?: "user" | "assistant" | "tool" | undefined;
1719
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1720
- readonly image?: string | undefined;
1721
- readonly fullName?: string | undefined;
1722
- readonly preferredName?: string | undefined;
1723
- readonly nickname?: string | undefined;
1724
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1725
- readonly description?: string | undefined;
1726
- readonly name?: string | undefined;
1727
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1728
- readonly image?: string | undefined;
1729
- readonly website?: string | undefined;
1730
- } & {
1731
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1732
- }> | undefined;
1733
- readonly jobTitle?: string | undefined;
1734
- readonly department?: string | undefined;
1735
- readonly notes?: string | undefined;
1736
- readonly emails?: readonly {
1737
- readonly value: string;
1738
- readonly label?: string | undefined;
1739
- }[] | undefined;
1740
- readonly identities?: readonly {
1741
- readonly value: string;
1742
- readonly label?: string | undefined;
1743
- }[] | undefined;
1744
- readonly phoneNumbers?: readonly {
1745
- readonly value: string;
1746
- readonly label?: string | undefined;
1747
- }[] | undefined;
1748
- readonly fields?: readonly {
1749
- readonly value: string;
1750
- readonly label: string;
1751
- readonly category?: string | undefined;
1752
- }[] | undefined;
1753
- readonly addresses?: readonly {
1754
- readonly value: {
1755
- readonly street?: string | undefined;
1756
- readonly extended?: string | undefined;
1757
- readonly locality?: string | undefined;
1758
- readonly region?: string | undefined;
1759
- readonly postalCode?: string | undefined;
1760
- readonly postOfficeBoxNumber?: string | undefined;
1761
- readonly country?: string | undefined;
1762
- };
1763
- readonly label?: string | undefined;
1764
- }[] | undefined;
1765
- readonly urls?: readonly {
1766
- readonly value: string;
1767
- readonly label?: string | undefined;
1768
- }[] | undefined;
1769
- readonly birthday?: string | undefined;
1770
- } & {
1771
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1772
- }> | undefined;
1773
- readonly identityDid?: string | undefined;
1774
- readonly identityKey?: string | undefined;
1775
- readonly email?: string | undefined;
1776
- };
1777
- readonly blocks: readonly ({
1778
- readonly pending?: boolean | undefined;
1779
- readonly text: string;
1780
- readonly mimeType?: string | undefined;
1781
- readonly disposition?: string | undefined;
1782
- readonly _tag: "text";
1783
- } | {
1784
- readonly pending?: boolean | undefined;
1785
- readonly _tag: "reasoning";
1786
- readonly reasoningText?: string | undefined;
1787
- readonly redactedText?: string | undefined;
1788
- readonly signature?: string | undefined;
1789
- } | {
1790
- readonly name: string;
1791
- readonly pending?: boolean | undefined;
1792
- readonly _tag: "toolCall";
1793
- readonly toolCallId: string;
1794
- readonly input: string;
1795
- readonly providerExecuted: boolean;
1796
- } | {
1797
- readonly name: string;
1798
- readonly pending?: boolean | undefined;
1799
- readonly _tag: "toolResult";
1800
- readonly toolCallId: string;
1801
- readonly providerExecuted: boolean;
1802
- readonly result?: string | undefined;
1803
- readonly error?: string | undefined;
1804
- } | {
1805
- readonly pending?: boolean | undefined;
1806
- readonly mimeType?: string | undefined;
1807
- readonly _tag: "stats";
1808
- readonly message?: string | undefined;
1809
- readonly model?: string | undefined;
1810
- readonly usage?: {
1811
- readonly inputTokens?: number | undefined;
1812
- readonly outputTokens?: number | undefined;
1813
- readonly totalTokens?: number | undefined;
1814
- } | undefined;
1815
- readonly toolCalls?: number | undefined;
1816
- readonly errors?: number | undefined;
1817
- readonly duration?: number | undefined;
1818
- } | {
1819
- readonly source?: {
1820
- readonly type: "base64";
1821
- readonly mediaType: string;
1822
- readonly data: string;
1823
- } | {
1824
- readonly type: "http";
1825
- readonly url: string;
1826
- } | undefined;
1827
- readonly id?: string | undefined;
1828
- readonly pending?: boolean | undefined;
1829
- readonly _tag: "image";
1830
- } | {
1831
- readonly name?: string | undefined;
1832
- readonly pending?: boolean | undefined;
1833
- readonly _tag: "file";
1834
- readonly mediaType?: string | undefined;
1835
- readonly url: string;
1836
- } | {
1837
- readonly pending?: boolean | undefined;
1838
- readonly _tag: "reference";
1839
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
1840
- } | {
1841
- readonly pending?: boolean | undefined;
1842
- readonly text: string;
1843
- readonly _tag: "transcript";
1844
- readonly started: string;
1845
- } | {
1846
- readonly pending?: boolean | undefined;
1847
- readonly _tag: "status";
1848
- readonly statusText: string;
1849
- } | {
1850
- readonly pending?: boolean | undefined;
1851
- readonly text: string;
1852
- readonly _tag: "suggestion";
1853
- } | {
1854
- readonly pending?: boolean | undefined;
1855
- readonly _tag: "select";
1856
- readonly options: string[];
1857
- } | {
1858
- readonly version: unknown;
1859
- readonly pending?: boolean | undefined;
1860
- readonly _tag: "anchor";
1861
- readonly objectId: string;
1862
- } | {
1863
- readonly pending?: boolean | undefined;
1864
- readonly text: string;
1865
- readonly _tag: "proposal";
1866
- } | {
1867
- readonly pending?: boolean | undefined;
1868
- readonly _tag: "summary";
1869
- readonly content: string;
1870
- } | {
1871
- readonly pending?: boolean | undefined;
1872
- readonly _tag: "toolkit";
1873
- } | {
1874
- readonly pending?: boolean | undefined;
1875
- readonly disposition?: string | undefined;
1876
- readonly _tag: "json";
1877
- readonly data: string;
1878
- })[];
1879
- readonly properties?: {
1880
- readonly [x: string]: any;
1881
- } | undefined;
1882
- }>[];
1883
- } | undefined;
1884
- }, never>;
1885
- };
1886
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
1887
- readonly executionMode: "sync" | "async";
1888
- };
1889
- const Select: Omit<{
1890
- readonly meta: {
1891
- readonly key: `${string}/select`;
1892
- readonly name: "Select Thread";
1893
- };
1894
- readonly services: readonly [typeof Capability.Service];
1895
- readonly schema: {
1896
- readonly input: Schema.Struct<{
1897
- current: typeof Schema.String;
1898
- }>;
1899
- readonly output: typeof Schema.Void;
1900
- };
1901
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
1902
- readonly executionMode: "sync" | "async";
1903
- };
1904
- const ToggleResolved: Omit<{
1905
- readonly meta: {
1906
- readonly key: `${string}/toggle-resolved`;
1907
- readonly name: "Toggle Resolved";
1908
- };
1909
- readonly services: readonly [typeof Capability.Service];
1910
- readonly schema: {
1911
- readonly input: Schema.Struct<{
1912
- thread: import("@dxos/echo/Type").Obj<{
1913
- readonly name?: string | undefined;
1914
- readonly status?: "active" | "staged" | "resolved" | undefined;
1915
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1916
- readonly id: string;
1917
- readonly parentMessage?: string | undefined;
1918
- readonly created: string;
1919
- readonly sender: {
1920
- readonly name?: string | undefined;
1921
- readonly role?: "user" | "assistant" | "tool" | undefined;
1922
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1923
- readonly image?: string | undefined;
1924
- readonly fullName?: string | undefined;
1925
- readonly preferredName?: string | undefined;
1926
- readonly nickname?: string | undefined;
1927
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
1928
- readonly description?: string | undefined;
1929
- readonly name?: string | undefined;
1930
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
1931
- readonly image?: string | undefined;
1932
- readonly website?: string | undefined;
1933
- } & {
1934
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1935
- }> | undefined;
1936
- readonly jobTitle?: string | undefined;
1937
- readonly department?: string | undefined;
1938
- readonly notes?: string | undefined;
1939
- readonly emails?: readonly {
1940
- readonly value: string;
1941
- readonly label?: string | undefined;
1942
- }[] | undefined;
1943
- readonly identities?: readonly {
1944
- readonly value: string;
1945
- readonly label?: string | undefined;
1946
- }[] | undefined;
1947
- readonly phoneNumbers?: readonly {
1948
- readonly value: string;
1949
- readonly label?: string | undefined;
1950
- }[] | undefined;
1951
- readonly fields?: readonly {
1952
- readonly value: string;
1953
- readonly label: string;
1954
- readonly category?: string | undefined;
1955
- }[] | undefined;
1956
- readonly addresses?: readonly {
1957
- readonly value: {
1958
- readonly street?: string | undefined;
1959
- readonly extended?: string | undefined;
1960
- readonly locality?: string | undefined;
1961
- readonly region?: string | undefined;
1962
- readonly postalCode?: string | undefined;
1963
- readonly postOfficeBoxNumber?: string | undefined;
1964
- readonly country?: string | undefined;
1965
- };
1966
- readonly label?: string | undefined;
1967
- }[] | undefined;
1968
- readonly urls?: readonly {
1969
- readonly value: string;
1970
- readonly label?: string | undefined;
1971
- }[] | undefined;
1972
- readonly birthday?: string | undefined;
1973
- } & {
1974
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
1975
- }> | undefined;
1976
- readonly identityDid?: string | undefined;
1977
- readonly identityKey?: string | undefined;
1978
- readonly email?: string | undefined;
1979
- };
1980
- readonly blocks: readonly ({
1981
- readonly pending?: boolean | undefined;
1982
- readonly text: string;
1983
- readonly mimeType?: string | undefined;
1984
- readonly disposition?: string | undefined;
1985
- readonly _tag: "text";
1986
- } | {
1987
- readonly pending?: boolean | undefined;
1988
- readonly _tag: "reasoning";
1989
- readonly reasoningText?: string | undefined;
1990
- readonly redactedText?: string | undefined;
1991
- readonly signature?: string | undefined;
1992
- } | {
1993
- readonly name: string;
1994
- readonly pending?: boolean | undefined;
1995
- readonly _tag: "toolCall";
1996
- readonly toolCallId: string;
1997
- readonly input: string;
1998
- readonly providerExecuted: boolean;
1999
- } | {
2000
- readonly name: string;
2001
- readonly pending?: boolean | undefined;
2002
- readonly _tag: "toolResult";
2003
- readonly toolCallId: string;
2004
- readonly providerExecuted: boolean;
2005
- readonly result?: string | undefined;
2006
- readonly error?: string | undefined;
2007
- } | {
2008
- readonly pending?: boolean | undefined;
2009
- readonly mimeType?: string | undefined;
2010
- readonly _tag: "stats";
2011
- readonly message?: string | undefined;
2012
- readonly model?: string | undefined;
2013
- readonly usage?: {
2014
- readonly inputTokens?: number | undefined;
2015
- readonly outputTokens?: number | undefined;
2016
- readonly totalTokens?: number | undefined;
2017
- } | undefined;
2018
- readonly toolCalls?: number | undefined;
2019
- readonly errors?: number | undefined;
2020
- readonly duration?: number | undefined;
2021
- } | {
2022
- readonly source?: {
2023
- readonly type: "base64";
2024
- readonly mediaType: string;
2025
- readonly data: string;
2026
- } | {
2027
- readonly type: "http";
2028
- readonly url: string;
2029
- } | undefined;
2030
- readonly id?: string | undefined;
2031
- readonly pending?: boolean | undefined;
2032
- readonly _tag: "image";
2033
- } | {
2034
- readonly name?: string | undefined;
2035
- readonly pending?: boolean | undefined;
2036
- readonly _tag: "file";
2037
- readonly mediaType?: string | undefined;
2038
- readonly url: string;
2039
- } | {
2040
- readonly pending?: boolean | undefined;
2041
- readonly _tag: "reference";
2042
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2043
- } | {
2044
- readonly pending?: boolean | undefined;
2045
- readonly text: string;
2046
- readonly _tag: "transcript";
2047
- readonly started: string;
2048
- } | {
2049
- readonly pending?: boolean | undefined;
2050
- readonly _tag: "status";
2051
- readonly statusText: string;
2052
- } | {
2053
- readonly pending?: boolean | undefined;
2054
- readonly text: string;
2055
- readonly _tag: "suggestion";
2056
- } | {
2057
- readonly pending?: boolean | undefined;
2058
- readonly _tag: "select";
2059
- readonly options: string[];
2060
- } | {
2061
- readonly version: unknown;
2062
- readonly pending?: boolean | undefined;
2063
- readonly _tag: "anchor";
2064
- readonly objectId: string;
2065
- } | {
2066
- readonly pending?: boolean | undefined;
2067
- readonly text: string;
2068
- readonly _tag: "proposal";
2069
- } | {
2070
- readonly pending?: boolean | undefined;
2071
- readonly _tag: "summary";
2072
- readonly content: string;
2073
- } | {
2074
- readonly pending?: boolean | undefined;
2075
- readonly _tag: "toolkit";
2076
- } | {
2077
- readonly pending?: boolean | undefined;
2078
- readonly disposition?: string | undefined;
2079
- readonly _tag: "json";
2080
- readonly data: string;
2081
- })[];
2082
- readonly properties?: {
2083
- readonly [x: string]: any;
2084
- } | undefined;
2085
- }>[];
2086
- }, Schema.Struct.Fields>;
2087
- }>;
2088
- readonly output: typeof Schema.Void;
2089
- };
2090
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
2091
- readonly executionMode: "sync" | "async";
2092
- };
2093
- const AddMessage: Omit<{
2094
- readonly meta: {
2095
- readonly key: `${string}/add-message`;
2096
- readonly name: "Add Message";
2097
- };
2098
- readonly services: readonly [typeof Capability.Service];
2099
- readonly schema: {
2100
- readonly input: Schema.Struct<{
2101
- subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
2102
- anchor: import("@dxos/echo/Type").Relation<{
2103
- readonly id: string;
2104
- readonly anchor?: string | undefined;
2105
- }, 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, Schema.Struct.Fields>;
2106
- sender: Schema.Struct<{
2107
- role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
2108
- contact: Schema.optional<import("@dxos/echo/Ref").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2109
- readonly image?: string | undefined;
2110
- readonly fullName?: string | undefined;
2111
- readonly preferredName?: string | undefined;
2112
- readonly nickname?: string | undefined;
2113
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2114
- readonly description?: string | undefined;
2115
- readonly name?: string | undefined;
2116
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
2117
- readonly image?: string | undefined;
2118
- readonly website?: string | undefined;
2119
- } & {
2120
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2121
- }> | undefined;
2122
- readonly jobTitle?: string | undefined;
2123
- readonly department?: string | undefined;
2124
- readonly notes?: string | undefined;
2125
- readonly emails?: readonly {
2126
- readonly value: string;
2127
- readonly label?: string | undefined;
2128
- }[] | undefined;
2129
- readonly identities?: readonly {
2130
- readonly value: string;
2131
- readonly label?: string | undefined;
2132
- }[] | undefined;
2133
- readonly phoneNumbers?: readonly {
2134
- readonly value: string;
2135
- readonly label?: string | undefined;
2136
- }[] | undefined;
2137
- readonly fields?: readonly {
2138
- readonly value: string;
2139
- readonly label: string;
2140
- readonly category?: string | undefined;
2141
- }[] | undefined;
2142
- readonly addresses?: readonly {
2143
- readonly value: {
2144
- readonly street?: string | undefined;
2145
- readonly extended?: string | undefined;
2146
- readonly locality?: string | undefined;
2147
- readonly region?: string | undefined;
2148
- readonly postalCode?: string | undefined;
2149
- readonly postOfficeBoxNumber?: string | undefined;
2150
- readonly country?: string | undefined;
2151
- };
2152
- readonly label?: string | undefined;
2153
- }[] | undefined;
2154
- readonly urls?: readonly {
2155
- readonly value: string;
2156
- readonly label?: string | undefined;
2157
- }[] | undefined;
2158
- readonly birthday?: string | undefined;
2159
- } & {
2160
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2161
- }>>;
2162
- identityDid: Schema.optional<typeof Schema.String>;
2163
- identityKey: Schema.optional<typeof Schema.String>;
2164
- email: Schema.optional<typeof Schema.String>;
2165
- name: Schema.optional<typeof Schema.String>;
2166
- }>;
2167
- text: typeof Schema.String;
2168
- }>;
2169
- readonly output: typeof Schema.Void;
2170
- };
2171
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
2172
- readonly executionMode: "sync" | "async";
2173
- };
2174
- const DeleteMessageOutput: Schema.SchemaClass<{
2175
- readonly message?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2176
- readonly id: string;
2177
- readonly parentMessage?: string | undefined;
2178
- readonly created: string;
2179
- readonly sender: {
2180
- readonly name?: string | undefined;
2181
- readonly role?: "user" | "assistant" | "tool" | undefined;
2182
- readonly contact
2183
- /**
2184
- * Operations for the Thread plugin.
2185
- * Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
2186
- */
2187
- ?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2188
- readonly image?: string | undefined;
2189
- readonly fullName?: string | undefined;
2190
- readonly preferredName?: string | undefined;
2191
- readonly nickname?: string | undefined;
2192
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2193
- readonly description?: string | undefined;
2194
- readonly name?: string | undefined;
2195
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
2196
- readonly image?: string | undefined;
2197
- readonly website?: string | undefined;
2198
- } & {
2199
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2200
- }> | undefined;
2201
- readonly jobTitle?: string | undefined;
2202
- readonly department?: string | undefined;
2203
- readonly notes?: string | undefined;
2204
- readonly emails?: readonly {
2205
- readonly value: string;
2206
- readonly label?: string | undefined;
2207
- }[] | undefined;
2208
- readonly identities?: readonly {
2209
- readonly value: string;
2210
- readonly label?: string | undefined;
2211
- }[] | undefined;
2212
- readonly phoneNumbers?: readonly {
2213
- readonly value: string;
2214
- readonly label?: string | undefined;
2215
- }[] | undefined;
2216
- readonly fields?: readonly {
2217
- readonly value: string;
2218
- readonly label: string;
2219
- readonly category?: string | undefined;
2220
- }[] | undefined;
2221
- readonly addresses?: readonly {
2222
- readonly value: {
2223
- readonly street?: string | undefined;
2224
- readonly extended?: string | undefined;
2225
- readonly locality?: string | undefined;
2226
- readonly region?: string | undefined;
2227
- readonly postalCode?: string | undefined;
2228
- readonly postOfficeBoxNumber?: string | undefined;
2229
- readonly country?: string | undefined;
2230
- };
2231
- readonly label?: string | undefined;
2232
- }[] | undefined;
2233
- readonly urls?: readonly {
2234
- readonly value: string;
2235
- readonly label?: string | undefined;
2236
- }[] | undefined;
2237
- readonly birthday?: string | undefined;
2238
- } & {
2239
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2240
- }> | undefined;
2241
- readonly identityDid?: string | undefined;
2242
- readonly identityKey?: string | undefined;
2243
- readonly email?: string | undefined;
2244
- };
2245
- readonly blocks: readonly ({
2246
- readonly pending?: boolean | undefined;
2247
- readonly text: string;
2248
- readonly mimeType?: string | undefined;
2249
- readonly disposition?: string | undefined;
2250
- readonly _tag: "text";
2251
- } | {
2252
- readonly pending?: boolean | undefined;
2253
- readonly _tag: "reasoning";
2254
- readonly reasoningText?: string | undefined;
2255
- readonly redactedText?: string | undefined;
2256
- readonly signature?: string | undefined;
2257
- } | {
2258
- readonly name: string;
2259
- readonly pending?: boolean | undefined;
2260
- readonly _tag: "toolCall";
2261
- readonly toolCallId: string;
2262
- readonly input: string;
2263
- readonly providerExecuted: boolean;
2264
- } | {
2265
- readonly name: string;
2266
- readonly pending?: boolean | undefined;
2267
- readonly _tag: "toolResult";
2268
- readonly toolCallId: string;
2269
- readonly providerExecuted: boolean;
2270
- readonly result?: string | undefined;
2271
- readonly error?: string | undefined;
2272
- } | {
2273
- readonly pending?: boolean | undefined;
2274
- readonly mimeType?: string | undefined;
2275
- readonly _tag: "stats";
2276
- readonly message?: string | undefined;
2277
- readonly model?: string | undefined;
2278
- readonly usage?: {
2279
- readonly inputTokens?: number | undefined;
2280
- readonly outputTokens?: number | undefined;
2281
- readonly totalTokens?: number | undefined;
2282
- } | undefined;
2283
- readonly toolCalls?: number | undefined;
2284
- readonly errors?: number | undefined;
2285
- readonly duration?: number | undefined;
2286
- } | {
2287
- readonly source?: {
2288
- readonly type: "base64";
2289
- readonly mediaType: string;
2290
- readonly data: string;
2291
- } | {
2292
- readonly type: "http";
2293
- readonly url: string;
2294
- } | undefined;
2295
- readonly id?: string | undefined;
2296
- readonly pending?: boolean | undefined;
2297
- readonly _tag: "image";
2298
- } | {
2299
- readonly name?: string | undefined;
2300
- readonly pending?: boolean | undefined;
2301
- readonly _tag: "file";
2302
- readonly mediaType?: string | undefined;
2303
- readonly url: string;
2304
- } | {
2305
- readonly pending?: boolean | undefined;
2306
- readonly _tag: "reference";
2307
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2308
- } | {
2309
- readonly pending?: boolean | undefined;
2310
- readonly text: string;
2311
- readonly _tag: "transcript";
2312
- readonly started: string;
2313
- } | {
2314
- readonly pending?: boolean | undefined;
2315
- readonly _tag: "status";
2316
- readonly statusText: string;
2317
- } | {
2318
- readonly pending?: boolean | undefined;
2319
- readonly text: string;
2320
- readonly _tag: "suggestion";
2321
- } | {
2322
- readonly pending?: boolean | undefined;
2323
- readonly _tag: "select";
2324
- readonly options: string[];
2325
- } | {
2326
- readonly version: unknown;
2327
- readonly pending?: boolean | undefined;
2328
- readonly _tag: "anchor";
2329
- readonly objectId: string;
2330
- } | {
2331
- readonly pending?: boolean | undefined;
2332
- readonly text: string;
2333
- readonly _tag: "proposal";
2334
- } | {
2335
- readonly pending?: boolean | undefined;
2336
- readonly _tag: "summary";
2337
- readonly content: string;
2338
- } | {
2339
- readonly pending?: boolean | undefined;
2340
- readonly _tag: "toolkit";
2341
- } | {
2342
- readonly pending?: boolean | undefined;
2343
- readonly disposition?: string | undefined;
2344
- readonly _tag: "json";
2345
- readonly data: string;
2346
- })[];
2347
- readonly properties?: {
2348
- readonly [x: string]: any;
2349
- } | undefined;
2350
- }) | undefined;
2351
- readonly messageIndex?: number | undefined;
2352
- }, {
2353
- readonly message?: {
2354
- id: string;
2355
- parentMessage?: string | undefined | undefined;
2356
- created: string;
2357
- sender: {
2358
- readonly name?: string | undefined;
2359
- readonly role?: "user" | "assistant" | "tool" | undefined;
2360
- readonly contact
2361
- /**
2362
- * Operations for the Thread plugin.
2363
- * Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
2364
- */
2365
- ?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2366
- readonly image?: string | undefined;
2367
- readonly fullName?: string | undefined;
2368
- readonly preferredName?: string | undefined;
2369
- readonly nickname?: string | undefined;
2370
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2371
- readonly description?: string | undefined;
2372
- readonly name?: string | undefined;
2373
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
2374
- readonly image?: string | undefined;
2375
- readonly website?: string | undefined;
2376
- } & {
2377
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2378
- }> | undefined;
2379
- readonly jobTitle?: string | undefined;
2380
- readonly department?: string | undefined;
2381
- readonly notes?: string | undefined;
2382
- readonly emails?: readonly {
2383
- readonly value: string;
2384
- readonly label?: string | undefined;
2385
- }[] | undefined;
2386
- readonly identities?: readonly {
2387
- readonly value: string;
2388
- readonly label?: string | undefined;
2389
- }[] | undefined;
2390
- readonly phoneNumbers?: readonly {
2391
- readonly value: string;
2392
- readonly label?: string | undefined;
2393
- }[] | undefined;
2394
- readonly fields?: readonly {
2395
- readonly value: string;
2396
- readonly label: string;
2397
- readonly category?: string | undefined;
2398
- }[] | undefined;
2399
- readonly addresses?: readonly {
2400
- readonly value: {
2401
- readonly street?: string | undefined;
2402
- readonly extended?: string | undefined;
2403
- readonly locality?: string | undefined;
2404
- readonly region?: string | undefined;
2405
- readonly postalCode?: string | undefined;
2406
- readonly postOfficeBoxNumber?: string | undefined;
2407
- readonly country?: string | undefined;
2408
- };
2409
- readonly label?: string | undefined;
2410
- }[] | undefined;
2411
- readonly urls?: readonly {
2412
- readonly value: string;
2413
- readonly label?: string | undefined;
2414
- }[] | undefined;
2415
- readonly birthday?: string | undefined;
2416
- } & {
2417
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2418
- }> | undefined;
2419
- readonly identityDid?: string | undefined;
2420
- readonly identityKey?: string | undefined;
2421
- readonly email?: string | undefined;
2422
- };
2423
- blocks: ({
2424
- readonly pending?: boolean | undefined;
2425
- readonly text: string;
2426
- readonly mimeType?: string | undefined;
2427
- readonly disposition?: string | undefined;
2428
- readonly _tag: "text";
2429
- } | {
2430
- readonly pending?: boolean | undefined;
2431
- readonly _tag: "reasoning";
2432
- readonly reasoningText?: string | undefined;
2433
- readonly redactedText?: string | undefined;
2434
- readonly signature?: string | undefined;
2435
- } | {
2436
- readonly name: string;
2437
- readonly pending?: boolean | undefined;
2438
- readonly _tag: "toolCall";
2439
- readonly toolCallId: string;
2440
- readonly input: string;
2441
- readonly providerExecuted: boolean;
2442
- } | {
2443
- readonly name: string;
2444
- readonly pending?: boolean | undefined;
2445
- readonly _tag: "toolResult";
2446
- readonly toolCallId: string;
2447
- readonly providerExecuted: boolean;
2448
- readonly result?: string | undefined;
2449
- readonly error?: string | undefined;
2450
- } | {
2451
- readonly pending?: boolean | undefined;
2452
- readonly mimeType?: string | undefined;
2453
- readonly _tag: "stats";
2454
- readonly message?: string | undefined;
2455
- readonly model?: string | undefined;
2456
- readonly usage?: {
2457
- readonly inputTokens?: number | undefined;
2458
- readonly outputTokens?: number | undefined;
2459
- readonly totalTokens?: number | undefined;
2460
- } | undefined;
2461
- readonly toolCalls?: number | undefined;
2462
- readonly errors?: number | undefined;
2463
- readonly duration?: number | undefined;
2464
- } | {
2465
- readonly source?: {
2466
- readonly type: "base64";
2467
- readonly mediaType: string;
2468
- readonly data: string;
2469
- } | {
2470
- readonly type: "http";
2471
- readonly url: string;
2472
- } | undefined;
2473
- readonly id?: string | undefined;
2474
- readonly pending?: boolean | undefined;
2475
- readonly _tag: "image";
2476
- } | {
2477
- readonly name?: string | undefined;
2478
- readonly pending?: boolean | undefined;
2479
- readonly _tag: "file";
2480
- readonly mediaType?: string | undefined;
2481
- readonly url: string;
2482
- } | {
2483
- readonly pending?: boolean | undefined;
2484
- readonly _tag: "reference";
2485
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2486
- } | {
2487
- readonly pending?: boolean | undefined;
2488
- readonly text: string;
2489
- readonly _tag: "transcript";
2490
- readonly started: string;
2491
- } | {
2492
- readonly pending?: boolean | undefined;
2493
- readonly _tag: "status";
2494
- readonly statusText: string;
2495
- } | {
2496
- readonly pending?: boolean | undefined;
2497
- readonly text: string;
2498
- readonly _tag: "suggestion";
2499
- } | {
2500
- readonly pending?: boolean | undefined;
2501
- readonly _tag: "select";
2502
- readonly options: string[];
2503
- } | {
2504
- readonly version: unknown;
2505
- readonly pending?: boolean | undefined;
2506
- readonly _tag: "anchor";
2507
- readonly objectId: string;
2508
- } | {
2509
- readonly pending?: boolean | undefined;
2510
- readonly text: string;
2511
- readonly _tag: "proposal";
2512
- } | {
2513
- readonly pending?: boolean | undefined;
2514
- readonly _tag: "summary";
2515
- readonly content: string;
2516
- } | {
2517
- readonly pending?: boolean | undefined;
2518
- readonly _tag: "toolkit";
2519
- } | {
2520
- readonly pending?: boolean | undefined;
2521
- readonly disposition?: string | undefined;
2522
- readonly _tag: "json";
2523
- readonly data: string;
2524
- })[];
2525
- properties?: {
2526
- readonly [x: string]: any;
2527
- } | undefined | undefined;
2528
- } | undefined;
2529
- readonly messageIndex?: number | undefined;
2530
- }, never>;
2531
- type DeleteMessageOutput = Schema.Schema.Type<typeof DeleteMessageOutput>;
2532
- const DeleteMessage: Omit<{
2533
- readonly meta: {
2534
- readonly key: `${string}/delete-message`;
2535
- readonly name: "Delete Message";
2536
- };
2537
- readonly services: readonly [typeof Capability.Service];
2538
- readonly schema: {
2539
- readonly input: Schema.Struct<{
2540
- anchor: import("@dxos/echo/Type").Relation<{
2541
- readonly id: string;
2542
- readonly anchor?: string | undefined;
2543
- }, 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, Schema.Struct.Fields>;
2544
- subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
2545
- messageId: typeof Schema.String;
2546
- }>;
2547
- readonly output: Schema.SchemaClass<{
2548
- readonly message?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2549
- readonly id: string;
2550
- readonly parentMessage?: string | undefined;
2551
- readonly created: string;
2552
- readonly sender: {
2553
- readonly name?: string | undefined;
2554
- readonly role?: "user" | "assistant" | "tool" | undefined;
2555
- readonly contact
2556
- /**
2557
- * Operations for the Thread plugin.
2558
- * Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
2559
- */
2560
- ?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2561
- readonly image?: string | undefined;
2562
- readonly fullName?: string | undefined;
2563
- readonly preferredName?: string | undefined;
2564
- readonly nickname?: string | undefined;
2565
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2566
- readonly description?: string | undefined;
2567
- readonly name?: string | undefined;
2568
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
2569
- readonly image?: string | undefined;
2570
- readonly website?: string | undefined;
2571
- } & {
2572
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2573
- }> | undefined;
2574
- readonly jobTitle?: string | undefined;
2575
- readonly department?: string | undefined;
2576
- readonly notes?: string | undefined;
2577
- readonly emails?: readonly {
2578
- readonly value: string;
2579
- readonly label?: string | undefined;
2580
- }[] | undefined;
2581
- readonly identities?: readonly {
2582
- readonly value: string;
2583
- readonly label?: string | undefined;
2584
- }[] | undefined;
2585
- readonly phoneNumbers?: readonly {
2586
- readonly value: string;
2587
- readonly label?: string | undefined;
2588
- }[] | undefined;
2589
- readonly fields?: readonly {
2590
- readonly value: string;
2591
- readonly label: string;
2592
- readonly category?: string | undefined;
2593
- }[] | undefined;
2594
- readonly addresses?: readonly {
2595
- readonly value: {
2596
- readonly street?: string | undefined;
2597
- readonly extended?: string | undefined;
2598
- readonly locality?: string | undefined;
2599
- readonly region?: string | undefined;
2600
- readonly postalCode?: string | undefined;
2601
- readonly postOfficeBoxNumber?: string | undefined;
2602
- readonly country?: string | undefined;
2603
- };
2604
- readonly label?: string | undefined;
2605
- }[] | undefined;
2606
- readonly urls?: readonly {
2607
- readonly value: string;
2608
- readonly label?: string | undefined;
2609
- }[] | undefined;
2610
- readonly birthday?: string | undefined;
2611
- } & {
2612
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2613
- }> | undefined;
2614
- readonly identityDid?: string | undefined;
2615
- readonly identityKey?: string | undefined;
2616
- readonly email?: string | undefined;
2617
- };
2618
- readonly blocks: readonly ({
2619
- readonly pending?: boolean | undefined;
2620
- readonly text: string;
2621
- readonly mimeType?: string | undefined;
2622
- readonly disposition?: string | undefined;
2623
- readonly _tag: "text";
2624
- } | {
2625
- readonly pending?: boolean | undefined;
2626
- readonly _tag: "reasoning";
2627
- readonly reasoningText?: string | undefined;
2628
- readonly redactedText?: string | undefined;
2629
- readonly signature?: string | undefined;
2630
- } | {
2631
- readonly name: string;
2632
- readonly pending?: boolean | undefined;
2633
- readonly _tag: "toolCall";
2634
- readonly toolCallId: string;
2635
- readonly input: string;
2636
- readonly providerExecuted: boolean;
2637
- } | {
2638
- readonly name: string;
2639
- readonly pending?: boolean | undefined;
2640
- readonly _tag: "toolResult";
2641
- readonly toolCallId: string;
2642
- readonly providerExecuted: boolean;
2643
- readonly result?: string | undefined;
2644
- readonly error?: string | undefined;
2645
- } | {
2646
- readonly pending?: boolean | undefined;
2647
- readonly mimeType?: string | undefined;
2648
- readonly _tag: "stats";
2649
- readonly message?: string | undefined;
2650
- readonly model?: string | undefined;
2651
- readonly usage?: {
2652
- readonly inputTokens?: number | undefined;
2653
- readonly outputTokens?: number | undefined;
2654
- readonly totalTokens?: number | undefined;
2655
- } | undefined;
2656
- readonly toolCalls?: number | undefined;
2657
- readonly errors?: number | undefined;
2658
- readonly duration?: number | undefined;
2659
- } | {
2660
- readonly source?: {
2661
- readonly type: "base64";
2662
- readonly mediaType: string;
2663
- readonly data: string;
2664
- } | {
2665
- readonly type: "http";
2666
- readonly url: string;
2667
- } | undefined;
2668
- readonly id?: string | undefined;
2669
- readonly pending?: boolean | undefined;
2670
- readonly _tag: "image";
2671
- } | {
2672
- readonly name?: string | undefined;
2673
- readonly pending?: boolean | undefined;
2674
- readonly _tag: "file";
2675
- readonly mediaType?: string | undefined;
2676
- readonly url: string;
2677
- } | {
2678
- readonly pending?: boolean | undefined;
2679
- readonly _tag: "reference";
2680
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2681
- } | {
2682
- readonly pending?: boolean | undefined;
2683
- readonly text: string;
2684
- readonly _tag: "transcript";
2685
- readonly started: string;
2686
- } | {
2687
- readonly pending?: boolean | undefined;
2688
- readonly _tag: "status";
2689
- readonly statusText: string;
2690
- } | {
2691
- readonly pending?: boolean | undefined;
2692
- readonly text: string;
2693
- readonly _tag: "suggestion";
2694
- } | {
2695
- readonly pending?: boolean | undefined;
2696
- readonly _tag: "select";
2697
- readonly options: string[];
2698
- } | {
2699
- readonly version: unknown;
2700
- readonly pending?: boolean | undefined;
2701
- readonly _tag: "anchor";
2702
- readonly objectId: string;
2703
- } | {
2704
- readonly pending?: boolean | undefined;
2705
- readonly text: string;
2706
- readonly _tag: "proposal";
2707
- } | {
2708
- readonly pending?: boolean | undefined;
2709
- readonly _tag: "summary";
2710
- readonly content: string;
2711
- } | {
2712
- readonly pending?: boolean | undefined;
2713
- readonly _tag: "toolkit";
2714
- } | {
2715
- readonly pending?: boolean | undefined;
2716
- readonly disposition?: string | undefined;
2717
- readonly _tag: "json";
2718
- readonly data: string;
2719
- })[];
2720
- readonly properties?: {
2721
- readonly [x: string]: any;
2722
- } | undefined;
2723
- }) | undefined;
2724
- readonly messageIndex?: number | undefined;
2725
- }, {
2726
- readonly message?: {
2727
- id: string;
2728
- parentMessage?: string | undefined | undefined;
2729
- created: string;
2730
- sender: {
2731
- readonly name?: string | undefined;
2732
- readonly role?: "user" | "assistant" | "tool" | undefined;
2733
- readonly contact
2734
- /**
2735
- * Operations for the Thread plugin.
2736
- * Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
2737
- */
2738
- ?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2739
- readonly image?: string | undefined;
2740
- readonly fullName?: string | undefined;
2741
- readonly preferredName?: string | undefined;
2742
- readonly nickname?: string | undefined;
2743
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2744
- readonly description?: string | undefined;
2745
- readonly name?: string | undefined;
2746
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
2747
- readonly image?: string | undefined;
2748
- readonly website?: string | undefined;
2749
- } & {
2750
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2751
- }> | undefined;
2752
- readonly jobTitle?: string | undefined;
2753
- readonly department?: string | undefined;
2754
- readonly notes?: string | undefined;
2755
- readonly emails?: readonly {
2756
- readonly value: string;
2757
- readonly label?: string | undefined;
2758
- }[] | undefined;
2759
- readonly identities?: readonly {
2760
- readonly value: string;
2761
- readonly label?: string | undefined;
2762
- }[] | undefined;
2763
- readonly phoneNumbers?: readonly {
2764
- readonly value: string;
2765
- readonly label?: string | undefined;
2766
- }[] | undefined;
2767
- readonly fields?: readonly {
2768
- readonly value: string;
2769
- readonly label: string;
2770
- readonly category?: string | undefined;
2771
- }[] | undefined;
2772
- readonly addresses?: readonly {
2773
- readonly value: {
2774
- readonly street?: string | undefined;
2775
- readonly extended?: string | undefined;
2776
- readonly locality?: string | undefined;
2777
- readonly region?: string | undefined;
2778
- readonly postalCode?: string | undefined;
2779
- readonly postOfficeBoxNumber?: string | undefined;
2780
- readonly country?: string | undefined;
2781
- };
2782
- readonly label?: string | undefined;
2783
- }[] | undefined;
2784
- readonly urls?: readonly {
2785
- readonly value: string;
2786
- readonly label?: string | undefined;
2787
- }[] | undefined;
2788
- readonly birthday?: string | undefined;
2789
- } & {
2790
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2791
- }> | undefined;
2792
- readonly identityDid?: string | undefined;
2793
- readonly identityKey?: string | undefined;
2794
- readonly email?: string | undefined;
2795
- };
2796
- blocks: ({
2797
- readonly pending?: boolean | undefined;
2798
- readonly text: string;
2799
- readonly mimeType?: string | undefined;
2800
- readonly disposition?: string | undefined;
2801
- readonly _tag: "text";
2802
- } | {
2803
- readonly pending?: boolean | undefined;
2804
- readonly _tag: "reasoning";
2805
- readonly reasoningText?: string | undefined;
2806
- readonly redactedText?: string | undefined;
2807
- readonly signature?: string | undefined;
2808
- } | {
2809
- readonly name: string;
2810
- readonly pending?: boolean | undefined;
2811
- readonly _tag: "toolCall";
2812
- readonly toolCallId: string;
2813
- readonly input: string;
2814
- readonly providerExecuted: boolean;
2815
- } | {
2816
- readonly name: string;
2817
- readonly pending?: boolean | undefined;
2818
- readonly _tag: "toolResult";
2819
- readonly toolCallId: string;
2820
- readonly providerExecuted: boolean;
2821
- readonly result?: string | undefined;
2822
- readonly error?: string | undefined;
2823
- } | {
2824
- readonly pending?: boolean | undefined;
2825
- readonly mimeType?: string | undefined;
2826
- readonly _tag: "stats";
2827
- readonly message?: string | undefined;
2828
- readonly model?: string | undefined;
2829
- readonly usage?: {
2830
- readonly inputTokens?: number | undefined;
2831
- readonly outputTokens?: number | undefined;
2832
- readonly totalTokens?: number | undefined;
2833
- } | undefined;
2834
- readonly toolCalls?: number | undefined;
2835
- readonly errors?: number | undefined;
2836
- readonly duration?: number | undefined;
2837
- } | {
2838
- readonly source?: {
2839
- readonly type: "base64";
2840
- readonly mediaType: string;
2841
- readonly data: string;
2842
- } | {
2843
- readonly type: "http";
2844
- readonly url: string;
2845
- } | undefined;
2846
- readonly id?: string | undefined;
2847
- readonly pending?: boolean | undefined;
2848
- readonly _tag: "image";
2849
- } | {
2850
- readonly name?: string | undefined;
2851
- readonly pending?: boolean | undefined;
2852
- readonly _tag: "file";
2853
- readonly mediaType?: string | undefined;
2854
- readonly url: string;
2855
- } | {
2856
- readonly pending?: boolean | undefined;
2857
- readonly _tag: "reference";
2858
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
2859
- } | {
2860
- readonly pending?: boolean | undefined;
2861
- readonly text: string;
2862
- readonly _tag: "transcript";
2863
- readonly started: string;
2864
- } | {
2865
- readonly pending?: boolean | undefined;
2866
- readonly _tag: "status";
2867
- readonly statusText: string;
2868
- } | {
2869
- readonly pending?: boolean | undefined;
2870
- readonly text: string;
2871
- readonly _tag: "suggestion";
2872
- } | {
2873
- readonly pending?: boolean | undefined;
2874
- readonly _tag: "select";
2875
- readonly options: string[];
2876
- } | {
2877
- readonly version: unknown;
2878
- readonly pending?: boolean | undefined;
2879
- readonly _tag: "anchor";
2880
- readonly objectId: string;
2881
- } | {
2882
- readonly pending?: boolean | undefined;
2883
- readonly text: string;
2884
- readonly _tag: "proposal";
2885
- } | {
2886
- readonly pending?: boolean | undefined;
2887
- readonly _tag: "summary";
2888
- readonly content: string;
2889
- } | {
2890
- readonly pending?: boolean | undefined;
2891
- readonly _tag: "toolkit";
2892
- } | {
2893
- readonly pending?: boolean | undefined;
2894
- readonly disposition?: string | undefined;
2895
- readonly _tag: "json";
2896
- readonly data: string;
2897
- })[];
2898
- properties?: {
2899
- readonly [x: string]: any;
2900
- } | undefined | undefined;
2901
- } | undefined;
2902
- readonly messageIndex?: number | undefined;
2903
- }, never>;
2904
- };
2905
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
2906
- readonly executionMode: "sync" | "async";
2907
- };
2908
- /**
2909
- * Restore a deleted thread (inverse of Delete).
2910
- */
2911
- const Restore: Omit<{
2912
- readonly meta: {
2913
- readonly key: `${string}/restore`;
2914
- readonly name: "Restore Thread";
2915
- };
2916
- readonly services: readonly [typeof Capability.Service];
2917
- readonly schema: {
2918
- readonly input: Schema.Struct<{
2919
- thread: import("@dxos/echo/Type").Obj<{
2920
- readonly name?: string | undefined;
2921
- readonly status?: "active" | "staged" | "resolved" | undefined;
2922
- readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2923
- readonly id: string;
2924
- readonly parentMessage?: string | undefined;
2925
- readonly created: string;
2926
- readonly sender: {
2927
- readonly name?: string | undefined;
2928
- readonly role?: "user" | "assistant" | "tool" | undefined;
2929
- readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2930
- readonly image?: string | undefined;
2931
- readonly fullName?: string | undefined;
2932
- readonly preferredName?: string | undefined;
2933
- readonly nickname?: string | undefined;
2934
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
2935
- readonly description?: string | undefined;
2936
- readonly name?: string | undefined;
2937
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
2938
- readonly image?: string | undefined;
2939
- readonly website?: string | undefined;
2940
- } & {
2941
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2942
- }> | undefined;
2943
- readonly jobTitle?: string | undefined;
2944
- readonly department?: string | undefined;
2945
- readonly notes?: string | undefined;
2946
- readonly emails?: readonly {
2947
- readonly value: string;
2948
- readonly label?: string | undefined;
2949
- }[] | undefined;
2950
- readonly identities?: readonly {
2951
- readonly value: string;
2952
- readonly label?: string | undefined;
2953
- }[] | undefined;
2954
- readonly phoneNumbers?: readonly {
2955
- readonly value: string;
2956
- readonly label?: string | undefined;
2957
- }[] | undefined;
2958
- readonly fields?: readonly {
2959
- readonly value: string;
2960
- readonly label: string;
2961
- readonly category?: string | undefined;
2962
- }[] | undefined;
2963
- readonly addresses?: readonly {
2964
- readonly value: {
2965
- readonly street?: string | undefined;
2966
- readonly extended?: string | undefined;
2967
- readonly locality?: string | undefined;
2968
- readonly region?: string | undefined;
2969
- readonly postalCode?: string | undefined;
2970
- readonly postOfficeBoxNumber?: string | undefined;
2971
- readonly country?: string | undefined;
2972
- };
2973
- readonly label?: string | undefined;
2974
- }[] | undefined;
2975
- readonly urls?: readonly {
2976
- readonly value: string;
2977
- readonly label?: string | undefined;
2978
- }[] | undefined;
2979
- readonly birthday?: string | undefined;
2980
- } & {
2981
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
2982
- }> | undefined;
2983
- readonly identityDid?: string | undefined;
2984
- readonly identityKey?: string | undefined;
2985
- readonly email?: string | undefined;
2986
- };
2987
- readonly blocks: readonly ({
2988
- readonly pending?: boolean | undefined;
2989
- readonly text: string;
2990
- readonly mimeType?: string | undefined;
2991
- readonly disposition?: string | undefined;
2992
- readonly _tag: "text";
2993
- } | {
2994
- readonly pending?: boolean | undefined;
2995
- readonly _tag: "reasoning";
2996
- readonly reasoningText?: string | undefined;
2997
- readonly redactedText?: string | undefined;
2998
- readonly signature?: string | undefined;
2999
- } | {
3000
- readonly name: string;
3001
- readonly pending?: boolean | undefined;
3002
- readonly _tag: "toolCall";
3003
- readonly toolCallId: string;
3004
- readonly input: string;
3005
- readonly providerExecuted: boolean;
3006
- } | {
3007
- readonly name: string;
3008
- readonly pending?: boolean | undefined;
3009
- readonly _tag: "toolResult";
3010
- readonly toolCallId: string;
3011
- readonly providerExecuted: boolean;
3012
- readonly result?: string | undefined;
3013
- readonly error?: string | undefined;
3014
- } | {
3015
- readonly pending?: boolean | undefined;
3016
- readonly mimeType?: string | undefined;
3017
- readonly _tag: "stats";
3018
- readonly message?: string | undefined;
3019
- readonly model?: string | undefined;
3020
- readonly usage?: {
3021
- readonly inputTokens?: number | undefined;
3022
- readonly outputTokens?: number | undefined;
3023
- readonly totalTokens?: number | undefined;
3024
- } | undefined;
3025
- readonly toolCalls?: number | undefined;
3026
- readonly errors?: number | undefined;
3027
- readonly duration?: number | undefined;
3028
- } | {
3029
- readonly source?: {
3030
- readonly type: "base64";
3031
- readonly mediaType: string;
3032
- readonly data: string;
3033
- } | {
3034
- readonly type: "http";
3035
- readonly url: string;
3036
- } | undefined;
3037
- readonly id?: string | undefined;
3038
- readonly pending?: boolean | undefined;
3039
- readonly _tag: "image";
3040
- } | {
3041
- readonly name?: string | undefined;
3042
- readonly pending?: boolean | undefined;
3043
- readonly _tag: "file";
3044
- readonly mediaType?: string | undefined;
3045
- readonly url: string;
3046
- } | {
3047
- readonly pending?: boolean | undefined;
3048
- readonly _tag: "reference";
3049
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
3050
- } | {
3051
- readonly pending?: boolean | undefined;
3052
- readonly text: string;
3053
- readonly _tag: "transcript";
3054
- readonly started: string;
3055
- } | {
3056
- readonly pending?: boolean | undefined;
3057
- readonly _tag: "status";
3058
- readonly statusText: string;
3059
- } | {
3060
- readonly pending?: boolean | undefined;
3061
- readonly text: string;
3062
- readonly _tag: "suggestion";
3063
- } | {
3064
- readonly pending?: boolean | undefined;
3065
- readonly _tag: "select";
3066
- readonly options: string[];
3067
- } | {
3068
- readonly version: unknown;
3069
- readonly pending?: boolean | undefined;
3070
- readonly _tag: "anchor";
3071
- readonly objectId: string;
3072
- } | {
3073
- readonly pending?: boolean | undefined;
3074
- readonly text: string;
3075
- readonly _tag: "proposal";
3076
- } | {
3077
- readonly pending?: boolean | undefined;
3078
- readonly _tag: "summary";
3079
- readonly content: string;
3080
- } | {
3081
- readonly pending?: boolean | undefined;
3082
- readonly _tag: "toolkit";
3083
- } | {
3084
- readonly pending?: boolean | undefined;
3085
- readonly disposition?: string | undefined;
3086
- readonly _tag: "json";
3087
- readonly data: string;
3088
- })[];
3089
- readonly properties?: {
3090
- readonly [x: string]: any;
3091
- } | undefined;
3092
- }>[];
3093
- }, Schema.Struct.Fields>;
3094
- anchor: import("@dxos/echo/Type").Relation<{
3095
- readonly id: string;
3096
- readonly anchor?: string | undefined;
3097
- }, 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, Schema.Struct.Fields>;
3098
- }>;
3099
- readonly output: typeof Schema.Void;
3100
- };
3101
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
3102
- readonly executionMode: "sync" | "async";
3103
- };
3104
- /**
3105
- * Restore a deleted message (inverse of DeleteMessage).
3106
- */
3107
- const RestoreMessage: Omit<{
3108
- readonly meta: {
3109
- readonly key: `${string}/restore-message`;
3110
- readonly name: "Restore Message";
3111
- };
3112
- readonly services: readonly [typeof Capability.Service];
3113
- readonly schema: {
3114
- readonly input: Schema.Struct<{
3115
- anchor: import("@dxos/echo/Type").Relation<{
3116
- readonly id: string;
3117
- readonly anchor?: string | undefined;
3118
- }, 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, Schema.Struct.Fields>;
3119
- message: import("@dxos/echo/Type").Obj<{
3120
- readonly id: string;
3121
- readonly parentMessage?: string | undefined;
3122
- readonly created: string;
3123
- readonly sender: {
3124
- readonly name?: string | undefined;
3125
- readonly role?: "user" | "assistant" | "tool" | undefined;
3126
- readonly contact
3127
- /**
3128
- * Operations for the Thread plugin.
3129
- * Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
3130
- */
3131
- ?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
3132
- readonly image?: string | undefined;
3133
- readonly fullName?: string | undefined;
3134
- readonly preferredName?: string | undefined;
3135
- readonly nickname?: string | undefined;
3136
- readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
3137
- readonly description?: string | undefined;
3138
- readonly name?: string | undefined;
3139
- readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
3140
- readonly image?: string | undefined;
3141
- readonly website?: string | undefined;
3142
- } & {
3143
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
3144
- }> | undefined;
3145
- readonly jobTitle?: string | undefined;
3146
- readonly department?: string | undefined;
3147
- readonly notes?: string | undefined;
3148
- readonly emails?: readonly {
3149
- readonly value: string;
3150
- readonly label?: string | undefined;
3151
- }[] | undefined;
3152
- readonly identities?: readonly {
3153
- readonly value: string;
3154
- readonly label?: string | undefined;
3155
- }[] | undefined;
3156
- readonly phoneNumbers?: readonly {
3157
- readonly value: string;
3158
- readonly label?: string | undefined;
3159
- }[] | undefined;
3160
- readonly fields?: readonly {
3161
- readonly value: string;
3162
- readonly label: string;
3163
- readonly category?: string | undefined;
3164
- }[] | undefined;
3165
- readonly addresses?: readonly {
3166
- readonly value: {
3167
- readonly street?: string | undefined;
3168
- readonly extended?: string | undefined;
3169
- readonly locality?: string | undefined;
3170
- readonly region?: string | undefined;
3171
- readonly postalCode?: string | undefined;
3172
- readonly postOfficeBoxNumber?: string | undefined;
3173
- readonly country?: string | undefined;
3174
- };
3175
- readonly label?: string | undefined;
3176
- }[] | undefined;
3177
- readonly urls?: readonly {
3178
- readonly value: string;
3179
- readonly label?: string | undefined;
3180
- }[] | undefined;
3181
- readonly birthday?: string | undefined;
3182
- } & {
3183
- readonly location?: readonly [number, number, (number | undefined)?] | undefined;
3184
- }> | undefined;
3185
- readonly identityDid?: string | undefined;
3186
- readonly identityKey?: string | undefined;
3187
- readonly email?: string | undefined;
3188
- };
3189
- readonly blocks: readonly ({
3190
- readonly pending?: boolean | undefined;
3191
- readonly text: string;
3192
- readonly mimeType?: string | undefined;
3193
- readonly disposition?: string | undefined;
3194
- readonly _tag: "text";
3195
- } | {
3196
- readonly pending?: boolean | undefined;
3197
- readonly _tag: "reasoning";
3198
- readonly reasoningText?: string | undefined;
3199
- readonly redactedText?: string | undefined;
3200
- readonly signature?: string | undefined;
3201
- } | {
3202
- readonly name: string;
3203
- readonly pending?: boolean | undefined;
3204
- readonly _tag: "toolCall";
3205
- readonly toolCallId: string;
3206
- readonly input: string;
3207
- readonly providerExecuted: boolean;
3208
- } | {
3209
- readonly name: string;
3210
- readonly pending?: boolean | undefined;
3211
- readonly _tag: "toolResult";
3212
- readonly toolCallId: string;
3213
- readonly providerExecuted: boolean;
3214
- readonly result?: string | undefined;
3215
- readonly error?: string | undefined;
3216
- } | {
3217
- readonly pending?: boolean | undefined;
3218
- readonly mimeType?: string | undefined;
3219
- readonly _tag: "stats";
3220
- readonly message?: string | undefined;
3221
- readonly model?: string | undefined;
3222
- readonly usage?: {
3223
- readonly inputTokens?: number | undefined;
3224
- readonly outputTokens?: number | undefined;
3225
- readonly totalTokens?: number | undefined;
3226
- } | undefined;
3227
- readonly toolCalls?: number | undefined;
3228
- readonly errors?: number | undefined;
3229
- readonly duration?: number | undefined;
3230
- } | {
3231
- readonly source?: {
3232
- readonly type: "base64";
3233
- readonly mediaType: string;
3234
- readonly data: string;
3235
- } | {
3236
- readonly type: "http";
3237
- readonly url: string;
3238
- } | undefined;
3239
- readonly id?: string | undefined;
3240
- readonly pending?: boolean | undefined;
3241
- readonly _tag: "image";
3242
- } | {
3243
- readonly name?: string | undefined;
3244
- readonly pending?: boolean | undefined;
3245
- readonly _tag: "file";
3246
- readonly mediaType?: string | undefined;
3247
- readonly url: string;
3248
- } | {
3249
- readonly pending?: boolean | undefined;
3250
- readonly _tag: "reference";
3251
- readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
3252
- } | {
3253
- readonly pending?: boolean | undefined;
3254
- readonly text: string;
3255
- readonly _tag: "transcript";
3256
- readonly started: string;
3257
- } | {
3258
- readonly pending?: boolean | undefined;
3259
- readonly _tag: "status";
3260
- readonly statusText: string;
3261
- } | {
3262
- readonly pending?: boolean | undefined;
3263
- readonly text: string;
3264
- readonly _tag: "suggestion";
3265
- } | {
3266
- readonly pending?: boolean | undefined;
3267
- readonly _tag: "select";
3268
- readonly options: string[];
3269
- } | {
3270
- readonly version: unknown;
3271
- readonly pending?: boolean | undefined;
3272
- readonly _tag: "anchor";
3273
- readonly objectId: string;
3274
- } | {
3275
- readonly pending?: boolean | undefined;
3276
- readonly text: string;
3277
- readonly _tag: "proposal";
3278
- } | {
3279
- readonly pending?: boolean | undefined;
3280
- readonly _tag: "summary";
3281
- readonly content: string;
3282
- } | {
3283
- readonly pending?: boolean | undefined;
3284
- readonly _tag: "toolkit";
3285
- } | {
3286
- readonly pending?: boolean | undefined;
3287
- readonly disposition?: string | undefined;
3288
- readonly _tag: "json";
3289
- readonly data: string;
3290
- })[];
3291
- readonly properties?: {
3292
- readonly [x: string]: any;
3293
- } | undefined;
3294
- }, Schema.Struct.Fields>;
3295
- messageIndex: Schema.SchemaClass<number, number, never>;
3296
- }>;
3297
- readonly output: typeof Schema.Void;
3298
- };
3299
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
3300
- readonly executionMode: "sync" | "async";
3301
- };
3302
- }
3303
- export declare const ThreadSettingsSchema: Schema.mutable<Schema.Struct<{}>>;
3304
- export type ThreadSettingsProps = Schema.Schema.Type<typeof ThreadSettingsSchema>;
2
+ export * as Settings from './Settings';
3305
3
  export interface ThreadModel {
3306
4
  root: Thread.Thread;
3307
5
  }
@@ -3317,5 +15,4 @@ export type ThreadState = {
3317
15
  drafts: Record<string, AnchoredTo.AnchoredTo[]>;
3318
16
  current?: string | undefined;
3319
17
  };
3320
- export {};
3321
18
  //# sourceMappingURL=types.d.ts.map