fa-mcp-sdk 0.4.42 → 0.4.44
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
CHANGED
|
@@ -939,8 +939,13 @@ certificate's public and private keys`,
|
|
|
939
939
|
'mkdir', 'node', 'npm install', 'npm run', 'npm test', 'npm', 'npx', 'pkill', 'set', 'playwright', 'powershell',
|
|
940
940
|
'rm', 'taskkill', 'tasklist', 'timeout', 'turbo run', 'wc'];
|
|
941
941
|
const c2 = ['jobs', 'npm start', 'unset http_proxy'];
|
|
942
|
+
const c3 = ['./config/local.yaml', './node_modules/fa-mcp-sdk/config/_local.yaml'];
|
|
942
943
|
const i = ' '.repeat(8);
|
|
943
|
-
const allowBashLines = [
|
|
944
|
+
const allowBashLines = [
|
|
945
|
+
...c1.map((c) => `${i}"Bash(${c}:*)",`),
|
|
946
|
+
...c2.map((c) => `${i}"Bash(${c})",`),
|
|
947
|
+
...c3.map((c) => `${i}"Read(${c})",`),
|
|
948
|
+
].join('\n');
|
|
944
949
|
const transformFn = (c) => c.replace('"acceptEdits"', '"bypassPermissions"')
|
|
945
950
|
.replace(/"allow": \[\s+"Edit",/, `"allow": [\n${allowBashLines}\n${i}"Edit",`);
|
|
946
951
|
await this.transformTargetFile(config, '.claude/settings.json', transformFn);
|
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.4.
|
|
4
|
+
"version": "0.4.44",
|
|
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",
|