改了什么
- 规则可以写可选的
tags(一组文字)。中台不解释它,原样带进/v1/state的状态行、轮次、卡片,/v1/runs的每一项,以及这条规则每一轮的资料文件,方便客户端按项目分组显示、Agent 知道这一轮属于哪一组。没写tags的规则和以前一样。注意:老版本中台不认识这个字段会拒收规则文件,先升级中台再写(#380,修 #371)。 - 飞书卡片发不出去时(比如登录过期、机器人缺权限),日志和失败说明直接写原因和该怎么办:缺权限的指向飞书开发者后台,不再贴出 lark-cli 的一大段原始返回(#374)。
- 几条规则共用的 Agent 用量额度到上限时,那张通知卡片不再误报已恢复,提示的说法也更清楚(#376)。
- 接单程序启动 Agent 失败或插件报错时,失败说明不再被切掉半个字符(#377,修 #375)。
感谢 xdAsaah、xiao fan、argszero、Ryan Wang。
What's changed
- Rules can carry optional
tags(a list of strings). The hub doesn't interpret them; it passes them unchanged into the status lines, runs and cards of/v1/state, every item of/v1/runs, and each run's job file for that rule, so clients can group by project and agents know which group a run belongs to. Rules withouttagsbehave as before. Note: an older hub rejects a rules file with this field, so upgrade the hub before adding it (#380, fixes #371). - When a Feishu card is refused (an expired login, a bot missing a permission), the log and the failure note say why and what to do — a missing bot permission points to the Feishu developer console — instead of dumping lark-cli's raw response (#374).
- When agents shared by several rules hit their usage limit, the notice card no longer reports a recovery that hasn't happened, and its wording is clearer (#376).
- When the worker fails to launch an agent or a plugin reports an error, the failure text no longer ends in half a character (#377, fixes #375).
Thanks to xdAsaah, xiao fan, argszero and Ryan Wang.