chaimi-keep-mcp 3.1.45-beta.2 → 3.1.45-beta.3
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/package.json +1 -1
- package/server.js +11 -9
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -67,16 +67,18 @@ async function initializeConfig() {
|
|
|
67
67
|
config = await fetchConfigFromCloud();
|
|
68
68
|
console.error('✅ 已从云端获取配置');
|
|
69
69
|
} catch (err) {
|
|
70
|
-
console.error('
|
|
70
|
+
console.error('❌ 无法从云端获取配置');
|
|
71
71
|
console.error(' 错误:' + err.message);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
console.error('');
|
|
73
|
+
console.error('可能原因:');
|
|
74
|
+
console.error(' 1. 网络连接异常');
|
|
75
|
+
console.error(' 2. 云函数尚未部署或配置错误');
|
|
76
|
+
console.error('');
|
|
77
|
+
console.error('解决方案:');
|
|
78
|
+
console.error(' 1. 检查网络连接');
|
|
79
|
+
console.error(' 2. 确认云函数 mcpHub 已部署');
|
|
80
|
+
console.error(' 3. 联系开发者获取帮助');
|
|
81
|
+
process.exit(1);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
// 生成配置文件
|