Highlights / 更新亮点
Security & Read-Only Skill Guard / 只读技能安全白名单与确认护栏
- Strict allowlist for
run_skill (readonly-allowlist.js): Replaces the blacklist with validateReadonlySkillArgv, restricting auto-execution to verified read-only lark-cli subcommands and flags (blocking unallowlisted commands/flags, @file, -, --output, and arbitrary --params/--dry-run inputs).
- Double enforcement & inline confirmation card: Enforces
validateReadonlySkillArgv again before executeSkillSteps runs; any write, export, or unallowlisted command routes through an inline confirmation card (skill_guard) requiring explicit user approval.
- Cleaner CLI output: Automatically strips internal
_notice update reminders from CLI responses and fixes task +delete (--task-guid) / Wiki list_spaces error handling.
Feishu & Lark Dual-Brand Support / 飞书(中国区)与 Lark(国际版)双品牌支持
- Accurate client deep-linking (
lk_unique=true): Normalizes *.feishu.cn / *.larkoffice.com ↔ *.larksuite.com per configured or detected brand and appends lk_unique=true to AppLink URLs so macOS/browser launches x-lark:// (LarkSuite.app) vs x-feishu:// (Lark.app) unambiguously even when both desktop clients are installed.
- Brand switcher in setup gate: Lets users choose Feishu (China) or Lark (Global) directly during onboarding or via plugin
brand setting (auto / feishu / lark).
LLM-Native Routing & UX Motion Polish / 纯模型原生路由与交互体验升级
- Zero hardcoded keyword heuristics: Removes brittle intent-guessing regexes across Home, Preview, and Assistant flows; Home
/plan now streams stage events (understanding → building_preview / routing_collab) with a centered borderless breathing indicator before revealing table skeletons.
- Preview floating reply & non-blocking composer: Conversational questions in Base Preview display in a compact, Markdown-rendered floating card above the composer; removes the
readOnly lock while busy and supports Enter-to-queue follow-up prompts cleanly.
Install / Update / 安装与更新
dsh plugin --profile desktop update dsh-lark-studio
# or / 或
npm i dsh-lark-studio@1.4.1