@dxos/protocols 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae

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 (377) hide show
  1. package/README.md +1 -1
  2. package/dist/src/FeedProtocol.d.ts +528 -0
  3. package/dist/src/FeedProtocol.d.ts.map +1 -0
  4. package/dist/src/FeedProtocol.js +237 -0
  5. package/dist/src/FeedProtocol.js.map +1 -0
  6. package/dist/src/FunctionProtocol.d.ts +82 -0
  7. package/dist/src/FunctionProtocol.d.ts.map +1 -0
  8. package/dist/src/FunctionProtocol.js +4 -0
  9. package/dist/src/FunctionProtocol.js.map +1 -0
  10. package/dist/src/automerge.d.ts +8 -0
  11. package/dist/src/automerge.d.ts.map +1 -1
  12. package/dist/src/automerge.js.map +1 -1
  13. package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.d.ts +1 -1
  14. package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.js +1 -1
  15. package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.d.ts +1 -1
  16. package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.js +1 -1
  17. package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.d.ts +1 -1
  18. package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.js +1 -1
  19. package/dist/src/buf/proto/gen/dxos/agent/functions_pb.d.ts +1 -1
  20. package/dist/src/buf/proto/gen/dxos/agent/functions_pb.js +1 -1
  21. package/dist/src/buf/proto/gen/dxos/bot_pb.d.ts +1 -1
  22. package/dist/src/buf/proto/gen/dxos/bot_pb.js +1 -1
  23. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +1 -1
  24. package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +1 -1
  25. package/dist/src/buf/proto/gen/dxos/client/logging_pb.d.ts +1 -1
  26. package/dist/src/buf/proto/gen/dxos/client/logging_pb.js +1 -1
  27. package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +231 -0
  28. package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -0
  29. package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +44 -0
  30. package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -0
  31. package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +70 -20
  32. package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
  33. package/dist/src/buf/proto/gen/dxos/client/services_pb.js +32 -23
  34. package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
  35. package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +36 -7
  36. package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
  37. package/dist/src/buf/proto/gen/dxos/config_pb.js +7 -2
  38. package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
  39. package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.d.ts +1 -1
  40. package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.js +1 -1
  41. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +1 -1
  42. package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +1 -1
  43. package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.d.ts +1 -1
  44. package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.js +1 -1
  45. package/dist/src/buf/proto/gen/dxos/echo/blob_pb.d.ts +1 -1
  46. package/dist/src/buf/proto/gen/dxos/echo/blob_pb.js +1 -1
  47. package/dist/src/buf/proto/gen/dxos/echo/feed_pb.d.ts +1 -1
  48. package/dist/src/buf/proto/gen/dxos/echo/feed_pb.js +1 -1
  49. package/dist/src/buf/proto/gen/dxos/echo/filter_pb.d.ts +1 -1
  50. package/dist/src/buf/proto/gen/dxos/echo/filter_pb.js +1 -1
  51. package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.d.ts +1 -1
  52. package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.js +1 -1
  53. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +1 -1
  54. package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
  55. package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.d.ts +1 -1
  56. package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.js +1 -1
  57. package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.d.ts +1 -1
  58. package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.js +1 -1
  59. package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.d.ts +1 -1
  60. package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.js +1 -1
  61. package/dist/src/buf/proto/gen/dxos/echo/object_pb.d.ts +1 -1
  62. package/dist/src/buf/proto/gen/dxos/echo/object_pb.js +1 -1
  63. package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +13 -3
  64. package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts.map +1 -1
  65. package/dist/src/buf/proto/gen/dxos/echo/query_pb.js +2 -2
  66. package/dist/src/buf/proto/gen/dxos/echo/query_pb.js.map +1 -1
  67. package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +71 -10
  68. package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
  69. package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +16 -6
  70. package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
  71. package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.d.ts +1 -1
  72. package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.js +1 -1
  73. package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.d.ts +1 -1
  74. package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.js +1 -1
  75. package/dist/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +1 -1
  76. package/dist/src/buf/proto/gen/dxos/edge/calls_pb.js +1 -1
  77. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +1 -1
  78. package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +1 -1
  79. package/dist/src/buf/proto/gen/dxos/edge/signal_pb.d.ts +1 -1
  80. package/dist/src/buf/proto/gen/dxos/edge/signal_pb.js +1 -1
  81. package/dist/src/buf/proto/gen/dxos/error_pb.d.ts +1 -1
  82. package/dist/src/buf/proto/gen/dxos/error_pb.js +1 -1
  83. package/dist/src/buf/proto/gen/dxos/field_options_pb.d.ts +1 -1
  84. package/dist/src/buf/proto/gen/dxos/field_options_pb.js +1 -1
  85. package/dist/src/buf/proto/gen/dxos/google_pb.d.ts +1 -1
  86. package/dist/src/buf/proto/gen/dxos/google_pb.js +2 -2
  87. package/dist/src/buf/proto/gen/dxos/google_pb.js.map +1 -1
  88. package/dist/src/buf/proto/gen/dxos/gravity_pb.d.ts +1 -1
  89. package/dist/src/buf/proto/gen/dxos/gravity_pb.js +1 -1
  90. package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.d.ts +1 -1
  91. package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.js +1 -1
  92. package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.d.ts +1 -1
  93. package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.js +1 -1
  94. package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.d.ts +1 -1
  95. package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.js +1 -1
  96. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +1 -1
  97. package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
  98. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts +1 -1
  99. package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +1 -1
  100. package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.d.ts +1 -1
  101. package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.js +1 -1
  102. package/dist/src/buf/proto/gen/dxos/halo/keys_pb.d.ts +1 -1
  103. package/dist/src/buf/proto/gen/dxos/halo/keys_pb.js +1 -1
  104. package/dist/src/buf/proto/gen/dxos/halo/signed_pb.d.ts +1 -1
  105. package/dist/src/buf/proto/gen/dxos/halo/signed_pb.js +1 -1
  106. package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +2 -1
  107. package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
  108. package/dist/src/buf/proto/gen/dxos/iframe_pb.js +1 -1
  109. package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
  110. package/dist/src/buf/proto/gen/dxos/keys_pb.d.ts +1 -1
  111. package/dist/src/buf/proto/gen/dxos/keys_pb.js +1 -1
  112. package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.d.ts +1 -1
  113. package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.js +1 -1
  114. package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.d.ts +1 -1
  115. package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.js +1 -1
  116. package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.d.ts +1 -1
  117. package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.js +1 -1
  118. package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.d.ts +1 -1
  119. package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.js +1 -1
  120. package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.d.ts +1 -1
  121. package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.js +1 -1
  122. package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.d.ts +1 -1
  123. package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.js +1 -1
  124. package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.d.ts +1 -1
  125. package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.js +1 -1
  126. package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.d.ts +1 -1
  127. package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.js +1 -1
  128. package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.d.ts +1 -1
  129. package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.js +1 -1
  130. package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.d.ts +1 -1
  131. package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.js +1 -1
  132. package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.d.ts +1 -1
  133. package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.js +1 -1
  134. package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.d.ts +1 -1
  135. package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.js +1 -1
  136. package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.d.ts +1 -1
  137. package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.js +1 -1
  138. package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.d.ts +1 -1
  139. package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.js +1 -1
  140. package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.d.ts +1 -1
  141. package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.js +1 -1
  142. package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.d.ts +1 -1
  143. package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.js +1 -1
  144. package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.d.ts +1 -1
  145. package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.js +1 -1
  146. package/dist/src/buf/proto/gen/dxos/registry_pb.d.ts +1 -1
  147. package/dist/src/buf/proto/gen/dxos/registry_pb.js +1 -1
  148. package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +1 -1
  149. package/dist/src/buf/proto/gen/dxos/rpc_pb.js +1 -1
  150. package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.d.ts +1 -1
  151. package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.js +1 -1
  152. package/dist/src/buf/proto/gen/dxos/service/publisher_pb.d.ts +1 -1
  153. package/dist/src/buf/proto/gen/dxos/service/publisher_pb.js +1 -1
  154. package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.d.ts +1 -1
  155. package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.js +1 -1
  156. package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.d.ts +1 -1
  157. package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.js +1 -1
  158. package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -1
  159. package/dist/src/buf/proto/gen/dxos/tracing_pb.js +2 -2
  160. package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
  161. package/dist/src/buf/proto/gen/dxos/type_pb.d.ts +1 -1
  162. package/dist/src/buf/proto/gen/dxos/type_pb.js +1 -1
  163. package/dist/src/buf/proto/gen/dxos/value_pb.d.ts +1 -1
  164. package/dist/src/buf/proto/gen/dxos/value_pb.js +1 -1
  165. package/dist/src/buf/proto/gen/example/testing/data_pb.d.ts +1 -1
  166. package/dist/src/buf/proto/gen/example/testing/data_pb.js +1 -1
  167. package/dist/src/buf/proto/gen/example/testing/rpc_pb.d.ts +1 -1
  168. package/dist/src/buf/proto/gen/example/testing/rpc_pb.js +1 -1
  169. package/dist/src/codec.test.js +1 -1
  170. package/dist/src/edge/EdgeFunctionEnv.d.ts +121 -0
  171. package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -0
  172. package/dist/src/edge/EdgeFunctionEnv.js +4 -0
  173. package/dist/src/edge/EdgeFunctionEnv.js.map +1 -0
  174. package/dist/src/edge/edge.d.ts +353 -0
  175. package/dist/src/edge/edge.d.ts.map +1 -0
  176. package/dist/src/edge/edge.js +169 -0
  177. package/dist/src/edge/edge.js.map +1 -0
  178. package/dist/src/edge/errors.d.ts +29 -0
  179. package/dist/src/edge/errors.d.ts.map +1 -0
  180. package/dist/src/edge/errors.js +69 -0
  181. package/dist/src/edge/errors.js.map +1 -0
  182. package/dist/src/edge/index.d.ts +4 -0
  183. package/dist/src/edge/index.d.ts.map +1 -0
  184. package/dist/src/edge/index.js +7 -0
  185. package/dist/src/edge/index.js.map +1 -0
  186. package/dist/src/errors/base-errors.d.ts +86 -8
  187. package/dist/src/errors/base-errors.d.ts.map +1 -1
  188. package/dist/src/errors/base-errors.js +4 -19
  189. package/dist/src/errors/base-errors.js.map +1 -1
  190. package/dist/src/errors/encoding.d.ts +2 -2
  191. package/dist/src/errors/encoding.d.ts.map +1 -1
  192. package/dist/src/errors/encoding.js +1 -1
  193. package/dist/src/errors/encoding.js.map +1 -1
  194. package/dist/src/errors/errors.d.ts +619 -42
  195. package/dist/src/errors/errors.d.ts.map +1 -1
  196. package/dist/src/errors/errors.js +50 -104
  197. package/dist/src/errors/errors.js.map +1 -1
  198. package/dist/src/errors/errors.test.js +2 -2
  199. package/dist/src/errors/errors.test.js.map +1 -1
  200. package/dist/src/errors/helpers.d.ts +9 -5
  201. package/dist/src/errors/helpers.d.ts.map +1 -1
  202. package/dist/src/errors/helpers.js +3 -3
  203. package/dist/src/errors/helpers.js.map +1 -1
  204. package/dist/src/errors/index.d.ts +5 -5
  205. package/dist/src/errors/index.js +5 -5
  206. package/dist/src/feed-replication.d.ts.map +1 -1
  207. package/dist/src/index.d.ts +12 -12
  208. package/dist/src/index.d.ts.map +1 -1
  209. package/dist/src/index.js +11 -10
  210. package/dist/src/index.js.map +1 -1
  211. package/dist/src/indexing.d.ts +1 -1
  212. package/dist/src/indexing.d.ts.map +1 -1
  213. package/dist/src/indexing.js +1 -1
  214. package/dist/src/indexing.js.map +1 -1
  215. package/dist/src/indexing.test.js +1 -1
  216. package/dist/src/invitation.d.ts +1 -1
  217. package/dist/src/invitation.d.ts.map +1 -1
  218. package/dist/src/invitation.js +1 -1
  219. package/dist/src/invitation.js.map +1 -1
  220. package/dist/src/messenger.d.ts +16 -0
  221. package/dist/src/messenger.d.ts.map +1 -0
  222. package/dist/src/messenger.js +4 -0
  223. package/dist/src/messenger.js.map +1 -0
  224. package/dist/src/proto/gen/dxos/client/services.d.ts +300 -145
  225. package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  226. package/dist/src/proto/gen/dxos/client/services.js +37 -33
  227. package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
  228. package/dist/src/proto/gen/dxos/config.d.ts +28 -2
  229. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  230. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  231. package/dist/src/proto/gen/dxos/devtools/host.d.ts +31 -31
  232. package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  233. package/dist/src/proto/gen/dxos/echo/query.d.ts +17 -1
  234. package/dist/src/proto/gen/dxos/echo/query.d.ts.map +1 -1
  235. package/dist/src/proto/gen/dxos/echo/query.js.map +1 -1
  236. package/dist/src/proto/gen/dxos/echo/service.d.ts +43 -8
  237. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  238. package/dist/src/proto/gen/google/protobuf.d.ts +31 -31
  239. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  240. package/dist/src/proto/gen/google/protobuf.js.map +1 -1
  241. package/dist/src/proto/gen/index.d.ts +11 -0
  242. package/dist/src/proto/gen/index.d.ts.map +1 -1
  243. package/dist/src/proto/gen/index.js +1 -1
  244. package/dist/src/proto/gen/index.js.map +1 -1
  245. package/dist/src/proto/index.d.ts +2 -2
  246. package/dist/src/proto/index.js +1 -1
  247. package/dist/src/proto/types.d.ts +1 -1
  248. package/dist/src/types.d.ts +2 -2
  249. package/dist/tsconfig.tsbuildinfo +1 -1
  250. package/package.json +19 -17
  251. package/src/FeedProtocol.ts +320 -0
  252. package/src/FunctionProtocol.ts +102 -0
  253. package/src/automerge.ts +8 -0
  254. package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +3 -3
  255. package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +3 -3
  256. package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +3 -3
  257. package/src/buf/proto/gen/dxos/agent/functions_pb.ts +3 -3
  258. package/src/buf/proto/gen/dxos/bot_pb.ts +3 -3
  259. package/src/buf/proto/gen/dxos/client/invitation_pb.ts +3 -3
  260. package/src/buf/proto/gen/dxos/client/logging_pb.ts +3 -3
  261. package/src/buf/proto/gen/dxos/client/queue_pb.ts +280 -0
  262. package/src/buf/proto/gen/dxos/client/services_pb.ts +89 -29
  263. package/src/buf/proto/gen/dxos/config_pb.ts +43 -10
  264. package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +3 -3
  265. package/src/buf/proto/gen/dxos/devtools/host_pb.ts +3 -3
  266. package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +3 -3
  267. package/src/buf/proto/gen/dxos/echo/blob_pb.ts +3 -3
  268. package/src/buf/proto/gen/dxos/echo/feed_pb.ts +3 -3
  269. package/src/buf/proto/gen/dxos/echo/filter_pb.ts +3 -3
  270. package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +3 -3
  271. package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +3 -3
  272. package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +3 -3
  273. package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +3 -3
  274. package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +3 -3
  275. package/src/buf/proto/gen/dxos/echo/object_pb.ts +3 -3
  276. package/src/buf/proto/gen/dxos/echo/query_pb.ts +18 -6
  277. package/src/buf/proto/gen/dxos/echo/service_pb.ts +87 -18
  278. package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +3 -3
  279. package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +3 -3
  280. package/src/buf/proto/gen/dxos/edge/calls_pb.ts +3 -3
  281. package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +3 -3
  282. package/src/buf/proto/gen/dxos/edge/signal_pb.ts +3 -3
  283. package/src/buf/proto/gen/dxos/error_pb.ts +3 -3
  284. package/src/buf/proto/gen/dxos/field_options_pb.ts +3 -3
  285. package/src/buf/proto/gen/dxos/google_pb.ts +3 -3
  286. package/src/buf/proto/gen/dxos/gravity_pb.ts +3 -3
  287. package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +3 -3
  288. package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +3 -3
  289. package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +3 -3
  290. package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +3 -3
  291. package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +3 -3
  292. package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +3 -3
  293. package/src/buf/proto/gen/dxos/halo/keys_pb.ts +3 -3
  294. package/src/buf/proto/gen/dxos/halo/signed_pb.ts +3 -3
  295. package/src/buf/proto/gen/dxos/iframe_pb.ts +4 -3
  296. package/src/buf/proto/gen/dxos/keys_pb.ts +3 -3
  297. package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +3 -3
  298. package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +3 -3
  299. package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +3 -3
  300. package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +3 -3
  301. package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +3 -3
  302. package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +3 -3
  303. package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +3 -3
  304. package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +3 -3
  305. package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +3 -3
  306. package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +3 -3
  307. package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +3 -3
  308. package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +3 -3
  309. package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +3 -3
  310. package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +3 -3
  311. package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +3 -3
  312. package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +3 -3
  313. package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +3 -3
  314. package/src/buf/proto/gen/dxos/registry_pb.ts +3 -3
  315. package/src/buf/proto/gen/dxos/rpc_pb.ts +3 -3
  316. package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +3 -3
  317. package/src/buf/proto/gen/dxos/service/publisher_pb.ts +3 -3
  318. package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +3 -3
  319. package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +3 -3
  320. package/src/buf/proto/gen/dxos/tracing_pb.ts +3 -3
  321. package/src/buf/proto/gen/dxos/type_pb.ts +3 -3
  322. package/src/buf/proto/gen/dxos/value_pb.ts +3 -3
  323. package/src/buf/proto/gen/example/testing/data_pb.ts +3 -3
  324. package/src/buf/proto/gen/example/testing/rpc_pb.ts +3 -3
  325. package/src/codec.test.ts +1 -1
  326. package/src/edge/EdgeFunctionEnv.ts +203 -0
  327. package/src/edge/edge.ts +493 -0
  328. package/src/edge/errors.ts +85 -0
  329. package/src/edge/index.ts +7 -0
  330. package/src/errors/base-errors.ts +4 -20
  331. package/src/errors/encoding.ts +3 -2
  332. package/src/errors/errors.test.ts +2 -2
  333. package/src/errors/errors.ts +58 -123
  334. package/src/errors/helpers.ts +6 -6
  335. package/src/errors/index.ts +5 -5
  336. package/src/feed-replication.ts +1 -0
  337. package/src/index.ts +12 -12
  338. package/src/indexing.test.ts +1 -1
  339. package/src/indexing.ts +1 -1
  340. package/src/invitation.ts +1 -1
  341. package/src/messenger.ts +22 -0
  342. package/src/proto/dxos/client/queue.proto +78 -0
  343. package/src/proto/dxos/client/services.proto +21 -3
  344. package/src/proto/dxos/config.proto +36 -40
  345. package/src/proto/dxos/echo/query.proto +4 -1
  346. package/src/proto/dxos/echo/service.proto +38 -6
  347. package/src/proto/dxos/iframe.proto +1 -0
  348. package/src/proto/gen/dxos/client/services.ts +300 -145
  349. package/src/proto/gen/dxos/config.ts +28 -2
  350. package/src/proto/gen/dxos/devtools/host.ts +31 -31
  351. package/src/proto/gen/dxos/echo/query.ts +17 -1
  352. package/src/proto/gen/dxos/echo/service.ts +42 -8
  353. package/src/proto/gen/google/protobuf.ts +31 -31
  354. package/src/proto/gen/index.ts +12 -1
  355. package/src/proto/index.ts +2 -2
  356. package/src/proto/types.ts +1 -1
  357. package/src/types.ts +2 -2
  358. package/dist/src/edge-error.d.ts +0 -26
  359. package/dist/src/edge-error.d.ts.map +0 -1
  360. package/dist/src/edge-error.js +0 -62
  361. package/dist/src/edge-error.js.map +0 -1
  362. package/dist/src/edge.d.ts +0 -198
  363. package/dist/src/edge.d.ts.map +0 -1
  364. package/dist/src/edge.js +0 -43
  365. package/dist/src/edge.js.map +0 -1
  366. package/dist/src/query.d.ts +0 -5
  367. package/dist/src/query.d.ts.map +0 -1
  368. package/dist/src/query.js +0 -8
  369. package/dist/src/query.js.map +0 -1
  370. package/dist/src/queue.d.ts +0 -24
  371. package/dist/src/queue.d.ts.map +0 -1
  372. package/dist/src/queue.js +0 -4
  373. package/dist/src/queue.js.map +0 -1
  374. package/src/edge-error.ts +0 -79
  375. package/src/edge.ts +0 -222
  376. package/src/query.ts +0 -8
  377. package/src/queue.ts +0 -33
@@ -67,195 +67,130 @@ import * as example_testing_rpc from "../../example/testing/rpc.js";
67
67
  import * as google_protobuf from "../../google/protobuf.js";
68
68
  /**
69
69
  * Defined in:
70
- * {@link file://./../../../dxos/client/invitation.proto}
71
- */
72
- export interface AdmissionKeypair {
73
- publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
74
- /**
75
- * Options:
76
- * - proto3_optional = true
77
- */
78
- privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
79
- }
80
- /**
81
- * Runtime state of the space object.
82
- *
83
- * Defined in:
84
- * {@link file://./../../../dxos/client/invitation.proto}
70
+ * {@link file://./../../../dxos/client/queue.proto}
85
71
  */
86
- export enum SpaceState {
87
- INVALID = 0,
88
- SPACE_INACTIVE = 2,
89
- SPACE_ACTIVE = 6,
90
- SPACE_CLOSED = 1,
91
- SPACE_CONTROL_ONLY = 7,
92
- SPACE_INITIALIZING = 4,
93
- SPACE_READY = 3,
94
- SPACE_ERROR = 5,
95
- SPACE_REQUIRES_MIGRATION = 8
96
- }
97
- /**
98
- * Represents the invitation state passed between client and service.
99
- *
100
- * Defined in:
101
- * {@link file://./../../../dxos/client/invitation.proto}
102
- */
103
- export interface Invitation {
104
- /**
105
- * Local identifier (random).
106
- */
107
- invitationId: string;
108
- /**
109
- * Determines the behavior of the invitation.
110
- */
111
- type: Invitation.Type;
112
- /**
113
- * Kind of access the invitation will grant.
114
- */
115
- kind: Invitation.Kind;
116
- /**
117
- * How the invitation is authenticated.
118
- */
119
- authMethod: Invitation.AuthMethod;
120
- /**
121
- * Swarm rendezvous (random).
122
- */
123
- swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
124
- /**
125
- * Local state.
126
- */
127
- state: Invitation.State;
72
+ export interface QueueQuery {
73
+ spaceId: string;
128
74
  /**
129
- * Timeout for guest to complete invitation once connected (ms).
130
- *
131
75
  * Options:
132
76
  * - proto3_optional = true
133
77
  */
134
- timeout?: number;
78
+ queuesNamespace?: string;
135
79
  /**
136
- * Guest's identity.
137
- *
138
- * Options:
139
- * - proto3_optional = true
80
+ * Queries the whole space if missing.
140
81
  */
141
- identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
82
+ queueIds?: string[];
142
83
  /**
143
- * Space to join (only present if kind is SPACE).
84
+ * Filter items after this cursor. Exclusive.
144
85
  *
145
86
  * Options:
146
87
  * - proto3_optional = true
147
88
  */
148
- spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
89
+ after?: string;
149
90
  /**
150
- * Authentication code created by host (only present if auth_method is SHARED_SECRET).
91
+ * Filter items before this cursor. Exclusive.
151
92
  *
152
93
  * Options:
153
94
  * - proto3_optional = true
154
95
  */
155
- authCode?: string;
96
+ before?: string;
156
97
  /**
157
- * Path or identifier to navigate to after successful authentication.
98
+ * Filter items after this position. Inclusive.
158
99
  *
159
100
  * Options:
160
101
  * - proto3_optional = true
161
102
  */
162
- target?: string;
103
+ beginPosition?: string;
163
104
  /**
164
- * Host should resume invitation on startup until timeout.
105
+ * Filter items before this position. Exclusive.
165
106
  *
166
107
  * Options:
167
108
  * - proto3_optional = true
168
109
  */
169
- persistent?: boolean;
170
- /**
171
- * Options:
172
- * - proto3_optional = true
173
- */
174
- created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
110
+ endPosition?: string;
175
111
  /**
176
112
  * Options:
177
113
  * - proto3_optional = true
178
114
  */
179
- lifetime?: number;
115
+ limit?: number;
180
116
  /**
181
- * Whether an invitation can be used multiple times.
182
- *
183
117
  * Options:
184
118
  * - proto3_optional = true
185
119
  */
186
- multiUse?: boolean;
120
+ reverse?: boolean;
121
+ objectIds?: string[];
122
+ }
123
+ /**
124
+ * Defined in:
125
+ * {@link file://./../../../dxos/client/queue.proto}
126
+ */
127
+ export interface QueueQueryResult {
128
+ objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
187
129
  /**
188
- * Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
189
- *
190
- * Options:
191
- * - proto3_optional = true
130
+ * Cursor to query the next items. Can be passed to `after` in query to keep querying.
192
131
  */
193
- guestKeypair?: AdmissionKeypair;
194
- /**
195
- * Present on Type.DELEGATED invitations.
196
- *
197
- * Options:
198
- * - proto3_optional = true
199
- */
200
- delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
132
+ nextCursor: string;
133
+ prevCursor: string;
134
+ }
135
+ /**
136
+ * Defined in:
137
+ * {@link file://./../../../dxos/client/queue.proto}
138
+ */
139
+ export interface QueryQueueRequest {
140
+ query: QueueQuery;
141
+ }
142
+ /**
143
+ * Defined in:
144
+ * {@link file://./../../../dxos/client/queue.proto}
145
+ */
146
+ export interface InsertIntoQueueRequest {
147
+ subspaceTag: string;
148
+ spaceId: string;
149
+ queueId: string;
150
+ objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
151
+ }
152
+ /**
153
+ * Defined in:
154
+ * {@link file://./../../../dxos/client/queue.proto}
155
+ */
156
+ export interface DeleteFromQueueRequest {
157
+ subspaceTag: string;
158
+ spaceId: string;
159
+ queueId: string;
160
+ objectIds?: string[];
161
+ }
162
+ /**
163
+ * Defined in:
164
+ * {@link file://./../../../dxos/client/queue.proto}
165
+ */
166
+ export interface SyncQueueRequest {
167
+ subspaceTag: string;
168
+ spaceId: string;
169
+ queueId: string;
201
170
  /**
202
- * Role of the admitted member, defaults to ADMIN.
171
+ * Whether to push local changes to the server. Defaults to true.
203
172
  *
204
173
  * Options:
205
174
  * - proto3_optional = true
206
175
  */
207
- role?: dxos_halo_credentials.SpaceMember.Role;
176
+ shouldPush?: boolean;
208
177
  /**
209
- * Id of a the space to join (only present if kind is SPACE).
178
+ * Whether to pull remote changes from the server. Defaults to true.
210
179
  *
211
180
  * Options:
212
181
  * - proto3_optional = true
213
182
  */
214
- spaceId?: string;
183
+ shouldPull?: boolean;
215
184
  }
216
- export namespace Invitation {
217
- /**
218
- * Defined in:
219
- * {@link file://./../../../dxos/client/invitation.proto}
220
- */
221
- export enum Type {
222
- INTERACTIVE = 0,
223
- DELEGATED = 1,
224
- MULTIUSE = 2
225
- }
226
- /**
227
- * Defined in:
228
- * {@link file://./../../../dxos/client/invitation.proto}
229
- */
230
- export enum Kind {
231
- DEVICE = 0,
232
- SPACE = 1
233
- }
234
- /**
235
- * Defined in:
236
- * {@link file://./../../../dxos/client/invitation.proto}
237
- */
238
- export enum AuthMethod {
239
- NONE = 0,
240
- SHARED_SECRET = 1,
241
- KNOWN_PUBLIC_KEY = 2
242
- }
243
- /**
244
- * Defined in:
245
- * {@link file://./../../../dxos/client/invitation.proto}
246
- */
247
- export enum State {
248
- INIT = 0,
249
- CONNECTING = 1,
250
- CONNECTED = 2,
251
- READY_FOR_AUTHENTICATION = 3,
252
- AUTHENTICATING = 4,
253
- SUCCESS = 5,
254
- CANCELLED = 6,
255
- TIMEOUT = 7,
256
- ERROR = 8,
257
- EXPIRED = 9
258
- }
185
+ /**
186
+ * Defined in:
187
+ * {@link file://./../../../dxos/client/queue.proto}
188
+ */
189
+ export interface QueueService {
190
+ queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
191
+ insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
192
+ deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
193
+ syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
259
194
  }
260
195
  /**
261
196
  * Defined in:
@@ -435,6 +370,198 @@ export interface LoggingService {
435
370
  queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
436
371
  queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
437
372
  }
373
+ /**
374
+ * Defined in:
375
+ * {@link file://./../../../dxos/client/invitation.proto}
376
+ */
377
+ export interface AdmissionKeypair {
378
+ publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
379
+ /**
380
+ * Options:
381
+ * - proto3_optional = true
382
+ */
383
+ privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
384
+ }
385
+ /**
386
+ * Runtime state of the space object.
387
+ *
388
+ * Defined in:
389
+ * {@link file://./../../../dxos/client/invitation.proto}
390
+ */
391
+ export enum SpaceState {
392
+ INVALID = 0,
393
+ SPACE_INACTIVE = 2,
394
+ SPACE_ACTIVE = 6,
395
+ SPACE_CLOSED = 1,
396
+ SPACE_CONTROL_ONLY = 7,
397
+ SPACE_INITIALIZING = 4,
398
+ SPACE_READY = 3,
399
+ SPACE_ERROR = 5,
400
+ SPACE_REQUIRES_MIGRATION = 8
401
+ }
402
+ /**
403
+ * Represents the invitation state passed between client and service.
404
+ *
405
+ * Defined in:
406
+ * {@link file://./../../../dxos/client/invitation.proto}
407
+ */
408
+ export interface Invitation {
409
+ /**
410
+ * Local identifier (random).
411
+ */
412
+ invitationId: string;
413
+ /**
414
+ * Determines the behavior of the invitation.
415
+ */
416
+ type: Invitation.Type;
417
+ /**
418
+ * Kind of access the invitation will grant.
419
+ */
420
+ kind: Invitation.Kind;
421
+ /**
422
+ * How the invitation is authenticated.
423
+ */
424
+ authMethod: Invitation.AuthMethod;
425
+ /**
426
+ * Swarm rendezvous (random).
427
+ */
428
+ swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
429
+ /**
430
+ * Local state.
431
+ */
432
+ state: Invitation.State;
433
+ /**
434
+ * Timeout for guest to complete invitation once connected (ms).
435
+ *
436
+ * Options:
437
+ * - proto3_optional = true
438
+ */
439
+ timeout?: number;
440
+ /**
441
+ * Guest's identity.
442
+ *
443
+ * Options:
444
+ * - proto3_optional = true
445
+ */
446
+ identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
447
+ /**
448
+ * Space to join (only present if kind is SPACE).
449
+ *
450
+ * Options:
451
+ * - proto3_optional = true
452
+ */
453
+ spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
454
+ /**
455
+ * Authentication code created by host (only present if auth_method is SHARED_SECRET).
456
+ *
457
+ * Options:
458
+ * - proto3_optional = true
459
+ */
460
+ authCode?: string;
461
+ /**
462
+ * Path or identifier to navigate to after successful authentication.
463
+ *
464
+ * Options:
465
+ * - proto3_optional = true
466
+ */
467
+ target?: string;
468
+ /**
469
+ * Host should resume invitation on startup until timeout.
470
+ *
471
+ * Options:
472
+ * - proto3_optional = true
473
+ */
474
+ persistent?: boolean;
475
+ /**
476
+ * Options:
477
+ * - proto3_optional = true
478
+ */
479
+ created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
480
+ /**
481
+ * Options:
482
+ * - proto3_optional = true
483
+ */
484
+ lifetime?: number;
485
+ /**
486
+ * Whether an invitation can be used multiple times.
487
+ *
488
+ * Options:
489
+ * - proto3_optional = true
490
+ */
491
+ multiUse?: boolean;
492
+ /**
493
+ * Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
494
+ *
495
+ * Options:
496
+ * - proto3_optional = true
497
+ */
498
+ guestKeypair?: AdmissionKeypair;
499
+ /**
500
+ * Present on Type.DELEGATED invitations.
501
+ *
502
+ * Options:
503
+ * - proto3_optional = true
504
+ */
505
+ delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
506
+ /**
507
+ * Role of the admitted member, defaults to ADMIN.
508
+ *
509
+ * Options:
510
+ * - proto3_optional = true
511
+ */
512
+ role?: dxos_halo_credentials.SpaceMember.Role;
513
+ /**
514
+ * Id of a the space to join (only present if kind is SPACE).
515
+ *
516
+ * Options:
517
+ * - proto3_optional = true
518
+ */
519
+ spaceId?: string;
520
+ }
521
+ export namespace Invitation {
522
+ /**
523
+ * Defined in:
524
+ * {@link file://./../../../dxos/client/invitation.proto}
525
+ */
526
+ export enum Type {
527
+ INTERACTIVE = 0,
528
+ DELEGATED = 1,
529
+ MULTIUSE = 2
530
+ }
531
+ /**
532
+ * Defined in:
533
+ * {@link file://./../../../dxos/client/invitation.proto}
534
+ */
535
+ export enum Kind {
536
+ DEVICE = 0,
537
+ SPACE = 1
538
+ }
539
+ /**
540
+ * Defined in:
541
+ * {@link file://./../../../dxos/client/invitation.proto}
542
+ */
543
+ export enum AuthMethod {
544
+ NONE = 0,
545
+ SHARED_SECRET = 1,
546
+ KNOWN_PUBLIC_KEY = 2
547
+ }
548
+ /**
549
+ * Defined in:
550
+ * {@link file://./../../../dxos/client/invitation.proto}
551
+ */
552
+ export enum State {
553
+ INIT = 0,
554
+ CONNECTING = 1,
555
+ CONNECTED = 2,
556
+ READY_FOR_AUTHENTICATION = 3,
557
+ AUTHENTICATING = 4,
558
+ SUCCESS = 5,
559
+ CANCELLED = 6,
560
+ TIMEOUT = 7,
561
+ ERROR = 8,
562
+ EXPIRED = 9
563
+ }
564
+ }
438
565
  /**
439
566
  * Defined in:
440
567
  * {@link file://./../../../dxos/client/services.proto}
@@ -555,7 +682,8 @@ export namespace Platform {
555
682
  export enum PLATFORM_TYPE {
556
683
  BROWSER = 0,
557
684
  SHARED_WORKER = 1,
558
- NODE = 2
685
+ NODE = 2,
686
+ DEDICATED_WORKER = 3
559
687
  }
560
688
  }
561
689
  /**
@@ -1399,9 +1527,36 @@ export interface EdgeAgentService {
1399
1527
  * Defined in:
1400
1528
  * {@link file://./../../../dxos/client/services.proto}
1401
1529
  */
1402
- export enum EdgeStatus {
1403
- NOT_CONNECTED = 0,
1404
- CONNECTED = 1
1530
+ export interface EdgeStatus {
1531
+ state: EdgeStatus.ConnectionState;
1532
+ /**
1533
+ * Latency in ms
1534
+ */
1535
+ rtt: number;
1536
+ /**
1537
+ * How long the connection has been up
1538
+ */
1539
+ uptime: number;
1540
+ /**
1541
+ * Upload rate in bytes per second
1542
+ */
1543
+ rateBytesUp: number;
1544
+ /**
1545
+ * Download rate in bytes per second
1546
+ */
1547
+ rateBytesDown: number;
1548
+ messagesSent: number;
1549
+ messagesReceived: number;
1550
+ }
1551
+ export namespace EdgeStatus {
1552
+ /**
1553
+ * Defined in:
1554
+ * {@link file://./../../../dxos/client/services.proto}
1555
+ */
1556
+ export enum ConnectionState {
1557
+ NOT_CONNECTED = 0,
1558
+ CONNECTED = 1
1559
+ }
1405
1560
  }
1406
1561
  /**
1407
1562
  * Defined in:
@@ -309,7 +309,7 @@ export namespace Runtime {
309
309
  */
310
310
  devtoolsProxy?: string;
311
311
  /**
312
- * Spaces will stay in SpaceState.CLOSED until explicitly opened. Speeds up client-services initialization.
312
+ * client-services initialization.
313
313
  *
314
314
  * Options:
315
315
  * - proto3_optional = true
@@ -789,6 +789,8 @@ export namespace Runtime {
789
789
  */
790
790
  export interface Services {
791
791
  /**
792
+ * Deprecated
793
+ *
792
794
  * Options:
793
795
  * - proto3_optional = true
794
796
  */
@@ -827,21 +829,29 @@ export namespace Runtime {
827
829
  */
828
830
  publisher?: Runtime.Services.Publisher;
829
831
  /**
832
+ * Deprecated
833
+ *
830
834
  * Options:
831
835
  * - proto3_optional = true
832
836
  */
833
837
  supervisor?: Runtime.Services.Supervisor;
834
838
  /**
839
+ * Deprecated
840
+ *
835
841
  * Options:
836
842
  * - proto3_optional = true
837
843
  */
838
844
  tunneling?: Runtime.Services.Tunneling;
839
845
  /**
846
+ * Deprecated
847
+ *
840
848
  * Options:
841
849
  * - proto3_optional = true
842
850
  */
843
851
  faasd?: Runtime.Services.Faasd;
844
852
  /**
853
+ * Deprecated
854
+ *
845
855
  * Options:
846
856
  * - proto3_optional = true
847
857
  */
@@ -856,6 +866,11 @@ export namespace Runtime {
856
866
  * - proto3_optional = true
857
867
  */
858
868
  ai?: Runtime.Services.Ai;
869
+ /**
870
+ * Options:
871
+ * - proto3_optional = true
872
+ */
873
+ hub?: Runtime.Services.Hub;
859
874
  }
860
875
  export namespace Services {
861
876
  /**
@@ -971,7 +986,7 @@ export namespace Runtime {
971
986
  */
972
987
  gateway?: string;
973
988
  /**
974
- * Same secret format as https://github.com/ipfs/kubo/blob/master/docs/config.md#apiauthorizations
989
+ * https://github.com/ipfs/kubo/blob/master/docs/config.md#apiauthorizations
975
990
  *
976
991
  * Options:
977
992
  * - proto3_optional = true
@@ -1153,6 +1168,17 @@ export namespace Runtime {
1153
1168
  */
1154
1169
  server?: string;
1155
1170
  }
1171
+ /**
1172
+ * Defined in:
1173
+ * {@link file://./../../dxos/config.proto}
1174
+ */
1175
+ export interface Hub {
1176
+ /**
1177
+ * Options:
1178
+ * - proto3_optional = true
1179
+ */
1180
+ url?: string;
1181
+ }
1156
1182
  }
1157
1183
  /**
1158
1184
  * Defined in:
@@ -65,37 +65,6 @@ import * as dxos_value from "../value.js";
65
65
  import * as example_testing_data from "../../example/testing/data.js";
66
66
  import * as example_testing_rpc from "../../example/testing/rpc.js";
67
67
  import * as google_protobuf from "../../google/protobuf.js";
68
- /**
69
- * Defined in:
70
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
71
- */
72
- export interface Services {
73
- spaces?: SpaceStats[];
74
- }
75
- /**
76
- * Defined in:
77
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
78
- */
79
- export interface SpaceStats {
80
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
81
- peers?: PeerStats[];
82
- }
83
- /**
84
- * Defined in:
85
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
86
- */
87
- export interface PeerStats {
88
- controlFeed: FeedStats;
89
- dataFeed: FeedStats;
90
- }
91
- /**
92
- * Defined in:
93
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
94
- */
95
- export interface FeedStats {
96
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
97
- length: number;
98
- }
99
68
  /**
100
69
  * Defined in:
101
70
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -531,3 +500,34 @@ export interface SubscribeToSwarmInfoRequest {
531
500
  export interface SubscribeToSwarmInfoResponse {
532
501
  data?: dxos_devtools_swarm.SwarmInfo[];
533
502
  }
503
+ /**
504
+ * Defined in:
505
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
506
+ */
507
+ export interface Services {
508
+ spaces?: SpaceStats[];
509
+ }
510
+ /**
511
+ * Defined in:
512
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
513
+ */
514
+ export interface SpaceStats {
515
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
516
+ peers?: PeerStats[];
517
+ }
518
+ /**
519
+ * Defined in:
520
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
521
+ */
522
+ export interface PeerStats {
523
+ controlFeed: FeedStats;
524
+ dataFeed: FeedStats;
525
+ }
526
+ /**
527
+ * Defined in:
528
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
529
+ */
530
+ export interface FeedStats {
531
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
532
+ length: number;
533
+ }
@@ -106,9 +106,25 @@ export interface Heads {
106
106
  export interface QueryResult {
107
107
  id: string;
108
108
  spaceId: string;
109
- documentId: string;
109
+ /**
110
+ * Options:
111
+ * - proto3_optional = true
112
+ */
113
+ documentId?: string;
114
+ /**
115
+ * Options:
116
+ * - proto3_optional = true
117
+ */
118
+ queueId?: string;
119
+ /**
120
+ * Options:
121
+ * - proto3_optional = true
122
+ */
123
+ queueNamespace?: string;
110
124
  rank: number;
111
125
  /**
126
+ * In the ECHO Json object format.
127
+ *
112
128
  * Options:
113
129
  * - proto3_optional = true
114
130
  */