github baileyh8/hermes-feishu-streaming-card v4.3.6

6 hours ago

Hermes Feishu Streaming Card V4.3.6

V4.3.6 修复飞书话题场景无 reply anchor 时使用非法 receive_id_type=thread_id 创建消息导致的 99992402,并加入可配置的 approval/clarify 交互卡与 completion notification 发起人 @ 提及。

修复内容

  • Issue #237 / PR #238:Feishu create API 现在始终向父 chat_id 创建卡片,不再把 thread_id 作为 receive_id_typereceive_id。存在 reply_to_message_id 时仍使用 reply API,并保留 reply_in_thread 语义。
  • Gateway native-handoff 的真实无锚点 create 会从 adapter metadata 中移除 thread_id,避免 Hermes fallback 再次发出非法请求;逻辑 topic route 与稳定 UUID identity 保持不变。
  • completion_notify.mention: false 不再无条件要求合法 sender open_id。系统/后台 turn 可以发送不带 @ 的普通完成通知;mention 开启时仍拒绝缺失、伪造或非法身份。

新增能力

  • PR #228:pending approval/clarify 卡片与 opt-in completion notification 可 @ 提及任务发起人。
  • card.mentions_in_cards: false 是总关闭开关;card.interaction_mentions.approvalcard.interaction_mentions.clarifycard.completion_notify.mention 提供细粒度控制。
  • schema 2.0 主卡保持唯一 PATCH owner;legacy approval/clarify message 继续作为独立 auxiliary message。

发布证据

  • Release PR #239:12 项 CI 全绿;merge commit a2a244659f198ecd57c862455d3f4d658a827b66
  • exact-merge normal-wheel 全量 pytest:3325 passed, 5 skipped in 582.06sgit diff --check 通过。
  • annotated tag v4.3.6 精确指向上述 merge commit。
  • release-assets run 32817131798 成功;Python 3.9–3.12、macOS、Windows、Docker Compose、Feishu SDK、PowerShell installer 与 fixed Hermes fixture 门禁均通过。
  • 公开 tag 全新 Python 3.12 安装验证:direct_url.json 的 requested revision 为 v4.3.6,解析 commit 为 a2a244659f198ecd57c862455d3f4d658a827b66;package/distribution 4.3.6 从隔离 site-packages 导入,唯一 Hermes plugin entrypoint、24 个 provenance slices 与 CLI help 均通过。
  • 公开 Release 三个平台包 checksum 均通过:Linux/macOS 457932af42a22b80c5edbbe2352a78545768bab53c04f40e7948be07b19ae745,Windows 5fcc13bf30ce226912128aff730528a00aee239e8a2659a4697059ac85bd4cfd

验收边界

  • Issue #237 报告者已对照验证非法 thread_id create 返回 99992402,而 chat_id create 与 reply API 成功,并报告本地热修后 create 恢复。
  • 维护者本轮没有独立执行真实飞书客户端 smoke;自动化结果不冒充平台验收。
  • Issue #237 提议的 uncertain-warning 节流不在本版本范围。

致谢

感谢 @leavrcn 提供 Issue #237 的生产指标、飞书 API 对照、刷屏链路分析与本地热修验证。

感谢 @Cassius0924 实现 PR #228,并根据多轮审查修复配置总开关、跨 dialect owner 与无 sender completion notification 边界。

Don't miss a new hermes-feishu-streaming-card release

NewReleases is sending notifications on new releases.