@dxos/protocols 0.1.25 → 0.1.27-next.a0dff21

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 (216) hide show
  1. package/dist/cjs/src/proto/gen/dxos/bot.d.ts +1 -2
  2. package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
  3. package/dist/cjs/src/proto/gen/dxos/bot.js.map +1 -1
  4. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +128 -29
  5. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  6. package/dist/cjs/src/proto/gen/dxos/client/services.js +40 -1
  7. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  8. package/dist/cjs/src/proto/gen/dxos/config.d.ts +2 -0
  9. package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
  10. package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
  11. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +31 -31
  12. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  13. package/dist/cjs/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
  14. package/dist/cjs/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  15. package/dist/cjs/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  16. package/dist/cjs/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  17. package/dist/cjs/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  18. package/dist/cjs/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
  19. package/dist/cjs/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
  20. package/dist/cjs/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
  21. package/dist/cjs/src/proto/gen/dxos/echo/object.js.map +1 -1
  22. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  23. package/dist/cjs/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  24. package/dist/cjs/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  25. package/dist/cjs/src/proto/gen/dxos/gravity.d.ts.map +1 -1
  26. package/dist/cjs/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
  27. package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
  28. package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
  29. package/dist/cjs/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
  30. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  31. package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  32. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts +29 -2
  33. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  34. package/dist/cjs/src/proto/gen/dxos/halo/invitations.js +11 -1
  35. package/dist/cjs/src/proto/gen/dxos/halo/invitations.js.map +1 -1
  36. package/dist/cjs/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
  37. package/dist/cjs/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  38. package/dist/cjs/src/proto/gen/dxos/halo/keys.js.map +1 -1
  39. package/dist/cjs/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
  40. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +67 -0
  41. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  42. package/dist/cjs/src/proto/gen/dxos/iframe.js +22 -0
  43. package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
  44. package/dist/cjs/src/proto/gen/dxos/keys.d.ts.map +1 -1
  45. package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  46. package/dist/cjs/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
  47. package/dist/cjs/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
  48. package/dist/cjs/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
  49. package/dist/cjs/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
  50. package/dist/cjs/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
  51. package/dist/cjs/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
  52. package/dist/cjs/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
  53. package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  54. package/dist/cjs/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  55. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  56. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  57. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  58. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/objectsync.d.ts.map +1 -1
  59. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/presence.d.ts.map +1 -1
  60. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  61. package/dist/cjs/src/proto/gen/dxos/registry.d.ts.map +1 -1
  62. package/dist/cjs/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  63. package/dist/cjs/src/proto/gen/dxos/rpc.js.map +1 -1
  64. package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  65. package/dist/cjs/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
  66. package/dist/cjs/src/proto/gen/dxos/service/scheduler.js.map +1 -1
  67. package/dist/cjs/src/proto/gen/dxos/type.d.ts.map +1 -1
  68. package/dist/cjs/src/proto/gen/example/testing/data.d.ts.map +1 -1
  69. package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  70. package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
  71. package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
  72. package/dist/cjs/src/proto/gen/index.d.ts +22 -47
  73. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  74. package/dist/cjs/src/proto/gen/index.js +1 -1
  75. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  76. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  77. package/dist/esm/src/proto/gen/dxos/bot.d.ts +1 -2
  78. package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
  79. package/dist/esm/src/proto/gen/dxos/bot.js.map +1 -1
  80. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +128 -29
  81. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  82. package/dist/esm/src/proto/gen/dxos/client/services.js +39 -0
  83. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  84. package/dist/esm/src/proto/gen/dxos/config.d.ts +2 -0
  85. package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
  86. package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
  87. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +31 -31
  88. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  89. package/dist/esm/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
  90. package/dist/esm/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  91. package/dist/esm/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  92. package/dist/esm/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  93. package/dist/esm/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  94. package/dist/esm/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
  95. package/dist/esm/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
  96. package/dist/esm/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
  97. package/dist/esm/src/proto/gen/dxos/echo/object.js.map +1 -1
  98. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  99. package/dist/esm/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  100. package/dist/esm/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  101. package/dist/esm/src/proto/gen/dxos/gravity.d.ts.map +1 -1
  102. package/dist/esm/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
  103. package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
  104. package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
  105. package/dist/esm/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
  106. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  107. package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  108. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts +29 -2
  109. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  110. package/dist/esm/src/proto/gen/dxos/halo/invitations.js +10 -0
  111. package/dist/esm/src/proto/gen/dxos/halo/invitations.js.map +1 -1
  112. package/dist/esm/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
  113. package/dist/esm/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  114. package/dist/esm/src/proto/gen/dxos/halo/keys.js.map +1 -1
  115. package/dist/esm/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
  116. package/dist/esm/src/proto/gen/dxos/iframe.d.ts +67 -0
  117. package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  118. package/dist/esm/src/proto/gen/dxos/iframe.js +21 -1
  119. package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
  120. package/dist/esm/src/proto/gen/dxos/keys.d.ts.map +1 -1
  121. package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  122. package/dist/esm/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
  123. package/dist/esm/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
  124. package/dist/esm/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
  125. package/dist/esm/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
  126. package/dist/esm/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
  127. package/dist/esm/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
  128. package/dist/esm/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
  129. package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  130. package/dist/esm/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  131. package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  132. package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  133. package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  134. package/dist/esm/src/proto/gen/dxos/mesh/teleport/objectsync.d.ts.map +1 -1
  135. package/dist/esm/src/proto/gen/dxos/mesh/teleport/presence.d.ts.map +1 -1
  136. package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  137. package/dist/esm/src/proto/gen/dxos/registry.d.ts.map +1 -1
  138. package/dist/esm/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  139. package/dist/esm/src/proto/gen/dxos/rpc.js.map +1 -1
  140. package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  141. package/dist/esm/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
  142. package/dist/esm/src/proto/gen/dxos/service/scheduler.js.map +1 -1
  143. package/dist/esm/src/proto/gen/dxos/type.d.ts.map +1 -1
  144. package/dist/esm/src/proto/gen/example/testing/data.d.ts.map +1 -1
  145. package/dist/esm/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  146. package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
  147. package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
  148. package/dist/esm/src/proto/gen/index.d.ts +22 -47
  149. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  150. package/dist/esm/src/proto/gen/index.js +2 -2
  151. package/dist/esm/src/proto/gen/index.js.map +1 -1
  152. package/package.json +5 -5
  153. package/src/proto/dxos/bot.proto +1 -2
  154. package/src/proto/dxos/client/services.proto +79 -37
  155. package/src/proto/dxos/config.proto +1 -0
  156. package/src/proto/dxos/halo/invitations.proto +20 -1
  157. package/src/proto/dxos/iframe.proto +37 -1
  158. package/src/proto/gen/dxos/bot.ts +1 -2
  159. package/src/proto/gen/dxos/client/services.ts +126 -30
  160. package/src/proto/gen/dxos/config.ts +2 -1
  161. package/src/proto/gen/dxos/devtools/host.ts +31 -32
  162. package/src/proto/gen/dxos/devtools/swarm.ts +0 -1
  163. package/src/proto/gen/dxos/echo/feed.ts +0 -1
  164. package/src/proto/gen/dxos/echo/metadata.ts +0 -1
  165. package/src/proto/gen/dxos/echo/model/document.ts +0 -1
  166. package/src/proto/gen/dxos/echo/model/messenger.ts +0 -1
  167. package/src/proto/gen/dxos/echo/model/text.ts +0 -1
  168. package/src/proto/gen/dxos/echo/object.ts +0 -1
  169. package/src/proto/gen/dxos/echo/service.ts +0 -1
  170. package/src/proto/gen/dxos/echo/snapshot.ts +0 -1
  171. package/src/proto/gen/dxos/echo/timeframe.ts +0 -1
  172. package/src/proto/gen/dxos/gravity.ts +0 -1
  173. package/src/proto/gen/dxos/halo/credentials/auth.ts +0 -1
  174. package/src/proto/gen/dxos/halo/credentials/greet.ts +0 -1
  175. package/src/proto/gen/dxos/halo/credentials/identity.ts +0 -1
  176. package/src/proto/gen/dxos/halo/credentials.ts +0 -1
  177. package/src/proto/gen/dxos/halo/invitations.ts +29 -3
  178. package/src/proto/gen/dxos/halo/keyring.ts +0 -1
  179. package/src/proto/gen/dxos/halo/keys.ts +0 -1
  180. package/src/proto/gen/dxos/halo/signed.ts +0 -1
  181. package/src/proto/gen/dxos/iframe.ts +66 -1
  182. package/src/proto/gen/dxos/keys.ts +0 -1
  183. package/src/proto/gen/dxos/mesh/bridge.ts +0 -1
  184. package/src/proto/gen/dxos/mesh/broadcast.ts +0 -1
  185. package/src/proto/gen/dxos/mesh/messaging.ts +0 -1
  186. package/src/proto/gen/dxos/mesh/muxer.ts +0 -1
  187. package/src/proto/gen/dxos/mesh/presence.ts +0 -1
  188. package/src/proto/gen/dxos/mesh/protocol.ts +0 -1
  189. package/src/proto/gen/dxos/mesh/replicator.ts +0 -1
  190. package/src/proto/gen/dxos/mesh/signal.ts +0 -1
  191. package/src/proto/gen/dxos/mesh/swarm.ts +0 -1
  192. package/src/proto/gen/dxos/mesh/teleport/auth.ts +0 -1
  193. package/src/proto/gen/dxos/mesh/teleport/control.ts +0 -1
  194. package/src/proto/gen/dxos/mesh/teleport/notarization.ts +0 -1
  195. package/src/proto/gen/dxos/mesh/teleport/objectsync.ts +0 -1
  196. package/src/proto/gen/dxos/mesh/teleport/presence.ts +0 -1
  197. package/src/proto/gen/dxos/mesh/teleport/replicator.ts +0 -1
  198. package/src/proto/gen/dxos/registry.ts +0 -1
  199. package/src/proto/gen/dxos/rpc.ts +0 -1
  200. package/src/proto/gen/dxos/service/publisher.ts +0 -1
  201. package/src/proto/gen/dxos/service/scheduler.ts +0 -1
  202. package/src/proto/gen/dxos/type.ts +0 -1
  203. package/src/proto/gen/example/testing/data.ts +0 -1
  204. package/src/proto/gen/example/testing/rpc.ts +0 -1
  205. package/src/proto/gen/google/protobuf.ts +0 -1
  206. package/src/proto/gen/index.ts +24 -49
  207. package/dist/cjs/src/proto/gen/dxos/client.d.ts +0 -432
  208. package/dist/cjs/src/proto/gen/dxos/client.d.ts.map +0 -1
  209. package/dist/cjs/src/proto/gen/dxos/client.js +0 -36
  210. package/dist/cjs/src/proto/gen/dxos/client.js.map +0 -1
  211. package/dist/esm/src/proto/gen/dxos/client.d.ts +0 -432
  212. package/dist/esm/src/proto/gen/dxos/client.d.ts.map +0 -1
  213. package/dist/esm/src/proto/gen/dxos/client.js +0 -33
  214. package/dist/esm/src/proto/gen/dxos/client.js.map +0 -1
  215. package/src/proto/dxos/client.proto +0 -277
  216. package/src/proto/gen/dxos/client.ts +0 -474
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_swarm from "./swarm";
@@ -48,6 +47,37 @@ import * as dxos_type from "../type";
48
47
  import * as example_testing_data from "../../example/testing/data";
49
48
  import * as example_testing_rpc from "../../example/testing/rpc";
50
49
  import * as google_protobuf from "../../google/protobuf";
50
+ /**
51
+ * Defined in:
52
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
53
+ */
54
+ export interface Services {
55
+ spaces?: SpaceStats[];
56
+ }
57
+ /**
58
+ * Defined in:
59
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
60
+ */
61
+ export interface SpaceStats {
62
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
63
+ peers?: PeerStats[];
64
+ }
65
+ /**
66
+ * Defined in:
67
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
68
+ */
69
+ export interface PeerStats {
70
+ controlFeed: FeedStats;
71
+ dataFeed: FeedStats;
72
+ }
73
+ /**
74
+ * Defined in:
75
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
76
+ */
77
+ export interface FeedStats {
78
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
79
+ length: number;
80
+ }
51
81
  /**
52
82
  * Defined in:
53
83
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -432,34 +462,3 @@ export interface TracingService {
432
462
  export interface SetTracingOptionsRequest {
433
463
  enable: boolean;
434
464
  }
435
- /**
436
- * Defined in:
437
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
438
- */
439
- export interface Services {
440
- spaces?: SpaceStats[];
441
- }
442
- /**
443
- * Defined in:
444
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
445
- */
446
- export interface SpaceStats {
447
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
448
- peers?: PeerStats[];
449
- }
450
- /**
451
- * Defined in:
452
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
453
- */
454
- export interface PeerStats {
455
- controlFeed: FeedStats;
456
- dataFeed: FeedStats;
457
- }
458
- /**
459
- * Defined in:
460
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
461
- */
462
- export interface FeedStats {
463
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
464
- length: number;
465
- }
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "./host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "./bot";
4
- import * as dxos_client from "./client";
5
4
  import * as dxos_client_services from "./client/services";
6
5
  import * as dxos_config from "./config";
7
6
  import * as dxos_devtools_host from "./devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -74,9 +73,18 @@ export namespace AuthenticationResponse {
74
73
  export enum Status {
75
74
  OK = 0,
76
75
  INVALID_OTP = 1,
77
- INVALID_OPT_ATTEMPTS = 2
76
+ INVALID_OPT_ATTEMPTS = 2,
77
+ INTERNAL_ERROR = 3
78
78
  }
79
79
  }
80
+ /**
81
+ * Defined in:
82
+ * {@link file://./../../../dxos/halo/invitations.proto}
83
+ */
84
+ export enum AuthMethod {
85
+ NONE = 0,
86
+ SHARED_SECRET = 1
87
+ }
80
88
  /**
81
89
  * Defined in:
82
90
  * {@link file://./../../../dxos/halo/invitations.proto}
@@ -126,6 +134,20 @@ export interface Introduction {
126
134
  */
127
135
  profile?: dxos_halo_credentials.ProfileDocument;
128
136
  }
137
+ /**
138
+ * Defined in:
139
+ * {@link file://./../../../dxos/halo/invitations.proto}
140
+ */
141
+ export interface IntroductionResponse {
142
+ /**
143
+ * Only present for testing invitation types.
144
+ *
145
+ * Options:
146
+ * - proto3_optional = true
147
+ */
148
+ spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
149
+ authMethod: AuthMethod;
150
+ }
129
151
  /**
130
152
  * Defined in:
131
153
  * {@link file://./../../../dxos/halo/invitations.proto}
@@ -146,11 +168,15 @@ export interface SpaceAdmissionCredentials {
146
168
  */
147
169
  credential: dxos_halo_credentials.Credential;
148
170
  /**
171
+ * Hint to the guest about the current control timeframe.
172
+ *
149
173
  * Options:
150
174
  * - proto3_optional = true
151
175
  */
152
176
  controlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
153
177
  /**
178
+ * Hint to the guest about the current data timeframe.
179
+ *
154
180
  * Options:
155
181
  * - proto3_optional = true
156
182
  */
@@ -164,7 +190,7 @@ export interface SpaceHostService {
164
190
  /**
165
191
  * Introduce Guest to the host.
166
192
  */
167
- introduce: (request: Introduction) => Promise<void>;
193
+ introduce: (request: Introduction) => Promise<IntroductionResponse>;
168
194
  /**
169
195
  * Authenticate request.
170
196
  */
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "./bot";
4
- import * as dxos_client from "./client";
5
4
  import * as dxos_client_services from "./client/services";
6
5
  import * as dxos_config from "./config";
7
6
  import * as dxos_devtools_host from "./devtools/host";
@@ -74,3 +73,69 @@ export interface WorkerService {
74
73
  start: (request: StartRequest) => Promise<void>;
75
74
  stop: (request: void) => Promise<void>;
76
75
  }
76
+ /**
77
+ * Defined in:
78
+ * {@link file://./../../dxos/iframe.proto}
79
+ */
80
+ export enum ShellDisplay {
81
+ NONE = 0,
82
+ FULLSCREEN = 1
83
+ }
84
+ /**
85
+ * Defined in:
86
+ * {@link file://./../../dxos/iframe.proto}
87
+ */
88
+ export interface AppContextRequest {
89
+ display: ShellDisplay;
90
+ /**
91
+ * Options:
92
+ * - proto3_optional = true
93
+ */
94
+ spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
95
+ }
96
+ /**
97
+ * App RPCs for the shell.
98
+ *
99
+ * Defined in:
100
+ * {@link file://./../../dxos/iframe.proto}
101
+ */
102
+ export interface AppService {
103
+ setContext: (request: AppContextRequest) => Promise<void>;
104
+ }
105
+ /**
106
+ * Defined in:
107
+ * {@link file://./../../dxos/iframe.proto}
108
+ */
109
+ export enum ShellLayout {
110
+ DEFAULT = 0,
111
+ INITIALIZE_IDENTITY = 1,
112
+ DEVICE_INVITATIONS = 2,
113
+ SPACE_INVITATIONS = 3,
114
+ JOIN_SPACE = 4
115
+ }
116
+ /**
117
+ * Defined in:
118
+ * {@link file://./../../dxos/iframe.proto}
119
+ */
120
+ export interface LayoutRequest {
121
+ layout: ShellLayout;
122
+ /**
123
+ * Options:
124
+ * - proto3_optional = true
125
+ */
126
+ invitationCode?: string;
127
+ /**
128
+ * Options:
129
+ * - proto3_optional = true
130
+ */
131
+ spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
132
+ }
133
+ /**
134
+ * Shell UI RPCs.
135
+ *
136
+ * Defined in:
137
+ * {@link file://./../../dxos/iframe.proto}
138
+ */
139
+ export interface ShellService {
140
+ setLayout: (request: LayoutRequest) => Promise<void>;
141
+ }
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "./bot";
4
- import * as dxos_client from "./client";
5
4
  import * as dxos_client_services from "./client/services";
6
5
  import * as dxos_config from "./config";
7
6
  import * as dxos_devtools_host from "./devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../../substitutions";
3
3
  import * as dxos_bot from "../../bot";
4
- import * as dxos_client from "../../client";
5
4
  import * as dxos_client_services from "../../client/services";
6
5
  import * as dxos_config from "../../config";
7
6
  import * as dxos_devtools_host from "../../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "./bot";
4
- import * as dxos_client from "./client";
5
4
  import * as dxos_client_services from "./client/services";
6
5
  import * as dxos_config from "./config";
7
6
  import * as dxos_devtools_host from "./devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "./bot";
4
- import * as dxos_client from "./client";
5
4
  import * as dxos_client_services from "./client/services";
6
5
  import * as dxos_config from "./config";
7
6
  import * as dxos_devtools_host from "./devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../bot";
4
- import * as dxos_client from "../client";
5
4
  import * as dxos_client_services from "../client/services";
6
5
  import * as dxos_config from "../config";
7
6
  import * as dxos_devtools_host from "../devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "./bot";
4
- import * as dxos_client from "./client";
5
4
  import * as dxos_client_services from "./client/services";
6
5
  import * as dxos_config from "./config";
7
6
  import * as dxos_devtools_host from "./devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../../dxos/bot";
4
- import * as dxos_client from "../../dxos/client";
5
4
  import * as dxos_client_services from "../../dxos/client/services";
6
5
  import * as dxos_config from "../../dxos/config";
7
6
  import * as dxos_devtools_host from "../../dxos/devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_bot from "../../dxos/bot";
4
- import * as dxos_client from "../../dxos/client";
5
4
  import * as dxos_client_services from "../../dxos/client/services";
6
5
  import * as dxos_config from "../../dxos/config";
7
6
  import * as dxos_devtools_host from "../../dxos/devtools/host";
@@ -1,7 +1,6 @@
1
1
  import type { Stream } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_bot from "../dxos/bot";
4
- import * as dxos_client from "../dxos/client";
5
4
  import * as dxos_client_services from "../dxos/client/services";
6
5
  import * as dxos_config from "../dxos/config";
7
6
  import * as dxos_devtools_host from "../dxos/devtools/host";