Skip to content

v1.2.0 — lark-cli 1.0.68 + 邮件批量改标签 / 软删除工具

Choose a tag to compare

@ddpie ddpie released this 10 Jul 05:58
· 7 commits to main since this release
f7c3044

中文

将 lark-cli 从 1.0.66 升级到 1.0.68,随之带来两个新的邮件工具,并同步重适配了上游有变更的 skill。

新增邮件工具:批量改标签、软删除
lark_mail_message_modify 支持批量为邮件增删标签、切换已读/未读、移动文件夹;lark_mail_message_trash 将邮件软删除到垃圾箱。后者是高风险写操作,需要显式 _confirm=true 才执行。两者的 OAuth scope 都是用户身份(mail:user_mailbox.message:modifymail:user_mailbox.folder:read),未引入任何 bot-only 权限。

同步 lark-cli 版本锁定与 skill 适配
按 bump runbook 重抽 scope 映射,并按上游 diff 增量重适配了 7 个有变更的 domain(apps、doc、drive、mail、slides、vc-agent、wiki)。scope allowlist、默认 OAuth scopes、CDK 快照均无需变更。

English

Upgrades lark-cli from 1.0.66 to 1.0.68, which brings two new mail tools and a re-adaptation of the upstream skills that changed.

New mail tools: batch relabel and soft-delete
lark_mail_message_modify batch-adds/removes labels, toggles read/unread, and moves messages between folders; lark_mail_message_trash soft-deletes messages to trash. The latter is a high-risk write and requires an explicit _confirm=true to run. Both use user-identity OAuth scopes (mail:user_mailbox.message:modify, mail:user_mailbox.folder:read) — no bot-only scope is introduced.

lark-cli pin and skill adaptation kept in sync
Following the bump runbook, scope mappings were re-extracted and the 7 changed domains (apps, doc, drive, mail, slides, vc-agent, wiki) were incrementally re-adapted from the upstream diff. The scope allowlist, default OAuth scopes, and CDK snapshot needed no changes.