@frontmcp/sdk 1.4.0 → 1.4.1
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 +4 -2
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/index.js +2 -2
- package/package.json +28 -28
package/esm/index.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { createRequire as __frontmcpCreateRequire } from 'module';
|
|
2
|
+
const require = __frontmcpCreateRequire(import.meta.url);
|
|
1
3
|
var __defProp = Object.defineProperty;
|
|
2
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -57608,7 +57610,7 @@ var init_front_mcp = __esm({
|
|
|
57608
57610
|
serve: false
|
|
57609
57611
|
});
|
|
57610
57612
|
if (parsedConfig.logging) {
|
|
57611
|
-
parsedConfig.logging.enableConsole =
|
|
57613
|
+
parsedConfig.logging.enableConsole = true;
|
|
57612
57614
|
const transports = parsedConfig.logging.transports ?? [];
|
|
57613
57615
|
if (!transports.includes(FileLogTransportInstance)) {
|
|
57614
57616
|
transports.push(FileLogTransportInstance);
|
|
@@ -57616,7 +57618,7 @@ var init_front_mcp = __esm({
|
|
|
57616
57618
|
parsedConfig.logging.transports = transports;
|
|
57617
57619
|
} else {
|
|
57618
57620
|
parsedConfig["logging"] = {
|
|
57619
|
-
enableConsole:
|
|
57621
|
+
enableConsole: true,
|
|
57620
57622
|
transports: [FileLogTransportInstance]
|
|
57621
57623
|
};
|
|
57622
57624
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-mcp.d.ts","sourceRoot":"","sources":["../../src/front-mcp/front-mcp.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,E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AkB;IAI/B;;;OAGG;IACH,SAAS,IAAI,UAAU,EAAE;IAIzB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAiCzB;;;;;;;OAOG;IACH,OAAO,CAAC,kBAAkB;WAoBN,SAAS,CAAC,OAAO,EAAE,mBAAmB,GAAG,kBAAkB;IAkB/E;;;;;;;;;;OAUG;WACiB,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;IAoBhF;;;;;;;;OAQG;WACiB,cAAc,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQ3F;;;;;;;;OAQG;WACiB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IA4BzF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;WACiB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC;IAqBxF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;WACiB,aAAa,CAC/B,OAAO,EAAE,CAAC,mBAAmB,GAAG,kBAAkB,CAAC,GAAG;QACpD,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,kBAAkB,CAAC;KAC7B,GACA,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC;IAmD1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;WACiB,QAAQ,CAAC,cAAc,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;CA4OjF"}
|
package/index.js
CHANGED
|
@@ -57453,7 +57453,7 @@ var init_front_mcp = __esm({
|
|
|
57453
57453
|
serve: false
|
|
57454
57454
|
});
|
|
57455
57455
|
if (parsedConfig.logging) {
|
|
57456
|
-
parsedConfig.logging.enableConsole =
|
|
57456
|
+
parsedConfig.logging.enableConsole = true;
|
|
57457
57457
|
const transports = parsedConfig.logging.transports ?? [];
|
|
57458
57458
|
if (!transports.includes(FileLogTransportInstance)) {
|
|
57459
57459
|
transports.push(FileLogTransportInstance);
|
|
@@ -57461,7 +57461,7 @@ var init_front_mcp = __esm({
|
|
|
57461
57461
|
parsedConfig.logging.transports = transports;
|
|
57462
57462
|
} else {
|
|
57463
57463
|
parsedConfig["logging"] = {
|
|
57464
|
-
enableConsole:
|
|
57464
|
+
enableConsole: true,
|
|
57465
57465
|
transports: [FileLogTransportInstance]
|
|
57466
57466
|
};
|
|
57467
57467
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/sdk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "FrontMCP SDK",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"homepage": "https://docs.agentfront.dev",
|
|
@@ -86,61 +86,61 @@
|
|
|
86
86
|
"node": ">=24.0.0"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"express": "^4.18.0 || ^5.0.0",
|
|
90
|
-
"cors": "^2.8.5",
|
|
91
|
-
"raw-body": "^3.0.0",
|
|
92
|
-
"content-type": "^1.0.5",
|
|
93
|
-
"@vercel/kv": "^3.0.0",
|
|
94
|
-
"@frontmcp/storage-sqlite": "1.4.0",
|
|
95
|
-
"openai": "^4.0.0 || ^5.0.0 || ^6.0.0",
|
|
96
89
|
"@anthropic-ai/sdk": "^0.30.0 || ^0.78.0",
|
|
97
|
-
"@frontmcp/observability": "1.4.0",
|
|
98
90
|
"@enclave-vm/core": "^2.13.0",
|
|
99
|
-
"
|
|
91
|
+
"@frontmcp/observability": "1.4.1",
|
|
92
|
+
"@frontmcp/storage-sqlite": "1.4.1",
|
|
100
93
|
"@opentelemetry/api": "^1.9.0",
|
|
101
|
-
"@opentelemetry/sdk-trace-base": "^1.25.0"
|
|
94
|
+
"@opentelemetry/sdk-trace-base": "^1.25.0",
|
|
95
|
+
"@vercel/kv": "^3.0.0",
|
|
96
|
+
"content-type": "^1.0.5",
|
|
97
|
+
"cors": "^2.8.5",
|
|
98
|
+
"express": "^4.18.0 || ^5.0.0",
|
|
99
|
+
"openai": "^4.0.0 || ^5.0.0 || ^6.0.0",
|
|
100
|
+
"raw-body": "^3.0.0",
|
|
101
|
+
"vectoriadb": "^2.2.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependenciesMeta": {
|
|
104
|
-
"@
|
|
104
|
+
"@anthropic-ai/sdk": {
|
|
105
105
|
"optional": true
|
|
106
106
|
},
|
|
107
|
-
"@
|
|
107
|
+
"@enclave-vm/core": {
|
|
108
108
|
"optional": true
|
|
109
109
|
},
|
|
110
|
-
"
|
|
110
|
+
"@frontmcp/observability": {
|
|
111
111
|
"optional": true
|
|
112
112
|
},
|
|
113
|
-
"@
|
|
113
|
+
"@frontmcp/storage-sqlite": {
|
|
114
114
|
"optional": true
|
|
115
115
|
},
|
|
116
|
-
"@
|
|
116
|
+
"@opentelemetry/api": {
|
|
117
117
|
"optional": true
|
|
118
118
|
},
|
|
119
|
-
"@
|
|
119
|
+
"@opentelemetry/sdk-trace-base": {
|
|
120
120
|
"optional": true
|
|
121
121
|
},
|
|
122
|
-
"
|
|
122
|
+
"@vercel/kv": {
|
|
123
123
|
"optional": true
|
|
124
124
|
},
|
|
125
|
-
"
|
|
125
|
+
"openai": {
|
|
126
126
|
"optional": true
|
|
127
127
|
},
|
|
128
|
-
"
|
|
128
|
+
"vectoriadb": {
|
|
129
129
|
"optional": true
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
"dependencies": {
|
|
133
|
+
"@frontmcp/auth": "1.4.1",
|
|
134
|
+
"@frontmcp/di": "1.4.1",
|
|
135
|
+
"@frontmcp/guard": "1.4.1",
|
|
136
|
+
"@frontmcp/lazy-zod": "1.4.1",
|
|
137
|
+
"@frontmcp/protocol": "1.4.1",
|
|
138
|
+
"@frontmcp/uipack": "1.4.1",
|
|
139
|
+
"@frontmcp/utils": "1.4.1",
|
|
133
140
|
"@types/cors": "^2.8.17",
|
|
134
|
-
"@frontmcp/utils": "1.4.0",
|
|
135
|
-
"@frontmcp/guard": "1.4.0",
|
|
136
|
-
"@frontmcp/di": "1.4.0",
|
|
137
|
-
"@frontmcp/lazy-zod": "1.4.0",
|
|
138
|
-
"@frontmcp/uipack": "1.4.0",
|
|
139
|
-
"@frontmcp/auth": "1.4.0",
|
|
140
|
-
"@frontmcp/protocol": "1.4.0",
|
|
141
141
|
"ioredis": "^5.8.0",
|
|
142
|
-
"js-yaml": "^4.1.1",
|
|
143
142
|
"jose": "^6.1.3",
|
|
143
|
+
"js-yaml": "^4.1.1",
|
|
144
144
|
"reflect-metadata": "^0.2.2",
|
|
145
145
|
"semver": "^7.6.0"
|
|
146
146
|
},
|