@lmcl/ailo-mcp-feishu 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -878,6 +878,7 @@ export class FeishuHandler {
878
878
  },
879
879
  });
880
880
  await wsClientAny.reConnect(true);
881
+ this.ctx?.reportHealth("connected");
881
882
  }
882
883
  /**
883
884
  * 根据文件名/扩展名推断飞书 im.file.create 的 file_type。
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ if (!FEISHU_APP_ID || !FEISHU_APP_SECRET) {
11
11
  }
12
12
  const handler = new FeishuHandler({ appId: FEISHU_APP_ID, appSecret: FEISHU_APP_SECRET });
13
13
  handler.setOnBotRemovedFromGroup(() => { });
14
- function feishuBuildChannelPrompt() {
14
+ function feishuBuildChannelInstructions() {
15
15
  return `ID 格式:ou_xxx 是飞书用户 ID,oc_xxx 是群组 ID。
16
16
 
17
17
  @提及:@提及格式为 @显示名(ou_xxx)。使用此格式可触发飞书强提醒。
@@ -27,6 +27,6 @@ runMcpChannel({
27
27
  handler,
28
28
  displayName: "飞书",
29
29
  defaultRequiresResponse: true,
30
- buildChannelPrompt: feishuBuildChannelPrompt,
30
+ buildChannelInstructions: feishuBuildChannelInstructions,
31
31
  mcpServer,
32
32
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmcl/ailo-mcp-feishu",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Ailo 飞书/Lark 通道 MCP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@larksuiteoapi/node-sdk": "^1.56.1",
22
- "@lmcl/ailo-mcp-sdk": "^0.2.4",
22
+ "@lmcl/ailo-mcp-sdk": "file:../ailo-mcp-sdk",
23
23
  "@modelcontextprotocol/sdk": "^1.26.0",
24
24
  "dotenv": "^16.4.5",
25
25
  "form-data": "^4.0.0",