lark-bridge-mcp 2.2.2 → 2.2.3
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
|
@@ -421,7 +421,7 @@ async function pollReply(timeoutMs) {
|
|
|
421
421
|
return await waitForReply(timeoutMs);
|
|
422
422
|
}
|
|
423
423
|
// ── MCP Server ──────────────────────────────────────────
|
|
424
|
-
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.2.
|
|
424
|
+
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.2.3", description: "飞书消息桥接 – 通过飞书与用户沟通" });
|
|
425
425
|
mcpServer.tool("sync_message", "飞书消息同步工具。传 message 则发送消息;传 timeout_seconds 则等待用户回复;两者同时传则先发送再等待。均不传时仅检查待处理消息。", {
|
|
426
426
|
message: z.string().optional().describe("要发送给用户的消息内容。不传则不发送"),
|
|
427
427
|
timeout_seconds: z.number().optional().describe("等待用户回复的超时秒数。不传则不等待,立即返回"),
|
|
@@ -442,7 +442,7 @@ mcpServer.tool("send_file", "发送本地文件到飞书。file_path 为本地
|
|
|
442
442
|
// ── 主函数 ───────────────────────────────────────────────
|
|
443
443
|
export async function main() {
|
|
444
444
|
log("INFO", "════════════════════════════════════════════════");
|
|
445
|
-
log("INFO", "feishu-cursor-bridge MCP v2.2.
|
|
445
|
+
log("INFO", "feishu-cursor-bridge MCP v2.2.3 启动");
|
|
446
446
|
log("INFO", "════════════════════════════════════════════════");
|
|
447
447
|
const port = findDaemonPort();
|
|
448
448
|
if (port) {
|
package/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -361,7 +361,7 @@ async function pollReply(timeoutMs: number): Promise<string | null> {
|
|
|
361
361
|
|
|
362
362
|
// ── MCP Server ──────────────────────────────────────────
|
|
363
363
|
|
|
364
|
-
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.2.
|
|
364
|
+
const mcpServer = new McpServer({ name: "feishu-cursor-bridge", version: "2.2.3", description: "飞书消息桥接 – 通过飞书与用户沟通" });
|
|
365
365
|
|
|
366
366
|
mcpServer.tool(
|
|
367
367
|
"sync_message",
|
|
@@ -400,7 +400,7 @@ mcpServer.tool(
|
|
|
400
400
|
|
|
401
401
|
export async function main(): Promise<void> {
|
|
402
402
|
log("INFO", "════════════════════════════════════════════════");
|
|
403
|
-
log("INFO", "feishu-cursor-bridge MCP v2.2.
|
|
403
|
+
log("INFO", "feishu-cursor-bridge MCP v2.2.3 启动");
|
|
404
404
|
log("INFO", "════════════════════════════════════════════════");
|
|
405
405
|
|
|
406
406
|
const port = findDaemonPort();
|