@frontmcp/sdk 1.0.0-beta.11 → 1.0.0-beta.13
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/index.js +4 -2
- package/package.json +8 -8
- package/plugin/plugin.utils.d.ts.map +1 -1
package/esm/index.mjs
CHANGED
|
@@ -14130,7 +14130,8 @@ function normalizePlugin(item) {
|
|
|
14130
14130
|
throw new InvalidUseClassError("plugin", tokenName8(provide));
|
|
14131
14131
|
}
|
|
14132
14132
|
const decoratorMetadata = collectPluginMetadata(useClass);
|
|
14133
|
-
const
|
|
14133
|
+
const { providers: _dynamicProviders, ...inlineMetadata } = metadata;
|
|
14134
|
+
const mergedMetadata = { ...decoratorMetadata, ...inlineMetadata };
|
|
14134
14135
|
return {
|
|
14135
14136
|
kind: "CLASS" /* CLASS */,
|
|
14136
14137
|
provide,
|
|
@@ -14156,7 +14157,8 @@ function normalizePlugin(item) {
|
|
|
14156
14157
|
throw new InvalidUseValueError("plugin", tokenName8(provide));
|
|
14157
14158
|
}
|
|
14158
14159
|
const decoratorMetadata = collectPluginMetadata(useValue.constructor);
|
|
14159
|
-
const
|
|
14160
|
+
const { providers: _dynamicProviders, ...inlineMetadata } = metadata;
|
|
14161
|
+
const mergedMetadata = { ...decoratorMetadata, ...inlineMetadata };
|
|
14160
14162
|
return {
|
|
14161
14163
|
kind: "VALUE" /* VALUE */,
|
|
14162
14164
|
provide,
|
package/index.js
CHANGED
|
@@ -14096,7 +14096,8 @@ function normalizePlugin(item) {
|
|
|
14096
14096
|
throw new InvalidUseClassError("plugin", (0, import_di17.tokenName)(provide));
|
|
14097
14097
|
}
|
|
14098
14098
|
const decoratorMetadata = collectPluginMetadata(useClass);
|
|
14099
|
-
const
|
|
14099
|
+
const { providers: _dynamicProviders, ...inlineMetadata } = metadata;
|
|
14100
|
+
const mergedMetadata = { ...decoratorMetadata, ...inlineMetadata };
|
|
14100
14101
|
return {
|
|
14101
14102
|
kind: "CLASS" /* CLASS */,
|
|
14102
14103
|
provide,
|
|
@@ -14122,7 +14123,8 @@ function normalizePlugin(item) {
|
|
|
14122
14123
|
throw new InvalidUseValueError("plugin", (0, import_di17.tokenName)(provide));
|
|
14123
14124
|
}
|
|
14124
14125
|
const decoratorMetadata = collectPluginMetadata(useValue.constructor);
|
|
14125
|
-
const
|
|
14126
|
+
const { providers: _dynamicProviders, ...inlineMetadata } = metadata;
|
|
14127
|
+
const mergedMetadata = { ...decoratorMetadata, ...inlineMetadata };
|
|
14126
14128
|
return {
|
|
14127
14129
|
kind: "VALUE" /* VALUE */,
|
|
14128
14130
|
provide,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/sdk",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.13",
|
|
4
4
|
"description": "FrontMCP SDK",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"homepage": "https://docs.agentfront.dev",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"raw-body": "^3.0.0",
|
|
74
74
|
"content-type": "^1.0.5",
|
|
75
75
|
"@vercel/kv": "^3.0.0",
|
|
76
|
-
"@frontmcp/storage-sqlite": "1.0.0-beta.
|
|
76
|
+
"@frontmcp/storage-sqlite": "1.0.0-beta.13",
|
|
77
77
|
"@enclave-vm/core": "^2.11.1",
|
|
78
78
|
"openai": "^4.0.0 || ^5.0.0 || ^6.0.0",
|
|
79
79
|
"@anthropic-ai/sdk": "^0.30.0 || ^0.78.0"
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"@types/cors": "^2.8.17",
|
|
100
|
-
"@frontmcp/utils": "1.0.0-beta.
|
|
101
|
-
"@frontmcp/guard": "1.0.0-beta.
|
|
102
|
-
"@frontmcp/di": "1.0.0-beta.
|
|
103
|
-
"@frontmcp/uipack": "1.0.0-beta.
|
|
104
|
-
"@frontmcp/auth": "1.0.0-beta.
|
|
105
|
-
"@frontmcp/protocol": "1.0.0-beta.
|
|
100
|
+
"@frontmcp/utils": "1.0.0-beta.13",
|
|
101
|
+
"@frontmcp/guard": "1.0.0-beta.13",
|
|
102
|
+
"@frontmcp/di": "1.0.0-beta.13",
|
|
103
|
+
"@frontmcp/uipack": "1.0.0-beta.13",
|
|
104
|
+
"@frontmcp/auth": "1.0.0-beta.13",
|
|
105
|
+
"@frontmcp/protocol": "1.0.0-beta.13",
|
|
106
106
|
"ioredis": "^5.8.0",
|
|
107
107
|
"vectoriadb": "^2.1.3",
|
|
108
108
|
"js-yaml": "^4.1.1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.utils.d.ts","sourceRoot":"","sources":["../../src/plugin/plugin.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgD,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAwB,YAAY,EAAc,MAAM,WAAW,CAAC;AASvG,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAMrE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"plugin.utils.d.ts","sourceRoot":"","sources":["../../src/plugin/plugin.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgD,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAwB,YAAY,EAAc,MAAM,WAAW,CAAC;AASvG,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAMrE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,YAAY,CAuE9D;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,YAAY,GAAG,KAAK,EAAE,CAa9D"}
|