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

4 hours ago

V4.3.3

修复首次回复要求在当前飞书消息下创建 thread、但 Hermes 尚未提供具体 thread_id 时的投递连续性:卡片、interaction 与 opt-in completion notification 现在稳定复用同一 CardSession 的 reply anchor 和 thread placement。

主要改动

  • reply_in_thread=true 且有 reply_to_message_id 时,首张 schema 2.0 流式卡通过飞书 reply API 创建 thread,后续同会话投递保持在该 thread。
  • completion notification 复用会话的 thread intent;没有 concrete thread_id 时也不会错误回落到主群。
  • send_text_message()reply_in_thread=true 或非空 thread_id 表达的 text thread placement 采用 fail-closed:缺少非空 reply_to_message_id 时在 token/API 调用前拒绝,不作顶层文本降级。
  • schema 2.0 streaming message 继续是唯一 PATCH owner;既有 callback、幂等、profile binding 与归档 legacy/ runtime 边界不变。

本版本不包含 PR #229 的 daemon listener 修改。该 PR 的 hosted macOS 诊断已定位到 HTTPServer.server_bind() 内的 socket.getfqdn() 启动阻塞,仍为 Changes Requested。

合并与验证

  • PR #232 exact merge SHA:030938563b999bf2df7b0610dcfef721d4635202
  • candidate 本地完整测试:3267 passed, 6 skipped
  • PR candidate:Tests 32657674121(10 jobs)与 CodeQL 32657674120 全绿
  • 最终 docs-only:Tests 32658486111 与 CodeQL 32658486097 全绿
  • exact-merge 完整测试:3267 passed, 6 skipped in 447.10s
  • exact-merge wheel SHA-256:9be5d73de988f1b78ba32867211bc34d067e6656c9ccf62bdf8bc78e7225af4f
  • exact-merge sdist SHA-256:8bd09d3ac66e6b5a132800d75dff7cef7c1cbc6664515481d8eb0dd38125fae2
  • tag workflow 32659996861:annotated tag resolver、Python 3.9–3.12、macOS、Windows、Feishu SDK、PowerShell、Docker Compose 与 package jobs 全部通过
  • 公开 macOS asset checksum 与公开 checksums 文件一致;asset 内 installer 从 v4.3.3 解析到上述 exact merge SHA,在全新 Hermes 0.20.0 venv 中以非 editable site-packages 安装 4.3.3,hybrid install 与官方 restore 均通过,restore 后 Hermes checkout Git-clean

Release assets

  • hermes-feishu-card-v4.3.3-macos.tar.gz
  • hermes-feishu-card-v4.3.3-linux.tar.gz
  • hermes-feishu-card-v4.3.3-windows.zip
  • hermes-feishu-card-v4.3.3-checksums.txt

验收边界

  • v4.3.3 专项真实 Feishu/Lark 客户端验收尚未执行;自动化与公开安装 smoke 不替代真实客户端证据。仍建议在测试群验证首卡、普通/runtime-admission interaction 与 completion notification 均留在同一 thread,且缺 anchor 时不会出现顶层文本回落。
  • 已知诊断限制:有效的 V3 hybrid install 可被 doctor 的 legacy install_state 检查误报为旧 manifest 字段缺失;本次公开安装中的 V3 status/install/restore 与 checkout 复原均实际通过,本版本不宣称修复该 doctor 报告问题。

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

NewReleases is sending notifications on new releases.