chore(client): checkpoint deployed features and unfinished server management
User requested a checkpoint and stopped all agents. Deployed artifacts remain the last verified releases; unfinished settings/categories/forums are preserved as WIP. See TODO/roadmap for verification and remaining release/updater work.
This commit is contained in:
parent
15f03bf8df
commit
f04691c3cd
90 changed files with 9599 additions and 371 deletions
|
|
@ -12,7 +12,7 @@ message Hello {
|
|||
reserved 5;
|
||||
reserved "server_eph_pubkey";
|
||||
bool private_mode = 6;
|
||||
// Ed25519 over "VNOX-LNEx-v3-server-hello\0" || tls_exporter || Hello(signature empty).
|
||||
// Ed25519 over "VNOX-LNEx-v4-server-hello\0" || tls_exporter || Hello(signature empty).
|
||||
bytes server_signature = 7;
|
||||
}
|
||||
|
||||
|
|
@ -24,12 +24,20 @@ message Auth {
|
|||
bytes signature = 4;
|
||||
reserved 5;
|
||||
reserved "client_eph_pubkey";
|
||||
// Mandatory Central account proof, bound to client_pubkey (LNEx v4).
|
||||
bytes account_proof = 6;
|
||||
}
|
||||
|
||||
message Session {
|
||||
string session_id = 1;
|
||||
string token = 2;
|
||||
int64 expires_at = 3;
|
||||
bool node_admin = 4;
|
||||
// Live ProfileUpdate/ProfileUpdated support. Absent on legacy v4 gateways.
|
||||
bool live_profiles = 5;
|
||||
bool node_settings = 6;
|
||||
bool channel_structure = 7;
|
||||
bool forums = 8;
|
||||
}
|
||||
|
||||
// ─── KEEPALIVE ──────────────────────────────────────────────────────────────
|
||||
|
|
@ -54,12 +62,16 @@ message ChannelState {
|
|||
repeated MemberInfo members = 4;
|
||||
string voice_endpoint = 5;
|
||||
optional string guild_id = 6;
|
||||
optional string parent_id = 7;
|
||||
int32 position = 8;
|
||||
}
|
||||
|
||||
message MemberInfo {
|
||||
string user_id = 1;
|
||||
string nickname = 2;
|
||||
bool in_voice = 3;
|
||||
string account_id = 4;
|
||||
string avatar_url = 5;
|
||||
}
|
||||
|
||||
message ChannelCreate {
|
||||
|
|
@ -67,6 +79,8 @@ message ChannelCreate {
|
|||
string channel_name = 2;
|
||||
string kind = 3;
|
||||
optional string guild_id = 4;
|
||||
optional string parent_id = 5;
|
||||
int32 position = 6;
|
||||
}
|
||||
|
||||
message ChannelDelete { string channel_id = 1; }
|
||||
|
|
@ -74,6 +88,8 @@ message ChannelDelete { string channel_id = 1; }
|
|||
message ChannelEdit {
|
||||
string channel_id = 1;
|
||||
string channel_name = 2;
|
||||
optional string parent_id = 3;
|
||||
optional int32 position = 4;
|
||||
}
|
||||
|
||||
message ChannelList {
|
||||
|
|
@ -86,9 +102,11 @@ message ChannelListItem {
|
|||
string channel_name = 2;
|
||||
string kind = 3;
|
||||
optional string guild_id = 4;
|
||||
optional string parent_id = 5;
|
||||
int32 position = 6;
|
||||
}
|
||||
|
||||
message UserJoin { string channel_id = 1; string user_id = 2; string nickname = 3; }
|
||||
message UserJoin { string channel_id = 1; string user_id = 2; string nickname = 3; string account_id = 4; string avatar_url = 5; }
|
||||
message UserLeave { string channel_id = 1; string user_id = 2; }
|
||||
|
||||
// ─── CHAT ────────────────────────────────────────────────────────────────────
|
||||
|
|
@ -464,3 +482,45 @@ message VoiceFrame {
|
|||
bytes opus = 5;
|
||||
string sender_user_id = 6;
|
||||
}
|
||||
|
||||
// Additive channel image attachment extension; see docs/02-protocol/chat-attachments.md.
|
||||
message AttachmentUpload { string request_id = 1; string channel_id = 2; bytes data = 3; }
|
||||
message AttachmentFetch { string request_id = 1; string channel_id = 2; string attachment_id = 3; }
|
||||
message AttachmentResult { string request_id = 1; string channel_id = 2; string attachment_id = 3; string mime = 4; bytes data = 5; string error = 6; }
|
||||
|
||||
// Additive live Central profile metadata, LNEx v4. Authorization is unchanged.
|
||||
message ProfileUpdate { bytes account_proof = 1; }
|
||||
message ProfileUpdated {
|
||||
string user_id = 1;
|
||||
string account_id = 2;
|
||||
string nickname = 3;
|
||||
string avatar_url = 4;
|
||||
int64 issued_at = 5;
|
||||
}
|
||||
|
||||
// Optional post-SESSION feature report; no AUTH transcript extension.
|
||||
message ClientFeatures { bool node_settings = 1; bool channel_structure = 2; bool forums = 3; }
|
||||
message NodeSettingsRequest { string request_id = 1; bool update = 2; string display_name = 3; string description = 4; }
|
||||
message NodeSettingsResult { string request_id = 1; string display_name = 2; string description = 3; uint32 error_code = 4; string error = 5; }
|
||||
enum ForumOperation {
|
||||
FORUM_OPERATION_UNSPECIFIED = 0;
|
||||
FORUM_OPERATION_LIST = 1;
|
||||
FORUM_OPERATION_CREATE = 2;
|
||||
FORUM_OPERATION_OPEN = 3;
|
||||
FORUM_OPERATION_REPLY = 4;
|
||||
}
|
||||
message ForumRequest {
|
||||
string request_id = 1;
|
||||
ForumOperation operation = 2;
|
||||
string channel_id = 3;
|
||||
string topic_id = 4;
|
||||
string title = 5;
|
||||
string content = 6;
|
||||
uint32 offset = 7;
|
||||
uint32 limit = 8;
|
||||
string message_id = 9;
|
||||
}
|
||||
message ForumTopic { string topic_id = 1; string channel_id = 2; string title = 3; MemberInfo author = 4; int64 created_at = 5; int64 updated_at = 6; uint32 reply_count = 7; }
|
||||
message ForumPost { ChatMessage message = 1; MemberInfo author = 2; string topic_id = 3; uint64 ordinal = 4; }
|
||||
message ForumResult { string request_id = 1; ForumOperation operation = 2; string channel_id = 3; string topic_id = 4; repeated ForumTopic topics = 5; repeated ForumPost posts = 6; bool has_more = 7; uint32 error_code = 8; string error = 9; }
|
||||
message ForumChanged { string channel_id = 1; ForumTopic topic = 2; ForumPost post = 3; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue