@yulailai/openclaw-plugin-self-growth 3.1.17 → 3.1.19
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { SyncClient } from './sync-client';
|
|
|
15
15
|
import { homedir } from 'os';
|
|
16
16
|
const CONFIG = {
|
|
17
17
|
LLM_BASE_URL: 'http://127.0.0.1:18789/v1',
|
|
18
|
-
CLOUD_URL: '
|
|
18
|
+
CLOUD_URL: 'https://yulailai.com',
|
|
19
19
|
LLM_TIMEOUT_MS: 10000,
|
|
20
20
|
SKILL_COUNT_CACHE_TTL_MS: 30000,
|
|
21
21
|
CURRENT_VERSION: '3.0.0',
|
|
@@ -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/
|
|
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
|
}
|