@dxos/protocols 0.1.55 → 0.1.56-main.01afb72
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.
- package/dist/cjs/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +45 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +14 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/blob.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/blob.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/document.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/text.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/object.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/error.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/gravity.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +16 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/presence.d.ts +7 -0
- package/dist/cjs/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/supervisor.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts +102 -0
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/tracing.js +15 -0
- package/dist/cjs/src/proto/gen/dxos/tracing.js.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/value.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +14 -0
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +45 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +13 -0
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/blob.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/blob.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/document.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/text.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/object.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/error.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/gravity.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts +16 -1
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/presence.d.ts +7 -0
- package/dist/esm/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/supervisor.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts +102 -0
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -0
- package/dist/esm/src/proto/gen/dxos/tracing.js +12 -0
- package/dist/esm/src/proto/gen/dxos/tracing.js.map +1 -0
- package/dist/esm/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/value.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +14 -0
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/proto/dxos/client/logging.proto +8 -1
- package/src/proto/dxos/client/services.proto +20 -0
- package/src/proto/dxos/devtools/host.proto +2 -1
- package/src/proto/dxos/iframe.proto +5 -1
- package/src/proto/dxos/mesh/presence.proto +3 -0
- package/src/proto/dxos/tracing.proto +64 -0
- package/src/proto/gen/dxos/agent/functions.ts +1 -0
- package/src/proto/gen/dxos/bot.ts +1 -0
- package/src/proto/gen/dxos/client/services.ts +45 -1
- package/src/proto/gen/dxos/config.ts +1 -0
- package/src/proto/gen/dxos/devtools/host.ts +1 -0
- package/src/proto/gen/dxos/devtools/swarm.ts +1 -0
- package/src/proto/gen/dxos/echo/blob.ts +1 -0
- package/src/proto/gen/dxos/echo/feed.ts +1 -0
- package/src/proto/gen/dxos/echo/metadata.ts +1 -0
- package/src/proto/gen/dxos/echo/model/document.ts +1 -0
- package/src/proto/gen/dxos/echo/model/messenger.ts +1 -0
- package/src/proto/gen/dxos/echo/model/text.ts +1 -0
- package/src/proto/gen/dxos/echo/object.ts +1 -0
- package/src/proto/gen/dxos/echo/service.ts +1 -0
- package/src/proto/gen/dxos/echo/snapshot.ts +1 -0
- package/src/proto/gen/dxos/echo/timeframe.ts +1 -0
- package/src/proto/gen/dxos/error.ts +1 -0
- package/src/proto/gen/dxos/gravity.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials.ts +1 -0
- package/src/proto/gen/dxos/halo/invitations.ts +1 -0
- package/src/proto/gen/dxos/halo/keyring.ts +1 -0
- package/src/proto/gen/dxos/halo/keys.ts +1 -0
- package/src/proto/gen/dxos/halo/signed.ts +1 -0
- package/src/proto/gen/dxos/iframe.ts +17 -1
- package/src/proto/gen/dxos/keys.ts +1 -0
- package/src/proto/gen/dxos/mesh/bridge.ts +1 -0
- package/src/proto/gen/dxos/mesh/broadcast.ts +1 -0
- package/src/proto/gen/dxos/mesh/messaging.ts +1 -0
- package/src/proto/gen/dxos/mesh/muxer.ts +1 -0
- package/src/proto/gen/dxos/mesh/presence.ts +8 -0
- package/src/proto/gen/dxos/mesh/protocol.ts +1 -0
- package/src/proto/gen/dxos/mesh/replicator.ts +1 -0
- package/src/proto/gen/dxos/mesh/signal.ts +1 -0
- package/src/proto/gen/dxos/mesh/swarm.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/auth.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/control.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +1 -0
- package/src/proto/gen/dxos/registry.ts +1 -0
- package/src/proto/gen/dxos/rpc.ts +1 -0
- package/src/proto/gen/dxos/service/publisher.ts +1 -0
- package/src/proto/gen/dxos/service/supervisor.ts +1 -0
- package/src/proto/gen/dxos/service/tunnel.ts +1 -0
- package/src/proto/gen/dxos/tracing.ts +153 -0
- package/src/proto/gen/dxos/type.ts +1 -0
- package/src/proto/gen/dxos/value.ts +1 -0
- package/src/proto/gen/example/testing/data.ts +1 -0
- package/src/proto/gen/example/testing/rpc.ts +1 -0
- package/src/proto/gen/google/protobuf.ts +5 -4
- package/src/proto/gen/index.ts +15 -1
|
@@ -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;
|
|
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;AAuDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAie7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,mrvFAAmrvF,CAAC,CAAC,CAAC;AAC5uvF,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.1.
|
|
3
|
+
"version": "0.1.56-main.01afb72",
|
|
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/codec-protobuf": "0.1.
|
|
37
|
-
"@dxos/hypercore": "0.1.
|
|
38
|
-
"@dxos/keys": "0.1.
|
|
39
|
-
"@dxos/timeframe": "0.1.
|
|
36
|
+
"@dxos/codec-protobuf": "0.1.56-main.01afb72",
|
|
37
|
+
"@dxos/hypercore": "0.1.56-main.01afb72",
|
|
38
|
+
"@dxos/keys": "0.1.56-main.01afb72",
|
|
39
|
+
"@dxos/timeframe": "0.1.56-main.01afb72"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -45,10 +45,16 @@ message ControlMetricsResponse {
|
|
|
45
45
|
optional bool recording = 1;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
// TODO(burdon): Rename Trace?
|
|
48
49
|
message QueryMetricsRequest {
|
|
49
50
|
optional int32 interval = 1;
|
|
50
51
|
}
|
|
51
52
|
|
|
53
|
+
message QueryMetricsResponse {
|
|
54
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
55
|
+
Metrics metrics = 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
52
58
|
// NOTE: Keep aligned with LogLevel in @dxos/log.
|
|
53
59
|
enum LogLevel {
|
|
54
60
|
TRACE = 5;
|
|
@@ -92,7 +98,8 @@ message LogEntry {
|
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
service LoggingService {
|
|
101
|
+
// TODO(burdon): Deprecated: move to system service/diagnostics.
|
|
95
102
|
rpc ControlMetrics(ControlMetricsRequest) returns (ControlMetricsResponse);
|
|
96
|
-
rpc QueryMetrics(QueryMetricsRequest) returns (stream
|
|
103
|
+
rpc QueryMetrics(QueryMetricsRequest) returns (stream QueryMetricsResponse);
|
|
97
104
|
rpc QueryLogs(QueryLogsRequest) returns (stream LogEntry);
|
|
98
105
|
}
|
|
@@ -17,6 +17,7 @@ import "dxos/halo/credentials.proto";
|
|
|
17
17
|
import "dxos/keys.proto";
|
|
18
18
|
import "dxos/mesh/signal.proto";
|
|
19
19
|
import "dxos/mesh/teleport/gossip.proto";
|
|
20
|
+
import "dxos/mesh/presence.proto";
|
|
20
21
|
import "dxos/value.proto";
|
|
21
22
|
|
|
22
23
|
// TODO(burdon): Reorganize packages (e.g., client.services, echo.database).
|
|
@@ -47,6 +48,21 @@ message QueryStatusResponse {
|
|
|
47
48
|
SystemStatus status = 1;
|
|
48
49
|
}
|
|
49
50
|
|
|
51
|
+
message GetDiagnosticsRequest {
|
|
52
|
+
enum KEY_OPTION {
|
|
53
|
+
NONE = 0;
|
|
54
|
+
TRUNCATE = 1;
|
|
55
|
+
HUMANIZE = 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
optional KEY_OPTION keys = 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message GetDiagnosticsResponse {
|
|
62
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
63
|
+
google.protobuf.Struct diagnostics = 2;
|
|
64
|
+
}
|
|
65
|
+
|
|
50
66
|
//
|
|
51
67
|
// System
|
|
52
68
|
//
|
|
@@ -55,6 +71,9 @@ service SystemService {
|
|
|
55
71
|
/// Get the static config of the client.
|
|
56
72
|
rpc GetConfig(google.protobuf.Empty) returns (dxos.config.Config);
|
|
57
73
|
|
|
74
|
+
/// Get the diagnostics snapshot.
|
|
75
|
+
rpc GetDiagnostics(GetDiagnosticsRequest) returns (GetDiagnosticsResponse);
|
|
76
|
+
|
|
58
77
|
/// Update the status of the client. Used to re-activate an inactive client.
|
|
59
78
|
rpc UpdateStatus(UpdateStatusRequest) returns (google.protobuf.Empty);
|
|
60
79
|
|
|
@@ -147,6 +166,7 @@ message SpaceMember {
|
|
|
147
166
|
|
|
148
167
|
Identity identity = 1;
|
|
149
168
|
PresenceState presence = 2;
|
|
169
|
+
repeated PeerState peerStates = 3;
|
|
150
170
|
}
|
|
151
171
|
|
|
152
172
|
/// Runtime state of the space object.
|
|
@@ -46,6 +46,8 @@ service DevtoolsHost {
|
|
|
46
46
|
rpc EnableDebugLogging(EnableDebugLoggingRequest) returns (EnableDebugLoggingResponse);
|
|
47
47
|
rpc DisableDebugLogging(EnableDebugLoggingRequest) returns (EnableDebugLoggingResponse);
|
|
48
48
|
|
|
49
|
+
// TODO(burdon): Rename SubscribeToX as QueryX.
|
|
50
|
+
|
|
49
51
|
//
|
|
50
52
|
// HALO
|
|
51
53
|
//
|
|
@@ -183,7 +185,6 @@ message SubscribeToSpacesResponse {
|
|
|
183
185
|
dxos.keys.PublicKey genesis_feed = 4;
|
|
184
186
|
dxos.keys.PublicKey control_feed = 5;
|
|
185
187
|
dxos.keys.PublicKey data_feed = 6;
|
|
186
|
-
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
repeated SpaceInfo spaces = 1;
|
|
@@ -29,8 +29,12 @@ enum ShellDisplay {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
message AppContextRequest {
|
|
32
|
-
|
|
32
|
+
/// The display mode that shell should use
|
|
33
|
+
optional ShellDisplay display = 1;
|
|
34
|
+
/// The key of the joined space
|
|
33
35
|
optional dxos.keys.PublicKey space_key = 2;
|
|
36
|
+
/// The invitation code which has become invalidated
|
|
37
|
+
optional string invalidated_invitation_code = 3;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
/// App RPCs for the shell.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "google/protobuf/struct.proto";
|
|
4
|
+
import "google/protobuf/empty.proto";
|
|
5
|
+
import "dxos/error.proto";
|
|
6
|
+
|
|
7
|
+
package dxos.tracing;
|
|
8
|
+
|
|
9
|
+
enum TraceLevel {
|
|
10
|
+
DISABLED = 0;
|
|
11
|
+
PRODUCTION = 10;
|
|
12
|
+
DEVELOPMENT = 20;
|
|
13
|
+
DEBUG = 30;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message Resource {
|
|
17
|
+
int32 id = 1;
|
|
18
|
+
string class_name = 2;
|
|
19
|
+
int32 instance_id = 3;
|
|
20
|
+
|
|
21
|
+
google.protobuf.Struct info = 4;
|
|
22
|
+
repeated ResourceLink links = 5;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message ResourceLink {
|
|
26
|
+
int32 from = 1;
|
|
27
|
+
int32 to = 2;
|
|
28
|
+
google.protobuf.Struct attributes = 4;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message Span {
|
|
32
|
+
int32 id = 1;
|
|
33
|
+
optional int32 parent_id = 2;
|
|
34
|
+
optional int32 resource_id = 3;
|
|
35
|
+
string method_name = 4;
|
|
36
|
+
|
|
37
|
+
// TODO(dmaretskyi): Figure out proper sub-millisecond timestamp type.
|
|
38
|
+
string start_ts = 5;
|
|
39
|
+
optional string end_ts = 6;
|
|
40
|
+
|
|
41
|
+
optional dxos.error.Error error = 11;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message StreamTraceEvent {
|
|
45
|
+
message ResourceAdded {
|
|
46
|
+
Resource resource = 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message ResourceRemoved {
|
|
50
|
+
int32 id = 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
message SpanAdded {
|
|
54
|
+
Span span = 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
repeated ResourceAdded resource_added = 1;
|
|
58
|
+
repeated ResourceRemoved resource_removed = 2;
|
|
59
|
+
repeated SpanAdded span_added = 3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
service TracingService {
|
|
63
|
+
rpc StreamTrace(google.protobuf.Empty) returns (stream StreamTraceEvent);
|
|
64
|
+
}
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "./rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "./service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "./service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "./service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "./tracing";
|
|
50
51
|
import * as dxos_type from "./type";
|
|
51
52
|
import * as dxos_value from "./value";
|
|
52
53
|
import * as example_testing_data from "../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -121,6 +122,14 @@ export interface QueryMetricsRequest {
|
|
|
121
122
|
*/
|
|
122
123
|
interval?: number;
|
|
123
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Defined in:
|
|
127
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
128
|
+
*/
|
|
129
|
+
export interface QueryMetricsResponse {
|
|
130
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
131
|
+
metrics: Metrics;
|
|
132
|
+
}
|
|
124
133
|
/**
|
|
125
134
|
* Defined in:
|
|
126
135
|
* {@link file://./../../../dxos/client/logging.proto}
|
|
@@ -211,7 +220,7 @@ export namespace LogEntry {
|
|
|
211
220
|
*/
|
|
212
221
|
export interface LoggingService {
|
|
213
222
|
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
214
|
-
queryMetrics: (request: QueryMetricsRequest) => Stream<
|
|
223
|
+
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
215
224
|
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
216
225
|
}
|
|
217
226
|
/**
|
|
@@ -247,6 +256,36 @@ export interface QueryStatusRequest {
|
|
|
247
256
|
export interface QueryStatusResponse {
|
|
248
257
|
status: SystemStatus;
|
|
249
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* Defined in:
|
|
261
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
262
|
+
*/
|
|
263
|
+
export interface GetDiagnosticsRequest {
|
|
264
|
+
/**
|
|
265
|
+
* Options:
|
|
266
|
+
* - proto3_optional = true
|
|
267
|
+
*/
|
|
268
|
+
keys?: GetDiagnosticsRequest.KEY_OPTION;
|
|
269
|
+
}
|
|
270
|
+
export namespace GetDiagnosticsRequest {
|
|
271
|
+
/**
|
|
272
|
+
* Defined in:
|
|
273
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
274
|
+
*/
|
|
275
|
+
export enum KEY_OPTION {
|
|
276
|
+
NONE = 0,
|
|
277
|
+
TRUNCATE = 1,
|
|
278
|
+
HUMANIZE = 2
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Defined in:
|
|
283
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
284
|
+
*/
|
|
285
|
+
export interface GetDiagnosticsResponse {
|
|
286
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
287
|
+
diagnostics: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
288
|
+
}
|
|
250
289
|
/**
|
|
251
290
|
* Defined in:
|
|
252
291
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -256,6 +295,10 @@ export interface SystemService {
|
|
|
256
295
|
* Get the static config of the client.
|
|
257
296
|
*/
|
|
258
297
|
getConfig: (request: void) => Promise<dxos_config.Config>;
|
|
298
|
+
/**
|
|
299
|
+
* Get the diagnostics snapshot.
|
|
300
|
+
*/
|
|
301
|
+
getDiagnostics: (request: GetDiagnosticsRequest) => Promise<GetDiagnosticsResponse>;
|
|
259
302
|
/**
|
|
260
303
|
* Update the status of the client. Used to re-activate an inactive client.
|
|
261
304
|
*/
|
|
@@ -384,6 +427,7 @@ export interface ContactsService {
|
|
|
384
427
|
export interface SpaceMember {
|
|
385
428
|
identity: Identity;
|
|
386
429
|
presence: SpaceMember.PresenceState;
|
|
430
|
+
peerStates?: dxos_mesh_presence.PeerState[];
|
|
387
431
|
}
|
|
388
432
|
export namespace SpaceMember {
|
|
389
433
|
/**
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "./rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "./service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "./service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "./service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "./tracing";
|
|
50
51
|
import * as dxos_type from "./type";
|
|
51
52
|
import * as dxos_value from "./value";
|
|
52
53
|
import * as example_testing_data from "../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../../tracing";
|
|
50
51
|
import * as dxos_type from "../../type";
|
|
51
52
|
import * as dxos_value from "../../value";
|
|
52
53
|
import * as example_testing_data from "../../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../../tracing";
|
|
50
51
|
import * as dxos_type from "../../type";
|
|
51
52
|
import * as dxos_value from "../../value";
|
|
52
53
|
import * as example_testing_data from "../../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../../tracing";
|
|
50
51
|
import * as dxos_type from "../../type";
|
|
51
52
|
import * as dxos_value from "../../value";
|
|
52
53
|
import * as example_testing_data from "../../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "./rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "./service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "./service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "./service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "./tracing";
|
|
50
51
|
import * as dxos_type from "./type";
|
|
51
52
|
import * as dxos_value from "./value";
|
|
52
53
|
import * as example_testing_data from "../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "./rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "./service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "./service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "./service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "./tracing";
|
|
50
51
|
import * as dxos_type from "./type";
|
|
51
52
|
import * as dxos_value from "./value";
|
|
52
53
|
import * as example_testing_data from "../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../../tracing";
|
|
50
51
|
import * as dxos_type from "../../type";
|
|
51
52
|
import * as dxos_value from "../../value";
|
|
52
53
|
import * as example_testing_data from "../../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../../tracing";
|
|
50
51
|
import * as dxos_type from "../../type";
|
|
51
52
|
import * as dxos_value from "../../value";
|
|
52
53
|
import * as example_testing_data from "../../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../../tracing";
|
|
50
51
|
import * as dxos_type from "../../type";
|
|
51
52
|
import * as dxos_value from "../../value";
|
|
52
53
|
import * as example_testing_data from "../../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "./rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "./service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "./service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "./service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "./tracing";
|
|
50
51
|
import * as dxos_type from "./type";
|
|
51
52
|
import * as dxos_value from "./value";
|
|
52
53
|
import * as example_testing_data from "../example/testing/data";
|
|
@@ -89,12 +90,27 @@ export enum ShellDisplay {
|
|
|
89
90
|
* {@link file://./../../dxos/iframe.proto}
|
|
90
91
|
*/
|
|
91
92
|
export interface AppContextRequest {
|
|
92
|
-
display: ShellDisplay;
|
|
93
93
|
/**
|
|
94
|
+
* The display mode that shell should use
|
|
95
|
+
*
|
|
96
|
+
* Options:
|
|
97
|
+
* - proto3_optional = true
|
|
98
|
+
*/
|
|
99
|
+
display?: ShellDisplay;
|
|
100
|
+
/**
|
|
101
|
+
* The key of the joined space
|
|
102
|
+
*
|
|
94
103
|
* Options:
|
|
95
104
|
* - proto3_optional = true
|
|
96
105
|
*/
|
|
97
106
|
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
107
|
+
/**
|
|
108
|
+
* The invitation code which has become invalidated
|
|
109
|
+
*
|
|
110
|
+
* Options:
|
|
111
|
+
* - proto3_optional = true
|
|
112
|
+
*/
|
|
113
|
+
invalidatedInvitationCode?: string;
|
|
98
114
|
}
|
|
99
115
|
/**
|
|
100
116
|
* App RPCs for the shell.
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "./rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "./service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "./service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "./service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "./tracing";
|
|
50
51
|
import * as dxos_type from "./type";
|
|
51
52
|
import * as dxos_value from "./value";
|
|
52
53
|
import * as example_testing_data from "../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -47,6 +47,7 @@ import * as dxos_rpc from "../rpc";
|
|
|
47
47
|
import * as dxos_service_publisher from "../service/publisher";
|
|
48
48
|
import * as dxos_service_supervisor from "../service/supervisor";
|
|
49
49
|
import * as dxos_service_tunnel from "../service/tunnel";
|
|
50
|
+
import * as dxos_tracing from "../tracing";
|
|
50
51
|
import * as dxos_type from "../type";
|
|
51
52
|
import * as dxos_value from "../value";
|
|
52
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
@@ -62,4 +63,11 @@ export interface PeerState {
|
|
|
62
63
|
*/
|
|
63
64
|
connections?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
64
65
|
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
66
|
+
/**
|
|
67
|
+
* Omitted when sent over the network.
|
|
68
|
+
*
|
|
69
|
+
* Options:
|
|
70
|
+
* - proto3_optional = true
|
|
71
|
+
*/
|
|
72
|
+
peerId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
65
73
|
}
|