@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
|
@@ -20,7 +20,7 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
20
20
|
* Describes the file dxos/halo/credentials.proto.
|
|
21
21
|
*/
|
|
22
22
|
export const file_dxos_halo_credentials: GenFile = /*@__PURE__*/
|
|
23
|
-
fileDesc("
|
|
23
|
+
fileDesc("ChtkeG9zL2hhbG8vY3JlZGVudGlhbHMucHJvdG8SFWR4b3MuaGFsby5jcmVkZW50aWFscyKJAQoMU3BhY2VHZW5lc2lzEicKCXNwYWNlX2tleRgBIAEoCzIULmR4b3Mua2V5cy5QdWJsaWNLZXkSDAoEdGFncxgCIAMoCRJCChFtZW1iZXJzaGlwX3BvbGljeRgDIAEoDjInLmR4b3MuaGFsby5jcmVkZW50aWFscy5NZW1iZXJzaGlwUG9saWN5Ip8DCgtTcGFjZU1lbWJlchInCglzcGFjZV9rZXkYASABKAsyFC5keG9zLmtleXMuUHVibGljS2V5EjUKBHJvbGUYAiABKA4yJy5keG9zLmhhbG8uY3JlZGVudGlhbHMuU3BhY2VNZW1iZXIuUm9sZRIMCgR0YWdzGAYgAygJEjwKB3Byb2ZpbGUYAyABKAsyJi5keG9zLmhhbG8uY3JlZGVudGlhbHMuUHJvZmlsZURvY3VtZW50SACIAQESLgoQZ2VuZXNpc19mZWVkX2tleRgEIAEoCzIULmR4b3Mua2V5cy5QdWJsaWNLZXkSOwoYaW52aXRhdGlvbl9jcmVkZW50aWFsX2lkGAUgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleUgBiAEBIk4KBFJvbGUSCwoHSU5WQUxJRBAAEgkKBUFETUlOEAESCgoGRURJVE9SEAISCgoGUkVBREVS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TktOT1dOEAASCwoHQlJPV1NFUhABEgoKBk5BVElWRRACEgkKBUFHRU5UEAMSEQoNQUdFTlRfTUFOQUdFRBAEEgoKBk1PQklMRRAFQjZaNGdpdGh1Yi5jb20vZHhvcy9keG9zL3Byb3RvL2RlZi9keG9zL2hhbG8vY3JlZGVudGlhbHNiBnByb3RvMw", [file_google_protobuf_any, file_google_protobuf_struct, file_google_protobuf_timestamp, file_dxos_echo_timeframe, file_dxos_keys]);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* [ASSERTION]
|
|
@@ -177,6 +177,37 @@ export type MemberProfile = Message<"dxos.halo.credentials.MemberProfile"> & {
|
|
|
177
177
|
export const MemberProfileSchema: GenMessage<MemberProfile> = /*@__PURE__*/
|
|
178
178
|
messageDesc(file_dxos_halo_credentials, 2);
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* [ASSERTION]: Space has been tombstoned (soft-deleted) by its owner.
|
|
182
|
+
* Written to the identity's HALO so the deletion replicates across the user's devices.
|
|
183
|
+
* A tombstone stops replication and unloads the space; data is not removed until garbage collection.
|
|
184
|
+
*
|
|
185
|
+
* @generated from message dxos.halo.credentials.SpaceDeleted
|
|
186
|
+
*/
|
|
187
|
+
export type SpaceDeleted = Message<"dxos.halo.credentials.SpaceDeleted"> & {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: dxos.keys.PublicKey space_key = 1;
|
|
190
|
+
*/
|
|
191
|
+
spaceKey?: PublicKey;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: google.protobuf.Timestamp deleted_at = 2;
|
|
195
|
+
*/
|
|
196
|
+
deletedAt?: Timestamp;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: optional string reason = 3;
|
|
200
|
+
*/
|
|
201
|
+
reason?: string;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message dxos.halo.credentials.SpaceDeleted.
|
|
206
|
+
* Use `create(SpaceDeletedSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export const SpaceDeletedSchema: GenMessage<SpaceDeleted> = /*@__PURE__*/
|
|
209
|
+
messageDesc(file_dxos_halo_credentials, 3);
|
|
210
|
+
|
|
180
211
|
/**
|
|
181
212
|
* [ASSERTION]: Device is authorized to sign messages for a given Agent (Identity).
|
|
182
213
|
* NOTE: Devices are Admitted to Identities.
|
|
@@ -202,7 +233,7 @@ export type AuthorizedDevice = Message<"dxos.halo.credentials.AuthorizedDevice">
|
|
|
202
233
|
* Use `create(AuthorizedDeviceSchema)` to create a new message.
|
|
203
234
|
*/
|
|
204
235
|
export const AuthorizedDeviceSchema: GenMessage<AuthorizedDevice> = /*@__PURE__*/
|
|
205
|
-
messageDesc(file_dxos_halo_credentials,
|
|
236
|
+
messageDesc(file_dxos_halo_credentials, 4);
|
|
206
237
|
|
|
207
238
|
/**
|
|
208
239
|
* [ASSERTION]: Feed is admitted to the Space for replication.
|
|
@@ -246,7 +277,7 @@ export type AdmittedFeed = Message<"dxos.halo.credentials.AdmittedFeed"> & {
|
|
|
246
277
|
* Use `create(AdmittedFeedSchema)` to create a new message.
|
|
247
278
|
*/
|
|
248
279
|
export const AdmittedFeedSchema: GenMessage<AdmittedFeed> = /*@__PURE__*/
|
|
249
|
-
messageDesc(file_dxos_halo_credentials,
|
|
280
|
+
messageDesc(file_dxos_halo_credentials, 5);
|
|
250
281
|
|
|
251
282
|
/**
|
|
252
283
|
* @generated from enum dxos.halo.credentials.AdmittedFeed.Designation
|
|
@@ -278,7 +309,7 @@ export enum AdmittedFeed_Designation {
|
|
|
278
309
|
* Describes the enum dxos.halo.credentials.AdmittedFeed.Designation.
|
|
279
310
|
*/
|
|
280
311
|
export const AdmittedFeed_DesignationSchema: GenEnum<AdmittedFeed_Designation> = /*@__PURE__*/
|
|
281
|
-
enumDesc(file_dxos_halo_credentials,
|
|
312
|
+
enumDesc(file_dxos_halo_credentials, 5, 0);
|
|
282
313
|
|
|
283
314
|
/**
|
|
284
315
|
* [ASSERTION]: New epoch is started in the space.
|
|
@@ -329,7 +360,7 @@ export type Epoch = Message<"dxos.halo.credentials.Epoch"> & {
|
|
|
329
360
|
* Use `create(EpochSchema)` to create a new message.
|
|
330
361
|
*/
|
|
331
362
|
export const EpochSchema: GenMessage<Epoch> = /*@__PURE__*/
|
|
332
|
-
messageDesc(file_dxos_halo_credentials,
|
|
363
|
+
messageDesc(file_dxos_halo_credentials, 6);
|
|
333
364
|
|
|
334
365
|
/**
|
|
335
366
|
* / [ASSERTION]: Associates a space that will implement Agent's HALO with an Identity.
|
|
@@ -355,7 +386,7 @@ export type HaloSpace = Message<"dxos.halo.credentials.HaloSpace"> & {
|
|
|
355
386
|
* Use `create(HaloSpaceSchema)` to create a new message.
|
|
356
387
|
*/
|
|
357
388
|
export const HaloSpaceSchema: GenMessage<HaloSpace> = /*@__PURE__*/
|
|
358
|
-
messageDesc(file_dxos_halo_credentials,
|
|
389
|
+
messageDesc(file_dxos_halo_credentials, 7);
|
|
359
390
|
|
|
360
391
|
/**
|
|
361
392
|
* / [ASSERTION]: Grants recovery permissions to a recovery key.
|
|
@@ -395,7 +426,7 @@ export type IdentityRecovery = Message<"dxos.halo.credentials.IdentityRecovery">
|
|
|
395
426
|
* Use `create(IdentityRecoverySchema)` to create a new message.
|
|
396
427
|
*/
|
|
397
428
|
export const IdentityRecoverySchema: GenMessage<IdentityRecovery> = /*@__PURE__*/
|
|
398
|
-
messageDesc(file_dxos_halo_credentials,
|
|
429
|
+
messageDesc(file_dxos_halo_credentials, 8);
|
|
399
430
|
|
|
400
431
|
/**
|
|
401
432
|
* @generated from message dxos.halo.credentials.ProfileDocument
|
|
@@ -424,7 +455,7 @@ export type ProfileDocument = Message<"dxos.halo.credentials.ProfileDocument"> &
|
|
|
424
455
|
* Use `create(ProfileDocumentSchema)` to create a new message.
|
|
425
456
|
*/
|
|
426
457
|
export const ProfileDocumentSchema: GenMessage<ProfileDocument> = /*@__PURE__*/
|
|
427
|
-
messageDesc(file_dxos_halo_credentials,
|
|
458
|
+
messageDesc(file_dxos_halo_credentials, 9);
|
|
428
459
|
|
|
429
460
|
/**
|
|
430
461
|
* / [ASSERTION]: Sets profile information.
|
|
@@ -445,7 +476,7 @@ export type IdentityProfile = Message<"dxos.halo.credentials.IdentityProfile"> &
|
|
|
445
476
|
* Use `create(IdentityProfileSchema)` to create a new message.
|
|
446
477
|
*/
|
|
447
478
|
export const IdentityProfileSchema: GenMessage<IdentityProfile> = /*@__PURE__*/
|
|
448
|
-
messageDesc(file_dxos_halo_credentials,
|
|
479
|
+
messageDesc(file_dxos_halo_credentials, 10);
|
|
449
480
|
|
|
450
481
|
/**
|
|
451
482
|
* @generated from message dxos.halo.credentials.DeviceProfileDocument
|
|
@@ -494,7 +525,7 @@ export type DeviceProfileDocument = Message<"dxos.halo.credentials.DeviceProfile
|
|
|
494
525
|
* Use `create(DeviceProfileDocumentSchema)` to create a new message.
|
|
495
526
|
*/
|
|
496
527
|
export const DeviceProfileDocumentSchema: GenMessage<DeviceProfileDocument> = /*@__PURE__*/
|
|
497
|
-
messageDesc(file_dxos_halo_credentials,
|
|
528
|
+
messageDesc(file_dxos_halo_credentials, 11);
|
|
498
529
|
|
|
499
530
|
/**
|
|
500
531
|
* / [ASSERTION]: Sets device profile information.
|
|
@@ -513,7 +544,7 @@ export type DeviceProfile = Message<"dxos.halo.credentials.DeviceProfile"> & {
|
|
|
513
544
|
* Use `create(DeviceProfileSchema)` to create a new message.
|
|
514
545
|
*/
|
|
515
546
|
export const DeviceProfileSchema: GenMessage<DeviceProfile> = /*@__PURE__*/
|
|
516
|
-
messageDesc(file_dxos_halo_credentials,
|
|
547
|
+
messageDesc(file_dxos_halo_credentials, 12);
|
|
517
548
|
|
|
518
549
|
/**
|
|
519
550
|
* / [ASSERTION]: Sets default space for identity.
|
|
@@ -533,7 +564,7 @@ export type DefaultSpace = Message<"dxos.halo.credentials.DefaultSpace"> & {
|
|
|
533
564
|
* Use `create(DefaultSpaceSchema)` to create a new message.
|
|
534
565
|
*/
|
|
535
566
|
export const DefaultSpaceSchema: GenMessage<DefaultSpace> = /*@__PURE__*/
|
|
536
|
-
messageDesc(file_dxos_halo_credentials,
|
|
567
|
+
messageDesc(file_dxos_halo_credentials, 13);
|
|
537
568
|
|
|
538
569
|
/**
|
|
539
570
|
* [ASSERTION]: Identity is authorized to access a KUBE.
|
|
@@ -562,7 +593,7 @@ export type KubeAccess = Message<"dxos.halo.credentials.KubeAccess"> & {
|
|
|
562
593
|
* Use `create(KubeAccessSchema)` to create a new message.
|
|
563
594
|
*/
|
|
564
595
|
export const KubeAccessSchema: GenMessage<KubeAccess> = /*@__PURE__*/
|
|
565
|
-
messageDesc(file_dxos_halo_credentials,
|
|
596
|
+
messageDesc(file_dxos_halo_credentials, 14);
|
|
566
597
|
|
|
567
598
|
/**
|
|
568
599
|
* [ASSERTION]: Identity is authorized to access an external server.
|
|
@@ -601,7 +632,7 @@ export type ServiceAccess = Message<"dxos.halo.credentials.ServiceAccess"> & {
|
|
|
601
632
|
* Use `create(ServiceAccessSchema)` to create a new message.
|
|
602
633
|
*/
|
|
603
634
|
export const ServiceAccessSchema: GenMessage<ServiceAccess> = /*@__PURE__*/
|
|
604
|
-
messageDesc(file_dxos_halo_credentials,
|
|
635
|
+
messageDesc(file_dxos_halo_credentials, 15);
|
|
605
636
|
|
|
606
637
|
/**
|
|
607
638
|
* / Metadata associated with a key.
|
|
@@ -621,7 +652,7 @@ export type KeyInfo = Message<"dxos.halo.credentials.KeyInfo"> & {
|
|
|
621
652
|
* Use `create(KeyInfoSchema)` to create a new message.
|
|
622
653
|
*/
|
|
623
654
|
export const KeyInfoSchema: GenMessage<KeyInfo> = /*@__PURE__*/
|
|
624
|
-
messageDesc(file_dxos_halo_credentials,
|
|
655
|
+
messageDesc(file_dxos_halo_credentials, 16);
|
|
625
656
|
|
|
626
657
|
/**
|
|
627
658
|
* / Assertion for agents authenticating in the space swarm.
|
|
@@ -636,7 +667,7 @@ export type Auth = Message<"dxos.halo.credentials.Auth"> & {
|
|
|
636
667
|
* Use `create(AuthSchema)` to create a new message.
|
|
637
668
|
*/
|
|
638
669
|
export const AuthSchema: GenMessage<Auth> = /*@__PURE__*/
|
|
639
|
-
messageDesc(file_dxos_halo_credentials,
|
|
670
|
+
messageDesc(file_dxos_halo_credentials, 17);
|
|
640
671
|
|
|
641
672
|
/**
|
|
642
673
|
* @generated from message dxos.halo.credentials.Claim
|
|
@@ -660,7 +691,7 @@ export type Claim = Message<"dxos.halo.credentials.Claim"> & {
|
|
|
660
691
|
* Use `create(ClaimSchema)` to create a new message.
|
|
661
692
|
*/
|
|
662
693
|
export const ClaimSchema: GenMessage<Claim> = /*@__PURE__*/
|
|
663
|
-
messageDesc(file_dxos_halo_credentials,
|
|
694
|
+
messageDesc(file_dxos_halo_credentials, 18);
|
|
664
695
|
|
|
665
696
|
/**
|
|
666
697
|
* @generated from message dxos.halo.credentials.Proof
|
|
@@ -715,7 +746,7 @@ export type Proof = Message<"dxos.halo.credentials.Proof"> & {
|
|
|
715
746
|
* Use `create(ProofSchema)` to create a new message.
|
|
716
747
|
*/
|
|
717
748
|
export const ProofSchema: GenMessage<Proof> = /*@__PURE__*/
|
|
718
|
-
messageDesc(file_dxos_halo_credentials,
|
|
749
|
+
messageDesc(file_dxos_halo_credentials, 19);
|
|
719
750
|
|
|
720
751
|
/**
|
|
721
752
|
* *
|
|
@@ -745,7 +776,7 @@ export type Chain = Message<"dxos.halo.credentials.Chain"> & {
|
|
|
745
776
|
* Use `create(ChainSchema)` to create a new message.
|
|
746
777
|
*/
|
|
747
778
|
export const ChainSchema: GenMessage<Chain> = /*@__PURE__*/
|
|
748
|
-
messageDesc(file_dxos_halo_credentials,
|
|
779
|
+
messageDesc(file_dxos_halo_credentials, 20);
|
|
749
780
|
|
|
750
781
|
/**
|
|
751
782
|
* @generated from message dxos.halo.credentials.Credential
|
|
@@ -805,7 +836,7 @@ export type Credential = Message<"dxos.halo.credentials.Credential"> & {
|
|
|
805
836
|
* Use `create(CredentialSchema)` to create a new message.
|
|
806
837
|
*/
|
|
807
838
|
export const CredentialSchema: GenMessage<Credential> = /*@__PURE__*/
|
|
808
|
-
messageDesc(file_dxos_halo_credentials,
|
|
839
|
+
messageDesc(file_dxos_halo_credentials, 21);
|
|
809
840
|
|
|
810
841
|
/**
|
|
811
842
|
* @generated from message dxos.halo.credentials.Presentation
|
|
@@ -827,7 +858,7 @@ export type Presentation = Message<"dxos.halo.credentials.Presentation"> & {
|
|
|
827
858
|
* Use `create(PresentationSchema)` to create a new message.
|
|
828
859
|
*/
|
|
829
860
|
export const PresentationSchema: GenMessage<Presentation> = /*@__PURE__*/
|
|
830
|
-
messageDesc(file_dxos_halo_credentials,
|
|
861
|
+
messageDesc(file_dxos_halo_credentials, 22);
|
|
831
862
|
|
|
832
863
|
/**
|
|
833
864
|
* @generated from enum dxos.halo.credentials.MembershipPolicy
|
|
@@ -24,7 +24,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
24
24
|
* Describes the file dxos/halo/invitations.proto.
|
|
25
25
|
*/
|
|
26
26
|
export const file_dxos_halo_invitations: GenFile = /*@__PURE__*/
|
|
27
|
-
fileDesc("
|
|
27
|
+
fileDesc("ChtkeG9zL2hhbG8vaW52aXRhdGlvbnMucHJvdG8SFWR4b3MuaGFsby5pbnZpdGF0aW9ucyJ6ChFJbnZpdGF0aW9uT3B0aW9ucxI7CgRyb2xlGAEgASgOMi0uZHhvcy5oYWxvLmludml0YXRpb25zLkludml0YXRpb25PcHRpb25zLlJvbGUiKAoEUm9sZRILCgdJTlZBTElEEAASCQoFR1VFU1QQARIICgRIT1NUEAIijQEKE0ludHJvZHVjdGlvblJlcXVlc3QSPAoHcHJvZmlsZRgBIAEoCzImLmR4b3MuaGFsby5jcmVkZW50aWFscy5Qcm9maWxlRG9jdW1lbnRIAIgBARIaCg1pbnZpdGF0aW9uX2lkGAIgASgJSAGIAQFCCgoIX3Byb2ZpbGVCEAoOX2lud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sby5pbnZpdGF0aW9ucy5JbnRyb2R1Y3Rpb25SZXF1ZXN0GisuZHhvcy5oYWxvLmludml0YXRpb25zLkludHJvZHVjdGlvblJlc3BvbnNlEmsKDEF1dGhlbnRpY2F0ZRIsLmR4b3MuaGFsby5pbnZpdGF0aW9ucy5BdXRoZW50aWNhdGlvblJlcXVlc3QaLS5keG9zLmhhbG8uaW52aXRhdGlvbnMuQXV0aGVudGljYXRpb25SZXNwb25zZRJaCgVBZG1pdBInLmR4b3MuaGFsby5pbnZpdGF0aW9ucy5BZG1pc3Npb25SZXF1ZXN0GiguZHhvcy5oYWxvLmludml0YXRpb25zLkFkbWlzc2lvblJlc3BvbnNlYgZwcm90bzM", [file_google_protobuf_empty, file_google_protobuf_timestamp, file_dxos_client_invitation, file_dxos_echo_timeframe, file_dxos_halo_credentials, file_dxos_keys]);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* @generated from message dxos.halo.invitations.InvitationOptions
|
|
@@ -50,14 +50,22 @@ export const InvitationOptionsSchema: GenMessage<InvitationOptions> = /*@__PURE_
|
|
|
50
50
|
*/
|
|
51
51
|
export enum InvitationOptions_Role {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Sentinel so neither real role is the proto3 default (which is stripped on the wire,
|
|
54
|
+
* causing the receiver to see `role === undefined` and reject with InvalidInvitationExtensionRoleError).
|
|
55
|
+
*
|
|
56
|
+
* @generated from enum value: INVALID = 0;
|
|
57
|
+
*/
|
|
58
|
+
INVALID = 0,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum value: GUEST = 1;
|
|
54
62
|
*/
|
|
55
|
-
GUEST =
|
|
63
|
+
GUEST = 1,
|
|
56
64
|
|
|
57
65
|
/**
|
|
58
|
-
* @generated from enum value: HOST =
|
|
66
|
+
* @generated from enum value: HOST = 2;
|
|
59
67
|
*/
|
|
60
|
-
HOST =
|
|
68
|
+
HOST = 2,
|
|
61
69
|
}
|
|
62
70
|
|
|
63
71
|
/**
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { type SpaceId } from '@dxos/keys';
|
|
5
|
+
import { type SpaceId, type URI } from '@dxos/keys';
|
|
6
6
|
|
|
7
7
|
import type * as FeedProtocol from '../FeedProtocol';
|
|
8
|
+
import type { SerializedError } from '../index';
|
|
8
9
|
import { type QueryRequest, type QueryResponse } from '../proto/gen/dxos/echo/query';
|
|
9
10
|
import { type CreateDocumentResponse } from '../proto/gen/dxos/echo/service';
|
|
10
11
|
|
|
@@ -32,7 +33,7 @@ Expected to return `FunctionMetadata` in JSON:
|
|
|
32
33
|
|
|
33
34
|
POST http://functions.dxos.internal/
|
|
34
35
|
Content-Type: application/json
|
|
35
|
-
X-Trace-Queue-Dxn:
|
|
36
|
+
X-Trace-Queue-Dxn: echo://AAAAAA/BBBBBB
|
|
36
37
|
X-Invocation-Id: XXXXXXX
|
|
37
38
|
X-Edge-Env: production
|
|
38
39
|
|
|
@@ -114,6 +115,42 @@ export interface FunctionsAiService {
|
|
|
114
115
|
fetch(request: Request): Promise<RpcResult<Response>>;
|
|
115
116
|
}
|
|
116
117
|
|
|
118
|
+
export type FunctionInvokeOptions = {
|
|
119
|
+
spaceId?: SpaceId;
|
|
120
|
+
/**
|
|
121
|
+
* URI of the conversation feed (queue).
|
|
122
|
+
* Forwarded into the function context so nested operations can resolve
|
|
123
|
+
* `AiContext.Service` and related conversation-scoped services.
|
|
124
|
+
*/
|
|
125
|
+
conversation?: URI.URI;
|
|
126
|
+
cpuTimeLimit?: number;
|
|
127
|
+
subrequestsLimit?: number;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export type FunctionInvokeResult =
|
|
131
|
+
| {
|
|
132
|
+
_kind: 'success';
|
|
133
|
+
data: unknown;
|
|
134
|
+
}
|
|
135
|
+
| {
|
|
136
|
+
_kind: 'error';
|
|
137
|
+
error: SerializedError;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
export interface FunctionsQuery {
|
|
141
|
+
spaceId?: SpaceId;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export interface FunctionsService {
|
|
145
|
+
query(query: FunctionsQuery): Promise<RpcResult<unknown[]>>; // TODO(dmaretskyi): The type is Operation.PersistentOperation[].
|
|
146
|
+
|
|
147
|
+
invoke(
|
|
148
|
+
deploymentId: string,
|
|
149
|
+
input: unknown,
|
|
150
|
+
options?: FunctionInvokeOptions,
|
|
151
|
+
): Promise<RpcResult<FunctionInvokeResult>>;
|
|
152
|
+
}
|
|
153
|
+
|
|
117
154
|
export type ObjectDocumentJson = {
|
|
118
155
|
type?: string;
|
|
119
156
|
objectId: string;
|
|
@@ -135,7 +172,7 @@ export type ObjectSnapshot = {
|
|
|
135
172
|
type?: string;
|
|
136
173
|
documentId: string;
|
|
137
174
|
objectId: string;
|
|
138
|
-
// TODO(mykola): Use
|
|
175
|
+
// TODO(mykola): Use EntityStructure from @dxos/echo-protocol.
|
|
139
176
|
object: unknown;
|
|
140
177
|
};
|
|
141
178
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Schema from 'effect/Schema';
|
|
6
|
+
import { describe, expect, test } from 'vitest';
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
INVITATION_CODE_ALPHABET,
|
|
10
|
+
INVITATION_CODE_LENGTH,
|
|
11
|
+
InvitationCodeSchema,
|
|
12
|
+
RedeemInvitationCodeRequestSchema,
|
|
13
|
+
} from './edge.ts';
|
|
14
|
+
|
|
15
|
+
describe('InvitationCodeSchema', () => {
|
|
16
|
+
test('accepts well-formed codes', () => {
|
|
17
|
+
const decode = Schema.decodeUnknownSync(InvitationCodeSchema);
|
|
18
|
+
expect(decode('AB12CDEF')).toBe('AB12CDEF');
|
|
19
|
+
expect(decode('00000000')).toBe('00000000');
|
|
20
|
+
expect(decode('ZZZZZZZZ')).toBe('ZZZZZZZZ');
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
test('rejects wrong length', () => {
|
|
24
|
+
const decode = Schema.decodeUnknownSync(InvitationCodeSchema);
|
|
25
|
+
expect(() => decode('ABC')).toThrow();
|
|
26
|
+
expect(() => decode('ABCDEFGHI')).toThrow();
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
test('rejects ambiguous characters (Crockford excludes I, L, O, U)', () => {
|
|
30
|
+
const decode = Schema.decodeUnknownSync(InvitationCodeSchema);
|
|
31
|
+
expect(() => decode('IIIIIIII')).toThrow();
|
|
32
|
+
expect(() => decode('LLLLLLLL')).toThrow();
|
|
33
|
+
expect(() => decode('OOOOOOOO')).toThrow();
|
|
34
|
+
expect(() => decode('UUUUUUUU')).toThrow();
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
test('alphabet has the expected length', () => {
|
|
38
|
+
expect(INVITATION_CODE_ALPHABET).toHaveLength(32);
|
|
39
|
+
expect(INVITATION_CODE_LENGTH).toBe(8);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
describe('RedeemInvitationCodeRequestSchema', () => {
|
|
44
|
+
test('requires all three fields with valid code', () => {
|
|
45
|
+
const decode = Schema.decodeUnknownSync(RedeemInvitationCodeRequestSchema);
|
|
46
|
+
const request = decode({
|
|
47
|
+
code: 'AB12CDEF',
|
|
48
|
+
identityKey: 'identity-hex',
|
|
49
|
+
email: 'user@example.com',
|
|
50
|
+
});
|
|
51
|
+
expect(request.code).toBe('AB12CDEF');
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
test('rejects malformed code in request', () => {
|
|
55
|
+
const decode = Schema.decodeUnknownSync(RedeemInvitationCodeRequestSchema);
|
|
56
|
+
expect(() =>
|
|
57
|
+
decode({
|
|
58
|
+
code: 'lowercase',
|
|
59
|
+
identityKey: 'identity-hex',
|
|
60
|
+
email: 'user@example.com',
|
|
61
|
+
}),
|
|
62
|
+
).toThrow();
|
|
63
|
+
});
|
|
64
|
+
});
|