yymaxapi 1.0.61 → 1.0.62

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/bin/yymaxapi.js +3 -5
  2. package/package.json +1 -1
package/bin/yymaxapi.js CHANGED
@@ -3580,7 +3580,6 @@ async function switchModel(paths) {
3580
3580
  }
3581
3581
 
3582
3582
  const gwPort = config.gateway?.port || 18789;
3583
- const gwToken = config.gateway?.auth?.token;
3584
3583
 
3585
3584
  if (await isPortOpen(gwPort)) {
3586
3585
  const gwSpinner = ora({ text: '重启 Gateway 使模型切换生效...', spinner: 'dots' }).start();
@@ -3595,10 +3594,9 @@ async function switchModel(paths) {
3595
3594
  console.log(chalk.gray(' 启动 Gateway: openclaw gateway'));
3596
3595
  }
3597
3596
 
3598
- if (gwToken) {
3599
- console.log(chalk.green(`\n🌐 Web Dashboard:`));
3600
- console.log(chalk.cyan(` http://127.0.0.1:${gwPort}/?token=${gwToken}`));
3601
- }
3597
+ // 重启后直接测试连接
3598
+ console.log('');
3599
+ await testConnection(paths, {});
3602
3600
  }
3603
3601
  // ============ 权限管理 (tools.profile) ============
3604
3602
  const TOOLS_PROFILES = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yymaxapi",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化",
5
5
  "main": "bin/yymaxapi.js",
6
6
  "bin": {