@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
@@ -1 +1 @@
1
- {"version":3,"file":"automerge.d.ts","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG;IAAE,QAAQ,EAAE,IAAI,CAAA;CAAE,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,yBAAyB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,uBAAuB,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC,MA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1
  //
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
+ /** Wire literal for {@link ErrorProtocolMessage}. */
5
+ export const MESSAGE_TYPE_ERROR = 'error';
6
+ // ─── Subduction transport / control protocol ──────────────────────────────────
7
+ // Frames produced and consumed by `@automerge/automerge-repo`'s subduction
8
+ // transport bridge (`NetworkAdapterTransport`) plus the DXOS-side envelope
9
+ // and reconnect marker. Carried by the Edge subduction channel
10
+ // (`EdgeService.SUBDUCTION_REPLICATOR`) and the in-memory subduction adapter.
11
+ /** Wire literal for {@link SubductionConnectionMessage}. */
12
+ export const MESSAGE_TYPE_SUBDUCTION_CONNECTION = 'subduction-connection';
13
+ /** Wire literal for {@link SubductionFrameEnvelope}. */
14
+ export const MESSAGE_TYPE_SUBDUCTION_FRAME = 'subduction-frame';
15
+ // ─── DXOS collection sync protocol ────────────────────────────────────────────
16
+ // DXOS extension on top of the automerge-repo Message type, used by
17
+ // `CollectionSynchronizer` to negotiate per-collection sync state. Carried
18
+ // by both the classical and subduction channels.
19
+ /** Wire literal for {@link CollectionQueryMessage}. */
4
20
  export const MESSAGE_TYPE_COLLECTION_QUERY = 'collection-query';
21
+ /** Wire literal for {@link CollectionStateMessage}. */
5
22
  export const MESSAGE_TYPE_COLLECTION_STATE = 'collection-state';
6
23
  //# sourceMappingURL=automerge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AA2FF,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AAehE,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC"}
1
+ {"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAyIF,qDAAqD;AACrD,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC;AA0B1C,iFAAiF;AACjF,2EAA2E;AAC3E,2EAA2E;AAC3E,+DAA+D;AAC/D,8EAA8E;AAE9E,4DAA4D;AAC5D,MAAM,CAAC,MAAM,kCAAkC,GAAG,uBAAuB,CAAC;AAE1E,wDAAwD;AACxD,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AAmDhE,iFAAiF;AACjF,oEAAoE;AACpE,2EAA2E;AAC3E,iDAAiD;AAEjD,uDAAuD;AACvD,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AA4BhE,uDAAuD;AACvD,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { EmptySchema } from "@bufbuild/protobuf/wkt";
3
3
  import type { Runtime_Agent_Plugin } from "../config_pb.js";
4
4
  import type { Message } from "@bufbuild/protobuf";
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
6
6
  import { file_dxos_config } from "../config_pb.js";
7
7
  /**
@@ -1,4 +1,4 @@
1
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Message } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Describes the file dxos/agent/echo-proxy.proto.
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  /**
6
6
  * Describes the file dxos/agent/echo-proxy.proto.
7
7
  */
@@ -1,4 +1,4 @@
1
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Message } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Describes the file dxos/agent/epoch.proto.
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  /**
6
6
  * Describes the file dxos/agent/epoch.proto.
7
7
  */
@@ -1,4 +1,4 @@
1
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { EmptySchema } from "@bufbuild/protobuf/wkt";
3
3
  import type { Message } from "@bufbuild/protobuf";
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
6
6
  /**
7
7
  * Describes the file dxos/agent/functions.proto.
@@ -1,4 +1,4 @@
1
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
3
3
  import type { Invitation } from "./client/invitation_pb.js";
4
4
  import type { Config } from "./config_pb.js";
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
6
  import { file_dxos_client_invitation } from "./client/invitation_pb.js";
7
7
  import { file_dxos_config } from "./config_pb.js";
@@ -1,4 +1,4 @@
1
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
3
  import type { SpaceMember_Role } from "../halo/credentials_pb.js";
4
4
  import type { PrivateKey, PublicKey } from "../keys_pb.js";
@@ -187,13 +187,19 @@ export declare const Invitation_TypeSchema: GenEnum<Invitation_Type>;
187
187
  */
188
188
  export declare enum Invitation_Kind {
189
189
  /**
190
- * @generated from enum value: DEVICE = 0;
190
+ * / Unset / unknown. Must not be used for new invitations.
191
+ *
192
+ * @generated from enum value: INVALID = 0;
193
+ */
194
+ INVALID = 0,
195
+ /**
196
+ * @generated from enum value: DEVICE = 1;
191
197
  */
192
- DEVICE = 0,
198
+ DEVICE = 1,
193
199
  /**
194
- * @generated from enum value: SPACE = 1;
200
+ * @generated from enum value: SPACE = 2;
195
201
  */
196
- SPACE = 1
202
+ SPACE = 2
197
203
  }
198
204
  /**
199
205
  * Describes the enum dxos.client.services.Invitation.Kind.
@@ -297,6 +303,12 @@ export declare enum SpaceState {
297
303
  * @generated from enum value: SPACE_ACTIVE = 6;
298
304
  */
299
305
  SPACE_ACTIVE = 6,
306
+ /**
307
+ * / Space is tombstoned (soft-deleted). Replicated to other devices; never auto-opened.
308
+ *
309
+ * @generated from enum value: SPACE_DELETED = 9;
310
+ */
311
+ SPACE_DELETED = 9,
300
312
  /**
301
313
  * / Space is closed.
302
314
  *
@@ -1 +1 @@
1
- {"version":3,"file":"invitation_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/invitation_pb.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,OAC6gF,CAAC;AAExjF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IAChF;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,CACnB,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,iCAAiC,CAAC,GAAG;IACpE;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,EAAE,eAAe,CAAC;IAEtB;;;;OAIG;IACH,IAAI,EAAE,eAAe,CAAC;IAEtB;;;;OAIG;IACH,UAAU,EAAE,qBAAqB,CAAC;IAElC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;OAIG;IACH,KAAK,EAAE,gBAAgB,CAAC;IAExB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IA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AAC,qBAAqB,CAC1B,CAAC;AAE9C;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,SAAS,IAAI;IAEb;;OAEG;IACH,wBAAwB,IAAI;IAE5B;;OAEG;IACH,cAAc,IAAI;IAElB;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,SAAS,IAAI;IAEb;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC,gBAAgB,CAChB,CAAC;AAE9C;;;;GAIG;AACH,oBAAY,UAAU;IACpB;;OAEG;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,cAAc,IAAI;IAElB;;;;OAIG;IACH,YAAY,IAAI;IAEhB;;;;OAIG;IACH,YAAY,IAAI;IAEhB;;;;OAIG;IACH,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,wBAAwB,IAAI;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,UAAU,CACP,CAAC"}
1
+ {"version":3,"file":"invitation_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/invitation_pb.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;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,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC,gBAAgB,CAChB,CAAC;AAE9C;;;;GAIG;AACH,oBAAY,UAAU;IACpB;;OAEG;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,cAAc,IAAI;IAElB;;;;OAIG;IACH,YAAY,IAAI;IAEhB;;;;OAIG;IACH,aAAa,IAAI;IAEjB;;;;OAIG;IACH,YAAY,IAAI;IAEhB;;;;OAIG;IACH,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,wBAAwB,IAAI;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,UAAU,CACP,CAAC"}
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2021 DXOS.org
3
3
  //
4
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
6
  import { file_dxos_config } from "../config_pb.js";
7
7
  import { file_dxos_devtools_swarm } from "../devtools/swarm_pb.js";
@@ -16,7 +16,7 @@ import { file_dxos_value } from "../value_pb.js";
16
16
  /**
17
17
  * Describes the file dxos/client/invitation.proto.
18
18
  */
19
- export const file_dxos_client_invitation = /*@__PURE__*/ fileDesc("ChxkeG9zL2NsaWVudC9pbnZpdGF0aW9uLnByb3RvEhRkeG9zLmNsaWVudC5zZXJ2aWNlcyJ9ChBBZG1pc3Npb25LZXlwYWlyEigKCnB1YmxpY19rZXkYASABKAsyFC5keG9zLmtleXMuUHVibGljS2V5Ei8KC3ByaXZhdGVfa2V5GAIgASgLMhUuZHhvc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cGFjZV9pZBgTIAEoCUgMiAEBIjQKBFR5cGUSDwoLSU5URVJBQ1RJVkUQABINCglERUxFR0FURUQQARIMCghNVUxUSVVTRRACIh0KBEtpbmQSCgoGREVWSUNFEAASCQoFU1BBQ0UQASI/CgpBdXRoTWV0aG9kEggKBE5PTkUQABIRCg1TSEFSRURfU0VDUkVUEAESFAoQS05PV05fUFVCTElDX0tFWRACIqMBCgVTdGF0ZRIICgRJTklUEAASDgoKQ09OTkVDVElORxABEg0KCUNPTk5FQ1RFRBACEhwKGFJFQURZX0ZPUl9BVVRIRU5USUNBVElPThADEhIKDkFVVEhFTlRJQ0FUSU5HEAQSCwoHU1VDQ0VTUxAFEg0KCUNBTkNFTExFRBAGEgsKB1RJTUVPVVQQBxIJCgVFUlJPUhAIEgsKB0VYUElSRUQQCUIKCghfdGltZW91dEIPCg1faWRlbnRpdHlfa2V5QgwKCl9zcGFjZV9rZXlCDAoKX2F1dGhfY29kZUIJCgdfdGFyZ2V0Qg0KC19wZXJzaXN0ZW50QgoKCF9jcmVhdGVkQgsKCV9saWZldGltZUIMCgpfbXVsdGlfdXNlQhAKDl9ndWVzdF9rZXlwYWlyQhsKGV9kZWxlZ2F0aW9uX2NyZWRlbnRpYWxfaWRCBwoFX3JvbGVCCwoJX3NwYWNlX2lkKsEBCgpTcGFjZVN0YXRlEgsKB0lOVkFMSUQQABISCg5TUEFDRV9JTkFDVElWRRACEhAKDFNQQUNFX0FDVElWRRAGEhAKDFNQQUNFX0NMT1NFRBABEhYKElNQQUNFX0NPTlRST0xfT05MWRAHEhYKElNQQUNFX0lOSVRJQUxJWklORxAEEg8KC1NQQUNFX1JFQURZEAMSDwoLU1BBQ0VfRVJST1IQBRIcChhTUEFDRV9SRVFVSVJFU19NSUdSQVRJT04QCGIGcHJvdG8z", [file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp, file_dxos_config, file_dxos_devtools_swarm, file_dxos_echo_timeframe, file_dxos_error, file_dxos_halo_credentials, file_dxos_keys, file_dxos_mesh_signal, file_dxos_mesh_presence, file_dxos_mesh_teleport_gossip, file_dxos_value]);
19
+ export const file_dxos_client_invitation = /*@__PURE__*/ fileDesc("ChxkeG9zL2NsaWVudC9pbnZpdGF0aW9uLnByb3RvEhRkeG9zLmNsaWVudC5zZXJ2aWNlcyJ9ChBBZG1pc3Npb25LZXlwYWlyEigKCnB1YmxpY19rZXkYASABKAsyFC5keG9zLmtleXMuUHVibGljS2V5Ei8KC3ByaXZhdGVfa2V5GAIgASgLMhUuZHhvcy5rZXlzLlByaXZhdGVLZXlIAIgBAUIOCgxfcHJpdmF0ZV9rZXkipwoKCkludml0YXRpb24SFQoNaW52aXRhdGlvbl9pZBgBIAEoCRIzCgR0eXBlGAIgASgOMiUuZHhvcy5jbGllbnQuc2VydmljZXMuSW52aXRhdGlvbi5UeXBlEjMKBGtpbmQYAyABKA4yJS5keG9zLmNsaWVudC5zZXJ2aWNlcy5JbnZpdGF0aW9uLktpbmQSQAoLYXV0aF9tZXRob2QYBCABKA4yKy5keG9zLmNsaWVudC5zZXJ2aWNlcy5JbnZpdGF0aW9uLkF1dGhNZXRob2QSJwoJc3dhcm1fa2V5GAUgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleRI1CgVzdGF0ZRgGIAEoDjImLmR4b3MuY2xpZW50LnNlcnZpY2VzLkludml0YXRpb24uU3RhdGUSFAoHdGltZW91dBgHIAEoBUgAiAEBEi8KDGlkZW50aXR5X2tleRgIIAEoCzIULmR4b3Mua2V5cy5QdWJsaWNLZXlIAYgBARIsCglzcGFjZV9rZXkYCSABKAsyFC5keG9zLmtleXMuUHVibGljS2V5SAKIAQESFgoJYXV0aF9jb2RlGAogASgJSAOIAQESEwoGdGFyZ2V0GAsgASgJSASIAQESFwoKcGVyc2lzdGVudBgMIAEoCEgFiAEBEjAKB2NyZWF0ZWQYDSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAaIAQESFQoIbGlmZXRpbW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AhIQCgxTUEFDRV9BQ1RJVkUQBhIRCg1TUEFDRV9ERUxFVEVEEAkSEAoMU1BBQ0VfQ0xPU0VEEAESFgoSU1BBQ0VfQ09OVFJPTF9PTkxZEAcSFgoSU1BBQ0VfSU5JVElBTElaSU5HEAQSDwoLU1BBQ0VfUkVBRFkQAxIPCgtTUEFDRV9FUlJPUhAFEhwKGFNQQUNFX1JFUVVJUkVTX01JR1JBVElPThAIYgZwcm90bzM", [file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp, file_dxos_config, file_dxos_devtools_swarm, file_dxos_echo_timeframe, file_dxos_error, file_dxos_halo_credentials, file_dxos_keys, file_dxos_mesh_signal, file_dxos_mesh_presence, file_dxos_mesh_teleport_gossip, file_dxos_value]);
20
20
  /**
21
21
  * Describes the message dxos.client.services.AdmissionKeypair.
22
22
  * Use `create(AdmissionKeypairSchema)` to create a new message.
@@ -63,13 +63,19 @@ export const Invitation_TypeSchema = /*@__PURE__*/ enumDesc(file_dxos_client_inv
63
63
  export var Invitation_Kind;
64
64
  (function (Invitation_Kind) {
65
65
  /**
66
- * @generated from enum value: DEVICE = 0;
66
+ * / Unset / unknown. Must not be used for new invitations.
67
+ *
68
+ * @generated from enum value: INVALID = 0;
69
+ */
70
+ Invitation_Kind[Invitation_Kind["INVALID"] = 0] = "INVALID";
71
+ /**
72
+ * @generated from enum value: DEVICE = 1;
67
73
  */
68
- Invitation_Kind[Invitation_Kind["DEVICE"] = 0] = "DEVICE";
74
+ Invitation_Kind[Invitation_Kind["DEVICE"] = 1] = "DEVICE";
69
75
  /**
70
- * @generated from enum value: SPACE = 1;
76
+ * @generated from enum value: SPACE = 2;
71
77
  */
72
- Invitation_Kind[Invitation_Kind["SPACE"] = 1] = "SPACE";
78
+ Invitation_Kind[Invitation_Kind["SPACE"] = 2] = "SPACE";
73
79
  })(Invitation_Kind || (Invitation_Kind = {}));
74
80
  /**
75
81
  * Describes the enum dxos.client.services.Invitation.Kind.
@@ -176,6 +182,12 @@ export var SpaceState;
176
182
  * @generated from enum value: SPACE_ACTIVE = 6;
177
183
  */
178
184
  SpaceState[SpaceState["SPACE_ACTIVE"] = 6] = "SPACE_ACTIVE";
185
+ /**
186
+ * / Space is tombstoned (soft-deleted). Replicated to other devices; never auto-opened.
187
+ *
188
+ * @generated from enum value: SPACE_DELETED = 9;
189
+ */
190
+ SpaceState[SpaceState["SPACE_DELETED"] = 9] = "SPACE_DELETED";
179
191
  /**
180
192
  * / Space is closed.
181
193
  *
@@ -1 +1 @@
1
- {"version":3,"file":"invitation_pb.js","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/invitation_pb.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AASF,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAC3J,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,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M,CAAN,IAAY,gBAkDX;AAlDD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,uDAAQ,CAAA;IAER;;OAEG;IACH,mEAAc,CAAA;IAEd;;OAEG;IACH,iEAAa,CAAA;IAEb;;OAEG;IACH,+FAA4B,CAAA;IAE5B;;OAEG;IACH,2EAAkB,CAAA;IAElB;;OAEG;IACH,6DAAW,CAAA;IAEX;;OAEG;IACH,iEAAa,CAAA;IAEb;;OAEG;IACH,6DAAW,CAAA;IAEX;;OAEG;IACH,yDAAS,CAAA;IAET;;OAEG;IACH,6DAAW,CAAA;AACb,CAAC,EAlDW,gBAAgB,KAAhB,gBAAgB,QAkD3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,2BAA2B,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE9C;;;;GAIG;AACH,MAAM,CAAN,IAAY,UAoEX;AApED,WAAY,UAAU;IACpB;;OAEG;IACH,iDAAW,CAAA;IAEX;;;;OAIG;IACH,+DAAkB,CAAA;IAElB;;;;OAIG;IACH,2DAAgB,CAAA;IAEhB;;;;OAIG;IACH,6DAAiB,CAAA;IAEjB;;;;OAIG;IACH,2DAAgB,CAAA;IAEhB;;;;OAIG;IACH,uEAAsB,CAAA;IAEtB;;;;OAIG;IACH,uEAAsB,CAAA;IAEtB;;;;OAIG;IACH,yDAAe,CAAA;IAEf;;;;OAIG;IACH,yDAAe,CAAA;IAEf;;;;OAIG;IACH,mFAA4B,CAAA;AAC9B,CAAC,EApEW,UAAU,KAAV,UAAU,QAoErB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB,aAAa,CAChE,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
3
  import type { Error } from "../error_pb.js";
4
4
  import type { Stats, Value } from "../value_pb.js";
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // Copyright 2021 DXOS.org
3
3
  //
4
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
6
  import { file_dxos_config } from "../config_pb.js";
7
7
  import { file_dxos_echo_metadata } from "../echo/metadata_pb.js";
@@ -0,0 +1,311 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file dxos/client/queue.proto.
6
+ */
7
+ export declare const file_dxos_client_queue: GenFile;
8
+ /**
9
+ * @generated from message dxos.client.services.QueueQuery
10
+ */
11
+ export type QueueQuery = Message<"dxos.client.services.QueueQuery"> & {
12
+ /**
13
+ * @generated from field: string space_id = 1;
14
+ */
15
+ spaceId: string;
16
+ /**
17
+ * @generated from field: optional string queues_namespace = 2;
18
+ */
19
+ queuesNamespace?: string;
20
+ /**
21
+ * / Queries the whole space if missing.
22
+ *
23
+ * @generated from field: repeated string queue_ids = 3;
24
+ */
25
+ queueIds: string[];
26
+ /**
27
+ * / Filter items after this cursor. Exclusive.
28
+ *
29
+ * @generated from field: optional string after = 4;
30
+ */
31
+ after?: string;
32
+ /**
33
+ * / Filter items before this cursor. Exclusive.
34
+ *
35
+ * @generated from field: optional string before = 5;
36
+ */
37
+ before?: string;
38
+ /**
39
+ * / Filter items after this position. Inclusive.
40
+ *
41
+ * @generated from field: optional int64 begin_position = 6;
42
+ */
43
+ beginPosition?: bigint;
44
+ /**
45
+ * / Filter items before this position. Exclusive.
46
+ *
47
+ * @generated from field: optional int64 end_position = 7;
48
+ */
49
+ endPosition?: bigint;
50
+ /**
51
+ * @generated from field: optional int32 limit = 8;
52
+ */
53
+ limit?: number;
54
+ /**
55
+ * @generated from field: optional bool reverse = 9;
56
+ */
57
+ reverse?: boolean;
58
+ /**
59
+ * TODO(dmaretskyi): Remove this field -- raw queues dont index object IDs anymore.
60
+ *
61
+ * @generated from field: repeated string object_ids = 100;
62
+ */
63
+ objectIds: string[];
64
+ };
65
+ /**
66
+ * Describes the message dxos.client.services.QueueQuery.
67
+ * Use `create(QueueQuerySchema)` to create a new message.
68
+ */
69
+ export declare const QueueQuerySchema: GenMessage<QueueQuery>;
70
+ /**
71
+ * @generated from message dxos.client.services.QueueQueryResult
72
+ */
73
+ export type QueueQueryResult = Message<"dxos.client.services.QueueQueryResult"> & {
74
+ /**
75
+ * / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
76
+ * / We use JSON strings instead of google.protobuf.Struct because Struct
77
+ * / coerces `undefined` to `null`, corrupting optional fields.
78
+ *
79
+ * @generated from field: repeated string objects = 1;
80
+ */
81
+ objects: string[];
82
+ /**
83
+ * / Cursor to query the next items. Can be passed to `after` in query to keep querying.
84
+ *
85
+ * @generated from field: string next_cursor = 2;
86
+ */
87
+ nextCursor: string;
88
+ /**
89
+ * @generated from field: string prev_cursor = 3;
90
+ */
91
+ prevCursor: string;
92
+ };
93
+ /**
94
+ * Describes the message dxos.client.services.QueueQueryResult.
95
+ * Use `create(QueueQueryResultSchema)` to create a new message.
96
+ */
97
+ export declare const QueueQueryResultSchema: GenMessage<QueueQueryResult>;
98
+ /**
99
+ * @generated from message dxos.client.services.QueryQueueRequest
100
+ */
101
+ export type QueryQueueRequest = Message<"dxos.client.services.QueryQueueRequest"> & {
102
+ /**
103
+ * @generated from field: dxos.client.services.QueueQuery query = 1;
104
+ */
105
+ query?: QueueQuery;
106
+ };
107
+ /**
108
+ * Describes the message dxos.client.services.QueryQueueRequest.
109
+ * Use `create(QueryQueueRequestSchema)` to create a new message.
110
+ */
111
+ export declare const QueryQueueRequestSchema: GenMessage<QueryQueueRequest>;
112
+ /**
113
+ * @generated from message dxos.client.services.InsertIntoQueueRequest
114
+ */
115
+ export type InsertIntoQueueRequest = Message<"dxos.client.services.InsertIntoQueueRequest"> & {
116
+ /**
117
+ * @generated from field: string subspace_tag = 1;
118
+ */
119
+ subspaceTag: string;
120
+ /**
121
+ * @generated from field: string space_id = 2;
122
+ */
123
+ spaceId: string;
124
+ /**
125
+ * @generated from field: string queue_id = 3;
126
+ */
127
+ queueId: string;
128
+ /**
129
+ * / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
130
+ *
131
+ * @generated from field: repeated string objects = 4;
132
+ */
133
+ objects: string[];
134
+ };
135
+ /**
136
+ * Describes the message dxos.client.services.InsertIntoQueueRequest.
137
+ * Use `create(InsertIntoQueueRequestSchema)` to create a new message.
138
+ */
139
+ export declare const InsertIntoQueueRequestSchema: GenMessage<InsertIntoQueueRequest>;
140
+ /**
141
+ * @generated from message dxos.client.services.DeleteFromQueueRequest
142
+ */
143
+ export type DeleteFromQueueRequest = Message<"dxos.client.services.DeleteFromQueueRequest"> & {
144
+ /**
145
+ * @generated from field: string subspace_tag = 1;
146
+ */
147
+ subspaceTag: string;
148
+ /**
149
+ * @generated from field: string space_id = 2;
150
+ */
151
+ spaceId: string;
152
+ /**
153
+ * @generated from field: string queue_id = 3;
154
+ */
155
+ queueId: string;
156
+ /**
157
+ * @generated from field: repeated string object_ids = 4;
158
+ */
159
+ objectIds: string[];
160
+ };
161
+ /**
162
+ * Describes the message dxos.client.services.DeleteFromQueueRequest.
163
+ * Use `create(DeleteFromQueueRequestSchema)` to create a new message.
164
+ */
165
+ export declare const DeleteFromQueueRequestSchema: GenMessage<DeleteFromQueueRequest>;
166
+ /**
167
+ * @generated from message dxos.client.services.SyncQueueRequest
168
+ */
169
+ export type SyncQueueRequest = Message<"dxos.client.services.SyncQueueRequest"> & {
170
+ /**
171
+ * @generated from field: string subspace_tag = 1;
172
+ */
173
+ subspaceTag: string;
174
+ /**
175
+ * @generated from field: string space_id = 2;
176
+ */
177
+ spaceId: string;
178
+ /**
179
+ * @generated from field: string queue_id = 3;
180
+ */
181
+ queueId: string;
182
+ /**
183
+ * / Whether to push local changes to the server. Defaults to true.
184
+ *
185
+ * @generated from field: optional bool should_push = 4;
186
+ */
187
+ shouldPush?: boolean;
188
+ /**
189
+ * / Whether to pull remote changes from the server. Defaults to true.
190
+ *
191
+ * @generated from field: optional bool should_pull = 5;
192
+ */
193
+ shouldPull?: boolean;
194
+ };
195
+ /**
196
+ * Describes the message dxos.client.services.SyncQueueRequest.
197
+ * Use `create(SyncQueueRequestSchema)` to create a new message.
198
+ */
199
+ export declare const SyncQueueRequestSchema: GenMessage<SyncQueueRequest>;
200
+ /**
201
+ * @generated from message dxos.client.services.GetSyncStateRequest
202
+ */
203
+ export type GetSyncStateRequest = Message<"dxos.client.services.GetSyncStateRequest"> & {
204
+ /**
205
+ * @generated from field: string space_id = 1;
206
+ */
207
+ spaceId: string;
208
+ /**
209
+ * / If empty, returns state for all namespaces synced by the client.
210
+ *
211
+ * @generated from field: repeated string namespaces = 2;
212
+ */
213
+ namespaces: string[];
214
+ };
215
+ /**
216
+ * Describes the message dxos.client.services.GetSyncStateRequest.
217
+ * Use `create(GetSyncStateRequestSchema)` to create a new message.
218
+ */
219
+ export declare const GetSyncStateRequestSchema: GenMessage<GetSyncStateRequest>;
220
+ /**
221
+ * @generated from message dxos.client.services.QueueNamespaceSyncState
222
+ */
223
+ export type QueueNamespaceSyncState = Message<"dxos.client.services.QueueNamespaceSyncState"> & {
224
+ /**
225
+ * @generated from field: string namespace = 1;
226
+ */
227
+ namespace: string;
228
+ /**
229
+ * / Blocks still to pull from remote. 0 when caught up.
230
+ *
231
+ * @generated from field: int64 blocks_to_pull = 2;
232
+ */
233
+ blocksToPull: bigint;
234
+ /**
235
+ * / Unpositioned blocks still to push to remote. 0 when caught up.
236
+ *
237
+ * @generated from field: int64 blocks_to_push = 3;
238
+ */
239
+ blocksToPush: bigint;
240
+ /**
241
+ * / Total blocks stored locally for this namespace in the space.
242
+ *
243
+ * @generated from field: int64 total_blocks = 4;
244
+ */
245
+ totalBlocks: bigint;
246
+ };
247
+ /**
248
+ * Describes the message dxos.client.services.QueueNamespaceSyncState.
249
+ * Use `create(QueueNamespaceSyncStateSchema)` to create a new message.
250
+ */
251
+ export declare const QueueNamespaceSyncStateSchema: GenMessage<QueueNamespaceSyncState>;
252
+ /**
253
+ * @generated from message dxos.client.services.GetSyncStateResponse
254
+ */
255
+ export type GetSyncStateResponse = Message<"dxos.client.services.GetSyncStateResponse"> & {
256
+ /**
257
+ * @generated from field: repeated dxos.client.services.QueueNamespaceSyncState namespaces = 1;
258
+ */
259
+ namespaces: QueueNamespaceSyncState[];
260
+ };
261
+ /**
262
+ * Describes the message dxos.client.services.GetSyncStateResponse.
263
+ * Use `create(GetSyncStateResponseSchema)` to create a new message.
264
+ */
265
+ export declare const GetSyncStateResponseSchema: GenMessage<GetSyncStateResponse>;
266
+ /**
267
+ * @generated from service dxos.client.services.QueueService
268
+ */
269
+ export declare const QueueService: GenService<{
270
+ /**
271
+ * @generated from rpc dxos.client.services.QueueService.QueryQueue
272
+ */
273
+ queryQueue: {
274
+ methodKind: "unary";
275
+ input: typeof QueryQueueRequestSchema;
276
+ output: typeof QueueQueryResultSchema;
277
+ };
278
+ /**
279
+ * @generated from rpc dxos.client.services.QueueService.InsertIntoQueue
280
+ */
281
+ insertIntoQueue: {
282
+ methodKind: "unary";
283
+ input: typeof InsertIntoQueueRequestSchema;
284
+ output: typeof EmptySchema;
285
+ };
286
+ /**
287
+ * @generated from rpc dxos.client.services.QueueService.DeleteFromQueue
288
+ */
289
+ deleteFromQueue: {
290
+ methodKind: "unary";
291
+ input: typeof DeleteFromQueueRequestSchema;
292
+ output: typeof EmptySchema;
293
+ };
294
+ /**
295
+ * @generated from rpc dxos.client.services.QueueService.SyncQueue
296
+ */
297
+ syncQueue: {
298
+ methodKind: "unary";
299
+ input: typeof SyncQueueRequestSchema;
300
+ output: typeof EmptySchema;
301
+ };
302
+ /**
303
+ * @generated from rpc dxos.client.services.QueueService.GetSyncState
304
+ */
305
+ getSyncState: {
306
+ methodKind: "unary";
307
+ input: typeof GetSyncStateRequestSchema;
308
+ output: typeof GetSyncStateResponseSchema;
309
+ };
310
+ }>;
311
+ //# sourceMappingURL=queue_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/queue_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OACkqE,CAAC;AAExsE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,iCAAiC,CAAC,GAAG;IACpE;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,SAAS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