Skip to content

Releases: hongshancapital/cli

v1.0.3

02 Apr 15:24

Choose a tag to compare

fix(auth): use placeholder AppID/AppSecret for env token mode

The Lark SDK validates AppID and AppSecret are non-empty even when a
UserAccessToken is provided directly (via LARK_ACCESS_TOKEN env var).
Since AppID/AppSecret are only used for bot (tenant) token acquisition,
which is never triggered in user-token injection mode, we use a
placeholder value to pass the SDK validation.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

v1.0.1 - LARK_ACCESS_TOKEN external token injection

02 Apr 03:50

Choose a tag to compare

Changes

  • Support LARK_ACCESS_TOKEN environment variable for external token injection
  • Support LARK_BRAND environment variable (defaults to feishu)
  • No config file needed when LARK_ACCESS_TOKEN is set

Usage

LARK_ACCESS_TOKEN="u-xxx" LARK_BRAND="feishu" lark-cli calendar +agenda

This enables centralized OAuth token management (e.g. via daedalus → cowork → lark-cli).