@dxos/protocols 0.8.4-main.f9ba587 → 0.8.4-main.fbb7a13

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 (354) hide show
  1. package/dist/src/FunctionProtocol.d.ts +82 -0
  2. package/dist/src/FunctionProtocol.d.ts.map +1 -0
  3. package/dist/src/FunctionProtocol.js +4 -0
  4. package/dist/src/FunctionProtocol.js.map +1 -0
  5. package/dist/src/automerge.d.ts +8 -0
  6. package/dist/src/automerge.d.ts.map +1 -1
  7. package/dist/src/automerge.js.map +1 -1
  8. package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.d.ts +1 -1
  9. package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.js +1 -1
  10. package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.d.ts +1 -1
  11. package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.js +1 -1
  12. package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.d.ts +1 -1
  13. package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.js +1 -1
  14. package/dist/src/buf/proto/gen/dxos/agent/functions_pb.d.ts +1 -1
  15. package/dist/src/buf/proto/gen/dxos/agent/functions_pb.js +1 -1
  16. package/dist/src/buf/proto/gen/dxos/bot_pb.d.ts +1 -1
  17. package/dist/src/buf/proto/gen/dxos/bot_pb.js +1 -1
  18. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +1 -1
  19. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +1 -1
  20. package/dist/src/buf/proto/gen/dxos/client/logging_pb.d.ts +1 -1
  21. package/dist/src/buf/proto/gen/dxos/client/logging_pb.js +1 -1
  22. package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +189 -0
  23. package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -0
  24. package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +39 -0
  25. package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -0
  26. package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +65 -19
  27. package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
  28. package/dist/src/buf/proto/gen/dxos/client/services_pb.js +28 -23
  29. package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
  30. package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +40 -7
  31. package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
  32. package/dist/src/buf/proto/gen/dxos/config_pb.js +7 -2
  33. package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
  34. package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.d.ts +1 -1
  35. package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.js +1 -1
  36. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +1 -1
  37. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +1 -1
  38. package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.d.ts +1 -1
  39. package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.js +1 -1
  40. package/dist/src/buf/proto/gen/dxos/echo/blob_pb.d.ts +1 -1
  41. package/dist/src/buf/proto/gen/dxos/echo/blob_pb.js +1 -1
  42. package/dist/src/buf/proto/gen/dxos/echo/feed_pb.d.ts +1 -1
  43. package/dist/src/buf/proto/gen/dxos/echo/feed_pb.js +1 -1
  44. package/dist/src/buf/proto/gen/dxos/echo/filter_pb.d.ts +1 -1
  45. package/dist/src/buf/proto/gen/dxos/echo/filter_pb.js +1 -1
  46. package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.d.ts +1 -1
  47. package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.js +1 -1
  48. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +1 -1
  49. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
  50. package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.d.ts +1 -1
  51. package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.js +1 -1
  52. package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.d.ts +1 -1
  53. package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.js +1 -1
  54. package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.d.ts +1 -1
  55. package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.js +1 -1
  56. package/dist/src/buf/proto/gen/dxos/echo/object_pb.d.ts +1 -1
  57. package/dist/src/buf/proto/gen/dxos/echo/object_pb.js +1 -1
  58. package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +13 -3
  59. package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts.map +1 -1
  60. package/dist/src/buf/proto/gen/dxos/echo/query_pb.js +2 -2
  61. package/dist/src/buf/proto/gen/dxos/echo/query_pb.js.map +1 -1
  62. package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +71 -10
  63. package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
  64. package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +16 -6
  65. package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
  66. package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.d.ts +1 -1
  67. package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.js +1 -1
  68. package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.d.ts +1 -1
  69. package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.js +1 -1
  70. package/dist/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +1 -1
  71. package/dist/src/buf/proto/gen/dxos/edge/calls_pb.js +1 -1
  72. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +1 -1
  73. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +1 -1
  74. package/dist/src/buf/proto/gen/dxos/edge/signal_pb.d.ts +1 -1
  75. package/dist/src/buf/proto/gen/dxos/edge/signal_pb.js +1 -1
  76. package/dist/src/buf/proto/gen/dxos/error_pb.d.ts +1 -1
  77. package/dist/src/buf/proto/gen/dxos/error_pb.js +1 -1
  78. package/dist/src/buf/proto/gen/dxos/field_options_pb.d.ts +1 -1
  79. package/dist/src/buf/proto/gen/dxos/field_options_pb.js +1 -1
  80. package/dist/src/buf/proto/gen/dxos/google_pb.d.ts +1 -1
  81. package/dist/src/buf/proto/gen/dxos/google_pb.js +2 -2
  82. package/dist/src/buf/proto/gen/dxos/google_pb.js.map +1 -1
  83. package/dist/src/buf/proto/gen/dxos/gravity_pb.d.ts +1 -1
  84. package/dist/src/buf/proto/gen/dxos/gravity_pb.js +1 -1
  85. package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.d.ts +1 -1
  86. package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.js +1 -1
  87. package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.d.ts +1 -1
  88. package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.js +1 -1
  89. package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.d.ts +1 -1
  90. package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.js +1 -1
  91. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +1 -1
  92. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
  93. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts +1 -1
  94. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +1 -1
  95. package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.d.ts +1 -1
  96. package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.js +1 -1
  97. package/dist/src/buf/proto/gen/dxos/halo/keys_pb.d.ts +1 -1
  98. package/dist/src/buf/proto/gen/dxos/halo/keys_pb.js +1 -1
  99. package/dist/src/buf/proto/gen/dxos/halo/signed_pb.d.ts +1 -1
  100. package/dist/src/buf/proto/gen/dxos/halo/signed_pb.js +1 -1
  101. package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +2 -1
  102. package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
  103. package/dist/src/buf/proto/gen/dxos/iframe_pb.js +1 -1
  104. package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
  105. package/dist/src/buf/proto/gen/dxos/keys_pb.d.ts +1 -1
  106. package/dist/src/buf/proto/gen/dxos/keys_pb.js +1 -1
  107. package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.d.ts +1 -1
  108. package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.js +1 -1
  109. package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.d.ts +1 -1
  110. package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.js +1 -1
  111. package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.d.ts +1 -1
  112. package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.js +1 -1
  113. package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.d.ts +1 -1
  114. package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.js +1 -1
  115. package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.d.ts +1 -1
  116. package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.js +1 -1
  117. package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.d.ts +1 -1
  118. package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.js +1 -1
  119. package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.d.ts +1 -1
  120. package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.js +1 -1
  121. package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.d.ts +1 -1
  122. package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.js +1 -1
  123. package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.d.ts +1 -1
  124. package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.js +1 -1
  125. package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.d.ts +1 -1
  126. package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.js +1 -1
  127. package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.d.ts +1 -1
  128. package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.js +1 -1
  129. package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.d.ts +1 -1
  130. package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.js +1 -1
  131. package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.d.ts +1 -1
  132. package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.js +1 -1
  133. package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.d.ts +1 -1
  134. package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.js +1 -1
  135. package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.d.ts +1 -1
  136. package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.js +1 -1
  137. package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.d.ts +1 -1
  138. package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.js +1 -1
  139. package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.d.ts +1 -1
  140. package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.js +1 -1
  141. package/dist/src/buf/proto/gen/dxos/registry_pb.d.ts +1 -1
  142. package/dist/src/buf/proto/gen/dxos/registry_pb.js +1 -1
  143. package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +1 -1
  144. package/dist/src/buf/proto/gen/dxos/rpc_pb.js +1 -1
  145. package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.d.ts +1 -1
  146. package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.js +1 -1
  147. package/dist/src/buf/proto/gen/dxos/service/publisher_pb.d.ts +1 -1
  148. package/dist/src/buf/proto/gen/dxos/service/publisher_pb.js +1 -1
  149. package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.d.ts +1 -1
  150. package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.js +1 -1
  151. package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.d.ts +1 -1
  152. package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.js +1 -1
  153. package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -1
  154. package/dist/src/buf/proto/gen/dxos/tracing_pb.js +2 -2
  155. package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
  156. package/dist/src/buf/proto/gen/dxos/type_pb.d.ts +1 -1
  157. package/dist/src/buf/proto/gen/dxos/type_pb.js +1 -1
  158. package/dist/src/buf/proto/gen/dxos/value_pb.d.ts +1 -1
  159. package/dist/src/buf/proto/gen/dxos/value_pb.js +1 -1
  160. package/dist/src/buf/proto/gen/example/testing/data_pb.d.ts +1 -1
  161. package/dist/src/buf/proto/gen/example/testing/data_pb.js +1 -1
  162. package/dist/src/buf/proto/gen/example/testing/rpc_pb.d.ts +1 -1
  163. package/dist/src/buf/proto/gen/example/testing/rpc_pb.js +1 -1
  164. package/dist/src/edge/EdgeFunctionEnv.d.ts +120 -0
  165. package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -0
  166. package/dist/src/edge/EdgeFunctionEnv.js +4 -0
  167. package/dist/src/edge/EdgeFunctionEnv.js.map +1 -0
  168. package/dist/src/edge/edge.d.ts +346 -0
  169. package/dist/src/edge/edge.d.ts.map +1 -0
  170. package/dist/src/edge/edge.js +160 -0
  171. package/dist/src/edge/edge.js.map +1 -0
  172. package/dist/src/edge/errors.d.ts +29 -0
  173. package/dist/src/edge/errors.d.ts.map +1 -0
  174. package/dist/src/edge/errors.js +69 -0
  175. package/dist/src/edge/errors.js.map +1 -0
  176. package/dist/src/edge/index.d.ts +4 -0
  177. package/dist/src/edge/index.d.ts.map +1 -0
  178. package/dist/src/edge/index.js +7 -0
  179. package/dist/src/edge/index.js.map +1 -0
  180. package/dist/src/errors/base-errors.d.ts +86 -8
  181. package/dist/src/errors/base-errors.d.ts.map +1 -1
  182. package/dist/src/errors/base-errors.js +4 -19
  183. package/dist/src/errors/base-errors.js.map +1 -1
  184. package/dist/src/errors/encoding.d.ts +1 -1
  185. package/dist/src/errors/encoding.d.ts.map +1 -1
  186. package/dist/src/errors/encoding.js.map +1 -1
  187. package/dist/src/errors/errors.d.ts +618 -41
  188. package/dist/src/errors/errors.d.ts.map +1 -1
  189. package/dist/src/errors/errors.js +49 -103
  190. package/dist/src/errors/errors.js.map +1 -1
  191. package/dist/src/errors/errors.test.js +1 -1
  192. package/dist/src/errors/errors.test.js.map +1 -1
  193. package/dist/src/errors/helpers.d.ts +8 -4
  194. package/dist/src/errors/helpers.d.ts.map +1 -1
  195. package/dist/src/errors/helpers.js +3 -3
  196. package/dist/src/errors/helpers.js.map +1 -1
  197. package/dist/src/feed-replication.d.ts.map +1 -1
  198. package/dist/src/index.d.ts +7 -7
  199. package/dist/src/index.d.ts.map +1 -1
  200. package/dist/src/index.js +7 -7
  201. package/dist/src/index.js.map +1 -1
  202. package/dist/src/indexing.d.ts +1 -1
  203. package/dist/src/indexing.d.ts.map +1 -1
  204. package/dist/src/indexing.js +1 -1
  205. package/dist/src/indexing.js.map +1 -1
  206. package/dist/src/invitation.d.ts +1 -1
  207. package/dist/src/invitation.d.ts.map +1 -1
  208. package/dist/src/invitation.js +1 -1
  209. package/dist/src/invitation.js.map +1 -1
  210. package/dist/src/messenger.d.ts +16 -0
  211. package/dist/src/messenger.d.ts.map +1 -0
  212. package/dist/src/messenger.js +4 -0
  213. package/dist/src/messenger.js.map +1 -0
  214. package/dist/src/proto/gen/dxos/client/services.d.ts +895 -765
  215. package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  216. package/dist/src/proto/gen/dxos/client/services.js +103 -100
  217. package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
  218. package/dist/src/proto/gen/dxos/config.d.ts +33 -2
  219. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  220. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  221. package/dist/src/proto/gen/dxos/echo/query.d.ts +17 -1
  222. package/dist/src/proto/gen/dxos/echo/query.d.ts.map +1 -1
  223. package/dist/src/proto/gen/dxos/echo/query.js.map +1 -1
  224. package/dist/src/proto/gen/dxos/echo/service.d.ts +43 -8
  225. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  226. package/dist/src/proto/gen/index.d.ts +10 -0
  227. package/dist/src/proto/gen/index.d.ts.map +1 -1
  228. package/dist/src/proto/gen/index.js +1 -1
  229. package/dist/src/proto/gen/index.js.map +1 -1
  230. package/dist/src/proto/index.d.ts +1 -1
  231. package/dist/src/proto/index.d.ts.map +1 -1
  232. package/dist/src/proto/index.js +0 -1
  233. package/dist/src/proto/index.js.map +1 -1
  234. package/dist/src/queue.d.ts +2 -23
  235. package/dist/src/queue.d.ts.map +1 -1
  236. package/dist/src/queue.js +2 -1
  237. package/dist/src/queue.js.map +1 -1
  238. package/dist/tsconfig.tsbuildinfo +1 -1
  239. package/package.json +19 -17
  240. package/src/FunctionProtocol.ts +104 -0
  241. package/src/automerge.ts +8 -0
  242. package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +3 -3
  243. package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +3 -3
  244. package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +3 -3
  245. package/src/buf/proto/gen/dxos/agent/functions_pb.ts +3 -3
  246. package/src/buf/proto/gen/dxos/bot_pb.ts +3 -3
  247. package/src/buf/proto/gen/dxos/client/invitation_pb.ts +3 -3
  248. package/src/buf/proto/gen/dxos/client/logging_pb.ts +3 -3
  249. package/src/buf/proto/gen/dxos/client/queue_pb.ts +231 -0
  250. package/src/buf/proto/gen/dxos/client/services_pb.ts +84 -29
  251. package/src/buf/proto/gen/dxos/config_pb.ts +48 -10
  252. package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +3 -3
  253. package/src/buf/proto/gen/dxos/devtools/host_pb.ts +3 -3
  254. package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +3 -3
  255. package/src/buf/proto/gen/dxos/echo/blob_pb.ts +3 -3
  256. package/src/buf/proto/gen/dxos/echo/feed_pb.ts +3 -3
  257. package/src/buf/proto/gen/dxos/echo/filter_pb.ts +3 -3
  258. package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +3 -3
  259. package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +3 -3
  260. package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +3 -3
  261. package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +3 -3
  262. package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +3 -3
  263. package/src/buf/proto/gen/dxos/echo/object_pb.ts +3 -3
  264. package/src/buf/proto/gen/dxos/echo/query_pb.ts +18 -6
  265. package/src/buf/proto/gen/dxos/echo/service_pb.ts +87 -18
  266. package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +3 -3
  267. package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +3 -3
  268. package/src/buf/proto/gen/dxos/edge/calls_pb.ts +3 -3
  269. package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +3 -3
  270. package/src/buf/proto/gen/dxos/edge/signal_pb.ts +3 -3
  271. package/src/buf/proto/gen/dxos/error_pb.ts +3 -3
  272. package/src/buf/proto/gen/dxos/field_options_pb.ts +3 -3
  273. package/src/buf/proto/gen/dxos/google_pb.ts +3 -3
  274. package/src/buf/proto/gen/dxos/gravity_pb.ts +3 -3
  275. package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +3 -3
  276. package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +3 -3
  277. package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +3 -3
  278. package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +3 -3
  279. package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +3 -3
  280. package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +3 -3
  281. package/src/buf/proto/gen/dxos/halo/keys_pb.ts +3 -3
  282. package/src/buf/proto/gen/dxos/halo/signed_pb.ts +3 -3
  283. package/src/buf/proto/gen/dxos/iframe_pb.ts +4 -3
  284. package/src/buf/proto/gen/dxos/keys_pb.ts +3 -3
  285. package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +3 -3
  286. package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +3 -3
  287. package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +3 -3
  288. package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +3 -3
  289. package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +3 -3
  290. package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +3 -3
  291. package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +3 -3
  292. package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +3 -3
  293. package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +3 -3
  294. package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +3 -3
  295. package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +3 -3
  296. package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +3 -3
  297. package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +3 -3
  298. package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +3 -3
  299. package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +3 -3
  300. package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +3 -3
  301. package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +3 -3
  302. package/src/buf/proto/gen/dxos/registry_pb.ts +3 -3
  303. package/src/buf/proto/gen/dxos/rpc_pb.ts +3 -3
  304. package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +3 -3
  305. package/src/buf/proto/gen/dxos/service/publisher_pb.ts +3 -3
  306. package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +3 -3
  307. package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +3 -3
  308. package/src/buf/proto/gen/dxos/tracing_pb.ts +3 -3
  309. package/src/buf/proto/gen/dxos/type_pb.ts +3 -3
  310. package/src/buf/proto/gen/dxos/value_pb.ts +3 -3
  311. package/src/buf/proto/gen/example/testing/data_pb.ts +3 -3
  312. package/src/buf/proto/gen/example/testing/rpc_pb.ts +3 -3
  313. package/src/edge/EdgeFunctionEnv.ts +193 -0
  314. package/src/edge/edge.ts +484 -0
  315. package/src/edge/errors.ts +85 -0
  316. package/src/edge/index.ts +7 -0
  317. package/src/errors/base-errors.ts +4 -20
  318. package/src/errors/encoding.ts +2 -1
  319. package/src/errors/errors.test.ts +1 -1
  320. package/src/errors/errors.ts +57 -122
  321. package/src/errors/helpers.ts +5 -5
  322. package/src/feed-replication.ts +1 -0
  323. package/src/index.ts +9 -7
  324. package/src/indexing.ts +1 -1
  325. package/src/invitation.ts +1 -1
  326. package/src/messenger.ts +22 -0
  327. package/src/proto/dxos/client/queue.proto +67 -0
  328. package/src/proto/dxos/client/services.proto +20 -3
  329. package/src/proto/dxos/config.proto +38 -40
  330. package/src/proto/dxos/echo/query.proto +4 -1
  331. package/src/proto/dxos/echo/service.proto +38 -6
  332. package/src/proto/dxos/iframe.proto +1 -0
  333. package/src/proto/gen/dxos/client/services.ts +895 -765
  334. package/src/proto/gen/dxos/config.ts +33 -2
  335. package/src/proto/gen/dxos/echo/query.ts +17 -1
  336. package/src/proto/gen/dxos/echo/service.ts +42 -8
  337. package/src/proto/gen/index.ts +11 -1
  338. package/src/proto/index.ts +1 -1
  339. package/src/queue.ts +10 -29
  340. package/dist/src/edge-error.d.ts +0 -26
  341. package/dist/src/edge-error.d.ts.map +0 -1
  342. package/dist/src/edge-error.js +0 -62
  343. package/dist/src/edge-error.js.map +0 -1
  344. package/dist/src/edge.d.ts +0 -198
  345. package/dist/src/edge.d.ts.map +0 -1
  346. package/dist/src/edge.js +0 -43
  347. package/dist/src/edge.js.map +0 -1
  348. package/dist/src/query.d.ts +0 -5
  349. package/dist/src/query.d.ts.map +0 -1
  350. package/dist/src/query.js +0 -8
  351. package/dist/src/query.js.map +0 -1
  352. package/src/edge-error.ts +0 -79
  353. package/src/edge.ts +0 -222
  354. package/src/query.ts +0 -8
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/echo/model/text.proto (package dxos.echo.model.text, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Message } from "@bufbuild/protobuf";
12
12
 
13
13
  /**
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/echo/object.proto (package dxos.echo.object, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Any } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_any, file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
13
13
  import { file_dxos_field_options } from "../field_options_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/echo/query.proto (package dxos.echo.query, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { EmptySchema } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
13
13
  import type { PublicKey } from "../keys_pb.js";
@@ -24,7 +24,7 @@ import type { Message } from "@bufbuild/protobuf";
24
24
  * Describes the file dxos/echo/query.proto.
25
25
  */
26
26
  export const file_dxos_echo_query: GenFile = /*@__PURE__*/
27
- fileDesc("ChVkeG9zL2VjaG8vcXVlcnkucHJvdG8SD2R4b3MuZWNoby5xdWVyeSKvAQoMUXVlcnlSZXF1ZXN0EhQKB3F1ZXJ5SWQYASABKAlIAIgBARI0CgpyZWFjdGl2aXR5GAMgASgOMiAuZHhvcy5lY2hvLnF1ZXJ5LlF1ZXJ5UmVhY3Rpdml0eRINCgVxdWVyeRgFIAEoCRItCgZmaWx0ZXIYAiABKAsyGC5keG9zLmVjaG8uZmlsdGVyLkZpbHRlckgBiAEBQgoKCF9xdWVyeUlkQgkKB19maWx0ZXIiFwoFSGVhZHMSDgoGaGFzaGVzGAEgAygJIuwBCgtRdWVyeVJlc3VsdBIKCgJpZBgBIAEoCRIPCgdzcGFjZUlkGAQgASgJEhIKCmRvY3VtZW50SWQYBSABKAkSDAoEcmFuaxgDIAEoAhIaCg1kb2N1bWVudF9qc29uGAogASgJSACIAQESHwoSZG9jdW1lbnRfYXV0b21lcmdlGAsgASgMSAGIAQESKwoIc3BhY2VLZXkYAiABKAsyFC5keG9zLmtleXMuUHVibGljS2V5SAKIAQFCEAoOX2RvY3VtZW50X2pzb25CFQoTX2RvY3VtZW50X2F1dG9tZXJnZUILCglfc3BhY2VLZXkijwEKDVF1ZXJ5UmVzcG9uc2USFAoHcXVlcnlJZBgBIAEoCUgAiAEBEi0KB3Jlc3VsdHMYAiADKAsyHC5keG9zLmVjaG8ucXVlcnkuUXVlcnlSZXN1bHQSLQoHb2JqZWN0cxgDIAMoCzIcLmR4b3MuZWNoby5vYmplY3QuRWNob09iamVjdEIKCghfcXVlcnlJZCotCg9RdWVyeVJlYWN0aXZpdHkSDAoIT05FX1NIT1QQABIMCghSRUFDVElWRRABMt0BCgxRdWVyeVNlcnZpY2USRAoJU2V0Q29uZmlnEh8uZHhvcy5lY2hvLmluZGV4aW5nLkluZGV4Q29uZmlnGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EkwKCUV4ZWNRdWVyeRIdLmR4b3MuZWNoby5xdWVyeS5RdWVyeVJlcXVlc3QaHi5keG9zLmVjaG8ucXVlcnkuUXVlcnlSZXNwb25zZTABEjkKB1JlaW5kZXgSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFi5nb29nbGUucHJvdG9idWYuRW1wdHliBnByb3RvMw", [file_google_protobuf_empty, file_dxos_keys, file_dxos_echo_filter, file_dxos_echo_object, file_dxos_echo_indexing]);
27
+ fileDesc("ChVkeG9zL2VjaG8vcXVlcnkucHJvdG8SD2R4b3MuZWNoby5xdWVyeSKvAQoMUXVlcnlSZXF1ZXN0EhQKB3F1ZXJ5SWQYASABKAlIAIgBARI0CgpyZWFjdGl2aXR5GAMgASgOMiAuZHhvcy5lY2hvLnF1ZXJ5LlF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UXVlcnlSZXNwb25zZTABEjkKB1JlaW5kZXgSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFi5nb29nbGUucHJvdG9idWYuRW1wdHliBnByb3RvMw", [file_google_protobuf_empty, file_dxos_keys, file_dxos_echo_filter, file_dxos_echo_object, file_dxos_echo_indexing]);
28
28
 
29
29
  /**
30
30
  * @generated from message dxos.echo.query.QueryRequest
@@ -99,9 +99,19 @@ export type QueryResult = Message<"dxos.echo.query.QueryResult"> & {
99
99
  spaceId: string;
100
100
 
101
101
  /**
102
- * @generated from field: string documentId = 5;
102
+ * @generated from field: optional string documentId = 5;
103
103
  */
104
- documentId: string;
104
+ documentId?: string;
105
+
106
+ /**
107
+ * @generated from field: optional string queueId = 6;
108
+ */
109
+ queueId?: string;
110
+
111
+ /**
112
+ * @generated from field: optional string queueNamespace = 7;
113
+ */
114
+ queueNamespace?: string;
105
115
 
106
116
  /**
107
117
  * @generated from field: float rank = 3;
@@ -109,6 +119,8 @@ export type QueryResult = Message<"dxos.echo.query.QueryResult"> & {
109
119
  rank: number;
110
120
 
111
121
  /**
122
+ * / In the ECHO Json object format.
123
+ *
112
124
  * @generated from field: optional string document_json = 10;
113
125
  */
114
126
  documentJson?: string;
@@ -2,22 +2,22 @@
2
2
  // Copyright 2021 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/echo/service.proto (package dxos.echo.service, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import { file_dxos_keys } from "../keys_pb.js";
12
12
  import type { EmptySchema } from "@bufbuild/protobuf/wkt";
13
- import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
14
- import type { Message } from "@bufbuild/protobuf";
13
+ import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
14
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
15
15
 
16
16
  /**
17
17
  * Describes the file dxos/echo/service.proto.
18
18
  */
19
19
  export const file_dxos_echo_service: GenFile = /*@__PURE__*/
20
- fileDesc("ChdkeG9zL2VjaG8vc2VydmljZS5wcm90bxIRZHhvcy5lY2hvLnNlcnZpY2UiPQoQU3Vic2NyaWJlUmVxdWVzdBIXCg9zdWJzY3JpcHRpb25faWQYASABKAkSEAoIc3BhY2VfaWQYAiABKAkiTAoWQmF0Y2hlZERvY3VtZW50VXBkYXRlcxIyCgd1cGRhdGVzGAEgAygLMiEuZHhvcy5lY2hvLnNlcnZpY2UuRG9jdW1lbnRVcGRhdGUiXAoNVXBkYXRlUmVxdWVzdBIXCg9zdWJzY3JpcHRpb25faWQYASABKAkSMgoHdXBkYXRlcxgCIAMoCzIhLmR4b3MuZWNoby5zZXJ2aWNlLkRvY3VtZW50VXBkYXRlIlkKGVVwZGF0ZVN1YnNjcmlwdGlvblJlcXVlc3QSFwoPc3Vic2NyaXB0aW9uX2lkGAEgASgJEg8KB2FkZF9pZHMYAyADKAkSEgoKcmVtb3ZlX2lkcxgEIAMoCSIkCgxGbHVzaFJlcXVlc3QSFAoMZG9jdW1lbnRfaWRzGAEgAygJIlcKDkRvY3VtZW50VXBkYXRlEhMKC2RvY3VtZW50X2lkGAEgASgJEhAKCG11dGF0aW9uGAIgASgMEhMKBmlzX25ldxgDIAEoCEgAiAEBQgkKB19pc19uZXcicwoMRG9jSGVhZHNMaXN0EjYKB2VudHJpZXMYASADKAsyJS5keG9zLmVjaG8uc2VydmljZS5Eb2NIZWFkc0xpc3QuRW50cnkaKwoFRW50cnkSEwoLZG9jdW1lbnRfaWQY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WLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJrChBHZXREb2N1bWVudEhlYWRzEiouZHhvcy5lY2hvLnNlcnZpY2UuR2V0RG9jdW1lbnRIZWFkc1JlcXVlc3QaKy5keG9zLmVjaG8uc2VydmljZS5HZXREb2N1bWVudEhlYWRzUmVzcG9uc2USZgoYV2FpdFVudGlsSGVhZHNSZXBsaWNhdGVkEjIuZHhvcy5lY2hvLnNlcnZpY2UuV2FpdFVudGlsSGVhZHNSZXBsaWNhdGVkUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJOCgxSZUluZGV4SGVhZHMSJi5keG9zLmVjaG8uc2VydmljZS5SZUluZGV4SGVhZHNSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ej8KDVVwZGF0ZUluZGV4ZXMSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSawoXU3Vic2NyaWJlU3BhY2VTeW5jU3RhdGUSKy5keG9zLmVjaG8uc2VydmljZS5HZXRTcGFjZVN5bmNTdGF0ZVJlcXVlc3QaIS5keG9zLmVjaG8uc2VydmljZS5TcGFjZVN5bmNTdGF0ZTABYgZwcm90bzM", [file_dxos_keys, file_google_protobuf_empty, file_google_protobuf_struct]);
21
21
 
22
22
  /**
23
23
  * @generated from message dxos.echo.service.SubscribeRequest
@@ -159,15 +159,6 @@ export type DocumentUpdate = Message<"dxos.echo.service.DocumentUpdate"> & {
159
159
  * @generated from field: bytes mutation = 2;
160
160
  */
161
161
  mutation: Uint8Array;
162
-
163
- /**
164
- * *
165
- * Set to true for init mutation of document.
166
- * default: undefined.
167
- *
168
- * @generated from field: optional bool is_new = 3;
169
- */
170
- isNew?: boolean;
171
162
  };
172
163
 
173
164
  /**
@@ -284,6 +275,55 @@ export type ReIndexHeadsRequest = Message<"dxos.echo.service.ReIndexHeadsRequest
284
275
  export const ReIndexHeadsRequestSchema: GenMessage<ReIndexHeadsRequest> = /*@__PURE__*/
285
276
  messageDesc(file_dxos_echo_service, 10);
286
277
 
278
+ /**
279
+ * @generated from message dxos.echo.service.CreateDocumentRequest
280
+ */
281
+ export type CreateDocumentRequest = Message<"dxos.echo.service.CreateDocumentRequest"> & {
282
+ /**
283
+ * *
284
+ * Space id where the document will be created.
285
+ *
286
+ * @generated from field: string space_id = 1;
287
+ */
288
+ spaceId: string;
289
+
290
+ /**
291
+ * *
292
+ * Automerge encoded initial document value.
293
+ * Optional - if not provided, an empty document will be created.
294
+ *
295
+ * @generated from field: optional google.protobuf.Struct initial_value = 2;
296
+ */
297
+ initialValue?: JsonObject;
298
+ };
299
+
300
+ /**
301
+ * Describes the message dxos.echo.service.CreateDocumentRequest.
302
+ * Use `create(CreateDocumentRequestSchema)` to create a new message.
303
+ */
304
+ export const CreateDocumentRequestSchema: GenMessage<CreateDocumentRequest> = /*@__PURE__*/
305
+ messageDesc(file_dxos_echo_service, 11);
306
+
307
+ /**
308
+ * @generated from message dxos.echo.service.CreateDocumentResponse
309
+ */
310
+ export type CreateDocumentResponse = Message<"dxos.echo.service.CreateDocumentResponse"> & {
311
+ /**
312
+ * *
313
+ * The generated document id.
314
+ *
315
+ * @generated from field: string document_id = 1;
316
+ */
317
+ documentId: string;
318
+ };
319
+
320
+ /**
321
+ * Describes the message dxos.echo.service.CreateDocumentResponse.
322
+ * Use `create(CreateDocumentResponseSchema)` to create a new message.
323
+ */
324
+ export const CreateDocumentResponseSchema: GenMessage<CreateDocumentResponse> = /*@__PURE__*/
325
+ messageDesc(file_dxos_echo_service, 12);
326
+
287
327
  /**
288
328
  * @generated from message dxos.echo.service.GetSpaceSyncStateRequest
289
329
  */
@@ -299,7 +339,7 @@ export type GetSpaceSyncStateRequest = Message<"dxos.echo.service.GetSpaceSyncSt
299
339
  * Use `create(GetSpaceSyncStateRequestSchema)` to create a new message.
300
340
  */
301
341
  export const GetSpaceSyncStateRequestSchema: GenMessage<GetSpaceSyncStateRequest> = /*@__PURE__*/
302
- messageDesc(file_dxos_echo_service, 11);
342
+ messageDesc(file_dxos_echo_service, 13);
303
343
 
304
344
  /**
305
345
  * @generated from message dxos.echo.service.SpaceSyncState
@@ -316,7 +356,7 @@ export type SpaceSyncState = Message<"dxos.echo.service.SpaceSyncState"> & {
316
356
  * Use `create(SpaceSyncStateSchema)` to create a new message.
317
357
  */
318
358
  export const SpaceSyncStateSchema: GenMessage<SpaceSyncState> = /*@__PURE__*/
319
- messageDesc(file_dxos_echo_service, 12);
359
+ messageDesc(file_dxos_echo_service, 14);
320
360
 
321
361
  /**
322
362
  * @generated from message dxos.echo.service.SpaceSyncState.PeerState
@@ -366,6 +406,23 @@ export type SpaceSyncState_PeerState = Message<"dxos.echo.service.SpaceSyncState
366
406
  * @generated from field: int32 remote_document_count = 14;
367
407
  */
368
408
  remoteDocumentCount: number;
409
+
410
+ /**
411
+ * *
412
+ * Total number of documents across this peer and the remote peer.
413
+ *
414
+ * @generated from field: int32 total_document_count = 15;
415
+ */
416
+ totalDocumentCount: number;
417
+
418
+ /**
419
+ * *
420
+ * Total number of documents that are not synced.
421
+ * Includes documents that are present only locally, only on the remote peer, or whether the peers have different versions.
422
+ *
423
+ * @generated from field: int32 unsynced_document_count = 16;
424
+ */
425
+ unsyncedDocumentCount: number;
369
426
  };
370
427
 
371
428
  /**
@@ -373,7 +430,7 @@ export type SpaceSyncState_PeerState = Message<"dxos.echo.service.SpaceSyncState
373
430
  * Use `create(SpaceSyncState_PeerStateSchema)` to create a new message.
374
431
  */
375
432
  export const SpaceSyncState_PeerStateSchema: GenMessage<SpaceSyncState_PeerState> = /*@__PURE__*/
376
- messageDesc(file_dxos_echo_service, 12, 0);
433
+ messageDesc(file_dxos_echo_service, 14, 0);
377
434
 
378
435
  /**
379
436
  * @generated from service dxos.echo.service.DataService
@@ -403,6 +460,18 @@ export const DataService: GenService<{
403
460
  input: typeof UpdateSubscriptionRequestSchema;
404
461
  output: typeof EmptySchema;
405
462
  },
463
+ /**
464
+ * *
465
+ * Create a new automerge document.
466
+ * Returns the generated document id which is controlled by the host.
467
+ *
468
+ * @generated from rpc dxos.echo.service.DataService.CreateDocument
469
+ */
470
+ createDocument: {
471
+ methodKind: "unary";
472
+ input: typeof CreateDocumentRequestSchema;
473
+ output: typeof CreateDocumentResponseSchema;
474
+ },
406
475
  /**
407
476
  * *
408
477
  * Write incremental updates to multiple automerge documents.
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/echo/snapshot.proto (package dxos.echo.snapshot, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { TimeframeVector } from "./timeframe_pb.js";
12
12
  import { file_dxos_echo_timeframe } from "./timeframe_pb.js";
13
13
  import type { EchoObject } from "./object_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/echo/timeframe.proto (package dxos.echo.timeframe, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Message } from "@bufbuild/protobuf";
12
12
 
13
13
  /**
@@ -2,12 +2,12 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/edge/calls.proto (package dxos.edge.calls, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
12
12
  import { file_dxos_keys } from "../keys_pb.js";
13
13
  import type { JsonObject, Message } from "@bufbuild/protobuf";
@@ -2,7 +2,7 @@
2
2
  // Copyright 2022 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/edge/messenger.proto (package dxos.edge.messenger, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
@@ -10,8 +10,8 @@
10
10
  // The messenger protocol supports routing messages between peers.
11
11
  //
12
12
 
13
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
14
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
13
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
14
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
15
15
  import type { Any } from "@bufbuild/protobuf/wkt";
16
16
  import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
17
17
  import type { Message as Message$1 } from "@bufbuild/protobuf";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/edge/signal.proto (package dxos.edge.signal, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_any, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
13
13
  import type { PublicKey } from "../keys_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/error.proto (package dxos.error, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
12
12
  import type { JsonObject, Message } from "@bufbuild/protobuf";
13
13
 
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/field_options.proto (syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv1";
10
- import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
10
+ import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { FieldOptions } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
13
13
 
@@ -1,9 +1,9 @@
1
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
1
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
2
2
  // @generated from file dxos/google.proto (syntax proto2)
3
3
  /* eslint-disable */
4
4
 
5
- import type { GenFile } from "@bufbuild/protobuf/codegenv1";
6
- import { fileDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import type { GenFile } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc } from "@bufbuild/protobuf/codegenv2";
7
7
  import { file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
8
8
 
9
9
  /**
@@ -2,12 +2,12 @@
2
2
  // Copyright 2021 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/gravity.proto (package dxos.gravity, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
12
12
  import { file_dxos_keys } from "./keys_pb.js";
13
13
  import type { Message } from "@bufbuild/protobuf";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/credentials/auth.proto (package dxos.halo.credentials.auth, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Any } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
13
13
  import type { PublicKey } from "../../keys_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/credentials/greet.proto (package dxos.halo.credentials.greet, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Any } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
13
13
  import type { KeyType } from "../keys_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/credentials/identity.proto (package dxos.halo.credentials.identity, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { PublicKey } from "../../keys_pb.js";
12
12
  import { file_dxos_keys } from "../../keys_pb.js";
13
13
  import type { Message } from "@bufbuild/protobuf";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2022 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/credentials.proto (package dxos.halo.credentials, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_any, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
13
13
  import type { TimeframeVector } from "../echo/timeframe_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2021 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/invitations.proto (package dxos.halo.invitations, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
13
13
  import type { Invitation_AuthMethod } from "../client/invitation_pb.js";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2022 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/keyring.proto (package dxos.halo.keyring, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Message } from "@bufbuild/protobuf";
12
12
 
13
13
  /**
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/keys.proto (package dxos.halo.keys, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { PrivateKey, PublicKey } from "../keys_pb.js";
12
12
  import { file_dxos_keys } from "../keys_pb.js";
13
13
  import type { Message } from "@bufbuild/protobuf";
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/halo/signed.proto (package dxos.halo.signed, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Any } from "@bufbuild/protobuf/wkt";
12
12
  import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
13
13
  import type { PublicKey } from "../keys_pb.js";
@@ -2,14 +2,14 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/iframe.proto (package dxos.iframe, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
9
  // TODO(burdon): Rename dxos.xxx.iframe?
10
10
 
11
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
12
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
11
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
12
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
13
13
  import type { EmptySchema } from "@bufbuild/protobuf/wkt";
14
14
  import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
15
15
  import type { PublicKey } from "./keys_pb.js";
@@ -78,6 +78,7 @@ export type AppContextRequest = Message<"dxos.iframe.AppContextRequest"> & {
78
78
  spaceKey?: PublicKey;
79
79
 
80
80
  /**
81
+ * TODO(wittjosiah): Make the generated type be `SpaceId`.
81
82
  * / The id of the joined space.
82
83
  *
83
84
  * @generated from field: optional string space_id = 5;
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/keys.proto (package dxos.keys, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
10
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
10
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { Message } from "@bufbuild/protobuf";
12
12
 
13
13
  /**
@@ -2,12 +2,12 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
- // @generated by protoc-gen-es v2.1.0 with parameter "target=ts,import_extension=js"
5
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
6
6
  // @generated from file dxos/mesh/bridge.proto (package dxos.mesh.bridge, syntax proto3)
7
7
  /* eslint-disable */
8
8
 
9
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
10
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
9
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
10
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
11
11
  import type { PublicKey } from "../keys_pb.js";
12
12
  import { file_dxos_keys } from "../keys_pb.js";
13
13
  import type { Signal } from "./swarm_pb.js";