@dxos/protocols 0.8.4-main.fd6878d → 0.8.4-staging.60fe92afc8

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 (631) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/src/FeedProtocol.d.ts +528 -0
  4. package/dist/src/FeedProtocol.d.ts.map +1 -0
  5. package/dist/src/FeedProtocol.js +237 -0
  6. package/dist/src/FeedProtocol.js.map +1 -0
  7. package/dist/src/FunctionProtocol.d.ts +89 -0
  8. package/dist/src/FunctionProtocol.d.ts.map +1 -0
  9. package/dist/src/FunctionProtocol.js +4 -0
  10. package/dist/src/FunctionProtocol.js.map +1 -0
  11. package/dist/src/TraceProtocol.d.ts +15 -0
  12. package/dist/src/TraceProtocol.d.ts.map +1 -0
  13. package/dist/src/TraceProtocol.js +4 -0
  14. package/dist/src/TraceProtocol.js.map +1 -0
  15. package/dist/src/automerge.d.ts +211 -13
  16. package/dist/src/automerge.d.ts.map +1 -1
  17. package/dist/src/automerge.js +17 -0
  18. package/dist/src/automerge.js.map +1 -1
  19. package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.d.ts +1 -1
  20. package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.js +1 -1
  21. package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.d.ts +1 -1
  22. package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.js +1 -1
  23. package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.d.ts +1 -1
  24. package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.js +1 -1
  25. package/dist/src/buf/proto/gen/dxos/agent/functions_pb.d.ts +1 -1
  26. package/dist/src/buf/proto/gen/dxos/agent/functions_pb.js +1 -1
  27. package/dist/src/buf/proto/gen/dxos/bot_pb.d.ts +1 -1
  28. package/dist/src/buf/proto/gen/dxos/bot_pb.js +1 -1
  29. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +17 -5
  30. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts.map +1 -1
  31. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +18 -6
  32. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js.map +1 -1
  33. package/dist/src/buf/proto/gen/dxos/client/logging_pb.d.ts +1 -1
  34. package/dist/src/buf/proto/gen/dxos/client/logging_pb.js +1 -1
  35. package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +311 -0
  36. package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -0
  37. package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +59 -0
  38. package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -0
  39. package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +143 -22
  40. package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
  41. package/dist/src/buf/proto/gen/dxos/client/services_pb.js +90 -54
  42. package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
  43. package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +148 -7
  44. package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
  45. package/dist/src/buf/proto/gen/dxos/config_pb.js +78 -2
  46. package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
  47. package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.d.ts +1 -1
  48. package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.js +1 -1
  49. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +71 -1
  50. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts.map +1 -1
  51. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +17 -2
  52. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js.map +1 -1
  53. package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.d.ts +1 -1
  54. package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.js +1 -1
  55. package/dist/src/buf/proto/gen/dxos/echo/blob_pb.d.ts +1 -1
  56. package/dist/src/buf/proto/gen/dxos/echo/blob_pb.js +1 -1
  57. package/dist/src/buf/proto/gen/dxos/echo/feed_pb.d.ts +1 -1
  58. package/dist/src/buf/proto/gen/dxos/echo/feed_pb.js +1 -1
  59. package/dist/src/buf/proto/gen/dxos/echo/filter_pb.d.ts +1 -1
  60. package/dist/src/buf/proto/gen/dxos/echo/filter_pb.js +1 -1
  61. package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.d.ts +1 -1
  62. package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.js +1 -1
  63. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +13 -1
  64. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts.map +1 -1
  65. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +2 -2
  66. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js.map +1 -1
  67. package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.d.ts +1 -1
  68. package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.js +1 -1
  69. package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.d.ts +1 -1
  70. package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.js +1 -1
  71. package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.d.ts +1 -1
  72. package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.js +1 -1
  73. package/dist/src/buf/proto/gen/dxos/echo/object_pb.d.ts +1 -1
  74. package/dist/src/buf/proto/gen/dxos/echo/object_pb.js +1 -1
  75. package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +13 -3
  76. package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts.map +1 -1
  77. package/dist/src/buf/proto/gen/dxos/echo/query_pb.js +2 -2
  78. package/dist/src/buf/proto/gen/dxos/echo/query_pb.js.map +1 -1
  79. package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +84 -8
  80. package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
  81. package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +16 -6
  82. package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
  83. package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.d.ts +1 -1
  84. package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.js +1 -1
  85. package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.d.ts +1 -1
  86. package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.js +1 -1
  87. package/dist/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +1 -1
  88. package/dist/src/buf/proto/gen/dxos/edge/calls_pb.js +1 -1
  89. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +29 -1
  90. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts.map +1 -1
  91. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +11 -6
  92. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js.map +1 -1
  93. package/dist/src/buf/proto/gen/dxos/edge/signal_pb.d.ts +1 -1
  94. package/dist/src/buf/proto/gen/dxos/edge/signal_pb.js +1 -1
  95. package/dist/src/buf/proto/gen/dxos/error_pb.d.ts +1 -1
  96. package/dist/src/buf/proto/gen/dxos/error_pb.js +1 -1
  97. package/dist/src/buf/proto/gen/dxos/field_options_pb.d.ts +1 -1
  98. package/dist/src/buf/proto/gen/dxos/field_options_pb.js +1 -1
  99. package/dist/src/buf/proto/gen/dxos/google_pb.d.ts +1 -1
  100. package/dist/src/buf/proto/gen/dxos/google_pb.js +2 -2
  101. package/dist/src/buf/proto/gen/dxos/google_pb.js.map +1 -1
  102. package/dist/src/buf/proto/gen/dxos/gravity_pb.d.ts +1 -1
  103. package/dist/src/buf/proto/gen/dxos/gravity_pb.js +1 -1
  104. package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.d.ts +1 -1
  105. package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.js +1 -1
  106. package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.d.ts +1 -1
  107. package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.js +1 -1
  108. package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.d.ts +1 -1
  109. package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.js +1 -1
  110. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +66 -1
  111. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
  112. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +53 -23
  113. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
  114. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts +12 -5
  115. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts.map +1 -1
  116. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +13 -6
  117. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js.map +1 -1
  118. package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.d.ts +1 -1
  119. package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.js +1 -1
  120. package/dist/src/buf/proto/gen/dxos/halo/keys_pb.d.ts +1 -1
  121. package/dist/src/buf/proto/gen/dxos/halo/keys_pb.js +1 -1
  122. package/dist/src/buf/proto/gen/dxos/halo/signed_pb.d.ts +1 -1
  123. package/dist/src/buf/proto/gen/dxos/halo/signed_pb.js +1 -1
  124. package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +2 -11
  125. package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
  126. package/dist/src/buf/proto/gen/dxos/iframe_pb.js +2 -2
  127. package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
  128. package/dist/src/buf/proto/gen/dxos/keys_pb.d.ts +1 -1
  129. package/dist/src/buf/proto/gen/dxos/keys_pb.js +1 -1
  130. package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.d.ts +1 -1
  131. package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.js +1 -1
  132. package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.d.ts +1 -1
  133. package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.js +1 -1
  134. package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.d.ts +1 -1
  135. package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.js +1 -1
  136. package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.d.ts +1 -1
  137. package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.js +1 -1
  138. package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.d.ts +1 -1
  139. package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.js +1 -1
  140. package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.d.ts +1 -1
  141. package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.js +1 -1
  142. package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.d.ts +1 -1
  143. package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.js +1 -1
  144. package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.d.ts +1 -1
  145. package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.js +1 -1
  146. package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.d.ts +1 -1
  147. package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.js +1 -1
  148. package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.d.ts +1 -1
  149. package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.js +1 -1
  150. package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.d.ts +1 -1
  151. package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.js +1 -1
  152. package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.d.ts +1 -1
  153. package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.js +1 -1
  154. package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.d.ts +1 -1
  155. package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.js +1 -1
  156. package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.d.ts +1 -1
  157. package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.js +1 -1
  158. package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.d.ts +1 -1
  159. package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.js +1 -1
  160. package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.d.ts +1 -1
  161. package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.js +1 -1
  162. package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.d.ts +1 -1
  163. package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.js +1 -1
  164. package/dist/src/buf/proto/gen/dxos/registry_pb.d.ts +1 -1
  165. package/dist/src/buf/proto/gen/dxos/registry_pb.js +1 -1
  166. package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +25 -1
  167. package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts.map +1 -1
  168. package/dist/src/buf/proto/gen/dxos/rpc_pb.js +13 -8
  169. package/dist/src/buf/proto/gen/dxos/rpc_pb.js.map +1 -1
  170. package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.d.ts +1 -1
  171. package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.js +1 -1
  172. package/dist/src/buf/proto/gen/dxos/service/publisher_pb.d.ts +1 -1
  173. package/dist/src/buf/proto/gen/dxos/service/publisher_pb.js +1 -1
  174. package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.d.ts +1 -1
  175. package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.js +1 -1
  176. package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.d.ts +1 -1
  177. package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.js +1 -1
  178. package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -139
  179. package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts.map +1 -1
  180. package/dist/src/buf/proto/gen/dxos/tracing_pb.js +11 -45
  181. package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
  182. package/dist/src/buf/proto/gen/dxos/type_pb.d.ts +1 -1
  183. package/dist/src/buf/proto/gen/dxos/type_pb.js +1 -1
  184. package/dist/src/buf/proto/gen/dxos/value_pb.d.ts +1 -1
  185. package/dist/src/buf/proto/gen/dxos/value_pb.js +1 -1
  186. package/dist/src/buf/proto/gen/example/testing/data_pb.d.ts +1 -1
  187. package/dist/src/buf/proto/gen/example/testing/data_pb.js +1 -1
  188. package/dist/src/buf/proto/gen/example/testing/rpc_pb.d.ts +1 -1
  189. package/dist/src/buf/proto/gen/example/testing/rpc_pb.js +1 -1
  190. package/dist/src/edge/EdgeFunctionEnv.d.ts +134 -0
  191. package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -0
  192. package/dist/src/edge/EdgeFunctionEnv.js +4 -0
  193. package/dist/src/edge/EdgeFunctionEnv.js.map +1 -0
  194. package/dist/src/edge/edge.d.ts +698 -0
  195. package/dist/src/edge/edge.d.ts.map +1 -0
  196. package/dist/src/edge/edge.js +278 -0
  197. package/dist/src/edge/edge.js.map +1 -0
  198. package/dist/src/edge/edge.test.d.ts +2 -0
  199. package/dist/src/edge/edge.test.d.ts.map +1 -0
  200. package/dist/src/edge/edge.test.js +50 -0
  201. package/dist/src/edge/edge.test.js.map +1 -0
  202. package/dist/src/edge/errors.d.ts +29 -0
  203. package/dist/src/edge/errors.d.ts.map +1 -0
  204. package/dist/src/edge/errors.js +69 -0
  205. package/dist/src/edge/errors.js.map +1 -0
  206. package/dist/src/edge/index.d.ts +5 -0
  207. package/dist/src/edge/index.d.ts.map +1 -0
  208. package/dist/src/edge/index.js +8 -0
  209. package/dist/src/edge/index.js.map +1 -0
  210. package/dist/src/edge/registry.d.ts +212 -0
  211. package/dist/src/edge/registry.d.ts.map +1 -0
  212. package/dist/src/edge/registry.js +139 -0
  213. package/dist/src/edge/registry.js.map +1 -0
  214. package/dist/src/errors/base-errors.d.ts +86 -8
  215. package/dist/src/errors/base-errors.d.ts.map +1 -1
  216. package/dist/src/errors/base-errors.js +4 -19
  217. package/dist/src/errors/base-errors.js.map +1 -1
  218. package/dist/src/errors/encoding.d.ts +2 -2
  219. package/dist/src/errors/encoding.d.ts.map +1 -1
  220. package/dist/src/errors/encoding.js.map +1 -1
  221. package/dist/src/errors/errors.d.ts +619 -42
  222. package/dist/src/errors/errors.d.ts.map +1 -1
  223. package/dist/src/errors/errors.js +49 -103
  224. package/dist/src/errors/errors.js.map +1 -1
  225. package/dist/src/errors/errors.test.js +1 -1
  226. package/dist/src/errors/errors.test.js.map +1 -1
  227. package/dist/src/errors/helpers.d.ts +9 -5
  228. package/dist/src/errors/helpers.d.ts.map +1 -1
  229. package/dist/src/errors/helpers.js +3 -3
  230. package/dist/src/errors/helpers.js.map +1 -1
  231. package/dist/src/errors/index.d.ts +5 -5
  232. package/dist/src/errors/parameter.d.ts.map +1 -1
  233. package/dist/src/feed-replication.d.ts.map +1 -1
  234. package/dist/src/index.d.ts +12 -12
  235. package/dist/src/index.d.ts.map +1 -1
  236. package/dist/src/index.js +7 -6
  237. package/dist/src/index.js.map +1 -1
  238. package/dist/src/indexing.d.ts +1 -1
  239. package/dist/src/indexing.d.ts.map +1 -1
  240. package/dist/src/indexing.js +1 -1
  241. package/dist/src/indexing.js.map +1 -1
  242. package/dist/src/invitation.d.ts +1 -1
  243. package/dist/src/invitation.d.ts.map +1 -1
  244. package/dist/src/invitation.js +4 -4
  245. package/dist/src/invitation.js.map +1 -1
  246. package/dist/src/messenger.d.ts +16 -0
  247. package/dist/src/messenger.d.ts.map +1 -0
  248. package/dist/src/messenger.js +4 -0
  249. package/dist/src/messenger.js.map +1 -0
  250. package/dist/src/profile-archive.d.ts +14 -1
  251. package/dist/src/profile-archive.d.ts.map +1 -1
  252. package/dist/src/profile-archive.js +2 -0
  253. package/dist/src/profile-archive.js.map +1 -1
  254. package/dist/src/proto/gen/dxos/agent/dashboard.d.ts +3 -6
  255. package/dist/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
  256. package/dist/src/proto/gen/dxos/agent/dashboard.js.map +1 -1
  257. package/dist/src/proto/gen/dxos/agent/echoproxy.d.ts +1 -2
  258. package/dist/src/proto/gen/dxos/agent/echoproxy.d.ts.map +1 -1
  259. package/dist/src/proto/gen/dxos/agent/epoch.d.ts +1 -2
  260. package/dist/src/proto/gen/dxos/agent/epoch.d.ts.map +1 -1
  261. package/dist/src/proto/gen/dxos/agent/functions.d.ts +6 -12
  262. package/dist/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
  263. package/dist/src/proto/gen/dxos/bot.d.ts +12 -24
  264. package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
  265. package/dist/src/proto/gen/dxos/bot.js.map +1 -1
  266. package/dist/src/proto/gen/dxos/client/services.d.ts +1065 -903
  267. package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  268. package/dist/src/proto/gen/dxos/client/services.js +118 -100
  269. package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
  270. package/dist/src/proto/gen/dxos/config.d.ts +141 -100
  271. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  272. package/dist/src/proto/gen/dxos/config.js +26 -0
  273. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  274. package/dist/src/proto/gen/dxos/devtools/host.d.ts +101 -119
  275. package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  276. package/dist/src/proto/gen/dxos/devtools/swarm.d.ts +4 -8
  277. package/dist/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
  278. package/dist/src/proto/gen/dxos/echo/blob.d.ts +1 -2
  279. package/dist/src/proto/gen/dxos/echo/blob.d.ts.map +1 -1
  280. package/dist/src/proto/gen/dxos/echo/blob.js.map +1 -1
  281. package/dist/src/proto/gen/dxos/echo/feed.d.ts +4 -8
  282. package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  283. package/dist/src/proto/gen/dxos/echo/filter.d.ts +2 -4
  284. package/dist/src/proto/gen/dxos/echo/filter.d.ts.map +1 -1
  285. package/dist/src/proto/gen/dxos/echo/filter.js.map +1 -1
  286. package/dist/src/proto/gen/dxos/echo/indexing.d.ts +2 -4
  287. package/dist/src/proto/gen/dxos/echo/indexing.d.ts.map +1 -1
  288. package/dist/src/proto/gen/dxos/echo/indexing.js.map +1 -1
  289. package/dist/src/proto/gen/dxos/echo/metadata.d.ts +16 -16
  290. package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  291. package/dist/src/proto/gen/dxos/echo/metadata.js.map +1 -1
  292. package/dist/src/proto/gen/dxos/echo/model/document.d.ts +11 -22
  293. package/dist/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  294. package/dist/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  295. package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts +1 -2
  296. package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
  297. package/dist/src/proto/gen/dxos/echo/model/text.d.ts +2 -4
  298. package/dist/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
  299. package/dist/src/proto/gen/dxos/echo/object.d.ts +6 -12
  300. package/dist/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
  301. package/dist/src/proto/gen/dxos/echo/object.js.map +1 -1
  302. package/dist/src/proto/gen/dxos/echo/query.d.ts +21 -9
  303. package/dist/src/proto/gen/dxos/echo/query.d.ts.map +1 -1
  304. package/dist/src/proto/gen/dxos/echo/query.js.map +1 -1
  305. package/dist/src/proto/gen/dxos/echo/service.d.ts +70 -34
  306. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  307. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +2 -4
  308. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  309. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +2 -4
  310. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  311. package/dist/src/proto/gen/dxos/edge/calls.d.ts +5 -10
  312. package/dist/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
  313. package/dist/src/proto/gen/dxos/edge/messenger.d.ts +28 -10
  314. package/dist/src/proto/gen/dxos/edge/messenger.d.ts.map +1 -1
  315. package/dist/src/proto/gen/dxos/edge/messenger.js.map +1 -1
  316. package/dist/src/proto/gen/dxos/edge/signal.d.ts +7 -14
  317. package/dist/src/proto/gen/dxos/edge/signal.d.ts.map +1 -1
  318. package/dist/src/proto/gen/dxos/error.d.ts +1 -2
  319. package/dist/src/proto/gen/dxos/error.d.ts.map +1 -1
  320. package/dist/src/proto/gen/dxos/gravity.d.ts +10 -20
  321. package/dist/src/proto/gen/dxos/gravity.d.ts.map +1 -1
  322. package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts +1 -2
  323. package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
  324. package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts +6 -12
  325. package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
  326. package/dist/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
  327. package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts +2 -4
  328. package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
  329. package/dist/src/proto/gen/dxos/halo/credentials.d.ts +47 -43
  330. package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  331. package/dist/src/proto/gen/dxos/halo/credentials.js +9 -0
  332. package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  333. package/dist/src/proto/gen/dxos/halo/invitations.d.ts +16 -28
  334. package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  335. package/dist/src/proto/gen/dxos/halo/invitations.js +3 -2
  336. package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -1
  337. package/dist/src/proto/gen/dxos/halo/keyring.d.ts +1 -2
  338. package/dist/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
  339. package/dist/src/proto/gen/dxos/halo/keys.d.ts +2 -4
  340. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  341. package/dist/src/proto/gen/dxos/halo/signed.d.ts +4 -8
  342. package/dist/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
  343. package/dist/src/proto/gen/dxos/iframe.d.ts +4 -18
  344. package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  345. package/dist/src/proto/gen/dxos/iframe.js.map +1 -1
  346. package/dist/src/proto/gen/dxos/keys.d.ts +2 -4
  347. package/dist/src/proto/gen/dxos/keys.d.ts.map +1 -1
  348. package/dist/src/proto/gen/dxos/mesh/bridge.d.ts +12 -24
  349. package/dist/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  350. package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts +1 -2
  351. package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
  352. package/dist/src/proto/gen/dxos/mesh/messaging.d.ts +2 -4
  353. package/dist/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
  354. package/dist/src/proto/gen/dxos/mesh/muxer.d.ts +5 -10
  355. package/dist/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
  356. package/dist/src/proto/gen/dxos/mesh/presence.d.ts +1 -2
  357. package/dist/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
  358. package/dist/src/proto/gen/dxos/mesh/protocol.d.ts +3 -6
  359. package/dist/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
  360. package/dist/src/proto/gen/dxos/mesh/replicator.d.ts +2 -4
  361. package/dist/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
  362. package/dist/src/proto/gen/dxos/mesh/signal.d.ts +9 -18
  363. package/dist/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  364. package/dist/src/proto/gen/dxos/mesh/signal.js.map +1 -1
  365. package/dist/src/proto/gen/dxos/mesh/swarm.d.ts +6 -12
  366. package/dist/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  367. package/dist/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -4
  368. package/dist/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  369. package/dist/src/proto/gen/dxos/mesh/teleport/automerge.d.ts +2 -4
  370. package/dist/src/proto/gen/dxos/mesh/teleport/automerge.d.ts.map +1 -1
  371. package/dist/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -6
  372. package/dist/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
  373. package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -6
  374. package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  375. package/dist/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +1 -2
  376. package/dist/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
  377. package/dist/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +1 -2
  378. package/dist/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  379. package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +5 -10
  380. package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  381. package/dist/src/proto/gen/dxos/mesh/teleport.d.ts +2 -4
  382. package/dist/src/proto/gen/dxos/mesh/teleport.d.ts.map +1 -1
  383. package/dist/src/proto/gen/dxos/registry.d.ts +3 -6
  384. package/dist/src/proto/gen/dxos/registry.d.ts.map +1 -1
  385. package/dist/src/proto/gen/dxos/rpc.d.ts +24 -12
  386. package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  387. package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
  388. package/dist/src/proto/gen/dxos/service/agentmanager.d.ts +4 -8
  389. package/dist/src/proto/gen/dxos/service/agentmanager.d.ts.map +1 -1
  390. package/dist/src/proto/gen/dxos/service/agentmanager.js.map +1 -1
  391. package/dist/src/proto/gen/dxos/service/publisher.d.ts +5 -10
  392. package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  393. package/dist/src/proto/gen/dxos/service/supervisor.d.ts +12 -24
  394. package/dist/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
  395. package/dist/src/proto/gen/dxos/service/supervisor.js.map +1 -1
  396. package/dist/src/proto/gen/dxos/service/tunnel.d.ts +3 -6
  397. package/dist/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
  398. package/dist/src/proto/gen/dxos/tracing.d.ts +10 -99
  399. package/dist/src/proto/gen/dxos/tracing.d.ts.map +1 -1
  400. package/dist/src/proto/gen/dxos/type.d.ts +12 -24
  401. package/dist/src/proto/gen/dxos/type.d.ts.map +1 -1
  402. package/dist/src/proto/gen/dxos/value.d.ts +2 -4
  403. package/dist/src/proto/gen/dxos/value.d.ts.map +1 -1
  404. package/dist/src/proto/gen/example/testing/data.d.ts +4 -8
  405. package/dist/src/proto/gen/example/testing/data.d.ts.map +1 -1
  406. package/dist/src/proto/gen/example/testing/rpc.d.ts +7 -14
  407. package/dist/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  408. package/dist/src/proto/gen/google/protobuf.d.ts +326 -40
  409. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  410. package/dist/src/proto/gen/google/protobuf.js +127 -1
  411. package/dist/src/proto/gen/google/protobuf.js.map +1 -1
  412. package/dist/src/proto/gen/index.d.ts +49 -7
  413. package/dist/src/proto/gen/index.d.ts.map +1 -1
  414. package/dist/src/proto/gen/index.js +1 -1
  415. package/dist/src/proto/gen/index.js.map +1 -1
  416. package/dist/src/proto/index.d.ts +2 -2
  417. package/dist/src/proto/substitutions.d.ts +8 -8
  418. package/dist/src/proto/substitutions.d.ts.map +1 -1
  419. package/dist/src/proto/types.d.ts +1 -1
  420. package/dist/src/space-archive.d.ts +62 -3
  421. package/dist/src/space-archive.d.ts.map +1 -1
  422. package/dist/src/space-archive.js +13 -1
  423. package/dist/src/space-archive.js.map +1 -1
  424. package/dist/src/types.d.ts +2 -2
  425. package/dist/tsconfig.tsbuildinfo +1 -1
  426. package/package.json +20 -37
  427. package/src/FeedProtocol.ts +323 -0
  428. package/src/FunctionProtocol.ts +111 -0
  429. package/src/TraceProtocol.ts +21 -0
  430. package/src/automerge.ts +247 -13
  431. package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +3 -3
  432. package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +3 -3
  433. package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +3 -3
  434. package/src/buf/proto/gen/dxos/agent/functions_pb.ts +3 -3
  435. package/src/buf/proto/gen/dxos/bot_pb.ts +3 -3
  436. package/src/buf/proto/gen/dxos/client/invitation_pb.ts +22 -8
  437. package/src/buf/proto/gen/dxos/client/logging_pb.ts +3 -3
  438. package/src/buf/proto/gen/dxos/client/queue_pb.ts +373 -0
  439. package/src/buf/proto/gen/dxos/client/services_pb.ts +206 -62
  440. package/src/buf/proto/gen/dxos/config_pb.ts +173 -10
  441. package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +3 -3
  442. package/src/buf/proto/gen/dxos/devtools/host_pb.ts +85 -4
  443. package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +3 -3
  444. package/src/buf/proto/gen/dxos/echo/blob_pb.ts +3 -3
  445. package/src/buf/proto/gen/dxos/echo/feed_pb.ts +3 -3
  446. package/src/buf/proto/gen/dxos/echo/filter_pb.ts +3 -3
  447. package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +3 -3
  448. package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +18 -4
  449. package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +3 -3
  450. package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +3 -3
  451. package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +3 -3
  452. package/src/buf/proto/gen/dxos/echo/object_pb.ts +3 -3
  453. package/src/buf/proto/gen/dxos/echo/query_pb.ts +18 -6
  454. package/src/buf/proto/gen/dxos/echo/service_pb.ts +100 -15
  455. package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +3 -3
  456. package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +3 -3
  457. package/src/buf/proto/gen/dxos/edge/calls_pb.ts +3 -3
  458. package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +41 -8
  459. package/src/buf/proto/gen/dxos/edge/signal_pb.ts +3 -3
  460. package/src/buf/proto/gen/dxos/error_pb.ts +3 -3
  461. package/src/buf/proto/gen/dxos/field_options_pb.ts +3 -3
  462. package/src/buf/proto/gen/dxos/google_pb.ts +3 -3
  463. package/src/buf/proto/gen/dxos/gravity_pb.ts +3 -3
  464. package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +3 -3
  465. package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +3 -3
  466. package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +3 -3
  467. package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +102 -25
  468. package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +16 -8
  469. package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +3 -3
  470. package/src/buf/proto/gen/dxos/halo/keys_pb.ts +3 -3
  471. package/src/buf/proto/gen/dxos/halo/signed_pb.ts +3 -3
  472. package/src/buf/proto/gen/dxos/iframe_pb.ts +5 -16
  473. package/src/buf/proto/gen/dxos/keys_pb.ts +3 -3
  474. package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +3 -3
  475. package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +3 -3
  476. package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +3 -3
  477. package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +3 -3
  478. package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +3 -3
  479. package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +3 -3
  480. package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +3 -3
  481. package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +3 -3
  482. package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +3 -3
  483. package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +3 -3
  484. package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +3 -3
  485. package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +3 -3
  486. package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +3 -3
  487. package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +3 -3
  488. package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +3 -3
  489. package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +3 -3
  490. package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +3 -3
  491. package/src/buf/proto/gen/dxos/registry_pb.ts +3 -3
  492. package/src/buf/proto/gen/dxos/rpc_pb.ts +39 -10
  493. package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +3 -3
  494. package/src/buf/proto/gen/dxos/service/publisher_pb.ts +3 -3
  495. package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +3 -3
  496. package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +3 -3
  497. package/src/buf/proto/gen/dxos/tracing_pb.ts +12 -179
  498. package/src/buf/proto/gen/dxos/type_pb.ts +3 -3
  499. package/src/buf/proto/gen/dxos/value_pb.ts +3 -3
  500. package/src/buf/proto/gen/example/testing/data_pb.ts +3 -3
  501. package/src/buf/proto/gen/example/testing/rpc_pb.ts +3 -3
  502. package/src/codec.test.ts +1 -1
  503. package/src/edge/EdgeFunctionEnv.ts +228 -0
  504. package/src/edge/edge.test.ts +64 -0
  505. package/src/edge/edge.ts +818 -0
  506. package/src/edge/errors.ts +85 -0
  507. package/src/edge/index.ts +8 -0
  508. package/src/edge/registry.ts +164 -0
  509. package/src/errors/base-errors.ts +4 -20
  510. package/src/errors/encoding.ts +2 -3
  511. package/src/errors/errors.test.ts +2 -2
  512. package/src/errors/errors.ts +57 -124
  513. package/src/errors/helpers.ts +6 -7
  514. package/src/errors/index.ts +5 -5
  515. package/src/feed-replication.ts +1 -0
  516. package/src/index.ts +12 -12
  517. package/src/indexing.test.ts +1 -1
  518. package/src/indexing.ts +1 -1
  519. package/src/invitation.ts +4 -4
  520. package/src/messenger.ts +22 -0
  521. package/src/profile-archive.ts +13 -0
  522. package/src/proto/dxos/client/invitation.proto +9 -2
  523. package/src/proto/dxos/client/queue.proto +102 -0
  524. package/src/proto/dxos/client/services.proto +43 -4
  525. package/src/proto/dxos/config.proto +85 -40
  526. package/src/proto/dxos/devtools/host.proto +27 -0
  527. package/src/proto/dxos/echo/metadata.proto +6 -0
  528. package/src/proto/dxos/echo/query.proto +4 -1
  529. package/src/proto/dxos/echo/service.proto +49 -4
  530. package/src/proto/dxos/edge/messenger.proto +10 -0
  531. package/src/proto/dxos/halo/credentials.proto +24 -0
  532. package/src/proto/dxos/halo/invitations.proto +5 -2
  533. package/src/proto/dxos/iframe.proto +1 -3
  534. package/src/proto/dxos/rpc.proto +7 -0
  535. package/src/proto/dxos/tracing.proto +0 -40
  536. package/src/proto/gen/dxos/agent/dashboard.ts +3 -6
  537. package/src/proto/gen/dxos/agent/echoproxy.ts +1 -2
  538. package/src/proto/gen/dxos/agent/epoch.ts +1 -2
  539. package/src/proto/gen/dxos/agent/functions.ts +6 -12
  540. package/src/proto/gen/dxos/bot.ts +12 -24
  541. package/src/proto/gen/dxos/client/services.ts +1065 -903
  542. package/src/proto/gen/dxos/config.ts +141 -100
  543. package/src/proto/gen/dxos/devtools/host.ts +101 -119
  544. package/src/proto/gen/dxos/devtools/swarm.ts +4 -8
  545. package/src/proto/gen/dxos/echo/blob.ts +1 -2
  546. package/src/proto/gen/dxos/echo/feed.ts +4 -8
  547. package/src/proto/gen/dxos/echo/filter.ts +2 -4
  548. package/src/proto/gen/dxos/echo/indexing.ts +2 -4
  549. package/src/proto/gen/dxos/echo/metadata.ts +16 -16
  550. package/src/proto/gen/dxos/echo/model/document.ts +11 -22
  551. package/src/proto/gen/dxos/echo/model/messenger.ts +1 -2
  552. package/src/proto/gen/dxos/echo/model/text.ts +2 -4
  553. package/src/proto/gen/dxos/echo/object.ts +6 -12
  554. package/src/proto/gen/dxos/echo/query.ts +21 -9
  555. package/src/proto/gen/dxos/echo/service.ts +69 -34
  556. package/src/proto/gen/dxos/echo/snapshot.ts +2 -4
  557. package/src/proto/gen/dxos/echo/timeframe.ts +2 -4
  558. package/src/proto/gen/dxos/edge/calls.ts +5 -10
  559. package/src/proto/gen/dxos/edge/messenger.ts +28 -10
  560. package/src/proto/gen/dxos/edge/signal.ts +7 -14
  561. package/src/proto/gen/dxos/error.ts +1 -2
  562. package/src/proto/gen/dxos/gravity.ts +10 -20
  563. package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -2
  564. package/src/proto/gen/dxos/halo/credentials/greet.ts +6 -12
  565. package/src/proto/gen/dxos/halo/credentials/identity.ts +2 -4
  566. package/src/proto/gen/dxos/halo/credentials.ts +47 -43
  567. package/src/proto/gen/dxos/halo/invitations.ts +16 -28
  568. package/src/proto/gen/dxos/halo/keyring.ts +1 -2
  569. package/src/proto/gen/dxos/halo/keys.ts +2 -4
  570. package/src/proto/gen/dxos/halo/signed.ts +4 -8
  571. package/src/proto/gen/dxos/iframe.ts +4 -18
  572. package/src/proto/gen/dxos/keys.ts +2 -4
  573. package/src/proto/gen/dxos/mesh/bridge.ts +12 -24
  574. package/src/proto/gen/dxos/mesh/broadcast.ts +1 -2
  575. package/src/proto/gen/dxos/mesh/messaging.ts +2 -4
  576. package/src/proto/gen/dxos/mesh/muxer.ts +5 -10
  577. package/src/proto/gen/dxos/mesh/presence.ts +1 -2
  578. package/src/proto/gen/dxos/mesh/protocol.ts +3 -6
  579. package/src/proto/gen/dxos/mesh/replicator.ts +2 -4
  580. package/src/proto/gen/dxos/mesh/signal.ts +9 -18
  581. package/src/proto/gen/dxos/mesh/swarm.ts +6 -12
  582. package/src/proto/gen/dxos/mesh/teleport/auth.ts +2 -4
  583. package/src/proto/gen/dxos/mesh/teleport/automerge.ts +2 -4
  584. package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +3 -6
  585. package/src/proto/gen/dxos/mesh/teleport/control.ts +3 -6
  586. package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -2
  587. package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -2
  588. package/src/proto/gen/dxos/mesh/teleport/replicator.ts +5 -10
  589. package/src/proto/gen/dxos/mesh/teleport.ts +2 -4
  590. package/src/proto/gen/dxos/registry.ts +3 -6
  591. package/src/proto/gen/dxos/rpc.ts +24 -12
  592. package/src/proto/gen/dxos/service/agentmanager.ts +4 -8
  593. package/src/proto/gen/dxos/service/publisher.ts +5 -10
  594. package/src/proto/gen/dxos/service/supervisor.ts +12 -24
  595. package/src/proto/gen/dxos/service/tunnel.ts +3 -6
  596. package/src/proto/gen/dxos/tracing.ts +10 -96
  597. package/src/proto/gen/dxos/type.ts +12 -24
  598. package/src/proto/gen/dxos/value.ts +2 -4
  599. package/src/proto/gen/example/testing/data.ts +4 -8
  600. package/src/proto/gen/example/testing/rpc.ts +7 -14
  601. package/src/proto/gen/google/protobuf.ts +326 -40
  602. package/src/proto/gen/index.ts +50 -8
  603. package/src/proto/index.ts +2 -2
  604. package/src/proto/types.ts +1 -1
  605. package/src/space-archive.ts +70 -1
  606. package/src/types.ts +2 -2
  607. package/dist/src/edge-error.d.ts +0 -26
  608. package/dist/src/edge-error.d.ts.map +0 -1
  609. package/dist/src/edge-error.js +0 -62
  610. package/dist/src/edge-error.js.map +0 -1
  611. package/dist/src/edge.d.ts +0 -243
  612. package/dist/src/edge.d.ts.map +0 -1
  613. package/dist/src/edge.js +0 -49
  614. package/dist/src/edge.js.map +0 -1
  615. package/dist/src/query.d.ts +0 -5
  616. package/dist/src/query.d.ts.map +0 -1
  617. package/dist/src/query.js +0 -8
  618. package/dist/src/query.js.map +0 -1
  619. package/dist/src/queue.d.ts +0 -24
  620. package/dist/src/queue.d.ts.map +0 -1
  621. package/dist/src/queue.js +0 -4
  622. package/dist/src/queue.js.map +0 -1
  623. package/dist/src/tracing.d.ts +0 -40
  624. package/dist/src/tracing.d.ts.map +0 -1
  625. package/dist/src/tracing.js +0 -50
  626. package/dist/src/tracing.js.map +0 -1
  627. package/src/edge-error.ts +0 -79
  628. package/src/edge.ts +0 -276
  629. package/src/query.ts +0 -8
  630. package/src/queue.ts +0 -33
  631. package/src/tracing.ts +0 -86
@@ -0,0 +1,373 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file dxos/client/queue.proto (package dxos.client.services, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file dxos/client/queue.proto.
13
+ */
14
+ export const file_dxos_client_queue: GenFile = /*@__PURE__*/
15
+ fileDesc("ChdkeG9zL2NsaWVudC9xdWV1ZS5wcm90bxIUZHhvcy5jbGllbnQuc2VydmljZXMi0wIKClF1ZXVlUXVlcnkSEAoIc3BhY2VfaWQYASABKAkSHQoQcXVldWVzX25hbWVzcGFjZRgCIAEoCUgAiAEBEhEKCXF1ZXVlX2lkcxgDIAMoCRISCgVhZnRlchgEIAEoCUgBiAEBEhMKBmJlZm9yZRgFIAEoCUgCiAEBEhsKDmJlZ2luX3Bvc2l0aW9uGAYgASgDSAOIAQESGQoMZW5kX3Bvc2l0aW9uGAcgASgDSASIAQESEgoFbGltaXQYCCABKAVIBYgBARIUCgdyZXZlcnNlGAkgASgISAaIAQESEgoKb2JqZWN0X2lkcxhkIAMoCUITChFfcXVldWVzX25hbWVzcGFjZUIICgZfYWZ0ZXJCCQoHX2JlZm9yZUIRCg9fYmVnaW5fcG9zaXRpb25CDwoNX2VuZF9wb3NpdGlvbkIICgZfbGltaXRCCgoIX3JldmVyc2UiTQoQUXVldWVRdWVyeVJlc3VsdBIPCgdvYmplY3RzGAEgAygJEhMKC25leHRfY3Vyc29yGAIgASgJEhMKC3ByZXZfY3Vyc29yGAMgASgJIkQKEVF1ZXJ5UXVldWVSZXF1ZXN0Ei8KBXF1ZXJ5GAEgASgLMiAuZHhvcy5jbGllbnQuc2VydmljZXMuUXVldWVRdWVyeSJjChZJbnNlcnRJbnRvUXVldWVSZXF1ZXN0EhQKDHN1YnNwYWNlX3RhZxgBIAEoCRIQCghzcGFjZV9pZBgCIAEoCRIQCghxdWV1ZV9pZBgDIAEoCRIPCgdvYmplY3RzGAQgAygJImYKFkRlbGV0ZUZyb21RdWV1ZVJlcXVlc3QSFAoMc3Vic3BhY2VfdGFnGAEgASgJEhAKCHNwYWNlX2lkGAIgASgJEhAKCHF1ZXVlX2lkGAMgASgJEhIKCm9iamVjdF9pZHMYBCADKAkioAEKEFN5bmNRdWV1ZVJlcXVlc3QSFAoMc3Vic3BhY2VfdGFnGAEgASgJEhAKCHNwYWNlX2lkGAIgASgJEhAKCHF1ZXVlX2lkGAMgASgJEhgKC3Nob3VsZF9wdXNoGAQgASgISACIAQESGAoLc2hvdWxkX3B1bGwYBSABKAhIAYgBAUIOCgxfc2hvdWxkX3B1c2hCDgoMX3Nob3VsZF9wdWxsIjsKE0dldFN5bmNTdGF0ZVJlcXVlc3QSEAoIc3BhY2VfaWQYASABKAkSEgoKbmFtZXNwYWNlcxgCIAMoCSJyChdRdWV1ZU5hbWVzcGFjZVN5bmNTdGF0ZRIRCgluYW1lc3BhY2UYASABKAkSFgoOYmxvY2tzX3RvX3B1bGwYAiABKAMSFgoOYmxvY2tzX3RvX3B1c2gYAyABKAMSFAoMdG90YWxfYmxvY2tzGAQgASgDIlkKFEdldFN5bmNTdGF0ZVJlc3BvbnNlEkEKCm5hbWVzcGFjZXMYASADKAsyLS5keG9zLmNsaWVudC5zZXJ2aWNlcy5RdWV1ZU5hbWVzcGFjZVN5bmNTdGF0ZTLTAwoMUXVldWVTZXJ2aWNlEl0KClF1ZXJ5UXVldWUSJy5keG9zLmNsaWVudC5zZXJ2aWNlcy5RdWVyeVF1ZXVlUmVxdWVzdBomLmR4b3MuY2xpZW50LnNlcnZpY2VzLlF1ZXVlUXVlcnlSZXN1bHQSVwoPSW5zZXJ0SW50b1F1ZXVlEiwuZHhvcy5jbGllbnQuc2VydmljZXMuSW5zZXJ0SW50b1F1ZXVlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJXCg9EZWxldGVGcm9tUXVldWUSLC5keG9zLmNsaWVudC5zZXJ2aWNlcy5EZWxldGVGcm9tUXVldWVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EksKCVN5bmNRdWV1ZRImLmR4b3MuY2xpZW50LnNlcnZpY2VzLlN5bmNRdWV1ZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSZQoMR2V0U3luY1N0YXRlEikuZHhvcy5jbGllbnQuc2VydmljZXMuR2V0U3luY1N0YXRlUmVxdWVzdBoqLmR4b3MuY2xpZW50LnNlcnZpY2VzLkdldFN5bmNTdGF0ZVJlc3BvbnNlYgZwcm90bzM", [file_google_protobuf_empty]);
16
+
17
+ /**
18
+ * @generated from message dxos.client.services.QueueQuery
19
+ */
20
+ export type QueueQuery = Message<"dxos.client.services.QueueQuery"> & {
21
+ /**
22
+ * @generated from field: string space_id = 1;
23
+ */
24
+ spaceId: string;
25
+
26
+ /**
27
+ * @generated from field: optional string queues_namespace = 2;
28
+ */
29
+ queuesNamespace?: string;
30
+
31
+ /**
32
+ * / Queries the whole space if missing.
33
+ *
34
+ * @generated from field: repeated string queue_ids = 3;
35
+ */
36
+ queueIds: string[];
37
+
38
+ /**
39
+ * / Filter items after this cursor. Exclusive.
40
+ *
41
+ * @generated from field: optional string after = 4;
42
+ */
43
+ after?: string;
44
+
45
+ /**
46
+ * / Filter items before this cursor. Exclusive.
47
+ *
48
+ * @generated from field: optional string before = 5;
49
+ */
50
+ before?: string;
51
+
52
+ /**
53
+ * / Filter items after this position. Inclusive.
54
+ *
55
+ * @generated from field: optional int64 begin_position = 6;
56
+ */
57
+ beginPosition?: bigint;
58
+
59
+ /**
60
+ * / Filter items before this position. Exclusive.
61
+ *
62
+ * @generated from field: optional int64 end_position = 7;
63
+ */
64
+ endPosition?: bigint;
65
+
66
+ /**
67
+ * @generated from field: optional int32 limit = 8;
68
+ */
69
+ limit?: number;
70
+
71
+ /**
72
+ * @generated from field: optional bool reverse = 9;
73
+ */
74
+ reverse?: boolean;
75
+
76
+ /**
77
+ * TODO(dmaretskyi): Remove this field -- raw queues dont index object IDs anymore.
78
+ *
79
+ * @generated from field: repeated string object_ids = 100;
80
+ */
81
+ objectIds: string[];
82
+ };
83
+
84
+ /**
85
+ * Describes the message dxos.client.services.QueueQuery.
86
+ * Use `create(QueueQuerySchema)` to create a new message.
87
+ */
88
+ export const QueueQuerySchema: GenMessage<QueueQuery> = /*@__PURE__*/
89
+ messageDesc(file_dxos_client_queue, 0);
90
+
91
+ /**
92
+ * @generated from message dxos.client.services.QueueQueryResult
93
+ */
94
+ export type QueueQueryResult = Message<"dxos.client.services.QueueQueryResult"> & {
95
+ /**
96
+ * / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
97
+ * / We use JSON strings instead of google.protobuf.Struct because Struct
98
+ * / coerces `undefined` to `null`, corrupting optional fields.
99
+ *
100
+ * @generated from field: repeated string objects = 1;
101
+ */
102
+ objects: string[];
103
+
104
+ /**
105
+ * / Cursor to query the next items. Can be passed to `after` in query to keep querying.
106
+ *
107
+ * @generated from field: string next_cursor = 2;
108
+ */
109
+ nextCursor: string;
110
+
111
+ /**
112
+ * @generated from field: string prev_cursor = 3;
113
+ */
114
+ prevCursor: string;
115
+ };
116
+
117
+ /**
118
+ * Describes the message dxos.client.services.QueueQueryResult.
119
+ * Use `create(QueueQueryResultSchema)` to create a new message.
120
+ */
121
+ export const QueueQueryResultSchema: GenMessage<QueueQueryResult> = /*@__PURE__*/
122
+ messageDesc(file_dxos_client_queue, 1);
123
+
124
+ /**
125
+ * @generated from message dxos.client.services.QueryQueueRequest
126
+ */
127
+ export type QueryQueueRequest = Message<"dxos.client.services.QueryQueueRequest"> & {
128
+ /**
129
+ * @generated from field: dxos.client.services.QueueQuery query = 1;
130
+ */
131
+ query?: QueueQuery;
132
+ };
133
+
134
+ /**
135
+ * Describes the message dxos.client.services.QueryQueueRequest.
136
+ * Use `create(QueryQueueRequestSchema)` to create a new message.
137
+ */
138
+ export const QueryQueueRequestSchema: GenMessage<QueryQueueRequest> = /*@__PURE__*/
139
+ messageDesc(file_dxos_client_queue, 2);
140
+
141
+ /**
142
+ * @generated from message dxos.client.services.InsertIntoQueueRequest
143
+ */
144
+ export type InsertIntoQueueRequest = Message<"dxos.client.services.InsertIntoQueueRequest"> & {
145
+ /**
146
+ * @generated from field: string subspace_tag = 1;
147
+ */
148
+ subspaceTag: string;
149
+
150
+ /**
151
+ * @generated from field: string space_id = 2;
152
+ */
153
+ spaceId: string;
154
+
155
+ /**
156
+ * @generated from field: string queue_id = 3;
157
+ */
158
+ queueId: string;
159
+
160
+ /**
161
+ * / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
162
+ *
163
+ * @generated from field: repeated string objects = 4;
164
+ */
165
+ objects: string[];
166
+ };
167
+
168
+ /**
169
+ * Describes the message dxos.client.services.InsertIntoQueueRequest.
170
+ * Use `create(InsertIntoQueueRequestSchema)` to create a new message.
171
+ */
172
+ export const InsertIntoQueueRequestSchema: GenMessage<InsertIntoQueueRequest> = /*@__PURE__*/
173
+ messageDesc(file_dxos_client_queue, 3);
174
+
175
+ /**
176
+ * @generated from message dxos.client.services.DeleteFromQueueRequest
177
+ */
178
+ export type DeleteFromQueueRequest = Message<"dxos.client.services.DeleteFromQueueRequest"> & {
179
+ /**
180
+ * @generated from field: string subspace_tag = 1;
181
+ */
182
+ subspaceTag: string;
183
+
184
+ /**
185
+ * @generated from field: string space_id = 2;
186
+ */
187
+ spaceId: string;
188
+
189
+ /**
190
+ * @generated from field: string queue_id = 3;
191
+ */
192
+ queueId: string;
193
+
194
+ /**
195
+ * @generated from field: repeated string object_ids = 4;
196
+ */
197
+ objectIds: string[];
198
+ };
199
+
200
+ /**
201
+ * Describes the message dxos.client.services.DeleteFromQueueRequest.
202
+ * Use `create(DeleteFromQueueRequestSchema)` to create a new message.
203
+ */
204
+ export const DeleteFromQueueRequestSchema: GenMessage<DeleteFromQueueRequest> = /*@__PURE__*/
205
+ messageDesc(file_dxos_client_queue, 4);
206
+
207
+ /**
208
+ * @generated from message dxos.client.services.SyncQueueRequest
209
+ */
210
+ export type SyncQueueRequest = Message<"dxos.client.services.SyncQueueRequest"> & {
211
+ /**
212
+ * @generated from field: string subspace_tag = 1;
213
+ */
214
+ subspaceTag: string;
215
+
216
+ /**
217
+ * @generated from field: string space_id = 2;
218
+ */
219
+ spaceId: string;
220
+
221
+ /**
222
+ * @generated from field: string queue_id = 3;
223
+ */
224
+ queueId: string;
225
+
226
+ /**
227
+ * / Whether to push local changes to the server. Defaults to true.
228
+ *
229
+ * @generated from field: optional bool should_push = 4;
230
+ */
231
+ shouldPush?: boolean;
232
+
233
+ /**
234
+ * / Whether to pull remote changes from the server. Defaults to true.
235
+ *
236
+ * @generated from field: optional bool should_pull = 5;
237
+ */
238
+ shouldPull?: boolean;
239
+ };
240
+
241
+ /**
242
+ * Describes the message dxos.client.services.SyncQueueRequest.
243
+ * Use `create(SyncQueueRequestSchema)` to create a new message.
244
+ */
245
+ export const SyncQueueRequestSchema: GenMessage<SyncQueueRequest> = /*@__PURE__*/
246
+ messageDesc(file_dxos_client_queue, 5);
247
+
248
+ /**
249
+ * @generated from message dxos.client.services.GetSyncStateRequest
250
+ */
251
+ export type GetSyncStateRequest = Message<"dxos.client.services.GetSyncStateRequest"> & {
252
+ /**
253
+ * @generated from field: string space_id = 1;
254
+ */
255
+ spaceId: string;
256
+
257
+ /**
258
+ * / If empty, returns state for all namespaces synced by the client.
259
+ *
260
+ * @generated from field: repeated string namespaces = 2;
261
+ */
262
+ namespaces: string[];
263
+ };
264
+
265
+ /**
266
+ * Describes the message dxos.client.services.GetSyncStateRequest.
267
+ * Use `create(GetSyncStateRequestSchema)` to create a new message.
268
+ */
269
+ export const GetSyncStateRequestSchema: GenMessage<GetSyncStateRequest> = /*@__PURE__*/
270
+ messageDesc(file_dxos_client_queue, 6);
271
+
272
+ /**
273
+ * @generated from message dxos.client.services.QueueNamespaceSyncState
274
+ */
275
+ export type QueueNamespaceSyncState = Message<"dxos.client.services.QueueNamespaceSyncState"> & {
276
+ /**
277
+ * @generated from field: string namespace = 1;
278
+ */
279
+ namespace: string;
280
+
281
+ /**
282
+ * / Blocks still to pull from remote. 0 when caught up.
283
+ *
284
+ * @generated from field: int64 blocks_to_pull = 2;
285
+ */
286
+ blocksToPull: bigint;
287
+
288
+ /**
289
+ * / Unpositioned blocks still to push to remote. 0 when caught up.
290
+ *
291
+ * @generated from field: int64 blocks_to_push = 3;
292
+ */
293
+ blocksToPush: bigint;
294
+
295
+ /**
296
+ * / Total blocks stored locally for this namespace in the space.
297
+ *
298
+ * @generated from field: int64 total_blocks = 4;
299
+ */
300
+ totalBlocks: bigint;
301
+ };
302
+
303
+ /**
304
+ * Describes the message dxos.client.services.QueueNamespaceSyncState.
305
+ * Use `create(QueueNamespaceSyncStateSchema)` to create a new message.
306
+ */
307
+ export const QueueNamespaceSyncStateSchema: GenMessage<QueueNamespaceSyncState> = /*@__PURE__*/
308
+ messageDesc(file_dxos_client_queue, 7);
309
+
310
+ /**
311
+ * @generated from message dxos.client.services.GetSyncStateResponse
312
+ */
313
+ export type GetSyncStateResponse = Message<"dxos.client.services.GetSyncStateResponse"> & {
314
+ /**
315
+ * @generated from field: repeated dxos.client.services.QueueNamespaceSyncState namespaces = 1;
316
+ */
317
+ namespaces: QueueNamespaceSyncState[];
318
+ };
319
+
320
+ /**
321
+ * Describes the message dxos.client.services.GetSyncStateResponse.
322
+ * Use `create(GetSyncStateResponseSchema)` to create a new message.
323
+ */
324
+ export const GetSyncStateResponseSchema: GenMessage<GetSyncStateResponse> = /*@__PURE__*/
325
+ messageDesc(file_dxos_client_queue, 8);
326
+
327
+ /**
328
+ * @generated from service dxos.client.services.QueueService
329
+ */
330
+ export const QueueService: GenService<{
331
+ /**
332
+ * @generated from rpc dxos.client.services.QueueService.QueryQueue
333
+ */
334
+ queryQueue: {
335
+ methodKind: "unary";
336
+ input: typeof QueryQueueRequestSchema;
337
+ output: typeof QueueQueryResultSchema;
338
+ },
339
+ /**
340
+ * @generated from rpc dxos.client.services.QueueService.InsertIntoQueue
341
+ */
342
+ insertIntoQueue: {
343
+ methodKind: "unary";
344
+ input: typeof InsertIntoQueueRequestSchema;
345
+ output: typeof EmptySchema;
346
+ },
347
+ /**
348
+ * @generated from rpc dxos.client.services.QueueService.DeleteFromQueue
349
+ */
350
+ deleteFromQueue: {
351
+ methodKind: "unary";
352
+ input: typeof DeleteFromQueueRequestSchema;
353
+ output: typeof EmptySchema;
354
+ },
355
+ /**
356
+ * @generated from rpc dxos.client.services.QueueService.SyncQueue
357
+ */
358
+ syncQueue: {
359
+ methodKind: "unary";
360
+ input: typeof SyncQueueRequestSchema;
361
+ output: typeof EmptySchema;
362
+ },
363
+ /**
364
+ * @generated from rpc dxos.client.services.QueueService.GetSyncState
365
+ */
366
+ getSyncState: {
367
+ methodKind: "unary";
368
+ input: typeof GetSyncStateRequestSchema;
369
+ output: typeof GetSyncStateResponseSchema;
370
+ },
371
+ }> = /*@__PURE__*/
372
+ serviceDesc(file_dxos_client_queue, 0);
373
+