@frontmcp/adapters 1.8.6 → 1.9.0
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/esm/index.mjs +6 -12
- package/esm/openapi/index.mjs +6 -12
- package/esm/package.json +6 -6
- package/index.js +6 -12
- package/openapi/index.js +6 -12
- package/openapi/openapi.adapter.d.ts.map +1 -1
- package/package.json +6 -6
package/esm/index.mjs
CHANGED
|
@@ -1355,19 +1355,13 @@ var OpenapiAdapter = class extends DynamicAdapter {
|
|
|
1355
1355
|
const inputSchemes = inputSecuritySchemes(this.options);
|
|
1356
1356
|
const hasPerSchemeControl = inputSchemes !== "all" && inputSchemes.size > 0;
|
|
1357
1357
|
const includeSecurityInInput = inputSchemes === "all" || hasPerSchemeControl;
|
|
1358
|
+
const generateOptions = this.options.generateOptions;
|
|
1358
1359
|
let openapiTools = await this.generator.generateTools({
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
includeDeprecated: this.options.generateOptions?.includeDeprecated ?? false,
|
|
1365
|
-
includeAllResponses: this.options.generateOptions?.includeAllResponses ?? true,
|
|
1366
|
-
includeSecurityInInput,
|
|
1367
|
-
maxSchemaDepth: this.options.generateOptions?.maxSchemaDepth,
|
|
1368
|
-
includeExamples: this.options.generateOptions?.includeExamples,
|
|
1369
|
-
resolveFormats: this.options.generateOptions?.resolveFormats,
|
|
1370
|
-
formatResolvers: this.options.generateOptions?.formatResolvers
|
|
1360
|
+
...generateOptions,
|
|
1361
|
+
preferredStatusCodes: generateOptions?.preferredStatusCodes ?? [200, 201, 202, 204],
|
|
1362
|
+
includeDeprecated: generateOptions?.includeDeprecated ?? false,
|
|
1363
|
+
includeAllResponses: generateOptions?.includeAllResponses ?? true,
|
|
1364
|
+
includeSecurityInInput
|
|
1371
1365
|
});
|
|
1372
1366
|
if (hasPerSchemeControl) {
|
|
1373
1367
|
openapiTools = openapiTools.map((tool2) => this.filterSecuritySchemes(tool2, inputSchemes));
|
package/esm/openapi/index.mjs
CHANGED
|
@@ -1355,19 +1355,13 @@ var OpenapiAdapter = class extends DynamicAdapter {
|
|
|
1355
1355
|
const inputSchemes = inputSecuritySchemes(this.options);
|
|
1356
1356
|
const hasPerSchemeControl = inputSchemes !== "all" && inputSchemes.size > 0;
|
|
1357
1357
|
const includeSecurityInInput = inputSchemes === "all" || hasPerSchemeControl;
|
|
1358
|
+
const generateOptions = this.options.generateOptions;
|
|
1358
1359
|
let openapiTools = await this.generator.generateTools({
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
includeDeprecated: this.options.generateOptions?.includeDeprecated ?? false,
|
|
1365
|
-
includeAllResponses: this.options.generateOptions?.includeAllResponses ?? true,
|
|
1366
|
-
includeSecurityInInput,
|
|
1367
|
-
maxSchemaDepth: this.options.generateOptions?.maxSchemaDepth,
|
|
1368
|
-
includeExamples: this.options.generateOptions?.includeExamples,
|
|
1369
|
-
resolveFormats: this.options.generateOptions?.resolveFormats,
|
|
1370
|
-
formatResolvers: this.options.generateOptions?.formatResolvers
|
|
1360
|
+
...generateOptions,
|
|
1361
|
+
preferredStatusCodes: generateOptions?.preferredStatusCodes ?? [200, 201, 202, 204],
|
|
1362
|
+
includeDeprecated: generateOptions?.includeDeprecated ?? false,
|
|
1363
|
+
includeAllResponses: generateOptions?.includeAllResponses ?? true,
|
|
1364
|
+
includeSecurityInInput
|
|
1371
1365
|
});
|
|
1372
1366
|
if (hasPerSchemeControl) {
|
|
1373
1367
|
openapiTools = openapiTools.map((tool2) => this.filterSecuritySchemes(tool2, inputSchemes));
|
package/esm/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/adapters",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Adapters for the FrontMCP framework",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"homepage": "https://docs.agentfront.dev",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"node": ">=24.0.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@frontmcp/auth": "1.
|
|
68
|
-
"@frontmcp/di": "1.
|
|
69
|
-
"@frontmcp/sdk": "1.
|
|
70
|
-
"@frontmcp/utils": "1.
|
|
67
|
+
"@frontmcp/auth": "1.9.0",
|
|
68
|
+
"@frontmcp/di": "1.9.0",
|
|
69
|
+
"@frontmcp/sdk": "1.9.0",
|
|
70
|
+
"@frontmcp/utils": "1.9.0",
|
|
71
71
|
"js-yaml": "^4.1.0",
|
|
72
72
|
"mcp-from-openapi": "2.8.0",
|
|
73
73
|
"openapi-types": "^12.1.3"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@frontmcp/lazy-zod": "1.
|
|
76
|
+
"@frontmcp/lazy-zod": "1.9.0"
|
|
77
77
|
}
|
|
78
78
|
}
|
package/index.js
CHANGED
|
@@ -1387,19 +1387,13 @@ var OpenapiAdapter = class extends import_sdk5.DynamicAdapter {
|
|
|
1387
1387
|
const inputSchemes = inputSecuritySchemes(this.options);
|
|
1388
1388
|
const hasPerSchemeControl = inputSchemes !== "all" && inputSchemes.size > 0;
|
|
1389
1389
|
const includeSecurityInInput = inputSchemes === "all" || hasPerSchemeControl;
|
|
1390
|
+
const generateOptions = this.options.generateOptions;
|
|
1390
1391
|
let openapiTools = await this.generator.generateTools({
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
includeDeprecated: this.options.generateOptions?.includeDeprecated ?? false,
|
|
1397
|
-
includeAllResponses: this.options.generateOptions?.includeAllResponses ?? true,
|
|
1398
|
-
includeSecurityInInput,
|
|
1399
|
-
maxSchemaDepth: this.options.generateOptions?.maxSchemaDepth,
|
|
1400
|
-
includeExamples: this.options.generateOptions?.includeExamples,
|
|
1401
|
-
resolveFormats: this.options.generateOptions?.resolveFormats,
|
|
1402
|
-
formatResolvers: this.options.generateOptions?.formatResolvers
|
|
1392
|
+
...generateOptions,
|
|
1393
|
+
preferredStatusCodes: generateOptions?.preferredStatusCodes ?? [200, 201, 202, 204],
|
|
1394
|
+
includeDeprecated: generateOptions?.includeDeprecated ?? false,
|
|
1395
|
+
includeAllResponses: generateOptions?.includeAllResponses ?? true,
|
|
1396
|
+
includeSecurityInInput
|
|
1403
1397
|
});
|
|
1404
1398
|
if (hasPerSchemeControl) {
|
|
1405
1399
|
openapiTools = openapiTools.map((tool2) => this.filterSecuritySchemes(tool2, inputSchemes));
|
package/openapi/index.js
CHANGED
|
@@ -1387,19 +1387,13 @@ var OpenapiAdapter = class extends import_sdk5.DynamicAdapter {
|
|
|
1387
1387
|
const inputSchemes = inputSecuritySchemes(this.options);
|
|
1388
1388
|
const hasPerSchemeControl = inputSchemes !== "all" && inputSchemes.size > 0;
|
|
1389
1389
|
const includeSecurityInInput = inputSchemes === "all" || hasPerSchemeControl;
|
|
1390
|
+
const generateOptions = this.options.generateOptions;
|
|
1390
1391
|
let openapiTools = await this.generator.generateTools({
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
includeDeprecated: this.options.generateOptions?.includeDeprecated ?? false,
|
|
1397
|
-
includeAllResponses: this.options.generateOptions?.includeAllResponses ?? true,
|
|
1398
|
-
includeSecurityInInput,
|
|
1399
|
-
maxSchemaDepth: this.options.generateOptions?.maxSchemaDepth,
|
|
1400
|
-
includeExamples: this.options.generateOptions?.includeExamples,
|
|
1401
|
-
resolveFormats: this.options.generateOptions?.resolveFormats,
|
|
1402
|
-
formatResolvers: this.options.generateOptions?.formatResolvers
|
|
1392
|
+
...generateOptions,
|
|
1393
|
+
preferredStatusCodes: generateOptions?.preferredStatusCodes ?? [200, 201, 202, 204],
|
|
1394
|
+
includeDeprecated: generateOptions?.includeDeprecated ?? false,
|
|
1395
|
+
includeAllResponses: generateOptions?.includeAllResponses ?? true,
|
|
1396
|
+
includeSecurityInInput
|
|
1403
1397
|
});
|
|
1404
1398
|
if (hasPerSchemeControl) {
|
|
1405
1399
|
openapiTools = openapiTools.map((tool2) => this.filterSecuritySchemes(tool2, inputSchemes));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapi.adapter.d.ts","sourceRoot":"","sources":["../../src/openapi/openapi.adapter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,cAAc,EAAE,KAAK,uBAAuB,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAS3G,OAAO,EAIL,KAAK,qBAAqB,EAQ3B,MAAM,iBAAiB,CAAC;AAwBzB,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,cAAc,CAAC,qBAAqB,CAAC;IAC/E,OAAO,CAAC,SAAS,CAAC,CAAuB;IACzC,OAAO,CAAC,MAAM,CAAiB;IACxB,OAAO,EAAE,qBAAqB,CAAC;IACtC,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,eAAe,CAA0D;IACjF,OAAO,CAAC,YAAY,CAAoC;gBAE5C,OAAO,EAAE,qBAAqB;IAc1C;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI;IAIjC,KAAK,IAAI,OAAO,CAAC,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"openapi.adapter.d.ts","sourceRoot":"","sources":["../../src/openapi/openapi.adapter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,cAAc,EAAE,KAAK,uBAAuB,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAS3G,OAAO,EAIL,KAAK,qBAAqB,EAQ3B,MAAM,iBAAiB,CAAC;AAwBzB,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,cAAc,CAAC,qBAAqB,CAAC;IAC/E,OAAO,CAAC,SAAS,CAAC,CAAuB;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package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/adapters",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Adapters for the FrontMCP framework",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"homepage": "https://docs.agentfront.dev",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"node": ">=24.0.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@frontmcp/auth": "1.
|
|
68
|
-
"@frontmcp/di": "1.
|
|
69
|
-
"@frontmcp/sdk": "1.
|
|
70
|
-
"@frontmcp/utils": "1.
|
|
67
|
+
"@frontmcp/auth": "1.9.0",
|
|
68
|
+
"@frontmcp/di": "1.9.0",
|
|
69
|
+
"@frontmcp/sdk": "1.9.0",
|
|
70
|
+
"@frontmcp/utils": "1.9.0",
|
|
71
71
|
"js-yaml": "^4.1.0",
|
|
72
72
|
"mcp-from-openapi": "2.8.0",
|
|
73
73
|
"openapi-types": "^12.1.3"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@frontmcp/lazy-zod": "1.
|
|
76
|
+
"@frontmcp/lazy-zod": "1.9.0"
|
|
77
77
|
}
|
|
78
78
|
}
|