feat(feishu): add the Feishu plugin over the official lark-cli

Install a pinned @larksuite/cli with the plugin, register its bin
directory as a private Shell PATH contribution, and publish the CLI's
embedded skills with DSH guidance for setup and sign-in in the
conversation through the shared default CLI account. Repository
installs deny the CLI's binary download; profiles that install the
plugin approve it through Plugin Manager.
This commit is contained in:
gengruilin committed 2026-10-06 00:30:04 +08:00
1 parent ebf0ea51ab
commit 4ffef092ca
27 files changed
+1253

No files matched your search

+24
View File
@@ -1537,6 +1537,30 @@ export interface Config {
}
```
<!-- END GENERATED config-catalog:@deepseek-ai/dsh-experimental-worktree -->
<!-- BEGIN GENERATED config-catalog:@deepseek-ai/dsh-feishu -->
<a id="deepseek-aidsh-feishu"></a>
## `@deepseek-ai/dsh-feishu`
- `inject`: `skills` · `subprocess` · `shellEnv`
- `source`: [`packages/connector/feishu/src/index.ts:21`](../packages/connector/feishu/src/index.ts)
```ts config-catalog
/** CLI location and limits for backend skill commands. */
export interface Config extends FeishuCliLimits {
/** Absolute directory containing `lark-cli`; defaults to the installed `@larksuite/cli` package. */
binDir?: string
}
/** Deployment limits for one native command. */
export interface FeishuCliLimits {
/** Deadline in milliseconds, including executable lookup. */
commandTimeoutMs: number
/** Maximum stdout bytes retained from one command. */
maxOutputBytes: number
}
```
<!-- END GENERATED config-catalog:@deepseek-ai/dsh-feishu -->
<!-- BEGIN GENERATED config-catalog:@deepseek-ai/dsh-file-reference-local -->
<a id="deepseek-aidsh-file-reference-local"></a>
+24
View File
@@ -1539,6 +1539,30 @@ export interface Config {
}
```
<!-- END GENERATED config-catalog:@deepseek-ai/dsh-experimental-worktree -->
<!-- BEGIN GENERATED config-catalog:@deepseek-ai/dsh-feishu -->
<a id="deepseek-aidsh-feishu"></a>
## `@deepseek-ai/dsh-feishu`
- `inject`: `skills` · `subprocess` · `shellEnv`
- `source`: [`packages/connector/feishu/src/index.ts:21`](../packages/connector/feishu/src/index.ts)
```ts config-catalog
/** CLI location and limits for backend skill commands. */
export interface Config extends FeishuCliLimits {
/** Absolute directory containing `lark-cli`; defaults to the installed `@larksuite/cli` package. */
binDir?: string
}
/** Deployment limits for one native command. */
export interface FeishuCliLimits {
/** Deadline in milliseconds, including executable lookup. */
commandTimeoutMs: number
/** Maximum stdout bytes retained from one command. */
maxOutputBytes: number
}
```
<!-- END GENERATED config-catalog:@deepseek-ai/dsh-feishu -->
<!-- BEGIN GENERATED config-catalog:@deepseek-ai/dsh-file-reference-local -->
<a id="deepseek-aidsh-file-reference-local"></a>
+1
View File
@@ -232,6 +232,7 @@ flowchart TD
end
subgraph group_connector["packages/connector"]
pkg_cli_account["cli-account"]
pkg_feishu["feishu"]
end
subgraph group_context["packages/context"]
pkg_agent_instructions["agent-instructions"]
+1
View File
@@ -234,6 +234,7 @@ flowchart TD
end
subgraph group_connector["packages/connector"]
pkg_cli_account["cli-account"]
pkg_feishu["feishu"]
end
subgraph group_context["packages/context"]
pkg_agent_instructions["agent-instructions"]