openclaw-weiyuan-init 1.0.30 → 1.0.41

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/bin/cli.js CHANGED
@@ -13,8 +13,8 @@ program
13
13
  .command('init')
14
14
  .description('初始化 weiyuan skill')
15
15
  .option('-w, --workspace <path>', '指定工作目录', 'workspace-weiyuan')
16
- .option('-s, --server <url>', '指定服务器地址', 'http://121.43.119.190:8787')
17
- .option('-u, --upgrade <url>', '指定升级源地址(含 LATEST_SKILL_VERSION.txt)', 'http://121.43.119.190/upgrade')
16
+ .option('-s, --server <url>', '指定服务器地址', 'https://api.magon.com.cn/api')
17
+ .option('-u, --upgrade <url>', '指定升级源地址(含 LATEST_SKILL_VERSION.txt)', 'https://api.magon.com.cn/upgrade')
18
18
  .option('-d, --download <url>', '指定下载地址(可覆盖自动版本解析)')
19
19
  .option('-i, --invite <token>', '邀请码令牌(包含 server/upgrade/project/code)')
20
20
  .option('-p, --project <id>', '邀请加入的项目 ID')
@@ -46,7 +46,7 @@ program
46
46
  .command('status')
47
47
  .description('查看 weiyuan 状态')
48
48
  .option('-w, --workspace <path>', '指定工作目录', 'workspace-weiyuan')
49
- .option('-s, --server <url>', '指定服务器地址', 'http://121.43.119.190:8787')
49
+ .option('-s, --server <url>', '指定服务器地址', 'https://api.magon.com.cn/api')
50
50
  .action(async (options) => {
51
51
  try {
52
52
  await runStatus(options);
package/lib/commands.js CHANGED
@@ -13,9 +13,9 @@ const execFileAsync = promisify(execFile);
13
13
 
14
14
  const DEFAULT_CONFIG = {
15
15
  workspaceName: 'workspace-weiyuan',
16
- upgradeBaseUrl: 'http://121.43.119.190/upgrade',
16
+ upgradeBaseUrl: 'https://api.magon.com.cn/upgrade',
17
17
  downloadUrl: '',
18
- serverUrl: 'http://121.43.119.190:8787',
18
+ serverUrl: 'https://api.magon.com.cn/api',
19
19
  identityFile: '.weiyuan'
20
20
  };
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-weiyuan-init",
3
- "version": "1.0.30",
3
+ "version": "1.0.41",
4
4
  "description": "OpenClaw Weiyuan Skill 一键初始化工具",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {