@dxos/protocols 0.1.28 → 0.1.29-next.1bc50d4

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 (200) hide show
  1. package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
  2. package/dist/cjs/src/proto/gen/dxos/bot.js.map +1 -1
  3. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  4. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  5. package/dist/cjs/src/proto/gen/dxos/config.d.ts +16 -15
  6. package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
  7. package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
  8. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  9. package/dist/cjs/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
  10. package/dist/cjs/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  11. package/dist/cjs/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  12. package/dist/cjs/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  13. package/dist/cjs/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  14. package/dist/cjs/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
  15. package/dist/cjs/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
  16. package/dist/cjs/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
  17. package/dist/cjs/src/proto/gen/dxos/echo/object.js.map +1 -1
  18. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  19. package/dist/cjs/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  20. package/dist/cjs/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  21. package/dist/cjs/src/proto/gen/dxos/gravity.d.ts.map +1 -1
  22. package/dist/cjs/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
  23. package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
  24. package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
  25. package/dist/cjs/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
  26. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +9 -0
  27. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  28. package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  29. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  30. package/dist/cjs/src/proto/gen/dxos/halo/invitations.js.map +1 -1
  31. package/dist/cjs/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
  32. package/dist/cjs/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  33. package/dist/cjs/src/proto/gen/dxos/halo/keys.js.map +1 -1
  34. package/dist/cjs/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
  35. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  36. package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
  37. package/dist/cjs/src/proto/gen/dxos/keys.d.ts.map +1 -1
  38. package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  39. package/dist/cjs/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
  40. package/dist/cjs/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
  41. package/dist/cjs/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
  42. package/dist/cjs/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
  43. package/dist/cjs/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
  44. package/dist/cjs/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
  45. package/dist/cjs/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
  46. package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  47. package/dist/cjs/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  48. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  49. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  50. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  51. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/objectsync.d.ts.map +1 -1
  52. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/presence.d.ts.map +1 -1
  53. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  54. package/dist/cjs/src/proto/gen/dxos/registry.d.ts.map +1 -1
  55. package/dist/cjs/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  56. package/dist/cjs/src/proto/gen/dxos/rpc.js.map +1 -1
  57. package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  58. package/dist/cjs/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
  59. package/dist/cjs/src/proto/gen/dxos/service/scheduler.js.map +1 -1
  60. package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts +113 -0
  61. package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -0
  62. package/dist/cjs/src/proto/gen/dxos/service/supervisor.js +28 -0
  63. package/dist/cjs/src/proto/gen/dxos/service/supervisor.js.map +1 -0
  64. package/dist/cjs/src/proto/gen/dxos/type.d.ts.map +1 -1
  65. package/dist/cjs/src/proto/gen/example/testing/data.d.ts.map +1 -1
  66. package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  67. package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
  68. package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
  69. package/dist/cjs/src/proto/gen/index.d.ts +16 -1
  70. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  71. package/dist/cjs/src/proto/gen/index.js +1 -1
  72. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  73. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  74. package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
  75. package/dist/esm/src/proto/gen/dxos/bot.js.map +1 -1
  76. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  77. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  78. package/dist/esm/src/proto/gen/dxos/config.d.ts +16 -15
  79. package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
  80. package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
  81. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  82. package/dist/esm/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
  83. package/dist/esm/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  84. package/dist/esm/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  85. package/dist/esm/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  86. package/dist/esm/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  87. package/dist/esm/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
  88. package/dist/esm/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
  89. package/dist/esm/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
  90. package/dist/esm/src/proto/gen/dxos/echo/object.js.map +1 -1
  91. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  92. package/dist/esm/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  93. package/dist/esm/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  94. package/dist/esm/src/proto/gen/dxos/gravity.d.ts.map +1 -1
  95. package/dist/esm/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
  96. package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
  97. package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
  98. package/dist/esm/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
  99. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +9 -0
  100. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  101. package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  102. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  103. package/dist/esm/src/proto/gen/dxos/halo/invitations.js.map +1 -1
  104. package/dist/esm/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
  105. package/dist/esm/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  106. package/dist/esm/src/proto/gen/dxos/halo/keys.js.map +1 -1
  107. package/dist/esm/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
  108. package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  109. package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
  110. package/dist/esm/src/proto/gen/dxos/keys.d.ts.map +1 -1
  111. package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  112. package/dist/esm/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
  113. package/dist/esm/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
  114. package/dist/esm/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
  115. package/dist/esm/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
  116. package/dist/esm/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
  117. package/dist/esm/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
  118. package/dist/esm/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
  119. package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  120. package/dist/esm/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  121. package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  122. package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  123. package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  124. package/dist/esm/src/proto/gen/dxos/mesh/teleport/objectsync.d.ts.map +1 -1
  125. package/dist/esm/src/proto/gen/dxos/mesh/teleport/presence.d.ts.map +1 -1
  126. package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  127. package/dist/esm/src/proto/gen/dxos/registry.d.ts.map +1 -1
  128. package/dist/esm/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  129. package/dist/esm/src/proto/gen/dxos/rpc.js.map +1 -1
  130. package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  131. package/dist/esm/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
  132. package/dist/esm/src/proto/gen/dxos/service/scheduler.js.map +1 -1
  133. package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts +113 -0
  134. package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -0
  135. package/dist/esm/src/proto/gen/dxos/service/supervisor.js +25 -0
  136. package/dist/esm/src/proto/gen/dxos/service/supervisor.js.map +1 -0
  137. package/dist/esm/src/proto/gen/dxos/type.d.ts.map +1 -1
  138. package/dist/esm/src/proto/gen/example/testing/data.d.ts.map +1 -1
  139. package/dist/esm/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  140. package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
  141. package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
  142. package/dist/esm/src/proto/gen/index.d.ts +16 -1
  143. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  144. package/dist/esm/src/proto/gen/index.js +1 -1
  145. package/dist/esm/src/proto/gen/index.js.map +1 -1
  146. package/package.json +5 -5
  147. package/src/proto/dxos/client/services.proto +2 -0
  148. package/src/proto/dxos/config.proto +13 -10
  149. package/src/proto/dxos/halo/credentials.proto +7 -0
  150. package/src/proto/dxos/service/supervisor.proto +92 -0
  151. package/src/proto/gen/dxos/bot.ts +1 -0
  152. package/src/proto/gen/dxos/client/services.ts +1 -0
  153. package/src/proto/gen/dxos/config.ts +17 -15
  154. package/src/proto/gen/dxos/devtools/host.ts +1 -0
  155. package/src/proto/gen/dxos/devtools/swarm.ts +1 -0
  156. package/src/proto/gen/dxos/echo/feed.ts +1 -0
  157. package/src/proto/gen/dxos/echo/metadata.ts +1 -0
  158. package/src/proto/gen/dxos/echo/model/document.ts +1 -0
  159. package/src/proto/gen/dxos/echo/model/messenger.ts +1 -0
  160. package/src/proto/gen/dxos/echo/model/text.ts +1 -0
  161. package/src/proto/gen/dxos/echo/object.ts +1 -0
  162. package/src/proto/gen/dxos/echo/service.ts +1 -0
  163. package/src/proto/gen/dxos/echo/snapshot.ts +1 -0
  164. package/src/proto/gen/dxos/echo/timeframe.ts +1 -0
  165. package/src/proto/gen/dxos/gravity.ts +1 -0
  166. package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -0
  167. package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -0
  168. package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -0
  169. package/src/proto/gen/dxos/halo/credentials.ts +10 -0
  170. package/src/proto/gen/dxos/halo/invitations.ts +1 -0
  171. package/src/proto/gen/dxos/halo/keyring.ts +1 -0
  172. package/src/proto/gen/dxos/halo/keys.ts +1 -0
  173. package/src/proto/gen/dxos/halo/signed.ts +1 -0
  174. package/src/proto/gen/dxos/iframe.ts +1 -0
  175. package/src/proto/gen/dxos/keys.ts +1 -0
  176. package/src/proto/gen/dxos/mesh/bridge.ts +1 -0
  177. package/src/proto/gen/dxos/mesh/broadcast.ts +1 -0
  178. package/src/proto/gen/dxos/mesh/messaging.ts +1 -0
  179. package/src/proto/gen/dxos/mesh/muxer.ts +1 -0
  180. package/src/proto/gen/dxos/mesh/presence.ts +1 -0
  181. package/src/proto/gen/dxos/mesh/protocol.ts +1 -0
  182. package/src/proto/gen/dxos/mesh/replicator.ts +1 -0
  183. package/src/proto/gen/dxos/mesh/signal.ts +1 -0
  184. package/src/proto/gen/dxos/mesh/swarm.ts +1 -0
  185. package/src/proto/gen/dxos/mesh/teleport/auth.ts +1 -0
  186. package/src/proto/gen/dxos/mesh/teleport/control.ts +1 -0
  187. package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -0
  188. package/src/proto/gen/dxos/mesh/teleport/objectsync.ts +1 -0
  189. package/src/proto/gen/dxos/mesh/teleport/presence.ts +1 -0
  190. package/src/proto/gen/dxos/mesh/teleport/replicator.ts +1 -0
  191. package/src/proto/gen/dxos/registry.ts +1 -0
  192. package/src/proto/gen/dxos/rpc.ts +1 -0
  193. package/src/proto/gen/dxos/service/publisher.ts +1 -0
  194. package/src/proto/gen/dxos/service/scheduler.ts +1 -0
  195. package/src/proto/gen/dxos/service/supervisor.ts +159 -0
  196. package/src/proto/gen/dxos/type.ts +1 -0
  197. package/src/proto/gen/example/testing/data.ts +1 -0
  198. package/src/proto/gen/example/testing/rpc.ts +1 -0
  199. package/src/proto/gen/google/protobuf.ts +1 -0
  200. package/src/proto/gen/index.ts +17 -2
@@ -178,7 +178,7 @@ message Runtime {
178
178
  optional string email = 3;
179
179
  optional string certfile = 4;
180
180
  optional string keyfile = 5;
181
- optional string dnsprovider = 6;
181
+ optional string dnsprovider = 6; // TODO(burdon): dns_provider.
182
182
  }
183
183
 
184
184
  message P2P {
@@ -215,12 +215,13 @@ message Runtime {
215
215
  optional string port = 4;
216
216
  }
217
217
 
218
+ // TODO(burdon): Needs documentation/
218
219
  optional string host = 1;
219
220
  optional string port = 2;
220
221
  optional Autoupdate autoupdate = 3;
221
222
  optional Https https = 4;
222
223
  optional P2P p2p = 5;
223
- optional string confhost = 6;
224
+ optional string confhost = 6; // TODO(burdon): ?
224
225
  repeated string env = 7;
225
226
  repeated string alias = 8;
226
227
  optional Monitoring monitoring = 9;
@@ -235,7 +236,6 @@ message Runtime {
235
236
  //
236
237
  message Services {
237
238
  message Kube {
238
-
239
239
  message Endpoints {
240
240
  optional string logs = 1;
241
241
  optional string services = 2;
@@ -251,6 +251,7 @@ message Runtime {
251
251
  optional string server = 2;
252
252
  }
253
253
 
254
+ // TODO(burdon): Delete/Rename DMG.
254
255
  message Dxns {
255
256
  /// DXNS endpoint.
256
257
  optional string server = 1;
@@ -301,14 +302,15 @@ message Runtime {
301
302
  optional string npm_access_token = 5;
302
303
  }
303
304
 
304
- message BotFactory {
305
- optional string topic = 1;
306
- optional bool persistent = 2;
307
- optional int32 retry_attempts = 3;
308
- optional int32 retry_interval = 4;
305
+ message BotHost { // TODO(burdon): Add Service suffix to all?
306
+ optional string proxy = 1;
307
+ }
308
+
309
+ message Publisher { // TODO(burdon): Publishing.
310
+ optional string server = 1;
309
311
  }
310
312
 
311
- message Publisher {
313
+ message Supervisor { // TODO(burdon): Is this a service?
312
314
  optional string server = 1;
313
315
  }
314
316
 
@@ -319,8 +321,9 @@ message Runtime {
319
321
  optional Signal signal = 5;
320
322
  repeated Ice ice = 6;
321
323
  optional Machine machine = 7;
322
- optional BotFactory bot = 8;
324
+ optional BotHost bot = 8;
323
325
  optional Publisher publisher = 9;
326
+ optional Supervisor supervisor = 10; // TODO(burdon): Promote to 1; start others at 10.
324
327
  }
325
328
 
326
329
  message Keys {
@@ -116,6 +116,13 @@ message IdentityProfile {
116
116
  ProfileDocument profile = 1;
117
117
  }
118
118
 
119
+ // [ASSERTION]: Identity is authorized to access a KUBE.
120
+ message KubeAccess {
121
+ dxos.keys.PublicKey kube_key = 1;
122
+ dxos.keys.PublicKey identity_key = 2;
123
+ repeated string capabilities = 3;
124
+ }
125
+
119
126
  /// Metadata associated with a key.
120
127
  /// Subject must be a key being referenced.
121
128
  message KeyInfo {
@@ -0,0 +1,92 @@
1
+ //
2
+ // Copyright 2022 DXOS.org
3
+ //
4
+
5
+ syntax = "proto3";
6
+
7
+ import "google/protobuf/empty.proto";
8
+ import "dxos/config.proto";
9
+ import "dxos/halo/credentials.proto";
10
+ import "dxos/keys.proto";
11
+
12
+ package dxos.service.supervisor;
13
+
14
+ option go_package = "github.com/dxos/kube/supervisor/core";
15
+
16
+ //
17
+ // Basic methods to operate with KUBE core, inc. authentication & configuration.
18
+ //
19
+
20
+ message Service {
21
+ enum Status {
22
+ UNKNOWN = 0;
23
+ STARTED = 1;
24
+ STOPPED = 2;
25
+ FAILED = 3;
26
+ }
27
+
28
+ enum Type {
29
+ NONE = 0;
30
+ PROCESS = 1;
31
+ SERVICE = 2;
32
+ }
33
+
34
+ string name = 1;
35
+ Status status = 2;
36
+ repeated string addresses = 4;
37
+ Type type = 5;
38
+ }
39
+
40
+ // Public .well-known endpoint.
41
+ message Services {
42
+ repeated Service services = 1;
43
+ }
44
+
45
+ message ConfigPair {
46
+ string key = 1;
47
+ string value = 2;
48
+ }
49
+
50
+ message GetConfigResponse {
51
+ dxos.config.Config config = 1;
52
+ }
53
+
54
+ message SetConfigRequest {
55
+ ConfigPair config = 1;
56
+ }
57
+
58
+ message SetConfigResponse {
59
+ ConfigPair config = 1;
60
+ }
61
+
62
+ message InitAuthSequenceResponse {
63
+ bytes nonce = 1;
64
+ dxos.keys.PublicKey kube_key = 2;
65
+ }
66
+
67
+ message Authentication {
68
+ dxos.halo.credentials.Presentation presentation = 1;
69
+ }
70
+
71
+ message AuthenticateResponse {
72
+ optional string token = 1;
73
+ // TODO(egorgripasov): Remove. KubeAccess credential for POC.
74
+ optional dxos.halo.credentials.Credential credential = 2;
75
+ }
76
+
77
+ service Supervisor {
78
+ // Authenticate with KUBE.
79
+ rpc Authenticate(Authentication) returns (AuthenticateResponse);
80
+
81
+ // Init authentication sequence. Used to obtain nonce & KUBE identity (public key).
82
+ rpc InitAuthSequence(google.protobuf.Empty) returns (InitAuthSequenceResponse);
83
+
84
+ // Read KUBE config.
85
+ rpc GetConfig(google.protobuf.Empty) returns (GetConfigResponse);
86
+
87
+ // Set KUBE config.
88
+ rpc SetConfig(SetConfigRequest) returns (SetConfigResponse);
89
+
90
+ // Obtain KUBE status & list running services.
91
+ rpc Status(google.protobuf.Empty) returns (Services);
92
+ }
@@ -43,6 +43,7 @@ import * as dxos_registry from "./registry";
43
43
  import * as dxos_rpc from "./rpc";
44
44
  import * as dxos_service_publisher from "./service/publisher";
45
45
  import * as dxos_service_scheduler from "./service/scheduler";
46
+ import * as dxos_service_supervisor from "./service/supervisor";
46
47
  import * as dxos_type from "./type";
47
48
  import * as example_testing_data from "../example/testing/data";
48
49
  import * as example_testing_rpc from "../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "./registry";
43
43
  import * as dxos_rpc from "./rpc";
44
44
  import * as dxos_service_publisher from "./service/publisher";
45
45
  import * as dxos_service_scheduler from "./service/scheduler";
46
+ import * as dxos_service_supervisor from "./service/supervisor";
46
47
  import * as dxos_type from "./type";
47
48
  import * as example_testing_data from "../example/testing/data";
48
49
  import * as example_testing_rpc from "../example/testing/rpc";
@@ -766,12 +767,17 @@ export namespace Runtime {
766
767
  * Options:
767
768
  * - proto3_optional = true
768
769
  */
769
- bot?: Runtime.Services.BotFactory;
770
+ bot?: Runtime.Services.BotHost;
770
771
  /**
771
772
  * Options:
772
773
  * - proto3_optional = true
773
774
  */
774
775
  publisher?: Runtime.Services.Publisher;
776
+ /**
777
+ * Options:
778
+ * - proto3_optional = true
779
+ */
780
+ supervisor?: Runtime.Services.Supervisor;
775
781
  }
776
782
  export namespace Services {
777
783
  /**
@@ -964,33 +970,29 @@ export namespace Runtime {
964
970
  * Defined in:
965
971
  * {@link file://./../../dxos/config.proto}
966
972
  */
967
- export interface BotFactory {
973
+ export interface BotHost {
968
974
  /**
969
975
  * Options:
970
976
  * - proto3_optional = true
971
977
  */
972
- topic?: string;
973
- /**
974
- * Options:
975
- * - proto3_optional = true
976
- */
977
- persistent?: boolean;
978
- /**
979
- * Options:
980
- * - proto3_optional = true
981
- */
982
- retryAttempts?: number;
978
+ proxy?: string;
979
+ }
980
+ /**
981
+ * Defined in:
982
+ * {@link file://./../../dxos/config.proto}
983
+ */
984
+ export interface Publisher {
983
985
  /**
984
986
  * Options:
985
987
  * - proto3_optional = true
986
988
  */
987
- retryInterval?: number;
989
+ server?: string;
988
990
  }
989
991
  /**
990
992
  * Defined in:
991
993
  * {@link file://./../../dxos/config.proto}
992
994
  */
993
- export interface Publisher {
995
+ export interface Supervisor {
994
996
  /**
995
997
  * Options:
996
998
  * - proto3_optional = true
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "./registry";
43
43
  import * as dxos_rpc from "./rpc";
44
44
  import * as dxos_service_publisher from "./service/publisher";
45
45
  import * as dxos_service_scheduler from "./service/scheduler";
46
+ import * as dxos_service_supervisor from "./service/supervisor";
46
47
  import * as dxos_type from "./type";
47
48
  import * as example_testing_data from "../example/testing/data";
48
49
  import * as example_testing_rpc from "../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -169,6 +170,15 @@ export interface ProfileDocument {
169
170
  export interface IdentityProfile {
170
171
  profile: ProfileDocument;
171
172
  }
173
+ /**
174
+ * Defined in:
175
+ * {@link file://./../../../dxos/halo/credentials.proto}
176
+ */
177
+ export interface KubeAccess {
178
+ kubeKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
179
+ identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
180
+ capabilities?: string[];
181
+ }
172
182
  /**
173
183
  * Subject must be a key being referenced.
174
184
  *
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "./registry";
43
43
  import * as dxos_rpc from "./rpc";
44
44
  import * as dxos_service_publisher from "./service/publisher";
45
45
  import * as dxos_service_scheduler from "./service/scheduler";
46
+ import * as dxos_service_supervisor from "./service/supervisor";
46
47
  import * as dxos_type from "./type";
47
48
  import * as example_testing_data from "../example/testing/data";
48
49
  import * as example_testing_rpc from "../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "./registry";
43
43
  import * as dxos_rpc from "./rpc";
44
44
  import * as dxos_service_publisher from "./service/publisher";
45
45
  import * as dxos_service_scheduler from "./service/scheduler";
46
+ import * as dxos_service_supervisor from "./service/supervisor";
46
47
  import * as dxos_type from "./type";
47
48
  import * as example_testing_data from "../example/testing/data";
48
49
  import * as example_testing_rpc from "../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../registry";
43
43
  import * as dxos_rpc from "../rpc";
44
44
  import * as dxos_service_publisher from "../service/publisher";
45
45
  import * as dxos_service_scheduler from "../service/scheduler";
46
+ import * as dxos_service_supervisor from "../service/supervisor";
46
47
  import * as dxos_type from "../type";
47
48
  import * as example_testing_data from "../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";
@@ -43,6 +43,7 @@ import * as dxos_registry from "../../registry";
43
43
  import * as dxos_rpc from "../../rpc";
44
44
  import * as dxos_service_publisher from "../../service/publisher";
45
45
  import * as dxos_service_scheduler from "../../service/scheduler";
46
+ import * as dxos_service_supervisor from "../../service/supervisor";
46
47
  import * as dxos_type from "../../type";
47
48
  import * as example_testing_data from "../../../example/testing/data";
48
49
  import * as example_testing_rpc from "../../../example/testing/rpc";