foliko 1.1.45 → 1.1.46

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.
@@ -96,7 +96,10 @@ async function startDaemon(targetDir) {
96
96
  // 合并环境变量
97
97
  const childEnv = { ...process.env, ...envVars };
98
98
  console.log(`已读取环境变量文件: ${envPath}`);
99
- console.log(`QQ_APP_ID=${envVars.QQ_APP_ID ? '已设置' : '未设置'}`);
99
+ console.log(`QQ_APP_ID=${envVars.QQ_APP_ID || '未设置'}`);
100
+ console.log(`QQ_CLIENT_SECRET=${envVars.QQ_CLIENT_SECRET ? '已设置' : '未设置'}`);
101
+ console.log(`childEnv.QQ_APP_ID=${childEnv.QQ_APP_ID || 'child未设置'}`);
102
+ console.log(`childEnv.QQ_CLIENT_SECRET=${childEnv.QQ_CLIENT_SECRET ? 'child已设置' : 'child未设置'}`);
100
103
 
101
104
  // 启动子进程
102
105
  const child = spawn(process.execPath, [DAEMON_SCRIPT, '--cwd', targetDir], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foliko",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "description": "简约的插件化 Agent 框架",
5
5
  "main": "src/index.js",
6
6
  "type": "commonjs",