Skip to content

v0.38.0 — lark-cli 1.0.66 + calendar +get、多域错误处理增强

Choose a tag to compare

@ddpie ddpie released this 07 Jul 14:54
· 15 commits to main since this release
ce43b79

中文

lark-cli 1.0.65 → 1.0.66。上游这次改动比一般 patch 大:新增一个 shortcut、calendar 参考文件重构,外加多个域的错误处理与参数增强。

核心变化

  • calendar 新增 lark_calendar_get:按 event_id 拉取单条日程完整详情(新 scope calendar:calendar.event:read)。参考文档重构:agenda / freebusy / search-event 内联进主文档,新增 recurring / schedule-clear-time / schedule-fuzzy-time
  • drive:同位置并发导入的串行规则;+push 结构化错误字段(error_class / phase / code / retryable)与 already_deleted / summary.aborted 语义。
  • markdown+createfolder_token / wiki_token 可直接传 URL;新增失败处理小节。
  • minutesminutes +detail 新增 wait_ready(上传后立即读取须带上);上传响应直接返回 minute_token
  • task:以 ok == true 判定成功(成功信封无 code 字段),任务 ID 取 data.guid
  • wiki:node-list 明确 space_id 为数值、parent_node_token 可传 /wiki/<token> URL,补充错误处理。
  • doc:明确字数要求时字数校验为强制门禁;新增重复标题检查。

验证:5 视角评审面板全 PASS;npm test 563 通过;docker smoke 6/6;新工具 lark_calendar_get 已用真实飞书用户身份端到端验证。

PR #102


English

lark-cli 1.0.65 → 1.0.66. Bigger than a typical patch: one new shortcut, a calendar reference restructure, plus error-handling and param enhancements across several domains.

Highlights

  • New lark_calendar_get: fetch a single event's full detail by event_id (new scope calendar:calendar.event:read). Calendar references restructured: agenda / freebusy / search-event inlined into the main doc, recurring / schedule-clear-time / schedule-fuzzy-time added.
  • drive: serial-import rule for same-location concurrency; +push structured error fields (error_class / phase / code / retryable) and already_deleted / summary.aborted semantics.
  • markdown: +create accepts a URL directly for folder_token / wiki_token; new failure-handling section.
  • minutes: minutes +detail gains wait_ready (required when reading right after upload); the upload response now returns minute_token directly.
  • task: judge success by ok == true (the success envelope has no code field); task ID from data.guid.
  • wiki: node-list clarifies numeric space_id and /wiki/<token> URL for parent_node_token; adds error handling.
  • doc: word-count check becomes a hard gate when an explicit requirement is stated; adds a duplicate-title check.

Verification: 5-perspective review panel all PASS; npm test 563 pass; docker smoke 6/6; the new lark_calendar_get verified end-to-end with a real Feishu user identity.

PR #102.