@dxos/protocols 0.3.11-main.0ac3ef5 → 0.3.11-main.0b0bfb1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAghB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+kjGAA+kjG,CAAC,CAAC,CAAC;AACxojG,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAihB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,s4jGAAs4jG,CAAC,CAAC,CAAC;AAC/7jG,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.3.11-main.0ac3ef5",
3
+ "version": "0.3.11-main.0b0bfb1",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -33,10 +33,10 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@dxos/keys": "0.3.11-main.0ac3ef5",
37
- "@dxos/invariant": "0.3.11-main.0ac3ef5",
38
- "@dxos/codec-protobuf": "0.3.11-main.0ac3ef5",
39
- "@dxos/timeframe": "0.3.11-main.0ac3ef5"
36
+ "@dxos/codec-protobuf": "0.3.11-main.0b0bfb1",
37
+ "@dxos/keys": "0.3.11-main.0b0bfb1",
38
+ "@dxos/invariant": "0.3.11-main.0b0bfb1",
39
+ "@dxos/timeframe": "0.3.11-main.0b0bfb1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -367,6 +367,12 @@ message Runtime {
367
367
  optional string username = 2;
368
368
  optional string password = 3;
369
369
  }
370
+ // TODO(nf): Set API version, authentication scheme, etc.
371
+ message AgentHosting {
372
+ // TODO(nf): read enum from yml?
373
+ optional string server = 1;
374
+ optional string type = 2;
375
+ }
370
376
 
371
377
  optional Kube kube = 1;
372
378
  optional AppServer app = 2;
@@ -380,6 +386,7 @@ message Runtime {
380
386
  optional Supervisor supervisor = 10; // TODO(burdon): Promote to 1; start others at 10.
381
387
  optional Tunneling tunneling = 11;
382
388
  optional Faasd faasd = 12;
389
+ optional AgentHosting agent_hosting = 13;
383
390
  }
384
391
 
385
392
  message Keys {
@@ -34,9 +34,14 @@ message AppContextRequest {
34
34
 
35
35
  /// The key of the joined space.
36
36
  optional dxos.keys.PublicKey space_key = 2;
37
-
37
+
38
38
  /// Target to redirect to after a successful invitation.
39
39
  optional string target = 3;
40
+
41
+ /// Reload the app.
42
+ /// Shell cannot reload the app from within an iframe.
43
+ /// Used after sign out/identity reset.
44
+ optional bool reload = 4;
40
45
  }
41
46
 
42
47
  /// App RPCs for the shell.
@@ -757,6 +757,11 @@ export namespace Runtime {
757
757
  * - proto3_optional = true
758
758
  */
759
759
  faasd?: Runtime.Services.Faasd;
760
+ /**
761
+ * Options:
762
+ * - proto3_optional = true
763
+ */
764
+ agentHosting?: Runtime.Services.AgentHosting;
760
765
  }
761
766
  export namespace Services {
762
767
  /**
@@ -1006,6 +1011,22 @@ export namespace Runtime {
1006
1011
  */
1007
1012
  password?: string;
1008
1013
  }
1014
+ /**
1015
+ * Defined in:
1016
+ * {@link file://./../../dxos/config.proto}
1017
+ */
1018
+ export interface AgentHosting {
1019
+ /**
1020
+ * Options:
1021
+ * - proto3_optional = true
1022
+ */
1023
+ server?: string;
1024
+ /**
1025
+ * Options:
1026
+ * - proto3_optional = true
1027
+ */
1028
+ type?: string;
1029
+ }
1009
1030
  }
1010
1031
  /**
1011
1032
  * Defined in:
@@ -117,6 +117,13 @@ export interface AppContextRequest {
117
117
  * - proto3_optional = true
118
118
  */
119
119
  target?: string;
120
+ /**
121
+ * Used after sign out/identity reset.
122
+ *
123
+ * Options:
124
+ * - proto3_optional = true
125
+ */
126
+ reload?: boolean;
120
127
  }
121
128
  /**
122
129
  * App RPCs for the shell.