fa-mcp-sdk 0.2.100 → 0.2.102
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 +15 -1
- package/package.json +1 -1
package/bin/fa-mcp.js
CHANGED
|
@@ -613,7 +613,21 @@ certificate's public and private keys`,
|
|
|
613
613
|
// Check if directory is empty
|
|
614
614
|
try {
|
|
615
615
|
const files = await fs.readdir(targetPath);
|
|
616
|
-
const allowedFiles = [
|
|
616
|
+
const allowedFiles = [
|
|
617
|
+
'.git',
|
|
618
|
+
'.idea',
|
|
619
|
+
'.vscode',
|
|
620
|
+
'.swp',
|
|
621
|
+
'.swo',
|
|
622
|
+
'.DS_Store',
|
|
623
|
+
'.sublime-project',
|
|
624
|
+
'.sublime-workspace',
|
|
625
|
+
'node_modules',
|
|
626
|
+
'dist',
|
|
627
|
+
'_misc',
|
|
628
|
+
'_tmp',
|
|
629
|
+
'~last-cli-config.json'
|
|
630
|
+
];
|
|
617
631
|
const hasOtherFiles = files.some(file => !allowedFiles.includes(file));
|
|
618
632
|
|
|
619
633
|
if (hasOtherFiles) {
|
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.102",
|
|
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",
|