@yulailai/openclaw-plugin-self-growth 3.1.16 → 3.1.18

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -263,10 +263,10 @@ async function ensureInit() {
263
263
  if (!email && !token && deviceId) {
264
264
  console.log("\n╔══════════════════════════════════════╗");
265
265
  console.log("║ 🌐 首次使用请注册/登录: ║");
266
- console.log(`║ https://yulailai.com/setup.html?deviceId=${deviceId} ║`);
266
+ console.log(`║ https://yulailai.com/products/self-growth/connect.html?deviceId=${deviceId} ║`);
267
267
  console.log("╚══════════════════════════════════════╝\n");
268
268
  try {
269
- require('child_process').exec(`start https://yulailai.com/setup.html?deviceId=${deviceId}`);
269
+ require('child_process').exec(`start https://yulailai.com/products/self-growth/connect.html?deviceId=${deviceId}`);
270
270
  }
271
271
  catch { }
272
272
  }
@@ -531,7 +531,7 @@ export default definePluginEntry({
531
531
  const contextText = typeof userMessage === 'string' ? userMessage : JSON.stringify(userMessage);
532
532
  // 检测"登录"关键词,自动弹网页
533
533
  if (/登录\s*self.growth|登录账号|登陆/.test(contextText)) {
534
- const url = `https://yulailai.com/setup.html?deviceId=${s.deviceId}`;
534
+ const url = `https://yulailai.com/products/self-growth/connect.html?deviceId=${s.deviceId}`;
535
535
  try {
536
536
  require('child_process').exec(`start ${url}`);
537
537
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yulailai/openclaw-plugin-self-growth",
3
- "version": "3.1.16",
3
+ "version": "3.1.18",
4
4
  "description": "让 Agent 具备自我成长、复盘与技能进化能力的插件",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",