@dxos/protocols 0.8.4-main.ef1bc66f44 → 0.8.4-main.f466a3d56e
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/README.md +1 -1
- package/dist/src/FeedProtocol.d.ts +6 -6
- package/dist/src/FeedProtocol.d.ts.map +1 -1
- package/dist/src/FeedProtocol.js +1 -1
- package/dist/src/FeedProtocol.js.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 +53 -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 +7 -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 +65 -2
- 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 +64 -37
- 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 +110 -2
- 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/metadata_pb.d.ts +6 -0
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_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/edge/messenger_pb.d.ts +28 -0
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +10 -5
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +39 -0
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +27 -2
- package/dist/src/buf/proto/gen/dxos/halo/credentials_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 +39 -25
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -1
- package/dist/src/edge/edge.d.ts +169 -1
- package/dist/src/edge/edge.d.ts.map +1 -1
- package/dist/src/edge/edge.js +15 -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.js.map +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 +1017 -1027
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +106 -94
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +111 -101
- 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 +71 -119
- 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 +12 -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 +28 -10
- 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 +35 -43
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.js +9 -0
- 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 +326 -40
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.js +127 -1
- package/dist/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +32 -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 +62 -3
- package/dist/src/space-archive.d.ts.map +1 -1
- package/dist/src/space-archive.js +13 -1
- package/dist/src/space-archive.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -31
- package/src/FeedProtocol.ts +2 -1
- package/src/FunctionProtocol.ts +9 -2
- package/src/TraceProtocol.ts +21 -0
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +63 -8
- package/src/buf/proto/gen/dxos/client/services_pb.ts +115 -39
- package/src/buf/proto/gen/dxos/config_pb.ts +128 -3
- package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +8 -1
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +19 -3
- package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +38 -5
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +48 -2
- 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 +63 -28
- package/src/edge/edge.ts +122 -1
- package/src/edge/index.ts +1 -0
- package/src/edge/registry.ts +164 -0
- package/src/errors/encoding.ts +0 -1
- package/src/errors/errors.ts +0 -1
- package/src/index.ts +1 -1
- package/src/proto/dxos/client/queue.proto +18 -4
- package/src/proto/dxos/client/services.proto +20 -1
- package/src/proto/dxos/config.proto +49 -2
- package/src/proto/dxos/echo/metadata.proto +3 -0
- package/src/proto/dxos/echo/service.proto +14 -1
- package/src/proto/dxos/edge/messenger.proto +10 -0
- package/src/proto/dxos/halo/credentials.proto +15 -0
- 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 +1017 -1027
- package/src/proto/gen/dxos/config.ts +111 -101
- package/src/proto/gen/dxos/devtools/host.ts +71 -119
- 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 +12 -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 +28 -10
- 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 +35 -43
- 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/google/protobuf.ts +326 -40
- package/src/proto/gen/index.ts +33 -8
- package/src/space-archive.ts +70 -1
- 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
package/LICENSE
CHANGED
|
@@ -1,8 +1,105 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c) 2022 DXOS
|
|
1
|
+
# Functional Source License, Version 1.1, ALv2 Future License
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
## Abbreviation
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 DXOS
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
|
|
38
|
+
2. substitutes for any other product or service we offer using the Software
|
|
39
|
+
that exists as of the date we make the Software available; or
|
|
40
|
+
|
|
41
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
42
|
+
|
|
43
|
+
Permitted Purposes specifically include using the Software:
|
|
44
|
+
|
|
45
|
+
1. for your internal use and access;
|
|
46
|
+
|
|
47
|
+
2. for non-commercial education;
|
|
48
|
+
|
|
49
|
+
3. for non-commercial research; and
|
|
50
|
+
|
|
51
|
+
4. in connection with professional services that you provide to a licensee
|
|
52
|
+
using the Software in accordance with these Terms and Conditions.
|
|
53
|
+
|
|
54
|
+
### Patents
|
|
55
|
+
|
|
56
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
57
|
+
patents, the license grant above includes a license under our patents. If you
|
|
58
|
+
make a claim against any party that the Software infringes or contributes to
|
|
59
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
60
|
+
immediately.
|
|
61
|
+
|
|
62
|
+
### Redistribution
|
|
63
|
+
|
|
64
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
65
|
+
the Software.
|
|
66
|
+
|
|
67
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
68
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
69
|
+
remove any copyright notices provided in or with the Software.
|
|
70
|
+
|
|
71
|
+
### Disclaimer
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
75
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
76
|
+
|
|
77
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
78
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
79
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
80
|
+
|
|
81
|
+
### Trademarks
|
|
82
|
+
|
|
83
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
84
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
85
|
+
trademarks, trade names, service marks or product names.
|
|
86
|
+
|
|
87
|
+
## Grant of Future License
|
|
88
|
+
|
|
89
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
90
|
+
the Apache License, Version 2.0 that is effective on the second anniversary of
|
|
91
|
+
the date we make the Software available. On or after that date, you may use the
|
|
92
|
+
Software under the Apache License, Version 2.0, in which case the following
|
|
93
|
+
will apply:
|
|
94
|
+
|
|
95
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
96
|
+
this file except in compliance with the License.
|
|
97
|
+
|
|
98
|
+
You may obtain a copy of the License at
|
|
99
|
+
|
|
100
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
101
|
+
|
|
102
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
103
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
|
+
specific language governing permissions and limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { type QueueService, type QueueQuery, type QueueQueryResult as QueryResult, type QueryQueueRequest, type InsertIntoQueueRequest, type DeleteFromQueueRequest, } from './proto/gen/dxos/client/services.js';
|
|
2
|
-
export declare const KEY_QUEUE_POSITION = "dxos.
|
|
1
|
+
export { type QueueService, type QueueQuery, type QueueQueryResult as QueryResult, type QueryQueueRequest, type InsertIntoQueueRequest, type DeleteFromQueueRequest, type SyncQueueRequest, } from './proto/gen/dxos/client/services.js';
|
|
2
|
+
export declare const KEY_QUEUE_POSITION = "org.dxos.key.queue-position";
|
|
3
3
|
import * as Schema from 'effect/Schema';
|
|
4
4
|
import { SpaceId } from '@dxos/keys';
|
|
5
5
|
/**
|
|
@@ -65,8 +65,8 @@ export declare const QueryRequest: Schema.Struct<{
|
|
|
65
65
|
*/
|
|
66
66
|
spaceId: Schema.Schema<SpaceId, string, never> & {
|
|
67
67
|
byteLength: number;
|
|
68
|
-
encode: (value: Uint8Array) => SpaceId;
|
|
69
|
-
decode: (value: SpaceId) => Uint8Array
|
|
68
|
+
encode: (value: Uint8Array<ArrayBufferLike>) => SpaceId;
|
|
69
|
+
decode: (value: SpaceId) => Uint8Array<ArrayBufferLike>;
|
|
70
70
|
isValid: (value: unknown) => value is SpaceId;
|
|
71
71
|
make: (value: string) => SpaceId;
|
|
72
72
|
random: () => SpaceId;
|
|
@@ -510,8 +510,8 @@ export type ProtocolMessage = Schema.Schema.Type<typeof ProtocolMessage>;
|
|
|
510
510
|
* Reserved namespaces with protocol-level semantics.
|
|
511
511
|
*/
|
|
512
512
|
export declare const WellKnownNamespaces: {
|
|
513
|
-
readonly data:
|
|
514
|
-
readonly trace:
|
|
513
|
+
readonly data: 'data';
|
|
514
|
+
readonly trace: 'trace';
|
|
515
515
|
};
|
|
516
516
|
export declare const isWellKnownNamespace: (namespace: string) => boolean;
|
|
517
517
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeedProtocol.d.ts","sourceRoot":"","sources":["../../src/FeedProtocol.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,gBAAgB,IAAI,WAAW,EACpC,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,
|
|
1
|
+
{"version":3,"file":"FeedProtocol.d.ts","sourceRoot":"","sources":["../../src/FeedProtocol.ts"],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;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;QA5IH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;;WAGG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;;WAGG;;;;IAyGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;IASH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;IASH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;QAhNH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;;WAGG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;;WAGG;;;;IA6KH;;OAEG;;IAGH;;OAEG;;;IAgBD;;OAEG;;;;IAOD;;OAEG;;GAIR,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,mBAAmB;aAC9B,IAAI,EAAE,MAAM;aACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAEX,eAAO,MAAM,oBAAoB,cAAe,MAAM,YACS,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,eAAe,cAAe,MAAM,WAAW,OAAO,WACR,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,eAAe,cACf,MAAM,KAChB;IAAE,SAAS,EAAE,MAAM,OAAO,mBAAmB,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAMjE,CAAC"}
|
package/dist/src/FeedProtocol.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2026 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
export const KEY_QUEUE_POSITION = 'dxos.
|
|
4
|
+
export const KEY_QUEUE_POSITION = 'org.dxos.key.queue-position';
|
|
5
5
|
import * as Schema from 'effect/Schema';
|
|
6
6
|
import { invariant } from '@dxos/invariant';
|
|
7
7
|
import { SpaceId } from '@dxos/keys';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeedProtocol.js","sourceRoot":"","sources":["../../src/FeedProtocol.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;
|
|
1
|
+
{"version":3,"file":"FeedProtocol.js","sourceRoot":"","sources":["../../src/FeedProtocol.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAYF,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAEhE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAGpF;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;IAEzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM;IAEtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IAEzC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IAE1C;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IAEtC;;OAEG;IACH,SAAS,E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AAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,OAAgB,EAAE,EAAE,CACrE,GAAG,WAAW,CAAC,gBAAgB,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;AAE5D;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,SAAiB,EACkD,EAAE;IACrE,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC3D,SAAS,CAAC,OAAO,KAAK,WAAW,CAAC,gBAAgB,EAAE,oBAAoB,OAAO,EAAE,CAAC,CAAC;IACnF,SAAS,CAAC,oBAAoB,CAAC,SAAS,CAAC,EAAE,sBAAsB,SAAS,EAAE,CAAC,CAAC;IAC9E,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,oBAAoB,OAAO,EAAE,CAAC,CAAC;IACnE,OAAO,EAAE,SAAS,EAAE,SAA6C,EAAE,OAAO,EAAE,CAAC;AAC/E,CAAC,CAAC"}
|
|
@@ -3,6 +3,7 @@ import type * as QueryProto from '@dxos/protocols/proto/dxos/echo/query';
|
|
|
3
3
|
import type * as DataProto from '@dxos/protocols/proto/dxos/echo/service';
|
|
4
4
|
import { type EdgeFunctionEnv } from './edge';
|
|
5
5
|
import type * as FeedProtocol from './FeedProtocol';
|
|
6
|
+
import type * as TraceProtocol from './TraceProtocol';
|
|
6
7
|
/**
|
|
7
8
|
* Function implementation.
|
|
8
9
|
* This is a contract between the user-defined function and the runtime.
|
|
@@ -64,6 +65,12 @@ export interface Context {
|
|
|
64
65
|
* Available if the function is invoked in context of a space.
|
|
65
66
|
*/
|
|
66
67
|
functionsAiService?: EdgeFunctionEnv.FunctionsAiService;
|
|
68
|
+
/**
|
|
69
|
+
* Functions service.
|
|
70
|
+
* Available if the function is invoked in context of a space.
|
|
71
|
+
*/
|
|
72
|
+
functionsService?: EdgeFunctionEnv.FunctionsService;
|
|
73
|
+
traceService?: TraceProtocol.TraceService;
|
|
67
74
|
};
|
|
68
75
|
/**
|
|
69
76
|
* That space that the function is invoked in context of.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionProtocol.d.ts","sourceRoot":"","sources":["../../src/FunctionProtocol.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,KAAK,UAAU,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,KAAK,SAAS,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,KAAK,YAAY,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"FunctionProtocol.d.ts","sourceRoot":"","sources":["../../src/FunctionProtocol.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,KAAK,UAAU,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,KAAK,SAAS,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,KAAK,YAAY,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,KAAK,aAAa,MAAM,iBAAiB,CAAC;AAWtD;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEtF;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,QAAQ,EAAE;QACR;;;WAGG;QACH,YAAY,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;QAEvC;;;WAGG;QACH,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;QAEpC;;;WAGG;QACH,YAAY,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC;QAEzC;;;WAGG;QACH,kBAAkB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC;QAExD;;;WAGG;QACH,gBAAgB,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC;QAEpD,YAAY,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC;KAC3C,CAAC;IAEF;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Allows consumers to write trace events to the trace.
|
|
3
|
+
*/
|
|
4
|
+
export interface TraceService {
|
|
5
|
+
write(events: Event[]): void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Single typed trace event.
|
|
9
|
+
*/
|
|
10
|
+
export interface Event {
|
|
11
|
+
key: string;
|
|
12
|
+
isEphemeral: boolean;
|
|
13
|
+
data: unknown;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=TraceProtocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraceProtocol.d.ts","sourceRoot":"","sources":["../../src/TraceProtocol.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraceProtocol.js","sourceRoot":"","sources":["../../src/TraceProtocol.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import type {
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file dxos/client/queue.proto.
|
|
6
6
|
*/
|
|
@@ -72,9 +72,13 @@ export declare const QueueQuerySchema: GenMessage<QueueQuery>;
|
|
|
72
72
|
*/
|
|
73
73
|
export type QueueQueryResult = Message<"dxos.client.services.QueueQueryResult"> & {
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
76
|
+
* / We use JSON strings instead of google.protobuf.Struct because Struct
|
|
77
|
+
* / coerces `undefined` to `null`, corrupting optional fields.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: repeated string objects = 1;
|
|
76
80
|
*/
|
|
77
|
-
objects:
|
|
81
|
+
objects: string[];
|
|
78
82
|
/**
|
|
79
83
|
* / Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
80
84
|
*
|
|
@@ -122,9 +126,11 @@ export type InsertIntoQueueRequest = Message<"dxos.client.services.InsertIntoQue
|
|
|
122
126
|
*/
|
|
123
127
|
queueId: string;
|
|
124
128
|
/**
|
|
125
|
-
*
|
|
129
|
+
* / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: repeated string objects = 4;
|
|
126
132
|
*/
|
|
127
|
-
objects:
|
|
133
|
+
objects: string[];
|
|
128
134
|
};
|
|
129
135
|
/**
|
|
130
136
|
* Describes the message dxos.client.services.InsertIntoQueueRequest.
|
|
@@ -157,6 +163,40 @@ export type DeleteFromQueueRequest = Message<"dxos.client.services.DeleteFromQue
|
|
|
157
163
|
* Use `create(DeleteFromQueueRequestSchema)` to create a new message.
|
|
158
164
|
*/
|
|
159
165
|
export declare const DeleteFromQueueRequestSchema: GenMessage<DeleteFromQueueRequest>;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message dxos.client.services.SyncQueueRequest
|
|
168
|
+
*/
|
|
169
|
+
export type SyncQueueRequest = Message<"dxos.client.services.SyncQueueRequest"> & {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string subspace_tag = 1;
|
|
172
|
+
*/
|
|
173
|
+
subspaceTag: string;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string space_id = 2;
|
|
176
|
+
*/
|
|
177
|
+
spaceId: string;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string queue_id = 3;
|
|
180
|
+
*/
|
|
181
|
+
queueId: string;
|
|
182
|
+
/**
|
|
183
|
+
* / Whether to push local changes to the server. Defaults to true.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: optional bool should_push = 4;
|
|
186
|
+
*/
|
|
187
|
+
shouldPush?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* / Whether to pull remote changes from the server. Defaults to true.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: optional bool should_pull = 5;
|
|
192
|
+
*/
|
|
193
|
+
shouldPull?: boolean;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message dxos.client.services.SyncQueueRequest.
|
|
197
|
+
* Use `create(SyncQueueRequestSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export declare const SyncQueueRequestSchema: GenMessage<SyncQueueRequest>;
|
|
160
200
|
/**
|
|
161
201
|
* @generated from service dxos.client.services.QueueService
|
|
162
202
|
*/
|
|
@@ -185,5 +225,13 @@ export declare const QueueService: GenService<{
|
|
|
185
225
|
input: typeof DeleteFromQueueRequestSchema;
|
|
186
226
|
output: typeof EmptySchema;
|
|
187
227
|
};
|
|
228
|
+
/**
|
|
229
|
+
* @generated from rpc dxos.client.services.QueueService.SyncQueue
|
|
230
|
+
*/
|
|
231
|
+
syncQueue: {
|
|
232
|
+
methodKind: "unary";
|
|
233
|
+
input: typeof SyncQueueRequestSchema;
|
|
234
|
+
output: typeof EmptySchema;
|
|
235
|
+
};
|
|
188
236
|
}>;
|
|
189
237
|
//# sourceMappingURL=queue_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/queue_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"queue_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/queue_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;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AAK,EAAE,OAAO,uBAAuB,CAAC;QACtC,MAAM,EAAE,OAAO,sBAAsB,CAAC;KACvC,CAAC;IACF;;OAEG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sBAAsB,CAAC;QACrC,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;CACH,CACuC,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// @generated from file dxos/client/queue.proto (package dxos.client.services, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
-
import { file_google_protobuf_empty
|
|
5
|
+
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/client/queue.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_dxos_client_queue = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_dxos_client_queue = /*@__PURE__*/ fileDesc("ChdkeG9zL2NsaWVudC9xdWV1ZS5wcm90bxIUZHhvcy5jbGllbnQuc2VydmljZXMi0wIKClF1ZXVlUXVlcnkSEAoIc3BhY2VfaWQYASABKAkSHQoQcXVldWVzX25hbWVzcGFjZRgCIAEoCUgAiAEBEhEKCXF1ZXVlX2lkcxgDIAMoCRISCgVhZnRlchgEIAEoCUgBiAEBEhMKBmJlZm9yZRgFIAEoCUgCiAEBEhsKDmJlZ2luX3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0GiYuZHhvcy5jbGllbnQuc2VydmljZXMuUXVldWVRdWVyeVJlc3VsdBJXCg9JbnNlcnRJbnRvUXVldWUSLC5keG9zLmNsaWVudC5zZXJ2aWNlcy5JbnNlcnRJbnRvUXVldWVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5ElcKD0RlbGV0ZUZyb21RdWV1ZRIsLmR4b3MuY2xpZW50LnNlcnZpY2VzLkRlbGV0ZUZyb21RdWV1ZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSSwoJU3luY1F1ZXVlEiYuZHhvcy5jbGllbnQuc2VydmljZXMuU3luY1F1ZXVlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eWIGcHJvdG8z", [file_google_protobuf_empty]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message dxos.client.services.QueueQuery.
|
|
12
12
|
* Use `create(QueueQuerySchema)` to create a new message.
|
|
@@ -32,6 +32,11 @@ export const InsertIntoQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_
|
|
|
32
32
|
* Use `create(DeleteFromQueueRequestSchema)` to create a new message.
|
|
33
33
|
*/
|
|
34
34
|
export const DeleteFromQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 4);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message dxos.client.services.SyncQueueRequest.
|
|
37
|
+
* Use `create(SyncQueueRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const SyncQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 5);
|
|
35
40
|
/**
|
|
36
41
|
* @generated from service dxos.client.services.QueueService
|
|
37
42
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue_pb.js","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/queue_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,6FAA6F;AAC7F,oBAAoB;AAGpB,O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B,aAAa,CAChB,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ import type { TimeframeVector } from "../echo/timeframe_pb.js";
|
|
|
8
8
|
import type { PeerSchema, SwarmResponseSchema } from "../edge/messenger_pb.js";
|
|
9
9
|
import type { JoinRequestSchema, LeaveRequestSchema, MessageSchema, QueryRequestSchema } from "../edge/signal_pb.js";
|
|
10
10
|
import type { Error } from "../error_pb.js";
|
|
11
|
-
import type { Credential, CredentialSchema, DeviceProfileDocument, DeviceProfileDocumentSchema, Presentation, PresentationSchema, ProfileDocument, ProfileDocumentSchema, SpaceMember_Role } from "../halo/credentials_pb.js";
|
|
11
|
+
import type { Credential, CredentialSchema, DeviceProfileDocument, DeviceProfileDocumentSchema, MembershipPolicy, Presentation, PresentationSchema, ProfileDocument, ProfileDocumentSchema, SpaceMember_Role } from "../halo/credentials_pb.js";
|
|
12
12
|
import type { PublicKey } from "../keys_pb.js";
|
|
13
13
|
import type { SignalState } from "../mesh/signal_pb.js";
|
|
14
14
|
import type { PeerState } from "../mesh/presence_pb.js";
|
|
@@ -590,6 +590,14 @@ export type Space = Message<"dxos.client.services.Space"> & {
|
|
|
590
590
|
* @generated from field: optional dxos.echo.metadata.EdgeReplicationSetting edge_replication = 6;
|
|
591
591
|
*/
|
|
592
592
|
edgeReplication?: EdgeReplicationSetting;
|
|
593
|
+
/**
|
|
594
|
+
* @generated from field: repeated string tags = 7;
|
|
595
|
+
*/
|
|
596
|
+
tags: string[];
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: dxos.halo.credentials.MembershipPolicy membership_policy = 8;
|
|
599
|
+
*/
|
|
600
|
+
membershipPolicy: MembershipPolicy;
|
|
593
601
|
/**
|
|
594
602
|
* @generated from field: repeated dxos.client.services.SpaceMember members = 10;
|
|
595
603
|
*/
|
|
@@ -750,6 +758,24 @@ export type Space_PipelineState = Message<"dxos.client.services.Space.PipelineSt
|
|
|
750
758
|
* Use `create(Space_PipelineStateSchema)` to create a new message.
|
|
751
759
|
*/
|
|
752
760
|
export declare const Space_PipelineStateSchema: GenMessage<Space_PipelineState>;
|
|
761
|
+
/**
|
|
762
|
+
* @generated from message dxos.client.services.CreateSpaceRequest
|
|
763
|
+
*/
|
|
764
|
+
export type CreateSpaceRequest = Message<"dxos.client.services.CreateSpaceRequest"> & {
|
|
765
|
+
/**
|
|
766
|
+
* @generated from field: repeated string tags = 1;
|
|
767
|
+
*/
|
|
768
|
+
tags: string[];
|
|
769
|
+
/**
|
|
770
|
+
* @generated from field: dxos.halo.credentials.MembershipPolicy membership_policy = 2;
|
|
771
|
+
*/
|
|
772
|
+
membershipPolicy: MembershipPolicy;
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* Describes the message dxos.client.services.CreateSpaceRequest.
|
|
776
|
+
* Use `create(CreateSpaceRequestSchema)` to create a new message.
|
|
777
|
+
*/
|
|
778
|
+
export declare const CreateSpaceRequestSchema: GenMessage<CreateSpaceRequest>;
|
|
753
779
|
/**
|
|
754
780
|
* @generated from message dxos.client.services.UpdateSpaceRequest
|
|
755
781
|
*/
|
|
@@ -1051,12 +1077,37 @@ export type SpaceArchive = Message<"dxos.client.services.SpaceArchive"> & {
|
|
|
1051
1077
|
* @generated from field: bytes contents = 2;
|
|
1052
1078
|
*/
|
|
1053
1079
|
contents: Uint8Array;
|
|
1080
|
+
/**
|
|
1081
|
+
* @generated from field: optional dxos.client.services.SpaceArchive.Format format = 3;
|
|
1082
|
+
*/
|
|
1083
|
+
format?: SpaceArchive_Format;
|
|
1054
1084
|
};
|
|
1055
1085
|
/**
|
|
1056
1086
|
* Describes the message dxos.client.services.SpaceArchive.
|
|
1057
1087
|
* Use `create(SpaceArchiveSchema)` to create a new message.
|
|
1058
1088
|
*/
|
|
1059
1089
|
export declare const SpaceArchiveSchema: GenMessage<SpaceArchive>;
|
|
1090
|
+
/**
|
|
1091
|
+
* @generated from enum dxos.client.services.SpaceArchive.Format
|
|
1092
|
+
*/
|
|
1093
|
+
export declare enum SpaceArchive_Format {
|
|
1094
|
+
/**
|
|
1095
|
+
* Tar-based binary archive (default).
|
|
1096
|
+
*
|
|
1097
|
+
* @generated from enum value: BINARY = 0;
|
|
1098
|
+
*/
|
|
1099
|
+
BINARY = 0,
|
|
1100
|
+
/**
|
|
1101
|
+
* JSON encoding of {@link dxos.echo.db.SerializedSpace}.
|
|
1102
|
+
*
|
|
1103
|
+
* @generated from enum value: JSON = 1;
|
|
1104
|
+
*/
|
|
1105
|
+
JSON = 1
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* Describes the enum dxos.client.services.SpaceArchive.Format.
|
|
1109
|
+
*/
|
|
1110
|
+
export declare const SpaceArchive_FormatSchema: GenEnum<SpaceArchive_Format>;
|
|
1060
1111
|
/**
|
|
1061
1112
|
* @generated from message dxos.client.services.ExportSpaceRequest
|
|
1062
1113
|
*/
|
|
@@ -1065,6 +1116,12 @@ export type ExportSpaceRequest = Message<"dxos.client.services.ExportSpaceReques
|
|
|
1065
1116
|
* @generated from field: string space_id = 1;
|
|
1066
1117
|
*/
|
|
1067
1118
|
spaceId: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Archive format to produce. Defaults to BINARY.
|
|
1121
|
+
*
|
|
1122
|
+
* @generated from field: optional dxos.client.services.SpaceArchive.Format format = 2;
|
|
1123
|
+
*/
|
|
1124
|
+
format?: SpaceArchive_Format;
|
|
1068
1125
|
};
|
|
1069
1126
|
/**
|
|
1070
1127
|
* Describes the message dxos.client.services.ExportSpaceRequest.
|
|
@@ -1093,6 +1150,12 @@ export type ImportSpaceRequest = Message<"dxos.client.services.ImportSpaceReques
|
|
|
1093
1150
|
* @generated from field: dxos.client.services.SpaceArchive archive = 1;
|
|
1094
1151
|
*/
|
|
1095
1152
|
archive?: SpaceArchive;
|
|
1153
|
+
/**
|
|
1154
|
+
* / Immutable tags to set on the imported space at creation time.
|
|
1155
|
+
*
|
|
1156
|
+
* @generated from field: repeated string tags = 2;
|
|
1157
|
+
*/
|
|
1158
|
+
tags: string[];
|
|
1096
1159
|
};
|
|
1097
1160
|
/**
|
|
1098
1161
|
* Describes the message dxos.client.services.ImportSpaceRequest.
|
|
@@ -1706,7 +1769,7 @@ export declare const SpacesService: GenService<{
|
|
|
1706
1769
|
*/
|
|
1707
1770
|
createSpace: {
|
|
1708
1771
|
methodKind: "unary";
|
|
1709
|
-
input: typeof
|
|
1772
|
+
input: typeof CreateSpaceRequestSchema;
|
|
1710
1773
|
output: typeof SpaceSchema;
|
|
1711
1774
|
};
|
|
1712
1775
|
/**
|