fa-mcp-sdk 0.4.114 → 0.4.116
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.
|
@@ -2515,12 +2515,9 @@ class McpAgentTester {
|
|
|
2515
2515
|
|
|
2516
2516
|
if (type === 'object' || schema.properties) {
|
|
2517
2517
|
const props = schema.properties || {};
|
|
2518
|
-
const required = new Set(Array.isArray(schema.required) ? schema.required : Object.keys(props));
|
|
2519
2518
|
const out = {};
|
|
2520
2519
|
for (const [key, propSchema] of Object.entries(props)) {
|
|
2521
|
-
|
|
2522
|
-
out[key] = this.skeletonValue(propSchema);
|
|
2523
|
-
}
|
|
2520
|
+
out[key] = this.skeletonValue(propSchema);
|
|
2524
2521
|
}
|
|
2525
2522
|
return out;
|
|
2526
2523
|
}
|
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.116",
|
|
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",
|
package/scripts/update-sdk.js
CHANGED
|
@@ -137,13 +137,13 @@ const scriptsDestDir = join(cwd, 'scripts');
|
|
|
137
137
|
const individualScripts = [
|
|
138
138
|
'+x.js',
|
|
139
139
|
'cc-hook-oxlint-oxfmt-fix.cjs',
|
|
140
|
+
'claude-2-agents-symlink.js',
|
|
140
141
|
'clone-mcp-ext-apps.js',
|
|
141
142
|
'fcp.js',
|
|
142
143
|
'generate-jwt.js',
|
|
143
144
|
'kill-port.js',
|
|
144
145
|
'pre-commit',
|
|
145
146
|
'remove-nul.js',
|
|
146
|
-
'claude-2-agents-symlink.js',
|
|
147
147
|
'update-sdk.js',
|
|
148
148
|
];
|
|
149
149
|
|
|
@@ -152,7 +152,6 @@ for (const file of individualScripts) {
|
|
|
152
152
|
const dest = join(scriptsDestDir, file);
|
|
153
153
|
if (!existsSync(src)) {
|
|
154
154
|
console.error('Source not found:', src);
|
|
155
|
-
process.exit(1);
|
|
156
155
|
}
|
|
157
156
|
mkdirSync(dirname(dest), { recursive: true });
|
|
158
157
|
cpSync(src, dest);
|