/** * opencode-chat-channel — 飞书渠道适配器 * * 通过飞书长连接(WebSocket)接收消息,实现 ChatChannel 接口。 * * 凭证读取优先级(FEISHU_APP_SECRET): * 1. 环境变量 FEISHU_APP_SECRET(所有平台,最高优先) * 2. macOS Keychain(仅 macOS,自动尝试) * service=opencode-chat-channel,account=chat-channel * 写入:security add-generic-password -a chat-channel -s opencode-chat-channel -w -U * 3. ~/.config/opencode/.env 中的 FEISHU_APP_SECRET(Windows/Linux 推荐) * * FEISHU_APP_ID 始终从 .env 文件读取(非敏感)。 */ import type { ChannelFactory } from "../../types.js"; /** * 飞书渠道工厂函数。 * 凭证不完整时记录警告日志并返回 null(插件跳过该渠道)。 */ export declare const feishuChannelFactory: ChannelFactory; //# sourceMappingURL=index.d.ts.map