fa-mcp-sdk 0.2.194 → 0.2.195
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/bin/fa-mcp.js +3 -2
- package/package.json +1 -1
package/bin/fa-mcp.js
CHANGED
|
@@ -716,10 +716,11 @@ certificate's public and private keys`,
|
|
|
716
716
|
// Check if directory is empty
|
|
717
717
|
try {
|
|
718
718
|
const files = await fs.readdir(tp);
|
|
719
|
-
const
|
|
719
|
+
const firstDeprecatedFile = files.find((file) => !ALLOWED_FILES.includes(file));
|
|
720
720
|
|
|
721
|
-
if (
|
|
721
|
+
if (firstDeprecatedFile) {
|
|
722
722
|
console.error(errMsg);
|
|
723
|
+
console.error(` First deprecated file: ${hl(firstDeprecatedFile)}`);
|
|
723
724
|
process.exit(1);
|
|
724
725
|
}
|
|
725
726
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fa-mcp-sdk",
|
|
3
3
|
"productName": "FA MCP SDK",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.195",
|
|
5
5
|
"description": "Core infrastructure and templates for building Model Context Protocol (MCP) servers with TypeScript",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/core/index.js",
|