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