The feishu row registers its account with ctx.cliAccounts instead of
serving its own Remote to a browser package:
- src/presentation.ts maps each account view to the section, tag,
buttons, sign-out and app-replacement confirmations, linked-app row,
and failure with the CLI's classified error, in the text of
src/locales.ts in every shipped language; the activation prompt
links an app or signs in through display.connect.
- The row becomes a function plugin and registers only while the
registry runs, so headless profiles load it without the page. The
account's private status recorder is renamed so it no longer shadows
the runtime's observe().
- The ui-feishu browser package, the feishu Remote, and its generated
artifacts are removed.
The plugin registers lark-cli's absolute path through
registerCliPathContext and runs its own commands by the same path. The
Host-runtime check, the private PATH registration, and the shell-env
dependency are removed. The skill guidance, READMEs, tests, and the
feishu-skills snapshot follow the runtime-context path.
The skill catalog lists a single `feishu` entry instead of every skill
that lark-cli embeds. Loading it reads `lark-cli skills list --json` and
returns the DSH guidance, an index of each guide's name and description,
and how to open a guide and the files it references with
`lark-cli skills read`. A failed catalog read fails only that load.
The lark-cli 1.0.97 catalog is kept as a test fixture so the loaded body
stays below the tool-result pruning threshold.
An untrusted HTTPS line printed before the setup link no longer uses up the single offer. FeishuAccount now owns its cancellable phases, trusted hosts, and failure classifier, so the specs exercise the shipped rules; generic runner and runtime cases moved to the CLI account kit.
Split the Feishu plugin into three packages. The @deepseek-ai/dsh-feishu
bundle keeps the install name and inserts two rows: the Host row
@deepseek-ai/dsh-feishu-cli and the Plugins page row
@deepseek-ai/dsh-client-ui-feishu.
The Host row is now a Remote service. It checks the lark-cli default account
for each new follower, links an app with config init and signs in with auth
login, signs out, and cancels, one Host-owned operation at a time. Setup and
sign-in links reach the page only as HTTPS addresses on feishu.cn or
larksuite.com.
The page row shows the Feishu account section, a connection tag, guidance
after the plugin is switched on, and connection notices. It mounts the
feishu Remote itself and opens each link once, only for the operation this
browser started.
The skill guidance now asks the user to connect Feishu on the plugin page and
runs the CLI's own setup only when the user asks to finish it in the
conversation.