@becrafter/prompt-manager 0.1.9 → 0.1.10
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/env.example +1 -1
- package/package.json +4 -1
- package/packages/server/utils/config.js +1 -1
package/env.example
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@becrafter/prompt-manager",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Remote MCP Server for managing prompts",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"test:server:integration": "cd packages/server && npm run test:integration",
|
|
49
49
|
"test:e2e": "node test/e2e/test-packaged-app.js",
|
|
50
50
|
"test:upload": "node test/integration/test_upload.js",
|
|
51
|
+
"test:install": "node scripts/test-install.js",
|
|
51
52
|
"lint": "cd packages/server && npm run lint",
|
|
52
53
|
"lint:check": "cd packages/server && npm run lint:check",
|
|
53
54
|
"format": "cd packages/server && npm run format",
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"@npmcli/arborist": "^9.0.0",
|
|
70
71
|
"adm-zip": "^0.5.16",
|
|
71
72
|
"archiver": "^7.0.1",
|
|
73
|
+
"cors": "^2.8.5",
|
|
72
74
|
"dotenv": "^17.2.3",
|
|
73
75
|
"electron-builder": "^26.0.12",
|
|
74
76
|
"express": "^5.1.0",
|
|
@@ -81,6 +83,7 @@
|
|
|
81
83
|
"sharp": "^0.34.4",
|
|
82
84
|
"tar": "^7.5.1",
|
|
83
85
|
"to-ico": "^1.0.1",
|
|
86
|
+
"ws": "^8.18.0",
|
|
84
87
|
"yaml": "^2.4.1",
|
|
85
88
|
"zod": "^3.23.8"
|
|
86
89
|
},
|
|
@@ -121,7 +121,7 @@ export class Config {
|
|
|
121
121
|
|
|
122
122
|
// 其他配置
|
|
123
123
|
this.serverName = process.env.MCP_SERVER_NAME || 'prompt-manager';
|
|
124
|
-
this.serverVersion = process.env.MCP_SERVER_VERSION || '0.1.
|
|
124
|
+
this.serverVersion = process.env.MCP_SERVER_VERSION || '0.1.10';
|
|
125
125
|
this.logLevel = process.env.LOG_LEVEL || 'info';
|
|
126
126
|
this.maxPrompts = parseInt(process.env.MAX_PROMPTS) || 1000;
|
|
127
127
|
this.recursiveScan = process.env.RECURSIVE_SCAN !== 'false'; // 默认启用递归扫描
|