@dxos/protocols 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934
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/LICENSE +102 -5
- package/dist/src/FeedProtocol.d.ts +4 -4
- package/dist/src/FeedProtocol.d.ts.map +1 -1
- package/dist/src/FunctionProtocol.d.ts +7 -0
- package/dist/src/FunctionProtocol.d.ts.map +1 -1
- package/dist/src/TraceProtocol.d.ts +15 -0
- package/dist/src/TraceProtocol.d.ts.map +1 -0
- package/dist/src/TraceProtocol.js +4 -0
- package/dist/src/TraceProtocol.js.map +1 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +11 -5
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +31 -0
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js +23 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +112 -0
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js +72 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +17 -2
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +0 -10
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +24 -0
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js +12 -7
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -139
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js +10 -44
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
- package/dist/src/codec.test.js +1 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts +22 -2
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -1
- package/dist/src/edge/edge.d.ts +9 -2
- package/dist/src/edge/edge.d.ts.map +1 -1
- package/dist/src/edge/edge.js +8 -1
- package/dist/src/edge/edge.js.map +1 -1
- package/dist/src/edge/errors.d.ts.map +1 -1
- package/dist/src/edge/errors.js +1 -1
- package/dist/src/edge/errors.js.map +1 -1
- package/dist/src/edge/index.d.ts +1 -0
- package/dist/src/edge/index.d.ts.map +1 -1
- package/dist/src/edge/index.js +4 -3
- package/dist/src/edge/index.js.map +1 -1
- package/dist/src/edge/registry.d.ts +212 -0
- package/dist/src/edge/registry.d.ts.map +1 -0
- package/dist/src/edge/registry.js +139 -0
- package/dist/src/edge/registry.js.map +1 -0
- package/dist/src/errors/base-errors.d.ts +18 -18
- package/dist/src/errors/base-errors.d.ts.map +1 -1
- package/dist/src/errors/encoding.d.ts +1 -1
- package/dist/src/errors/encoding.d.ts.map +1 -1
- package/dist/src/errors/encoding.js +1 -1
- package/dist/src/errors/encoding.js.map +1 -1
- package/dist/src/errors/errors.d.ts +132 -132
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js +1 -1
- package/dist/src/errors/errors.test.js +1 -1
- package/dist/src/errors/helpers.d.ts +2 -2
- package/dist/src/errors/helpers.d.ts.map +1 -1
- package/dist/src/errors/index.js +5 -5
- package/dist/src/errors/parameter.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -11
- package/dist/src/index.js.map +1 -1
- package/dist/src/indexing.d.ts.map +1 -1
- package/dist/src/indexing.test.js +1 -1
- package/dist/src/proto/gen/dxos/agent/dashboard.d.ts +3 -6
- package/dist/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/agent/dashboard.js.map +1 -1
- package/dist/src/proto/gen/dxos/agent/echoproxy.d.ts +1 -2
- package/dist/src/proto/gen/dxos/agent/echoproxy.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/agent/epoch.d.ts +1 -2
- package/dist/src/proto/gen/dxos/agent/epoch.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/agent/functions.d.ts +6 -12
- package/dist/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.d.ts +12 -24
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.d.ts +435 -483
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +79 -67
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +115 -100
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +26 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +48 -96
- package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/swarm.d.ts +4 -8
- package/dist/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/blob.d.ts +1 -2
- package/dist/src/proto/gen/dxos/echo/blob.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/blob.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.d.ts +4 -8
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/filter.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/filter.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/filter.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/indexing.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/indexing.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/indexing.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +8 -16
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/document.d.ts +11 -22
- package/dist/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/document.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts +1 -2
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/object.d.ts +6 -12
- package/dist/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/object.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/query.d.ts +4 -8
- package/dist/src/proto/gen/dxos/echo/query.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/query.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +36 -35
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/calls.d.ts +5 -10
- package/dist/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/messenger.d.ts +6 -12
- package/dist/src/proto/gen/dxos/edge/messenger.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/messenger.js.map +1 -1
- package/dist/src/proto/gen/dxos/edge/signal.d.ts +7 -14
- package/dist/src/proto/gen/dxos/edge/signal.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/error.d.ts +1 -2
- package/dist/src/proto/gen/dxos/error.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/gravity.d.ts +10 -20
- package/dist/src/proto/gen/dxos/gravity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts +1 -2
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts +6 -12
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts +2 -4
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts +22 -44
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts +13 -26
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts +1 -2
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +2 -4
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/signed.d.ts +4 -8
- package/dist/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.d.ts +4 -18
- package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/src/proto/gen/dxos/keys.d.ts +2 -4
- package/dist/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts +12 -24
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/muxer.d.ts +5 -10
- package/dist/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts +3 -6
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts +9 -18
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/signal.js.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts +6 -12
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/automerge.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/teleport/automerge.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -6
- package/dist/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -6
- package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +5 -10
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/teleport.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/registry.d.ts +3 -6
- package/dist/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts +24 -12
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/agentmanager.d.ts +4 -8
- package/dist/src/proto/gen/dxos/service/agentmanager.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/agentmanager.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/publisher.d.ts +5 -10
- package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/supervisor.d.ts +12 -24
- package/dist/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/supervisor.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/tunnel.d.ts +3 -6
- package/dist/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/tracing.d.ts +10 -99
- package/dist/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/type.d.ts +12 -24
- package/dist/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/value.d.ts +2 -4
- package/dist/src/proto/gen/dxos/value.d.ts.map +1 -1
- package/dist/src/proto/gen/example/testing/data.d.ts +4 -8
- package/dist/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/src/proto/gen/example/testing/rpc.d.ts +7 -14
- package/dist/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +4 -7
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/dist/src/proto/index.js +1 -1
- package/dist/src/proto/substitutions.d.ts +8 -8
- package/dist/src/proto/substitutions.d.ts.map +1 -1
- package/dist/src/space-archive.d.ts +5 -5
- package/dist/src/space-archive.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -29
- package/src/FunctionProtocol.ts +9 -0
- package/src/TraceProtocol.ts +21 -0
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +14 -8
- package/src/buf/proto/gen/dxos/client/services_pb.ts +38 -1
- package/src/buf/proto/gen/dxos/config_pb.ts +131 -1
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +19 -3
- package/src/buf/proto/gen/dxos/iframe_pb.ts +1 -13
- package/src/buf/proto/gen/dxos/rpc_pb.ts +36 -7
- package/src/buf/proto/gen/dxos/tracing_pb.ts +11 -178
- package/src/edge/EdgeFunctionEnv.ts +37 -2
- package/src/edge/edge.ts +9 -2
- package/src/edge/index.ts +1 -0
- package/src/edge/registry.ts +164 -0
- package/src/index.ts +1 -1
- package/src/proto/dxos/client/queue.proto +7 -4
- package/src/proto/dxos/client/services.proto +10 -0
- package/src/proto/dxos/config.proto +49 -0
- package/src/proto/dxos/echo/service.proto +14 -1
- package/src/proto/dxos/iframe.proto +0 -3
- package/src/proto/dxos/rpc.proto +7 -0
- package/src/proto/dxos/tracing.proto +0 -40
- package/src/proto/gen/dxos/agent/dashboard.ts +3 -6
- package/src/proto/gen/dxos/agent/echoproxy.ts +1 -2
- package/src/proto/gen/dxos/agent/epoch.ts +1 -2
- package/src/proto/gen/dxos/agent/functions.ts +6 -12
- package/src/proto/gen/dxos/bot.ts +12 -24
- package/src/proto/gen/dxos/client/services.ts +435 -483
- package/src/proto/gen/dxos/config.ts +115 -100
- package/src/proto/gen/dxos/devtools/host.ts +48 -96
- package/src/proto/gen/dxos/devtools/swarm.ts +4 -8
- package/src/proto/gen/dxos/echo/blob.ts +1 -2
- package/src/proto/gen/dxos/echo/feed.ts +4 -8
- package/src/proto/gen/dxos/echo/filter.ts +2 -4
- package/src/proto/gen/dxos/echo/indexing.ts +2 -4
- package/src/proto/gen/dxos/echo/metadata.ts +8 -16
- package/src/proto/gen/dxos/echo/model/document.ts +11 -22
- package/src/proto/gen/dxos/echo/model/messenger.ts +1 -2
- package/src/proto/gen/dxos/echo/model/text.ts +2 -4
- package/src/proto/gen/dxos/echo/object.ts +6 -12
- package/src/proto/gen/dxos/echo/query.ts +4 -8
- package/src/proto/gen/dxos/echo/service.ts +36 -35
- package/src/proto/gen/dxos/echo/snapshot.ts +2 -4
- package/src/proto/gen/dxos/echo/timeframe.ts +2 -4
- package/src/proto/gen/dxos/edge/calls.ts +5 -10
- package/src/proto/gen/dxos/edge/messenger.ts +6 -12
- package/src/proto/gen/dxos/edge/signal.ts +7 -14
- package/src/proto/gen/dxos/error.ts +1 -2
- package/src/proto/gen/dxos/gravity.ts +10 -20
- package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -2
- package/src/proto/gen/dxos/halo/credentials/greet.ts +6 -12
- package/src/proto/gen/dxos/halo/credentials/identity.ts +2 -4
- package/src/proto/gen/dxos/halo/credentials.ts +22 -44
- package/src/proto/gen/dxos/halo/invitations.ts +13 -26
- package/src/proto/gen/dxos/halo/keyring.ts +1 -2
- package/src/proto/gen/dxos/halo/keys.ts +2 -4
- package/src/proto/gen/dxos/halo/signed.ts +4 -8
- package/src/proto/gen/dxos/iframe.ts +4 -18
- package/src/proto/gen/dxos/keys.ts +2 -4
- package/src/proto/gen/dxos/mesh/bridge.ts +12 -24
- package/src/proto/gen/dxos/mesh/broadcast.ts +1 -2
- package/src/proto/gen/dxos/mesh/messaging.ts +2 -4
- package/src/proto/gen/dxos/mesh/muxer.ts +5 -10
- package/src/proto/gen/dxos/mesh/presence.ts +1 -2
- package/src/proto/gen/dxos/mesh/protocol.ts +3 -6
- package/src/proto/gen/dxos/mesh/replicator.ts +2 -4
- package/src/proto/gen/dxos/mesh/signal.ts +9 -18
- package/src/proto/gen/dxos/mesh/swarm.ts +6 -12
- package/src/proto/gen/dxos/mesh/teleport/auth.ts +2 -4
- package/src/proto/gen/dxos/mesh/teleport/automerge.ts +2 -4
- package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +3 -6
- package/src/proto/gen/dxos/mesh/teleport/control.ts +3 -6
- package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -2
- package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -2
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +5 -10
- package/src/proto/gen/dxos/mesh/teleport.ts +2 -4
- package/src/proto/gen/dxos/registry.ts +3 -6
- package/src/proto/gen/dxos/rpc.ts +24 -12
- package/src/proto/gen/dxos/service/agentmanager.ts +4 -8
- package/src/proto/gen/dxos/service/publisher.ts +5 -10
- package/src/proto/gen/dxos/service/supervisor.ts +12 -24
- package/src/proto/gen/dxos/service/tunnel.ts +3 -6
- package/src/proto/gen/dxos/tracing.ts +10 -96
- package/src/proto/gen/dxos/type.ts +12 -24
- package/src/proto/gen/dxos/value.ts +2 -4
- package/src/proto/gen/example/testing/data.ts +4 -8
- package/src/proto/gen/example/testing/rpc.ts +7 -14
- package/src/proto/gen/index.ts +5 -8
- package/dist/src/tracing.d.ts +0 -40
- package/dist/src/tracing.d.ts.map +0 -1
- package/dist/src/tracing.js +0 -50
- package/dist/src/tracing.js.map +0 -1
- package/src/tracing.ts +0 -86
|
@@ -65,6 +65,323 @@ import * as dxos_value from "../value.js";
|
|
|
65
65
|
import * as example_testing_data from "../../example/testing/data.js";
|
|
66
66
|
import * as example_testing_rpc from "../../example/testing/rpc.js";
|
|
67
67
|
import * as google_protobuf from "../../google/protobuf.js";
|
|
68
|
+
/**
|
|
69
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
70
|
+
*/
|
|
71
|
+
export interface QueueQuery {
|
|
72
|
+
spaceId: string;
|
|
73
|
+
/**
|
|
74
|
+
* Options:
|
|
75
|
+
* - proto3_optional = true
|
|
76
|
+
*/
|
|
77
|
+
queuesNamespace?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Queries the whole space if missing.
|
|
80
|
+
*/
|
|
81
|
+
queueIds?: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Filter items after this cursor. Exclusive.
|
|
84
|
+
*
|
|
85
|
+
* Options:
|
|
86
|
+
* - proto3_optional = true
|
|
87
|
+
*/
|
|
88
|
+
after?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Filter items before this cursor. Exclusive.
|
|
91
|
+
*
|
|
92
|
+
* Options:
|
|
93
|
+
* - proto3_optional = true
|
|
94
|
+
*/
|
|
95
|
+
before?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Filter items after this position. Inclusive.
|
|
98
|
+
*
|
|
99
|
+
* Options:
|
|
100
|
+
* - proto3_optional = true
|
|
101
|
+
*/
|
|
102
|
+
beginPosition?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Filter items before this position. Exclusive.
|
|
105
|
+
*
|
|
106
|
+
* Options:
|
|
107
|
+
* - proto3_optional = true
|
|
108
|
+
*/
|
|
109
|
+
endPosition?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Options:
|
|
112
|
+
* - proto3_optional = true
|
|
113
|
+
*/
|
|
114
|
+
limit?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Options:
|
|
117
|
+
* - proto3_optional = true
|
|
118
|
+
*/
|
|
119
|
+
reverse?: boolean;
|
|
120
|
+
objectIds?: string[];
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
124
|
+
*/
|
|
125
|
+
export interface QueueQueryResult {
|
|
126
|
+
/**
|
|
127
|
+
* coerces `undefined` to `null`, corrupting optional fields.
|
|
128
|
+
*/
|
|
129
|
+
objects?: string[];
|
|
130
|
+
/**
|
|
131
|
+
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
132
|
+
*/
|
|
133
|
+
nextCursor: string;
|
|
134
|
+
prevCursor: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
138
|
+
*/
|
|
139
|
+
export interface QueryQueueRequest {
|
|
140
|
+
query: QueueQuery;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
144
|
+
*/
|
|
145
|
+
export interface InsertIntoQueueRequest {
|
|
146
|
+
subspaceTag: string;
|
|
147
|
+
spaceId: string;
|
|
148
|
+
queueId: string;
|
|
149
|
+
/**
|
|
150
|
+
* JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
151
|
+
*/
|
|
152
|
+
objects?: string[];
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
156
|
+
*/
|
|
157
|
+
export interface DeleteFromQueueRequest {
|
|
158
|
+
subspaceTag: string;
|
|
159
|
+
spaceId: string;
|
|
160
|
+
queueId: string;
|
|
161
|
+
objectIds?: string[];
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
165
|
+
*/
|
|
166
|
+
export interface SyncQueueRequest {
|
|
167
|
+
subspaceTag: string;
|
|
168
|
+
spaceId: string;
|
|
169
|
+
queueId: string;
|
|
170
|
+
/**
|
|
171
|
+
* Whether to push local changes to the server. Defaults to true.
|
|
172
|
+
*
|
|
173
|
+
* Options:
|
|
174
|
+
* - proto3_optional = true
|
|
175
|
+
*/
|
|
176
|
+
shouldPush?: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Whether to pull remote changes from the server. Defaults to true.
|
|
179
|
+
*
|
|
180
|
+
* Options:
|
|
181
|
+
* - proto3_optional = true
|
|
182
|
+
*/
|
|
183
|
+
shouldPull?: boolean;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Defined in:
|
|
187
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
188
|
+
*/
|
|
189
|
+
export interface QueueService {
|
|
190
|
+
queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
|
|
191
|
+
insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
192
|
+
deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
193
|
+
syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Defined in: `../../../dxos/client/invitation.proto`
|
|
197
|
+
*/
|
|
198
|
+
export interface AdmissionKeypair {
|
|
199
|
+
publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
200
|
+
/**
|
|
201
|
+
* Options:
|
|
202
|
+
* - proto3_optional = true
|
|
203
|
+
*/
|
|
204
|
+
privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Runtime state of the space object.
|
|
208
|
+
*
|
|
209
|
+
* Defined in:
|
|
210
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
211
|
+
*/
|
|
212
|
+
export enum SpaceState {
|
|
213
|
+
INVALID = 0,
|
|
214
|
+
SPACE_INACTIVE = 2,
|
|
215
|
+
SPACE_ACTIVE = 6,
|
|
216
|
+
SPACE_CLOSED = 1,
|
|
217
|
+
SPACE_CONTROL_ONLY = 7,
|
|
218
|
+
SPACE_INITIALIZING = 4,
|
|
219
|
+
SPACE_READY = 3,
|
|
220
|
+
SPACE_ERROR = 5,
|
|
221
|
+
SPACE_REQUIRES_MIGRATION = 8
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Represents the invitation state passed between client and service.
|
|
225
|
+
*
|
|
226
|
+
* Defined in: `../../../dxos/client/invitation.proto`
|
|
227
|
+
*/
|
|
228
|
+
export interface Invitation {
|
|
229
|
+
/**
|
|
230
|
+
* Local identifier (random).
|
|
231
|
+
*/
|
|
232
|
+
invitationId: string;
|
|
233
|
+
/**
|
|
234
|
+
* Determines the behavior of the invitation.
|
|
235
|
+
*/
|
|
236
|
+
type: Invitation.Type;
|
|
237
|
+
/**
|
|
238
|
+
* Kind of access the invitation will grant.
|
|
239
|
+
*/
|
|
240
|
+
kind: Invitation.Kind;
|
|
241
|
+
/**
|
|
242
|
+
* How the invitation is authenticated.
|
|
243
|
+
*/
|
|
244
|
+
authMethod: Invitation.AuthMethod;
|
|
245
|
+
/**
|
|
246
|
+
* Swarm rendezvous (random).
|
|
247
|
+
*/
|
|
248
|
+
swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
249
|
+
/**
|
|
250
|
+
* Local state.
|
|
251
|
+
*/
|
|
252
|
+
state: Invitation.State;
|
|
253
|
+
/**
|
|
254
|
+
* Timeout for guest to complete invitation once connected (ms).
|
|
255
|
+
*
|
|
256
|
+
* Options:
|
|
257
|
+
* - proto3_optional = true
|
|
258
|
+
*/
|
|
259
|
+
timeout?: number;
|
|
260
|
+
/**
|
|
261
|
+
* Guest's identity.
|
|
262
|
+
*
|
|
263
|
+
* Options:
|
|
264
|
+
* - proto3_optional = true
|
|
265
|
+
*/
|
|
266
|
+
identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
267
|
+
/**
|
|
268
|
+
* Space to join (only present if kind is SPACE).
|
|
269
|
+
*
|
|
270
|
+
* Options:
|
|
271
|
+
* - proto3_optional = true
|
|
272
|
+
*/
|
|
273
|
+
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
274
|
+
/**
|
|
275
|
+
* Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
276
|
+
*
|
|
277
|
+
* Options:
|
|
278
|
+
* - proto3_optional = true
|
|
279
|
+
*/
|
|
280
|
+
authCode?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Path or identifier to navigate to after successful authentication.
|
|
283
|
+
*
|
|
284
|
+
* Options:
|
|
285
|
+
* - proto3_optional = true
|
|
286
|
+
*/
|
|
287
|
+
target?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Host should resume invitation on startup until timeout.
|
|
290
|
+
*
|
|
291
|
+
* Options:
|
|
292
|
+
* - proto3_optional = true
|
|
293
|
+
*/
|
|
294
|
+
persistent?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* Options:
|
|
297
|
+
* - proto3_optional = true
|
|
298
|
+
*/
|
|
299
|
+
created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
300
|
+
/**
|
|
301
|
+
* Options:
|
|
302
|
+
* - proto3_optional = true
|
|
303
|
+
*/
|
|
304
|
+
lifetime?: number;
|
|
305
|
+
/**
|
|
306
|
+
* Whether an invitation can be used multiple times.
|
|
307
|
+
*
|
|
308
|
+
* Options:
|
|
309
|
+
* - proto3_optional = true
|
|
310
|
+
*/
|
|
311
|
+
multiUse?: boolean;
|
|
312
|
+
/**
|
|
313
|
+
* Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
|
|
314
|
+
*
|
|
315
|
+
* Options:
|
|
316
|
+
* - proto3_optional = true
|
|
317
|
+
*/
|
|
318
|
+
guestKeypair?: AdmissionKeypair;
|
|
319
|
+
/**
|
|
320
|
+
* Present on Type.DELEGATED invitations.
|
|
321
|
+
*
|
|
322
|
+
* Options:
|
|
323
|
+
* - proto3_optional = true
|
|
324
|
+
*/
|
|
325
|
+
delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
326
|
+
/**
|
|
327
|
+
* Role of the admitted member, defaults to ADMIN.
|
|
328
|
+
*
|
|
329
|
+
* Options:
|
|
330
|
+
* - proto3_optional = true
|
|
331
|
+
*/
|
|
332
|
+
role?: dxos_halo_credentials.SpaceMember.Role;
|
|
333
|
+
/**
|
|
334
|
+
* Id of a the space to join (only present if kind is SPACE).
|
|
335
|
+
*
|
|
336
|
+
* Options:
|
|
337
|
+
* - proto3_optional = true
|
|
338
|
+
*/
|
|
339
|
+
spaceId?: string;
|
|
340
|
+
}
|
|
341
|
+
export namespace Invitation {
|
|
342
|
+
/**
|
|
343
|
+
* Defined in:
|
|
344
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
345
|
+
*/
|
|
346
|
+
export enum Type {
|
|
347
|
+
INTERACTIVE = 0,
|
|
348
|
+
DELEGATED = 1,
|
|
349
|
+
MULTIUSE = 2
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Defined in:
|
|
353
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
354
|
+
*/
|
|
355
|
+
export enum Kind {
|
|
356
|
+
DEVICE = 0,
|
|
357
|
+
SPACE = 1
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Defined in:
|
|
361
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
362
|
+
*/
|
|
363
|
+
export enum AuthMethod {
|
|
364
|
+
NONE = 0,
|
|
365
|
+
SHARED_SECRET = 1,
|
|
366
|
+
KNOWN_PUBLIC_KEY = 2
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Defined in:
|
|
370
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
371
|
+
*/
|
|
372
|
+
export enum State {
|
|
373
|
+
INIT = 0,
|
|
374
|
+
CONNECTING = 1,
|
|
375
|
+
CONNECTED = 2,
|
|
376
|
+
READY_FOR_AUTHENTICATION = 3,
|
|
377
|
+
AUTHENTICATING = 4,
|
|
378
|
+
SUCCESS = 5,
|
|
379
|
+
CANCELLED = 6,
|
|
380
|
+
TIMEOUT = 7,
|
|
381
|
+
ERROR = 8,
|
|
382
|
+
EXPIRED = 9
|
|
383
|
+
}
|
|
384
|
+
}
|
|
68
385
|
/**
|
|
69
386
|
* Defined in:
|
|
70
387
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -74,15 +391,13 @@ export enum SystemStatus {
|
|
|
74
391
|
ACTIVE = 1
|
|
75
392
|
}
|
|
76
393
|
/**
|
|
77
|
-
* Defined in:
|
|
78
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
394
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
79
395
|
*/
|
|
80
396
|
export interface UpdateStatusRequest {
|
|
81
397
|
status: SystemStatus;
|
|
82
398
|
}
|
|
83
399
|
/**
|
|
84
|
-
* Defined in:
|
|
85
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
400
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
86
401
|
*/
|
|
87
402
|
export interface QueryStatusRequest {
|
|
88
403
|
/**
|
|
@@ -92,15 +407,13 @@ export interface QueryStatusRequest {
|
|
|
92
407
|
interval?: number;
|
|
93
408
|
}
|
|
94
409
|
/**
|
|
95
|
-
* Defined in:
|
|
96
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
410
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
97
411
|
*/
|
|
98
412
|
export interface QueryStatusResponse {
|
|
99
413
|
status: SystemStatus;
|
|
100
414
|
}
|
|
101
415
|
/**
|
|
102
|
-
* Defined in:
|
|
103
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
416
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
104
417
|
*/
|
|
105
418
|
export interface GetDiagnosticsRequest {
|
|
106
419
|
/**
|
|
@@ -121,16 +434,14 @@ export namespace GetDiagnosticsRequest {
|
|
|
121
434
|
}
|
|
122
435
|
}
|
|
123
436
|
/**
|
|
124
|
-
* Defined in:
|
|
125
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
437
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
126
438
|
*/
|
|
127
439
|
export interface GetDiagnosticsResponse {
|
|
128
440
|
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
129
441
|
diagnostics: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
130
442
|
}
|
|
131
443
|
/**
|
|
132
|
-
* Defined in:
|
|
133
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
444
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
134
445
|
*/
|
|
135
446
|
export interface Platform {
|
|
136
447
|
type: Platform.PLATFORM_TYPE;
|
|
@@ -219,9 +530,8 @@ export interface SystemService {
|
|
|
219
530
|
*/
|
|
220
531
|
getPlatform: (request: void, options?: RequestOptions) => Promise<Platform>;
|
|
221
532
|
}
|
|
222
|
-
/**
|
|
223
|
-
* Defined in:
|
|
224
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
533
|
+
/**
|
|
534
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
225
535
|
*/
|
|
226
536
|
export interface Identity {
|
|
227
537
|
did: string;
|
|
@@ -238,8 +548,7 @@ export interface Identity {
|
|
|
238
548
|
profile?: dxos_halo_credentials.ProfileDocument;
|
|
239
549
|
}
|
|
240
550
|
/**
|
|
241
|
-
* Defined in:
|
|
242
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
551
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
243
552
|
*/
|
|
244
553
|
export interface RequestRecoveryChallengeResponse {
|
|
245
554
|
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -247,8 +556,7 @@ export interface RequestRecoveryChallengeResponse {
|
|
|
247
556
|
challenge: string;
|
|
248
557
|
}
|
|
249
558
|
/**
|
|
250
|
-
* Defined in:
|
|
251
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
559
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
252
560
|
*/
|
|
253
561
|
export interface RecoverIdentityRequest {
|
|
254
562
|
recoveryCode?: string;
|
|
@@ -257,8 +565,7 @@ export interface RecoverIdentityRequest {
|
|
|
257
565
|
}
|
|
258
566
|
export namespace RecoverIdentityRequest {
|
|
259
567
|
/**
|
|
260
|
-
* Defined in:
|
|
261
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
568
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
262
569
|
*/
|
|
263
570
|
export interface ExternalSignature {
|
|
264
571
|
lookupKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -278,8 +585,7 @@ export namespace RecoverIdentityRequest {
|
|
|
278
585
|
}
|
|
279
586
|
}
|
|
280
587
|
/**
|
|
281
|
-
* Defined in:
|
|
282
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
588
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
283
589
|
*/
|
|
284
590
|
export interface RecoveryCredentialData {
|
|
285
591
|
/**
|
|
@@ -296,8 +602,7 @@ export interface RecoveryCredentialData {
|
|
|
296
602
|
algorithm: string;
|
|
297
603
|
}
|
|
298
604
|
/**
|
|
299
|
-
* Defined in:
|
|
300
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
605
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
301
606
|
*/
|
|
302
607
|
export interface CreateRecoveryCredentialRequest {
|
|
303
608
|
/**
|
|
@@ -309,8 +614,7 @@ export interface CreateRecoveryCredentialRequest {
|
|
|
309
614
|
data?: RecoveryCredentialData;
|
|
310
615
|
}
|
|
311
616
|
/**
|
|
312
|
-
* Defined in:
|
|
313
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
617
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
314
618
|
*/
|
|
315
619
|
export interface CreateRecoveryCredentialResponse {
|
|
316
620
|
/**
|
|
@@ -320,8 +624,7 @@ export interface CreateRecoveryCredentialResponse {
|
|
|
320
624
|
recoveryCode?: string;
|
|
321
625
|
}
|
|
322
626
|
/**
|
|
323
|
-
* Defined in:
|
|
324
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
627
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
325
628
|
*/
|
|
326
629
|
export interface QueryIdentityResponse {
|
|
327
630
|
/**
|
|
@@ -331,8 +634,7 @@ export interface QueryIdentityResponse {
|
|
|
331
634
|
identity?: Identity;
|
|
332
635
|
}
|
|
333
636
|
/**
|
|
334
|
-
* Defined in:
|
|
335
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
637
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
336
638
|
*/
|
|
337
639
|
export interface SignPresentationRequest {
|
|
338
640
|
presentation: dxos_halo_credentials.Presentation;
|
|
@@ -343,8 +645,7 @@ export interface SignPresentationRequest {
|
|
|
343
645
|
nonce?: Uint8Array;
|
|
344
646
|
}
|
|
345
647
|
/**
|
|
346
|
-
* Defined in:
|
|
347
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
648
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
348
649
|
*/
|
|
349
650
|
export interface CreateIdentityRequest {
|
|
350
651
|
/**
|
|
@@ -381,8 +682,7 @@ export enum DeviceKind {
|
|
|
381
682
|
TRUSTED = 1
|
|
382
683
|
}
|
|
383
684
|
/**
|
|
384
|
-
* Defined in:
|
|
385
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
685
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
386
686
|
*/
|
|
387
687
|
export interface Device {
|
|
388
688
|
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -406,8 +706,7 @@ export namespace Device {
|
|
|
406
706
|
}
|
|
407
707
|
}
|
|
408
708
|
/**
|
|
409
|
-
* Defined in:
|
|
410
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
709
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
411
710
|
*/
|
|
412
711
|
export interface QueryDevicesResponse {
|
|
413
712
|
devices?: Device[];
|
|
@@ -421,8 +720,7 @@ export interface DevicesService {
|
|
|
421
720
|
queryDevices: (request: void, options?: RequestOptions) => Stream<QueryDevicesResponse>;
|
|
422
721
|
}
|
|
423
722
|
/**
|
|
424
|
-
* Defined in:
|
|
425
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
723
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
426
724
|
*/
|
|
427
725
|
export interface Contact {
|
|
428
726
|
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -434,8 +732,7 @@ export interface Contact {
|
|
|
434
732
|
commonSpaces?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
435
733
|
}
|
|
436
734
|
/**
|
|
437
|
-
* Defined in:
|
|
438
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
735
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
439
736
|
*/
|
|
440
737
|
export interface ContactBook {
|
|
441
738
|
contacts?: Contact[];
|
|
@@ -449,8 +746,7 @@ export interface ContactsService {
|
|
|
449
746
|
queryContacts: (request: void, options?: RequestOptions) => Stream<ContactBook>;
|
|
450
747
|
}
|
|
451
748
|
/**
|
|
452
|
-
* Defined in:
|
|
453
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
749
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
454
750
|
*/
|
|
455
751
|
export interface SpaceMember {
|
|
456
752
|
identity: Identity;
|
|
@@ -469,8 +765,7 @@ export namespace SpaceMember {
|
|
|
469
765
|
}
|
|
470
766
|
}
|
|
471
767
|
/**
|
|
472
|
-
* Defined in:
|
|
473
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
768
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
474
769
|
*/
|
|
475
770
|
export interface Space {
|
|
476
771
|
id: string;
|
|
@@ -508,8 +803,7 @@ export interface Space {
|
|
|
508
803
|
}
|
|
509
804
|
export namespace Space {
|
|
510
805
|
/**
|
|
511
|
-
* Defined in:
|
|
512
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
806
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
513
807
|
*/
|
|
514
808
|
export interface Metrics {
|
|
515
809
|
/**
|
|
@@ -544,8 +838,7 @@ export namespace Space {
|
|
|
544
838
|
ready?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
545
839
|
}
|
|
546
840
|
/**
|
|
547
|
-
* Defined in:
|
|
548
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
841
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
549
842
|
*/
|
|
550
843
|
export interface PipelineState {
|
|
551
844
|
/**
|
|
@@ -650,16 +943,14 @@ export namespace Space {
|
|
|
650
943
|
}
|
|
651
944
|
}
|
|
652
945
|
/**
|
|
653
|
-
* Defined in:
|
|
654
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
946
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
655
947
|
*/
|
|
656
948
|
export interface CreateSpaceRequest {
|
|
657
949
|
tags?: string[];
|
|
658
950
|
membershipPolicy: dxos_halo_credentials.MembershipPolicy;
|
|
659
951
|
}
|
|
660
952
|
/**
|
|
661
|
-
* Defined in:
|
|
662
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
953
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
663
954
|
*/
|
|
664
955
|
export interface UpdateSpaceRequest {
|
|
665
956
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -677,15 +968,13 @@ export interface UpdateSpaceRequest {
|
|
|
677
968
|
edgeReplication?: dxos_echo_metadata.EdgeReplicationSetting;
|
|
678
969
|
}
|
|
679
970
|
/**
|
|
680
|
-
* Defined in:
|
|
681
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
971
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
682
972
|
*/
|
|
683
973
|
export interface QuerySpacesResponse {
|
|
684
974
|
spaces?: Space[];
|
|
685
975
|
}
|
|
686
976
|
/**
|
|
687
|
-
* Defined in:
|
|
688
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
977
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
689
978
|
*/
|
|
690
979
|
export interface PostMessageRequest {
|
|
691
980
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -693,24 +982,21 @@ export interface PostMessageRequest {
|
|
|
693
982
|
message: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
694
983
|
}
|
|
695
984
|
/**
|
|
696
|
-
* Defined in:
|
|
697
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
985
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
698
986
|
*/
|
|
699
987
|
export interface SubscribeMessagesRequest {
|
|
700
988
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
701
989
|
channel: string;
|
|
702
990
|
}
|
|
703
991
|
/**
|
|
704
|
-
* Defined in:
|
|
705
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
992
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
706
993
|
*/
|
|
707
994
|
export interface WriteCredentialsRequest {
|
|
708
995
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
709
996
|
credentials?: dxos_halo_credentials.Credential[];
|
|
710
997
|
}
|
|
711
998
|
/**
|
|
712
|
-
* Defined in:
|
|
713
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
999
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
714
1000
|
*/
|
|
715
1001
|
export interface QueryCredentialsRequest {
|
|
716
1002
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -721,8 +1007,7 @@ export interface QueryCredentialsRequest {
|
|
|
721
1007
|
noTail?: boolean;
|
|
722
1008
|
}
|
|
723
1009
|
/**
|
|
724
|
-
* Defined in:
|
|
725
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1010
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
726
1011
|
*/
|
|
727
1012
|
export interface CreateEpochRequest {
|
|
728
1013
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -754,8 +1039,7 @@ export namespace CreateEpochRequest {
|
|
|
754
1039
|
}
|
|
755
1040
|
}
|
|
756
1041
|
/**
|
|
757
|
-
* Defined in:
|
|
758
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1042
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
759
1043
|
*/
|
|
760
1044
|
export interface CreateEpochResponse {
|
|
761
1045
|
/**
|
|
@@ -774,8 +1058,7 @@ export interface CreateEpochResponse {
|
|
|
774
1058
|
controlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
775
1059
|
}
|
|
776
1060
|
/**
|
|
777
|
-
* Defined in:
|
|
778
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1061
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
779
1062
|
*/
|
|
780
1063
|
export interface UpdateMemberRoleRequest {
|
|
781
1064
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -783,8 +1066,7 @@ export interface UpdateMemberRoleRequest {
|
|
|
783
1066
|
newRole: dxos_halo_credentials.SpaceMember.Role;
|
|
784
1067
|
}
|
|
785
1068
|
/**
|
|
786
|
-
* Defined in:
|
|
787
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1069
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
788
1070
|
*/
|
|
789
1071
|
export interface AdmitContactRequest {
|
|
790
1072
|
contact: Contact;
|
|
@@ -792,58 +1074,70 @@ export interface AdmitContactRequest {
|
|
|
792
1074
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
793
1075
|
}
|
|
794
1076
|
/**
|
|
795
|
-
* Defined in:
|
|
796
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1077
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
797
1078
|
*/
|
|
798
1079
|
export interface ContactAdmission {
|
|
799
1080
|
credential: dxos_halo_credentials.Credential;
|
|
800
1081
|
}
|
|
801
1082
|
/**
|
|
802
|
-
* Defined in:
|
|
803
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1083
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
804
1084
|
*/
|
|
805
1085
|
export interface JoinSpaceResponse {
|
|
806
1086
|
space: Space;
|
|
807
1087
|
}
|
|
808
1088
|
/**
|
|
809
|
-
* Defined in:
|
|
810
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1089
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
811
1090
|
*/
|
|
812
1091
|
export interface JoinBySpaceKeyRequest {
|
|
813
1092
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
814
1093
|
}
|
|
815
1094
|
/**
|
|
816
|
-
* Defined in:
|
|
817
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1095
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
818
1096
|
*/
|
|
819
1097
|
export interface SpaceArchive {
|
|
820
1098
|
filename: string;
|
|
821
1099
|
contents: Uint8Array;
|
|
1100
|
+
/**
|
|
1101
|
+
* Options:
|
|
1102
|
+
* - proto3_optional = true
|
|
1103
|
+
*/
|
|
1104
|
+
format?: SpaceArchive.Format;
|
|
1105
|
+
}
|
|
1106
|
+
export namespace SpaceArchive {
|
|
1107
|
+
/**
|
|
1108
|
+
* Defined in:
|
|
1109
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
1110
|
+
*/
|
|
1111
|
+
export enum Format {
|
|
1112
|
+
BINARY = 0,
|
|
1113
|
+
JSON = 1
|
|
1114
|
+
}
|
|
822
1115
|
}
|
|
823
1116
|
/**
|
|
824
|
-
* Defined in:
|
|
825
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1117
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
826
1118
|
*/
|
|
827
1119
|
export interface ExportSpaceRequest {
|
|
828
1120
|
spaceId: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* Options:
|
|
1123
|
+
* - proto3_optional = true
|
|
1124
|
+
*/
|
|
1125
|
+
format?: SpaceArchive.Format;
|
|
829
1126
|
}
|
|
830
1127
|
/**
|
|
831
|
-
* Defined in:
|
|
832
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1128
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
833
1129
|
*/
|
|
834
1130
|
export interface ExportSpaceResponse {
|
|
835
1131
|
archive: SpaceArchive;
|
|
836
1132
|
}
|
|
837
1133
|
/**
|
|
838
|
-
* Defined in:
|
|
839
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1134
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
840
1135
|
*/
|
|
841
1136
|
export interface ImportSpaceRequest {
|
|
842
1137
|
archive: SpaceArchive;
|
|
843
1138
|
}
|
|
844
1139
|
/**
|
|
845
|
-
* Defined in:
|
|
846
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1140
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
847
1141
|
*/
|
|
848
1142
|
export interface ImportSpaceResponse {
|
|
849
1143
|
/**
|
|
@@ -883,8 +1177,7 @@ export interface SpacesService {
|
|
|
883
1177
|
importSpace: (request: ImportSpaceRequest, options?: RequestOptions) => Promise<ImportSpaceResponse>;
|
|
884
1178
|
}
|
|
885
1179
|
/**
|
|
886
|
-
* Defined in:
|
|
887
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1180
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
888
1181
|
*/
|
|
889
1182
|
export interface AcceptInvitationRequest {
|
|
890
1183
|
invitation: Invitation;
|
|
@@ -895,31 +1188,27 @@ export interface AcceptInvitationRequest {
|
|
|
895
1188
|
deviceProfile?: dxos_halo_credentials.DeviceProfileDocument;
|
|
896
1189
|
}
|
|
897
1190
|
/**
|
|
898
|
-
* Defined in:
|
|
899
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1191
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
900
1192
|
*/
|
|
901
1193
|
export interface AuthenticationRequest {
|
|
902
1194
|
invitationId: string;
|
|
903
1195
|
authCode: string;
|
|
904
1196
|
}
|
|
905
1197
|
/**
|
|
906
|
-
* Defined in:
|
|
907
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1198
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
908
1199
|
*/
|
|
909
1200
|
export interface CancelInvitationRequest {
|
|
910
1201
|
invitationId: string;
|
|
911
1202
|
}
|
|
912
1203
|
/**
|
|
913
|
-
* Defined in:
|
|
914
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1204
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
915
1205
|
*/
|
|
916
1206
|
export interface InvitationMethod {
|
|
917
1207
|
created?: Invitation;
|
|
918
1208
|
accepted?: Invitation;
|
|
919
1209
|
}
|
|
920
1210
|
/**
|
|
921
|
-
* Defined in:
|
|
922
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1211
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
923
1212
|
*/
|
|
924
1213
|
export interface QueryInvitationsResponse {
|
|
925
1214
|
action: QueryInvitationsResponse.Action;
|
|
@@ -952,8 +1241,7 @@ export namespace QueryInvitationsResponse {
|
|
|
952
1241
|
}
|
|
953
1242
|
}
|
|
954
1243
|
/**
|
|
955
|
-
* Defined in:
|
|
956
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1244
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
957
1245
|
*/
|
|
958
1246
|
export interface LoadPersistentInvitationsResponse {
|
|
959
1247
|
invitations?: Invitation[];
|
|
@@ -978,8 +1266,7 @@ export enum ConnectionState {
|
|
|
978
1266
|
ONLINE = 1
|
|
979
1267
|
}
|
|
980
1268
|
/**
|
|
981
|
-
* Defined in:
|
|
982
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1269
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
983
1270
|
*/
|
|
984
1271
|
export interface NetworkStatus {
|
|
985
1272
|
swarm: ConnectionState;
|
|
@@ -988,8 +1275,7 @@ export interface NetworkStatus {
|
|
|
988
1275
|
}
|
|
989
1276
|
export namespace NetworkStatus {
|
|
990
1277
|
/**
|
|
991
|
-
* Defined in:
|
|
992
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1278
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
993
1279
|
*/
|
|
994
1280
|
export interface Signal {
|
|
995
1281
|
server: string;
|
|
@@ -997,15 +1283,13 @@ export namespace NetworkStatus {
|
|
|
997
1283
|
}
|
|
998
1284
|
}
|
|
999
1285
|
/**
|
|
1000
|
-
* Defined in:
|
|
1001
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1286
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1002
1287
|
*/
|
|
1003
1288
|
export interface UpdateConfigRequest {
|
|
1004
1289
|
swarm: ConnectionState;
|
|
1005
1290
|
}
|
|
1006
1291
|
/**
|
|
1007
|
-
* Defined in:
|
|
1008
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1292
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1009
1293
|
*/
|
|
1010
1294
|
export interface SubscribeSwarmStateRequest {
|
|
1011
1295
|
topic: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -1037,8 +1321,7 @@ export interface EdgeAgentService {
|
|
|
1037
1321
|
queryAgentStatus: (request: void, options?: RequestOptions) => Stream<QueryAgentStatusResponse>;
|
|
1038
1322
|
}
|
|
1039
1323
|
/**
|
|
1040
|
-
* Defined in:
|
|
1041
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1324
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1042
1325
|
*/
|
|
1043
1326
|
export interface EdgeStatus {
|
|
1044
1327
|
state: EdgeStatus.ConnectionState;
|
|
@@ -1055,178 +1338,48 @@ export interface EdgeStatus {
|
|
|
1055
1338
|
*/
|
|
1056
1339
|
rateBytesUp: number;
|
|
1057
1340
|
/**
|
|
1058
|
-
* Download rate in bytes per second
|
|
1059
|
-
*/
|
|
1060
|
-
rateBytesDown: number;
|
|
1061
|
-
messagesSent: number;
|
|
1062
|
-
messagesReceived: number;
|
|
1063
|
-
}
|
|
1064
|
-
export namespace EdgeStatus {
|
|
1065
|
-
/**
|
|
1066
|
-
* Defined in:
|
|
1067
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1068
|
-
*/
|
|
1069
|
-
export enum ConnectionState {
|
|
1070
|
-
NOT_CONNECTED = 0,
|
|
1071
|
-
CONNECTED = 1
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* Defined in:
|
|
1076
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1077
|
-
*/
|
|
1078
|
-
export interface QueryEdgeStatusResponse {
|
|
1079
|
-
status: EdgeStatus;
|
|
1080
|
-
}
|
|
1081
|
-
/**
|
|
1082
|
-
* Defined in:
|
|
1083
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1084
|
-
*/
|
|
1085
|
-
export interface QueryAgentStatusResponse {
|
|
1086
|
-
status: QueryAgentStatusResponse.AgentStatus;
|
|
1087
|
-
}
|
|
1088
|
-
export namespace QueryAgentStatusResponse {
|
|
1089
|
-
/**
|
|
1090
|
-
* Defined in:
|
|
1091
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1092
|
-
*/
|
|
1093
|
-
export enum AgentStatus {
|
|
1094
|
-
UNKNOWN = 0,
|
|
1095
|
-
ACTIVE = 1,
|
|
1096
|
-
INACTIVE = 2,
|
|
1097
|
-
NOT_FOUND = 3
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
/**
|
|
1101
|
-
* Defined in:
|
|
1102
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1103
|
-
*/
|
|
1104
|
-
export interface QueueQuery {
|
|
1105
|
-
spaceId: string;
|
|
1106
|
-
/**
|
|
1107
|
-
* Options:
|
|
1108
|
-
* - proto3_optional = true
|
|
1109
|
-
*/
|
|
1110
|
-
queuesNamespace?: string;
|
|
1111
|
-
/**
|
|
1112
|
-
* Queries the whole space if missing.
|
|
1113
|
-
*/
|
|
1114
|
-
queueIds?: string[];
|
|
1115
|
-
/**
|
|
1116
|
-
* Filter items after this cursor. Exclusive.
|
|
1117
|
-
*
|
|
1118
|
-
* Options:
|
|
1119
|
-
* - proto3_optional = true
|
|
1120
|
-
*/
|
|
1121
|
-
after?: string;
|
|
1122
|
-
/**
|
|
1123
|
-
* Filter items before this cursor. Exclusive.
|
|
1124
|
-
*
|
|
1125
|
-
* Options:
|
|
1126
|
-
* - proto3_optional = true
|
|
1127
|
-
*/
|
|
1128
|
-
before?: string;
|
|
1129
|
-
/**
|
|
1130
|
-
* Filter items after this position. Inclusive.
|
|
1131
|
-
*
|
|
1132
|
-
* Options:
|
|
1133
|
-
* - proto3_optional = true
|
|
1134
|
-
*/
|
|
1135
|
-
beginPosition?: string;
|
|
1136
|
-
/**
|
|
1137
|
-
* Filter items before this position. Exclusive.
|
|
1138
|
-
*
|
|
1139
|
-
* Options:
|
|
1140
|
-
* - proto3_optional = true
|
|
1141
|
-
*/
|
|
1142
|
-
endPosition?: string;
|
|
1143
|
-
/**
|
|
1144
|
-
* Options:
|
|
1145
|
-
* - proto3_optional = true
|
|
1146
|
-
*/
|
|
1147
|
-
limit?: number;
|
|
1148
|
-
/**
|
|
1149
|
-
* Options:
|
|
1150
|
-
* - proto3_optional = true
|
|
1151
|
-
*/
|
|
1152
|
-
reverse?: boolean;
|
|
1153
|
-
objectIds?: string[];
|
|
1154
|
-
}
|
|
1155
|
-
/**
|
|
1156
|
-
* Defined in:
|
|
1157
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1158
|
-
*/
|
|
1159
|
-
export interface QueueQueryResult {
|
|
1160
|
-
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
1161
|
-
/**
|
|
1162
|
-
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
1163
|
-
*/
|
|
1164
|
-
nextCursor: string;
|
|
1165
|
-
prevCursor: string;
|
|
1166
|
-
}
|
|
1167
|
-
/**
|
|
1168
|
-
* Defined in:
|
|
1169
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1170
|
-
*/
|
|
1171
|
-
export interface QueryQueueRequest {
|
|
1172
|
-
query: QueueQuery;
|
|
1173
|
-
}
|
|
1174
|
-
/**
|
|
1175
|
-
* Defined in:
|
|
1176
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1177
|
-
*/
|
|
1178
|
-
export interface InsertIntoQueueRequest {
|
|
1179
|
-
subspaceTag: string;
|
|
1180
|
-
spaceId: string;
|
|
1181
|
-
queueId: string;
|
|
1182
|
-
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
1183
|
-
}
|
|
1184
|
-
/**
|
|
1185
|
-
* Defined in:
|
|
1186
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1187
|
-
*/
|
|
1188
|
-
export interface DeleteFromQueueRequest {
|
|
1189
|
-
subspaceTag: string;
|
|
1190
|
-
spaceId: string;
|
|
1191
|
-
queueId: string;
|
|
1192
|
-
objectIds?: string[];
|
|
1193
|
-
}
|
|
1194
|
-
/**
|
|
1195
|
-
* Defined in:
|
|
1196
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1197
|
-
*/
|
|
1198
|
-
export interface SyncQueueRequest {
|
|
1199
|
-
subspaceTag: string;
|
|
1200
|
-
spaceId: string;
|
|
1201
|
-
queueId: string;
|
|
1202
|
-
/**
|
|
1203
|
-
* Whether to push local changes to the server. Defaults to true.
|
|
1204
|
-
*
|
|
1205
|
-
* Options:
|
|
1206
|
-
* - proto3_optional = true
|
|
1341
|
+
* Download rate in bytes per second
|
|
1207
1342
|
*/
|
|
1208
|
-
|
|
1343
|
+
rateBytesDown: number;
|
|
1344
|
+
messagesSent: number;
|
|
1345
|
+
messagesReceived: number;
|
|
1346
|
+
}
|
|
1347
|
+
export namespace EdgeStatus {
|
|
1209
1348
|
/**
|
|
1210
|
-
*
|
|
1211
|
-
*
|
|
1212
|
-
* Options:
|
|
1213
|
-
* - proto3_optional = true
|
|
1349
|
+
* Defined in:
|
|
1350
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
1214
1351
|
*/
|
|
1215
|
-
|
|
1352
|
+
export enum ConnectionState {
|
|
1353
|
+
NOT_CONNECTED = 0,
|
|
1354
|
+
CONNECTED = 1
|
|
1355
|
+
}
|
|
1216
1356
|
}
|
|
1217
1357
|
/**
|
|
1218
|
-
* Defined in:
|
|
1219
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1358
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1220
1359
|
*/
|
|
1221
|
-
export interface
|
|
1222
|
-
|
|
1223
|
-
insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1224
|
-
deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1225
|
-
syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1360
|
+
export interface QueryEdgeStatusResponse {
|
|
1361
|
+
status: EdgeStatus;
|
|
1226
1362
|
}
|
|
1227
1363
|
/**
|
|
1228
|
-
* Defined in:
|
|
1229
|
-
|
|
1364
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1365
|
+
*/
|
|
1366
|
+
export interface QueryAgentStatusResponse {
|
|
1367
|
+
status: QueryAgentStatusResponse.AgentStatus;
|
|
1368
|
+
}
|
|
1369
|
+
export namespace QueryAgentStatusResponse {
|
|
1370
|
+
/**
|
|
1371
|
+
* Defined in:
|
|
1372
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
1373
|
+
*/
|
|
1374
|
+
export enum AgentStatus {
|
|
1375
|
+
UNKNOWN = 0,
|
|
1376
|
+
ACTIVE = 1,
|
|
1377
|
+
INACTIVE = 2,
|
|
1378
|
+
NOT_FOUND = 3
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1230
1383
|
*/
|
|
1231
1384
|
export interface Metrics {
|
|
1232
1385
|
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
@@ -1234,8 +1387,7 @@ export interface Metrics {
|
|
|
1234
1387
|
}
|
|
1235
1388
|
export namespace Metrics {
|
|
1236
1389
|
/**
|
|
1237
|
-
* Defined in:
|
|
1238
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1390
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1239
1391
|
*/
|
|
1240
1392
|
export interface KeyPair {
|
|
1241
1393
|
/**
|
|
@@ -1256,8 +1408,7 @@ export namespace Metrics {
|
|
|
1256
1408
|
}
|
|
1257
1409
|
}
|
|
1258
1410
|
/**
|
|
1259
|
-
* Defined in:
|
|
1260
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1411
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1261
1412
|
*/
|
|
1262
1413
|
export interface ControlMetricsRequest {
|
|
1263
1414
|
/**
|
|
@@ -1272,8 +1423,7 @@ export interface ControlMetricsRequest {
|
|
|
1272
1423
|
record?: boolean;
|
|
1273
1424
|
}
|
|
1274
1425
|
/**
|
|
1275
|
-
* Defined in:
|
|
1276
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1426
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1277
1427
|
*/
|
|
1278
1428
|
export interface ControlMetricsResponse {
|
|
1279
1429
|
/**
|
|
@@ -1283,8 +1433,7 @@ export interface ControlMetricsResponse {
|
|
|
1283
1433
|
recording?: boolean;
|
|
1284
1434
|
}
|
|
1285
1435
|
/**
|
|
1286
|
-
* Defined in:
|
|
1287
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1436
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1288
1437
|
*/
|
|
1289
1438
|
export interface QueryMetricsRequest {
|
|
1290
1439
|
/**
|
|
@@ -1294,8 +1443,7 @@ export interface QueryMetricsRequest {
|
|
|
1294
1443
|
interval?: number;
|
|
1295
1444
|
}
|
|
1296
1445
|
/**
|
|
1297
|
-
* Defined in:
|
|
1298
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1446
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1299
1447
|
*/
|
|
1300
1448
|
export interface QueryMetricsResponse {
|
|
1301
1449
|
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
@@ -1315,8 +1463,7 @@ export enum LogLevel {
|
|
|
1315
1463
|
ERROR = 14
|
|
1316
1464
|
}
|
|
1317
1465
|
/**
|
|
1318
|
-
* Defined in:
|
|
1319
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1466
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1320
1467
|
*/
|
|
1321
1468
|
export interface QueryLogsRequest {
|
|
1322
1469
|
filters?: QueryLogsRequest.Filter[];
|
|
@@ -1337,8 +1484,7 @@ export namespace QueryLogsRequest {
|
|
|
1337
1484
|
EXPLICIT = 2
|
|
1338
1485
|
}
|
|
1339
1486
|
/**
|
|
1340
|
-
* Defined in:
|
|
1341
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1487
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1342
1488
|
*/
|
|
1343
1489
|
export interface Filter {
|
|
1344
1490
|
level: LogLevel;
|
|
@@ -1350,8 +1496,7 @@ export namespace QueryLogsRequest {
|
|
|
1350
1496
|
}
|
|
1351
1497
|
}
|
|
1352
1498
|
/**
|
|
1353
|
-
* Defined in:
|
|
1354
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1499
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1355
1500
|
*/
|
|
1356
1501
|
export interface LogEntry {
|
|
1357
1502
|
level: LogLevel;
|
|
@@ -1375,8 +1520,7 @@ export interface LogEntry {
|
|
|
1375
1520
|
}
|
|
1376
1521
|
export namespace LogEntry {
|
|
1377
1522
|
/**
|
|
1378
|
-
* Defined in:
|
|
1379
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1523
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1380
1524
|
*/
|
|
1381
1525
|
export interface Meta {
|
|
1382
1526
|
file: string;
|
|
@@ -1402,195 +1546,3 @@ export interface LoggingService {
|
|
|
1402
1546
|
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1403
1547
|
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1404
1548
|
}
|
|
1405
|
-
/**
|
|
1406
|
-
* Defined in:
|
|
1407
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1408
|
-
*/
|
|
1409
|
-
export interface AdmissionKeypair {
|
|
1410
|
-
publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1411
|
-
/**
|
|
1412
|
-
* Options:
|
|
1413
|
-
* - proto3_optional = true
|
|
1414
|
-
*/
|
|
1415
|
-
privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
|
|
1416
|
-
}
|
|
1417
|
-
/**
|
|
1418
|
-
* Runtime state of the space object.
|
|
1419
|
-
*
|
|
1420
|
-
* Defined in:
|
|
1421
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1422
|
-
*/
|
|
1423
|
-
export enum SpaceState {
|
|
1424
|
-
INVALID = 0,
|
|
1425
|
-
SPACE_INACTIVE = 2,
|
|
1426
|
-
SPACE_ACTIVE = 6,
|
|
1427
|
-
SPACE_CLOSED = 1,
|
|
1428
|
-
SPACE_CONTROL_ONLY = 7,
|
|
1429
|
-
SPACE_INITIALIZING = 4,
|
|
1430
|
-
SPACE_READY = 3,
|
|
1431
|
-
SPACE_ERROR = 5,
|
|
1432
|
-
SPACE_REQUIRES_MIGRATION = 8
|
|
1433
|
-
}
|
|
1434
|
-
/**
|
|
1435
|
-
* Represents the invitation state passed between client and service.
|
|
1436
|
-
*
|
|
1437
|
-
* Defined in:
|
|
1438
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1439
|
-
*/
|
|
1440
|
-
export interface Invitation {
|
|
1441
|
-
/**
|
|
1442
|
-
* Local identifier (random).
|
|
1443
|
-
*/
|
|
1444
|
-
invitationId: string;
|
|
1445
|
-
/**
|
|
1446
|
-
* Determines the behavior of the invitation.
|
|
1447
|
-
*/
|
|
1448
|
-
type: Invitation.Type;
|
|
1449
|
-
/**
|
|
1450
|
-
* Kind of access the invitation will grant.
|
|
1451
|
-
*/
|
|
1452
|
-
kind: Invitation.Kind;
|
|
1453
|
-
/**
|
|
1454
|
-
* How the invitation is authenticated.
|
|
1455
|
-
*/
|
|
1456
|
-
authMethod: Invitation.AuthMethod;
|
|
1457
|
-
/**
|
|
1458
|
-
* Swarm rendezvous (random).
|
|
1459
|
-
*/
|
|
1460
|
-
swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1461
|
-
/**
|
|
1462
|
-
* Local state.
|
|
1463
|
-
*/
|
|
1464
|
-
state: Invitation.State;
|
|
1465
|
-
/**
|
|
1466
|
-
* Timeout for guest to complete invitation once connected (ms).
|
|
1467
|
-
*
|
|
1468
|
-
* Options:
|
|
1469
|
-
* - proto3_optional = true
|
|
1470
|
-
*/
|
|
1471
|
-
timeout?: number;
|
|
1472
|
-
/**
|
|
1473
|
-
* Guest's identity.
|
|
1474
|
-
*
|
|
1475
|
-
* Options:
|
|
1476
|
-
* - proto3_optional = true
|
|
1477
|
-
*/
|
|
1478
|
-
identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1479
|
-
/**
|
|
1480
|
-
* Space to join (only present if kind is SPACE).
|
|
1481
|
-
*
|
|
1482
|
-
* Options:
|
|
1483
|
-
* - proto3_optional = true
|
|
1484
|
-
*/
|
|
1485
|
-
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1486
|
-
/**
|
|
1487
|
-
* Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
1488
|
-
*
|
|
1489
|
-
* Options:
|
|
1490
|
-
* - proto3_optional = true
|
|
1491
|
-
*/
|
|
1492
|
-
authCode?: string;
|
|
1493
|
-
/**
|
|
1494
|
-
* Path or identifier to navigate to after successful authentication.
|
|
1495
|
-
*
|
|
1496
|
-
* Options:
|
|
1497
|
-
* - proto3_optional = true
|
|
1498
|
-
*/
|
|
1499
|
-
target?: string;
|
|
1500
|
-
/**
|
|
1501
|
-
* Host should resume invitation on startup until timeout.
|
|
1502
|
-
*
|
|
1503
|
-
* Options:
|
|
1504
|
-
* - proto3_optional = true
|
|
1505
|
-
*/
|
|
1506
|
-
persistent?: boolean;
|
|
1507
|
-
/**
|
|
1508
|
-
* Options:
|
|
1509
|
-
* - proto3_optional = true
|
|
1510
|
-
*/
|
|
1511
|
-
created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1512
|
-
/**
|
|
1513
|
-
* Options:
|
|
1514
|
-
* - proto3_optional = true
|
|
1515
|
-
*/
|
|
1516
|
-
lifetime?: number;
|
|
1517
|
-
/**
|
|
1518
|
-
* Whether an invitation can be used multiple times.
|
|
1519
|
-
*
|
|
1520
|
-
* Options:
|
|
1521
|
-
* - proto3_optional = true
|
|
1522
|
-
*/
|
|
1523
|
-
multiUse?: boolean;
|
|
1524
|
-
/**
|
|
1525
|
-
* Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
|
|
1526
|
-
*
|
|
1527
|
-
* Options:
|
|
1528
|
-
* - proto3_optional = true
|
|
1529
|
-
*/
|
|
1530
|
-
guestKeypair?: AdmissionKeypair;
|
|
1531
|
-
/**
|
|
1532
|
-
* Present on Type.DELEGATED invitations.
|
|
1533
|
-
*
|
|
1534
|
-
* Options:
|
|
1535
|
-
* - proto3_optional = true
|
|
1536
|
-
*/
|
|
1537
|
-
delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1538
|
-
/**
|
|
1539
|
-
* Role of the admitted member, defaults to ADMIN.
|
|
1540
|
-
*
|
|
1541
|
-
* Options:
|
|
1542
|
-
* - proto3_optional = true
|
|
1543
|
-
*/
|
|
1544
|
-
role?: dxos_halo_credentials.SpaceMember.Role;
|
|
1545
|
-
/**
|
|
1546
|
-
* Id of a the space to join (only present if kind is SPACE).
|
|
1547
|
-
*
|
|
1548
|
-
* Options:
|
|
1549
|
-
* - proto3_optional = true
|
|
1550
|
-
*/
|
|
1551
|
-
spaceId?: string;
|
|
1552
|
-
}
|
|
1553
|
-
export namespace Invitation {
|
|
1554
|
-
/**
|
|
1555
|
-
* Defined in:
|
|
1556
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1557
|
-
*/
|
|
1558
|
-
export enum Type {
|
|
1559
|
-
INTERACTIVE = 0,
|
|
1560
|
-
DELEGATED = 1,
|
|
1561
|
-
MULTIUSE = 2
|
|
1562
|
-
}
|
|
1563
|
-
/**
|
|
1564
|
-
* Defined in:
|
|
1565
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1566
|
-
*/
|
|
1567
|
-
export enum Kind {
|
|
1568
|
-
DEVICE = 0,
|
|
1569
|
-
SPACE = 1
|
|
1570
|
-
}
|
|
1571
|
-
/**
|
|
1572
|
-
* Defined in:
|
|
1573
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1574
|
-
*/
|
|
1575
|
-
export enum AuthMethod {
|
|
1576
|
-
NONE = 0,
|
|
1577
|
-
SHARED_SECRET = 1,
|
|
1578
|
-
KNOWN_PUBLIC_KEY = 2
|
|
1579
|
-
}
|
|
1580
|
-
/**
|
|
1581
|
-
* Defined in:
|
|
1582
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1583
|
-
*/
|
|
1584
|
-
export enum State {
|
|
1585
|
-
INIT = 0,
|
|
1586
|
-
CONNECTING = 1,
|
|
1587
|
-
CONNECTED = 2,
|
|
1588
|
-
READY_FOR_AUTHENTICATION = 3,
|
|
1589
|
-
AUTHENTICATING = 4,
|
|
1590
|
-
SUCCESS = 5,
|
|
1591
|
-
CANCELLED = 6,
|
|
1592
|
-
TIMEOUT = 7,
|
|
1593
|
-
ERROR = 8,
|
|
1594
|
-
EXPIRED = 9
|
|
1595
|
-
}
|
|
1596
|
-
}
|