lark-bridge-mcp 2.4.0 → 2.4.4
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.
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/src/server.ts +2 -2
package/dist/server.js
CHANGED
|
@@ -368,7 +368,7 @@ function startLarkConnection() {
|
|
|
368
368
|
wsClient.start({ eventDispatcher }).then(() => log("INFO", "飞书 WebSocket 连接建立成功")).catch((e) => log("ERROR", `飞书 WebSocket 连接失败: ${e?.message ?? e}`));
|
|
369
369
|
}
|
|
370
370
|
// ── MCP Server ──────────────────────────────────────────
|
|
371
|
-
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.4.
|
|
371
|
+
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.4.4", description: "飞书消息桥接 – 通过飞书与用户沟通" });
|
|
372
372
|
mcpServer.tool("sync_message", "飞书消息同步工具。传 message 则发送消息;传 timeout_seconds 则等待用户回复;两者同时传则先发送再等待。均不传时仅检查待处理消息。", {
|
|
373
373
|
message: z.string().optional().describe("要发送给用户的消息内容。不传则不发送"),
|
|
374
374
|
timeout_seconds: z.number().optional().describe("等待用户回复的超时秒数。不传则不等待,立即返回"),
|
|
@@ -399,7 +399,7 @@ export async function main() {
|
|
|
399
399
|
process.exit(1);
|
|
400
400
|
}
|
|
401
401
|
log("INFO", "════════════════════════════════════════════════");
|
|
402
|
-
log("INFO", `feishu-cursor-bridge MCP v2.4.
|
|
402
|
+
log("INFO", `feishu-cursor-bridge MCP v2.4.4 启动 (PID=${process.pid})`);
|
|
403
403
|
log("INFO", "════════════════════════════════════════════════");
|
|
404
404
|
const queueDir = initFileQueue(APP_ID);
|
|
405
405
|
log("INFO", `共享文件队列: ${queueDir}`);
|
package/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -326,7 +326,7 @@ function startLarkConnection(): void {
|
|
|
326
326
|
|
|
327
327
|
// ── MCP Server ──────────────────────────────────────────
|
|
328
328
|
|
|
329
|
-
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.4.
|
|
329
|
+
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.4.4", description: "飞书消息桥接 – 通过飞书与用户沟通" });
|
|
330
330
|
|
|
331
331
|
mcpServer.tool(
|
|
332
332
|
"sync_message",
|
|
@@ -375,7 +375,7 @@ export async function main(): Promise<void> {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
log("INFO", "════════════════════════════════════════════════");
|
|
378
|
-
log("INFO", `feishu-cursor-bridge MCP v2.4.
|
|
378
|
+
log("INFO", `feishu-cursor-bridge MCP v2.4.4 启动 (PID=${process.pid})`);
|
|
379
379
|
log("INFO", "════════════════════════════════════════════════");
|
|
380
380
|
|
|
381
381
|
const queueDir = initFileQueue(APP_ID);
|