@dxos/protocols 0.7.5-labs.e27f9b9 → 0.7.5-labs.f400bbc
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/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.d.ts +91 -4
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.js +59 -49
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +42 -46
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.d.ts.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.js +11 -11
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.js.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +9 -3
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/cjs/src/edge.d.ts +15 -9
- package/dist/cjs/src/edge.d.ts.map +1 -1
- package/dist/cjs/src/edge.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +42 -2
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/edge/calls.d.ts +20 -26
- package/dist/cjs/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +9 -2
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +3 -1
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.d.ts +91 -4
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.js +57 -47
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +42 -46
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.d.ts.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.js +10 -10
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.js.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +9 -3
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/esm/src/edge.d.ts +15 -9
- package/dist/esm/src/edge.d.ts.map +1 -1
- package/dist/esm/src/edge.js.map +1 -1
- package/dist/esm/src/feed-replication.js +0 -1
- package/dist/esm/src/proto/gen/dxos/agent/echoproxy.js +0 -1
- package/dist/esm/src/proto/gen/dxos/agent/epoch.js +0 -1
- package/dist/esm/src/proto/gen/dxos/agent/functions.js +0 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +42 -2
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.js +0 -1
- package/dist/esm/src/proto/gen/dxos/devtools/swarm.js +0 -1
- package/dist/esm/src/proto/gen/dxos/echo/feed.js +0 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/messenger.js +0 -1
- package/dist/esm/src/proto/gen/dxos/echo/service.js +0 -1
- package/dist/esm/src/proto/gen/dxos/echo/snapshot.js +0 -1
- package/dist/esm/src/proto/gen/dxos/echo/timeframe.js +0 -1
- package/dist/esm/src/proto/gen/dxos/edge/calls.d.ts +20 -26
- package/dist/esm/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/edge/calls.js +0 -1
- package/dist/esm/src/proto/gen/dxos/edge/signal.js +0 -1
- package/dist/esm/src/proto/gen/dxos/error.js +0 -1
- package/dist/esm/src/proto/gen/dxos/gravity.js +0 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/auth.js +0 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/identity.js +0 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +9 -2
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keyring.js +0 -1
- package/dist/esm/src/proto/gen/dxos/halo/signed.js +0 -1
- package/dist/esm/src/proto/gen/dxos/keys.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/broadcast.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/messaging.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/muxer.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/presence.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/protocol.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/replicator.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/swarm.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/automerge.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/blobsync.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.js +0 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport.js +0 -1
- package/dist/esm/src/proto/gen/dxos/registry.js +0 -1
- package/dist/esm/src/proto/gen/dxos/service/publisher.js +0 -1
- package/dist/esm/src/proto/gen/dxos/service/tunnel.js +0 -1
- package/dist/esm/src/proto/gen/dxos/type.js +0 -1
- package/dist/esm/src/proto/gen/dxos/value.js +0 -1
- package/dist/esm/src/proto/gen/example/testing/data.js +0 -1
- package/dist/esm/src/proto/gen/example/testing/rpc.js +0 -1
- package/dist/esm/src/proto/gen/index.d.ts +3 -1
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/dist/esm/src/proto/types.js +0 -1
- package/dist/esm/src/queue.js +0 -1
- package/dist/esm/src/types.js +0 -1
- package/package.json +7 -7
- package/src/buf/proto/gen/dxos/client/services_pb.ts +149 -51
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +48 -53
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +11 -4
- package/src/edge.ts +19 -9
- package/src/proto/dxos/client/services.proto +25 -2
- package/src/proto/dxos/edge/calls.proto +23 -23
- package/src/proto/dxos/halo/credentials.proto +4 -2
- package/src/proto/gen/dxos/client/services.ts +42 -2
- package/src/proto/gen/dxos/edge/calls.ts +20 -26
- package/src/proto/gen/dxos/halo/credentials.ts +9 -2
- package/src/proto/gen/index.ts +4 -2
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file dxos/edge/calls.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const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vdG8z", [file_dxos_keys]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @generated from message dxos.edge.calls.Tracks
|
|
@@ -47,9 +47,9 @@ export type Tracks = Message<"dxos.edge.calls.Tracks"> & {
|
|
|
47
47
|
screenshare?: string;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* @generated from field: optional bool
|
|
50
|
+
* @generated from field: optional bool screenshare_enabled = 6;
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
screenshareEnabled?: boolean;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -59,44 +59,6 @@ export type Tracks = Message<"dxos.edge.calls.Tracks"> & {
|
|
|
59
59
|
export const TracksSchema: GenMessage<Tracks> = /*@__PURE__*/
|
|
60
60
|
messageDesc(file_dxos_edge_calls, 0);
|
|
61
61
|
|
|
62
|
-
/**
|
|
63
|
-
* *
|
|
64
|
-
* Transcription settings.
|
|
65
|
-
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
66
|
-
*
|
|
67
|
-
* @generated from message dxos.edge.calls.Transcription
|
|
68
|
-
*/
|
|
69
|
-
export type Transcription = Message<"dxos.edge.calls.Transcription"> & {
|
|
70
|
-
/**
|
|
71
|
-
* @generated from field: bool enabled = 1;
|
|
72
|
-
*/
|
|
73
|
-
enabled: boolean;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* *
|
|
77
|
-
* Lamport timestamp of when the state was set.
|
|
78
|
-
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
79
|
-
*
|
|
80
|
-
* @generated from field: int32 lamport_timestamp = 2;
|
|
81
|
-
*/
|
|
82
|
-
lamportTimestamp: number;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* *
|
|
86
|
-
* Object ID of where the transcription should be stored.
|
|
87
|
-
*
|
|
88
|
-
* @generated from field: string object_id = 3;
|
|
89
|
-
*/
|
|
90
|
-
objectId: string;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Describes the message dxos.edge.calls.Transcription.
|
|
95
|
-
* Use `create(TranscriptionSchema)` to create a new message.
|
|
96
|
-
*/
|
|
97
|
-
export const TranscriptionSchema: GenMessage<Transcription> = /*@__PURE__*/
|
|
98
|
-
messageDesc(file_dxos_edge_calls, 1);
|
|
99
|
-
|
|
100
62
|
/**
|
|
101
63
|
* @generated from message dxos.edge.calls.UserState
|
|
102
64
|
*/
|
|
@@ -147,32 +109,65 @@ export type UserState = Message<"dxos.edge.calls.UserState"> & {
|
|
|
147
109
|
* Use `create(UserStateSchema)` to create a new message.
|
|
148
110
|
*/
|
|
149
111
|
export const UserStateSchema: GenMessage<UserState> = /*@__PURE__*/
|
|
150
|
-
messageDesc(file_dxos_edge_calls,
|
|
112
|
+
messageDesc(file_dxos_edge_calls, 1);
|
|
151
113
|
|
|
152
114
|
/**
|
|
153
|
-
*
|
|
115
|
+
* *
|
|
116
|
+
* Transcription settings.
|
|
117
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
118
|
+
*
|
|
119
|
+
* @generated from message dxos.edge.calls.Transcription
|
|
154
120
|
*/
|
|
155
|
-
export type
|
|
121
|
+
export type Transcription = Message<"dxos.edge.calls.Transcription"> & {
|
|
156
122
|
/**
|
|
157
|
-
* @generated from field:
|
|
123
|
+
* @generated from field: bool enabled = 1;
|
|
158
124
|
*/
|
|
159
|
-
|
|
125
|
+
enabled: boolean;
|
|
160
126
|
|
|
161
127
|
/**
|
|
162
|
-
* @generated from field:
|
|
128
|
+
* @generated from field: dxos.edge.calls.LamportTimestamp lamport_timestamp = 2;
|
|
163
129
|
*/
|
|
164
|
-
|
|
130
|
+
lamportTimestamp?: LamportTimestamp;
|
|
165
131
|
|
|
166
132
|
/**
|
|
167
|
-
*
|
|
133
|
+
* *
|
|
134
|
+
* Transcription queue DXN.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string queue_dxn = 3;
|
|
168
137
|
*/
|
|
169
|
-
|
|
138
|
+
queueDxn: string;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message dxos.edge.calls.Transcription.
|
|
143
|
+
* Use `create(TranscriptionSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const TranscriptionSchema: GenMessage<Transcription> = /*@__PURE__*/
|
|
146
|
+
messageDesc(file_dxos_edge_calls, 2);
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* *
|
|
150
|
+
* Lamport Timestamp.
|
|
151
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
152
|
+
*
|
|
153
|
+
* @generated from message dxos.edge.calls.LamportTimestamp
|
|
154
|
+
*/
|
|
155
|
+
export type LamportTimestamp = Message<"dxos.edge.calls.LamportTimestamp"> & {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: int32 version = 1;
|
|
158
|
+
*/
|
|
159
|
+
version: number;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string id = 2;
|
|
163
|
+
*/
|
|
164
|
+
id: string;
|
|
170
165
|
};
|
|
171
166
|
|
|
172
167
|
/**
|
|
173
|
-
* Describes the message dxos.edge.calls.
|
|
174
|
-
* Use `create(
|
|
168
|
+
* Describes the message dxos.edge.calls.LamportTimestamp.
|
|
169
|
+
* Use `create(LamportTimestampSchema)` to create a new message.
|
|
175
170
|
*/
|
|
176
|
-
export const
|
|
171
|
+
export const LamportTimestampSchema: GenMessage<LamportTimestamp> = /*@__PURE__*/
|
|
177
172
|
messageDesc(file_dxos_edge_calls, 3);
|
|
178
173
|
|
|
@@ -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("ChtkeG9zL2hhbG8vY3JlZGVudGl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MhQuZHhvcy5rZXlzLlB1YmxpY0tleUIFCgNfaWRCEgoQX2V4cGlyYXRpb25fZGF0ZUIRCg9fZXhwaXJhdGlvbl9yZWZCCAoGX3Byb29mInQKDFByZXNlbnRhdGlvbhI2CgtjcmVkZW50aWFscxgBIAMoCzIhLmR4b3MuaGFsby5jcmVkZW50aWFscy5DcmVkZW50aWFsEiwKBnByb29mcxgCIAMoCzIcLmR4b3MuaGFsby5jcmVkZW50aWFscy5Qcm9vZipcCgpEZXZpY2VUeXBlEgsKB1VOS05PV04QABILCgdCUk9XU0VSEAESCgoGTkFUSVZFEAISCQoFQUdFTlQQAxIRCg1BR0VOVF9NQU5BR0VEEAQSCgoGTU9CSUxFEAVCNlo0Z2l0aHViLmNvbS9keG9zL2R4b3MvcHJvdG8vZGVmL2R4b3MvaGFsby9jcmVkZW50aWFsc2IGcHJvdG8z", [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]
|
|
@@ -359,11 +359,18 @@ export type IdentityRecovery = Message<"dxos.halo.credentials.IdentityRecovery">
|
|
|
359
359
|
recoveryKey?: PublicKey;
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
|
-
* / Algorithm used to derive the recovery key.
|
|
362
|
+
* / Algorithm used to derive the recovery key (e.g., ED25519, ES256, etc.).
|
|
363
363
|
*
|
|
364
|
-
* @generated from field:
|
|
364
|
+
* @generated from field: string algorithm = 3;
|
|
365
365
|
*/
|
|
366
|
-
algorithm:
|
|
366
|
+
algorithm: string;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* / Public key used to identify the recovery key (e.g., passkey user handle).
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: optional dxos.keys.PublicKey lookup_key = 4;
|
|
372
|
+
*/
|
|
373
|
+
lookupKey?: PublicKey;
|
|
367
374
|
};
|
|
368
375
|
|
|
369
376
|
/**
|
package/src/edge.ts
CHANGED
|
@@ -69,18 +69,20 @@ export type JoinSpaceResponseBody = {
|
|
|
69
69
|
spaceGenesisFeedKey: string;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
+
export type RecoverIdentitySignature =
|
|
73
|
+
| string
|
|
74
|
+
// This is the format of the signature from the WebAuthn authenticator.
|
|
75
|
+
| {
|
|
76
|
+
signature: string;
|
|
77
|
+
clientDataJson: string;
|
|
78
|
+
authenticatorData: string;
|
|
79
|
+
};
|
|
80
|
+
|
|
72
81
|
export type RecoverIdentityRequest = {
|
|
73
|
-
/**
|
|
74
|
-
* Required if recoveryKey is not provided.
|
|
75
|
-
*/
|
|
76
|
-
identityDid?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Required if identityDid is not provided.
|
|
79
|
-
*/
|
|
80
|
-
recoveryKey?: string;
|
|
81
82
|
deviceKey: string;
|
|
82
83
|
controlFeedKey: string;
|
|
83
|
-
|
|
84
|
+
lookupKey?: string;
|
|
85
|
+
signature?: RecoverIdentitySignature;
|
|
84
86
|
};
|
|
85
87
|
|
|
86
88
|
export type RecoverIdentityResponseBody = {
|
|
@@ -118,7 +120,15 @@ export type UploadFunctionResponseBody = {
|
|
|
118
120
|
functionId: string;
|
|
119
121
|
version: string;
|
|
120
122
|
meta: {
|
|
123
|
+
description?: string;
|
|
124
|
+
/**
|
|
125
|
+
* JSON Schema for the input of the function.
|
|
126
|
+
*/
|
|
121
127
|
inputSchema?: object;
|
|
128
|
+
/**
|
|
129
|
+
* JSON Schema for the output of the function.
|
|
130
|
+
*/
|
|
131
|
+
outputSchema?: object;
|
|
122
132
|
};
|
|
123
133
|
};
|
|
124
134
|
|
|
@@ -124,16 +124,38 @@ message Identity {
|
|
|
124
124
|
optional halo.credentials.ProfileDocument profile = 3;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
message RequestRecoveryChallengeResponse {
|
|
128
|
+
dxos.keys.PublicKey device_key = 1;
|
|
129
|
+
dxos.keys.PublicKey control_feed_key = 2;
|
|
130
|
+
string challenge = 3;
|
|
131
|
+
}
|
|
132
|
+
|
|
127
133
|
message RecoverIdentityRequest {
|
|
128
|
-
|
|
134
|
+
message ExternalSignature {
|
|
135
|
+
dxos.keys.PublicKey lookup_key = 1;
|
|
136
|
+
dxos.keys.PublicKey device_key = 2;
|
|
137
|
+
dxos.keys.PublicKey control_feed_key = 3;
|
|
138
|
+
bytes signature = 4;
|
|
139
|
+
// These are required to verify the signature from the WebAuthn authenticator.
|
|
140
|
+
optional bytes client_data_json = 5;
|
|
141
|
+
optional bytes authenticator_data = 6;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
oneof request {
|
|
145
|
+
string recovery_code = 1;
|
|
146
|
+
ExternalSignature external = 2;
|
|
147
|
+
}
|
|
129
148
|
}
|
|
130
149
|
|
|
131
150
|
message CreateRecoveryCredentialRequest {
|
|
132
151
|
/// Optional recovery key. If not provided, a new key will be generated.
|
|
133
152
|
optional dxos.keys.PublicKey recovery_key = 1;
|
|
134
153
|
|
|
154
|
+
/// Public key used to identify the recovery key.
|
|
155
|
+
optional dxos.keys.PublicKey lookup_key = 2;
|
|
156
|
+
|
|
135
157
|
/// Algorithm used to generate the recovery key.
|
|
136
|
-
optional
|
|
158
|
+
optional string algorithm = 3;
|
|
137
159
|
}
|
|
138
160
|
|
|
139
161
|
message CreateRecoveryCredentialResponse {
|
|
@@ -159,6 +181,7 @@ message CreateIdentityRequest {
|
|
|
159
181
|
// TODO(wittjosiah): Align pluralization with other services.
|
|
160
182
|
service IdentityService {
|
|
161
183
|
rpc CreateIdentity(CreateIdentityRequest) returns (Identity);
|
|
184
|
+
rpc RequestRecoveryChallenge(google.protobuf.Empty) returns (RequestRecoveryChallengeResponse);
|
|
162
185
|
rpc RecoverIdentity(RecoverIdentityRequest) returns (Identity);
|
|
163
186
|
rpc CreateRecoveryCredential(CreateRecoveryCredentialRequest) returns (CreateRecoveryCredentialResponse);
|
|
164
187
|
rpc QueryIdentity(google.protobuf.Empty) returns (stream QueryIdentityResponse);
|
|
@@ -14,25 +14,7 @@ message Tracks {
|
|
|
14
14
|
optional string video = 3;
|
|
15
15
|
optional bool video_enabled = 4;
|
|
16
16
|
optional string screenshare = 5;
|
|
17
|
-
optional bool
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Transcription settings.
|
|
22
|
-
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
23
|
-
*/
|
|
24
|
-
message Transcription {
|
|
25
|
-
bool enabled = 1;
|
|
26
|
-
/**
|
|
27
|
-
* Lamport timestamp of when the state was set.
|
|
28
|
-
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
29
|
-
*/
|
|
30
|
-
int32 lamport_timestamp = 2;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Object ID of where the transcription should be stored.
|
|
34
|
-
*/
|
|
35
|
-
string object_id = 3;
|
|
17
|
+
optional bool screenshare_enabled = 6;
|
|
36
18
|
}
|
|
37
19
|
|
|
38
20
|
message UserState {
|
|
@@ -46,8 +28,26 @@ message UserState {
|
|
|
46
28
|
optional Transcription transcription = 8;
|
|
47
29
|
}
|
|
48
30
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Transcription settings.
|
|
33
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
34
|
+
*/
|
|
35
|
+
message Transcription {
|
|
36
|
+
bool enabled = 1;
|
|
37
|
+
|
|
38
|
+
LamportTimestamp lamport_timestamp = 2;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Transcription queue DXN.
|
|
42
|
+
*/
|
|
43
|
+
string queue_dxn = 3;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Lamport Timestamp.
|
|
48
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
49
|
+
*/
|
|
50
|
+
message LamportTimestamp {
|
|
51
|
+
int32 version = 1;
|
|
52
|
+
string id = 2;
|
|
53
53
|
}
|
|
@@ -139,8 +139,10 @@ message IdentityRecovery {
|
|
|
139
139
|
dxos.keys.PublicKey identity_key = 1;
|
|
140
140
|
/// Public key derived from the recovery seedphrase.
|
|
141
141
|
dxos.keys.PublicKey recovery_key = 2;
|
|
142
|
-
/// Algorithm used to derive the recovery key.
|
|
143
|
-
|
|
142
|
+
/// Algorithm used to derive the recovery key (e.g., ED25519, ES256, etc.).
|
|
143
|
+
string algorithm = 3;
|
|
144
|
+
/// Public key used to identify the recovery key (e.g., passkey user handle).
|
|
145
|
+
optional dxos.keys.PublicKey lookup_key = 4;
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
message ProfileDocument {
|
|
@@ -606,12 +606,44 @@ export interface Identity {
|
|
|
606
606
|
*/
|
|
607
607
|
profile?: dxos_halo_credentials.ProfileDocument;
|
|
608
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* Defined in:
|
|
611
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
612
|
+
*/
|
|
613
|
+
export interface RequestRecoveryChallengeResponse {
|
|
614
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
615
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
616
|
+
challenge: string;
|
|
617
|
+
}
|
|
609
618
|
/**
|
|
610
619
|
* Defined in:
|
|
611
620
|
* {@link file://./../../../dxos/client/services.proto}
|
|
612
621
|
*/
|
|
613
622
|
export interface RecoverIdentityRequest {
|
|
614
|
-
recoveryCode
|
|
623
|
+
recoveryCode?: string;
|
|
624
|
+
external?: RecoverIdentityRequest.ExternalSignature;
|
|
625
|
+
}
|
|
626
|
+
export namespace RecoverIdentityRequest {
|
|
627
|
+
/**
|
|
628
|
+
* Defined in:
|
|
629
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
630
|
+
*/
|
|
631
|
+
export interface ExternalSignature {
|
|
632
|
+
lookupKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
633
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
634
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
635
|
+
signature: Uint8Array;
|
|
636
|
+
/**
|
|
637
|
+
* Options:
|
|
638
|
+
* - proto3_optional = true
|
|
639
|
+
*/
|
|
640
|
+
clientDataJson?: Uint8Array;
|
|
641
|
+
/**
|
|
642
|
+
* Options:
|
|
643
|
+
* - proto3_optional = true
|
|
644
|
+
*/
|
|
645
|
+
authenticatorData?: Uint8Array;
|
|
646
|
+
}
|
|
615
647
|
}
|
|
616
648
|
/**
|
|
617
649
|
* Defined in:
|
|
@@ -625,13 +657,20 @@ export interface CreateRecoveryCredentialRequest {
|
|
|
625
657
|
* - proto3_optional = true
|
|
626
658
|
*/
|
|
627
659
|
recoveryKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
660
|
+
/**
|
|
661
|
+
* Public key used to identify the recovery key.
|
|
662
|
+
*
|
|
663
|
+
* Options:
|
|
664
|
+
* - proto3_optional = true
|
|
665
|
+
*/
|
|
666
|
+
lookupKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
628
667
|
/**
|
|
629
668
|
* Algorithm used to generate the recovery key.
|
|
630
669
|
*
|
|
631
670
|
* Options:
|
|
632
671
|
* - proto3_optional = true
|
|
633
672
|
*/
|
|
634
|
-
algorithm?:
|
|
673
|
+
algorithm?: string;
|
|
635
674
|
}
|
|
636
675
|
/**
|
|
637
676
|
* Defined in:
|
|
@@ -689,6 +728,7 @@ export interface CreateIdentityRequest {
|
|
|
689
728
|
*/
|
|
690
729
|
export interface IdentityService {
|
|
691
730
|
createIdentity: (request: CreateIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
731
|
+
requestRecoveryChallenge: (request: void, options?: RequestOptions) => Promise<RequestRecoveryChallengeResponse>;
|
|
692
732
|
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
693
733
|
createRecoveryCredential: (request: CreateRecoveryCredentialRequest, options?: RequestOptions) => Promise<CreateRecoveryCredentialResponse>;
|
|
694
734
|
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
@@ -99,26 +99,7 @@ export interface Tracks {
|
|
|
99
99
|
* Options:
|
|
100
100
|
* - proto3_optional = true
|
|
101
101
|
*/
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Transcription settings.
|
|
106
|
-
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
107
|
-
*
|
|
108
|
-
* Defined in:
|
|
109
|
-
* {@link file://./../../../dxos/edge/calls.proto}
|
|
110
|
-
*/
|
|
111
|
-
export interface Transcription {
|
|
112
|
-
enabled: boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Lamport timestamp of when the state was set.
|
|
115
|
-
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
116
|
-
*/
|
|
117
|
-
lamportTimestamp: number;
|
|
118
|
-
/**
|
|
119
|
-
* Object ID of where the transcription should be stored.
|
|
120
|
-
*/
|
|
121
|
-
objectId: string;
|
|
102
|
+
screenshareEnabled?: boolean;
|
|
122
103
|
}
|
|
123
104
|
/**
|
|
124
105
|
* Defined in:
|
|
@@ -143,15 +124,28 @@ export interface UserState {
|
|
|
143
124
|
transcription?: Transcription;
|
|
144
125
|
}
|
|
145
126
|
/**
|
|
127
|
+
* Transcription settings.
|
|
128
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
129
|
+
*
|
|
146
130
|
* Defined in:
|
|
147
131
|
* {@link file://./../../../dxos/edge/calls.proto}
|
|
148
132
|
*/
|
|
149
|
-
export interface
|
|
150
|
-
|
|
151
|
-
|
|
133
|
+
export interface Transcription {
|
|
134
|
+
enabled: boolean;
|
|
135
|
+
lamportTimestamp: LamportTimestamp;
|
|
152
136
|
/**
|
|
153
|
-
*
|
|
154
|
-
* - proto3_optional = true
|
|
137
|
+
* Transcription queue DXN.
|
|
155
138
|
*/
|
|
156
|
-
|
|
139
|
+
queueDxn: string;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Lamport Timestamp.
|
|
143
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
144
|
+
*
|
|
145
|
+
* Defined in:
|
|
146
|
+
* {@link file://./../../../dxos/edge/calls.proto}
|
|
147
|
+
*/
|
|
148
|
+
export interface LamportTimestamp {
|
|
149
|
+
version: number;
|
|
150
|
+
id: string;
|
|
157
151
|
}
|
|
@@ -220,9 +220,16 @@ export interface IdentityRecovery {
|
|
|
220
220
|
*/
|
|
221
221
|
recoveryKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
222
222
|
/**
|
|
223
|
-
* Algorithm used to derive the recovery key.
|
|
223
|
+
* Algorithm used to derive the recovery key (e.g., ED25519, ES256, etc.).
|
|
224
224
|
*/
|
|
225
|
-
algorithm:
|
|
225
|
+
algorithm: string;
|
|
226
|
+
/**
|
|
227
|
+
* Public key used to identify the recovery key (e.g., passkey user handle).
|
|
228
|
+
*
|
|
229
|
+
* Options:
|
|
230
|
+
* - proto3_optional = true
|
|
231
|
+
*/
|
|
232
|
+
lookupKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
226
233
|
}
|
|
227
234
|
/**
|
|
228
235
|
* Defined in:
|