v0.38.0 — lark-cli 1.0.66 + calendar +get、多域错误处理增强
中文
lark-cli 1.0.65 → 1.0.66。上游这次改动比一般 patch 大:新增一个 shortcut、calendar 参考文件重构,外加多个域的错误处理与参数增强。
核心变化
- calendar 新增
lark_calendar_get:按event_id拉取单条日程完整详情(新 scopecalendar: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:
+create的folder_token/wiki_token可直接传 URL;新增失败处理小节。 - minutes:
minutes +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 byevent_id(new scopecalendar:calendar.event:read). Calendar references restructured:agenda/freebusy/search-eventinlined into the main doc,recurring/schedule-clear-time/schedule-fuzzy-timeadded. - drive: serial-import rule for same-location concurrency;
+pushstructured error fields (error_class/phase/code/retryable) andalready_deleted/summary.abortedsemantics. - markdown:
+createaccepts a URL directly forfolder_token/wiki_token; new failure-handling section. - minutes:
minutes +detailgainswait_ready(required when reading right after upload); the upload response now returnsminute_tokendirectly. - task: judge success by
ok == true(the success envelope has nocodefield); task ID fromdata.guid. - wiki: node-list clarifies numeric
space_idand/wiki/<token>URL forparent_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.