@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
|
@@ -11,6 +11,323 @@ import * as dxos_mesh_presence from "../mesh/presence.js";
|
|
|
11
11
|
import * as dxos_mesh_signal from "../mesh/signal.js";
|
|
12
12
|
import * as dxos_mesh_teleport_gossip from "../mesh/teleport/gossip.js";
|
|
13
13
|
import * as dxos_value from "../value.js";
|
|
14
|
+
/**
|
|
15
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
16
|
+
*/
|
|
17
|
+
export interface QueueQuery {
|
|
18
|
+
spaceId: string;
|
|
19
|
+
/**
|
|
20
|
+
* Options:
|
|
21
|
+
* - proto3_optional = true
|
|
22
|
+
*/
|
|
23
|
+
queuesNamespace?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Queries the whole space if missing.
|
|
26
|
+
*/
|
|
27
|
+
queueIds?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Filter items after this cursor. Exclusive.
|
|
30
|
+
*
|
|
31
|
+
* Options:
|
|
32
|
+
* - proto3_optional = true
|
|
33
|
+
*/
|
|
34
|
+
after?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Filter items before this cursor. Exclusive.
|
|
37
|
+
*
|
|
38
|
+
* Options:
|
|
39
|
+
* - proto3_optional = true
|
|
40
|
+
*/
|
|
41
|
+
before?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Filter items after this position. Inclusive.
|
|
44
|
+
*
|
|
45
|
+
* Options:
|
|
46
|
+
* - proto3_optional = true
|
|
47
|
+
*/
|
|
48
|
+
beginPosition?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Filter items before this position. Exclusive.
|
|
51
|
+
*
|
|
52
|
+
* Options:
|
|
53
|
+
* - proto3_optional = true
|
|
54
|
+
*/
|
|
55
|
+
endPosition?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Options:
|
|
58
|
+
* - proto3_optional = true
|
|
59
|
+
*/
|
|
60
|
+
limit?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Options:
|
|
63
|
+
* - proto3_optional = true
|
|
64
|
+
*/
|
|
65
|
+
reverse?: boolean;
|
|
66
|
+
objectIds?: string[];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
70
|
+
*/
|
|
71
|
+
export interface QueueQueryResult {
|
|
72
|
+
/**
|
|
73
|
+
* coerces `undefined` to `null`, corrupting optional fields.
|
|
74
|
+
*/
|
|
75
|
+
objects?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
78
|
+
*/
|
|
79
|
+
nextCursor: string;
|
|
80
|
+
prevCursor: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
84
|
+
*/
|
|
85
|
+
export interface QueryQueueRequest {
|
|
86
|
+
query: QueueQuery;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
90
|
+
*/
|
|
91
|
+
export interface InsertIntoQueueRequest {
|
|
92
|
+
subspaceTag: string;
|
|
93
|
+
spaceId: string;
|
|
94
|
+
queueId: string;
|
|
95
|
+
/**
|
|
96
|
+
* JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
97
|
+
*/
|
|
98
|
+
objects?: string[];
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
102
|
+
*/
|
|
103
|
+
export interface DeleteFromQueueRequest {
|
|
104
|
+
subspaceTag: string;
|
|
105
|
+
spaceId: string;
|
|
106
|
+
queueId: string;
|
|
107
|
+
objectIds?: string[];
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
111
|
+
*/
|
|
112
|
+
export interface SyncQueueRequest {
|
|
113
|
+
subspaceTag: string;
|
|
114
|
+
spaceId: string;
|
|
115
|
+
queueId: string;
|
|
116
|
+
/**
|
|
117
|
+
* Whether to push local changes to the server. Defaults to true.
|
|
118
|
+
*
|
|
119
|
+
* Options:
|
|
120
|
+
* - proto3_optional = true
|
|
121
|
+
*/
|
|
122
|
+
shouldPush?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Whether to pull remote changes from the server. Defaults to true.
|
|
125
|
+
*
|
|
126
|
+
* Options:
|
|
127
|
+
* - proto3_optional = true
|
|
128
|
+
*/
|
|
129
|
+
shouldPull?: boolean;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Defined in:
|
|
133
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
134
|
+
*/
|
|
135
|
+
export interface QueueService {
|
|
136
|
+
queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
|
|
137
|
+
insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
138
|
+
deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
139
|
+
syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Defined in: `../../../dxos/client/invitation.proto`
|
|
143
|
+
*/
|
|
144
|
+
export interface AdmissionKeypair {
|
|
145
|
+
publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
146
|
+
/**
|
|
147
|
+
* Options:
|
|
148
|
+
* - proto3_optional = true
|
|
149
|
+
*/
|
|
150
|
+
privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Runtime state of the space object.
|
|
154
|
+
*
|
|
155
|
+
* Defined in:
|
|
156
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
157
|
+
*/
|
|
158
|
+
export declare enum SpaceState {
|
|
159
|
+
INVALID = 0,
|
|
160
|
+
SPACE_INACTIVE = 2,
|
|
161
|
+
SPACE_ACTIVE = 6,
|
|
162
|
+
SPACE_CLOSED = 1,
|
|
163
|
+
SPACE_CONTROL_ONLY = 7,
|
|
164
|
+
SPACE_INITIALIZING = 4,
|
|
165
|
+
SPACE_READY = 3,
|
|
166
|
+
SPACE_ERROR = 5,
|
|
167
|
+
SPACE_REQUIRES_MIGRATION = 8
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Represents the invitation state passed between client and service.
|
|
171
|
+
*
|
|
172
|
+
* Defined in: `../../../dxos/client/invitation.proto`
|
|
173
|
+
*/
|
|
174
|
+
export interface Invitation {
|
|
175
|
+
/**
|
|
176
|
+
* Local identifier (random).
|
|
177
|
+
*/
|
|
178
|
+
invitationId: string;
|
|
179
|
+
/**
|
|
180
|
+
* Determines the behavior of the invitation.
|
|
181
|
+
*/
|
|
182
|
+
type: Invitation.Type;
|
|
183
|
+
/**
|
|
184
|
+
* Kind of access the invitation will grant.
|
|
185
|
+
*/
|
|
186
|
+
kind: Invitation.Kind;
|
|
187
|
+
/**
|
|
188
|
+
* How the invitation is authenticated.
|
|
189
|
+
*/
|
|
190
|
+
authMethod: Invitation.AuthMethod;
|
|
191
|
+
/**
|
|
192
|
+
* Swarm rendezvous (random).
|
|
193
|
+
*/
|
|
194
|
+
swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
195
|
+
/**
|
|
196
|
+
* Local state.
|
|
197
|
+
*/
|
|
198
|
+
state: Invitation.State;
|
|
199
|
+
/**
|
|
200
|
+
* Timeout for guest to complete invitation once connected (ms).
|
|
201
|
+
*
|
|
202
|
+
* Options:
|
|
203
|
+
* - proto3_optional = true
|
|
204
|
+
*/
|
|
205
|
+
timeout?: number;
|
|
206
|
+
/**
|
|
207
|
+
* Guest's identity.
|
|
208
|
+
*
|
|
209
|
+
* Options:
|
|
210
|
+
* - proto3_optional = true
|
|
211
|
+
*/
|
|
212
|
+
identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
213
|
+
/**
|
|
214
|
+
* Space to join (only present if kind is SPACE).
|
|
215
|
+
*
|
|
216
|
+
* Options:
|
|
217
|
+
* - proto3_optional = true
|
|
218
|
+
*/
|
|
219
|
+
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
220
|
+
/**
|
|
221
|
+
* Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
222
|
+
*
|
|
223
|
+
* Options:
|
|
224
|
+
* - proto3_optional = true
|
|
225
|
+
*/
|
|
226
|
+
authCode?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Path or identifier to navigate to after successful authentication.
|
|
229
|
+
*
|
|
230
|
+
* Options:
|
|
231
|
+
* - proto3_optional = true
|
|
232
|
+
*/
|
|
233
|
+
target?: string;
|
|
234
|
+
/**
|
|
235
|
+
* Host should resume invitation on startup until timeout.
|
|
236
|
+
*
|
|
237
|
+
* Options:
|
|
238
|
+
* - proto3_optional = true
|
|
239
|
+
*/
|
|
240
|
+
persistent?: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* Options:
|
|
243
|
+
* - proto3_optional = true
|
|
244
|
+
*/
|
|
245
|
+
created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
246
|
+
/**
|
|
247
|
+
* Options:
|
|
248
|
+
* - proto3_optional = true
|
|
249
|
+
*/
|
|
250
|
+
lifetime?: number;
|
|
251
|
+
/**
|
|
252
|
+
* Whether an invitation can be used multiple times.
|
|
253
|
+
*
|
|
254
|
+
* Options:
|
|
255
|
+
* - proto3_optional = true
|
|
256
|
+
*/
|
|
257
|
+
multiUse?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
|
|
260
|
+
*
|
|
261
|
+
* Options:
|
|
262
|
+
* - proto3_optional = true
|
|
263
|
+
*/
|
|
264
|
+
guestKeypair?: AdmissionKeypair;
|
|
265
|
+
/**
|
|
266
|
+
* Present on Type.DELEGATED invitations.
|
|
267
|
+
*
|
|
268
|
+
* Options:
|
|
269
|
+
* - proto3_optional = true
|
|
270
|
+
*/
|
|
271
|
+
delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
272
|
+
/**
|
|
273
|
+
* Role of the admitted member, defaults to ADMIN.
|
|
274
|
+
*
|
|
275
|
+
* Options:
|
|
276
|
+
* - proto3_optional = true
|
|
277
|
+
*/
|
|
278
|
+
role?: dxos_halo_credentials.SpaceMember.Role;
|
|
279
|
+
/**
|
|
280
|
+
* Id of a the space to join (only present if kind is SPACE).
|
|
281
|
+
*
|
|
282
|
+
* Options:
|
|
283
|
+
* - proto3_optional = true
|
|
284
|
+
*/
|
|
285
|
+
spaceId?: string;
|
|
286
|
+
}
|
|
287
|
+
export declare namespace Invitation {
|
|
288
|
+
/**
|
|
289
|
+
* Defined in:
|
|
290
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
291
|
+
*/
|
|
292
|
+
enum Type {
|
|
293
|
+
INTERACTIVE = 0,
|
|
294
|
+
DELEGATED = 1,
|
|
295
|
+
MULTIUSE = 2
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Defined in:
|
|
299
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
300
|
+
*/
|
|
301
|
+
enum Kind {
|
|
302
|
+
DEVICE = 0,
|
|
303
|
+
SPACE = 1
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Defined in:
|
|
307
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
308
|
+
*/
|
|
309
|
+
enum AuthMethod {
|
|
310
|
+
NONE = 0,
|
|
311
|
+
SHARED_SECRET = 1,
|
|
312
|
+
KNOWN_PUBLIC_KEY = 2
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Defined in:
|
|
316
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
317
|
+
*/
|
|
318
|
+
enum State {
|
|
319
|
+
INIT = 0,
|
|
320
|
+
CONNECTING = 1,
|
|
321
|
+
CONNECTED = 2,
|
|
322
|
+
READY_FOR_AUTHENTICATION = 3,
|
|
323
|
+
AUTHENTICATING = 4,
|
|
324
|
+
SUCCESS = 5,
|
|
325
|
+
CANCELLED = 6,
|
|
326
|
+
TIMEOUT = 7,
|
|
327
|
+
ERROR = 8,
|
|
328
|
+
EXPIRED = 9
|
|
329
|
+
}
|
|
330
|
+
}
|
|
14
331
|
/**
|
|
15
332
|
* Defined in:
|
|
16
333
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -20,15 +337,13 @@ export declare enum SystemStatus {
|
|
|
20
337
|
ACTIVE = 1
|
|
21
338
|
}
|
|
22
339
|
/**
|
|
23
|
-
* Defined in:
|
|
24
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
340
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
25
341
|
*/
|
|
26
342
|
export interface UpdateStatusRequest {
|
|
27
343
|
status: SystemStatus;
|
|
28
344
|
}
|
|
29
345
|
/**
|
|
30
|
-
* Defined in:
|
|
31
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
346
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
32
347
|
*/
|
|
33
348
|
export interface QueryStatusRequest {
|
|
34
349
|
/**
|
|
@@ -38,15 +353,13 @@ export interface QueryStatusRequest {
|
|
|
38
353
|
interval?: number;
|
|
39
354
|
}
|
|
40
355
|
/**
|
|
41
|
-
* Defined in:
|
|
42
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
356
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
43
357
|
*/
|
|
44
358
|
export interface QueryStatusResponse {
|
|
45
359
|
status: SystemStatus;
|
|
46
360
|
}
|
|
47
361
|
/**
|
|
48
|
-
* Defined in:
|
|
49
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
362
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
50
363
|
*/
|
|
51
364
|
export interface GetDiagnosticsRequest {
|
|
52
365
|
/**
|
|
@@ -67,16 +380,14 @@ export declare namespace GetDiagnosticsRequest {
|
|
|
67
380
|
}
|
|
68
381
|
}
|
|
69
382
|
/**
|
|
70
|
-
* Defined in:
|
|
71
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
383
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
72
384
|
*/
|
|
73
385
|
export interface GetDiagnosticsResponse {
|
|
74
386
|
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
75
387
|
diagnostics: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
76
388
|
}
|
|
77
389
|
/**
|
|
78
|
-
* Defined in:
|
|
79
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
390
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
80
391
|
*/
|
|
81
392
|
export interface Platform {
|
|
82
393
|
type: Platform.PLATFORM_TYPE;
|
|
@@ -165,9 +476,8 @@ export interface SystemService {
|
|
|
165
476
|
*/
|
|
166
477
|
getPlatform: (request: void, options?: RequestOptions) => Promise<Platform>;
|
|
167
478
|
}
|
|
168
|
-
/**
|
|
169
|
-
* Defined in:
|
|
170
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
479
|
+
/**
|
|
480
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
171
481
|
*/
|
|
172
482
|
export interface Identity {
|
|
173
483
|
did: string;
|
|
@@ -184,8 +494,7 @@ export interface Identity {
|
|
|
184
494
|
profile?: dxos_halo_credentials.ProfileDocument;
|
|
185
495
|
}
|
|
186
496
|
/**
|
|
187
|
-
* Defined in:
|
|
188
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
497
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
189
498
|
*/
|
|
190
499
|
export interface RequestRecoveryChallengeResponse {
|
|
191
500
|
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -193,8 +502,7 @@ export interface RequestRecoveryChallengeResponse {
|
|
|
193
502
|
challenge: string;
|
|
194
503
|
}
|
|
195
504
|
/**
|
|
196
|
-
* Defined in:
|
|
197
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
505
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
198
506
|
*/
|
|
199
507
|
export interface RecoverIdentityRequest {
|
|
200
508
|
recoveryCode?: string;
|
|
@@ -203,8 +511,7 @@ export interface RecoverIdentityRequest {
|
|
|
203
511
|
}
|
|
204
512
|
export declare namespace RecoverIdentityRequest {
|
|
205
513
|
/**
|
|
206
|
-
* Defined in:
|
|
207
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
514
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
208
515
|
*/
|
|
209
516
|
interface ExternalSignature {
|
|
210
517
|
lookupKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -224,8 +531,7 @@ export declare namespace RecoverIdentityRequest {
|
|
|
224
531
|
}
|
|
225
532
|
}
|
|
226
533
|
/**
|
|
227
|
-
* Defined in:
|
|
228
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
534
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
229
535
|
*/
|
|
230
536
|
export interface RecoveryCredentialData {
|
|
231
537
|
/**
|
|
@@ -242,8 +548,7 @@ export interface RecoveryCredentialData {
|
|
|
242
548
|
algorithm: string;
|
|
243
549
|
}
|
|
244
550
|
/**
|
|
245
|
-
* Defined in:
|
|
246
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
551
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
247
552
|
*/
|
|
248
553
|
export interface CreateRecoveryCredentialRequest {
|
|
249
554
|
/**
|
|
@@ -255,8 +560,7 @@ export interface CreateRecoveryCredentialRequest {
|
|
|
255
560
|
data?: RecoveryCredentialData;
|
|
256
561
|
}
|
|
257
562
|
/**
|
|
258
|
-
* Defined in:
|
|
259
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
563
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
260
564
|
*/
|
|
261
565
|
export interface CreateRecoveryCredentialResponse {
|
|
262
566
|
/**
|
|
@@ -266,8 +570,7 @@ export interface CreateRecoveryCredentialResponse {
|
|
|
266
570
|
recoveryCode?: string;
|
|
267
571
|
}
|
|
268
572
|
/**
|
|
269
|
-
* Defined in:
|
|
270
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
573
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
271
574
|
*/
|
|
272
575
|
export interface QueryIdentityResponse {
|
|
273
576
|
/**
|
|
@@ -277,8 +580,7 @@ export interface QueryIdentityResponse {
|
|
|
277
580
|
identity?: Identity;
|
|
278
581
|
}
|
|
279
582
|
/**
|
|
280
|
-
* Defined in:
|
|
281
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
583
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
282
584
|
*/
|
|
283
585
|
export interface SignPresentationRequest {
|
|
284
586
|
presentation: dxos_halo_credentials.Presentation;
|
|
@@ -289,8 +591,7 @@ export interface SignPresentationRequest {
|
|
|
289
591
|
nonce?: Uint8Array;
|
|
290
592
|
}
|
|
291
593
|
/**
|
|
292
|
-
* Defined in:
|
|
293
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
594
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
294
595
|
*/
|
|
295
596
|
export interface CreateIdentityRequest {
|
|
296
597
|
/**
|
|
@@ -327,8 +628,7 @@ export declare enum DeviceKind {
|
|
|
327
628
|
TRUSTED = 1
|
|
328
629
|
}
|
|
329
630
|
/**
|
|
330
|
-
* Defined in:
|
|
331
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
631
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
332
632
|
*/
|
|
333
633
|
export interface Device {
|
|
334
634
|
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -352,8 +652,7 @@ export declare namespace Device {
|
|
|
352
652
|
}
|
|
353
653
|
}
|
|
354
654
|
/**
|
|
355
|
-
* Defined in:
|
|
356
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
655
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
357
656
|
*/
|
|
358
657
|
export interface QueryDevicesResponse {
|
|
359
658
|
devices?: Device[];
|
|
@@ -367,8 +666,7 @@ export interface DevicesService {
|
|
|
367
666
|
queryDevices: (request: void, options?: RequestOptions) => Stream<QueryDevicesResponse>;
|
|
368
667
|
}
|
|
369
668
|
/**
|
|
370
|
-
* Defined in:
|
|
371
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
669
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
372
670
|
*/
|
|
373
671
|
export interface Contact {
|
|
374
672
|
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -380,8 +678,7 @@ export interface Contact {
|
|
|
380
678
|
commonSpaces?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
381
679
|
}
|
|
382
680
|
/**
|
|
383
|
-
* Defined in:
|
|
384
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
681
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
385
682
|
*/
|
|
386
683
|
export interface ContactBook {
|
|
387
684
|
contacts?: Contact[];
|
|
@@ -395,8 +692,7 @@ export interface ContactsService {
|
|
|
395
692
|
queryContacts: (request: void, options?: RequestOptions) => Stream<ContactBook>;
|
|
396
693
|
}
|
|
397
694
|
/**
|
|
398
|
-
* Defined in:
|
|
399
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
695
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
400
696
|
*/
|
|
401
697
|
export interface SpaceMember {
|
|
402
698
|
identity: Identity;
|
|
@@ -415,8 +711,7 @@ export declare namespace SpaceMember {
|
|
|
415
711
|
}
|
|
416
712
|
}
|
|
417
713
|
/**
|
|
418
|
-
* Defined in:
|
|
419
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
714
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
420
715
|
*/
|
|
421
716
|
export interface Space {
|
|
422
717
|
id: string;
|
|
@@ -454,8 +749,7 @@ export interface Space {
|
|
|
454
749
|
}
|
|
455
750
|
export declare namespace Space {
|
|
456
751
|
/**
|
|
457
|
-
* Defined in:
|
|
458
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
752
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
459
753
|
*/
|
|
460
754
|
interface Metrics {
|
|
461
755
|
/**
|
|
@@ -490,8 +784,7 @@ export declare namespace Space {
|
|
|
490
784
|
ready?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
491
785
|
}
|
|
492
786
|
/**
|
|
493
|
-
* Defined in:
|
|
494
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
787
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
495
788
|
*/
|
|
496
789
|
interface PipelineState {
|
|
497
790
|
/**
|
|
@@ -596,16 +889,14 @@ export declare namespace Space {
|
|
|
596
889
|
}
|
|
597
890
|
}
|
|
598
891
|
/**
|
|
599
|
-
* Defined in:
|
|
600
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
892
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
601
893
|
*/
|
|
602
894
|
export interface CreateSpaceRequest {
|
|
603
895
|
tags?: string[];
|
|
604
896
|
membershipPolicy: dxos_halo_credentials.MembershipPolicy;
|
|
605
897
|
}
|
|
606
898
|
/**
|
|
607
|
-
* Defined in:
|
|
608
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
899
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
609
900
|
*/
|
|
610
901
|
export interface UpdateSpaceRequest {
|
|
611
902
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -623,15 +914,13 @@ export interface UpdateSpaceRequest {
|
|
|
623
914
|
edgeReplication?: dxos_echo_metadata.EdgeReplicationSetting;
|
|
624
915
|
}
|
|
625
916
|
/**
|
|
626
|
-
* Defined in:
|
|
627
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
917
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
628
918
|
*/
|
|
629
919
|
export interface QuerySpacesResponse {
|
|
630
920
|
spaces?: Space[];
|
|
631
921
|
}
|
|
632
922
|
/**
|
|
633
|
-
* Defined in:
|
|
634
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
923
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
635
924
|
*/
|
|
636
925
|
export interface PostMessageRequest {
|
|
637
926
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -639,24 +928,21 @@ export interface PostMessageRequest {
|
|
|
639
928
|
message: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
640
929
|
}
|
|
641
930
|
/**
|
|
642
|
-
* Defined in:
|
|
643
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
931
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
644
932
|
*/
|
|
645
933
|
export interface SubscribeMessagesRequest {
|
|
646
934
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
647
935
|
channel: string;
|
|
648
936
|
}
|
|
649
937
|
/**
|
|
650
|
-
* Defined in:
|
|
651
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
938
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
652
939
|
*/
|
|
653
940
|
export interface WriteCredentialsRequest {
|
|
654
941
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
655
942
|
credentials?: dxos_halo_credentials.Credential[];
|
|
656
943
|
}
|
|
657
944
|
/**
|
|
658
|
-
* Defined in:
|
|
659
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
945
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
660
946
|
*/
|
|
661
947
|
export interface QueryCredentialsRequest {
|
|
662
948
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -667,8 +953,7 @@ export interface QueryCredentialsRequest {
|
|
|
667
953
|
noTail?: boolean;
|
|
668
954
|
}
|
|
669
955
|
/**
|
|
670
|
-
* Defined in:
|
|
671
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
956
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
672
957
|
*/
|
|
673
958
|
export interface CreateEpochRequest {
|
|
674
959
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -700,8 +985,7 @@ export declare namespace CreateEpochRequest {
|
|
|
700
985
|
}
|
|
701
986
|
}
|
|
702
987
|
/**
|
|
703
|
-
* Defined in:
|
|
704
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
988
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
705
989
|
*/
|
|
706
990
|
export interface CreateEpochResponse {
|
|
707
991
|
/**
|
|
@@ -720,8 +1004,7 @@ export interface CreateEpochResponse {
|
|
|
720
1004
|
controlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
721
1005
|
}
|
|
722
1006
|
/**
|
|
723
|
-
* Defined in:
|
|
724
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1007
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
725
1008
|
*/
|
|
726
1009
|
export interface UpdateMemberRoleRequest {
|
|
727
1010
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -729,8 +1012,7 @@ export interface UpdateMemberRoleRequest {
|
|
|
729
1012
|
newRole: dxos_halo_credentials.SpaceMember.Role;
|
|
730
1013
|
}
|
|
731
1014
|
/**
|
|
732
|
-
* Defined in:
|
|
733
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1015
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
734
1016
|
*/
|
|
735
1017
|
export interface AdmitContactRequest {
|
|
736
1018
|
contact: Contact;
|
|
@@ -738,58 +1020,70 @@ export interface AdmitContactRequest {
|
|
|
738
1020
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
739
1021
|
}
|
|
740
1022
|
/**
|
|
741
|
-
* Defined in:
|
|
742
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1023
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
743
1024
|
*/
|
|
744
1025
|
export interface ContactAdmission {
|
|
745
1026
|
credential: dxos_halo_credentials.Credential;
|
|
746
1027
|
}
|
|
747
1028
|
/**
|
|
748
|
-
* Defined in:
|
|
749
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1029
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
750
1030
|
*/
|
|
751
1031
|
export interface JoinSpaceResponse {
|
|
752
1032
|
space: Space;
|
|
753
1033
|
}
|
|
754
1034
|
/**
|
|
755
|
-
* Defined in:
|
|
756
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1035
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
757
1036
|
*/
|
|
758
1037
|
export interface JoinBySpaceKeyRequest {
|
|
759
1038
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
760
1039
|
}
|
|
761
1040
|
/**
|
|
762
|
-
* Defined in:
|
|
763
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1041
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
764
1042
|
*/
|
|
765
1043
|
export interface SpaceArchive {
|
|
766
1044
|
filename: string;
|
|
767
1045
|
contents: Uint8Array;
|
|
1046
|
+
/**
|
|
1047
|
+
* Options:
|
|
1048
|
+
* - proto3_optional = true
|
|
1049
|
+
*/
|
|
1050
|
+
format?: SpaceArchive.Format;
|
|
1051
|
+
}
|
|
1052
|
+
export declare namespace SpaceArchive {
|
|
1053
|
+
/**
|
|
1054
|
+
* Defined in:
|
|
1055
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
1056
|
+
*/
|
|
1057
|
+
enum Format {
|
|
1058
|
+
BINARY = 0,
|
|
1059
|
+
JSON = 1
|
|
1060
|
+
}
|
|
768
1061
|
}
|
|
769
1062
|
/**
|
|
770
|
-
* Defined in:
|
|
771
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1063
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
772
1064
|
*/
|
|
773
1065
|
export interface ExportSpaceRequest {
|
|
774
1066
|
spaceId: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* Options:
|
|
1069
|
+
* - proto3_optional = true
|
|
1070
|
+
*/
|
|
1071
|
+
format?: SpaceArchive.Format;
|
|
775
1072
|
}
|
|
776
1073
|
/**
|
|
777
|
-
* Defined in:
|
|
778
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1074
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
779
1075
|
*/
|
|
780
1076
|
export interface ExportSpaceResponse {
|
|
781
1077
|
archive: SpaceArchive;
|
|
782
1078
|
}
|
|
783
1079
|
/**
|
|
784
|
-
* Defined in:
|
|
785
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1080
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
786
1081
|
*/
|
|
787
1082
|
export interface ImportSpaceRequest {
|
|
788
1083
|
archive: SpaceArchive;
|
|
789
1084
|
}
|
|
790
1085
|
/**
|
|
791
|
-
* Defined in:
|
|
792
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1086
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
793
1087
|
*/
|
|
794
1088
|
export interface ImportSpaceResponse {
|
|
795
1089
|
/**
|
|
@@ -829,8 +1123,7 @@ export interface SpacesService {
|
|
|
829
1123
|
importSpace: (request: ImportSpaceRequest, options?: RequestOptions) => Promise<ImportSpaceResponse>;
|
|
830
1124
|
}
|
|
831
1125
|
/**
|
|
832
|
-
* Defined in:
|
|
833
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1126
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
834
1127
|
*/
|
|
835
1128
|
export interface AcceptInvitationRequest {
|
|
836
1129
|
invitation: Invitation;
|
|
@@ -841,31 +1134,27 @@ export interface AcceptInvitationRequest {
|
|
|
841
1134
|
deviceProfile?: dxos_halo_credentials.DeviceProfileDocument;
|
|
842
1135
|
}
|
|
843
1136
|
/**
|
|
844
|
-
* Defined in:
|
|
845
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1137
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
846
1138
|
*/
|
|
847
1139
|
export interface AuthenticationRequest {
|
|
848
1140
|
invitationId: string;
|
|
849
1141
|
authCode: string;
|
|
850
1142
|
}
|
|
851
1143
|
/**
|
|
852
|
-
* Defined in:
|
|
853
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1144
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
854
1145
|
*/
|
|
855
1146
|
export interface CancelInvitationRequest {
|
|
856
1147
|
invitationId: string;
|
|
857
1148
|
}
|
|
858
1149
|
/**
|
|
859
|
-
* Defined in:
|
|
860
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1150
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
861
1151
|
*/
|
|
862
1152
|
export interface InvitationMethod {
|
|
863
1153
|
created?: Invitation;
|
|
864
1154
|
accepted?: Invitation;
|
|
865
1155
|
}
|
|
866
1156
|
/**
|
|
867
|
-
* Defined in:
|
|
868
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1157
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
869
1158
|
*/
|
|
870
1159
|
export interface QueryInvitationsResponse {
|
|
871
1160
|
action: QueryInvitationsResponse.Action;
|
|
@@ -898,8 +1187,7 @@ export declare namespace QueryInvitationsResponse {
|
|
|
898
1187
|
}
|
|
899
1188
|
}
|
|
900
1189
|
/**
|
|
901
|
-
* Defined in:
|
|
902
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1190
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
903
1191
|
*/
|
|
904
1192
|
export interface LoadPersistentInvitationsResponse {
|
|
905
1193
|
invitations?: Invitation[];
|
|
@@ -924,8 +1212,7 @@ export declare enum ConnectionState {
|
|
|
924
1212
|
ONLINE = 1
|
|
925
1213
|
}
|
|
926
1214
|
/**
|
|
927
|
-
* Defined in:
|
|
928
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1215
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
929
1216
|
*/
|
|
930
1217
|
export interface NetworkStatus {
|
|
931
1218
|
swarm: ConnectionState;
|
|
@@ -934,8 +1221,7 @@ export interface NetworkStatus {
|
|
|
934
1221
|
}
|
|
935
1222
|
export declare namespace NetworkStatus {
|
|
936
1223
|
/**
|
|
937
|
-
* Defined in:
|
|
938
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1224
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
939
1225
|
*/
|
|
940
1226
|
interface Signal {
|
|
941
1227
|
server: string;
|
|
@@ -943,15 +1229,13 @@ export declare namespace NetworkStatus {
|
|
|
943
1229
|
}
|
|
944
1230
|
}
|
|
945
1231
|
/**
|
|
946
|
-
* Defined in:
|
|
947
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1232
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
948
1233
|
*/
|
|
949
1234
|
export interface UpdateConfigRequest {
|
|
950
1235
|
swarm: ConnectionState;
|
|
951
1236
|
}
|
|
952
1237
|
/**
|
|
953
|
-
* Defined in:
|
|
954
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1238
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
955
1239
|
*/
|
|
956
1240
|
export interface SubscribeSwarmStateRequest {
|
|
957
1241
|
topic: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -983,8 +1267,7 @@ export interface EdgeAgentService {
|
|
|
983
1267
|
queryAgentStatus: (request: void, options?: RequestOptions) => Stream<QueryAgentStatusResponse>;
|
|
984
1268
|
}
|
|
985
1269
|
/**
|
|
986
|
-
* Defined in:
|
|
987
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1270
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
988
1271
|
*/
|
|
989
1272
|
export interface EdgeStatus {
|
|
990
1273
|
state: EdgeStatus.ConnectionState;
|
|
@@ -1001,178 +1284,48 @@ export interface EdgeStatus {
|
|
|
1001
1284
|
*/
|
|
1002
1285
|
rateBytesUp: number;
|
|
1003
1286
|
/**
|
|
1004
|
-
* Download rate in bytes per second
|
|
1005
|
-
*/
|
|
1006
|
-
rateBytesDown: number;
|
|
1007
|
-
messagesSent: number;
|
|
1008
|
-
messagesReceived: number;
|
|
1009
|
-
}
|
|
1010
|
-
export declare namespace EdgeStatus {
|
|
1011
|
-
/**
|
|
1012
|
-
* Defined in:
|
|
1013
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1014
|
-
*/
|
|
1015
|
-
enum ConnectionState {
|
|
1016
|
-
NOT_CONNECTED = 0,
|
|
1017
|
-
CONNECTED = 1
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
/**
|
|
1021
|
-
* Defined in:
|
|
1022
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1023
|
-
*/
|
|
1024
|
-
export interface QueryEdgeStatusResponse {
|
|
1025
|
-
status: EdgeStatus;
|
|
1026
|
-
}
|
|
1027
|
-
/**
|
|
1028
|
-
* Defined in:
|
|
1029
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1030
|
-
*/
|
|
1031
|
-
export interface QueryAgentStatusResponse {
|
|
1032
|
-
status: QueryAgentStatusResponse.AgentStatus;
|
|
1033
|
-
}
|
|
1034
|
-
export declare namespace QueryAgentStatusResponse {
|
|
1035
|
-
/**
|
|
1036
|
-
* Defined in:
|
|
1037
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1038
|
-
*/
|
|
1039
|
-
enum AgentStatus {
|
|
1040
|
-
UNKNOWN = 0,
|
|
1041
|
-
ACTIVE = 1,
|
|
1042
|
-
INACTIVE = 2,
|
|
1043
|
-
NOT_FOUND = 3
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
/**
|
|
1047
|
-
* Defined in:
|
|
1048
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1049
|
-
*/
|
|
1050
|
-
export interface QueueQuery {
|
|
1051
|
-
spaceId: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* Options:
|
|
1054
|
-
* - proto3_optional = true
|
|
1055
|
-
*/
|
|
1056
|
-
queuesNamespace?: string;
|
|
1057
|
-
/**
|
|
1058
|
-
* Queries the whole space if missing.
|
|
1059
|
-
*/
|
|
1060
|
-
queueIds?: string[];
|
|
1061
|
-
/**
|
|
1062
|
-
* Filter items after this cursor. Exclusive.
|
|
1063
|
-
*
|
|
1064
|
-
* Options:
|
|
1065
|
-
* - proto3_optional = true
|
|
1066
|
-
*/
|
|
1067
|
-
after?: string;
|
|
1068
|
-
/**
|
|
1069
|
-
* Filter items before this cursor. Exclusive.
|
|
1070
|
-
*
|
|
1071
|
-
* Options:
|
|
1072
|
-
* - proto3_optional = true
|
|
1073
|
-
*/
|
|
1074
|
-
before?: string;
|
|
1075
|
-
/**
|
|
1076
|
-
* Filter items after this position. Inclusive.
|
|
1077
|
-
*
|
|
1078
|
-
* Options:
|
|
1079
|
-
* - proto3_optional = true
|
|
1080
|
-
*/
|
|
1081
|
-
beginPosition?: string;
|
|
1082
|
-
/**
|
|
1083
|
-
* Filter items before this position. Exclusive.
|
|
1084
|
-
*
|
|
1085
|
-
* Options:
|
|
1086
|
-
* - proto3_optional = true
|
|
1087
|
-
*/
|
|
1088
|
-
endPosition?: string;
|
|
1089
|
-
/**
|
|
1090
|
-
* Options:
|
|
1091
|
-
* - proto3_optional = true
|
|
1092
|
-
*/
|
|
1093
|
-
limit?: number;
|
|
1094
|
-
/**
|
|
1095
|
-
* Options:
|
|
1096
|
-
* - proto3_optional = true
|
|
1097
|
-
*/
|
|
1098
|
-
reverse?: boolean;
|
|
1099
|
-
objectIds?: string[];
|
|
1100
|
-
}
|
|
1101
|
-
/**
|
|
1102
|
-
* Defined in:
|
|
1103
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1104
|
-
*/
|
|
1105
|
-
export interface QueueQueryResult {
|
|
1106
|
-
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
1107
|
-
/**
|
|
1108
|
-
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
1109
|
-
*/
|
|
1110
|
-
nextCursor: string;
|
|
1111
|
-
prevCursor: string;
|
|
1112
|
-
}
|
|
1113
|
-
/**
|
|
1114
|
-
* Defined in:
|
|
1115
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1116
|
-
*/
|
|
1117
|
-
export interface QueryQueueRequest {
|
|
1118
|
-
query: QueueQuery;
|
|
1119
|
-
}
|
|
1120
|
-
/**
|
|
1121
|
-
* Defined in:
|
|
1122
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1123
|
-
*/
|
|
1124
|
-
export interface InsertIntoQueueRequest {
|
|
1125
|
-
subspaceTag: string;
|
|
1126
|
-
spaceId: string;
|
|
1127
|
-
queueId: string;
|
|
1128
|
-
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
1129
|
-
}
|
|
1130
|
-
/**
|
|
1131
|
-
* Defined in:
|
|
1132
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1133
|
-
*/
|
|
1134
|
-
export interface DeleteFromQueueRequest {
|
|
1135
|
-
subspaceTag: string;
|
|
1136
|
-
spaceId: string;
|
|
1137
|
-
queueId: string;
|
|
1138
|
-
objectIds?: string[];
|
|
1139
|
-
}
|
|
1140
|
-
/**
|
|
1141
|
-
* Defined in:
|
|
1142
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1143
|
-
*/
|
|
1144
|
-
export interface SyncQueueRequest {
|
|
1145
|
-
subspaceTag: string;
|
|
1146
|
-
spaceId: string;
|
|
1147
|
-
queueId: string;
|
|
1148
|
-
/**
|
|
1149
|
-
* Whether to push local changes to the server. Defaults to true.
|
|
1150
|
-
*
|
|
1151
|
-
* Options:
|
|
1152
|
-
* - proto3_optional = true
|
|
1287
|
+
* Download rate in bytes per second
|
|
1153
1288
|
*/
|
|
1154
|
-
|
|
1289
|
+
rateBytesDown: number;
|
|
1290
|
+
messagesSent: number;
|
|
1291
|
+
messagesReceived: number;
|
|
1292
|
+
}
|
|
1293
|
+
export declare namespace EdgeStatus {
|
|
1155
1294
|
/**
|
|
1156
|
-
*
|
|
1157
|
-
*
|
|
1158
|
-
* Options:
|
|
1159
|
-
* - proto3_optional = true
|
|
1295
|
+
* Defined in:
|
|
1296
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
1160
1297
|
*/
|
|
1161
|
-
|
|
1298
|
+
enum ConnectionState {
|
|
1299
|
+
NOT_CONNECTED = 0,
|
|
1300
|
+
CONNECTED = 1
|
|
1301
|
+
}
|
|
1162
1302
|
}
|
|
1163
1303
|
/**
|
|
1164
|
-
* Defined in:
|
|
1165
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
1304
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1166
1305
|
*/
|
|
1167
|
-
export interface
|
|
1168
|
-
|
|
1169
|
-
insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1170
|
-
deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1171
|
-
syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1306
|
+
export interface QueryEdgeStatusResponse {
|
|
1307
|
+
status: EdgeStatus;
|
|
1172
1308
|
}
|
|
1173
1309
|
/**
|
|
1174
|
-
* Defined in:
|
|
1175
|
-
|
|
1310
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
1311
|
+
*/
|
|
1312
|
+
export interface QueryAgentStatusResponse {
|
|
1313
|
+
status: QueryAgentStatusResponse.AgentStatus;
|
|
1314
|
+
}
|
|
1315
|
+
export declare namespace QueryAgentStatusResponse {
|
|
1316
|
+
/**
|
|
1317
|
+
* Defined in:
|
|
1318
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
1319
|
+
*/
|
|
1320
|
+
enum AgentStatus {
|
|
1321
|
+
UNKNOWN = 0,
|
|
1322
|
+
ACTIVE = 1,
|
|
1323
|
+
INACTIVE = 2,
|
|
1324
|
+
NOT_FOUND = 3
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1176
1329
|
*/
|
|
1177
1330
|
export interface Metrics {
|
|
1178
1331
|
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
@@ -1180,8 +1333,7 @@ export interface Metrics {
|
|
|
1180
1333
|
}
|
|
1181
1334
|
export declare namespace Metrics {
|
|
1182
1335
|
/**
|
|
1183
|
-
* Defined in:
|
|
1184
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1336
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1185
1337
|
*/
|
|
1186
1338
|
interface KeyPair {
|
|
1187
1339
|
/**
|
|
@@ -1202,8 +1354,7 @@ export declare namespace Metrics {
|
|
|
1202
1354
|
}
|
|
1203
1355
|
}
|
|
1204
1356
|
/**
|
|
1205
|
-
* Defined in:
|
|
1206
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1357
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1207
1358
|
*/
|
|
1208
1359
|
export interface ControlMetricsRequest {
|
|
1209
1360
|
/**
|
|
@@ -1218,8 +1369,7 @@ export interface ControlMetricsRequest {
|
|
|
1218
1369
|
record?: boolean;
|
|
1219
1370
|
}
|
|
1220
1371
|
/**
|
|
1221
|
-
* Defined in:
|
|
1222
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1372
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1223
1373
|
*/
|
|
1224
1374
|
export interface ControlMetricsResponse {
|
|
1225
1375
|
/**
|
|
@@ -1229,8 +1379,7 @@ export interface ControlMetricsResponse {
|
|
|
1229
1379
|
recording?: boolean;
|
|
1230
1380
|
}
|
|
1231
1381
|
/**
|
|
1232
|
-
* Defined in:
|
|
1233
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1382
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1234
1383
|
*/
|
|
1235
1384
|
export interface QueryMetricsRequest {
|
|
1236
1385
|
/**
|
|
@@ -1240,8 +1389,7 @@ export interface QueryMetricsRequest {
|
|
|
1240
1389
|
interval?: number;
|
|
1241
1390
|
}
|
|
1242
1391
|
/**
|
|
1243
|
-
* Defined in:
|
|
1244
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1392
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1245
1393
|
*/
|
|
1246
1394
|
export interface QueryMetricsResponse {
|
|
1247
1395
|
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
@@ -1261,8 +1409,7 @@ export declare enum LogLevel {
|
|
|
1261
1409
|
ERROR = 14
|
|
1262
1410
|
}
|
|
1263
1411
|
/**
|
|
1264
|
-
* Defined in:
|
|
1265
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1412
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1266
1413
|
*/
|
|
1267
1414
|
export interface QueryLogsRequest {
|
|
1268
1415
|
filters?: QueryLogsRequest.Filter[];
|
|
@@ -1283,8 +1430,7 @@ export declare namespace QueryLogsRequest {
|
|
|
1283
1430
|
EXPLICIT = 2
|
|
1284
1431
|
}
|
|
1285
1432
|
/**
|
|
1286
|
-
* Defined in:
|
|
1287
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1433
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1288
1434
|
*/
|
|
1289
1435
|
interface Filter {
|
|
1290
1436
|
level: LogLevel;
|
|
@@ -1296,8 +1442,7 @@ export declare namespace QueryLogsRequest {
|
|
|
1296
1442
|
}
|
|
1297
1443
|
}
|
|
1298
1444
|
/**
|
|
1299
|
-
* Defined in:
|
|
1300
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1445
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1301
1446
|
*/
|
|
1302
1447
|
export interface LogEntry {
|
|
1303
1448
|
level: LogLevel;
|
|
@@ -1321,8 +1466,7 @@ export interface LogEntry {
|
|
|
1321
1466
|
}
|
|
1322
1467
|
export declare namespace LogEntry {
|
|
1323
1468
|
/**
|
|
1324
|
-
* Defined in:
|
|
1325
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1469
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1326
1470
|
*/
|
|
1327
1471
|
interface Meta {
|
|
1328
1472
|
file: string;
|
|
@@ -1348,196 +1492,4 @@ export interface LoggingService {
|
|
|
1348
1492
|
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1349
1493
|
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1350
1494
|
}
|
|
1351
|
-
/**
|
|
1352
|
-
* Defined in:
|
|
1353
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1354
|
-
*/
|
|
1355
|
-
export interface AdmissionKeypair {
|
|
1356
|
-
publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1357
|
-
/**
|
|
1358
|
-
* Options:
|
|
1359
|
-
* - proto3_optional = true
|
|
1360
|
-
*/
|
|
1361
|
-
privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
|
|
1362
|
-
}
|
|
1363
|
-
/**
|
|
1364
|
-
* Runtime state of the space object.
|
|
1365
|
-
*
|
|
1366
|
-
* Defined in:
|
|
1367
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1368
|
-
*/
|
|
1369
|
-
export declare enum SpaceState {
|
|
1370
|
-
INVALID = 0,
|
|
1371
|
-
SPACE_INACTIVE = 2,
|
|
1372
|
-
SPACE_ACTIVE = 6,
|
|
1373
|
-
SPACE_CLOSED = 1,
|
|
1374
|
-
SPACE_CONTROL_ONLY = 7,
|
|
1375
|
-
SPACE_INITIALIZING = 4,
|
|
1376
|
-
SPACE_READY = 3,
|
|
1377
|
-
SPACE_ERROR = 5,
|
|
1378
|
-
SPACE_REQUIRES_MIGRATION = 8
|
|
1379
|
-
}
|
|
1380
|
-
/**
|
|
1381
|
-
* Represents the invitation state passed between client and service.
|
|
1382
|
-
*
|
|
1383
|
-
* Defined in:
|
|
1384
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1385
|
-
*/
|
|
1386
|
-
export interface Invitation {
|
|
1387
|
-
/**
|
|
1388
|
-
* Local identifier (random).
|
|
1389
|
-
*/
|
|
1390
|
-
invitationId: string;
|
|
1391
|
-
/**
|
|
1392
|
-
* Determines the behavior of the invitation.
|
|
1393
|
-
*/
|
|
1394
|
-
type: Invitation.Type;
|
|
1395
|
-
/**
|
|
1396
|
-
* Kind of access the invitation will grant.
|
|
1397
|
-
*/
|
|
1398
|
-
kind: Invitation.Kind;
|
|
1399
|
-
/**
|
|
1400
|
-
* How the invitation is authenticated.
|
|
1401
|
-
*/
|
|
1402
|
-
authMethod: Invitation.AuthMethod;
|
|
1403
|
-
/**
|
|
1404
|
-
* Swarm rendezvous (random).
|
|
1405
|
-
*/
|
|
1406
|
-
swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1407
|
-
/**
|
|
1408
|
-
* Local state.
|
|
1409
|
-
*/
|
|
1410
|
-
state: Invitation.State;
|
|
1411
|
-
/**
|
|
1412
|
-
* Timeout for guest to complete invitation once connected (ms).
|
|
1413
|
-
*
|
|
1414
|
-
* Options:
|
|
1415
|
-
* - proto3_optional = true
|
|
1416
|
-
*/
|
|
1417
|
-
timeout?: number;
|
|
1418
|
-
/**
|
|
1419
|
-
* Guest's identity.
|
|
1420
|
-
*
|
|
1421
|
-
* Options:
|
|
1422
|
-
* - proto3_optional = true
|
|
1423
|
-
*/
|
|
1424
|
-
identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1425
|
-
/**
|
|
1426
|
-
* Space to join (only present if kind is SPACE).
|
|
1427
|
-
*
|
|
1428
|
-
* Options:
|
|
1429
|
-
* - proto3_optional = true
|
|
1430
|
-
*/
|
|
1431
|
-
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1432
|
-
/**
|
|
1433
|
-
* Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
1434
|
-
*
|
|
1435
|
-
* Options:
|
|
1436
|
-
* - proto3_optional = true
|
|
1437
|
-
*/
|
|
1438
|
-
authCode?: string;
|
|
1439
|
-
/**
|
|
1440
|
-
* Path or identifier to navigate to after successful authentication.
|
|
1441
|
-
*
|
|
1442
|
-
* Options:
|
|
1443
|
-
* - proto3_optional = true
|
|
1444
|
-
*/
|
|
1445
|
-
target?: string;
|
|
1446
|
-
/**
|
|
1447
|
-
* Host should resume invitation on startup until timeout.
|
|
1448
|
-
*
|
|
1449
|
-
* Options:
|
|
1450
|
-
* - proto3_optional = true
|
|
1451
|
-
*/
|
|
1452
|
-
persistent?: boolean;
|
|
1453
|
-
/**
|
|
1454
|
-
* Options:
|
|
1455
|
-
* - proto3_optional = true
|
|
1456
|
-
*/
|
|
1457
|
-
created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1458
|
-
/**
|
|
1459
|
-
* Options:
|
|
1460
|
-
* - proto3_optional = true
|
|
1461
|
-
*/
|
|
1462
|
-
lifetime?: number;
|
|
1463
|
-
/**
|
|
1464
|
-
* Whether an invitation can be used multiple times.
|
|
1465
|
-
*
|
|
1466
|
-
* Options:
|
|
1467
|
-
* - proto3_optional = true
|
|
1468
|
-
*/
|
|
1469
|
-
multiUse?: boolean;
|
|
1470
|
-
/**
|
|
1471
|
-
* Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
|
|
1472
|
-
*
|
|
1473
|
-
* Options:
|
|
1474
|
-
* - proto3_optional = true
|
|
1475
|
-
*/
|
|
1476
|
-
guestKeypair?: AdmissionKeypair;
|
|
1477
|
-
/**
|
|
1478
|
-
* Present on Type.DELEGATED invitations.
|
|
1479
|
-
*
|
|
1480
|
-
* Options:
|
|
1481
|
-
* - proto3_optional = true
|
|
1482
|
-
*/
|
|
1483
|
-
delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1484
|
-
/**
|
|
1485
|
-
* Role of the admitted member, defaults to ADMIN.
|
|
1486
|
-
*
|
|
1487
|
-
* Options:
|
|
1488
|
-
* - proto3_optional = true
|
|
1489
|
-
*/
|
|
1490
|
-
role?: dxos_halo_credentials.SpaceMember.Role;
|
|
1491
|
-
/**
|
|
1492
|
-
* Id of a the space to join (only present if kind is SPACE).
|
|
1493
|
-
*
|
|
1494
|
-
* Options:
|
|
1495
|
-
* - proto3_optional = true
|
|
1496
|
-
*/
|
|
1497
|
-
spaceId?: string;
|
|
1498
|
-
}
|
|
1499
|
-
export declare namespace Invitation {
|
|
1500
|
-
/**
|
|
1501
|
-
* Defined in:
|
|
1502
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1503
|
-
*/
|
|
1504
|
-
enum Type {
|
|
1505
|
-
INTERACTIVE = 0,
|
|
1506
|
-
DELEGATED = 1,
|
|
1507
|
-
MULTIUSE = 2
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* Defined in:
|
|
1511
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1512
|
-
*/
|
|
1513
|
-
enum Kind {
|
|
1514
|
-
DEVICE = 0,
|
|
1515
|
-
SPACE = 1
|
|
1516
|
-
}
|
|
1517
|
-
/**
|
|
1518
|
-
* Defined in:
|
|
1519
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1520
|
-
*/
|
|
1521
|
-
enum AuthMethod {
|
|
1522
|
-
NONE = 0,
|
|
1523
|
-
SHARED_SECRET = 1,
|
|
1524
|
-
KNOWN_PUBLIC_KEY = 2
|
|
1525
|
-
}
|
|
1526
|
-
/**
|
|
1527
|
-
* Defined in:
|
|
1528
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1529
|
-
*/
|
|
1530
|
-
enum State {
|
|
1531
|
-
INIT = 0,
|
|
1532
|
-
CONNECTING = 1,
|
|
1533
|
-
CONNECTED = 2,
|
|
1534
|
-
READY_FOR_AUTHENTICATION = 3,
|
|
1535
|
-
AUTHENTICATING = 4,
|
|
1536
|
-
SUCCESS = 5,
|
|
1537
|
-
CANCELLED = 6,
|
|
1538
|
-
TIMEOUT = 7,
|
|
1539
|
-
ERROR = 8,
|
|
1540
|
-
EXPIRED = 9
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
1495
|
//# sourceMappingURL=services.d.ts.map
|