Repository navigation
飞书:会议和妙记——开完的会自动把智能纪要存进知识库 - #57
Merged
Merged
Conversation
- larkcli.py: one lark-cli runner for the extension (two at a time, errors sorted into missing / auth / permission / timeout / failed, per-item results of batch commands, an hourly call summary); fetch_doc reads lark-cli 1.0.100's data.document.content. - meetings.py: a background sync of the meetings the user attended (vc +search / +detail, the AI notes through note +detail and docs +fetch, else the Minutes), retried while the notes are not out yet, read-only (never asks for a permission). - Knowledge base: a "meeting" archive feed (its own position in a v1: archive cursor) and the items capability (items.list, items.doc_title). - 今天 gets a 会议 block, 日程 a 最近的会议 section; matefeishu_meetings reads them; pages never wait for lark-cli (the calendar's first read included). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 飞书:后台只读同步你参加过的视频会议(lark-cli),智能纪要(总结、待办、章节)作为「会议」会话进知识库,会议条目带标题和链接;今天页加「会议」块,日程页加「最近的会议」;只读工具 matefeishu_meetings。 - 飞书:lark-cli 共用执行器(两个并发、错误分类、批量结果逐项处理、每小时调用统计);文档代答能读到 lark-cli 1.0.100 的文档正文。 - 核心:平台可选服务(出错不影响启动)、额外归档来源(各自的游标位置)、items 能力;微信行为不变。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么
飞书扩展新增「会议和妙记」:你参加过的飞书视频会议开完后,智能纪要(总结、待办、章节)自动进 Persona 知识库,不用再手动把会议链接发进去。
vc +search),新会议查一次详情(vc +detail),有智能纪要就读纪要文档(note +detail→docs +fetch),没有就读妙记(minutes +detail)。纪要会后才生成:没出来的按 10、20、40…分钟退避再查,24 小时后仍没有记为「没有纪要」;别人录、你看不了的妙记记为「看不了」,从不申请权限,也不调用任何写操作。第一次回看 30 天,之后按设置(默认 14 天)。meeting类型的会话进归档(会议信息、总结、待办、章节;逐字稿默认不进,可在设置里打开)。这个类型不受知识库的聊天筛选规则限制,整场保存,照常整理、打标签、关联人和项目。同时声明连接器能力items:items.list给出会议条目(id 用妙记 token,和知识库从聊天里的妙记链接自动建出的条目合成一条;进了归档的带where连到会议会话),items.doc_title给妙记和文档链接补标题。matefeishu_meetings,列最近的会议或读一场的总结、待办、章节。larkcli.py):全进程最多 2 个并发、错误分类(没装 / 没授权 / 没权限 / 超时 / 失败)、批量命令按项处理、每小时一行调用统计。顺手修了fetch_doc:lark-cli 1.0.100 的文档正文在data.document.content,原来读成空字符串(文档代答读不到正文)。meetings(默认开)、meetings_kb(默认开)、meeting_transcript(默认关)、meetings_days(默认 14)。没有新增 hub 权限、界面位置或命令行工具,升级不需要批准。
性能
怎么验证的
bash scripts/test.sh和PYTHON=/usr/bin/python3 bash scripts/test.sh(3.9)全部通过。新增测试覆盖同步、纪要解析、权限与授权的区分、批量命令全部失败时的逐项处理、组合游标、items.list/items.doc_title、页面、工具、并发上限。没做的 / 注意
v1:<聊天序号>:meetings=<会议序号>。手动回滚到旧版后旧版不认这个游标,知识库归档会停下(需要在 Persona 里删掉这个连接器存的知识库内容重来);自动回滚只发生在新版没起来时,那时还没给出过新游标。微信的游标不变。🤖 Generated with Claude Code