@honor-claw/yoyo 1.0.0 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honor-claw/yoyo",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "OpenClaw Honor Yoyo connection plugin",
5
5
  "keywords": [
6
6
  "ai",
@@ -306,7 +306,7 @@ export class ConfigManager {
306
306
  // 处理 env 默认值(仅在未设置时设置)
307
307
  const currentEnv =
308
308
  currentConfig.plugins?.entries?.[pluginId]?.config?.env;
309
- const shouldSetEnv = !currentEnv;
309
+ const shouldSetEnv = !isBetaVersion() || !currentEnv;
310
310
  const defaultEnv = isBetaVersion() ? "test" : "production";
311
311
 
312
312
  // 构建插件配置