feishu-mcp 0.0.1 → 0.0.2
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/index.js +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ export async function startServer() {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
// If this file is being run directly, start the server
|
|
27
|
-
if (
|
|
27
|
+
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
28
28
|
startServer().catch((error) => {
|
|
29
29
|
console.error("Failed to start server:", error);
|
|
30
30
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feishu-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Model Context Protocol server for Feishu integration",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"bin": {
|
|
7
8
|
"feishu-mcp": "./dist/cli.js"
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"lint": "eslint . --ext .ts",
|
|
22
23
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
23
24
|
"inspect": "pnpx @modelcontextprotocol/inspector",
|
|
24
|
-
"prepare": "pnpm run build
|
|
25
|
+
"prepare": "pnpm run build",
|
|
25
26
|
"pub:release": "pnpm build && npm publish"
|
|
26
27
|
},
|
|
27
28
|
"engines": {
|