UNPKG

@lark-project/cli

Version:

飞书项目插件开发工具

22 lines (21 loc) 983 B
interface DocsOptions { format?: 'text' | 'json'; } /** * `lpm ai docs <query>` — search official Feishu Project / Meego plugin dev docs. * * Why native (not the host's `feishu-project-knowledge` MCP): the skill used to * call that MCP tool directly, which is a hard dependency on the AI host having * the server configured. This command moves the call into the CLI and reuses the * plugin project's existing `lpm login` token, so it works across agents/machines * with no host MCP config. userkey is resolved server-side from the token (facade * middleware → app_center CheckToken); the CLI never touches it. * * Result is written to `.lpm-cache/mcp/<slug>.md` (same cache convention the skill * already reads with `lpm ai peek`); stdout reports the cache path. * * Exit 0 on success, 1 on any error (missing query / siteDomain / auth / request / * JSON-RPC error). */ export declare function docs(query: string, opts: DocsOptions): Promise<void>; export {};