@dxos/protocols 0.7.5-labs.e27f9b9 → 0.7.5-labs.ea4b4c2
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 +85 -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 +39 -35
- 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 +9 -9
- 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 +3 -3
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/cjs/src/edge.d.ts +13 -1
- 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 +35 -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 +25 -20
- 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 +2 -2
- package/dist/cjs/src/proto/gen/index.d.ts +2 -0
- 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 +85 -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 +39 -35
- 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 +8 -8
- 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 +3 -3
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/esm/src/edge.d.ts +13 -1
- package/dist/esm/src/edge.d.ts.map +1 -1
- package/dist/esm/src/edge.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +35 -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/edge/calls.d.ts +25 -20
- package/dist/esm/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +2 -2
- package/dist/esm/src/proto/gen/index.d.ts +2 -0
- 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/package.json +7 -7
- package/src/buf/proto/gen/dxos/client/services_pb.ts +142 -51
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +47 -42
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +4 -4
- package/src/edge.ts +16 -1
- package/src/proto/dxos/client/services.proto +22 -2
- package/src/proto/dxos/edge/calls.proto +20 -19
- package/src/proto/dxos/halo/credentials.proto +2 -2
- package/src/proto/gen/dxos/client/services.ts +35 -2
- package/src/proto/gen/dxos/edge/calls.ts +25 -20
- package/src/proto/gen/dxos/halo/credentials.ts +2 -2
- package/src/proto/gen/index.ts +3 -1
|
@@ -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 file_dxos_edge_calls: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("ChVkeG9zL2VkZ2UvY2FsbHMucHJvdG8SD2R4b3MuZWRnZS5jYWxscyKEAgoGVHJhY2tzEhIKBWF1ZGlvGAEgASgJSACIAQESGgoNYXVkaW9fZW5hYmxlZBgCIAEoCEgBiAEBEhIKBXZpZGVvGAMgASgJSAKIAQESGgoNdmlkZW9fZW5hYmxlZBgEIAEoCEgDiAEBEhgKC3NjcmVlbnNoYXJlGAUgASgJSASIAQESIAoTc2NyZWVuc2hhcmVfZW5hYmxlZBgGIAEoCEgFiAEBQggKBl9hdWRpb0IQCg5fYXVkaW9fZW5hYmxlZEIICgZfdmlkZW9CEAoOX3ZpZGVvX2VuYWJsZWRCDgoMX3NjcmVlbnNoYXJlQhYKFF9zY3JlZW5zaGFyZV9lbmFibGVkIq8CCglVc2VyU3RhdGUSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIjChZ0cmFuc2NlaXZlcl9zZXNzaW9uX2lkGAMgASgJSACIAQESEwoLcmFpc2VkX2hhbmQYBCABKAgSEAoIc3BlYWtpbmcYBSABKAgSDgoGam9pbmVkGAYgASgIEicKBnRyYWNrcxgHIAEoCzIXLmR4b3MuZWRnZS5jYWxscy5UcmFja3MSOgoNdHJhbnNjcmlwdGlvbhgIIAEoCzIeLmR4b3MuZWRnZS5jYWxscy5UcmFuc2NyaXB0aW9uSAGIAQESEQoEc2VsZhgJIAEoCEgCiAEBQhkKF190cmFuc2NlaXZlcl9zZXNzaW9uX2lkQhAKDl90cmFuc2NyaXB0aW9uQgcKBV9zZWxmIpcBCglSb29tU3RhdGUSEQoJbWVldGluZ0lkGAEgASgJEikKBXVzZXJzGAIgAygLMhouZHhvcy5lZGdlLmNhbGxzLlVzZXJTdGF0ZRI6Cg10cmFuc2NyaXB0aW9uGAMgASgLMh4uZHhvcy5lZGdlLmNhbGxzLlRyYW5zY3JpcHRpb25IAIgBAUIQCg5fdHJhbnNjcmlwdGlvbiJPCg1UcmFuc2NyaXB0aW9uEg8KB2VuYWJsZWQYASABKAgSGQoRbGFtcG9ydF90aW1lc3RhbXAYAiABKAUSEgoKb2JqZWN0X2R4bhgDIAEoCWIGcHJvdG8z", [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
|
*/
|
|
@@ -140,6 +102,11 @@ export type UserState = Message<"dxos.edge.calls.UserState"> & {
|
|
|
140
102
|
* @generated from field: optional dxos.edge.calls.Transcription transcription = 8;
|
|
141
103
|
*/
|
|
142
104
|
transcription?: Transcription;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: optional bool self = 9;
|
|
108
|
+
*/
|
|
109
|
+
self?: boolean;
|
|
143
110
|
};
|
|
144
111
|
|
|
145
112
|
/**
|
|
@@ -147,7 +114,7 @@ export type UserState = Message<"dxos.edge.calls.UserState"> & {
|
|
|
147
114
|
* Use `create(UserStateSchema)` to create a new message.
|
|
148
115
|
*/
|
|
149
116
|
export const UserStateSchema: GenMessage<UserState> = /*@__PURE__*/
|
|
150
|
-
messageDesc(file_dxos_edge_calls,
|
|
117
|
+
messageDesc(file_dxos_edge_calls, 1);
|
|
151
118
|
|
|
152
119
|
/**
|
|
153
120
|
* @generated from message dxos.edge.calls.RoomState
|
|
@@ -174,5 +141,43 @@ export type RoomState = Message<"dxos.edge.calls.RoomState"> & {
|
|
|
174
141
|
* Use `create(RoomStateSchema)` to create a new message.
|
|
175
142
|
*/
|
|
176
143
|
export const RoomStateSchema: GenMessage<RoomState> = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_dxos_edge_calls, 2);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* *
|
|
148
|
+
* Transcription settings.
|
|
149
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
150
|
+
*
|
|
151
|
+
* @generated from message dxos.edge.calls.Transcription
|
|
152
|
+
*/
|
|
153
|
+
export type Transcription = Message<"dxos.edge.calls.Transcription"> & {
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: bool enabled = 1;
|
|
156
|
+
*/
|
|
157
|
+
enabled: boolean;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* *
|
|
161
|
+
* Lamport timestamp of when the state was set.
|
|
162
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: int32 lamport_timestamp = 2;
|
|
165
|
+
*/
|
|
166
|
+
lamportTimestamp: number;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* *
|
|
170
|
+
* Object DXN of where the transcription should be stored.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string object_dxn = 3;
|
|
173
|
+
*/
|
|
174
|
+
objectDxn: string;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message dxos.edge.calls.Transcription.
|
|
179
|
+
* Use `create(TranscriptionSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export const TranscriptionSchema: GenMessage<Transcription> = /*@__PURE__*/
|
|
177
182
|
messageDesc(file_dxos_edge_calls, 3);
|
|
178
183
|
|
|
@@ -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("ChtkeG9zL2hhbG8vY3JlZGVudGlhbHMucHJvdG8SFWR4b3MuaGFsby5jcmVkZW50aWFscyI3CgxTcGFjZUdlbmVzaXMSJwoJc3BhY2Vfa2V5GAEgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleSKRAwoLU3BhY2VNZW1iZXISJwoJc3BhY2Vfa2V5GAEgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleRI1CgRyb2xlGAIgASgOMicuZHhvcy5oYWxvLmNyZWRlbnRpYWxzLlNwYWNlTWVtYmVyLlJvbGUSPAoHcHJvZmlsZRgDIAEoCzImLmR4b3MuaGFsby5jcmVkZW50aWFscy5Qcm9maWxlRG9jdW1lbnRIAIgBARIuChBnZW5lc2lzX2ZlZWRfa2V5GAQgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleRI7ChhpbnZpdGF0aW9uX2NyZWRlbnRpYWxfaWQYBSABKAsyFC5keG9zLmtleXMuUHVibGljS2V5SAGIAQEiTgoEUm9sZRILCgdJTlZBTElEEAASCQoFQURNSU4QARIKCgZFRElUT1IQAhIKCgZSRUFERVIQAxIJCgVPV05FUhAEEgsKB1JFTU9WRUQQBUIKCghfcHJvZmlsZUIbChlfaW52aXRhdGlvbl9jcmVkZW50aWFsX2lkIlkKDU1lbWJlclByb2ZpbGUSPAoHcHJvZmlsZRgDIAEoCzImLmR4b3MuaGFsby5jcmVkZW50aWFscy5Qcm9maWxlRG9jdW1lbnRIAIgBAUIKCghfcHJvZmlsZSJoChBBdXRob3JpemVkRGV2aWNlEioKDGlkZW50aXR5X2tleRgBIAEoCzIULmR4b3Mua2V5cy5QdWJsaWNLZXkSKAoKZGV2aWNlX2tleRgCIAEoCzIULmR4b3Mua2V5cy5QdWJsaWNLZXkihgIKDEFkbWl0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WRlbnRpYWxzLlByb29mSAOIAQESMwoVcGFyZW50X2NyZWRlbnRpYWxfaWRzGAwgAygLMhQuZHhvcy5rZXlzLlB1YmxpY0tleUIFCgNfaWRCEgoQX2V4cGlyYXRpb25fZGF0ZUIRCg9fZXhwaXJhdGlvbl9yZWZCCAoGX3Byb29mInQKDFByZXNlbnRhdGlvbhI2CgtjcmVkZW50aWFscxgBIAMoCzIhLmR4b3MuaGFsby5jcmVkZW50aWFscy5DcmVkZW50aWFsEiwKBnByb29mcxgCIAMoCzIcLmR4b3MuaGFsby5jcmVkZW50aWFscy5Qcm9vZipcCgpEZXZpY2VUeXBlEgsKB1VOS05PV04QABILCgdCUk9XU0VSEAESCgoGTkFUSVZFEAISCQoFQUdFTlQQAxIRCg1BR0VOVF9NQU5BR0VEEAQSCgoGTU9CSUxFEAVCNlo0Z2l0aHViLmNvbS9keG9zL2R4b3MvcHJvdG8vZGVmL2R4b3MvaGFsby9jcmVkZW50aWFsc2IGcHJvdG8z", [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,11 @@ 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
367
|
};
|
|
368
368
|
|
|
369
369
|
/**
|
package/src/edge.ts
CHANGED
|
@@ -80,7 +80,14 @@ export type RecoverIdentityRequest = {
|
|
|
80
80
|
recoveryKey?: string;
|
|
81
81
|
deviceKey: string;
|
|
82
82
|
controlFeedKey: string;
|
|
83
|
-
signature?:
|
|
83
|
+
signature?:
|
|
84
|
+
| string
|
|
85
|
+
// This is the format of the signature from the WebAuthn authenticator.
|
|
86
|
+
| {
|
|
87
|
+
signature: string;
|
|
88
|
+
clientDataJson: string;
|
|
89
|
+
authenticatorData: string;
|
|
90
|
+
};
|
|
84
91
|
};
|
|
85
92
|
|
|
86
93
|
export type RecoverIdentityResponseBody = {
|
|
@@ -118,7 +125,15 @@ export type UploadFunctionResponseBody = {
|
|
|
118
125
|
functionId: string;
|
|
119
126
|
version: string;
|
|
120
127
|
meta: {
|
|
128
|
+
description?: string;
|
|
129
|
+
/**
|
|
130
|
+
* JSON Schema for the input of the function.
|
|
131
|
+
*/
|
|
121
132
|
inputSchema?: object;
|
|
133
|
+
/**
|
|
134
|
+
* JSON Schema for the output of the function.
|
|
135
|
+
*/
|
|
136
|
+
outputSchema?: object;
|
|
122
137
|
};
|
|
123
138
|
};
|
|
124
139
|
|
|
@@ -124,8 +124,27 @@ 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
|
+
string identity_did = 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 {
|
|
@@ -133,7 +152,7 @@ message CreateRecoveryCredentialRequest {
|
|
|
133
152
|
optional dxos.keys.PublicKey recovery_key = 1;
|
|
134
153
|
|
|
135
154
|
/// Algorithm used to generate the recovery key.
|
|
136
|
-
optional
|
|
155
|
+
optional string algorithm = 2;
|
|
137
156
|
}
|
|
138
157
|
|
|
139
158
|
message CreateRecoveryCredentialResponse {
|
|
@@ -159,6 +178,7 @@ message CreateIdentityRequest {
|
|
|
159
178
|
// TODO(wittjosiah): Align pluralization with other services.
|
|
160
179
|
service IdentityService {
|
|
161
180
|
rpc CreateIdentity(CreateIdentityRequest) returns (Identity);
|
|
181
|
+
rpc RequestRecoveryChallenge(google.protobuf.Empty) returns (RequestRecoveryChallengeResponse);
|
|
162
182
|
rpc RecoverIdentity(RecoverIdentityRequest) returns (Identity);
|
|
163
183
|
rpc CreateRecoveryCredential(CreateRecoveryCredentialRequest) returns (CreateRecoveryCredentialResponse);
|
|
164
184
|
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 {
|
|
@@ -44,6 +26,7 @@ message UserState {
|
|
|
44
26
|
bool joined = 6;
|
|
45
27
|
Tracks tracks = 7;
|
|
46
28
|
optional Transcription transcription = 8;
|
|
29
|
+
optional bool self = 9;
|
|
47
30
|
}
|
|
48
31
|
|
|
49
32
|
message RoomState {
|
|
@@ -51,3 +34,21 @@ message RoomState {
|
|
|
51
34
|
repeated UserState users = 2;
|
|
52
35
|
optional Transcription transcription = 3;
|
|
53
36
|
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Transcription settings.
|
|
40
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
41
|
+
*/
|
|
42
|
+
message Transcription {
|
|
43
|
+
bool enabled = 1;
|
|
44
|
+
/**
|
|
45
|
+
* Lamport timestamp of when the state was set.
|
|
46
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
47
|
+
*/
|
|
48
|
+
int32 lamport_timestamp = 2;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Object DXN of where the transcription should be stored.
|
|
52
|
+
*/
|
|
53
|
+
string object_dxn = 3;
|
|
54
|
+
}
|
|
@@ -139,8 +139,8 @@ 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
144
|
}
|
|
145
145
|
|
|
146
146
|
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
|
+
identityDid: string;
|
|
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:
|
|
@@ -631,7 +663,7 @@ export interface CreateRecoveryCredentialRequest {
|
|
|
631
663
|
* Options:
|
|
632
664
|
* - proto3_optional = true
|
|
633
665
|
*/
|
|
634
|
-
algorithm?:
|
|
666
|
+
algorithm?: string;
|
|
635
667
|
}
|
|
636
668
|
/**
|
|
637
669
|
* Defined in:
|
|
@@ -689,6 +721,7 @@ export interface CreateIdentityRequest {
|
|
|
689
721
|
*/
|
|
690
722
|
export interface IdentityService {
|
|
691
723
|
createIdentity: (request: CreateIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
724
|
+
requestRecoveryChallenge: (request: void, options?: RequestOptions) => Promise<RequestRecoveryChallengeResponse>;
|
|
692
725
|
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
693
726
|
createRecoveryCredential: (request: CreateRecoveryCredentialRequest, options?: RequestOptions) => Promise<CreateRecoveryCredentialResponse>;
|
|
694
727
|
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:
|
|
@@ -141,6 +122,11 @@ export interface UserState {
|
|
|
141
122
|
* - proto3_optional = true
|
|
142
123
|
*/
|
|
143
124
|
transcription?: Transcription;
|
|
125
|
+
/**
|
|
126
|
+
* Options:
|
|
127
|
+
* - proto3_optional = true
|
|
128
|
+
*/
|
|
129
|
+
self?: boolean;
|
|
144
130
|
}
|
|
145
131
|
/**
|
|
146
132
|
* Defined in:
|
|
@@ -155,3 +141,22 @@ export interface RoomState {
|
|
|
155
141
|
*/
|
|
156
142
|
transcription?: Transcription;
|
|
157
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Transcription settings.
|
|
146
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
147
|
+
*
|
|
148
|
+
* Defined in:
|
|
149
|
+
* {@link file://./../../../dxos/edge/calls.proto}
|
|
150
|
+
*/
|
|
151
|
+
export interface Transcription {
|
|
152
|
+
enabled: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Lamport timestamp of when the state was set.
|
|
155
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
156
|
+
*/
|
|
157
|
+
lamportTimestamp: number;
|
|
158
|
+
/**
|
|
159
|
+
* Object DXN of where the transcription should be stored.
|
|
160
|
+
*/
|
|
161
|
+
objectDxn: string;
|
|
162
|
+
}
|
|
@@ -220,9 +220,9 @@ 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
226
|
}
|
|
227
227
|
/**
|
|
228
228
|
* Defined in:
|