mirror of https://github.com/jackwener/wx-cli.git
`q_attachments` 群聊场景下两个昵称同名的成员,原本只输出 `sender` 字段(取群名片),无法在 JSON 消费侧区分谁发的图。 跟 #68 把 `sender_username / sender_contact_display / sender_group_nickname` 一起追加到 attachment row 上,复用 PR68 引入的 `add_sender_identity` / `sender_username` helper, 保持 4 处出口 (history / search / new-messages / stats.top_senders) + attachments 的字段语义完全一致。 调整: - `q_attachments` 元组从 7 字段扩到 8 字段(多带一个稳定 wxid) - spawn_blocking 内部多算一次 `sender_username`,per-row 复杂度 O(1) - JSON build 处调用 `add_sender_identity`,行为对齐:非群 / 解析不到 wxid 时三字段不输出 测试 / 文档: - 新增 `attachment_row_gets_stable_group_sender_identity_via_helper`, 锁住"两同名成员可被 sender_username 区分" + "非群 / 未知 sender 不追加伪字段" - README + SKILL.md 在 `attachments` 段和顶部 "sender 选择策略" 段 同时记录新字段,标明 wxid 解析不到时的不输出语义 closes #23 |
||
|---|---|---|
| .. | ||
| attachment | ||
| cli | ||
| crypto | ||
| daemon | ||
| scanner | ||
| config.rs | ||
| ipc.rs | ||
| main.rs | ||