Repository navigation
Conversation
未完成的管理员授权优先显示待提权,最后一项授权提交后才恢复进入中;横幅原地更新,避免退场动画残留相反状态。 验证:42 项针对性测试和修改文件 Biome 检查通过,合成界面深浅主题、窄窗口及授权后阶段切换检查通过。整体 typecheck:web 仍受其他在途 static_backup.ts 与 ExportViewer.tsx 类型错误影响,未改动这些文件。
官方 Release SHA-256 与完整签名核验后,由退出助手原位替换;保留失败回退与旧版本保护。 更新相关 47 项定向测试、主进程类型检查、独立构建及 Electron 原生回归通过。完整门禁与桌面打包因共享工作区其它界面改动尚未通过,未发布或安装。
当前工作区定向测试 101 项通过;渲染类型检查通过,13 项浏览器布局检查通过。 工具入口衔接当前在途工作菜单;共享文件仅保存本轮增量,其余菜单改动保留在工作区。 旧助手搜索宿主测试仍依赖菜单重构迁移,未放宽或跳过其断言。
QQLBSShareSvc 三条 trpc 命令,私聊与群聊共用,全部不签名:
room_operation 发起(op=1,interval=2,经度/纬度 double)
report_location 周期上报自己(响应带下次间隔,实测 2 秒)
room_query 拉房间成员坐标(唯一能拿到别人位置的途径)
会话键两种场景不同,是最容易踩错的地方:
room_operation / room_query 私聊 {1:2, 2:peerUin, 3:selfUin}
群聊 {1:1, 2:groupCode, 3:0}
report_location 两种场景都是 {1:2, 2:会话号, 3:selfUin}
房间不由服务端分配 —— 私聊的房间就是「这两个人」,群聊的就是「这个群」,
后续命令靠调用方自己拼同一个会话键定位。
没有「退出共享」:房间靠上报续命,停上报约 60 秒后服务端把 status 置 2
(已结束)。真实客户端的结束动作走推送 ACK,拿不到,也不实现。
## 消息卡片要自己发
真实客户端发起后由服务端 MsgPush 投递「发起了位置共享」消息,但 WeQ 的 SSO
是「发一包就断」,服务端判定发起方不在线就不投递。所以 sendMessage 自己发:
commonElem serviceType=31 pbElem={1:"发起了位置共享"} businessType=1
私聊只此一条就能渲染成可点卡片;群聊必须额外带 generalFlags(37),否则
能显示但点不了(实测差异就在这一块)。
## 顺带补的两处
- protobuf 增加 double / float 标量(wire type 1/5)。此前只支持
varint 与 len-delimited,经纬度编不出来。
- FONT_INFO / GENERAL_FLAGS 补齐观测到的 tag。encode() 只按 schema 的
field.name 取值,没声明的 tag 会被静默丢弃 —— 群聊卡片点不了就是这个原因。
保留字段白名单与单次采样上限,不改变正式版采样策略。验证:诊断专项 23 项通过,修改文件 Biome、桌面主进程与渲染端类型检查通过。
扫描渲染层实际导入并验证模型选择子入口可直接打包进浏览器,2 项专项测试与 Biome 检查通过。
# Conflicts: # CHANGELOG.md # apps/desktop/src/renderer/src/im-template/template/chatPane.tsx
Feat/qqcall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.