@dxos/protocols 0.8.4-staging.ac66bdf99f → 0.9.0
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 +5 -5
- package/dist/src/FeedProtocol.d.ts.map +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/automerge.d.ts +203 -13
- package/dist/src/automerge.d.ts.map +1 -1
- package/dist/src/automerge.js +17 -0
- package/dist/src/automerge.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +16 -4
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +17 -5
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +74 -0
- 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 +16 -1
- 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 +14 -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 +1 -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 +6 -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 +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +70 -0
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +16 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_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/halo/credentials_pb.d.ts +26 -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 +26 -21
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts +11 -4
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +12 -5
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js.map +1 -1
- package/dist/src/codec.test.js +1 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts +27 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -1
- package/dist/src/edge/edge.d.ts +190 -3
- package/dist/src/edge/edge.d.ts.map +1 -1
- package/dist/src/edge/edge.js +107 -2
- package/dist/src/edge/edge.js.map +1 -1
- package/dist/src/edge/edge.test.d.ts +2 -0
- package/dist/src/edge/edge.test.d.ts.map +1 -0
- package/dist/src/edge/edge.test.js +50 -0
- package/dist/src/edge/edge.test.js.map +1 -0
- 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.js +4 -4
- package/dist/src/edge/registry.d.ts +103 -18
- package/dist/src/edge/registry.d.ts.map +1 -1
- package/dist/src/edge/registry.js +72 -12
- package/dist/src/edge/registry.js.map +1 -1
- 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/invitation.js +3 -3
- package/dist/src/invitation.js.map +1 -1
- package/dist/src/profile-archive.d.ts +14 -1
- package/dist/src/profile-archive.d.ts.map +1 -1
- package/dist/src/profile-archive.js +2 -0
- package/dist/src/profile-archive.js.map +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 +242 -271
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +4 -2
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +58 -102
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +78 -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 +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 +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 +34 -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 +16 -28
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.js +3 -2
- 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 -8
- 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 +7 -14
- 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 -20
- 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 +7 -0
- 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 +12 -31
- package/src/FeedProtocol.ts +3 -0
- package/src/FunctionProtocol.ts +9 -0
- package/src/TraceProtocol.ts +21 -0
- package/src/automerge.ts +239 -13
- package/src/buf/proto/gen/dxos/client/invitation_pb.ts +19 -5
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +88 -1
- package/src/buf/proto/gen/dxos/client/services_pb.ts +16 -1
- package/src/buf/proto/gen/dxos/config_pb.ts +8 -1
- package/src/buf/proto/gen/dxos/devtools/host_pb.ts +82 -1
- 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/halo/credentials_pb.ts +52 -21
- package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +13 -5
- package/src/edge/EdgeFunctionEnv.ts +40 -3
- package/src/edge/edge.test.ts +64 -0
- package/src/edge/edge.ts +219 -5
- package/src/edge/registry.ts +82 -14
- package/src/index.ts +1 -1
- package/src/invitation.ts +3 -3
- package/src/profile-archive.ts +13 -0
- package/src/proto/dxos/client/invitation.proto +9 -2
- package/src/proto/dxos/client/queue.proto +21 -0
- package/src/proto/dxos/client/services.proto +4 -0
- package/src/proto/dxos/config.proto +2 -0
- package/src/proto/dxos/devtools/host.proto +27 -0
- package/src/proto/dxos/echo/metadata.proto +3 -0
- package/src/proto/dxos/echo/service.proto +14 -1
- package/src/proto/dxos/halo/credentials.proto +9 -0
- package/src/proto/dxos/halo/invitations.proto +5 -2
- 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 +242 -271
- package/src/proto/gen/dxos/config.ts +58 -102
- package/src/proto/gen/dxos/devtools/host.ts +78 -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 +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 +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 +34 -44
- package/src/proto/gen/dxos/halo/invitations.ts +16 -28
- 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 -8
- 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 +7 -14
- 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 -20
- 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 +8 -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.
|
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
1
|
+
export { type QueueService, type QueueQuery, type QueueQueryResult as QueryResult, type QueryQueueRequest, type InsertIntoQueueRequest, type DeleteFromQueueRequest, type SyncQueueRequest, type GetSyncStateRequest, type GetSyncStateResponse, type QueueNamespaceSyncState, } from './proto/gen/dxos/client/services.js';
|
|
2
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';
|
|
@@ -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,EAC3B,KAAK,gBAAgB,
|
|
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,EAC3B,KAAK,gBAAgB,EACrB,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;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"}
|
|
@@ -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;AAeF,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAEhE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;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oB,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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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"}
|
package/dist/src/automerge.d.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opaque identifier of a peer participating in automerge-repo sync.
|
|
3
|
+
*
|
|
4
|
+
* Branded `string` so it cannot be accidentally confused with arbitrary
|
|
5
|
+
* strings. Matches the `PeerId` type exported by `@automerge/automerge-repo`.
|
|
6
|
+
*/
|
|
1
7
|
export type PeerId = string & {
|
|
2
8
|
__peerId: true;
|
|
3
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* Sent by a peer when joining a connection.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Upstream automerge-repo: first frame after `peer-candidate` to negotiate
|
|
15
|
+
* supported protocol versions. The other side responds with a
|
|
16
|
+
* {@link PeerProtocolMessage} containing the selected version.
|
|
17
|
+
*/
|
|
4
18
|
export type JoinProtocolMessage = {
|
|
5
19
|
type: 'join';
|
|
6
20
|
targetId?: PeerId;
|
|
@@ -8,12 +22,26 @@ export type JoinProtocolMessage = {
|
|
|
8
22
|
supportedProtocolVersions: string;
|
|
9
23
|
metadata?: Record<string, unknown>;
|
|
10
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Sent by a peer when leaving a connection.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* Upstream automerge-repo: signals graceful disconnect so the remote tears
|
|
30
|
+
* down its sync state for this peer before the underlying transport closes.
|
|
31
|
+
*/
|
|
11
32
|
export type LeaveProtocolMessage = {
|
|
12
33
|
type: 'leave';
|
|
13
34
|
targetId?: PeerId;
|
|
14
35
|
senderId: PeerId;
|
|
15
36
|
metadata?: Record<string, unknown>;
|
|
16
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* Sent in response to a {@link JoinProtocolMessage} confirming the handshake
|
|
40
|
+
* and the selected protocol version.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Upstream automerge-repo: completes the version negotiation handshake.
|
|
44
|
+
*/
|
|
17
45
|
export type PeerProtocolMessage = {
|
|
18
46
|
type: 'peer';
|
|
19
47
|
senderId: PeerId;
|
|
@@ -25,8 +53,10 @@ export type PeerProtocolMessage = {
|
|
|
25
53
|
* Sent by a {@link Repo} to request a document from a peer.
|
|
26
54
|
*
|
|
27
55
|
* @remarks
|
|
28
|
-
*
|
|
29
|
-
*
|
|
56
|
+
* Upstream automerge-repo: identical wire shape to {@link SyncProtocolMessage}
|
|
57
|
+
* except this is the initial sync message used when asking the other peer if
|
|
58
|
+
* it has the document. The peer replies with sync messages or
|
|
59
|
+
* {@link UnavailableProtocolMessage}.
|
|
30
60
|
*/
|
|
31
61
|
export type RequestProtocolMessage = {
|
|
32
62
|
type: 'request';
|
|
@@ -37,7 +67,12 @@ export type RequestProtocolMessage = {
|
|
|
37
67
|
metadata?: Record<string, unknown>;
|
|
38
68
|
};
|
|
39
69
|
/**
|
|
40
|
-
*
|
|
70
|
+
* Automerge sync message for a particular document.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Upstream automerge-repo: carries the binary delta produced by Automerge's
|
|
74
|
+
* sync algorithm (`Automerge.generateSyncMessage`). Symmetric: peers exchange
|
|
75
|
+
* sync messages until both sides have converged.
|
|
41
76
|
*/
|
|
42
77
|
export type SyncProtocolMessage = {
|
|
43
78
|
type: 'sync';
|
|
@@ -48,8 +83,12 @@ export type SyncProtocolMessage = {
|
|
|
48
83
|
metadata?: Record<string, unknown>;
|
|
49
84
|
};
|
|
50
85
|
/**
|
|
51
|
-
* Sent by a {@link Repo} to indicate that it does not have the document and
|
|
52
|
-
* peers do either.
|
|
86
|
+
* Sent by a {@link Repo} to indicate that it does not have the document and
|
|
87
|
+
* none of its connected peers do either.
|
|
88
|
+
*
|
|
89
|
+
* @remarks
|
|
90
|
+
* Upstream automerge-repo: terminates a {@link RequestProtocolMessage} fan-out
|
|
91
|
+
* when no peer in the cluster can serve the document.
|
|
53
92
|
*/
|
|
54
93
|
export type UnavailableProtocolMessage = {
|
|
55
94
|
type: 'doc-unavailable';
|
|
@@ -59,16 +98,17 @@ export type UnavailableProtocolMessage = {
|
|
|
59
98
|
metadata?: Record<string, unknown>;
|
|
60
99
|
};
|
|
61
100
|
/**
|
|
62
|
-
* An ephemeral message.
|
|
101
|
+
* An ephemeral message gossiped between peers.
|
|
63
102
|
*
|
|
64
103
|
* @remarks
|
|
65
|
-
*
|
|
66
|
-
* as needed. The repo
|
|
104
|
+
* Upstream automerge-repo: ephemeral messages are not persisted anywhere.
|
|
105
|
+
* The `data` property can be used by the application as needed. The repo
|
|
106
|
+
* gossips these around.
|
|
67
107
|
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
|
|
108
|
+
* To avoid infinite loops, every message carries (a) a `sessionId` randomly
|
|
109
|
+
* generated by the sender at startup time and (b) a sequence number
|
|
110
|
+
* (`count`). The pair lets receivers discard messages they have already seen.
|
|
111
|
+
*/
|
|
72
112
|
export type EphemeralProtocolMessage = {
|
|
73
113
|
type: 'ephemeral';
|
|
74
114
|
senderId: PeerId;
|
|
@@ -79,14 +119,96 @@ export type EphemeralProtocolMessage = {
|
|
|
79
119
|
data: Uint8Array;
|
|
80
120
|
metadata?: Record<string, unknown>;
|
|
81
121
|
};
|
|
122
|
+
/** Wire literal for {@link ErrorProtocolMessage}. */
|
|
123
|
+
export declare const MESSAGE_TYPE_ERROR = "error";
|
|
124
|
+
/**
|
|
125
|
+
* Out-of-band error reported by a peer.
|
|
126
|
+
*
|
|
127
|
+
* @remarks
|
|
128
|
+
* Upstream automerge-repo: surfaces protocol-level failures (e.g. version
|
|
129
|
+
* mismatch, malformed frame). `senderId` and `targetId` are optional so the
|
|
130
|
+
* frame can be emitted before the handshake completes.
|
|
131
|
+
*
|
|
132
|
+
* The `connectionId` field is a DXOS extension carried on the subduction
|
|
133
|
+
* channel only. Edge → client errors with `connectionId` are restart signals
|
|
134
|
+
* for a specific {@link EdgeSubductionReplicatorConnection} lifetime; the
|
|
135
|
+
* client matches it against its local `_connectionId` and tears down only
|
|
136
|
+
* that connection. The field is optional so the same type can carry
|
|
137
|
+
* upstream-style classical-channel errors that have no connection identity.
|
|
138
|
+
*/
|
|
82
139
|
export type ErrorProtocolMessage = {
|
|
83
|
-
type:
|
|
140
|
+
type: typeof MESSAGE_TYPE_ERROR;
|
|
84
141
|
senderId?: PeerId;
|
|
85
142
|
targetId?: PeerId;
|
|
86
143
|
message: string;
|
|
144
|
+
connectionId?: string;
|
|
87
145
|
metadata?: Record<string, unknown>;
|
|
88
146
|
};
|
|
147
|
+
/** Wire literal for {@link SubductionConnectionMessage}. */
|
|
148
|
+
export declare const MESSAGE_TYPE_SUBDUCTION_CONNECTION = "subduction-connection";
|
|
149
|
+
/** Wire literal for {@link SubductionFrameEnvelope}. */
|
|
150
|
+
export declare const MESSAGE_TYPE_SUBDUCTION_FRAME = "subduction-frame";
|
|
151
|
+
/**
|
|
152
|
+
* Inner subduction transport frame emitted by automerge-repo's
|
|
153
|
+
* `NetworkAdapterTransport.#sendFrame`.
|
|
154
|
+
*
|
|
155
|
+
* @remarks
|
|
156
|
+
* Owned by upstream `@automerge/automerge-subduction`: `data` is an opaque
|
|
157
|
+
* byte blob (handshake bytes prefixed with `SUH\0`, or post-handshake
|
|
158
|
+
* sedimentree messages prefixed with `SUM\0`); DXOS code MUST NOT inspect
|
|
159
|
+
* `data`.
|
|
160
|
+
*
|
|
161
|
+
* The literal value `'subduction-connection'` matches the
|
|
162
|
+
* `SUBDUCTION_MESSAGE_TYPE` constant in
|
|
163
|
+
* `@automerge/automerge-repo/src/subduction/network.ts`. Do not redefine the
|
|
164
|
+
* value; if upstream renames it, update {@link MESSAGE_TYPE_SUBDUCTION_CONNECTION}.
|
|
165
|
+
*
|
|
166
|
+
* On the Edge subduction channel this frame never appears top-level — it is
|
|
167
|
+
* always wrapped in a {@link SubductionFrameEnvelope}. In-memory subduction
|
|
168
|
+
* adapters carry it directly.
|
|
169
|
+
*/
|
|
170
|
+
export type SubductionConnectionMessage = {
|
|
171
|
+
type: typeof MESSAGE_TYPE_SUBDUCTION_CONNECTION;
|
|
172
|
+
senderId: PeerId;
|
|
173
|
+
targetId: PeerId;
|
|
174
|
+
data: Uint8Array;
|
|
175
|
+
metadata?: Record<string, unknown>;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* DXOS-specific wire envelope around a {@link SubductionConnectionMessage}.
|
|
179
|
+
*
|
|
180
|
+
* @remarks
|
|
181
|
+
* Specific to the DXOS edge subduction channel; not used by upstream
|
|
182
|
+
* automerge-repo or in-memory subduction adapters.
|
|
183
|
+
*
|
|
184
|
+
* Carries the originator's `connectionId` (the value of
|
|
185
|
+
* `EdgeSubductionReplicatorConnection._connectionId` on the client, and of
|
|
186
|
+
* the matching `ClientSession` on the edge). The edge uses `connectionId` as
|
|
187
|
+
* the session key and echoes it back on every outbound reply.
|
|
188
|
+
*
|
|
189
|
+
* Frames whose `connectionId` does not match the local connection's UUID are
|
|
190
|
+
* stale (e.g. left over from a previous lifetime after
|
|
191
|
+
* `_onRestartRequested` rotated the UUID) and MUST be dropped on receipt.
|
|
192
|
+
*/
|
|
193
|
+
export type SubductionFrameEnvelope = {
|
|
194
|
+
type: typeof MESSAGE_TYPE_SUBDUCTION_FRAME;
|
|
195
|
+
connectionId: string;
|
|
196
|
+
subductionFrame: SubductionConnectionMessage;
|
|
197
|
+
};
|
|
198
|
+
/** Wire literal for {@link CollectionQueryMessage}. */
|
|
89
199
|
export declare const MESSAGE_TYPE_COLLECTION_QUERY = "collection-query";
|
|
200
|
+
/**
|
|
201
|
+
* Request the remote peer's view of a collection.
|
|
202
|
+
*
|
|
203
|
+
* @remarks
|
|
204
|
+
* DXOS-specific. Sent by `CollectionSynchronizer` to ask a peer for the set
|
|
205
|
+
* of document heads it has for a given `collectionId`. The peer replies with
|
|
206
|
+
* a {@link CollectionStateMessage}.
|
|
207
|
+
*
|
|
208
|
+
* If the requester already has a `stateTag` from a previous reply, the peer
|
|
209
|
+
* MAY skip sending the state when its current tag matches (no change since
|
|
210
|
+
* the last query).
|
|
211
|
+
*/
|
|
90
212
|
export type CollectionQueryMessage = {
|
|
91
213
|
type: typeof MESSAGE_TYPE_COLLECTION_QUERY;
|
|
92
214
|
senderId: PeerId;
|
|
@@ -99,7 +221,21 @@ export type CollectionQueryMessage = {
|
|
|
99
221
|
stateTag?: string;
|
|
100
222
|
metadata?: Record<string, unknown>;
|
|
101
223
|
};
|
|
224
|
+
/** Wire literal for {@link CollectionStateMessage}. */
|
|
102
225
|
export declare const MESSAGE_TYPE_COLLECTION_STATE = "collection-state";
|
|
226
|
+
/**
|
|
227
|
+
* Reply to a {@link CollectionQueryMessage} carrying the responder's view of
|
|
228
|
+
* a collection.
|
|
229
|
+
*
|
|
230
|
+
* @remarks
|
|
231
|
+
* DXOS-specific. The `state` payload shape is implementation-defined — today
|
|
232
|
+
* it is a `{ documents: Record<DocumentId, Heads[]> }` map produced by the
|
|
233
|
+
* edge from `Subduction.getAllHeads()`, but the type leaves this open for
|
|
234
|
+
* alternative encodings.
|
|
235
|
+
*
|
|
236
|
+
* `stateTag` lets the requester short-circuit future queries when nothing
|
|
237
|
+
* has changed (see {@link CollectionQueryMessage.stateTag}).
|
|
238
|
+
*/
|
|
103
239
|
export type CollectionStateMessage = {
|
|
104
240
|
type: typeof MESSAGE_TYPE_COLLECTION_STATE;
|
|
105
241
|
senderId: PeerId;
|
|
@@ -115,5 +251,59 @@ export type CollectionStateMessage = {
|
|
|
115
251
|
stateTag?: string;
|
|
116
252
|
metadata?: Record<string, unknown>;
|
|
117
253
|
};
|
|
254
|
+
/**
|
|
255
|
+
* Union of every message that flows through the **classical automerge-repo**
|
|
256
|
+
* sync channel (`EchoEdgeReplicator`, in-memory `TestAdapter`).
|
|
257
|
+
*
|
|
258
|
+
* @remarks
|
|
259
|
+
* Combines the upstream automerge-repo sync messages (join / leave / peer /
|
|
260
|
+
* request / sync / doc-unavailable / ephemeral / error) with DXOS's
|
|
261
|
+
* collection-sync extension (collection-query / collection-state).
|
|
262
|
+
*
|
|
263
|
+
* Does NOT include subduction transport frames or the reconnect marker —
|
|
264
|
+
* those live on a separate channel; see {@link SubductionProtocolMessage}.
|
|
265
|
+
*/
|
|
118
266
|
export type AutomergeProtocolMessage = JoinProtocolMessage | PeerProtocolMessage | LeaveProtocolMessage | RequestProtocolMessage | SyncProtocolMessage | UnavailableProtocolMessage | EphemeralProtocolMessage | ErrorProtocolMessage | CollectionQueryMessage | CollectionStateMessage;
|
|
267
|
+
/**
|
|
268
|
+
* Union of every message that flows through the subduction channel **in
|
|
269
|
+
* process** — i.e. between automerge-repo's `NetworkAdapterTransport` and the
|
|
270
|
+
* DXOS adapter / replicator layer, before wire encoding.
|
|
271
|
+
*
|
|
272
|
+
* @remarks
|
|
273
|
+
* Distinct from {@link AutomergeProtocolMessage}, which describes the classical
|
|
274
|
+
* automerge-repo sync protocol carried by `EchoEdgeReplicator` (mesh sync,
|
|
275
|
+
* in-memory test adapters). The subduction channel multiplexes:
|
|
276
|
+
*
|
|
277
|
+
* - opaque transport frames ({@link SubductionConnectionMessage}) produced
|
|
278
|
+
* by `@automerge/automerge-repo/subduction/network.ts`;
|
|
279
|
+
* - DXOS collection sync messages ({@link CollectionQueryMessage} /
|
|
280
|
+
* {@link CollectionStateMessage});
|
|
281
|
+
* - edge-initiated restart signals ({@link ErrorProtocolMessage} carrying
|
|
282
|
+
* the offending `connectionId`).
|
|
283
|
+
*
|
|
284
|
+
* The {@link SubductionFrameEnvelope} is intentionally NOT a member: it only
|
|
285
|
+
* exists on the wire to attach a `connectionId` to a raw
|
|
286
|
+
* {@link SubductionConnectionMessage}. See {@link SubductionProtocolMessageEnveloped}
|
|
287
|
+
* for the corresponding wire union.
|
|
288
|
+
*/
|
|
289
|
+
export type SubductionProtocolMessage = CollectionQueryMessage | CollectionStateMessage | SubductionConnectionMessage | ErrorProtocolMessage;
|
|
290
|
+
/**
|
|
291
|
+
* Union of every message that flows over the **Edge subduction byte channel
|
|
292
|
+
* wire** (`EdgeService.SUBDUCTION_REPLICATOR`), i.e. the cbor-encoded payload
|
|
293
|
+
* of a `RouterMessage` targeting the subduction service.
|
|
294
|
+
*
|
|
295
|
+
* @remarks
|
|
296
|
+
* The wire counterpart of {@link SubductionProtocolMessage} — identical except
|
|
297
|
+
* that {@link SubductionConnectionMessage} is replaced by
|
|
298
|
+
* {@link SubductionFrameEnvelope}, which wraps it together with the originator's
|
|
299
|
+
* `connectionId` so the peer can drop stale frames from previous connection
|
|
300
|
+
* lifetimes.
|
|
301
|
+
*
|
|
302
|
+
* The wrap/unwrap happens at the
|
|
303
|
+
* {@link EdgeSubductionReplicatorConnection} boundary on the client and the
|
|
304
|
+
* matching `SubductionTransport` boundary on the edge. Other code paths (the
|
|
305
|
+
* in-memory `TestAdapter` pair, in-process subduction adapter) carry
|
|
306
|
+
* {@link SubductionProtocolMessage} directly without ever building an envelope.
|
|
307
|
+
*/
|
|
308
|
+
export type SubductionProtocolMessageEnveloped = CollectionQueryMessage | CollectionStateMessage | SubductionFrameEnvelope | ErrorProtocolMessage;
|
|
119
309
|
//# sourceMappingURL=automerge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automerge.d.ts","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG;IAAE,QAAQ,EAAE,IAAI,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"automerge.d.ts","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG;IAAE,QAAQ,EAAE,IAAI,CAAA;CAAE,CAAC;AAUjD;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM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,GACpB,sBAAsB,GACtB,sBAAsB,CAAC;AAE3B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,yBAAyB,GACjC,sBAAsB,GACtB,sBAAsB,GACtB,2BAA2B,GAC3B,oBAAoB,CAAC;AAEzB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,kCAAkC,GAC1C,sBAAsB,GACtB,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,CAAC"}
|
package/dist/src/automerge.js
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2024 DXOS.org
|
|
3
3
|
//
|
|
4
|
+
/** Wire literal for {@link ErrorProtocolMessage}. */
|
|
5
|
+
export const MESSAGE_TYPE_ERROR = 'error';
|
|
6
|
+
// ─── Subduction transport / control protocol ──────────────────────────────────
|
|
7
|
+
// Frames produced and consumed by `@automerge/automerge-repo`'s subduction
|
|
8
|
+
// transport bridge (`NetworkAdapterTransport`) plus the DXOS-side envelope
|
|
9
|
+
// and reconnect marker. Carried by the Edge subduction channel
|
|
10
|
+
// (`EdgeService.SUBDUCTION_REPLICATOR`) and the in-memory subduction adapter.
|
|
11
|
+
/** Wire literal for {@link SubductionConnectionMessage}. */
|
|
12
|
+
export const MESSAGE_TYPE_SUBDUCTION_CONNECTION = 'subduction-connection';
|
|
13
|
+
/** Wire literal for {@link SubductionFrameEnvelope}. */
|
|
14
|
+
export const MESSAGE_TYPE_SUBDUCTION_FRAME = 'subduction-frame';
|
|
15
|
+
// ─── DXOS collection sync protocol ────────────────────────────────────────────
|
|
16
|
+
// DXOS extension on top of the automerge-repo Message type, used by
|
|
17
|
+
// `CollectionSynchronizer` to negotiate per-collection sync state. Carried
|
|
18
|
+
// by both the classical and subduction channels.
|
|
19
|
+
/** Wire literal for {@link CollectionQueryMessage}. */
|
|
4
20
|
export const MESSAGE_TYPE_COLLECTION_QUERY = 'collection-query';
|
|
21
|
+
/** Wire literal for {@link CollectionStateMessage}. */
|
|
5
22
|
export const MESSAGE_TYPE_COLLECTION_STATE = 'collection-state';
|
|
6
23
|
//# sourceMappingURL=automerge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;
|
|
1
|
+
{"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAyIF,qDAAqD;AACrD,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC;AA0B1C,iFAAiF;AACjF,2EAA2E;AAC3E,2EAA2E;AAC3E,+DAA+D;AAC/D,8EAA8E;AAE9E,4DAA4D;AAC5D,MAAM,CAAC,MAAM,kCAAkC,GAAG,uBAAuB,CAAC;AAE1E,wDAAwD;AACxD,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AAmDhE,iFAAiF;AACjF,oEAAoE;AACpE,2EAA2E;AAC3E,iDAAiD;AAEjD,uDAAuD;AACvD,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AA4BhE,uDAAuD;AACvD,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC"}
|
|
@@ -187,13 +187,19 @@ export declare const Invitation_TypeSchema: GenEnum<Invitation_Type>;
|
|
|
187
187
|
*/
|
|
188
188
|
export declare enum Invitation_Kind {
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* / Unset / unknown. Must not be used for new invitations.
|
|
191
|
+
*
|
|
192
|
+
* @generated from enum value: INVALID = 0;
|
|
193
|
+
*/
|
|
194
|
+
INVALID = 0,
|
|
195
|
+
/**
|
|
196
|
+
* @generated from enum value: DEVICE = 1;
|
|
191
197
|
*/
|
|
192
|
-
DEVICE =
|
|
198
|
+
DEVICE = 1,
|
|
193
199
|
/**
|
|
194
|
-
* @generated from enum value: SPACE =
|
|
200
|
+
* @generated from enum value: SPACE = 2;
|
|
195
201
|
*/
|
|
196
|
-
SPACE =
|
|
202
|
+
SPACE = 2
|
|
197
203
|
}
|
|
198
204
|
/**
|
|
199
205
|
* Describes the enum dxos.client.services.Invitation.Kind.
|
|
@@ -297,6 +303,12 @@ export declare enum SpaceState {
|
|
|
297
303
|
* @generated from enum value: SPACE_ACTIVE = 6;
|
|
298
304
|
*/
|
|
299
305
|
SPACE_ACTIVE = 6,
|
|
306
|
+
/**
|
|
307
|
+
* / Space is tombstoned (soft-deleted). Replicated to other devices; never auto-opened.
|
|
308
|
+
*
|
|
309
|
+
* @generated from enum value: SPACE_DELETED = 9;
|
|
310
|
+
*/
|
|
311
|
+
SPACE_DELETED = 9,
|
|
300
312
|
/**
|
|
301
313
|
* / Space is closed.
|
|
302
314
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitation_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/invitation_pb.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,
|
|
1
|
+
{"version":3,"file":"invitation_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/invitation_pb.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,K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