hermes-lark-streaming
hermes-lark-streaming copied to clipboard
Hermes 飞书(Feishu/Lark)CardKit v2.0 流式卡片插件
## 环境 - Hermes Agent `v0.23.1`(2026.9.24,平台插件为进程内原生加载) - `hermes-lark-streaming` `v0.14.0`,本地 HEAD `76835fd`(与 `origin/main` 同一提交) - macOS + 飞书,CardKit v2 流式卡片;场景包含私聊与群聊(`group_sessions_per_user: true`) - 回复正文多为 700~1400 字,含 Markdown 表格 ## 现象(两种表现,同一个缺口) **表现 A(原版...
## 环境 - Hermes `0.21.5`(`code_sha d0288be5b3330d2442e3907185b8e9d0958297bb`,2026-09-26) - `hermes-lark-streaming` `v0.13.0`(本地 HEAD `5eb7c27`,与当前 `origin/main` **同一提交**,问题未修) - macOS + 飞书私聊(dm),CardKit v2 流式卡片 ## 现象 **个别回合**里卡片只流到一半就冻住,之后的输出以 **Hermes 原生纯文本消息**出现(用户视角:"卡片没了,回到原版消息格式")。同一会话其它回合卡片完全正常,插件日志**零报错**。 ## 时间线(同一回合:22:40:30 → 22:50:09,耗时 579.3s /...
## 现象 装了流式卡片后,回复里包含 `MEDIA:/abs/path/file.md`(文件确实存在):卡片正文正常,但聊天里**永远收不到附件**。同一台机器卸载插件(退回网关默认投递)时,同样的回复能正常收到文件。 ## 根因 网关投递 `MEDIA:` 附件的唯一入口在 `gateway/run_turn.py`: ```python if agent_result.get("already_sent") and not agent_result.get("failed"): if response and adapter: await self._deliver_media_from_response(response, event, adapter) ``` 也就是说,流式路径下的附件投递**依赖 `response`(`final_response`)非空**。而本插件在下列情况会把它清空,或者它本来就是空的: 1. **队列 follow-up...
# CardKit batch update fails intermittently: "not find elementID : tools_N" (code 300313) during heavy tool activity ## Summary When an agent turn produces a long, tool-heavy response, `cardkit_batch_update` intermittently...
## 现象 cron 任务的输出里带 `MEDIA:/path/x.png` 时,飞书只收到**卡片文本**,附件永远不到;同一条内容走普通会话路径(#109/#110 修掉的那条)没问题。 本机实测(Hermes v0.21.2,`no_agent` 临时任务输出「文本 + `MEDIA:/root/media-attach-test.png`」):cron 运行状态 `ok`,卡片正常 1 条,`im/v1/messages` 回读**只有卡片、没有 file 消息**。 ## 根因 `cron/scheduler_delivery.py`(0.21 之前是 `cron/scheduler.py`): 1. `media_files, cleaned_delivery_content = BasePlatformAdapter.extract_media(delivery_content)`(约 1725...
## 环境 - Hermes `0.21.5+7763`(PM 包管理架构,gateway 运行于 `~/.hermes/tools/python-3.14.7+.../bin/python3` + 内容寻址 venv `~/.hermes/installs//environments//venv`) - `hermes-lark-streaming` `v0.13.0`(本地 HEAD `5eb7c27`,与 `origin/main` 同一提交) - WSL2 + 飞书私聊(dm),CardKit v2 流式卡片 - venv extras:`all + anthropic...
The Hermes compatibility check failed. Please check if Hermes has updated function names or injection anchors in its gateway or cron delivery modules. verify output ``` Traceback (most recent call...
## 环境 - 插件:hermes-lark-streaming **v0.12.0**(main @ abdc93c) - Hermes Agent:**0.19.0**(2026.7.20,pip 安装) - Python 3.13.5 ## 现象 Agent 调用**带选项**的 clarify 工具时必报错,工具退化为纯文本提问,clarify 卡片交互失效: ``` Failed to get user input: GatewayRunner._run_agent_inner..run_sync.._clarify_callback_sync() takes 2...
The Hermes compatibility check failed. Please check if Hermes has updated function names or injection anchors in `gateway/run.py` or `cron/scheduler.py`. verify output ``` (no output captured — verify step may...
The Hermes compatibility check failed. Please check if Hermes has updated function names or injection anchors in `gateway/run.py` or `cron/scheduler.py`. verify output ``` (no output captured — verify step may...