diff --git a/README.md b/README.md index 5a1d47f..042b29a 100644 --- a/README.md +++ b/README.md @@ -152,20 +152,25 @@ npm run dev #### 5.2 配置 Metabot -创建 `bots.json` 文件: +在 `metabot/` 目录下创建 `bots.json` 文件: ```json { - "myclaude": { - "app_id": "cli_xxxxx", - "app_secret": "xxxxxxxxxxxxx" - } + "feishuBots": [ + { + "name": "myclaude", + "description": "Claude Code assistant bot", + "feishuAppId": "cli_xxxxx", + "feishuAppSecret": "xxxxxxxxxxxxx", + "defaultWorkingDirectory": "~/Documents/myResearch/myProjects/apaam/repo/myclaude" + } + ] } ``` -**建议路径**:`~/Documents/myResearch/myProjects/apaam/repo/metabot/bots.json` +**文件路径**:`metabot/bots.json`(与 myclaude 项目同级目录) -> 💡 **提示**:复制上述模板,替换 `cli_xxxxx` 和 `xxxxxxxxxxxxx` 为你的飞书应用凭证。 +> 💡 **提示**:复制上述模板,替换 `cli_xxxxx` 和 `xxxxxxxxxxxxx` 为你的飞书应用凭证。`defaultWorkingDirectory` 设置为你希望 Claude 操作的默认工作目录。 ### 6. 启动与使用