yymaxapi 1.0.83 → 1.0.84

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 +4 -4
  2. package/package.json +1 -1
package/bin/yymaxapi.js CHANGED
@@ -3861,7 +3861,7 @@ async function autoActivate(paths, args = {}) {
3861
3861
  const gwToken = config.gateway?.auth?.token;
3862
3862
  if (gwToken) {
3863
3863
  console.log(chalk.green(`\n🌐 Web Dashboard:`));
3864
- console.log(chalk.cyan(` http://127.0.0.1:${gwPort}/?token=${gwToken}`));
3864
+ console.log(chalk.cyan(` http://127.0.0.1:${gwPort}/#token=${gwToken}`));
3865
3865
  }
3866
3866
 
3867
3867
  // ---- 配置完成后:测试连接 or 退出 ----
@@ -5105,7 +5105,7 @@ async function testConnection(paths, args = {}) {
5105
5105
  console.log(chalk.cyan(` CLI 对话正常,Gateway 可达`));
5106
5106
  console.log(chalk.gray(` 注: Gateway Dashboard 通过 WebSocket 通信,REST 端点返回 405 属正常现象`));
5107
5107
  console.log(chalk.green(`\n🌐 Web Dashboard 访问地址:`));
5108
- console.log(chalk.cyan(` http://127.0.0.1:${gatewayPort}/?token=${gatewayToken}`));
5108
+ console.log(chalk.cyan(` http://127.0.0.1:${gatewayPort}/#token=${gatewayToken}`));
5109
5109
  } else if (result.success) {
5110
5110
  console.log(chalk.green(`\n✅ Gateway 测试成功!Web Dashboard 可正常使用`));
5111
5111
  console.log(chalk.cyan(` 响应时间: ${latency}ms`));
@@ -5116,7 +5116,7 @@ async function testConnection(paths, args = {}) {
5116
5116
  });
5117
5117
  console.log(chalk.yellow(` 模型回复: ${reply}`));
5118
5118
  console.log(chalk.green(`\n🌐 Web Dashboard 访问地址:`));
5119
- console.log(chalk.cyan(` http://127.0.0.1:${gatewayPort}/?token=${gatewayToken}`));
5119
+ console.log(chalk.cyan(` http://127.0.0.1:${gatewayPort}/#token=${gatewayToken}`));
5120
5120
  } else {
5121
5121
  if (result.reachable) {
5122
5122
  console.log(chalk.yellow(`\n⚠ Gateway HTTP 可达,但接口返回限制`));
@@ -5130,7 +5130,7 @@ async function testConnection(paths, args = {}) {
5130
5130
  console.log(chalk.yellow(` 这通常会导致 Dashboard 网页对话返回 401。`));
5131
5131
  console.log(chalk.gray(`\n 建议操作:`));
5132
5132
  console.log(chalk.gray(` 1) 复制最新地址并重新打开浏览器(不要用旧书签)`));
5133
- console.log(chalk.cyan(` http://127.0.0.1:${gatewayPort}/?token=${gatewayToken}`));
5133
+ console.log(chalk.cyan(` http://127.0.0.1:${gatewayPort}/#token=${gatewayToken}`));
5134
5134
  console.log(chalk.gray(` 2) 执行 Gateway 重启:openclaw gateway restart / clawdbot gateway restart`));
5135
5135
  console.log(chalk.gray(` 3) 若仍 401,检查是否存在多个配置目录(.openclaw 与 .clawdbot)`));
5136
5136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yymaxapi",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化",
5
5
  "main": "bin/yymaxapi.js",
6
6
  "bin": {