@dxos/protocols 0.8.4-main.dedc0f3 → 0.8.4-main.dfabb4ec29
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/README.md +1 -1
- package/dist/src/FeedProtocol.d.ts +528 -0
- package/dist/src/FeedProtocol.d.ts.map +1 -0
- package/dist/src/FeedProtocol.js +237 -0
- package/dist/src/FeedProtocol.js.map +1 -0
- package/dist/src/FunctionProtocol.d.ts +89 -0
- package/dist/src/FunctionProtocol.d.ts.map +1 -0
- package/dist/src/FunctionProtocol.js +4 -0
- package/dist/src/FunctionProtocol.js.map +1 -0
- 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 +8 -0
- package/dist/src/automerge.d.ts.map +1 -1
- package/dist/src/automerge.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/functions_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/functions_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/bot_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/bot_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/logging_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/client/logging_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +237 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +44 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -0
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +129 -22
- 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 +90 -54
- 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 +113 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js +73 -2
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/blob_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/blob_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/feed_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/feed_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/filter_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/filter_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +7 -1
- 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 +2 -2
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/object_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/object_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +13 -3
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +56 -10
- 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 +16 -6
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/calls_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +29 -1
- 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 +11 -6
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/signal_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/signal_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/error_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/error_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/field_options_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/field_options_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/google_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/gravity_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/gravity_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +40 -1
- 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 +28 -3
- 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 +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keys_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keys_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/signed_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/signed_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +2 -11
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/keys_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/keys_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/registry_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/registry_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +25 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js +13 -8
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/publisher_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/publisher_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.js +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 +11 -45
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/type_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/type_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/value_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/value_pb.js +1 -1
- package/dist/src/buf/proto/gen/example/testing/data_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/example/testing/data_pb.js +1 -1
- package/dist/src/buf/proto/gen/example/testing/rpc_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/example/testing/rpc_pb.js +1 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts +128 -0
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -0
- package/dist/src/edge/EdgeFunctionEnv.js +4 -0
- package/dist/src/edge/EdgeFunctionEnv.js.map +1 -0
- package/dist/src/edge/edge.d.ts +518 -0
- package/dist/src/edge/edge.d.ts.map +1 -0
- package/dist/src/edge/edge.js +180 -0
- package/dist/src/edge/edge.js.map +1 -0
- package/dist/src/edge/errors.d.ts +29 -0
- package/dist/src/edge/errors.d.ts.map +1 -0
- package/dist/src/edge/errors.js +69 -0
- package/dist/src/edge/errors.js.map +1 -0
- package/dist/src/edge/index.d.ts +5 -0
- package/dist/src/edge/index.d.ts.map +1 -0
- package/dist/src/edge/index.js +8 -0
- package/dist/src/edge/index.js.map +1 -0
- 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 +86 -8
- package/dist/src/errors/base-errors.d.ts.map +1 -1
- package/dist/src/errors/base-errors.js +4 -20
- package/dist/src/errors/base-errors.js.map +1 -1
- package/dist/src/errors/encoding.d.ts +2 -2
- package/dist/src/errors/encoding.d.ts.map +1 -1
- package/dist/src/errors/encoding.js.map +1 -1
- package/dist/src/errors/errors.d.ts +619 -42
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js +49 -103
- package/dist/src/errors/errors.js.map +1 -1
- package/dist/src/errors/errors.test.js +1 -1
- package/dist/src/errors/errors.test.js.map +1 -1
- package/dist/src/errors/helpers.d.ts +9 -5
- package/dist/src/errors/helpers.d.ts.map +1 -1
- package/dist/src/errors/helpers.js +3 -3
- package/dist/src/errors/helpers.js.map +1 -1
- package/dist/src/errors/index.d.ts +5 -5
- package/dist/src/errors/parameter.d.ts.map +1 -1
- package/dist/src/feed-replication.d.ts.map +1 -1
- package/dist/src/index.d.ts +12 -12
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +7 -7
- package/dist/src/index.js.map +1 -1
- package/dist/src/indexing.d.ts +1 -1
- package/dist/src/indexing.d.ts.map +1 -1
- package/dist/src/indexing.js +1 -1
- package/dist/src/indexing.js.map +1 -1
- package/dist/src/invitation.d.ts +1 -1
- package/dist/src/invitation.d.ts.map +1 -1
- package/dist/src/invitation.js +1 -1
- package/dist/src/invitation.js.map +1 -1
- package/dist/src/messenger.d.ts +16 -0
- package/dist/src/messenger.d.ts.map +1 -0
- package/dist/src/messenger.js +4 -0
- package/dist/src/messenger.js.map +1 -0
- 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 +1022 -905
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +116 -100
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +115 -100
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +26 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +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 +21 -9
- 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 +47 -38
- 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 +308 -22
- 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 +41 -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.d.ts +2 -2
- package/dist/src/proto/substitutions.d.ts +8 -8
- package/dist/src/proto/substitutions.d.ts.map +1 -1
- package/dist/src/proto/types.d.ts +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/src/types.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -37
- package/src/FeedProtocol.ts +320 -0
- package/src/FunctionProtocol.ts +111 -0
- package/src/TraceProtocol.ts +21 -0
- package/src/automerge.ts +8 -0
- package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/functions_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/bot_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/invitation_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/logging_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +286 -0
- package/src/buf/proto/gen/dxos/client/services_pb.ts +191 -62
- package/src/buf/proto/gen/dxos/config_pb.ts +134 -4
- package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/devtools/host_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/blob_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/feed_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/filter_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +11 -4
- package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/object_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/query_pb.ts +18 -6
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +70 -18
- package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +41 -8
- package/src/buf/proto/gen/dxos/edge/signal_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/error_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/field_options_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/google_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/gravity_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +51 -5
- package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/keys_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/signed_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/iframe_pb.ts +5 -16
- package/src/buf/proto/gen/dxos/keys_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/registry_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/rpc_pb.ts +39 -10
- package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/publisher_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/tracing_pb.ts +12 -179
- package/src/buf/proto/gen/dxos/type_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/value_pb.ts +3 -3
- package/src/buf/proto/gen/example/testing/data_pb.ts +3 -3
- package/src/buf/proto/gen/example/testing/rpc_pb.ts +3 -3
- package/src/codec.test.ts +1 -1
- package/src/edge/EdgeFunctionEnv.ts +222 -0
- package/src/edge/edge.ts +611 -0
- package/src/edge/errors.ts +85 -0
- package/src/edge/index.ts +8 -0
- package/src/edge/registry.ts +164 -0
- package/src/errors/base-errors.ts +4 -21
- package/src/errors/encoding.ts +2 -3
- package/src/errors/errors.test.ts +2 -2
- package/src/errors/errors.ts +57 -124
- package/src/errors/helpers.ts +6 -7
- package/src/errors/index.ts +5 -5
- package/src/feed-replication.ts +1 -0
- package/src/index.ts +12 -12
- package/src/indexing.test.ts +1 -1
- package/src/indexing.ts +1 -1
- package/src/invitation.ts +1 -1
- package/src/messenger.ts +22 -0
- package/src/proto/dxos/client/queue.proto +81 -0
- package/src/proto/dxos/client/services.proto +39 -4
- package/src/proto/dxos/config.proto +50 -1
- package/src/proto/dxos/echo/metadata.proto +3 -0
- package/src/proto/dxos/echo/query.proto +4 -1
- package/src/proto/dxos/echo/service.proto +27 -6
- package/src/proto/dxos/edge/messenger.proto +10 -0
- package/src/proto/dxos/halo/credentials.proto +15 -0
- package/src/proto/dxos/iframe.proto +1 -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 +1022 -905
- package/src/proto/gen/dxos/config.ts +115 -100
- 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 +21 -9
- package/src/proto/gen/dxos/echo/service.ts +46 -38
- 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 +308 -22
- package/src/proto/gen/index.ts +42 -8
- package/src/proto/index.ts +2 -2
- package/src/proto/types.ts +1 -1
- package/src/space-archive.ts +70 -1
- package/src/types.ts +2 -2
- package/dist/src/edge-error.d.ts +0 -26
- package/dist/src/edge-error.d.ts.map +0 -1
- package/dist/src/edge-error.js +0 -100
- package/dist/src/edge-error.js.map +0 -1
- package/dist/src/edge.d.ts +0 -246
- package/dist/src/edge.d.ts.map +0 -1
- package/dist/src/edge.js +0 -49
- package/dist/src/edge.js.map +0 -1
- package/dist/src/query.d.ts +0 -5
- package/dist/src/query.d.ts.map +0 -1
- package/dist/src/query.js +0 -8
- package/dist/src/query.js.map +0 -1
- package/dist/src/queue.d.ts +0 -28
- package/dist/src/queue.d.ts.map +0 -1
- package/dist/src/queue.js +0 -8
- package/dist/src/queue.js.map +0 -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/edge-error.ts +0 -130
- package/src/edge.ts +0 -279
- package/src/query.ts +0 -8
- package/src/queue.ts +0 -38
- package/src/tracing.ts +0 -86
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { SpaceId } from '@dxos/keys';
|
|
3
|
+
/**
|
|
4
|
+
* HTTP header sent on every Edge request to classify traffic for metering.
|
|
5
|
+
*/
|
|
6
|
+
export declare const EDGE_CLIENT_TAG_HEADER = "X-DXOS-Client-Tag";
|
|
7
|
+
export declare enum EdgeService {
|
|
8
|
+
AUTOMERGE_REPLICATOR = "automerge-replicator",
|
|
9
|
+
SUBDUCTION_REPLICATOR = "subduction-replicator",
|
|
10
|
+
/**
|
|
11
|
+
* Control feed replicator (hypercore append only logs) for the space.
|
|
12
|
+
*/
|
|
13
|
+
FEED_REPLICATOR = "feed-replicator",
|
|
14
|
+
/**
|
|
15
|
+
* Feed replicator (ordered data list) for the space.
|
|
16
|
+
*/
|
|
17
|
+
QUEUE_REPLICATOR = "queue-replicator",
|
|
18
|
+
SWARM = "swarm",
|
|
19
|
+
SIGNAL = "signal",
|
|
20
|
+
STATUS = "status"
|
|
21
|
+
}
|
|
22
|
+
export type EdgeSuccess<T> = {
|
|
23
|
+
success: true;
|
|
24
|
+
data: T;
|
|
25
|
+
};
|
|
26
|
+
declare const _SerializedError: Schema.Struct<{
|
|
27
|
+
name: Schema.optional<typeof Schema.String>;
|
|
28
|
+
message: Schema.optional<typeof Schema.String>;
|
|
29
|
+
context: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
30
|
+
stack: Schema.optional<typeof Schema.String>;
|
|
31
|
+
cause: Schema.optional<Schema.suspend<SerializedError, SerializedError, never>>;
|
|
32
|
+
}>;
|
|
33
|
+
export interface SerializedError extends Schema.Schema.Type<typeof _SerializedError> {
|
|
34
|
+
}
|
|
35
|
+
export declare const SerializedError: Schema.Schema<SerializedError, SerializedError, never>;
|
|
36
|
+
export type EdgeErrorData = {
|
|
37
|
+
type: string;
|
|
38
|
+
} & Record<string, any>;
|
|
39
|
+
/**
|
|
40
|
+
* This is the shape of the error response from the Edge service,
|
|
41
|
+
* when the error is gracefully handled, the Response will be an object with this shape and have status code 200.
|
|
42
|
+
*/
|
|
43
|
+
export type EdgeFailure = {
|
|
44
|
+
/**
|
|
45
|
+
* Branded Type.
|
|
46
|
+
*/
|
|
47
|
+
success: false;
|
|
48
|
+
/**
|
|
49
|
+
* An explanation of why the call failed. Used mostly for logging and monitoring.
|
|
50
|
+
*/
|
|
51
|
+
message: string;
|
|
52
|
+
/**
|
|
53
|
+
* Cause Error captured on the EDGE service to aid debugging on the client.
|
|
54
|
+
*/
|
|
55
|
+
error?: SerializedError;
|
|
56
|
+
/**
|
|
57
|
+
* Information that can be used to retry the request such that it will succeed, for example:
|
|
58
|
+
* 1. { type: 'auth_required', challenge: string }
|
|
59
|
+
* Requires retrying the request with challenge signature included.
|
|
60
|
+
* 2. { type: 'user_confirmation_required', dialog: { title: string, message: string, confirmation_payload: string } }
|
|
61
|
+
* Requires showing a confirmation dialog to a user and retrying the request with confirmation_payload included
|
|
62
|
+
* if the user confirms.
|
|
63
|
+
* When data is returned simply retrying the request won't have any effect.
|
|
64
|
+
* EdgeHttpClient should parse well-known data into Error types and throw.
|
|
65
|
+
*/
|
|
66
|
+
data?: EdgeErrorData;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Represents a body response from the Edge service.
|
|
70
|
+
*/
|
|
71
|
+
export type EdgeEnvelope<T> = EdgeSuccess<T> | EdgeFailure;
|
|
72
|
+
/**
|
|
73
|
+
* Use this to create a response from the Edge service.
|
|
74
|
+
*/
|
|
75
|
+
export declare const EdgeResponse: Readonly<{
|
|
76
|
+
success: <T>(data: T, status?: number) => Response;
|
|
77
|
+
failure: ({ message, error, errorEncoded, data, shouldRetryAfter, status, }: {
|
|
78
|
+
/**
|
|
79
|
+
* An explanation of why the call failed. Used mostly for logging and monitoring.
|
|
80
|
+
*/
|
|
81
|
+
message: string;
|
|
82
|
+
/**
|
|
83
|
+
* Error that caused the failure.
|
|
84
|
+
* Useful for debugging.
|
|
85
|
+
*
|
|
86
|
+
* Use only one of the fields `error` or `errorEncoded`.s
|
|
87
|
+
*/
|
|
88
|
+
error?: Error;
|
|
89
|
+
/**
|
|
90
|
+
* Encoded Error that caused the failure.
|
|
91
|
+
* Useful for debugging.
|
|
92
|
+
*
|
|
93
|
+
* Use only one of the fields `error` or `errorEncoded`.
|
|
94
|
+
*/
|
|
95
|
+
errorEncoded?: SerializedError;
|
|
96
|
+
/**
|
|
97
|
+
* Information that can be used to retry the request such that it will succeed, for example:
|
|
98
|
+
* 1. { type: 'auth_required', challenge: string }
|
|
99
|
+
* Requires retrying the request with challenge signature included.
|
|
100
|
+
* 2. { type: 'user_confirmation_required', dialog: { title: string, message: string, confirmation_payload: string } }
|
|
101
|
+
* Requires showing a confirmation dialog to a user and retrying the request with confirmation_payload included
|
|
102
|
+
* if the user confirms.
|
|
103
|
+
* When data is returned simply retrying the request won't have any effect.
|
|
104
|
+
* EdgeHttpClient should parse well-known data into Error types and throw.
|
|
105
|
+
*/
|
|
106
|
+
data?: EdgeErrorData;
|
|
107
|
+
/**
|
|
108
|
+
* If provided, this request will be marked as retryable and the client will wait for the specified number of milliseconds before retrying.
|
|
109
|
+
* If not provided, the client will not retry the request.
|
|
110
|
+
*/
|
|
111
|
+
shouldRetryAfter?: number;
|
|
112
|
+
/**
|
|
113
|
+
* Status code of the response.
|
|
114
|
+
* @default 500
|
|
115
|
+
*/
|
|
116
|
+
status?: number;
|
|
117
|
+
}) => Response;
|
|
118
|
+
}>;
|
|
119
|
+
export type GetNotarizationResponseBody = {
|
|
120
|
+
awaitingNotarization: {
|
|
121
|
+
credentials: string[];
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export type ExecuteWorkflowResponseBody = {
|
|
125
|
+
success: boolean;
|
|
126
|
+
reason?: string;
|
|
127
|
+
output?: any;
|
|
128
|
+
};
|
|
129
|
+
export type PostNotarizationRequestBody = {
|
|
130
|
+
credentials: string[];
|
|
131
|
+
};
|
|
132
|
+
export type JoinSpaceRequest = {
|
|
133
|
+
invitationId: string;
|
|
134
|
+
identityKey: string;
|
|
135
|
+
/**
|
|
136
|
+
* Base64 encoded signed challenge.
|
|
137
|
+
* Used to verify the IdentityKey in case of `invitation.authMethod === Invitation.AuthMethod.KNOWN_PUBLIC_KEY`
|
|
138
|
+
*/
|
|
139
|
+
signature?: string;
|
|
140
|
+
};
|
|
141
|
+
export type JoinSpaceResponseBody = {
|
|
142
|
+
spaceMemberCredential: string;
|
|
143
|
+
spaceGenesisFeedKey: string;
|
|
144
|
+
};
|
|
145
|
+
export type RecoverIdentitySignature = string | {
|
|
146
|
+
signature: string;
|
|
147
|
+
clientDataJson: string;
|
|
148
|
+
authenticatorData: string;
|
|
149
|
+
};
|
|
150
|
+
export type RecoverIdentityRequest = {
|
|
151
|
+
deviceKey: string;
|
|
152
|
+
controlFeedKey: string;
|
|
153
|
+
lookupKey?: string;
|
|
154
|
+
signature?: RecoverIdentitySignature;
|
|
155
|
+
token?: string;
|
|
156
|
+
};
|
|
157
|
+
export type RecoverIdentityResponseBody = {
|
|
158
|
+
identityKey: string;
|
|
159
|
+
haloSpaceKey: string;
|
|
160
|
+
genesisFeedKey: string;
|
|
161
|
+
deviceAuthCredential: string;
|
|
162
|
+
};
|
|
163
|
+
export type CreateAgentRequestBody = {
|
|
164
|
+
identityKey: string;
|
|
165
|
+
haloSpaceId: SpaceId;
|
|
166
|
+
haloSpaceKey: string;
|
|
167
|
+
};
|
|
168
|
+
export type CreateAgentResponseBody = {
|
|
169
|
+
deviceKey: string;
|
|
170
|
+
feedKey: string;
|
|
171
|
+
};
|
|
172
|
+
export type GetAgentStatusResponseBody = {
|
|
173
|
+
agent: {
|
|
174
|
+
deviceKey?: string;
|
|
175
|
+
status: EdgeAgentStatus;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
export type UploadFunctionRequest = {
|
|
179
|
+
name?: string;
|
|
180
|
+
version: string;
|
|
181
|
+
ownerPublicKey: string;
|
|
182
|
+
entryPoint: string;
|
|
183
|
+
assets: Record<string, Uint8Array>;
|
|
184
|
+
/**
|
|
185
|
+
* Runtime in Edge that will be used to run the function.
|
|
186
|
+
* Runtime cannot be changed once the function was deployed.
|
|
187
|
+
* @default Runtime.WORKERS_FOR_PLATFORMS
|
|
188
|
+
*/
|
|
189
|
+
runtime?: FunctionRuntimeKind;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Note: Do not change the values of these enums, this values are stored in the FunctionVersions database.
|
|
193
|
+
*/
|
|
194
|
+
export declare const FunctionRuntimeKind: Schema.Enums<{
|
|
195
|
+
WORKERS_FOR_PLATFORMS: string;
|
|
196
|
+
WORKER_LOADER: string;
|
|
197
|
+
}>;
|
|
198
|
+
export type FunctionRuntimeKind = Schema.Schema.Type<typeof FunctionRuntimeKind>;
|
|
199
|
+
export type UploadFunctionResponseBody = {
|
|
200
|
+
functionId: string;
|
|
201
|
+
version: string;
|
|
202
|
+
meta: {
|
|
203
|
+
key?: string;
|
|
204
|
+
name?: string;
|
|
205
|
+
description?: string;
|
|
206
|
+
/**
|
|
207
|
+
* JSON Schema for the input of the function.
|
|
208
|
+
*/
|
|
209
|
+
inputSchema?: object;
|
|
210
|
+
/**
|
|
211
|
+
* JSON Schema for the output of the function.
|
|
212
|
+
*/
|
|
213
|
+
outputSchema?: object;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
export type CreateSpaceRequest = {
|
|
217
|
+
/**
|
|
218
|
+
* HEX encoded public key of the agent.
|
|
219
|
+
*/
|
|
220
|
+
agentKey: string;
|
|
221
|
+
};
|
|
222
|
+
export type CreateSpaceResponseBody = {
|
|
223
|
+
/**
|
|
224
|
+
* HEX encoded public key of the space.
|
|
225
|
+
*/
|
|
226
|
+
spaceKey: string;
|
|
227
|
+
spaceId: SpaceId;
|
|
228
|
+
automergeRoot: string;
|
|
229
|
+
};
|
|
230
|
+
export declare enum EdgeAgentStatus {
|
|
231
|
+
ACTIVE = "active",
|
|
232
|
+
INACTIVE = "inactive",
|
|
233
|
+
NOT_FOUND = "not_found"
|
|
234
|
+
}
|
|
235
|
+
export type EdgeAuthChallenge = {
|
|
236
|
+
type: 'auth_challenge';
|
|
237
|
+
challenge: string;
|
|
238
|
+
};
|
|
239
|
+
export declare enum OAuthProvider {
|
|
240
|
+
ATPROTO = "atproto",
|
|
241
|
+
/** @deprecated Use ATPROTO instead. */
|
|
242
|
+
BLUESKY = "bluesky",
|
|
243
|
+
GITHUB = "github",
|
|
244
|
+
GOOGLE = "google",
|
|
245
|
+
LINEAR = "linear",
|
|
246
|
+
SLACK = "slack",
|
|
247
|
+
TRELLO = "trello"
|
|
248
|
+
}
|
|
249
|
+
export declare const InitiateOAuthFlowRequestSchema: Schema.Struct<{
|
|
250
|
+
provider: Schema.Enums<typeof OAuthProvider>;
|
|
251
|
+
spaceId: Schema.refine<string & {
|
|
252
|
+
__SpaceId: true;
|
|
253
|
+
}, Schema.Schema<unknown, string, never>>;
|
|
254
|
+
accessTokenId: typeof Schema.String;
|
|
255
|
+
scopes: Schema.mutable<Schema.Array$<typeof Schema.String>>;
|
|
256
|
+
noRefresh: Schema.optional<typeof Schema.Boolean>;
|
|
257
|
+
loginHint: Schema.optional<typeof Schema.String>;
|
|
258
|
+
}>;
|
|
259
|
+
export type InitiateOAuthFlowRequest = Schema.Schema.Type<typeof InitiateOAuthFlowRequestSchema>;
|
|
260
|
+
export type InitiateOAuthFlowResponse = {
|
|
261
|
+
authUrl: string;
|
|
262
|
+
};
|
|
263
|
+
export type OAuthFlowResult = {
|
|
264
|
+
success: true;
|
|
265
|
+
accessToken: string;
|
|
266
|
+
accessTokenId: string;
|
|
267
|
+
} | {
|
|
268
|
+
success: false;
|
|
269
|
+
reason: string;
|
|
270
|
+
};
|
|
271
|
+
export declare enum EdgeWebsocketProtocol {
|
|
272
|
+
V0 = "edge-ws-v0",
|
|
273
|
+
/**
|
|
274
|
+
* Enables message framing and muxing by service-id.
|
|
275
|
+
*/
|
|
276
|
+
V1 = "edge-ws-v1"
|
|
277
|
+
}
|
|
278
|
+
export type EdgeStatus = {
|
|
279
|
+
problems: string[];
|
|
280
|
+
agent: {
|
|
281
|
+
agentStatus?: string;
|
|
282
|
+
agentKey?: string;
|
|
283
|
+
haloSpaceId?: SpaceId;
|
|
284
|
+
fetchError?: string;
|
|
285
|
+
};
|
|
286
|
+
router: {
|
|
287
|
+
connectedDevices?: {
|
|
288
|
+
peerKey: string;
|
|
289
|
+
topics: string[];
|
|
290
|
+
}[];
|
|
291
|
+
metrics?: {
|
|
292
|
+
sentMessages: number;
|
|
293
|
+
receivedMessages: number;
|
|
294
|
+
sentBytes: number;
|
|
295
|
+
receivedBytes: number;
|
|
296
|
+
failedMessages: number;
|
|
297
|
+
failedBytes: number;
|
|
298
|
+
};
|
|
299
|
+
fetchError?: string;
|
|
300
|
+
};
|
|
301
|
+
spaces: {
|
|
302
|
+
data: Record<SpaceId, {
|
|
303
|
+
diagnostics?: any & {
|
|
304
|
+
redFlags: string[];
|
|
305
|
+
};
|
|
306
|
+
fetchError?: string;
|
|
307
|
+
}>;
|
|
308
|
+
fetchError?: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
export type ImportBundleRequest = {
|
|
312
|
+
bundle: {
|
|
313
|
+
/**
|
|
314
|
+
* DocumentId.
|
|
315
|
+
*/
|
|
316
|
+
documentId: string;
|
|
317
|
+
/**
|
|
318
|
+
* Encoded mutation.
|
|
319
|
+
*/
|
|
320
|
+
mutation: string;
|
|
321
|
+
/**
|
|
322
|
+
* Heads of the document.
|
|
323
|
+
*/
|
|
324
|
+
heads: string[];
|
|
325
|
+
}[];
|
|
326
|
+
};
|
|
327
|
+
export type ExportBundleRequest = {
|
|
328
|
+
/**
|
|
329
|
+
* DocumentId -> Heads (decoded heads since which we want to export).
|
|
330
|
+
*/
|
|
331
|
+
docHeads: Record<string, string[]>;
|
|
332
|
+
};
|
|
333
|
+
export type ExportBundleResponse = {
|
|
334
|
+
bundle: {
|
|
335
|
+
/**
|
|
336
|
+
* DocumentId.
|
|
337
|
+
*/
|
|
338
|
+
documentId: string;
|
|
339
|
+
/**
|
|
340
|
+
* Encoded mutation.
|
|
341
|
+
*/
|
|
342
|
+
mutation: string;
|
|
343
|
+
}[];
|
|
344
|
+
};
|
|
345
|
+
export declare const DocumentCodec: Readonly<{
|
|
346
|
+
encode: (doc: Uint8Array) => string;
|
|
347
|
+
decode: (doc: string) => Uint8Array<ArrayBuffer>;
|
|
348
|
+
}>;
|
|
349
|
+
/**
|
|
350
|
+
* Codec for serializing and deserializing Edge Errors.
|
|
351
|
+
*/
|
|
352
|
+
export declare const ErrorCodec: Readonly<{
|
|
353
|
+
encode: (err: Error, depth?: number) => SerializedError;
|
|
354
|
+
decode: (serializedError: SerializedError, depth?: number) => Error;
|
|
355
|
+
}>;
|
|
356
|
+
/**
|
|
357
|
+
* Codec for serializing and deserializing Edge unhandled HTTP errors.
|
|
358
|
+
*/
|
|
359
|
+
export declare const EdgeHttpErrorCodec: Readonly<{
|
|
360
|
+
encode: (err: Error) => Response;
|
|
361
|
+
decode: (response: Response) => Promise<Error | undefined>;
|
|
362
|
+
}>;
|
|
363
|
+
export type ListSpacesRequest = {
|
|
364
|
+
limit?: number;
|
|
365
|
+
cursor?: string;
|
|
366
|
+
order?: 'asc' | 'desc';
|
|
367
|
+
};
|
|
368
|
+
export type ListSpacesResponse = {
|
|
369
|
+
spaces: SpaceActivityEntry[];
|
|
370
|
+
cursor?: string;
|
|
371
|
+
limit: number;
|
|
372
|
+
};
|
|
373
|
+
export type ListActiveIdentitiesRequest = {
|
|
374
|
+
cursor?: string;
|
|
375
|
+
limit?: number;
|
|
376
|
+
};
|
|
377
|
+
export type ListActiveIdentitiesResponse = {
|
|
378
|
+
identities: {
|
|
379
|
+
identityKey: string;
|
|
380
|
+
haloSpaceId: string | null;
|
|
381
|
+
createdAt: string | null;
|
|
382
|
+
agentKey: string | null;
|
|
383
|
+
hasRecovery: boolean;
|
|
384
|
+
}[];
|
|
385
|
+
cursor?: string;
|
|
386
|
+
complete: boolean;
|
|
387
|
+
totalCount: number;
|
|
388
|
+
};
|
|
389
|
+
export type InspectSpaceRequest = {
|
|
390
|
+
spaceId: string;
|
|
391
|
+
};
|
|
392
|
+
export type InspectSpaceResponse = {
|
|
393
|
+
spaceId: string;
|
|
394
|
+
metadata: {
|
|
395
|
+
createdAt: string;
|
|
396
|
+
identityKey?: string;
|
|
397
|
+
status?: 'active' | 'deleting';
|
|
398
|
+
} | null;
|
|
399
|
+
members: {
|
|
400
|
+
count: number;
|
|
401
|
+
list: {
|
|
402
|
+
identityKey: string;
|
|
403
|
+
role?: string;
|
|
404
|
+
agentKey?: string;
|
|
405
|
+
}[];
|
|
406
|
+
};
|
|
407
|
+
controlFeeds: {
|
|
408
|
+
replicationProgress: {
|
|
409
|
+
[feedKey: string]: {
|
|
410
|
+
replicated: number;
|
|
411
|
+
processed: number;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
echo: {
|
|
416
|
+
dataFeeds: {
|
|
417
|
+
count: number;
|
|
418
|
+
totalBlocks: number;
|
|
419
|
+
byNamespace: {
|
|
420
|
+
namespace: string;
|
|
421
|
+
feeds: {
|
|
422
|
+
feedId: string;
|
|
423
|
+
blockCount: number;
|
|
424
|
+
}[];
|
|
425
|
+
}[];
|
|
426
|
+
};
|
|
427
|
+
documentCount: number;
|
|
428
|
+
objectCount: number;
|
|
429
|
+
deletedObjectCount: number;
|
|
430
|
+
indexedDocumentCount: number;
|
|
431
|
+
objectsByType: {
|
|
432
|
+
typeDxn: string;
|
|
433
|
+
count: number;
|
|
434
|
+
}[];
|
|
435
|
+
indexerStatus: {
|
|
436
|
+
indexingInProgress: boolean;
|
|
437
|
+
cursors: {
|
|
438
|
+
indexName: string;
|
|
439
|
+
sourceName: string;
|
|
440
|
+
resourceId: string | null;
|
|
441
|
+
cursor: string | number;
|
|
442
|
+
}[];
|
|
443
|
+
totalChanges: number;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
usageInLast30Days: {
|
|
447
|
+
lastActivity: string | null;
|
|
448
|
+
wsEvents: number;
|
|
449
|
+
httpEvents: number;
|
|
450
|
+
totalEvents: number;
|
|
451
|
+
} | null;
|
|
452
|
+
durableObjects: {
|
|
453
|
+
type: string;
|
|
454
|
+
doId: string;
|
|
455
|
+
}[];
|
|
456
|
+
};
|
|
457
|
+
export type InspectIdentityRequest = {
|
|
458
|
+
identityKey: string;
|
|
459
|
+
};
|
|
460
|
+
export type InspectIdentityResponse = {
|
|
461
|
+
identityKey: string;
|
|
462
|
+
agentKey: string | null;
|
|
463
|
+
haloSpaceId: string | null;
|
|
464
|
+
hasRecovery: boolean;
|
|
465
|
+
routerDoId: string;
|
|
466
|
+
agentDoId: string | null;
|
|
467
|
+
ownedFunctions: {
|
|
468
|
+
id: string;
|
|
469
|
+
name: string;
|
|
470
|
+
versionCount: number;
|
|
471
|
+
}[];
|
|
472
|
+
spaces: InspectSpaceResponse[];
|
|
473
|
+
};
|
|
474
|
+
/** Matches the SerializedSpace format from @dxos/echo-db, extended with spaceId. */
|
|
475
|
+
export type SpaceExportPayload = {
|
|
476
|
+
version: number;
|
|
477
|
+
timestamp: string;
|
|
478
|
+
spaceId: string;
|
|
479
|
+
objects: Record<string, unknown>[];
|
|
480
|
+
};
|
|
481
|
+
export type SpaceActivityEntry = {
|
|
482
|
+
spaceId: string;
|
|
483
|
+
lastActivity: string;
|
|
484
|
+
totalEvents: number;
|
|
485
|
+
metadata: {
|
|
486
|
+
createdAt: string;
|
|
487
|
+
identityKey?: string;
|
|
488
|
+
status?: 'active' | 'deleting';
|
|
489
|
+
} | null;
|
|
490
|
+
};
|
|
491
|
+
export type SpaceExportResult = {
|
|
492
|
+
spaceId: string;
|
|
493
|
+
downloadPath: string;
|
|
494
|
+
downloadUrl: string;
|
|
495
|
+
expiresAt: string;
|
|
496
|
+
objectCount: number;
|
|
497
|
+
sizeBytes: number;
|
|
498
|
+
};
|
|
499
|
+
export type ExportSpaceRequest = {
|
|
500
|
+
spaceId: string;
|
|
501
|
+
origin: string;
|
|
502
|
+
};
|
|
503
|
+
export type DeleteSpaceRequest = {
|
|
504
|
+
spaceId: string;
|
|
505
|
+
};
|
|
506
|
+
export type DeleteSpaceResponse = {
|
|
507
|
+
status: string;
|
|
508
|
+
spaceId: string;
|
|
509
|
+
};
|
|
510
|
+
export type DeleteIdentityRequest = {
|
|
511
|
+
identityKey: string;
|
|
512
|
+
};
|
|
513
|
+
export type DeleteIdentityResponse = {
|
|
514
|
+
status: string;
|
|
515
|
+
identityKey: string;
|
|
516
|
+
};
|
|
517
|
+
export {};
|
|
518
|
+
//# sourceMappingURL=edge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edge.d.ts","sourceRoot":"","sources":["../../../src/edge/edge.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe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