@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
|
@@ -10,6 +10,7 @@ export declare const PluginMetaSchema: Schema.Struct<{
|
|
|
10
10
|
id: Schema.filter<typeof Schema.String>;
|
|
11
11
|
name: Schema.filter<typeof Schema.String>;
|
|
12
12
|
description: Schema.optional<typeof Schema.String>;
|
|
13
|
+
author: Schema.optional<typeof Schema.String>;
|
|
13
14
|
homePage: Schema.optional<typeof Schema.String>;
|
|
14
15
|
source: Schema.optional<typeof Schema.String>;
|
|
15
16
|
screenshots: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
@@ -24,35 +25,54 @@ export type PluginMeta = Schema.Schema.Type<typeof PluginMetaSchema>;
|
|
|
24
25
|
*/
|
|
25
26
|
export declare const PluginHealthSchema: Schema.Literal<["ok", "release-missing", "manifest-invalid", "repo-unavailable"]>;
|
|
26
27
|
export type PluginHealth = Schema.Schema.Type<typeof PluginHealthSchema>;
|
|
28
|
+
/**
|
|
29
|
+
* Filename of the entry module every plugin must publish at the root of its bundle.
|
|
30
|
+
* The host dynamic-imports `<manifest URL base>/index.mjs` directly — no per-plugin
|
|
31
|
+
* configuration. `composerPlugin` outputs the bundle under this name so plugin authors
|
|
32
|
+
* never have to think about it.
|
|
33
|
+
*/
|
|
34
|
+
export declare const PLUGIN_ENTRY_FILENAME = "index.mjs";
|
|
27
35
|
/**
|
|
28
36
|
* Shape of the manifest-asset JSON the registry service fetches from each plugin's latest release.
|
|
29
|
-
*
|
|
30
|
-
*
|
|
37
|
+
*
|
|
38
|
+
* Emitted by `@dxos/app-framework/vite-plugin`'s `composerPlugin` (see
|
|
39
|
+
* `MANIFEST_ASSET_NAME`). Lists every file the plugin needs at runtime — the entry
|
|
40
|
+
* module ({@link PLUGIN_ENTRY_FILENAME}) plus any sibling CSS, code-split chunks,
|
|
41
|
+
* fonts, etc. — so the host can eagerly precache the whole bundle for offline use.
|
|
42
|
+
* Paths in `assets` are relative to the manifest's URL.
|
|
31
43
|
*/
|
|
32
44
|
export declare const PluginManifestSchema: Schema.Struct<{
|
|
33
|
-
moduleFile: Schema.optional<typeof Schema.String>;
|
|
34
45
|
id: Schema.filter<typeof Schema.String>;
|
|
35
46
|
name: Schema.filter<typeof Schema.String>;
|
|
36
47
|
description: Schema.optional<typeof Schema.String>;
|
|
48
|
+
author: Schema.optional<typeof Schema.String>;
|
|
37
49
|
homePage: Schema.optional<typeof Schema.String>;
|
|
38
50
|
source: Schema.optional<typeof Schema.String>;
|
|
39
51
|
screenshots: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
40
52
|
tags: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
41
53
|
icon: Schema.optional<typeof Schema.String>;
|
|
42
54
|
iconHue: Schema.optional<typeof Schema.String>;
|
|
55
|
+
/** Plugin version (semver). Sourced from the publishing project's `package.json`. */
|
|
56
|
+
version: Schema.filter<typeof Schema.String>;
|
|
57
|
+
/**
|
|
58
|
+
* Relative paths of every file the plugin needs at runtime, including the entry.
|
|
59
|
+
* Must include {@link PLUGIN_ENTRY_FILENAME}; consumers verify on parse.
|
|
60
|
+
*/
|
|
61
|
+
assets: Schema.filter<Schema.Array$<typeof Schema.String>>;
|
|
43
62
|
}>;
|
|
44
63
|
export type PluginManifest = Schema.Schema.Type<typeof PluginManifestSchema>;
|
|
45
64
|
/**
|
|
46
65
|
* Single hydrated plugin entry returned by the registry service.
|
|
47
66
|
*/
|
|
48
67
|
export declare const PluginEntrySchema: Schema.Struct<{
|
|
49
|
-
/** GitHub repository in `owner/name` form. */
|
|
50
|
-
repo:
|
|
68
|
+
/** GitHub repository in `owner/name` form. Empty string for entries sourced from a `manifestUrl`. */
|
|
69
|
+
repo: typeof Schema.String;
|
|
51
70
|
/** Plugin metadata from the repo's latest-release `manifest.json`. */
|
|
52
71
|
meta: Schema.Struct<{
|
|
53
72
|
id: Schema.filter<typeof Schema.String>;
|
|
54
73
|
name: Schema.filter<typeof Schema.String>;
|
|
55
74
|
description: Schema.optional<typeof Schema.String>;
|
|
75
|
+
author: Schema.optional<typeof Schema.String>;
|
|
56
76
|
homePage: Schema.optional<typeof Schema.String>;
|
|
57
77
|
source: Schema.optional<typeof Schema.String>;
|
|
58
78
|
screenshots: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
@@ -61,12 +81,12 @@ export declare const PluginEntrySchema: Schema.Struct<{
|
|
|
61
81
|
iconHue: Schema.optional<typeof Schema.String>;
|
|
62
82
|
}>;
|
|
63
83
|
/**
|
|
64
|
-
* URL
|
|
65
|
-
*
|
|
66
|
-
*
|
|
84
|
+
* URL of the plugin's `manifest.json`. Composer's URL loader fetches this, eagerly caches
|
|
85
|
+
* every declared asset via the platform `PluginAssetCache`, then dynamic-imports the entry.
|
|
86
|
+
* The URL must be CORS-safe and have its declared assets reachable as siblings.
|
|
67
87
|
*/
|
|
68
88
|
moduleUrl: typeof Schema.String;
|
|
69
|
-
/** Release tag the entry was resolved from (e.g. `v0.1.0`). */
|
|
89
|
+
/** Release tag the entry was resolved from (e.g. `v0.1.0`). Empty string for `manifestUrl` entries. */
|
|
70
90
|
releaseTag: typeof Schema.String;
|
|
71
91
|
/** Health signal set by the service when an entry fails to refresh. */
|
|
72
92
|
health: Schema.Literal<["ok", "release-missing", "manifest-invalid", "repo-unavailable"]>;
|
|
@@ -82,13 +102,14 @@ export declare const GetPluginsResponseBodySchema: Schema.Struct<{
|
|
|
82
102
|
version: Schema.Literal<[1]>;
|
|
83
103
|
/** Hydrated entries. Order matches the order in the upstream catalog manifest. */
|
|
84
104
|
plugins: Schema.Array$<Schema.Struct<{
|
|
85
|
-
/** GitHub repository in `owner/name` form. */
|
|
86
|
-
repo:
|
|
105
|
+
/** GitHub repository in `owner/name` form. Empty string for entries sourced from a `manifestUrl`. */
|
|
106
|
+
repo: typeof Schema.String;
|
|
87
107
|
/** Plugin metadata from the repo's latest-release `manifest.json`. */
|
|
88
108
|
meta: Schema.Struct<{
|
|
89
109
|
id: Schema.filter<typeof Schema.String>;
|
|
90
110
|
name: Schema.filter<typeof Schema.String>;
|
|
91
111
|
description: Schema.optional<typeof Schema.String>;
|
|
112
|
+
author: Schema.optional<typeof Schema.String>;
|
|
92
113
|
homePage: Schema.optional<typeof Schema.String>;
|
|
93
114
|
source: Schema.optional<typeof Schema.String>;
|
|
94
115
|
screenshots: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
@@ -97,12 +118,12 @@ export declare const GetPluginsResponseBodySchema: Schema.Struct<{
|
|
|
97
118
|
iconHue: Schema.optional<typeof Schema.String>;
|
|
98
119
|
}>;
|
|
99
120
|
/**
|
|
100
|
-
* URL
|
|
101
|
-
*
|
|
102
|
-
*
|
|
121
|
+
* URL of the plugin's `manifest.json`. Composer's URL loader fetches this, eagerly caches
|
|
122
|
+
* every declared asset via the platform `PluginAssetCache`, then dynamic-imports the entry.
|
|
123
|
+
* The URL must be CORS-safe and have its declared assets reachable as siblings.
|
|
103
124
|
*/
|
|
104
125
|
moduleUrl: typeof Schema.String;
|
|
105
|
-
/** Release tag the entry was resolved from (e.g. `v0.1.0`). */
|
|
126
|
+
/** Release tag the entry was resolved from (e.g. `v0.1.0`). Empty string for `manifestUrl` entries. */
|
|
106
127
|
releaseTag: typeof Schema.String;
|
|
107
128
|
/** Health signal set by the service when an entry fails to refresh. */
|
|
108
129
|
health: Schema.Literal<["ok", "release-missing", "manifest-invalid", "repo-unavailable"]>;
|
|
@@ -113,15 +134,79 @@ export declare const GetPluginsResponseBodySchema: Schema.Struct<{
|
|
|
113
134
|
refreshedAt: typeof Schema.Number;
|
|
114
135
|
}>;
|
|
115
136
|
export type GetPluginsResponseBody = Schema.Schema.Type<typeof GetPluginsResponseBodySchema>;
|
|
137
|
+
/**
|
|
138
|
+
* A single published version of a plugin, as returned by the registry service's
|
|
139
|
+
* versions endpoint. Sourced from the publishing project's GitHub releases.
|
|
140
|
+
*
|
|
141
|
+
* The host treats `tag` opaquely; ordering — newest first — is the service's
|
|
142
|
+
* responsibility (typically reverse-chronological by release date).
|
|
143
|
+
*/
|
|
144
|
+
export declare const PluginVersionSchema: Schema.Struct<{
|
|
145
|
+
/** Release tag (e.g. `v0.1.21`). Stable identifier for this version. */
|
|
146
|
+
tag: Schema.filter<typeof Schema.String>;
|
|
147
|
+
/**
|
|
148
|
+
* URL of this version's `manifest.json`. Matches the shape of {@link PluginEntrySchema.fields.moduleUrl}
|
|
149
|
+
* but pinned to a specific release rather than the latest. Composer's URL loader fetches
|
|
150
|
+
* this when the user installs / rolls back to this version.
|
|
151
|
+
*/
|
|
152
|
+
moduleUrl: Schema.filter<typeof Schema.String>;
|
|
153
|
+
/** Unix ms when the version was released. Optional — services that lack this signal can omit. */
|
|
154
|
+
releasedAt: Schema.optional<typeof Schema.Number>;
|
|
155
|
+
}>;
|
|
156
|
+
export type PluginVersion = Schema.Schema.Type<typeof PluginVersionSchema>;
|
|
157
|
+
/**
|
|
158
|
+
* Response body of `GET /registry/plugins/:repo/versions`.
|
|
159
|
+
*
|
|
160
|
+
* `:repo` is the GitHub `owner/name` form, URL-encoded (so `/` is escaped).
|
|
161
|
+
* Returns all hydratable releases for the repo, newest first; clients display them
|
|
162
|
+
* in the version picker for install / roll-back. Unauthenticated; same surface area
|
|
163
|
+
* as `GET /registry/plugins`.
|
|
164
|
+
*/
|
|
165
|
+
export declare const GetPluginVersionsResponseBodySchema: Schema.Struct<{
|
|
166
|
+
/** Wire-format schema version, pinned to 1. */
|
|
167
|
+
version: Schema.Literal<[1]>;
|
|
168
|
+
/** Available versions for the requested repo, newest first. */
|
|
169
|
+
versions: Schema.Array$<Schema.Struct<{
|
|
170
|
+
/** Release tag (e.g. `v0.1.21`). Stable identifier for this version. */
|
|
171
|
+
tag: Schema.filter<typeof Schema.String>;
|
|
172
|
+
/**
|
|
173
|
+
* URL of this version's `manifest.json`. Matches the shape of {@link PluginEntrySchema.fields.moduleUrl}
|
|
174
|
+
* but pinned to a specific release rather than the latest. Composer's URL loader fetches
|
|
175
|
+
* this when the user installs / rolls back to this version.
|
|
176
|
+
*/
|
|
177
|
+
moduleUrl: Schema.filter<typeof Schema.String>;
|
|
178
|
+
/** Unix ms when the version was released. Optional — services that lack this signal can omit. */
|
|
179
|
+
releasedAt: Schema.optional<typeof Schema.Number>;
|
|
180
|
+
}>>;
|
|
181
|
+
/** Unix ms timestamp of the most recent successful refresh cycle for this repo. */
|
|
182
|
+
refreshedAt: typeof Schema.Number;
|
|
183
|
+
}>;
|
|
184
|
+
export type GetPluginVersionsResponseBody = Schema.Schema.Type<typeof GetPluginVersionsResponseBodySchema>;
|
|
185
|
+
/**
|
|
186
|
+
* A catalog entry. Two flavours:
|
|
187
|
+
* - `{ repo }`: the registry service hydrates from the GitHub repo's latest release.
|
|
188
|
+
* Used by the production catalog.
|
|
189
|
+
* - `{ manifestUrl }`: the registry service skips GitHub and fetches the manifest directly.
|
|
190
|
+
* Used for local development against an in-progress plugin (e.g. served by `vite preview`)
|
|
191
|
+
* so authors can iterate without publishing a release.
|
|
192
|
+
*/
|
|
193
|
+
export declare const RegistryEntrySchema: Schema.Union<[Schema.Struct<{
|
|
194
|
+
repo: Schema.filter<typeof Schema.String>;
|
|
195
|
+
}>, Schema.Struct<{
|
|
196
|
+
manifestUrl: Schema.filter<typeof Schema.String>;
|
|
197
|
+
}>]>;
|
|
198
|
+
export type RegistryEntry = Schema.Schema.Type<typeof RegistryEntrySchema>;
|
|
116
199
|
/**
|
|
117
200
|
* Shape of the catalog manifest published in the upstream community-plugins repo.
|
|
118
201
|
* Extra keys (e.g. `$schema`) are permitted.
|
|
119
202
|
*/
|
|
120
203
|
export declare const RegistryManifestSchema: Schema.TypeLiteral<{
|
|
121
204
|
version: Schema.Literal<[1]>;
|
|
122
|
-
plugins: Schema.Array$<Schema.Struct<{
|
|
123
|
-
repo: typeof Schema.String
|
|
124
|
-
}
|
|
205
|
+
plugins: Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
206
|
+
repo: Schema.filter<typeof Schema.String>;
|
|
207
|
+
}>, Schema.Struct<{
|
|
208
|
+
manifestUrl: Schema.filter<typeof Schema.String>;
|
|
209
|
+
}>]>>;
|
|
125
210
|
}, readonly [Schema.Record$<typeof Schema.String, typeof Schema.Unknown>]>;
|
|
126
211
|
export type RegistryManifest = Schema.Schema.Type<typeof RegistryManifestSchema>;
|
|
127
212
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/edge/registry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/edge/registry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;EAW3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,kBAAkB,mFAAkF,CAAC;AAClH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,cAAc,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;IAE/B,qFAAqF;;IAErF;;;OAGG;;EAEH,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CA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;;0EAMlC,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -13,6 +13,7 @@ export const PluginMetaSchema = Schema.Struct({
|
|
|
13
13
|
id: Schema.String.pipe(Schema.nonEmptyString()),
|
|
14
14
|
name: Schema.String.pipe(Schema.nonEmptyString()),
|
|
15
15
|
description: Schema.optional(Schema.String),
|
|
16
|
+
author: Schema.optional(Schema.String),
|
|
16
17
|
homePage: Schema.optional(Schema.String),
|
|
17
18
|
source: Schema.optional(Schema.String),
|
|
18
19
|
screenshots: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -25,30 +26,47 @@ export const PluginMetaSchema = Schema.Struct({
|
|
|
25
26
|
* Clients surface the appropriate badge or filter entries based on this field.
|
|
26
27
|
*/
|
|
27
28
|
export const PluginHealthSchema = Schema.Literal('ok', 'release-missing', 'manifest-invalid', 'repo-unavailable');
|
|
29
|
+
/**
|
|
30
|
+
* Filename of the entry module every plugin must publish at the root of its bundle.
|
|
31
|
+
* The host dynamic-imports `<manifest URL base>/index.mjs` directly — no per-plugin
|
|
32
|
+
* configuration. `composerPlugin` outputs the bundle under this name so plugin authors
|
|
33
|
+
* never have to think about it.
|
|
34
|
+
*/
|
|
35
|
+
export const PLUGIN_ENTRY_FILENAME = 'index.mjs';
|
|
28
36
|
/**
|
|
29
37
|
* Shape of the manifest-asset JSON the registry service fetches from each plugin's latest release.
|
|
30
|
-
*
|
|
31
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* Emitted by `@dxos/app-framework/vite-plugin`'s `composerPlugin` (see
|
|
40
|
+
* `MANIFEST_ASSET_NAME`). Lists every file the plugin needs at runtime — the entry
|
|
41
|
+
* module ({@link PLUGIN_ENTRY_FILENAME}) plus any sibling CSS, code-split chunks,
|
|
42
|
+
* fonts, etc. — so the host can eagerly precache the whole bundle for offline use.
|
|
43
|
+
* Paths in `assets` are relative to the manifest's URL.
|
|
32
44
|
*/
|
|
33
45
|
export const PluginManifestSchema = Schema.Struct({
|
|
34
46
|
...PluginMetaSchema.fields,
|
|
35
|
-
|
|
47
|
+
/** Plugin version (semver). Sourced from the publishing project's `package.json`. */
|
|
48
|
+
version: Schema.String.pipe(Schema.nonEmptyString()),
|
|
49
|
+
/**
|
|
50
|
+
* Relative paths of every file the plugin needs at runtime, including the entry.
|
|
51
|
+
* Must include {@link PLUGIN_ENTRY_FILENAME}; consumers verify on parse.
|
|
52
|
+
*/
|
|
53
|
+
assets: Schema.Array(Schema.String).pipe(Schema.minItems(1)),
|
|
36
54
|
});
|
|
37
55
|
/**
|
|
38
56
|
* Single hydrated plugin entry returned by the registry service.
|
|
39
57
|
*/
|
|
40
58
|
export const PluginEntrySchema = Schema.Struct({
|
|
41
|
-
/** GitHub repository in `owner/name` form. */
|
|
42
|
-
repo: Schema.String
|
|
59
|
+
/** GitHub repository in `owner/name` form. Empty string for entries sourced from a `manifestUrl`. */
|
|
60
|
+
repo: Schema.String,
|
|
43
61
|
/** Plugin metadata from the repo's latest-release `manifest.json`. */
|
|
44
62
|
meta: PluginMetaSchema,
|
|
45
63
|
/**
|
|
46
|
-
* URL
|
|
47
|
-
*
|
|
48
|
-
*
|
|
64
|
+
* URL of the plugin's `manifest.json`. Composer's URL loader fetches this, eagerly caches
|
|
65
|
+
* every declared asset via the platform `PluginAssetCache`, then dynamic-imports the entry.
|
|
66
|
+
* The URL must be CORS-safe and have its declared assets reachable as siblings.
|
|
49
67
|
*/
|
|
50
68
|
moduleUrl: Schema.String,
|
|
51
|
-
/** Release tag the entry was resolved from (e.g. `v0.1.0`). */
|
|
69
|
+
/** Release tag the entry was resolved from (e.g. `v0.1.0`). Empty string for `manifestUrl` entries. */
|
|
52
70
|
releaseTag: Schema.String,
|
|
53
71
|
/** Health signal set by the service when an entry fails to refresh. */
|
|
54
72
|
health: PluginHealthSchema,
|
|
@@ -66,14 +84,56 @@ export const GetPluginsResponseBodySchema = Schema.Struct({
|
|
|
66
84
|
/** Unix ms timestamp of the most recent successful refresh cycle. */
|
|
67
85
|
refreshedAt: Schema.Number,
|
|
68
86
|
});
|
|
87
|
+
/**
|
|
88
|
+
* A single published version of a plugin, as returned by the registry service's
|
|
89
|
+
* versions endpoint. Sourced from the publishing project's GitHub releases.
|
|
90
|
+
*
|
|
91
|
+
* The host treats `tag` opaquely; ordering — newest first — is the service's
|
|
92
|
+
* responsibility (typically reverse-chronological by release date).
|
|
93
|
+
*/
|
|
94
|
+
export const PluginVersionSchema = Schema.Struct({
|
|
95
|
+
/** Release tag (e.g. `v0.1.21`). Stable identifier for this version. */
|
|
96
|
+
tag: Schema.String.pipe(Schema.nonEmptyString()),
|
|
97
|
+
/**
|
|
98
|
+
* URL of this version's `manifest.json`. Matches the shape of {@link PluginEntrySchema.fields.moduleUrl}
|
|
99
|
+
* but pinned to a specific release rather than the latest. Composer's URL loader fetches
|
|
100
|
+
* this when the user installs / rolls back to this version.
|
|
101
|
+
*/
|
|
102
|
+
moduleUrl: Schema.String.pipe(Schema.nonEmptyString()),
|
|
103
|
+
/** Unix ms when the version was released. Optional — services that lack this signal can omit. */
|
|
104
|
+
releasedAt: Schema.optional(Schema.Number),
|
|
105
|
+
});
|
|
106
|
+
/**
|
|
107
|
+
* Response body of `GET /registry/plugins/:repo/versions`.
|
|
108
|
+
*
|
|
109
|
+
* `:repo` is the GitHub `owner/name` form, URL-encoded (so `/` is escaped).
|
|
110
|
+
* Returns all hydratable releases for the repo, newest first; clients display them
|
|
111
|
+
* in the version picker for install / roll-back. Unauthenticated; same surface area
|
|
112
|
+
* as `GET /registry/plugins`.
|
|
113
|
+
*/
|
|
114
|
+
export const GetPluginVersionsResponseBodySchema = Schema.Struct({
|
|
115
|
+
/** Wire-format schema version, pinned to 1. */
|
|
116
|
+
version: Schema.Literal(1),
|
|
117
|
+
/** Available versions for the requested repo, newest first. */
|
|
118
|
+
versions: Schema.Array(PluginVersionSchema),
|
|
119
|
+
/** Unix ms timestamp of the most recent successful refresh cycle for this repo. */
|
|
120
|
+
refreshedAt: Schema.Number,
|
|
121
|
+
});
|
|
122
|
+
/**
|
|
123
|
+
* A catalog entry. Two flavours:
|
|
124
|
+
* - `{ repo }`: the registry service hydrates from the GitHub repo's latest release.
|
|
125
|
+
* Used by the production catalog.
|
|
126
|
+
* - `{ manifestUrl }`: the registry service skips GitHub and fetches the manifest directly.
|
|
127
|
+
* Used for local development against an in-progress plugin (e.g. served by `vite preview`)
|
|
128
|
+
* so authors can iterate without publishing a release.
|
|
129
|
+
*/
|
|
130
|
+
export const RegistryEntrySchema = Schema.Union(Schema.Struct({ repo: Schema.String.pipe(Schema.nonEmptyString()) }), Schema.Struct({ manifestUrl: Schema.String.pipe(Schema.nonEmptyString()) }));
|
|
69
131
|
/**
|
|
70
132
|
* Shape of the catalog manifest published in the upstream community-plugins repo.
|
|
71
133
|
* Extra keys (e.g. `$schema`) are permitted.
|
|
72
134
|
*/
|
|
73
135
|
export const RegistryManifestSchema = Schema.Struct({
|
|
74
136
|
version: Schema.Literal(1),
|
|
75
|
-
plugins: Schema.Array(
|
|
76
|
-
repo: Schema.String,
|
|
77
|
-
})),
|
|
137
|
+
plugins: Schema.Array(RegistryEntrySchema),
|
|
78
138
|
}, Schema.Record({ key: Schema.String, value: Schema.Unknown }));
|
|
79
139
|
//# sourceMappingURL=registry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../src/edge/registry.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IAC/C,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI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;;GAOG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAC7C,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,EAAE,CAAC,EACpE,MAAM,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,EAAE,CAAC,CAC5E,CAAC;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CACjD;IACE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC;CAC3C,EACD,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAC7D,CAAC"}
|
|
@@ -5,27 +5,27 @@
|
|
|
5
5
|
import { BaseError } from '@dxos/errors';
|
|
6
6
|
declare const ApiError_base: {
|
|
7
7
|
new (options?: import("@dxos/errors").BaseErrorOptions): {
|
|
8
|
+
cause?: unknown;
|
|
9
|
+
stack?: string;
|
|
8
10
|
name: "ApiError";
|
|
9
11
|
context: Record<string, unknown>;
|
|
10
12
|
readonly message: string;
|
|
11
13
|
readonly _tag: "ApiError";
|
|
12
|
-
stack?: string;
|
|
13
|
-
cause?: unknown;
|
|
14
14
|
};
|
|
15
|
+
isError(error: unknown): error is Error;
|
|
15
16
|
name: "ApiError";
|
|
16
17
|
is(error: unknown): error is BaseError;
|
|
17
|
-
wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions,
|
|
18
|
+
wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions, 'cause'> & {
|
|
18
19
|
ifTypeDiffers?: boolean;
|
|
19
20
|
}): (error: unknown) => {
|
|
21
|
+
cause?: unknown;
|
|
22
|
+
stack?: string;
|
|
20
23
|
name: "ApiError";
|
|
21
24
|
context: Record<string, unknown>;
|
|
22
25
|
readonly message: string;
|
|
23
26
|
readonly _tag: "ApiError";
|
|
24
|
-
stack?: string;
|
|
25
|
-
cause?: unknown;
|
|
26
27
|
};
|
|
27
28
|
extend<Name extends string = string>(name: Name, message?: string): any;
|
|
28
|
-
isError(error: unknown): error is Error;
|
|
29
29
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
30
30
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
31
31
|
stackTraceLimit: number;
|
|
@@ -38,27 +38,27 @@ export declare class ApiError extends ApiError_base {
|
|
|
38
38
|
}
|
|
39
39
|
declare const SystemError_base: {
|
|
40
40
|
new (options?: import("@dxos/errors").BaseErrorOptions): {
|
|
41
|
+
cause?: unknown;
|
|
42
|
+
stack?: string;
|
|
41
43
|
name: "SystemError";
|
|
42
44
|
context: Record<string, unknown>;
|
|
43
45
|
readonly message: string;
|
|
44
46
|
readonly _tag: "SystemError";
|
|
45
|
-
stack?: string;
|
|
46
|
-
cause?: unknown;
|
|
47
47
|
};
|
|
48
|
+
isError(error: unknown): error is Error;
|
|
48
49
|
name: "SystemError";
|
|
49
50
|
is(error: unknown): error is BaseError;
|
|
50
|
-
wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions,
|
|
51
|
+
wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions, 'cause'> & {
|
|
51
52
|
ifTypeDiffers?: boolean;
|
|
52
53
|
}): (error: unknown) => {
|
|
54
|
+
cause?: unknown;
|
|
55
|
+
stack?: string;
|
|
53
56
|
name: "SystemError";
|
|
54
57
|
context: Record<string, unknown>;
|
|
55
58
|
readonly message: string;
|
|
56
59
|
readonly _tag: "SystemError";
|
|
57
|
-
stack?: string;
|
|
58
|
-
cause?: unknown;
|
|
59
60
|
};
|
|
60
61
|
extend<Name extends string = string>(name: Name, message?: string): any;
|
|
61
|
-
isError(error: unknown): error is Error;
|
|
62
62
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
63
63
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
64
64
|
stackTraceLimit: number;
|
|
@@ -71,27 +71,27 @@ export declare class SystemError extends SystemError_base {
|
|
|
71
71
|
}
|
|
72
72
|
declare const DatabaseError_base: {
|
|
73
73
|
new (options?: import("@dxos/errors").BaseErrorOptions): {
|
|
74
|
+
cause?: unknown;
|
|
75
|
+
stack?: string;
|
|
74
76
|
name: "DatabaseError";
|
|
75
77
|
context: Record<string, unknown>;
|
|
76
78
|
readonly message: string;
|
|
77
79
|
readonly _tag: "DatabaseError";
|
|
78
|
-
stack?: string;
|
|
79
|
-
cause?: unknown;
|
|
80
80
|
};
|
|
81
|
+
isError(error: unknown): error is Error;
|
|
81
82
|
name: "DatabaseError";
|
|
82
83
|
is(error: unknown): error is BaseError;
|
|
83
|
-
wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions,
|
|
84
|
+
wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions, 'cause'> & {
|
|
84
85
|
ifTypeDiffers?: boolean;
|
|
85
86
|
}): (error: unknown) => {
|
|
87
|
+
cause?: unknown;
|
|
88
|
+
stack?: string;
|
|
86
89
|
name: "DatabaseError";
|
|
87
90
|
context: Record<string, unknown>;
|
|
88
91
|
readonly message: string;
|
|
89
92
|
readonly _tag: "DatabaseError";
|
|
90
|
-
stack?: string;
|
|
91
|
-
cause?: unknown;
|
|
92
93
|
};
|
|
93
94
|
extend<Name extends string = string>(name: Name, message?: string): any;
|
|
94
|
-
isError(error: unknown): error is Error;
|
|
95
95
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
96
96
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
97
97
|
stackTraceLimit: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-errors.d.ts","sourceRoot":"","sources":["../../../src/errors/base-errors.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"base-errors.d.ts","sourceRoot":"","sources":["../../../src/errors/base-errors.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzC;;;GAGG;AACH,qBAAa,QAAS,SAAQ,aAA4B;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D;;;GAGG;AACH,qBAAa,WAAY,SAAQ,gBAA+B;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnE;;GAEG;AACH,qBAAa,aAAc,SAAQ,kBAAiC;CAAG"}
|
|
@@ -3,5 +3,5 @@ export declare const encodeError: (err: any) => SerializedErrorProto;
|
|
|
3
3
|
export type DecodeOptions = {
|
|
4
4
|
appendStack?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const decodeError: (err: SerializedErrorProto, { appendStack }?: DecodeOptions) =>
|
|
6
|
+
export declare const decodeError: (err: SerializedErrorProto, { appendStack }?: DecodeOptions) => import("@dxos/errors").BaseError<string> | Error;
|
|
7
7
|
//# sourceMappingURL=encoding.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../src/errors/encoding.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGhF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../src/errors/encoding.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGhF,eAAO,MAAM,WAAW,QAAS,GAAG,KAAG,oBAiBtC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,WAAW,QAAS,oBAAoB,oBAAmB,aAAa,qDASpF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../../src/errors/encoding.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAGF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAwB,EAAE;IAC5D,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,EAAE,OAAO,EAAE,CAAC;QAC5C,OAAO;YACL,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC;IACJ,CAAC;SAAM,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QACnC,OAAO;YACL,OAAO,EAAE,GAAG;SACb,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;SAC7B,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAyB,EAAE,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../../src/errors/encoding.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAGF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAwB,EAAE;IAC5D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