@dxos/protocols 0.1.13 → 0.1.14

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 (172) hide show
  1. package/dist/src/codec.test.js +3 -2
  2. package/dist/src/codec.test.js.map +1 -1
  3. package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
  4. package/dist/src/proto/gen/dxos/bot.js.map +1 -1
  5. package/dist/src/proto/gen/dxos/client/services.d.ts +19 -8
  6. package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  7. package/dist/src/proto/gen/dxos/client/services.js +12 -0
  8. package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
  9. package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
  10. package/dist/src/proto/gen/dxos/client.js.map +1 -1
  11. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  12. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  13. package/dist/src/proto/gen/dxos/devtools/host.d.ts +2 -2
  14. package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  15. package/dist/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
  16. package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  17. package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
  18. package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  19. package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
  20. package/dist/src/proto/gen/dxos/echo/model/object.d.ts.map +1 -1
  21. package/dist/src/proto/gen/dxos/echo/model/object.js.map +1 -1
  22. package/dist/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
  23. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  24. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  25. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  26. package/dist/src/proto/gen/dxos/gravity.d.ts +84 -0
  27. package/dist/src/proto/gen/dxos/gravity.d.ts.map +1 -0
  28. package/dist/src/proto/gen/dxos/gravity.js +3 -0
  29. package/dist/src/proto/gen/dxos/gravity.js.map +1 -0
  30. package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
  31. package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
  32. package/dist/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
  33. package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
  34. package/dist/src/proto/gen/dxos/halo/credentials.d.ts +4 -0
  35. package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  36. package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  37. package/dist/src/proto/gen/dxos/halo/invitations.d.ts +39 -15
  38. package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  39. package/dist/src/proto/gen/dxos/halo/invitations.js +14 -0
  40. package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -1
  41. package/dist/src/proto/gen/dxos/halo/keyring.d.ts +5 -1
  42. package/dist/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
  43. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  44. package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
  45. package/dist/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
  46. package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  47. package/dist/src/proto/gen/dxos/keys.d.ts.map +1 -1
  48. package/dist/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  49. package/dist/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
  50. package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
  51. package/dist/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
  52. package/dist/src/proto/gen/dxos/mesh/muxer.d.ts +68 -0
  53. package/dist/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -0
  54. package/dist/src/proto/gen/dxos/mesh/muxer.js +3 -0
  55. package/dist/src/proto/gen/dxos/mesh/muxer.js.map +1 -0
  56. package/dist/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
  57. package/dist/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
  58. package/dist/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
  59. package/dist/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  60. package/dist/src/proto/gen/dxos/mesh/swarm.d.ts +1 -1
  61. package/dist/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  62. package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts +21 -0
  63. package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -0
  64. package/dist/src/proto/gen/dxos/mesh/teleport/control.js +3 -0
  65. package/dist/src/proto/gen/dxos/mesh/teleport/control.js.map +1 -0
  66. package/dist/src/proto/gen/dxos/mesh/teleport/presence.d.ts +25 -0
  67. package/dist/src/proto/gen/dxos/mesh/teleport/presence.d.ts.map +1 -0
  68. package/dist/src/proto/gen/dxos/mesh/teleport/presence.js +3 -0
  69. package/dist/src/proto/gen/dxos/mesh/teleport/presence.js.map +1 -0
  70. package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +77 -0
  71. package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -0
  72. package/dist/src/proto/gen/dxos/mesh/teleport/replicator.js +3 -0
  73. package/dist/src/proto/gen/dxos/mesh/teleport/replicator.js.map +1 -0
  74. package/dist/src/proto/gen/dxos/registry.d.ts +2 -2
  75. package/dist/src/proto/gen/dxos/registry.d.ts.map +1 -1
  76. package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  77. package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
  78. package/dist/src/proto/gen/dxos/service/publisher.d.ts +11 -1
  79. package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  80. package/dist/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
  81. package/dist/src/proto/gen/dxos/service/scheduler.js.map +1 -1
  82. package/dist/src/proto/gen/dxos/type.d.ts +5 -4
  83. package/dist/src/proto/gen/dxos/type.d.ts.map +1 -1
  84. package/dist/src/proto/gen/example/testing/data.d.ts.map +1 -1
  85. package/dist/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  86. package/dist/src/proto/gen/google/protobuf.d.ts +18 -0
  87. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  88. package/dist/src/proto/gen/google/protobuf.js +5 -0
  89. package/dist/src/proto/gen/google/protobuf.js.map +1 -1
  90. package/dist/src/proto/gen/index.d.ts +36 -2
  91. package/dist/src/proto/gen/index.d.ts.map +1 -1
  92. package/dist/src/proto/gen/index.js +1 -1
  93. package/dist/src/proto/gen/index.js.map +1 -1
  94. package/dist/src/proto/substitutions.d.ts +4 -0
  95. package/dist/src/proto/substitutions.d.ts.map +1 -1
  96. package/dist/src/proto/substitutions.js +1 -0
  97. package/dist/src/proto/substitutions.js.map +1 -1
  98. package/dist/src/types.d.ts +6 -6
  99. package/dist/src/types.d.ts.map +1 -1
  100. package/package.json +5 -11
  101. package/proto/dxos/gravity.d.ts +5 -0
  102. package/proto/dxos/gravity.js +5 -0
  103. package/proto/dxos/mesh/muxer.d.ts +5 -0
  104. package/proto/dxos/mesh/muxer.js +5 -0
  105. package/proto/dxos/mesh/teleport/control.d.ts +5 -0
  106. package/proto/dxos/mesh/teleport/control.js +5 -0
  107. package/proto/dxos/mesh/teleport/presence.d.ts +5 -0
  108. package/proto/dxos/mesh/teleport/presence.js +5 -0
  109. package/proto/dxos/mesh/teleport/replicator.d.ts +5 -0
  110. package/proto/dxos/mesh/teleport/replicator.js +5 -0
  111. package/src/codec.test.ts +4 -2
  112. package/src/proto/dxos/client/services.proto +16 -7
  113. package/src/proto/dxos/devtools/host.proto +2 -2
  114. package/src/proto/dxos/gravity.proto +55 -0
  115. package/src/proto/dxos/halo/credentials.proto +3 -0
  116. package/src/proto/dxos/halo/invitations.proto +25 -12
  117. package/src/proto/dxos/halo/keyring.proto +1 -1
  118. package/src/proto/dxos/mesh/muxer.proto +51 -0
  119. package/src/proto/dxos/mesh/swarm.proto +2 -1
  120. package/src/proto/dxos/mesh/teleport/control.proto +19 -0
  121. package/src/proto/dxos/mesh/teleport/presence.proto +23 -0
  122. package/src/proto/dxos/mesh/teleport/replicator.proto +60 -0
  123. package/src/proto/dxos/registry.proto +3 -2
  124. package/src/proto/dxos/service/publisher.proto +5 -1
  125. package/src/proto/dxos/type.proto +5 -4
  126. package/src/proto/gen/dxos/bot.ts +5 -0
  127. package/src/proto/gen/dxos/client/services.ts +24 -8
  128. package/src/proto/gen/dxos/client.ts +5 -0
  129. package/src/proto/gen/dxos/config.ts +5 -0
  130. package/src/proto/gen/dxos/devtools/host.ts +6 -1
  131. package/src/proto/gen/dxos/devtools/swarm.ts +5 -0
  132. package/src/proto/gen/dxos/echo/feed.ts +5 -0
  133. package/src/proto/gen/dxos/echo/metadata.ts +5 -0
  134. package/src/proto/gen/dxos/echo/model/messenger.ts +5 -0
  135. package/src/proto/gen/dxos/echo/model/object.ts +5 -0
  136. package/src/proto/gen/dxos/echo/model/text.ts +5 -0
  137. package/src/proto/gen/dxos/echo/service.ts +5 -0
  138. package/src/proto/gen/dxos/echo/snapshot.ts +5 -0
  139. package/src/proto/gen/dxos/echo/timeframe.ts +5 -0
  140. package/src/proto/gen/dxos/gravity.ts +128 -0
  141. package/src/proto/gen/dxos/halo/credentials/auth.ts +5 -0
  142. package/src/proto/gen/dxos/halo/credentials/greet.ts +5 -0
  143. package/src/proto/gen/dxos/halo/credentials/identity.ts +5 -0
  144. package/src/proto/gen/dxos/halo/credentials.ts +9 -0
  145. package/src/proto/gen/dxos/halo/invitations.ts +44 -15
  146. package/src/proto/gen/dxos/halo/keyring.ts +10 -1
  147. package/src/proto/gen/dxos/halo/keys.ts +5 -0
  148. package/src/proto/gen/dxos/halo/signed.ts +5 -0
  149. package/src/proto/gen/dxos/iframe.ts +5 -0
  150. package/src/proto/gen/dxos/keys.ts +5 -0
  151. package/src/proto/gen/dxos/mesh/bridge.ts +5 -0
  152. package/src/proto/gen/dxos/mesh/broadcast.ts +5 -0
  153. package/src/proto/gen/dxos/mesh/messaging.ts +5 -0
  154. package/src/proto/gen/dxos/mesh/muxer.ts +113 -0
  155. package/src/proto/gen/dxos/mesh/presence.ts +5 -0
  156. package/src/proto/gen/dxos/mesh/protocol.ts +5 -0
  157. package/src/proto/gen/dxos/mesh/replicator.ts +5 -0
  158. package/src/proto/gen/dxos/mesh/signal.ts +5 -0
  159. package/src/proto/gen/dxos/mesh/swarm.ts +6 -1
  160. package/src/proto/gen/dxos/mesh/teleport/control.ts +66 -0
  161. package/src/proto/gen/dxos/mesh/teleport/presence.ts +69 -0
  162. package/src/proto/gen/dxos/mesh/teleport/replicator.ts +121 -0
  163. package/src/proto/gen/dxos/registry.ts +7 -2
  164. package/src/proto/gen/dxos/rpc.ts +5 -0
  165. package/src/proto/gen/dxos/service/publisher.ts +16 -1
  166. package/src/proto/gen/dxos/service/scheduler.ts +5 -0
  167. package/src/proto/gen/dxos/type.ts +9 -4
  168. package/src/proto/gen/example/testing/data.ts +5 -0
  169. package/src/proto/gen/example/testing/rpc.ts +5 -0
  170. package/src/proto/gen/google/protobuf.ts +22 -0
  171. package/src/proto/gen/index.ts +37 -3
  172. package/src/proto/substitutions.ts +2 -1
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials_auth from "./credentials/auth";
18
19
  import * as dxos_halo_credentials_greet from "./credentials/greet";
19
20
  import * as dxos_halo_credentials_identity from "./credentials/identity";
@@ -26,11 +27,15 @@ import * as dxos_keys from "../keys";
26
27
  import * as dxos_mesh_bridge from "../mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "../mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "../mesh/messaging";
30
+ import * as dxos_mesh_muxer from "../mesh/muxer";
29
31
  import * as dxos_mesh_presence from "../mesh/presence";
30
32
  import * as dxos_mesh_protocol from "../mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "../mesh/replicator";
32
34
  import * as dxos_mesh_signal from "../mesh/signal";
33
35
  import * as dxos_mesh_swarm from "../mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -58,6 +63,10 @@ export interface SpaceMember {
58
63
  * - proto3_optional = true
59
64
  */
60
65
  profile?: ProfileDocument;
66
+ /**
67
+ * Genesis feed of the space. Needed so that the admitted member can start replicating the space based on this credential alone.
68
+ */
69
+ genesisFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
61
70
  }
62
71
  export namespace SpaceMember {
63
72
  /**
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "./credentials";
18
19
  import * as dxos_halo_credentials_auth from "./credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "./credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_keys from "../keys";
26
27
  import * as dxos_mesh_bridge from "../mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "../mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "../mesh/messaging";
30
+ import * as dxos_mesh_muxer from "../mesh/muxer";
29
31
  import * as dxos_mesh_presence from "../mesh/presence";
30
32
  import * as dxos_mesh_protocol from "../mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "../mesh/replicator";
32
34
  import * as dxos_mesh_signal from "../mesh/signal";
33
35
  import * as dxos_mesh_swarm from "../mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -46,6 +51,28 @@ import * as google_protobuf from "../../google/protobuf";
46
51
  export interface AuthenticationRequest {
47
52
  authenticationCode: string;
48
53
  }
54
+ /**
55
+ * Defined in:
56
+ * {@link file://./../../../dxos/halo/invitations.proto}
57
+ */
58
+ export interface AuthenticationResponse {
59
+ /**
60
+ * Options:
61
+ * - proto3_optional = true
62
+ */
63
+ status?: AuthenticationResponse.Status;
64
+ }
65
+ export namespace AuthenticationResponse {
66
+ /**
67
+ * Defined in:
68
+ * {@link file://./../../../dxos/halo/invitations.proto}
69
+ */
70
+ export enum Status {
71
+ OK = 0,
72
+ INVALID_OTP = 1,
73
+ INVALID_OPT_ATTEMPTS = 2
74
+ }
75
+ }
49
76
  /**
50
77
  * Defined in:
51
78
  * {@link file://./../../../dxos/halo/invitations.proto}
@@ -76,7 +103,7 @@ export interface HaloHostService {
76
103
  /**
77
104
  * Authenticate request.
78
105
  */
79
- authenticate: (request: AuthenticationRequest) => Promise<void>;
106
+ authenticate: (request: AuthenticationRequest) => Promise<AuthenticationResponse>;
80
107
  /**
81
108
  * Process admission request from guest.
82
109
  */
@@ -86,15 +113,20 @@ export interface HaloHostService {
86
113
  * Defined in:
87
114
  * {@link file://./../../../dxos/halo/invitations.proto}
88
115
  */
89
- export interface SpaceAdmissionOffer {
90
- spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
91
- genesisFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
116
+ export interface Introduction {
117
+ /**
118
+ * Guest's profile.
119
+ *
120
+ * Options:
121
+ * - proto3_optional = true
122
+ */
123
+ profile?: dxos_halo_credentials.ProfileDocument;
92
124
  }
93
125
  /**
94
126
  * Defined in:
95
127
  * {@link file://./../../../dxos/halo/invitations.proto}
96
128
  */
97
- export interface SpaceAdmissionCredentials {
129
+ export interface SpaceAdmissionRequest {
98
130
  identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
99
131
  deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
100
132
  controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
@@ -104,14 +136,11 @@ export interface SpaceAdmissionCredentials {
104
136
  * Defined in:
105
137
  * {@link file://./../../../dxos/halo/invitations.proto}
106
138
  */
107
- export interface AdmissionParameters {
139
+ export interface SpaceAdmissionCredentials {
108
140
  /**
109
- * Guest's profile.
110
- *
111
- * Options:
112
- * - proto3_optional = true
141
+ * Credential of type `SpaceMember` that grants Guest's identity access to the space.
113
142
  */
114
- profile?: dxos_halo_credentials.ProfileDocument;
143
+ credential: dxos_halo_credentials.Credential;
115
144
  }
116
145
  /**
117
146
  * Defined in:
@@ -119,15 +148,15 @@ export interface AdmissionParameters {
119
148
  */
120
149
  export interface SpaceHostService {
121
150
  /**
122
- * Process admission request.
151
+ * Introduce Guest to the host.
123
152
  */
124
- requestAdmission: (request: AdmissionParameters) => Promise<SpaceAdmissionOffer>;
153
+ introduce: (request: Introduction) => Promise<void>;
125
154
  /**
126
155
  * Authenticate request.
127
156
  */
128
- authenticate: (request: AuthenticationRequest) => Promise<void>;
157
+ authenticate: (request: AuthenticationRequest) => Promise<AuthenticationResponse>;
129
158
  /**
130
159
  * Process admission credentials.
131
160
  */
132
- presentAdmissionCredentials: (request: SpaceAdmissionCredentials) => Promise<void>;
161
+ requestAdmission: (request: SpaceAdmissionRequest) => Promise<SpaceAdmissionCredentials>;
133
162
  }
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "./credentials";
18
19
  import * as dxos_halo_credentials_auth from "./credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "./credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_keys from "../keys";
26
27
  import * as dxos_mesh_bridge from "../mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "../mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "../mesh/messaging";
30
+ import * as dxos_mesh_muxer from "../mesh/muxer";
29
31
  import * as dxos_mesh_presence from "../mesh/presence";
30
32
  import * as dxos_mesh_protocol from "../mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "../mesh/replicator";
32
34
  import * as dxos_mesh_signal from "../mesh/signal";
33
35
  import * as dxos_mesh_swarm from "../mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -45,5 +50,9 @@ import * as google_protobuf from "../../google/protobuf";
45
50
  */
46
51
  export interface KeyRecord {
47
52
  publicKey: Uint8Array;
48
- privateKey: Uint8Array;
53
+ /**
54
+ * Options:
55
+ * - proto3_optional = true
56
+ */
57
+ privateKey?: Uint8Array;
49
58
  }
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "./credentials";
18
19
  import * as dxos_halo_credentials_auth from "./credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "./credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_keys from "../keys";
26
27
  import * as dxos_mesh_bridge from "../mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "../mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "../mesh/messaging";
30
+ import * as dxos_mesh_muxer from "../mesh/muxer";
29
31
  import * as dxos_mesh_presence from "../mesh/presence";
30
32
  import * as dxos_mesh_protocol from "../mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "../mesh/replicator";
32
34
  import * as dxos_mesh_signal from "../mesh/signal";
33
35
  import * as dxos_mesh_swarm from "../mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "./credentials";
18
19
  import * as dxos_halo_credentials_auth from "./credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "./credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_keys from "../keys";
26
27
  import * as dxos_mesh_bridge from "../mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "../mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "../mesh/messaging";
30
+ import * as dxos_mesh_muxer from "../mesh/muxer";
29
31
  import * as dxos_mesh_presence from "../mesh/presence";
30
32
  import * as dxos_mesh_protocol from "../mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "../mesh/replicator";
32
34
  import * as dxos_mesh_signal from "../mesh/signal";
33
35
  import * as dxos_mesh_swarm from "../mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "./echo/model/text";
14
14
  import * as dxos_echo_service from "./echo/service";
15
15
  import * as dxos_echo_snapshot from "./echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "./echo/timeframe";
17
+ import * as dxos_gravity from "./gravity";
17
18
  import * as dxos_halo_credentials from "./halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_keys from "./keys";
26
27
  import * as dxos_mesh_bridge from "./mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "./mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "./mesh/messaging";
30
+ import * as dxos_mesh_muxer from "./mesh/muxer";
29
31
  import * as dxos_mesh_presence from "./mesh/presence";
30
32
  import * as dxos_mesh_protocol from "./mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "./mesh/replicator";
32
34
  import * as dxos_mesh_signal from "./mesh/signal";
33
35
  import * as dxos_mesh_swarm from "./mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "./mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./mesh/teleport/replicator";
34
39
  import * as dxos_registry from "./registry";
35
40
  import * as dxos_rpc from "./rpc";
36
41
  import * as dxos_service_publisher from "./service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "./echo/model/text";
14
14
  import * as dxos_echo_service from "./echo/service";
15
15
  import * as dxos_echo_snapshot from "./echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "./echo/timeframe";
17
+ import * as dxos_gravity from "./gravity";
17
18
  import * as dxos_halo_credentials from "./halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_iframe from "./iframe";
26
27
  import * as dxos_mesh_bridge from "./mesh/bridge";
27
28
  import * as dxos_mesh_broadcast from "./mesh/broadcast";
28
29
  import * as dxos_mesh_messaging from "./mesh/messaging";
30
+ import * as dxos_mesh_muxer from "./mesh/muxer";
29
31
  import * as dxos_mesh_presence from "./mesh/presence";
30
32
  import * as dxos_mesh_protocol from "./mesh/protocol";
31
33
  import * as dxos_mesh_replicator from "./mesh/replicator";
32
34
  import * as dxos_mesh_signal from "./mesh/signal";
33
35
  import * as dxos_mesh_swarm from "./mesh/swarm";
36
+ import * as dxos_mesh_teleport_control from "./mesh/teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./mesh/teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./mesh/teleport/replicator";
34
39
  import * as dxos_registry from "./registry";
35
40
  import * as dxos_rpc from "./rpc";
36
41
  import * as dxos_service_publisher from "./service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_iframe from "../iframe";
26
27
  import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_broadcast from "./broadcast";
28
29
  import * as dxos_mesh_messaging from "./messaging";
30
+ import * as dxos_mesh_muxer from "./muxer";
29
31
  import * as dxos_mesh_presence from "./presence";
30
32
  import * as dxos_mesh_protocol from "./protocol";
31
33
  import * as dxos_mesh_replicator from "./replicator";
32
34
  import * as dxos_mesh_signal from "./signal";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_iframe from "../iframe";
26
27
  import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_messaging from "./messaging";
30
+ import * as dxos_mesh_muxer from "./muxer";
29
31
  import * as dxos_mesh_presence from "./presence";
30
32
  import * as dxos_mesh_protocol from "./protocol";
31
33
  import * as dxos_mesh_replicator from "./replicator";
32
34
  import * as dxos_mesh_signal from "./signal";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -26,11 +27,15 @@ import * as dxos_iframe from "../iframe";
26
27
  import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_broadcast from "./broadcast";
30
+ import * as dxos_mesh_muxer from "./muxer";
29
31
  import * as dxos_mesh_presence from "./presence";
30
32
  import * as dxos_mesh_protocol from "./protocol";
31
33
  import * as dxos_mesh_replicator from "./replicator";
32
34
  import * as dxos_mesh_signal from "./signal";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -0,0 +1,113 @@
1
+ import type { Stream } from "@dxos/codec-protobuf";
2
+ import substitutions from "../../../substitutions";
3
+ import * as dxos_bot from "../bot";
4
+ import * as dxos_client from "../client";
5
+ import * as dxos_client_services from "../client/services";
6
+ import * as dxos_config from "../config";
7
+ import * as dxos_devtools_host from "../devtools/host";
8
+ import * as dxos_devtools_swarm from "../devtools/swarm";
9
+ import * as dxos_echo_feed from "../echo/feed";
10
+ import * as dxos_echo_metadata from "../echo/metadata";
11
+ import * as dxos_echo_model_messenger from "../echo/model/messenger";
12
+ import * as dxos_echo_model_object from "../echo/model/object";
13
+ import * as dxos_echo_model_text from "../echo/model/text";
14
+ import * as dxos_echo_service from "../echo/service";
15
+ import * as dxos_echo_snapshot from "../echo/snapshot";
16
+ import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
18
+ import * as dxos_halo_credentials from "../halo/credentials";
19
+ import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
20
+ import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
21
+ import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
22
+ import * as dxos_halo_invitations from "../halo/invitations";
23
+ import * as dxos_halo_keyring from "../halo/keyring";
24
+ import * as dxos_halo_keys from "../halo/keys";
25
+ import * as dxos_halo_signed from "../halo/signed";
26
+ import * as dxos_iframe from "../iframe";
27
+ import * as dxos_keys from "../keys";
28
+ import * as dxos_mesh_bridge from "./bridge";
29
+ import * as dxos_mesh_broadcast from "./broadcast";
30
+ import * as dxos_mesh_messaging from "./messaging";
31
+ import * as dxos_mesh_presence from "./presence";
32
+ import * as dxos_mesh_protocol from "./protocol";
33
+ import * as dxos_mesh_replicator from "./replicator";
34
+ import * as dxos_mesh_signal from "./signal";
35
+ import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
39
+ import * as dxos_registry from "../registry";
40
+ import * as dxos_rpc from "../rpc";
41
+ import * as dxos_service_publisher from "../service/publisher";
42
+ import * as dxos_service_scheduler from "../service/scheduler";
43
+ import * as dxos_type from "../type";
44
+ import * as example_testing_data from "../../example/testing/data";
45
+ import * as example_testing_rpc from "../../example/testing/rpc";
46
+ import * as google_protobuf from "../../google/protobuf";
47
+ /**
48
+ * Root type for messages sent over the stream.
49
+ *
50
+ * Defined in:
51
+ * {@link file://./../../../dxos/mesh/muxer.proto}
52
+ */
53
+ export interface Command {
54
+ openChannel?: OpenChannel;
55
+ data?: Data;
56
+ destroy?: Destroy;
57
+ }
58
+ /**
59
+ * Notify the remote peer that we are opening a channel.
60
+ *
61
+ * Means that we are ready to receive data on the channel.
62
+ * The remote peer could now send data messages with this channel id that will be atributed to this channel.
63
+ *
64
+ * The local peer must buffer any data messages until the remote peer replies with OpenChannel for this tag.
65
+ *
66
+ * Defined in:
67
+ * {@link file://./../../../dxos/mesh/muxer.proto}
68
+ */
69
+ export interface OpenChannel {
70
+ /**
71
+ * Session-specific ID for the channel.
72
+ */
73
+ id: number;
74
+ /**
75
+ * Stable identifier for the channel that is agreed upon by both peers.
76
+ */
77
+ tag: string;
78
+ /**
79
+ * Optional Mime-type or URL describing the protocol that is hosted ober this stream. Used for introspection.
80
+ *
81
+ * Options:
82
+ * - proto3_optional = true
83
+ */
84
+ contentType?: string;
85
+ }
86
+ /**
87
+ * Defined in:
88
+ * {@link file://./../../../dxos/mesh/muxer.proto}
89
+ */
90
+ export interface Data {
91
+ /**
92
+ * Identifier for the channel as assigned by the remote peer.
93
+ * NOTE: An OpenChannel message must received before any data is sent on a channel.
94
+ * Any data messages sent before that, should be ignored.
95
+ */
96
+ channelId: number;
97
+ data: Uint8Array;
98
+ }
99
+ /**
100
+ * Terminate the connection. The other peer can expect the connection to be closed.
101
+ *
102
+ * Defined in:
103
+ * {@link file://./../../../dxos/mesh/muxer.proto}
104
+ */
105
+ export interface Destroy {
106
+ /**
107
+ * Error that caused the termination.
108
+ *
109
+ * Options:
110
+ * - proto3_optional = true
111
+ */
112
+ error?: string;
113
+ }
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -27,10 +28,14 @@ import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_broadcast from "./broadcast";
29
30
  import * as dxos_mesh_messaging from "./messaging";
31
+ import * as dxos_mesh_muxer from "./muxer";
30
32
  import * as dxos_mesh_protocol from "./protocol";
31
33
  import * as dxos_mesh_replicator from "./replicator";
32
34
  import * as dxos_mesh_signal from "./signal";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -27,10 +28,14 @@ import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_broadcast from "./broadcast";
29
30
  import * as dxos_mesh_messaging from "./messaging";
31
+ import * as dxos_mesh_muxer from "./muxer";
30
32
  import * as dxos_mesh_presence from "./presence";
31
33
  import * as dxos_mesh_replicator from "./replicator";
32
34
  import * as dxos_mesh_signal from "./signal";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -27,10 +28,14 @@ import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_broadcast from "./broadcast";
29
30
  import * as dxos_mesh_messaging from "./messaging";
31
+ import * as dxos_mesh_muxer from "./muxer";
30
32
  import * as dxos_mesh_presence from "./presence";
31
33
  import * as dxos_mesh_protocol from "./protocol";
32
34
  import * as dxos_mesh_signal from "./signal";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -27,10 +28,14 @@ import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_broadcast from "./broadcast";
29
30
  import * as dxos_mesh_messaging from "./messaging";
31
+ import * as dxos_mesh_muxer from "./muxer";
30
32
  import * as dxos_mesh_presence from "./presence";
31
33
  import * as dxos_mesh_protocol from "./protocol";
32
34
  import * as dxos_mesh_replicator from "./replicator";
33
35
  import * as dxos_mesh_swarm from "./swarm";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
14
14
  import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_gravity from "../gravity";
17
18
  import * as dxos_halo_credentials from "../halo/credentials";
18
19
  import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
19
20
  import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
@@ -27,10 +28,14 @@ import * as dxos_keys from "../keys";
27
28
  import * as dxos_mesh_bridge from "./bridge";
28
29
  import * as dxos_mesh_broadcast from "./broadcast";
29
30
  import * as dxos_mesh_messaging from "./messaging";
31
+ import * as dxos_mesh_muxer from "./muxer";
30
32
  import * as dxos_mesh_presence from "./presence";
31
33
  import * as dxos_mesh_protocol from "./protocol";
32
34
  import * as dxos_mesh_replicator from "./replicator";
33
35
  import * as dxos_mesh_signal from "./signal";
36
+ import * as dxos_mesh_teleport_control from "./teleport/control";
37
+ import * as dxos_mesh_teleport_presence from "./teleport/presence";
38
+ import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
34
39
  import * as dxos_registry from "../registry";
35
40
  import * as dxos_rpc from "../rpc";
36
41
  import * as dxos_service_publisher from "../service/publisher";
@@ -95,5 +100,5 @@ export interface Answer {
95
100
  * {@link file://./../../../dxos/mesh/swarm.proto}
96
101
  */
97
102
  export interface Signal {
98
- json: string;
103
+ payload: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
99
104
  }