Skip to content

v1.5.0: Runtime CLI Introspection, Bounded ReAct Loop & Compact 23-Domain Scopes UI

Choose a tag to compare

@DeepLifeStudio DeepLifeStudio released this 27 Nov 08:33
· 2 commits to main since this release

Highlights / 更新亮点

Runtime CLI Introspection & Bounded ReAct Tool Loop / 运行时 CLI 自省与有界工具循环

  • Zero static command allowlists (cli-introspect.js): Replaces the 2,400+ line hand-maintained command table (readonly-allowlist.js) with live introspection against @larksuite/cli (lark-cli <cmd> --help Risk: read | write | high-risk-write, Required flags, lark-cli schema <dotpath>, and progressive references/*.md guide reads) backed by fail-closed global safety guards.
  • Bounded ReAct collaboration loop (collab-loop.js): Replaces fragile multi-stage blind-guess JSON pipelines and hardcoded shortcuts with one native tool-calling loop (read_skill, inspect_cli, run_readonly, propose_write, suggest_base_table, capped at 8 turns). Supports multi-hop cross-domain lookups, in-loop self-correction via real --help / stderr feedback, immediate missing_scope interruption, and guarantees pure read-only queries never pop write confirmation cards.

Full 23-Domain Scopes & Compact Connection Modal / 23 领域权限预加载与紧凑连接弹窗

  • Complete 23-domain coverage & incremental auth: Expands getScopes across all 23 Feishu/Lark capability domains (parsing user_scopes, tenant_scopes, and identities.user.scope) with targeted per-domain / missing-scope authorization and inline re-auth recovery without wiping active workspaces.
  • Compact grouped chip flow UI: Replaces the clipped 23-card Checking grid inside AccountModal with a single lightweight loading bar during initial verification, grouped Active / Inactive compact chips, background silent preloading, and a 15-second backend cache with ?force=1 refresh.

Multimodal, Batch Confirmation & CLI Error Fixes / 多模态上传、批量确认与错误处理修复

  • Fixes host saveImage({ data }) upload contract (Uint8Array), parses structured CLI stderr error envelopes (missing_scope, exitCode === 10), executes up to 50 confirmed steps with automatic --yes for high-risk-write, and covers both +get-my-tasks and +get-related-tasks for task discovery and cleanup.

Install / Update / 安装与更新

dsh plugin --profile desktop update dsh-lark-studio
# or / 或
npm i dsh-lark-studio@1.5.0